summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2009-10-13Continue to refactor locale and gallery3 ui from the user module to the ↵Tim Almdal
gallery module
2009-10-13remove the unused private function user::_md5Salt()Tim Almdal
2009-10-13refactor locale related functionality out of the user module and into the ↵Tim Almdal
gallery module.
2009-10-09Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-10-13Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
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-11Use SQL_CALC_FOUND_ROWS instead of doing the search twice, for better ↵Bharat Mediratta
performance. Fixes ticket #835, thanks Joe7!
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-09update the Access_Helper_Test to use the user::lookup_by_name API method.Tim Almdal
2009-10-09Add support for the in filter to get_user_list and get_group_list. Convert ↵Tim Almdal
the notifications to use user::get_user_list instead of accessing the table directly.
2009-10-09Convert direct lookups for the user table using ORM to using the ↵Tim Almdal
user::lookup_by_name and user_lookup API methods. Convert the Admin_User controller Convert the login and password change controller Change the item model to call user::lookup to get the owner. On the log model, delete the relationship between the log and user table, and replace with a call to user::lookup (cherry picked from commit 194cc3b27a73afe5119da9f09407c1e068dc6fa3) Create the get_user_list, lookup_by_name, lookup_by_hash and get_group_list api functions
2009-10-08Change 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 for users management, there are no guarantees that it is in our database or it could be in a ldap directory. So it was just easier to remove the restfulness and just call user::lookup instead. (cherry picked from commit b3211cb2a8282556d410c91771baeb764d47ed10)
2009-10-07Replaced most clear fix hacks with generic class.Chad Kieffer
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-06Rename permissions icons to correspond to view states, move to lib/images. ↵Chad Kieffer
Fixed references to them in the edit permissions view.
2009-10-06Move the graphics::rotate to gallery_graphics::rotate to be consistent with ↵Tim Almdal
the other gallery graphics functions.
2009-10-04Renamed more CSS selectors from gName to g-name.Chad Kieffer
2009-10-04Fixed previous over zealous find and replace.Chad Kieffer
2009-10-04Fixed previous over zealous find and replace.Chad Kieffer
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.
2009-10-04Create a gallery::plugin_path which returns the appropriate path to the ↵Tim Almdal
module or theme. This checks for the existence of an application/modules or application/themes first.
2009-10-04Renamed most, if not all css selectors from gName to g-name. Moved a few ↵Chad Kieffer
shared images from wind to lib. Deleted unused images in the admin_wind. This will likely break a few ajax features.
2009-10-03Renamed and moved gOdd/gEven CSS classes.Chad Kieffer
2009-10-02Log the stack trace when non-admins get the error.Bharat Mediratta
2009-10-01Change gallery::find_file to not assume that the absolute path is relative ↵Tim Almdal
to the document root. Instead ignore all th path parts until one of application, modules, themes, or libs is found. Fixes ticket #827
2009-10-01adjust whitespaceTim Almdal
2009-09-30Apply gModuleStatus to server add status message.Chad Kieffer
2009-09-30Merge branch 'master' of github.com:gallery/gallery3Chad Kieffer
2009-09-30Convert gDialog and gCancel over to g-dialog and g-cancel. Refactor CSS id's ↵Chad Kieffer
and classes in the login/reset password dialog.
2009-09-30Apply gModuleStatus to server add status message.Chad Kieffer
2009-09-30Fix a problem with trying to display item related menu items on a dynamic ↵Tim Almdal
page like tags
2009-09-30Apply button style and hover effect to password reset button.Chad Kieffer
2009-09-30Missed g-right application on add groupChad Kieffer
2009-09-30Removed blank line.Chad Kieffer
2009-09-30Added active_sidebar_blocks and deactive_sidebar_blocks to allow the ↵Tim Almdal
installer to activate and deactive the side bar blocks when a module is activated or deactivated.
2009-09-30Correct version numbers for image_block and info modules, they inadvertently ↵Tim Almdal
got set to 2, they should be 1
2009-09-30Correct version numbers for image_block and info modules, they inadvertently ↵Tim Almdal
got set to 2, they should be 1
2009-09-30Add functionality to activate sidebar blocks when the module is activated ↵Tim Almdal
and deactivate the sidebar blocks when the module is deactivated.
2009-09-30Set the gallery version to 15 and provide upgrade processing to set the ↵Tim Almdal
default sidebar.
2009-09-30Enable the administration screen for the sidebar. Fix for ticket #110.Tim Almdal
2009-09-30Make the parameter to block_manager::get_html() optional as its not ↵Tim Almdal
applicable to admin sidebar blocks.
2009-09-30Forgot to reset the version numberTim Almdal
2009-09-30Merge branch 'talmdal_dev' of git@github.com:gallery/gallery3 into talmdal_devTim Almdal
Conflicts: modules/gallery/helpers/block_manager.php modules/gallery/libraries/Theme_View.php modules/image_block/helpers/image_block_block.php modules/image_block/helpers/image_block_theme.php modules/info/helpers/info_block.php modules/info/helpers/info_installer.php
2009-09-30Merge branch 'master' into talmdal_devTim Almdal
2009-09-30Use the block_manager to manage site sidebar panels. Fixes ticket #110.Tim Almdal
* Extend block_manager to handle sidebar blocks. get_available has become get_available_admin_blocks, get_list becomes get_admin_list. * Create new functions get_available_site_blocks which will look for gallery_block get_available_site_blocks. * Refactor sidebar_blocks into a separate function and then call block_manager::get_html(site.sidebar). Convert image_block to use block management instead of theme::sidebar_blocks * Change the block_manager api so that the theme is passed into the get method. convert info to the new sidebar block approach * Convert the user module to use the new sidebar block structure. remove the installers for info and image_block modules. * Convert tag and rss modules to the new sidebar framework. reset the version number to 1 for info and image_block modules. * Change the get_html method to ignore empty blocks and change the individual handlers to return an empty string if no block is generated * Add a warning message if no sidebar blocks are active and provide a link to the admin page that configures the sidebar.
2009-09-30Replaced gButtonLink with g-button.Chad Kieffer
2009-09-30Floated elements in table headings should appear before anything else. Fixes ↵Chad Kieffer
odd white space between column heading and and button on admin maintenance page when browser window is narrow.