Commit Graph
5668 Commits
Author SHA1 Message Date
Bharat Mediratta 8bcc3de28d Listen for comment creation, and run it through Akismet. Make the
akismet stats page take up as much room as possible.
2009-01-07 08:20:22 +00:00
Bharat Mediratta 17c8e14753 Properly check comment permissions. Don't show comments that aren't
published.  Fix _form_add to take an item id.  Oh and email address is
no longer required.
2009-01-07 08:18:15 +00:00
Bharat Mediratta 9460e08da8 Create a new "fragment" page type to use when we're not sending back a fully themed page. 2009-01-07 07:42:38 +00:00
Bharat Mediratta ba052c0cc9 Extract the Akismet driver from the Spam_Filter module into a module
in its own right.  Clean up the tests, streamline the code and improve
the admin interaction.  Add a working stats page.
2009-01-07 07:36:48 +00:00
Bharat Mediratta f8f471c59b Turn statistics into a menu 2009-01-07 06:25:54 +00:00
Chad Kieffer 6f6d63e87e Default theme album thumbnail 2009-01-07 04:34:25 +00:00
Bharat Mediratta 8eb25fbb47 Rebuild 2 images at a time. 2009-01-07 00:57:08 +00:00
Tim Almdal af3882cd34 Forgot to add the unit tests, which probably don't work anymore with some of the latest
changes.
2009-01-06 23:42:20 +00:00
Tim Almdal 8e16931afd The Akismet driver. This will now verify the api key and attempt to check the comment
as spam.  For some reason, it is always returning all comments as spam.
2009-01-06 23:40:17 +00:00
Tim Almdal 4645c459e1 Add a catch around the call to the spam filter and if the spam filter check fails set the comment
state to unpublished.
2009-01-06 14:36:20 +00:00
Bharat Mediratta cb3109784e Wrap permissions in a <fieldset> so that we get a label for the dialog 2009-01-06 10:10:54 +00:00
Bharat Mediratta 4ee24a6645 Put up an error if you rename a user to an already existing name. 2009-01-06 10:05:08 +00:00
Bharat Mediratta b21215d2e6 use "position: fixed" to keep the dialog centered in the viewport. 2009-01-06 09:38:40 +00:00
Bharat Mediratta 393273eaef Add graphics::Can() to let us determine whether the active toolkit
supports a given function.  Right now it's hardcoded to support what
we know about GD.
2009-01-06 09:30:32 +00:00
Bharat Mediratta fa1ccbd86d Fix up all the various little forms to have submit buttons, fieldset legends, etc etc. 2009-01-06 09:22:29 +00:00
Bharat Mediratta db4164520a Add pause and done buttons to the progressbar 2009-01-06 08:59:09 +00:00
Bharat Mediratta 3b9e15a613 Don't include jQuery. This means that the form won't work by itself, but we can live with that for now since it's always in a dialog. Including it here breaks our dialog for some reason 2009-01-06 08:46:07 +00:00
Bharat Mediratta fd3db57778 Add a submit button to the login form 2009-01-06 08:34:07 +00:00
Bharat Mediratta a63502b3c6 Refactor the way that dialogs work:
1) Get rid of the resizing behavior; create the dialog in the right
   place and then show it.

2) Grab the fieldset legend and put it into the title of the dialog,
   so that we don't have to use title="" params in anchors.

3) Stop using fixed buttons and let the form define its own buttons.

