summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers
AgeCommit message (Collapse)Author
2011-04-23Revert 0235c2062e9d980a4778c4b22678238c525e1cd7 and instead apply the fix fromBharat Mediratta
iptox.net listed here: http://gallery.menalto.com/node/98768#comment-372398 Fixes for #1681, #1625
2011-04-23Use an absolute url for the upgrader link. Also, clear the upgrade_nowBharat Mediratta
site status message every time we go to Admin > Modules. Fixes #1695.
2011-04-23Set the default value for gallery.timezone to null so that each install usesBharat Mediratta
date_default_timezone_get() in modules/gallery/config/locale.php but it's still overrideable in Admin > Settings > Advanced. Follow on fix for #1637.
2011-04-23Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2011-04-23Overhaul of the uploader code:Bharat Mediratta
- Propagate size limits (including detecting memory limits from GD) down to the Flash so that we don't even start uploads that won't work - Improve the error messages to be more user meaningful and provide links to the codex for errors - Tell the user up front what the file size limit is. Fixes #1638
2011-04-23Add convert_to_human_readable and tests for both. Resolves #1693.Bharat Mediratta
2011-04-23Fix for ticket #1681 (and maybe #1625). Change the parameter from -v to ↵Tim Almdal
-version.
2011-04-23Remove displayed blocks from the admin block list. If there are noBharat Mediratta
available blocks to add, just hide the block adder block. Fixes #1689.
2011-04-22A few more fixes for #1637:Bharat Mediratta
- Update gallery_installer::install() to set the version to 48 and set the timezone - Rebuild installer.sql
2011-04-22Allow timezone to be configurableAndy Lindeman
* Fixes #1637 * New advanced setting gallery/timezone * Default setting comes from PHP
2011-04-22Do simple transliteration when converting filenames to slugs, but checkBharat Mediratta
to see if the transliteration module is available and use a more complex transliteration if possible. Fixes #1668.
2011-04-22Removed incomplete jquery carousel codeChad Kieffer
2011-04-22Renamed apple_touch_url to apple_touch_icon_url.Chad Kieffer
2011-04-22Merge branch 'master' of git://github.com/gallery/gallery3Chad Kieffer
2011-04-22Created apple-touch-icon and added to wind and admin_wind themes.Chad Kieffer
2011-04-22Detect if the users theme is missing (or missing a theme.info) and inBharat Mediratta
that case fall back to the wind theme. Fixes #1655.
2011-04-21Normally Router::find_uri() strips off the url suffix for us, but whenBharat Mediratta
we make the theme::$is_admin determination we're working off of the PATH_INFO so we need to strip it off manually. Fixes #1631.
2011-04-10Gracefully degrade in the case where the .build_number file isBharat Mediratta
missing. Fixes #1673.
2011-03-27Centralize our encoding code into a new helpers and useBharat Mediratta
mb_convert_encoding if possible. Build on the work in c791ae96d5bb28f39b26a0e556e10e636f97436c by momo-i. Fixes #1660.
2011-03-27Merge branch 'master' of git://github.com/ckieffer/gallery3Bharat Mediratta
2011-03-05Add missing phpDoc for the extra Item_Model argument to graphics callsBharat Mediratta
and make the param optional. #1646.
2011-03-05Merge branch 'master' of git://github.com/colings/gallery3Bharat Mediratta
2011-03-02Translate user Web Site label. Link web site on user profile page.Chad Kieffer
2011-02-23Added extra arg to gallery_graphics calls and updated userscolings
2011-02-21Added 'item' to parameters passed to graphics rulescolings
2011-02-13Merge remote branch 'upstream/master'colings
2011-01-29AUTO_CHECK_INTERVAL --> upgrade_checker::AUTO_CHECK_INTERVALBharat Mediratta
Fixes #1624
2011-01-21Update copyright to 2011.Bharat Mediratta
2011-01-17Display a message in the "Check for Gallery upgrades" block whenBharat Mediratta
there's a newer version available, even if the user has dismissed the site status message. #1605.
2011-01-17Move the code that clears the upgrade_check site status message to theBharat Mediratta
upgrader so that it's cleared any time we run an upgrade. Part of
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-17Update version checking code to expect "branch_" as the prefix forBharat Mediratta
all branch related lines. For #1605.
2011-01-16If the logged in user is an admin and it's been more than 7 days sinceBharat Mediratta
the last check and auto upgrade checking is enabled, fire off an XHR to check for a possible upgrade. Finishes off #1605.
2011-01-16Add arguments to random::int() to match mt_rand(). Follow on to ↵Bharat Mediratta
cd48b89f3166e7fa732b5cb06d33fba018af9127 for #1527.
2011-01-16Upgrade checking code is now here, along with a bump of the GalleryBharat Mediratta
module to v46. There's a new block in the admin dashboard which controls whether automatic checking happens, and lets you check immediately. If a newer version is detected, a site status message appears for admins providing upgrade instructions. Automatic checking is not yet implemented (even though the UI claims that it exists). This is all for #1605.
2011-01-16Change the value column of the messages table from a varchar(255) to aBharat Mediratta
text. Fixes #1612.
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-16Fixed paging for albums ordered by random.Joe7
MySql has problems when comparing float values against -seemingly same- float input, see http://dev.mysql.com/doc/refman/5.0/en/problems-with-float.html for details. Fixes #1610
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-11Two improvements to Joe's fix for #1504:Bharat Mediratta
1) Trap all exceptions, eg dns or connectivity issues and report back in the form (but put the stack trace in the logs) 2) Rename "noconn" to "no_connection"
2011-01-11Merge branch 'Ticket#1504' of git://github.com/Joe7/gallery3Bharat Mediratta
2011-01-11Update some comments.Bharat Mediratta
2011-01-11Merge branch 'fix-viewable2_master' of git://github.com/BigMadWolf/gallery3Bharat Mediratta
2011-01-12Returning 2 flags from l10n_client::validate_api_key(), 1 to reflect if ↵Joe7
connection was built up properly (just a boolean, not distuingishing between reasons in case of a failure), the other to reflect API validating success status. Using this presenting a slightly more meaningfull error msg to user in case the connection would fail. Fixes Ticket #1504
2011-01-11Don't resize if the target size is the same as the original. Fixes #1602.Bharat Mediratta
2011-01-10Stop using "which" to find binaries. Create system::find_binary()Bharat Mediratta
which traverses the $PATH and returns any executable binary of the appropriate name that it can find. Fixes #1555.
2011-01-10Fix up the version detecting regex for GraphicsMagick and don't crashBharat Mediratta
if the regex doesn't return properly. Follow on to 3ec0ba956dced01a97f2ee7bd943d326c42350e3 for ticket #1595.
2011-01-10Merge branch 'graphics/detect_toolkits()_refactoring' of ↵Bharat Mediratta
git://github.com/Joe7/gallery3