Commit Graph
5668 Commits
Author SHA1 Message Date
Chad Kieffer 62cd05fb16 Apply button bg image to Superfish menu items. 2008-12-29 06:12:00 +00:00
Bharat Mediratta 8fe1990c99 Don't set the document type to JSON when uploading photos. 2008-12-29 04:20:25 +00:00
Bharat Mediratta 22a7983bbd Re-add $theme->messages(), which got accidentally removed. 2008-12-29 04:12:21 +00:00
Bharat Mediratta e6da2234e7 Relax the rules a bit 2008-12-29 03:51:53 +00:00
Bharat Mediratta 3cfc9afde4 Remove references to permanent_key 2008-12-29 03:50:48 +00:00
Bharat Mediratta b46bfdd492 Separate permanent messages out of the message helper and put them
into site_status.  Show site status in the header in the admin theme.
2008-12-29 00:35:31 +00:00
Bharat Mediratta ed8689f768 Expand on the maintenance code to make it more robust and give the
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-28 23:48:15 +00:00
Felix Rabinovich 1d76689e4b Add title back to non-DHTML form to maintain consistency 2008-12-28 22:49:58 +00:00
Bharat Mediratta 1161cefada Javascript wrapper to ping tasks 2008-12-28 10:14:12 +00:00
Bharat Mediratta 74d4e7d505 First round of a task framework. Tasks are job definitions stored in
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!
2008-12-28 10:12:41 +00:00
Chad Kieffer aff2af5e1f Tighten up album grid display. Vertically align thumbnail/metadata in gItem container. Brought back borders. Use a neutral bg color for albums. Link item titles, not just thumbnails. 2008-12-28 07:33:09 +00:00
Chad Kieffer dc62e4167e Rename pagination icons to follow convention. 2008-12-27 17:16:21 +00:00
Chad Kieffer ef27cd4c33 Icon refinement 2008-12-27 17:01:42 +00:00
Bharat Mediratta 9904c0e5ff Ignore resizes for albums when calculating the dirty count 2008-12-27 03:37:09 +00:00
Bharat Mediratta f808dd9d01 Add clear_permanent() 2008-12-27 03:35:57 +00:00
Felix Rabinovich a26127ae9c Added title to user/group administration dialogs 2008-12-26 20:34:56 +00:00
Felix Rabinovich 6b1fa62173 Added content type to JSON output functions 2008-12-26 20:08:15 +00:00
Bharat Mediratta 7fdde469d3 Move Watermarks under Content in the Site Admin menu. 2008-12-26 18:59:41 +00:00
Felix Rabinovich 6dcc3e5c25 User/Group administration cleanup 2008-12-26 06:14:24 +00:00
Chad Kieffer 4dda9c5a6e Comment and indent cleanup. Forgot to delete an image in a previous commit. 2008-12-26 06:09:43 +00:00
Felix Rabinovich 2917af5c0d Separate GET and POST in Group Administration 2008-12-26 05:45:09 +00:00
Bharat Mediratta ecf7d46a67 Add the graphics rules for both thumbs and resizes (instead of just thumbs). 2008-12-26 05:44:02 +00:00
Bharat Mediratta dee20ed6a2 Added the concept of "permanent" messages that we show to admins. Use
this to show a "your thumbs/resizes are out of date" message whenever
we change the graphics rules.  Tweak watermark module to add graphics
rules whenever we make a change, which triggers the graphics module to
add the permanent message.
2008-12-26 05:43:06 +00:00
Felix Rabinovich 0bef37eb0b To reset a form use resetForm 2008-12-26 05:36:08 +00:00
Felix Rabinovich 72c3a417ca Separate GET and POST in User Administration 2008-12-26 05:26:22 +00:00
Chad Kieffer 2d40715f44 The close icon's a background sprite, should be prefixed with bg- not ico-. 2008-12-26 05:15:57 +00:00
Bharat Mediratta 0630dc9a8e Fix get_add_form() to use self::positions() so that we get the right key/value pairs. 2008-12-26 05:14:00 +00:00
Bharat Mediratta b5e1aa6a60 Login is 'info' not 'success' 2008-12-26 05:11:42 +00:00
Bharat Mediratta e31ca19a06 Added graphics::mark_all_dirty(). The watermark code now marks images
as dirty if the admin changes the watermark at all.
2008-12-26 04:52:18 +00:00
Bharat Mediratta 11d4c2d126 Fix a bug I introduced when I switched from module id to module name; now deleting cleans up vars and graphics rules 2008-12-26 04:49:28 +00:00
Bharat Mediratta df3f0c3382 Add missing '=' causing <img> height not to get set. 2008-12-26 04:35:44 +00:00
Felix Rabinovich c154f9f20a Group Administration 2008-12-26 04:35:27 +00:00
Bharat Mediratta 837a5430b8 More watermark changes:
Change admin/watermarks/upload -> admin/watermarks/add for consistency.

