Commit Graph

8 Commits

Author SHA1 Message Date
Tim Almdal
08c47f28f2 Inline the admin view creation that was in helpers/local_import.php
and remove it.  Cleanup unused variables. Rename the method remove()
to remove_path()
2009-03-03 22:19:46 +00:00
Tim Almdal
bed1bb48f3 The scaffolding, simple_uploader and local_import now call two new
events: start_add_batch and end_add_batch.  The parameter is a batch
id which is generated on the first add request.  The protocol is call
the add_photo as many times as required and then call finish when
done.
Also renamed the add method in local_import to add_photo so it is
consistent with simple_uploader
2009-02-28 20:12:54 +00:00
Tim Almdal
f6169047b1 Fix up add from server:
1) Upload requests are serialized so we don't over load the server or get
race conditions occurring.  
2) new albums are created based on the file structure of the
authorized path that is the source directory.
2009-02-26 16:27:23 +00:00
Tim Almdal
5b35490be1 Major change to local import, in that checking the high level
directory will process all the files underneath w/o having to expand
the tree first.
2009-02-24 16:47:45 +00:00
Tim Almdal
855eadb92f Standardize the html id of the progress bar to gProgressBar 2009-02-21 16:54:23 +00:00
Tim Almdal
c2fa42cf6c Implementation of local import module. Still need work on better
status messages.
2009-02-21 02:28:19 +00:00
Tim Almdal
b202816324 Remove the attempt at a local import module 2008-12-12 01:46:43 +00:00
Tim Almdal
e1f2a5d4e6 1) Begins the creation of the local import module by adding the administation component to the scaffolding Actions tab. The importing functionality will follow shortly.
2) Defines a routining pattern for module administration controllers.  URI's of the form admin/module/method/parameters gets remapped into module_admin/method/parameters. This will result in the lookup of the the controller Module_Admin_Controller
2008-12-11 17:20:55 +00:00