summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2010-12-17Sort the Admin > Settings menu instead of relying on module activation order.Bharat Mediratta
Requires making Menu::get() return a reference. Fixes #1545.
2010-12-17Include the root in the tree output.Bharat Mediratta
2010-12-16Swap the order of the CSS and JS for performance. Fixes #1540.Bharat Mediratta
2010-12-16Follow on to 16555935ee45a09b8d5b5b351222631ba2ce2132 to clean up theBharat Mediratta
style a bit. Tracked in #1539.
2010-12-17Fetch permissions for non-albumbs by parent rather than by item, allowing ↵Kriss Andsten
the result to be cached.
2010-12-16Create a "tree" rest resource that can return the entire album tree inBharat Mediratta
a single fast request, among other operations. Fixes #1538.
2010-12-16Enable profiling output in the HTML output for REST. Fixes #1535.Bharat Mediratta
2010-12-16Improve Item_Model::as_restful_array() to take an array of fields soBharat Mediratta
that we only return the fields we care about. This improves performance when retrieving large numbers of items. Fixes #1536.
2010-12-16Create url::merge_querystring() which merges a query string into anBharat Mediratta
existing url. Fixes #1537.