summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers
AgeCommit message (Collapse)Author
2009-10-21Change this files to use the API instead of referencing the group tables ↵Tim Almdal
directly
2009-10-21Merge branch 'master' into talmdal_devTim Almdal
2009-10-21Correct phpDocTim Almdal
2009-10-20Add a groups api method on the Identity provider and change ↵Tim Almdal
access_Core::_get_all_groups() to use this to get the defined groups.
2009-10-20Changes to Identity interface to allow for multiple Identity providers. ↵Tim Almdal
What I've tested to this point, is you can install a new provider, switch to it, login as administrator, uninstall the default user module, reinstall the user module, switch back to the user module and login.
2009-10-19Simplify the user interface by moving the password reset functionality into ↵Tim Almdal
the user module Bagging the User_Definition and Group_Definition abstract classes and replacing them with interfaces with the same names. Make sure all the unit tests work.
2009-10-18Resolve merge conflict.Chad Kieffer
2009-10-18Merge branch 'master' into talmdal_devTim Almdal
Conflicts: lib/gallery.common.css themes/admin_wind/views/admin.html.php themes/night_wind/views/sidebar.html.php themes/wind/views/sidebar.html.php
2009-10-18Optimize the get method to retrieve the module information from the loaded ↵Tim Almdal
modules. In addition add a method "info" to return the module information contained in the module.info file
2009-10-18Add a menu item to manage the Identity drivers if there is more than one ↵Tim Almdal
installed
2009-10-18Move the default identity config into the users module and change the ↵Tim Almdal
Identity constructor to look in module::get_var(gallery, identity_provider) for the current identity driver. In addition, don't just arbitrarily lock the use module. Only lock gallery and the module that is referenced by "user_driver_module" variable.
2009-10-16Remove all non Identity API methods from Identity.php. Created an ↵Tim Almdal
MY_Session class to provide the user state changes in the session and a login.php helper that has the login form.
2009-10-16Cleanup merge of user/group helpers into Identity interface. Reduce ↵Tim Almdal
redundant code in the user module and remove references to the Identity helper from the user module as the user module should be able to access things directly. Simplify the get_user_list api method to just accept an array of ids to return user objects for.
2009-10-16Start simplifying the interface by moving the static methods from user.php ↵Tim Almdal
and group.php. Tried creating a identity helper, but the helper identity.php was confused with the library Identity.php. So got around this by making the methods on Identity static and calling the instance within the static methods. Also temporarily moved the user.php and group.php back into the user module.
2009-10-16Finish integrating the move of the user edit/update functions into the user ↵Tim Almdal
module. The premise is that the plugable user module will provide the update screens if the user backend supports updates.
2009-10-15Merge branch 'master' into talmdal_devTim Almdal
2009-10-15Move all the edit/update forms for users and groups back to the user module.Tim Almdal
2009-10-15Merge branch 'master' into talmdal_devTim Almdal
2009-10-14Recreate group::lookup that somehow got removed.Tim Almdal
2009-10-14Indentation and phpDoc fixesTim Almdal
2009-10-14Clean up phpDoc and change the Identity driver so only one configuration can ↵Tim Almdal
be active at a given time.
2009-10-13Change the user config setting "allow_updates" to true in the identity ↵Tim Almdal
config file and correct a missing variable in the view.
2009-10-13reference to user::cookie_locale changed to locales::cookie_localeTim Almdal
2009-10-13remove the cookie_locale which is now in the locales helperTim Almdal
2009-10-13Optimize the creation of the language blockTim Almdal
2009-10-13refactor the user and group helpers into the gallery core module. 2 reason, ↵Tim Almdal
first it makes sense that users and groups are a gallery requirement and belong in core. secondly, prepares the way for the Identity refactor.
2009-10-13Refactor the ui component of the user module into the gallery core module.Tim Almdal
2009-10-13remove duplicate function definitionTim Almdal
2009-10-13forgot to add a break statement when i pastedTim Almdal
2009-10-13Merge branch 'master' into talmdal_devTim Almdal
Conflicts: modules/gallery/helpers/gallery_block.php modules/gallery/helpers/gallery_theme.php modules/gallery/helpers/user.php modules/user/helpers/user_event.php
2009-10-13Continue to refactor locale and gallery3 ui from the user module to the ↵Tim Almdal
gallery module
2009-10-13refactor locale related functionality out of the user module and into the ↵Tim Almdal
gallery module.
2009-10-13Merge branch 'master' into talmdal_devTim Almdal
Conflicts: modules/gallery/controllers/admin_users.php modules/gallery/controllers/password.php modules/gallery/helpers/group.php modules/gallery/helpers/user.php modules/notification/helpers/notification.php
2009-10-13Don't allow users to change the file extension of photos/moviesBharat Mediratta
If you can change the extension, then you can alter the way the server handles the file, which is a security problem. So for example, you can change a .JPG to a .PHP and then if you put some malicious PHP code in the EXIF data, you can get the server to execute it. Vulnerability is low because only users who have edit permissions could do this. Fixes ticket #846
2009-10-11Make the slug field required for all items.Bharat Mediratta
Make the filename field required for photos/movies. Fixes ticket #838
2009-10-08Merge branch 'master' of git@github.com:gallery/gallery3 into talmdal_devTim Almdal
2009-10-07Implement a user::is_writable() API method and disable the user add, updates ↵Tim Almdal
and display if the Identity driver does not support writes. This is set in the config.identity.php
2009-10-07Change the users.php controller so its no longer restful. The problem with ↵Tim Almdal
our approach to restfulness is that it assumes that the resource will be found in the gallery database. It may well be there, but in the case of using plugable drivers from users, it could be in a ldap directory, it could be the gallery3 database, but the model could be wrapped in a control structure. So it was just easier to remove the restfulness and just call user::lookup instead.
2009-10-07Merge branch 'master' of git@github.com:gallery/gallery3 into talmdal_devTim Almdal
2009-10-07Merge branch 'master' of github.com:gallery/gallery3Chad Kieffer
2009-10-07Consolidated the rest of the base message styles into lib/gallery.common.css ↵Chad Kieffer
and applied updates to views. Moved over draggable/droppable styles. Use g-target consistently for drag/drop interactions. Minor re-ordering of selectors in gallery.common.css. Updates to css comments.
2009-10-06Remove debugging lines (thanks talmdal!)Bharat Mediratta
2009-10-06Update gallery::find_file to look for subdirectories in lib, then fallBharat Mediratta
back to looking in just lib itself. This is not consistent behavior with the rest of our module structure, though so we should probably make it more consistent. Fix up the permission images to use gallery::find_file again.
2009-10-06Change the focus of the user module from providing user/group management to ↵Tim Almdal
providing the default Identity implementation. * Remove the user_event callbacks and move them to the gallery_event callbacks. This will insure that the active user is always loaded (because the gallery callbacks are always called first) to its available to other gallery_ready handlers. Moved the method set_request_locale to the locales helper as it is more related to locales. * Move the user controllers and views into the gallery module. * Move the theme and block processing out of the user module and into core.
2009-10-06Allow a groups property on the User implementation and load the Identity ↵Tim Almdal
drivers early in the process so the session deserialization works.
2009-10-06Move the graphics::rotate to gallery_graphics::rotate to be consistent with ↵Tim Almdal
the other gallery graphics functions.
2009-10-06Move the graphics::rotate to gallery_graphics::rotate to be consistent with ↵Tim Almdal
the other gallery graphics functions.
2009-10-05Access the form validation rules via the API for groups and usersTim Almdal
2009-10-05The initial commit of refactoring the user/group adminsitration into a driver.Tim Almdal
Create an Identity library that defines the interface the Gallery3 expects Move the user and group helpers into the gallery module to provide the familiar interface into the Identity library. Create a Gallery Identity back-end that is supplied by the user module. The vision here is that all user and group code that is gallery or ui specific is contained within the core product. Anything that relates to manipulating a user or group is contained in the back end code that can be replaced.
2009-10-04Revert "Create a gallery::plugin_path which returns the appropriate path to ↵Tim Almdal
the module or theme. This checks for the existence of an application/modules or application/themes first." This reverts commit e1e1461a77caf5bff457927f098366497de6ffff.