Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-03-04 | Redefine the batch API to be very very simple. You call | Bharat 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-04 | A 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-04 | Simplify logic a bit and tweak the visible text. | Bharat Mediratta | |
2009-03-04 | Indentation and whitespace tweaks. | Bharat Mediratta | |
2009-03-04 | Fix indentation. | Bharat Mediratta | |
2009-03-04 | remove unnecessary render() | Bharat Mediratta | |
2009-03-04 | Move <label> outside of <?= ?> block | Bharat Mediratta | |
2009-03-04 | Send 1 items added notification per batch of items | Tim Almdal | |
2009-03-04 | Forgot to remove a debugging statement | Tim Almdal | |
2009-03-04 | Use Directory Iterator | Tim 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-03 | Remove csrf verification from autocomplete handler | Tim Almdal | |
2009-03-03 | Only show local_import head stuff (css and js) when the local_import | Tim Almdal | |
admin page is shown | |||
2009-03-03 | Inline the admin view creation that was in helpers/local_import.php | Tim Almdal | |
and remove it. Cleanup unused variables. Rename the method remove() to remove_path() | |||
2009-03-03 | Improve the comment about why we skip the first path. | Tim Almdal | |
Change to use access::required | |||
2009-03-03 | Fix indentation, remove unnnecessary csrf check. | Bharat Mediratta | |
2009-03-03 | Undo r20234 | Tim Almdal | |
2009-03-03 | Removed the === false and === true checks | Tim Almdal | |
2009-03-03 | Refactored 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-03 | Fix issue identified by security review... some table names where not | Tim Almdal | |
being translated. | |||
2009-03-01 | Simplify the batch api by having the core event handlers for | Tim 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-28 | The scaffolding, simple_uploader and local_import now call two new | Tim 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-28 | Change the pattern to identify tables that need prefix substitution to | Tim Almdal | |
mirror the drupal pattern of using braces {}. | |||
2009-02-28 | Correct a type and missed a table name | Tim Almdal | |
2009-02-27 | This implement table prefix for the watermark notification modules (Ticket #68) | Tim Almdal | |
2009-02-27 | This 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-27 | This implements table prefix for all the queries in core, user, exif, | Tim Almdal | |
tag, search, comment and notification modules (Ticket #68) | |||
2009-02-27 | 1) Change the image block so it has the correct url in the anchor tag. | Tim Almdal | |
2) Change the wrapping class to gImageBlock instead of gImage so the quick kinks aren't enabled | |||
2009-02-27 | Remove unneeded code. | Bharat Mediratta | |
2009-02-27 | Optimize the code by ditching the count query; we don't need it. | Bharat Mediratta | |
2009-02-27 | Remove commented code | Tim Almdal | |
Correct unbalanced brackets | |||
2009-02-27 | Continue the journey of replacing raw sql with ORM or Database method | Tim Almdal | |
calls (Ticket #68) | |||
2009-02-27 | Continue the journey of replacing raw sql with ORM or Database method | Tim Almdal | |
calls (Ticket #68) | |||
2009-02-26 | Update to image_block based on bharat's feedback | Tim Almdal | |
1) move the rand_key column into core 2) don't do a max rand, just try to a get a random number less than the current random number if that doesn't successd look the other way | |||
2009-02-26 | Replace ORM->select(count(*)) with a call to Database::count_records | Tim Almdal | |
2009-02-26 | Delete unused code | Tim Almdal | |
2009-02-26 | Implement fix for ticket #103. If there is no exif data, don't | Tim Almdal | |
display the "Show more Information Button". | |||
2009-02-26 | Fix up add from server: | Tim Almdal | |
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 | Remove debugging statement | Tim Almdal | |
2009-02-26 | Implement a random image block for the side bar. Ticket #13 | Tim Almdal | |
2009-02-26 | Move tag CSS into admin theme's screen.css | Bharat Mediratta | |
Use JS to add titles to avoid repeating the same text 10s of times. | |||
2009-02-26 | Add slightly more visual feedback when you're hovering over a | Bharat Mediratta | |
draggable user. Also, drag the icon and name not just the icon. | |||
2009-02-26 | Minor code simplification. | Bharat Mediratta | |
2009-02-26 | "Import" -> "Add" so that the menu option fits on one line. | Bharat Mediratta | |
2009-02-25 | Add closing ) | Tim Almdal | |
2009-02-25 | Add support MP4 movies also. Flowplayer supports them and can stream | Bharat Mediratta | |
them using the h264streaming plugin. Everything else is a fairly minor change. | |||
2009-02-24 | Added a block to the siebar that lists the available feeds | Tim Almdal | |
2009-02-24 | Major change to local import, in that checking the high level | Tim Almdal | |
directory will process all the files underneath w/o having to expand the tree first. | |||
2009-02-24 | File structure style fixes | Andy Staudacher | |
2009-02-24 | Fix bootstrap / installation issue for unit test framework: | Andy Staudacher | |
Install user module before installing other modules. E.g. local_import's installation routine depends on the user module to be installed. |