summaryrefslogtreecommitdiff
path: root/modules/user
AgeCommit message (Collapse)Author
2009-05-26White space fixesChad Kieffer
2009-05-25Changed name to username in user admin form labelsChad Kieffer
2009-05-24Use phpass as our hashing mechanism, and check for it first (insteadBharat Mediratta
of checking G1/G2 techniquew first).
2009-05-21Changed Name label to Username, closes ticket #93Chad Kieffer
2009-05-20Move the first-admin-login steps out of the user module and into an event ↵Bharat Mediratta
listener in core
2009-05-18Get rid of trailing whitespace in security preambleBharat Mediratta
2009-05-18Add security preambleBharat Mediratta
2009-05-18Move 3rd party PasswordHash library into the "lib" dir forBharat Mediratta
consistency. No 3rd party libs in "libraries", at least for now.
2009-05-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2009-05-13Don't allow admins to delete the guest user. Fixes ticket #213Bharat Mediratta
2009-05-13Make the 'this user cannot be deleted' link actually not clickable.Bharat Mediratta
2009-05-13Variety of changes to the way we do user editing:Bharat Mediratta
1) Allow admins to edit the admin bit of other admins 2) Don't allow admins to delete themselves (partial fix for ticket #213) 3) Inline user::update(). Don't do form processing in helper methods! 4) Inline user::_get_edit_form() so that we can treat edit forms differently. Trying to hard to make common functions makes for weird edge cases.
2009-05-13Colorize admin user rows to make them stand outBharat Mediratta
2009-05-13Use the name field if the full_name field is empty.Bharat Mediratta
2009-05-13Log password reset attempts. Fixes ticket #251.Bharat Mediratta
2009-05-12Add group::lookup_by_name()Bharat Mediratta
2009-05-12Fix a comment.Bharat Mediratta
2009-05-10After ajax login, just reload the current page.Bharat Mediratta
2009-04-24add_group() was not getting $form before using it.Bharat Mediratta
2009-04-18Add user::lookup_by_name()Bharat Mediratta
2009-04-17Fix i18n for "Logged in as" stringAndy Staudacher
2009-04-15Provate a way to set the hashed password directlyBharat Mediratta
2009-04-09Fix for ticket 181: don't ignore the locale option when adding usersAndy Staudacher
2009-04-09Fix the spelling of "appearance_menu" and update user_menu so that theBharat Mediratta
user/groups admin menu option appears again.
2009-04-05Don't do graphics detection in core_installer::install() because thatBharat Mediratta
gets run at scaffolding::package() time, not on the target machine. Instead, create a core module variable to trigger running graphics::choose_default_toolkit() on the first admin login after install. Fixes ticket #206.
2009-04-05Add a weight column to the items model. Change the album ordering toTim Almdal
use this as the default instead of id. This prepares the way for manual reordering in the organize functionality.
2009-04-03Fix for ticket #201. Tim Almdal
1) create common update function so processing consistent between the user edit and admin edit. 2) created common private helper function to build the user edit form the same way. So a user can now change their user name if the new one doesn't exist.
2009-03-27Put csrf token into Admin_View and Theme_View by default, then use itBharat Mediratta
directly wherever possible instead of access::csrf_token().
2009-03-25Fix for ticket #181. Valiant take note of the change toTim Almdal
admin_users.php. I had to remove the check for the locale as it hasn't been added to the form.
2009-03-17Fix the locale field in the change user settings formAndy Staudacher
2009-03-17Fix edit user form handlerAndy Staudacher
2009-03-16Switch the locale::$locales data structure to be an array instead of aBharat Mediratta
stdClass because we're not allowed to asort() stdClass objects in PHP 5.2.6.
2009-03-16Fix indentationBharat Mediratta
2009-03-16Proxy the url through _auth() to user::get_login_form()Bharat Mediratta
2009-03-16Get rid of the extra robust code we had in here to make theBharat Mediratta
scaffolding work when the Gallery wasn't installed yet. Now we force users through the installer.
2009-03-16Combined "Logged in as..." and "Modify Profile" to by just "Logged in as ↵Chad Kieffer
FullName"
2009-03-16Missed this in the last commitBharat Mediratta
2009-03-16Clean up the login, maintenance login and required-top-level-login code.Bharat Mediratta
We now have two clear and separate login approaches: login/ajax login/html Choose the one that's appropriate. Totally simplified the maintenance page to be separate from the theme and dead simple, and use login/html approach there. Totally simplified the top level login (login_page.html.php) to just be a login page, not the rest of the chrome on the page and use the login/ajax approach there. Don't use access::required in albums and then catch the exception, instead use access::can and check the return code. Improve the text for maintenance mode.
2009-03-16Stop loading jeditable-- we don't use it anymoreBharat Mediratta
2009-03-11Bag the header("Location:", ...);exit() and replace withTim Almdal
url:site(url::abs_file(...)) Create a login_page.html to be used when there is no guest access to the root album. It doesn't have a sidebar nor breadcrumb.
2009-03-11Fix ticket #119. Display the full name of the user in the same blockTim Almdal
as the Modify profile and logout links.
2009-03-11Force a login if everybody does not have access to the rootTim Almdal
item. ticket #118.
2009-03-10access::allow/deny/reset functions will now throw an exception if youBharat Mediratta
don't pass in a Group_Model as the argument. This prevents us from setting permissions on the wrong group by accidentally passing in a User_Model.
2009-03-08Log the user in as admin after running the web installer, and giveBharat Mediratta
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-02-28Change the pattern to identify tables that need prefix substitution toTim Almdal
mirror the drupal pattern of using braces {}.
2009-02-27This implements table prefix for all the queries in core, user, exif,Tim Almdal
tag, search, comment and notification modules (Ticket #68)
2009-02-27Remove commented codeTim Almdal
Correct unbalanced brackets
2009-02-27Continue the journey of replacing raw sql with ORM or Database methodTim Almdal
calls (Ticket #68)
2009-02-26Add slightly more visual feedback when you're hovering over aBharat Mediratta
draggable user. Also, drag the icon and name not just the icon.
2009-02-23Remove second Add User button, don't need it, at least not now.Chad Kieffer