summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2011-01-18Create a hidden anchor containing the tag cloud autocomplete url. This way ↵Bharat Mediratta
validates. Fix for #1577.
2011-01-18Revert "Temporarily removed ref tag to get the page validated. (Was also ↵Bharat Mediratta
pointing at a rather semi-finished looking page)" This was breaking the tag autocomplete code, which depends on this value. This reverts commit 5e8d92552b1384d99d5fef56333deb7eb67a8f92.
2011-01-18Get rid of the "organize needs rest" message when upgrading to theBharat Mediratta
new organize; it may be hanging around from a prior version. Reinstate the installer for this. Bump organize module to v4. Follow-on for #1584.
2011-01-17Change the [x] close box to "(remind me later)". #1605.Bharat Mediratta
2011-01-17Fix typo: upgrade_check -> upgrade_checkerBharat Mediratta
#1605.
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-15Golden file updates for xss and controller authentication.Bharat Mediratta
2011-01-15Style fixes.Bharat Mediratta
2011-01-15Revive the code from Cache_Driver::exists and put it into a helperBharat Mediratta
function in the test so that we can keep our tests functioning. Follow on to 66fd8c7518ab71466aca72d20fb7bcd5f374af26 for #1559.
2011-01-15Follow on to 966dee8628293f78fbf9431281709ceba011d3c2 for #1586 --Bharat Mediratta
don't try to update the tag item count if we didn't change any items with this change (ie: a tag rename). In that case, we haven't loaded the related items so we don't have any idea what the count is going to be.
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-15whitespace fix.Bharat Mediratta
2011-01-15Reorganize the url() function out from in the middle of the script/css ↵Bharat Mediratta
combining functions.
2011-01-15Tweake Joe's change to admin_users to revert the code that joins against the ↵Bharat Mediratta
items table; it's not clear that this is going to be efficient for large data sets.
2011-01-15Merge branch 'Ticket#1557' of git://github.com/Joe7/gallery3Bharat Mediratta
2011-01-11Update comments to annotate what data is where during the process.Bharat Mediratta
Follow-on for #1518.
2011-01-11Merge branch 'Ticket#1518' of git://github.com/Joe7/gallery3Bharat Mediratta
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-11Removed check as input value is compared against dataset of validated ↵Joe7
values, and request is only processed further in case of a match. => this is unnecessary
2011-01-11Making good use of Pagination class to reduce code (removed MY_Controller ↵Joe7
which duplicated some functionality available in Pagination as well)
2011-01-11coding styleJoe7
2011-01-11Don't resize if the target size is the same as the original. Fixes #1602.Bharat Mediratta
2011-01-10Create new APIs for allowing themers to control what CSS/JS getBharat Mediratta
combined and when. Backwards compatible in that old themes will work, but their CSS/JS will no longer be combined unless they make some changes. Fixes #1600.
2011-01-10New albums should take the sort order from their parent. Fixes #1599.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-10Allow File_Proxy_Controller to run in private gallery mode since itBharat Mediratta
does all the right permission checks. This prevents a hotlink to a private photo in a private gallery from kicking the user out to a login page. Fixes #1594.
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
2011-01-09Use eeldivad's fallback code from ↵Bharat Mediratta
http://gallery.menalto.com/node/96806#comment-358404 instead of relying solely on preg_quote. Fixes #1460.
2011-01-09Move the directory queue into the database as well, otherwise if youBharat Mediratta
have too many directories it blows out the task queue and the whole thing falls over. Fixes #1547.
2011-01-09Fixed offset sanitizing code - Fixes Ticket#1593Joe7
2011-01-09Replace preg_quote with a more targeted regex to fix the problem whereBharat Mediratta
directories get skipped. Fixes #1460, I think.
2011-01-09Minor css mod to make it obvious paging belongs to user blockJoe7
2011-01-09Paginator for user manager admin viewJoe7
Closes ticket #1557 Note: also optimizes the way item count is retrieved for users, saving <user_count>-1 queries when displaying this page
2011-01-09Fixed item controllers so that any item position is computed correctly, when ↵Jérémy Subtil
some other items belonging to the same parent album are not viewable. Changed depracated calls to item_Model::get_position() to item::get_position().