summaryrefslogtreecommitdiff
path: root/modules/user
AgeCommit message (Collapse)Author
2013-05-07#2065 - Fix problems with double-ajaxifying of dialogs.shadlaws
Change all jQuery-ui widget _init() functions to _create() functions.
2013-03-12#2055, 2056 - jQuery updates for .attr("value", [value]) and .keyup(handler).shadlaws
- changed .attr("value", [value]) to .val([value]) for new jQuery. - changed .keyup(handler) to .on("input keyup", handler) to fire on mouse-only cut'n'paste.
2013-02-25Follow-on from autocomplete and gallery.panel.js revisions.shadlaws
(9345dde83e1f092a9309c45282dc21e3fd408875, d632ef3e50252d388c272cacd29e8cc6e4949cec, fd012276cbf03cc1dc7b8da10aac5cc6f26326c6) - revised xss_data.txt golden file (no new cases). - escaped translated string in admin_users.html.php (would have otherwise been a new case in xss_data.txt).
2013-02-23#2013 - Clean up gallery.panel.js.shadlaws
- prepend "data-" in front of non-standard attr to be more standards compliant.
2013-02-18Password strength indicator fixed for new jQuery. Also cleaned up formatting.shadlaws
2013-01-31Drop the requirement to have the install() function set the moduleBharat Mediratta
version. It's redundant. Fixes #1985.
2013-01-22gallery.menalto.com -> galleryproject.orgBharat Mediratta
codex.gallery2.org -> codex.galleryproject.org Fixes #1957.
2013-01-21Update copyright to 2013. Fixes #1953.Bharat Mediratta
2012-10-25Fixed event sent from User_Controller::_get_change_email_formMichael A Mayer
incorrect event: user_change_password_form corrected event: user_change_email_form
2012-05-07Improve IdentityProvider switching code, patch thanks to ReklovBharat Mediratta
Nesalk. Fixes #1834.
2012-04-01Restrict valid urls to having a http:// or https:// prefix. Fixes #1830.Bharat Mediratta
2012-02-27Update copyright to 2012. #1822Bharat Mediratta
2011-08-04Patch for ticket #1765. Provide the full site url for the the gallery link ↵Tim Almdal
instead of trying to use url_base for the hidden link and the presentation text.
2011-08-04Patch for ticket #1769. Remove the rows in groups_users when the user or the ↵Tim Almdal
group is deleted.
2011-08-04fix for ticket #1759. correct parameter names to match usage.Tim Almdal
2011-05-24Allow password reset even when we're in maintenance or private galleryBharat Mediratta
mode, otherwise you can't reset your password if you forgot it when the Gallery is locked down. #1735.
2011-04-26Stop using Pagination() and instead use $theme->pager() in views.Bharat Mediratta
Move the pager() function up to Gallery_View and replace themes/admin_wind/views/pager.html.php (Pagination based) with a modified version from the wind theme in themes/admin_wind/views/paginator.html.php. Fixes #1718.
2011-04-23Oops, fix broken codex urls. For #1698.Bharat Mediratta
2011-04-23Oops, this is the rest of the modules and themes for #1696 and #1698.Bharat Mediratta
2011-04-23Further cleanup for minimum_password_length -- updateBharat Mediratta
user_installer::initialize() with the right module version number for the user module and fix the misspelling there then rebuild the installer.sql. #1694.
2011-04-23Fix ticket #1694 (continued). Reset the corrected user module variable to ↵Tim Almdal
the value of the incorrect spelling (don't assume that the original value was still 5.
2011-04-23Fix ticket #1694. Correct Spelling of mininum_password_length to ↵Tim Almdal
minimum_password_length
2011-03-27Sort users in group box by name. Thanks edisonnews! Fixes #1662.Bharat Mediratta
2011-01-21Update copyright to 2011.Bharat Mediratta
2011-01-15Style fixes.Bharat Mediratta
2011-01-15Fix all the head() and admin_head() theme callbacks to return theBharat Mediratta
results of the $theme->css() and $theme->script() calls. This handles the case where combining scripts/css returns HTML instead of putting it in the queue for combination. Fixes #1611.
2011-01-15Tweake Joe's change to admin_users to revert the code that joins against the ↵Bharat Mediratta
items table; it's not clear that this is going to be efficient for large data sets.
2011-01-11Making good use of Pagination class to reduce code (removed MY_Controller ↵Joe7
which duplicated some functionality available in Pagination as well)
2011-01-11coding styleJoe7
2011-01-09Minor css mod to make it obvious paging belongs to user blockJoe7
2011-01-09Paginator for user manager admin viewJoe7
Closes ticket #1557 Note: also optimizes the way item count is retrieved for users, saving <user_count>-1 queries when displaying this page
2010-12-15Follow on to 1057436b7c483c60b3c128fab993a3b78fac7093 -- cache theBharat Mediratta
users and groups as an array so that multiple calls will not call ORM_Iterator->current() repeatedly.
2010-12-15Cache the result of User_Model::groups() and Group_Model::users() andBharat Mediratta
invalidate it on save/delete for efficiency. Fixes #1529.
2010-12-15Consolidate all the random code into a random helper that offers:Bharat Mediratta
random::hash() random::string() random::percent() random::int() So that we don't have lots of different ways to get random values all over the code. Follow-on to #1527.
2010-10-25All modules should be named Xxx_Core for extensibility. Fixes #1458.Bharat Mediratta
2010-09-22Remove the 4 character minimum for group name length. Fixes ticket #1396.Bharat Mediratta
2010-09-14The full_name field is required to be NOT NULL. Not really sure whyBharat Mediratta
this is a hard requirement, but for now in User_Model::save() let's use the empty string if the field itself is null. Fixes ticket #1371.
2010-09-11Implement IdentityProvider_Gallery_Driver::admin_user() properly suchBharat Mediratta
that it's not hardcoded to return the user with id 2. Create user::admin_user() which finds an appropriate admin and returns it. Fixes #1358.
2010-09-10Transfer deleted files to the active user. Or at least say that's what ↵Bharat Mediratta
we're going to do, we actually transfer them to one of the admins
2010-09-08Show the number of photos/albums the user owns in the Admin > UsersBharat Mediratta
page, and improve the message to explain what's going to happen to the deleted user's items. Partial fix for #1344, which I can't reproduce now.
2010-09-06Fix some broken identity APIs:Bharat Mediratta
- add_user_to_group and remove_user_from_group should take Group_Definition instances to be consistent - add_user_to_group and remove_user_from_group in drivers/IdentityProvider.php should not be static
2010-08-15We use UTF-8 everywhere. Fixes ticket #1285.Bharat Mediratta
2010-08-08Whitespace fixBharat Mediratta
2010-08-08Convert tabs to spaces to fix File_Structure_Test.Bharat Mediratta
2010-08-01Fix the i18n error message for missing/incorrect password. Fixes ticket #1265.Bharat Mediratta
2010-08-01Merge branch 'dialog' of github.com:gallery/gallery3 into dialogTim Almdal
2010-08-01Merge branch 'master' into dialogTim Almdal
2010-08-01Add a localized error message for missing usernames. Fixes ticket #1266.Bharat Mediratta
2010-07-31Full pass over all the JSON encoding and JS dialog code. We now abideBharat Mediratta
by the following rules: 1) An initial dialog or panel load can take either HTML or JSON, but the mime type must accurately reflect its payload. 2) dialog form submits can handle a pure HTML response, but the mime type must also be correct. This properly resolves the problem where the reauth code gets a JSON response first from the reauth code, and then an HTML response when you reauth and continue on to a given form -- try it out with Admin > Settings > Advanced. 3) All JSON replies must set the mime type correctly. The json::reply convenience function does this for us. 4) By default, any HTML content sent back in the JSON response should be in the "html" field, no longer the "form" field. The combination of these allows us to stop doing boilerplate code like this in our controllers: // Print our view, JSON encoded json::reply(array("form" => (string) $view)); instead, controllers can just return HTML, eg: // Print our view print $view; That's much more intuitive for developers.
2010-07-31More patches as part of #1225. Change the 'core' modules to use the json::replyTim Almdal
method to set the content type header and encode the response as a json object