summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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-03Some small follow on fixes for #1559 and #1568:Bharat Mediratta
1) Make database changes in gallery_installer::install() instead of in installer/install.ql 2) Bump the version number in modules/gallery/module.info
2011-01-03Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2011-01-03Follow on to cfaa62370ecbdb3badf4ab68bbefa7cfedaea154 to fix indentation.Bharat Mediratta
Fixes #1569.
2011-01-03Using array support introduced in 8295201adf948ea35f21f75801b7a8bf36c27569Joe7
2011-01-03Reimplemented Kohana 2.3's View::set_global() with array support.Joe7
Allows for cleaner code and fewer function calls.
2011-01-03Updated installer for the bump of the gallery module to v43. Fixes #1568.Bharat Mediratta
2011-01-03case fixJoe7
2011-01-03case fixJoe7
2011-01-03Bugfix: input validation validates description up to length of 65535 chars, ↵Joe7
but DB trimmed data over 2048 chars. Converting column into TEXT type. Note: The effective maximum length of a VARCHAR in MySQL 5.0.3 and later is subject to the maximum row size (65,535 bytes, which is shared among all columns) and the character set used. In contrast to CHAR, VARCHAR values are stored as a one-byte or two-byte length prefix plus data. The length prefix indicates the number of bytes in the value. A column uses one length byte if values require no more than 255 bytes, two length bytes if values may require more than 255 bytes.
2011-01-03Removed accidental whitespaceJoe7
2011-01-03Keep view counters of all item types accurateJoe7
Added common increment_view_count() func in item model for reuse
2010-12-31Identify the case where the active sidebar blocks didn't produce anyBharat Mediratta
content and print out a more informative message in that case. Fixes
2010-12-31Update gallery module to v42 to reflect key changes in the cacheBharat Mediratta
table in 440597356d8719bdc6733d2d86aaef5f86d05a1e for #1559.
2010-12-30Merge branch 'master' of git://github.com/Joe7/gallery3Bharat Mediratta
2010-12-29Improve the solution for #1545 by sorting the settings menu properlyBharat Mediratta
to be naturally ordered and case insensitive.
2010-12-29Add a minified version of json2.js from ↵Bharat Mediratta
https://github.com/douglascrockford/JSON-js/blob/master/json2.js by Douglas Crockford at 8d11dc6950eafc7d01f141ce91d4f585caa29f3b. Fixes #1351.
2010-12-29Remove a stray comma at the end of a JSON array which was breakig IE. ↵Bharat Mediratta
Fixes #1561.
2010-12-28Coding style fixes: identation on line 48+removed trailing whitespaces, ↵Joe7
added spaces around =s
2010-12-28Truncating table first againt collides when converting INDEX into UniqueJoe7
2010-12-28Added changes to installer and upgrader scripts to support INSERT ON ↵Joe7
DUPLICATE KEY UPDATE SYNTAX in cache lib
2010-12-28Using ON DUPLICATE KEY UPDATE instead of SELECT+UPDATE/INSERT style method ↵Joe7
(that does 2 trips to Database server and is less optimal). exists() method is not needed anymore thus got removed
2010-12-28Added limit on select as for the outcome it doesn't matter if there are 20 ↵Joe7
rows or just 1. Is sufficient to return straight after reading 1 row.
2010-12-28Use db::expr instead of "new Database_Expression". Resolves #1560.Bharat Mediratta
2010-12-28Update test to match change in Item_Model::as_restful_array made inBharat Mediratta
7e31f97b4cbc5cf1894611de1e9de7a3efc6ad50 for #1536.
2010-12-28Update golden file to reflect the change inBharat Mediratta
c989981041e66e336f1410b651173305ab184aba for #1520.
2010-12-28Coding style fixes: identation on line 48+removed trailing whitespaces, ↵Joe7
added spaces around =s
2010-12-28Truncating table first againt collides when converting INDEX into UniqueJoe7
2010-12-27Added changes to installer and upgrader scripts to support INSERT ON ↵Joe7
DUPLICATE KEY UPDATE SYNTAX in cache lib
2010-12-27Using ON DUPLICATE KEY UPDATE instead of SELECT+UPDATE/INSERT style method ↵Joe7
(that does 2 trips to Database server and is less optimal). exists() method is not needed anymore thus got removed
2010-12-27Added limit on select as for the outcome it doesn't matter if there are 20 ↵Joe7
rows or just 1. Is sufficient to return straight after reading 1 row.
2010-12-26Fix capitalization to be sentence case.Bharat Mediratta
2010-12-25Correct image block plurality, fixes 1506dmolavi
2010-12-24Added Croatian as hr_HR. Fixes #1514.Bharat Mediratta
2010-12-24Use the item title wherever possible as the page title and get rid ofBharat Mediratta
the "Browse Album" text which shows up way too much. Fixes #1520.
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-12-23Fix PHPDoc for composite().Bharat Mediratta
2010-12-21Change MY_url::parse_url to use item::find_by_relative_url.Bharat Mediratta
2010-12-21Implement item::find_by_relative_url with tests.Bharat Mediratta
2010-12-21Updated to use the new item::find_by_path() API.Bharat Mediratta
2010-12-21Change item::find_by_path() to check the relative_path_cache first,Bharat Mediratta
and only fall back the name/level comparison if there's no cached entry. Update tests accordingly.
2010-12-21Return an empty Item_Model when item::find_by_path failsBharat Mediratta
2010-12-21Tighten up item::find_by_path slightly. Augment the tests to coverBharat Mediratta
special characters in the file name ("+" is an edge case differentiator between rawurlencode and urlencode).
2010-12-21Fix assertion order to be (expected,actual)Bharat Mediratta
Change strinct concatenation to be variable interpolation to tighten it up.
2010-12-22Minor changes to satisfy the G3 code standards.Kriss Andsten
2010-12-22Packaging + tests of Bharat's find_by_path routine.Kriss Andsten
2010-12-18Warn admins after login if their PHP install has theBharat Mediratta
session.use_trans_sid feature enabled, since this will cause random logouts. Partial fix for #1316.