summaryrefslogtreecommitdiff
path: root/modules/organize/controllers
AgeCommit message (Collapse)Author
2009-06-03Sanitize all data we return via json_encode() to guard against XSS andBharat Mediratta
other data leaks.
2009-06-01Security pass over all controller code. Mostly adding CSRF checkingBharat Mediratta
and verifying user permissions, but there are several above-the-bar changes: 1) Server add is now only available to admins. This is a hard requirement because we have to limit server access (eg: server_add::children) to a user subset and the current permission model doesn't include that. Easiest fix is to restrict to admins. Got rid of the server_add permission. 2) We now know check permissions at every level, which means in controllers AND in helpers. This "belt and suspenders" approach will give us defense in depth in case we overlook it in one area. 3) We now do CSRF checking in every controller method that changes the code, in addition to the Forge auto-check. Again, defense in depth and it makes scanning the code for security much simpler. 4) Moved Simple_Uploader_Controller::convert_filename_to_title to item:convert_filename_to_title 5) Fixed a bug in sending notification emails. 6) Fixed the Organize code to verify that you only have access to your own tasks. In general, added permission checks to organize which had pretty much no validation code. I did my best to verify every feature that I touched.
2009-05-27Update all references to the core application to now point to theBharat Mediratta
gallery module. This type of mass update is prone to some small bugs.
2009-05-26Since organize is now in the preview stage and will probably beTim Almdal
rewritten by beta2, pull all of its "tenticles" back into itself and out of core or tags module.
2009-05-18This takes us the next step closer to providing bulk edit. We stillTim Almdal
can't edit, but we are getting closer :-). This change sets up a framework for modules to contribute edit panels to the organize drawer. Currently implemented General (albums and photos), Sort Order (albums only) and Manage Tags
2009-05-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2009-05-02Remove angled ends of edit drawer handle.Chad Kieffer
2009-05-01Set organize messages to use existing gMessage, added album cover message.Chad Kieffer
2009-04-29Change album cover functionality addedTim Almdal
2009-04-29The delete button now deletes the selected itemsTim Almdal
2009-04-281) Refactor the ajax calls so that the code is reused across multiplTim Almdal
request types. 2) Enable/Disable the drawer handle buttons depending on the number of items selcted 3) Image rotation works.
2009-04-27Another iteration of the organize module:Tim Almdal
Rearrange the layout as per discussion with thumb, start the drawer functionality. Still to do... 1) Add the processing behind the buttons on the drawer handle 2) Enable the drawer buttons when something is selected 3) Create a copy of the thumbs for the drawer 4) Add the bulk editting functionality to the drawer
2009-04-231) Move the progress bar to a dialogTim Almdal
2) Provide status and error messages back to the user
2009-04-23Implement a cancel button so that if an organize task is paused, itTim Almdal
can be cancelled.
2009-04-22Dragging from the thumbgrid to an album in the tree now works.Tim Almdal
Refactored the javascript to minimize duplication.
2009-04-211) Disable drag when the rearrange task is runningTim Almdal
2) Add the album name to the task name
2009-04-21Added progress bar and pause and continue functionality to rearrangeTim Almdal
2009-04-201) Add rearrange processing as a taskTim Almdal
2) Improved drop location determination 3) Add a revert if dropped on an invalid target 4) Add a popup dialog to display ajax errors Still to do progress bar, pause/continue and status messages
2009-04-19- Improve the movement of the placeholderTim Almdal
- Make sure the thumbgrid will utoscroll when dragging - And an ordinal attribute to the thumbnail when generated, based on the current sort order of the album.
2009-04-17Change how mutiple requests for micro thumbnails is handler.Tim Almdal
handle the edge cases where the draggable is dropped on the micro thumbnail panel
2009-04-17Fix typo that was causing an errorTim Almdal
2009-04-05Get the preamble right so the unit test passesTim Almdal
2009-04-03First iteration of the organize functionality (orginally called bulkTim Almdal
edit). There is limited functionality in no edits work. This is primary a chance for the team to review the ui. It is in a separate module to isolate the changes. Eventually, it will be moved back into core.