summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery.php
AgeCommit message (Collapse)Author
2013-01-23Enable the profiler and debug output if var/PROFILE exists. ThisBharat Mediratta
provides a quick/easy way for server admins to provide profile output. Fixes #1959.
2013-01-21Update copyright to 2013. Fixes #1953.Bharat Mediratta
2012-02-27Update copyright to 2012. #1822Bharat Mediratta
2011-04-10Gracefully degrade in the case where the .build_number file isBharat Mediratta
missing. Fixes #1673.
2011-01-21Update copyright to 2011.Bharat Mediratta
2011-01-17Rename BUILD_NUMBER to .build_number so it's not so loud.Bharat Mediratta
2011-01-17Add BUILD_NUMBER to the security check in .htaccessBharat Mediratta
Change BUILD_NUMBER to be .ini format and add a big "do not edit" comment.
2011-01-16Fix indentation.Bharat Mediratta
2011-01-16First step in setting up version checking.Bharat Mediratta
We now have two types of packages (release, git). Instead of using constants, we now have gallery::version_string() which returns the current version string. If you're on a release package, then the version string looks like: 3.0 (Santa Fe) If you're on a git package, then the version string looks like this: 3.0.1 (branch 3.0.x build 3) We track the build number in a new file in the gallery3 root called BUILD_NUMBER which we will update periodically with the latest build number for each branch.
2011-01-08Improve gallery::find_file() to do a better job of detecting the ↵Bharat Mediratta
modules/themes directories. Fixes #1590.
2010-12-23Create a way for controllers to exempty themselves from maintenanceBharat Mediratta
mode and private gallery mode by setting the following constants in the controller to true. ALLOW_MAINTENANCE_MODE ALLOW_PRIVATE_GALLERY Fixes #1411 and the subsequent refactoring fixes #1551 as well.
2010-10-24Allow access to the rest module when the gallery is wholly private. Fixes ↵Bharat Mediratta
ticket #1452.
2010-10-09Identify robots and don't let them save sessions.Bharat Mediratta
2010-10-07Change version to "3.0+ (git)".Bharat Mediratta
2010-10-04Set the version to 3.0 final (woot!).Bharat Mediratta
2010-10-01Fix a bug in the way we set the mime type for protected image renders.Bharat Mediratta
Also whitelist the digibug controller so that it's accessible when the gallery is private, and don't expire old proxies right away since Digibug may request the full size multiple times for different preview operations. Fixes ticket #1410.
2010-09-22Prioritize using the value in graphics_toolkit_path over the standardBharat Mediratta
path so that if you change that value in Admin > Settings > Advanced we prefer it over other paths (which may be restricted by open_basedir). Fixes #1395.
2010-09-12Ignore the private gallery settings if we're in the cli SAPI. ItBharat Mediratta
breaks the upgrader. Fixes #1361, thanks to Romain LE DISEZ.
2010-09-02Follow on to 2a86446249c4782287e1e6e472f422b851c2fb47; fix a bug whereBharat Mediratta
guest access to admin pages fails because we try to go to the login page but you can't do that from the admin theme. Thanks to mamouneyya for catching this. http://github.com/gallery/gallery3/commit/2a86446249c4782287e1e6e472f422b851c2fb47
2010-09-02Handle the case of a completely private Gallery separately and justBharat Mediratta
put up a login page, very similar to the way that the maintenance mode login page works. Fixes ticket #1056.
2010-08-08Use the gallery helper date/time functions wherever we format dateBharat Mediratta
time for the browser. Fixes ticket #1278.
2010-08-01Use the login/html page for maintenance mode; we don't need theBharat Mediratta
maintenance controller/view anymore. Fixes ticket #1267.
2010-08-01default maintenance_mode from false -> 0 for consistency with the value we ↵Bharat Mediratta
set in the db
2010-08-01Make maintenance mode a variable instead of a config. Then createBharat Mediratta
links on the Admin > Maintenance page to allow you to turn it on and off. This should be efficient since we cache all vars and look them up on every request anyway. This also allows us to have the Fix task enable maintenance mode while it's running which greatly reduces the chances that somebody will come along and hork the database while we're tinkering with MPTT pointers. Fixes ticket #1259.
2010-07-05Updated version for RC2Bharat Mediratta
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-02-23Name this release "Santa Fe". Fixes ticket #683.Bharat Mediratta
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-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-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-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-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-09-29* Remove the @todo in module event and always try to call ↵Tim Almdal
gallery_event::$function first * Refactor gallery.php to move site_menu, admin_menu, and context_menu to gallery_event.php * Change Theme_View and Admin_view to call module::event("site_menu|admin_menu|context_menu"...)
2009-09-28Do a pass on the gallery::find_file and Gallery_View::{script,css} PHPdoc.Bharat Mediratta
2009-09-28Update the PHPDoc for gallery::find_file and convert ↵Tim Almdal
Gallery_View::script/css to use gallery::find_file
2009-09-23Add a new api method gallery::find_file. This wraps the Kohana::find_file ↵Tim Almdal
function, but allows the extension to supplied as part of the filename. Changed the Edit permission dialog to use the new api method to locate the icons from the active theme.
2009-09-23Clone the photo::get_edit_form to the movies helper and use it to generate ↵Tim Almdal
the movie edit form. Fixes ticket #726.
2009-09-19Change the fix for ticket #775 to always add the Add menu, but not add any ↵Tim Almdal
items if the album directory is not writable.
2009-09-18Don't display the add menu if the underlying operating system directory is ↵Tim Almdal
not writable. THis should fix ticket #775
2009-09-13Set the version to "3.0 git (pre-RC1)"Bharat Mediratta
2009-09-12Update version to "3.0 beta 3"Bharat Mediratta
2009-09-08Move specialized (pretty) url generation back into Item_Model so thatBharat Mediratta
we're not relying on overriding url::site() to do tricks around item urls. This means that you won't get item urls by doing url::site("albums/37"), for example, but it also means that we won't get pretty urls where we don't expect them (like in the action of a <form> element). Incidentally, this will help us move over to using the slug format because if you've got a bad character in a url, the edit forms will now work on it since they'll be id based.
2009-09-01Allow anything to be made an album cover, except for direct childrenBharat Mediratta
of the root album (which has no visible album cover, so no point in offering that option). This fully resolves #705.
2009-08-31Don't include Make this the album's cover in context menu's for albums. #705Chad Kieffer
2009-08-31Add icons to context menu for albums. I'm open to other options, if folks ↵Chad Kieffer
think there's something better in the jQuery UI themeroller set.
2009-08-30Tabs to spaces cleanupAndy Staudacher
2009-08-29* created new generic "Add" dropdown in the site menu. this should take care ↵jhilden
of ticket #537 * removed start/stop translation menu items from the admin, since they are on the languags admin page now