summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers
AgeCommit message (Collapse)Author
2009-11-18Currently Admin_Theme_Options controller assumes that all the themes will ↵Tim Almdal
provide the same values. This change corrects that assumption and moves the management of the theme options, including creating the form and updating the theme options into the theme.
2009-11-18Create a helper to load the theme information from theme.infoTim Almdal
2009-11-17Redesign the way that we consider page types to create buckets of pageBharat Mediratta
types, and a subtype for specifics. Currently the top level bucket collection, item, other Here are the core subtypes so far: collection: album, search, tag item: movie, photo other: login, reset, comment-fragment, comment It's legal to create new page_subtypes whenever you want. Use the appropriate page_type to get the coarse grain behavior that you want.
2009-11-15Tweak upgrader html and css so that we set opacity properly for rowsBharat Mediratta
that are done, and disable the upgrade link when there're no actions to take.
2009-11-14Normalize pagination so that pager.html.php can handle pagination forBharat Mediratta
both albums and movies. Kohana's paginator is not quite sufficient for this, so create our own pagination logic in Theme_View with only the stuff we need. Clearly document the variables available in pager.html so that themers know how to use it. Fixes ticket #626.
2009-11-13Standardize the name of the blocks.Tim Almdal
2009-11-13Undo using the md5 hash of the module name and block_id, so duplicate blocks ↵Tim Almdal
are no allowed again
2009-11-12Re-generate the install.sql so that the keys of the block lists are an md5 ↵Tim Almdal
hash of the module_name:block_id. Also change the packager so we delete the _cache variable for the module gallery not core.
2009-11-11Improve error handling.Tim Almdal
2009-11-10Pass two of uploadify... remove the default.css file, removed the folder ↵Tim Almdal
option and create a status area where succesful uploads are listed.
2009-11-09First cut at replacing swfupload with uploadify. Probably need to review ↵Tim Almdal
the css and remove extra swfupload selectors. Also changed the dialog so tags can be entered for all the files being uploaded. Probably need to add better start processing so the batch is started before the first image is loaded. Maybe add a module variable so the number of simultaneous uploads can be initiated (currently hard ocded to 10.
2009-11-08Fix an accidental old use of $photo in the extension renaming code.Bharat Mediratta
2009-11-04Modified the so that a where clause can be passed into item::get_position. ↵Tim Almdal
Was also able to remove the sub-select from the calculation of the current position as we already have the child item containing the sort column value. Also added a where clause that ignores albums to the get_position, children and children_count method calls in photos.php and movies.php
2009-10-31Change the order of processing to allow various modules to respond to the ↵Tim Almdal
identity change event after the new provider instance has been installed. Once the new provider is installed and activated, we can uninstall the old provider which causes users to be deleted. This should be safer, because at this point our new identity provider has been installed, most of the ownership issues have been resolved by the identity change handlers. If there are any ownership issues left, the user deleted event has the new identity provider to uses to rectify them.
2009-10-30Rename the login helper to auth. Create a login and logout helper function ↵Tim Almdal
to allow for programmically login in and out.
2009-10-28Normalize capitalization ticket #596Tim Almdal
2009-10-27Refix #812, by removing the decoding in file_proxy instead of not encoding ↵Tim Almdal
in Item_Model when creating the relative_path_cache.
2009-10-27Fire the logon_event when the user logs on. Cleanup some old code from the ↵Tim Almdal
user/helpers/user.php file."
2009-10-26Change the upgrader so that it never deactivactes the gallery nor the ↵Tim Almdal
current identity provider modules. Call module::deactive to truly deactivate the module.
2009-10-24Remove a redundant comment, change the name of the identity change event to ↵Tim Almdal
'identity_before_change' and change the name of 'login::get_login_form()' to 'login::get_form()'
2009-10-23Change the Admin_Identity_Controller to not destroy the session until after ↵Tim Almdal
the new provider is installed.
2009-10-23Standardize message markup, make the update block status message translatable.Chad Kieffer
2009-10-22Change Identity adminstration to use the uninstall/install methods when ↵Tim Almdal
changing providers.
2009-10-22Change the name of identity library from Identity to IdentityProvider. ↵Tim Almdal
Create a helper class called identity to simplify call the Identity Provider. Move the contents of MY_Session.php to the new helper class and remove the MY_Session class
2009-10-22Use the request::referrer to determine if we are editting the photo or albumTim Almdal
from the context menu or from its photo or album page. Fixes ticket #745. Thanks to jankoprowski for the referrer approach.
2009-10-22Merge branch 'master' into talmdal_devTim Almdal
2009-10-22When an album or photo is updated always return the photo/album location asTim Almdal
part of the response. This insures that if the internet address changes, then the page will reload properly.
2009-10-21Correct white spaceTim Almdal
2009-10-20Add lookup_group Identity provider API and change the permissions controller ↵Tim Almdal
to use it to get the group it is modifying
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-19Merge branch 'master' into talmdal_devTim Almdal
Conflicts: modules/user/views/admin_users.html.php
2009-10-18Wrap all admin views in g-block and g-block content. This provides the means ↵Chad Kieffer
to visually separate the view's title and description from everything else. Primary admin view title should always be h1, and only one h1 per view. Removed some unused admin CSS id's.
2009-10-18Create a administration page that allows the administrator to change the the ↵Tim Almdal
Identity provider if more than two are Identity providers are installed
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-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-14Move the ui for user adminsitration back to the user module.Tim Almdal
2009-10-13Refactor the ui component of the user module into the gallery core module.Tim Almdal
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-08Part of the previous commit, forgot to save... againTim Almdal
2009-10-07Forgot to save these before the last commitTim Almdal
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-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-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.