Bharat Mediratta
72c7fed975
Log the user in as admin after running the web installer, and give
...
them a nice "Welcome to Gallery 3" dialog. The text in there needs a
little work but it's a start.
In the process, re-build the install.sql using the scaffolding code.
2009-03-08 21:21:09 +00:00
Tim Almdal
c04ff8e02f
Change the pattern to identify tables that need prefix substitution to
...
mirror the drupal pattern of using braces {}.
2009-02-28 06:37:28 +00:00
Tim Almdal
bd15853708
This implements table prefix for all the queries in core, user, exif,
...
tag, search, comment and notification modules (Ticket #68 )
2009-02-27 21:07:18 +00:00
Tim Almdal
0b055835fd
Remove commented code
...
Correct unbalanced brackets
2009-02-27 02:50:07 +00:00
Tim Almdal
acdc724fc8
Continue the journey of replacing raw sql with ORM or Database method
...
calls (Ticket #68 )
2009-02-27 00:34:50 +00:00
Bharat Mediratta
07310c8499
Add slightly more visual feedback when you're hovering over a
...
draggable user. Also, drag the icon and name not just the icon.
2009-02-26 03:05:29 +00:00
Chad Kieffer
1ef090cd15
Remove second Add User button, don't need it, at least not now.
2009-02-23 01:51:18 +00:00
Andy Staudacher
237656f6c8
Differentiate between available and installed languages. Provide admin UI to install languages.
...
See: https://apps.sourceforge.net/trac/gallery/ticket/75 (first step for this task)
2009-02-19 08:48:14 +00:00
Chad Kieffer
d739d1ea46
Button mania continues. Make edit and delete user/group links buttons, buttons, buttons!
2009-02-11 05:35:11 +00:00
Bharat Mediratta
9ad072b33f
Simplification pass that preserves almost all functionality (except
...
default_country) but removes a lot of the code.
2009-02-10 09:10:55 +00:00
Andy Staudacher
b2f20ff766
style fixes (style for method names, style for vars in locale.php)
2009-02-10 06:12:16 +00:00
Andy Staudacher
62f3724acb
Adding UI for site language selection and user language preference.
2009-02-10 05:37:42 +00:00
Bharat Mediratta
06d5e2972d
Line length fix
2009-02-10 04:56:21 +00:00
Andy Staudacher
c2eee47465
Move site default_locale into DB (vars) and add a per user locale preference.
...
There's no UI to select the locale yet.
2009-02-10 02:37:16 +00:00
Chad Kieffer
ad80e86208
Indent fixes.
2009-02-09 02:11:59 +00:00
Chad Kieffer
cdae043999
Clean up add user and group buttons to move the + icon to the left. The + icon doesn't appear within the button outline with buttons that aren't floated. Will have to debug later.
2009-02-08 20:45:09 +00:00
Chad Kieffer
67d551d5e3
jQuery-based buttons! Form updates, short form updates. Need to fix add user/group buttons and search form on search results page.
2009-02-06 06:34:47 +00:00
Tim Almdal
98bbf53657
Use the matches validation rule in order to perform cross field
...
validation between the password and password2 fields
2009-02-04 16:36:59 +00:00
Tim Almdal
f0aced6b75
Complete the Recover Password functionality (Ticket #5 ).
...
This change requires a reinstall in order to pick up the new hash
field in the user table.
2009-02-04 15:45:48 +00:00
Tim Almdal
2f5344c1da
A preview of the password reset functionality. What's working... you
...
can start to logon, request the password to be reset, and an email is
sent to the users email address. If you click on the link you get an
unformatted form. But its a start :-)
2009-02-04 05:49:29 +00:00
Chad Kieffer
d656b6a3e6
Beginning of edit user panel fix. Form is displayed again. Added display of user email address to list.
2009-02-03 06:45:43 +00:00
Tim Almdal
eb56ee821f
Add a confirmation password input field that must match the primary
...
password field in order for the update to succeed. If there is no
data entered in the primary password field, the confirmation field is
ignored.
Addresses Trac Ticket #4
2009-02-03 00:17:40 +00:00
Chad Kieffer
8a4eb9eed2
For consistency with the rest of the admin UI, display User list as table, not list. Apply cursor: move to jQuery UI draggable and sortable. Clean up admin table styles a bit.
2009-02-01 18:37:45 +00:00
Bharat Mediratta
6091350c94
Fix lint errors
2009-01-29 03:23:46 +00:00
Bharat Mediratta
e52431a81b
Fix url for delete group link.
2009-01-29 01:41:32 +00:00
Bharat Mediratta
6bfadc14ed
Fully implement the user administration backend with drag/drop to add
...
users to groups.
2009-01-28 22:42:50 +00:00
Bharat Mediratta
1a62a26a36
Add drag and drop support to the admin_users interface. This is still
...
a work in progress but it actually works mostly.
2009-01-28 09:50:15 +00:00
Bharat Mediratta
ca8e92376a
Add gravatars to users
2009-01-27 21:57:41 +00:00
Bharat Mediratta
9048a5afca
Clean up indentation
2009-01-27 21:54:22 +00:00
Chad Kieffer
57f5cdeb30
Use url:site() on add user link, change user list from class to id to make it unique, changed gFirstRow to gHeaderRow to make more semantically meaningful. Fixed closing span that I broke after Bharat fixed it last night.
2009-01-25 21:17:04 +00:00
Chad Kieffer
ffa1fa45f6
Admin theme style cleanup. Merged separate selected, available, unavailable into a single set of reusable classes. Applied alternating row bg colors. Removed inline CSS from admin views. Moved user admin css into admin_default theme style sheet.
2009-01-25 06:55:24 +00:00
Tim Almdal
a8233ed979
Undo the adding underscores to the id on forge generated forms
2009-01-25 06:28:04 +00:00
Bharat Mediratta
b0ad4e0222
Fix all 'add' links and make them open in a dialog
2009-01-25 02:29:01 +00:00
Bharat Mediratta
7c317fa6f2
Fix indentation which helped me to find an extra </span>. Simplified
...
some of the logic.
2009-01-25 02:21:53 +00:00
Chad Kieffer
55cd2afde5
Admin theme style cleanup. Merged separate selected, available, unavailable into a single set of reusable classes. Applied alternating row bg colors. Removed inline CSS from admin views. Moved user admin css into admin_default theme style sheet.
2009-01-24 20:06:13 +00:00
Tim Almdal
cbff78daa8
Supply a form id on all forms. This id can be used by modules other
...
than the originating module to provide additional functionality to the form.
2009-01-24 17:26:47 +00:00
Chad Kieffer
6941af664f
Ajaxified user edit forms. They're populated, but don't submit yet.
2009-01-23 06:19:19 +00:00
Jakob Hilden
1cc5d36657
toggling of user edit panel works now.
...
added groups to the admin_user view, so you will eventually be able to edit users, groups and memberships on one admin page.
2009-01-22 08:37:58 +00:00
Chad Kieffer
ddb995eaf6
Added new UI element, gPanel, which is a similar mechanism to gDialog. Panels are hidden inline elements that can be revealed within list items, tables cells, etc. Still need to add the toggle off and ajaxify content.
2009-01-22 06:35:55 +00:00
Jakob Hilden
6d99c29172
totally incomplete version of user admin UI.
2009-01-20 22:16:25 +00:00
Bharat Mediratta
3d1ea2904d
Rename theme callback helpers from xxx_block to xxx_theme to make room
...
for us to rename the dashboard helper to be a block helper since
sidebar blocks are not just in the dashboard.
2009-01-18 05:01:00 +00:00
Andy Staudacher
e4a9b19bf9
Changing t() placeholder syntax from {{replace_me}} to %replace_me.
2009-01-15 10:02:41 +00:00
Bharat Mediratta
f3ba69c1d6
Make sure that helper functions are all static. Add new
...
File_Structure_Test to make sure we don't regress.
According to the PHP docs, the "public" keyword is implied on static
functions, so remove it. Also, require private static functions to
start with an _.
http://php.net/manual/en/language.oop5.visibility.php
2009-01-14 04:12:02 +00:00
Bharat Mediratta
ae73ef3d57
Updated for new Form_Submit API.
...
OLD:
$form->submit("Foo") --> <input type="submit" value="Foo">
New:
$form->submit("foo_button")->("Foo") --> <input type="submit" name="foo_button" value="Foo">
Mostly we don't care what the button is so we leave the name blank.
2009-01-12 07:50:04 +00:00
Andy Staudacher
bf67d7cabc
Fix User_Group tests for MySQL strict mode (can't omit full_name and password in inserts due to missing default values).
2009-01-11 03:53:29 +00:00
Bharat Mediratta
9b90b4b0cd
Use the theme's avatar as the default if Gravatar doesn't have one.
2009-01-10 06:18:35 +00:00
Bharat Mediratta
a5c4e3d465
Integrate Gravatar. Boy, that was easy.
2009-01-10 05:56:11 +00:00
Bharat Mediratta
a7feeb576f
Big set of changes to comments, with related changes to akismet and
...
user modules.
* Don't delete vars when we delete a module. This makes
reinstalling a module a lot easier.
* Add user::lookup() as the preferred way to load a user, so that
other modules don't delve into the user module (that'd be a
problem when we swap out user modules)
* Notify site admins if Akismet is not fully configured
* Bundle all server variables into the comment so that if/when we
re-check the comment, we are not using the server info from the
site admin's request.
* Update Akismet to grab request context data from the comment
* Pre-seed comment fields if we have a logged in user. Update
comment::create() API to clarify it for this.
* Delete comment::update(), that's a controller function.
* Add url to User_Model
* Add author_name() author_email() and author_url() to
Comment_Model. It'll return the appropriate values depending
on whether the comment was left by a logged in user or a guest.
* Use resetForm() instead of clearForm() when we reload the
comment form after ajax submit, this way we preserve the
pre-seeded values.
* In the user profile page, ignore blank passwords.
2009-01-10 00:34:23 +00:00
Andy Staudacher
a631fe29f3
i18n refactoring: Rename all _() (reserved by gettext) calls to t().
...
- And refactor printf to our string interpolation / pluralization syntax
- Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
2009-01-08 17:13:06 +00:00
Bharat Mediratta
4ee24a6645
Put up an error if you rename a user to an already existing name.
2009-01-06 10:05:08 +00:00