summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
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-09Fix for ticket #133: If $max_pages is zero don't try to redirect toTim Almdal
max_page, just return an empty feed.
2009-03-09Don't show the description field if there's no descriptionBharat Mediratta
2009-03-09Fix the progress param to be an actual boolean to resolve a JS error.Bharat Mediratta
2009-03-09Get rid of Task_Definition types: they're not necessary. ThisBharat Mediratta
incidentally fixes the the problem that admin/maintenance tasks have been broken.
2009-03-08Log the user in as admin after running the web installer, and giveBharat Mediratta
them a nice "Welcome to Gallery 3" dialog. The text in there needs a little work but it's a start. In the process, re-build the install.sql using the scaffolding code.
2009-03-05Avoid using default task types. Require task::get_definitions() toBharat Mediratta
specify a single type and ask for it appropriately in admin_maintenance. Specify a type for every existing task.
2009-03-05Fix some table namesBharat Mediratta
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
2009-03-04Redefine the batch API to be very very simple. You callBharat Mediratta
batch::start() before starting a series of events, and batch::stop() when you're done. In batch mode, the notification module will store up pending notifications. When the batch job is complete, it'll send a single digested email to each user for all of her notifications. Updated the scaffold and local_import to use this. Haven't modified SimpleUploader yet.
2009-03-04A variety of cleanups:Bharat Mediratta
* Allow for the "movie" type in all of our text * Try to follow the pattern of mainly only passing ORM objects to the view and let it generate its own text (this becomes even more important when 3rd parties want to customize notification messages) * Rename _send_message to be _notify_subscribers to be more acccurate and have it explicitly take a subject in the API * Use Item_Model::url() in the views instead of hand crafting URLs * Reformat HTML in views * Use $comment->author_xxx() functions instead of replicating that code * Fix several places where we were encoding data by doing ucfirst($item->type) with conditionals where we form the text properly. We should *never* be showing data types to the end user! This is not localizable! Note that this probably breaks the existing batch processing code. I am going to redo that in a subsequent pass.
2009-03-04Simplify logic a bit and tweak the visible text.Bharat Mediratta
2009-03-04Indentation and whitespace tweaks.Bharat Mediratta
2009-03-04Fix indentation.Bharat Mediratta
2009-03-04remove unnecessary render()Bharat Mediratta
2009-03-04Move <label> outside of <?= ?> blockBharat Mediratta
2009-03-04Send 1 items added notification per batch of itemsTim Almdal
2009-03-04Forgot to remove a debugging statementTim Almdal
2009-03-04Use Directory IteratorTim Almdal
2009-03-03* Validate that the source path is authorized.Tim Almdal
* Add site warning message if local_import is installed an there is no authorized directories
2009-03-03Remove csrf verification from autocomplete handlerTim Almdal
2009-03-03Only show local_import head stuff (css and js) when the local_importTim Almdal
admin page is shown
2009-03-03Inline the admin view creation that was in helpers/local_import.phpTim Almdal
and remove it. Cleanup unused variables. Rename the method remove() to remove_path()
2009-03-03Improve the comment about why we skip the first path.Tim Almdal
Change to use access::required
2009-03-03Fix indentation, remove unnnecessary csrf check.Bharat Mediratta
2009-03-03Undo r20234Tim Almdal
2009-03-03Removed the === false and === true checksTim Almdal
2009-03-03Refactored the batch Api: 1) created a small batch helper class:Tim Almdal
Starting a batch call batch::operation(name, item). In the case of adding photos name = add and item is the parent of the new items. When the operation is finished the batch::end_operation(name) is called. operation and end_operation events are called. Handlers (i.e. item_created) can call batch::in_progress(name) to determine if a batch is being processed.
2009-03-03Fix issue identified by security review... some table names where notTim Almdal
being translated.
2009-03-01Simplify the batch api by having the core event handlers forTim Almdal
start_batch and end_batch add and remove the batch id from the session. Modules wishing to do batch processing, just need to fire the start_batch and end_batch events. Other modules that need to be aware of batches (i.e. notifications) just check the session for "batch_id".
2009-02-28The scaffolding, simple_uploader and local_import now call two newTim Almdal
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-28Change the pattern to identify tables that need prefix substitution toTim Almdal
mirror the drupal pattern of using braces {}.
2009-02-28Correct a type and missed a table nameTim Almdal
2009-02-27This implement table prefix for the watermark notification modules (Ticket #68)Tim Almdal
2009-02-27This implements table prefix for all the queries in core, user, exif,Tim Almdal
tag, search, comment and notification modules (Ticket #68) (missed this one)
2009-02-27This implements table prefix for all the queries in core, user, exif,Tim Almdal
tag, search, comment and notification modules (Ticket #68)