summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-23Merge branch 'master' of git://github.com/gallery/gallery3Nathan Kinkade
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.
2010-12-16Detect safe_mode and abort the install. Fixes #1534.Bharat Mediratta
2010-12-15Follow on to 1057436b7c483c60b3c128fab993a3b78fac7093 -- cache theBharat Mediratta
users and groups as an array so that multiple calls will not call ORM_Iterator->current() repeatedly.
2010-12-15Cache the result of User_Model::groups() and Group_Model::users() andBharat Mediratta
invalidate it on save/delete for efficiency. Fixes #1529.
2010-12-15Don't show the "can't find ffmpeg" message to non-admins. Fixes #1528.Bharat Mediratta
2010-12-15Consolidate all the random code into a random helper that offers:Bharat Mediratta
random::hash() random::string() random::percent() random::int() So that we don't have lots of different ways to get random values all over the code. Follow-on to #1527.
2010-12-15Use mt_rand() instead of rand() since it provides better portability.Bharat Mediratta
Fixes #1527.
2010-12-15Follow on to d2be26e407aeb620082bcad2d5a45272868b38a1 to update theBharat Mediratta
unit tests to reflect the proper type filtering for #1503.
2010-12-15Clean up golden file as a follow-on toBharat Mediratta
3c523bcac6e902973c5891c02842254eaecd33a4 for #1499.
2010-12-15Clean up xss golden file as a follow-on toBharat Mediratta
945e79b17182f7c96eb4b566bd41d26b5f8c4288 for #1478.
2010-12-15Follow on to d2be26e407aeb620082bcad2d5a45272868b38a1 to convert tabs to spaces.Bharat Mediratta
2010-12-15Amend db00958cee5e7373cf4bc439d65e687e7ef2d985 by extending the systemBharat Mediratta
user_agents.php instead of replacing it. This lets us avoid having to reformat the file to get File_Structure_Test to pass and will let us take advantage of further improvements ot the Kohana version of the file. Additional fix for #1436.
2010-12-15Move the test time limit code into Unit_Test since some parts of theBharat Mediratta
code (like ORM_MPTT) mess with the time limit which interferes with the overall time limit set in Gallery_Unit_Test_Controller.
2010-12-14Move photo/movie file extension validation into the model. Fixes #1524.Bharat Mediratta
2010-12-14Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-12-09Fixed path to loading-small.gif. Thanks serged!Chad Kieffer
2010-12-09Merge remote branch 'gallery3/master'mamouneyya
2010-12-06Merge branch 'master' of git://github.com/gallery/gallery3Nathan Kinkade
2010-12-02Ok, do a real fix for #1499 by creating version 3 of the image_blockBharat Mediratta
module and creating the image_count variable if it wasn't already set.
2010-12-02Duh, set the image_block.image_count variable in the installer! ThisBharat Mediratta
issue was introduced in cdf0f7f765a5bd5e0d5619d345bdc6aba069c555 which was a follow-on for 3c523bcac6e902973c5891c02842254eaecd33a4 which fixes #1499.
2010-11-29In 3c523bcac6e902973c5891c02842254eaecd33a4 (fix for #1499) I left outBharat Mediratta
the install() function which should set the image_block module to version 2. Fix that here.