| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2011-04-30 | Change the name of the extensions helper to legal_file. | Chad Parry | |
| 2011-04-27 | Merge branch 'master' of https://github.com/gallery/gallery3 into rawphoto | Chad Parry | |
| 2011-04-27 | Move the extensions helpers out of the Kohana system directory and into ↵ | Chad Parry | |
| their own Gallery Extensions class. | |||
| 2011-04-25 | Fix a bug introduced in 526859d9605d137ebe053ecbd80f46ca6a331194 where | Bharat Mediratta | |
| we changed the behavior of the slug code and included the file extension, not just the name. This broke Item_Model_Test::move_photo_with_conflicting_target_gets_uniqified_test so yay for unit tests! #1668 | |||
| 2011-04-24 | Merge branch 'master' of https://github.com/gallery/gallery3 into rawphoto | Chad Parry | |
| 2011-04-24 | Expose the data file field. | Chad Parry | |
| 2011-04-24 | Don't assign to the item->name field if the name is unchanged, because the ↵ | Chad Parry | |
| save method will crash. | |||
| 2011-04-23 | Preserve old data files long enough for them to be available to event handlers. | Chad Parry | |
| 2011-04-23 | Support data files that change their extension and MIME type. | Chad Parry | |
| 2011-04-23 | Resolve an infinite recursion that happens when the path caches are updated ↵ | Chad Parry | |
| during saving. | |||
| 2011-04-22 | Do simple transliteration when converting filenames to slugs, but check | Bharat Mediratta | |
| to see if the transliteration module is available and use a more complex transliteration if possible. Fixes #1668. | |||
| 2011-04-21 | Add an event that will collect all valid filename extensions. | Chad Parry | |
| 2011-01-21 | Update copyright to 2011. | Bharat Mediratta | |
| 2011-01-09 | Moved item_Model::get_position() method to the Item helper. It now calls ↵ | Jérémy Subtil | |
| the viewable() method on every query. | |||
| 2011-01-05 | Keep Item_Model::scale_dimensions from upscaling. Fixes #1579. | Bharat Mediratta | |
| 2011-01-03 | Removed accidental whitespace | Joe7 | |
| 2011-01-03 | Keep view counters of all item types accurate | Joe7 | |
| Added common increment_view_count() func in item model for reuse | |||
| 2010-12-16 | Improve Item_Model::as_restful_array() to take an array of fields so | Bharat Mediratta | |
| that we only return the fields we care about. This improves performance when retrieving large numbers of items. Fixes #1536. | |||
| 2010-12-15 | Consolidate 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-15 | Use mt_rand() instead of rand() since it provides better portability. | Bharat Mediratta | |
| Fixes #1527. | |||
| 2010-12-14 | Move photo/movie file extension validation into the model. Fixes #1524. | Bharat Mediratta | |
| 2010-11-18 | Fix a bug where simultaneous deletes of the same item can result in it | Bharat Mediratta | |
| deleting the first item row in the database. The root issue is a bug in Kohana that's addressed in dca9b5f3fc8e80ee0667cac88d688e2287b1e7f4 but in this change we deal with the fact that reloading an item can result in an instance of the item that's unloaded. In those cases, we should just ignore it and move on. Fixes #1489. | |||
| 2010-11-09 | Tie the image cachebuster to the file mtime instead of | Bharat Mediratta | |
| Item_Model::$updated since we want the url to be stable whenever possible. Fixes #1482. | |||
| 2010-11-06 | Create item_before_create and item_before_update events, and make | Bharat Mediratta | |
| Item_Model::data_file public. This allows us to intercept and tweak data files before saving the model which enables the max_size module. | |||
| 2010-10-31 | Deal in integers when doing aspect ratio operations. Fixes #1470. | Bharat Mediratta | |
| 2010-10-25 | All modules should be named Xxx_Core for extensibility. Fixes #1458. | Bharat Mediratta | |
| 2010-09-23 | Fix a bug introduced recently in | Bharat Mediratta | |
| f84c4a6192ea0e47ca5b2006baa0bfd7e09a682c where we were generating bad SQL. If we're checking for a conflict on a new item, the id is null and we were doing a comparison that resulted in "id <> NULL" which won't work -- in that case we need "id IS NOT NULL". Fixes #1393. | |||
| 2010-09-12 | Rename the class to Item_Model_Core so that it can be overloaded. | Bharat Mediratta | |
| Related to ticket #1368. | |||
| 2010-09-11 | Uniqify the name and slug when we move an item to a new location with | Bharat Mediratta | |
| a conflict. This fixes #1364. | |||
| 2010-09-07 | Return the size in bytes of the thumb, resize and full file. | Bharat Mediratta | |
| Don't return thumb info if there's no thumbnail (eg: album w/ no contents) Don't return file_url_public for albums Fixes ticket #1347. | |||
| 2010-09-07 | The G2 import sets the sort_order to "asc"/"desc" but | Bharat Mediratta | |
| Item_Model::get_position() expects "DESC". This breaks navigation in any album imported from G2 that has a descending sort order. Two things: 1) Use "ASC"/"DESC" in G2 import for consistency 2) Make Item_Model::get_position() more robust against capitalization Fixes ticket #1334. | |||
| 2010-09-06 | Add "web_url" with the url to the web version of the item. Fixes ticket #1341. | Bharat Mediratta | |
| 2010-08-25 | Null out Item_Model::$data_file in Item_Model::save() when we're | Bharat Mediratta | |
| creating a new item, else the item_created event will trigger subsequent saves which will think that they need to post an item_updated_data_file event. Partial fix for #1286 | |||
| 2010-08-14 | Always use the data resource to return thumbs, resizes and full sizes. | Bharat Mediratta | |
| That way the client does not have to differentiate between RESTful request types and raw request types. If there's a public raw url, return that as well. | |||
| 2010-08-09 | Use the data_rest implementation to proxy access to raw | Bharat Mediratta | |
| thumb/resize/full data files when permissions are in play. | |||
| 2010-08-07 | Add the ability to replace the source data file in Item_Model::save(). | Bharat Mediratta | |
| Refactor the rotate code in Quick_Controller to replace the data file, and then have gallery_event::item_updated_data_file() pick up after the change is saved, rebuild the image and handle album covers. This is much more portable than before and it will allow any mechanism (eg: REST) to replace the source image. | |||
| 2010-07-29 | We don't care about the name and slug for the root album so don't bother ↵ | Bharat Mediratta | |
| enforcing them. | |||
| 2010-07-10 | Accept extension .m4v as video/mp4 | Romain LE DISEZ | |
| 2010-06-17 | Fix for ticket #1117 align videos to the center. | Tim Almdal | |
| 2010-06-17 | Scale a movie to the resize size so that it doesn't overflow into the sidebar. | Tim Almdal | |
| 2010-06-15 | Revert "Add a "convert_ids" parameter to Item_Model::as_restful_array(), which" | Bharat Mediratta | |
| This reverts commit 98fce83de5f772482382bfabdbcd94c25ecdbb1a. Conflicts: modules/gallery/tests/Item_Model_Test.php | |||
| 2010-06-09 | Revert the "preserve_ids" global query parameter. We decided that it was a | Bharat Mediratta | |
| bad idea. This reverts commit 6425d41eddd44091b2d83ba3c3734cc6990ca581. | |||
| 2010-06-08 | Add a "can_edit" field to the Item_Model's REST output. It's | Bharat Mediratta | |
| applicable to the current user. | |||
| 2010-06-07 | Add a "preserve_ids" global query parameter for REST requests that | Bharat Mediratta | |
| indicates that we shouldn't opportunistically convert ids into REST urls. | |||
| 2010-06-07 | Add a "convert_ids" parameter to Item_Model::as_restful_array(), which | Bharat Mediratta | |
| we can turn on with a query parameter. | |||
| 2010-05-14 | Fix-ups for d98b85f7d3142676e6b4f407a18ed81564823f88 | Bharat Mediratta | |
| - Pass the CSS selector of the active image in as an arg to site_menu so that quick operations know what they're operating on. - Change the ids from g-{photo,movie}-id to the generic g-item-id - Initialize ajax handlers for site menu on the photo and movie page - Drop the movie context menu, it's now in the site menu | |||
| 2010-04-07 | Merge branch 'master' into bharat_dev | Tim Almdal | |
| 2010-04-04 | Fix a bug where if the file name is composed of entirely illegal | Bharat Mediratta | |
| characters, we'll get an empty slug. Partial fix for #1086. | |||
| 2010-04-04 | REST changes: Allow PUT and POST requests to modify members, not | Bharat Mediratta | |
| just entity. TESTS ARE NOT UPDATED YET. - Fix item_rest::get() to maintain the proper sort order, which requires duplicating some Item_Model code. - Elide "weight" from the REST version of item - Adjust the weight of members according to the order they're returned from the client. You can't add or remove members here, you can only reorder them. - Changed the wire protocol to handle more complex values. Now "entity" and "members" are JSON encoded. The Gallery3 helper does this correctly. - Changed the wire protocol for tag_item -- now it stores the tag and item urls in the entity, not as members. This is more consistent. - Added missing security for renaming and deleting tags. - Got rid of vestigial tag_rest::post(). We add/remove tags via the relationship. | |||
| 2010-03-03 | Update the copyright to 2010. It's only 3 months into the year :-) | Bharat Mediratta | |