Internationalize position text, store it as text in the database,
display it to the admin.

Make i18n strings consistent to reduce l10n load.
2008-12-26 04:34:20 +00:00
Chad Kieffer b20b56d762 Major image cleanup, removed unsued images. Combined separate background and icon state images into sprites. Fix dialog artifact in Chrome. 2008-12-26 04:27:39 +00:00
Bharat Mediratta 2011ee13ef Remove an HTTP redirect that was breaking the Ajax interface. 2008-12-26 04:02:55 +00:00
Bharat Mediratta 6b45be9632 Fix a typo. 2008-12-26 03:56:12 +00:00
Felix Rabinovich 314d55d858 User Administration. Add users. Take 3 2008-12-26 03:47:04 +00:00
Felix Rabinovich 9a71309844 User Administration. Delete users. Take 3 2008-12-26 03:22:52 +00:00
Bharat Mediratta 0fc14c1bfc Simplify the watermark module. We can now upload, edit and delete one
watermark.  The UI is rough and we don't yet apply the watermark to
images.. that's next.
2008-12-26 01:32:12 +00:00
Bharat Mediratta eb35afc987 Add module::clear_var() 2008-12-26 01:29:33 +00:00
Felix Rabinovich 7f95c80e88 User Administration. Edit users. Take 3 2008-12-26 00:58:15 +00:00
Bharat Mediratta 2c91a7e9ce Rework log and message helpers to be parallel, but separate.
1) they now have their own matching severity constants
2) they both have convenience functions success(), info(), warning() and error()
3) they both have severity_class()
2008-12-25 23:43:44 +00:00
Chad Kieffer 847d42682d Switch gFailure back to gError. Makes more sense semantically. 2008-12-25 23:31:41 +00:00
Chad Kieffer caaa521927 Update message CSS: gFailure, gInfo, gSuccess, gWarning. Removed gHelp, it's not a message type. 2008-12-25 23:22:38 +00:00
Bharat Mediratta 94e3ae2e0f Add edit/delete links (they're just stubs now, but they open a dialog).
Add active/position to Watermark_Model
2008-12-25 22:31:20 +00:00
Bharat Mediratta 3d42234d57 Clone dialog support over from themes/default (for now) 2008-12-25 22:29:26 +00:00
Bharat Mediratta b6f44334d9 Make sure admin method exist before we call them, else we'll just recurse into Admin_Controller::__call() again 2008-12-25 22:29:05 +00:00
Bharat Mediratta 75b9a7872c Remove extra uniquifying text that Forge adds to uploaded files. 2008-12-25 21:54:09 +00:00
Bharat Mediratta 71d0373838 Return the form on success so that we clear out any prior error forms 2008-12-25 21:41:18 +00:00
Bharat Mediratta 324b612003 Oops, and also re-ajaxify the form if we replace it. 2008-12-25 21:40:05 +00:00