4) Stop suppressing all form buttons.
2009-01-06 08:33:39 +00:00
Bharat Mediratta 532996d62f Merge in Forge from upstream r169 which converts Forge::submit() into
an actual <input type="submit"> instead of a <button>.
2009-01-06 08:27:44 +00:00
Bharat Mediratta 712a97addd Don't make the overlay opaque when we're doing a dialog-based edit. 2009-01-06 04:32:15 +00:00
Bharat Mediratta 2b92fef5ab Fix bad redirects; we only have feeds for albums not photos 2009-01-06 04:08:44 +00:00
Bharat Mediratta c41194a6e7 add fileSize attribute to thumbnail/resize/full images 2009-01-06 04:03:15 +00:00
Bharat Mediratta 5dbb8a4874 Wrap content in htmlspecialchars so that we don't break the RSS feed 2009-01-06 03:40:15 +00:00
Chad Kieffer 1564d302e5 The directory that wouldn't die. Die lightbox, die. 2009-01-06 03:03:57 +00:00
Bharat Mediratta 294db39c96 Tabs -> spaces 2009-01-06 00:12:54 +00:00
Bharat Mediratta 06b4145b76 Quick edit dialogs should stay on the same page and trigger a reload. 2009-01-05 08:20:07 +00:00
Bharat Mediratta 2dc436beea Add silk edit image 2009-01-05 08:09:25 +00:00
Bharat Mediratta 7482b6683e Add "quick edit" which lets you edit a photo's details from the albums
page.
2009-01-05 08:05:50 +00:00
Bharat Mediratta 0b473327c5 Oops: TEST_MODE is now always defined, so we were taking a performance hit by skipping the cache. Fixed 2009-01-05 04:39:10 +00:00
Bharat Mediratta 3381f1d01a Put up an error if you try to reuse an existing tag name 2009-01-04 22:58:18 +00:00
Bharat Mediratta 99804a34b2 Rename:
gQuickEdit to gQuick
   quick_edit -> quick
2009-01-04 19:54:38 +00:00
Bharat Mediratta 63302ad49c Fix message line so that uploads work 2009-01-04 19:46:37 +00:00
Chad Kieffer 89f895c708 Attempting to delete lightbox. Didn't mean to check this in. 2009-01-04 19:01:17 +00:00
Chad Kieffer fe16cd65ee Wrap div with another div instead of a paragraph 2009-01-04 18:37:13 +00:00
Bharat Mediratta 7017e95c99 Allow passing a query string as an argument to Item_Model::url() 2009-01-04 09:28:57 +00:00
Chad Kieffer 83ae71e3cb Linked up a photo's return to parent album view. 2009-01-04 09:16:16 +00:00
Bharat Mediratta 1eeb6efd72 Move slideshow link from sidebar_top() into the photo and album menus. 2009-01-04 09:01:39 +00:00
Bharat Mediratta 24917d337c Guard against missing apache_get_version() 2009-01-04 08:55:00 +00:00
Chad Kieffer 16ef5a8c28 Remove border attribute from table. 2009-01-04 08:49:58 +00:00
Bharat Mediratta 6bff8959cf Reattach event listeners to open modal dialogs. 2009-01-04 08:47:08 +00:00
Bharat Mediratta 92ceef27da Allow renaming of tags using a modal dialog. Put up a confirmation
dialog for deleting tags.  Remove the 4 character restriction on tags
(it was getting ignored by the add form anyway since it was mistakenly
referred to as tag_name there).
2009-01-04 08:44:06 +00:00
Bharat Mediratta 625d078557 Extend Theme_View to look in modules for photo and album menus. Move
"view comments" link to the comment menu helper.
2009-01-04 07:40:37 +00:00
Chad Kieffer 9ff452d82a Fixed closing h1 tag. 2009-01-04 03:59:30 +00:00
Chad Kieffer f7f2fa10cd Started to wire up album and photo view menus. Need photo's parent album link added. Also need add the slideshow link to the menu. 2009-01-04 03:43:12 +00:00
Bharat Mediratta 2c27469412 Simple admin tags interface. 2009-01-04 01:55:59 +00:00
Bharat Mediratta 08c9745086 Make sure that create/update/delete fail without CSRF. 2009-01-04 01:55:07 +00:00
Bharat Mediratta 64384a21c2 Update preambles. 2009-01-04 01:47:41 +00:00
Bharat Mediratta 7e7093d0be Rename views to be consistent with our admin view naming scheme. 2009-01-04 01:41:10 +00:00
Bharat Mediratta 9f70af787f Fix preamble 2009-01-04 01:35:35 +00:00