summaryrefslogtreecommitdiff
path: root/modules/server_add
AgeCommit message (Collapse)Author
2009-05-31Run all variables that come from user-entered data through p::clean()Bharat Mediratta
2009-05-26Restructure the module lifecycle.Bharat Mediratta
Install: <module>_installer::install() is called, any necessary tables are created. Activate: <module>_installer::activate() is called. Module controllers are routable, helpers are accessible, etc. The module is in use. Deactivate: <module>_installer::deactivate() is called. Module code is not accessible or routable. Module is *not* in use, but its tables are still around. Uninstall: <module>_installer::uninstall() is called. Module is completely removed from the database. Admin > Modules will install and activate modules, but will only deactivate (will NOT uninstall modules).
2009-05-21Change $view->action to a absolute url.Bharat Mediratta
2009-05-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2009-05-13Create a new "add" permission and require it at the controller levelBharat Mediratta
when adding photos/movies/albums
2009-05-09Remove quotes and correct typoTim Almdal
2009-05-09Fix for ticket #217Tim Almdal
2009-05-02Change comment style for brevity.Bharat Mediratta
2009-05-02Whitespace cleanup.Bharat Mediratta
2009-04-231) Change the processing so the server_add start task can return done = 1Tim Almdal
if there are no eligible files selected 2) Change the javascript to handle this condition and show a pop up
2009-04-09Don't try to import the staging directory as an albumTim Almdal
2009-04-09Provide a translation of the titleon the fatal error dialog pop-upTim Almdal
2009-04-09Create a pause method on the server_add controller and get rid of theTim Almdal
optional parameter/
2009-04-09Fix server add to correctly ignore a authorized path if there are noTim Almdal
files to be uploaded from it.
2009-04-08Fixes issues with Server Add:Tim Almdal
1) Fixes Ticket #208 2) Fixes Ticket #190 3) Fixes an unticketed issue where two items could collide when creating the thumbnail and/or resize. For example, loading a.flv and a.jpg would have generated the same thumbnail image. This change adds a random value to the name to avoid conflicts. 4) Added item::__set() to clear the relative path if the name changes
2009-04-06Fix for ticket #207, which should then generate a whole bunch ofTim Almdal
errors that are described in ticket #208.
2009-04-03Fix for ticket #200. When an error occurs the current uri is noTim Almdal
longer admin/server_add but admin/server_add/add_path and the equality check fails.
2009-03-27Put csrf token into Admin_View and Theme_View by default, then use itBharat Mediratta
directly wherever possible instead of access::csrf_token().
2009-03-25Fix for ticket #184. Sort the output children as DirectoryIteratorTim Almdal
does not provide a sort order. Separate the directory and files, sort them individually and then merge them together so directories are at the top of the list
2009-03-24Fix the problem I created by trying to run the task again after it was ↵Tim Almdal
completed.
2009-03-24Add a pause button to the server add dialog and if it is clicked thenTim Almdal
the upload is paused. If the dialog is closed and the task is not complete then a warning message is displayed on the album.
2009-03-17Switch from using SimpleUploader to using swfUpload as our flash basedBharat Mediratta
uploader. This is modeled on http://codex.gallery2.org/Gallery3:Upload_UX but is not yet complete. Notes: * Changed #gProgressBar to .gProgressBar to support multiple progress bars on the same page * Added a bunch of CSS to the "needs a home" section in themes/default/css/screen.css
2009-03-16Get rid of $hidden; it was never definedBharat Mediratta
2009-03-16clean up style attrBharat Mediratta
2009-03-16Remove unnecessary slash from url::site() arg.Bharat Mediratta
2009-03-11Refine the task api but removing the optional parameters on theTim Almdal
task::create method call
2009-03-10Refactor the server add module to make use of the task api (TicketTim Almdal
#125). Haven't quite figured out what to do with the errors in the context. Maybe they should show on the mainenance screen?
2009-03-10access::allow/deny/reset functions will now throw an exception if youBharat Mediratta
don't pass in a Group_Model as the argument. This prevents us from setting permissions on the wrong group by accidentally passing in a User_Model.
2009-03-09Fix for ticket #135Tim Almdal
2009-03-05Don't clean out the authorized_paths var at install time, so that ↵Bharat Mediratta
uninstall/reinstall doesn't mean starting over
2009-03-05Remove stray reference to server_add_dir_list.html.phpBharat Mediratta
2009-03-05Cleanups.Bharat Mediratta
- Show the "Server Add needs configuration" message whenever there are no paths. - Un-ajaxify the admin code to remove complexity and allow us to update the status message as appropriate. - Rename server_add_admin.html.php to admin_server_add.html.php for consistency. - Fix up form to properly display error messages - Get rid of server_add_dir_list.html.php now that we're non-ajaxified. - Change delete <span> to an <a> for non-ajax world.
2009-03-05Minor cleanups.Bharat Mediratta
2009-03-05Change how the urls are built in the java scriptTim Almdal
2009-03-05Clean up no authorized directoriesmessageTim Almdal
2009-03-05Correct typoTim Almdal
2009-03-04Remove addition options to the autocomplete call. No point in sendingTim Almdal
csrf if we are not verifying it. Remove the must match flag so non-existent paths don't cause the input box to empty
2009-03-04Last of changes required from Bharat's 2nd review passTim Almdal
2009-03-04Continuation of the rename of jquery.autocomplete.pack.jsTim Almdal
2009-03-04move server_add styles into the theme screen.css filesTim Almdal
2009-03-04Move the autocomplete js and css files to libTim Almdal
2009-03-04Changed $uid to $tree_id, so not to confuse anyone between and acroynmTim Almdal
for unique identifier as opposed to user id. :-)
2009-03-04Rename local_import module to server_addTim Almdal