| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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 | |
| 2010-02-19 | Fix the resize_url and file_url in as_restful_array() | Bharat Mediratta | |
| 2010-02-19 | Correct the view_fillsize permission to view_full. In addition, change the ↵ | Tim Almdal | |
| name of the field containing the url to the fullsize image to file_url instead of fullzie_url | |||
| 2010-02-15 | return the absolute url not the relative for the full size, resize and thumb ↵ | Tim Almdal | |
| images. | |||
| 2010-02-14 | Remove the dirty flags from the information returned from the rest request ↵ | Tim Almdal | |
| for an item. In addition, add links to the images. | |||
| 2010-02-12 | Revert "1) Add a depth parameter to retrieving an item thru the rest api" | Bharat Mediratta | |
| This reverts commit 3439671bcfb99c1884285e4b4e53295f044e688f. | |||
| 2010-02-12 | 1) Add a depth parameter to retrieving an item thru the rest api | Tim Almdal | |
| 2) Standardize the structure of members so that client programs can consistently parse the return information. 3) Added a summary parameter so that client programs can easily determine if the information returned is summary (item type, item title) or the full meal deal | |||
| 2010-01-31 | Fix lots of warnings that pop up when we're in E_STRICT mode. They're | Bharat Mediratta | |
| mostly issues around uninitialized variables, calling non-static functions in a static context, calling Session functions directly instead of on its singleton, passing non-variables by reference, and subclasses not using the same interface as the parent class. | |||
| 2010-01-31 | Elide data that isn't useful from the REST array. | Bharat Mediratta | |
| 2010-01-30 | Add Item_Model::as_restful_array() for convenience. | Bharat Mediratta | |
| 2010-01-29 | Strongly type the argument list to the model::validate method. | Tim Almdal | |
| 2010-01-27 | Convert back to using ORM::factory(..., $id) instead of calling where(). | Bharat Mediratta | |
| 2010-01-27 | Prevent accidentally deleting the root album. | Bharat Mediratta | |
| 2010-01-26 | Specialize the album cover id check to allow the root album to have no | Bharat Mediratta | |
| album cover. | |||
| 2010-01-25 | Always keep the original around when updating existing items, because | Bharat Mediratta | |
| we need it for the item_updated event. | |||
| 2010-01-20 | Whitespace. | Bharat Mediratta | |
| 2010-01-20 | Stop using MY_ORM::original(). It's got very odd semantics and we are | Bharat Mediratta | |
| not capturing all cases for setting and resetting $original, which leads to some weird and hard to reproduce behavior. Instead, if we need the original just reload it from the database. This may result in a somewhat excessive load in places, but we'll have to fix that in a later optimization pass. | |||
| 2010-01-19 | Fix some validation checks to check to see if the original was loaded | Bharat Mediratta | |
| before deciding whether or not we changed a value. Change valid_name to be cascading, not parallel. | |||
| 2010-01-19 | Move data initialization into the constructor so that it happens | Bharat Mediratta | |
| before validate() is called, which is important with our two phase web controllers. Make valid_parent smarter about moving existing items, vs new items. | |||
| 2010-01-19 | Make video/x-flv a valid movie mime_type | Bharat Mediratta | |
| 2010-01-18 | Update valid_parent() to disallow moving an item inside its own hierarchy. | Bharat Mediratta | |
| Move move_to() inside save() | |||
| 2010-01-18 | Fix renaming in save() by moving the actual rename action under | Bharat Mediratta | |
| parent::save(). This is consistent with other changes because all filesystem operations happen after the database change is committed. Also, inline rename() since it's fairly simple now. | |||
| 2010-01-18 | In valid_name, don't query on the id if it's null. | Bharat Mediratta | |
| 2010-01-17 | Make set_data_file() chainable. | Bharat Mediratta | |
| 2010-01-17 | Get rid of internal_only designation -- it's too hard to enforce cleanly. | Bharat Mediratta | |
| 2010-01-17 | Move rules entirely down into validate() so that we can be more | Bharat Mediratta | |
| sophisticated but keep all our rules in one place. Add rules for most fields. | |||
| 2010-01-16 | PHPdoc. | Bharat Mediratta | |
| 2010-01-16 | Don't forget to save when we make insignificant chagnes only. | Bharat Mediratta | |
| 2010-01-16 | Make movie creation use model based validation. Move movie related | Bharat Mediratta | |
| logic from movie::create() into Item_Model | |||
| 2010-01-16 | Check for illegal extensions in valid_name() | Bharat Mediratta | |
| Fix a bug where we were not calling valid_data_file correctly. | |||
