summaryrefslogtreecommitdiff
path: root/core/controllers/admin_maintenance.php
AgeCommit message (Collapse)Author
2009-01-16Rename Task to Task_Definition to avoid confusion with Task_Model.Bharat Mediratta
Order the finished tasks by update time in the task list.
2009-01-16Rename Change xxx_task::available() to xxx_task::available_tasks()Bharat Mediratta
Fix a bug in admin_maintenance.html.php where we were only showing the first task
2009-01-16Break task definitions out into the <module>_task helper and create aBharat Mediratta
Task library class as a data structure to hold task definitions.
2009-01-15Changing t() placeholder syntax from {{replace_me}} to %replace_me.Andy Staudacher
2009-01-15Simplifying the way t() is called. Refactoring localization function ↵Andy Staudacher
t($message, $options=array()) into 2 separate functions: - the new t($message, $options=array()) is for simple strings, optionally with placeholder interpolation. - t2($singular, $plural, $count, $options=array()) is for plurals.
2009-01-08i18n refactoring: Rename all _() (reserved by gettext) calls to t().Andy Staudacher
- And refactor printf to our string interpolation / pluralization syntax - Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
2008-12-29Return the task on success so that our UI can show it at 100%Bharat Mediratta
2008-12-28Expand on the maintenance code to make it more robust and give theBharat Mediratta
admin more control. You can now track running tasks, resume stalled tasks, cancel running tasks, and remove finished tasks. Added graphics::compose() as a placeholder for future watermark operations. Added CSRF protection to maintenance urls.
2008-12-28First round of a task framework. Tasks are job definitions stored inBharat Mediratta
the database. They're started with admin/maintenance/start/[task_name] which sends down some JS/HTML which regularly pings the task at admin/maintenance/start/[task_id] until its done. The UI is still very rough. It works, though!