Commit Graph

1123 Commits

Author SHA1 Message Date
Bharat Mediratta
2f9eae867c Let admins override the theme with a query param 2009-01-11 00:19:00 +00:00
Bharat Mediratta
120ad3a2cd Pull the dialog title from the first <h1> we find, fall back to the first <fieldset> <legend> 2009-01-11 00:18:29 +00:00
Chad Kieffer
66d5db01d5 Replace default theme screenshot with the admin theme. 2009-01-10 23:18:32 +00:00
Chad Kieffer
aed5a4c788 2009-01-10 22:39:24 +00:00
Felix Rabinovich
5ee03eb9c8 Save individual theme values 2009-01-10 22:36:06 +00:00
Felix Rabinovich
705c55fb79 Submit theme values 2009-01-10 22:04:49 +00:00
Tim Almdal
144f8c342b Change the format of the internal error messages and pretty print the installation parameters 2009-01-10 22:00:14 +00:00
Chad Kieffer
15c25d85ec Switch the pager to use themeroller's icon sprites. I applied jquery ui css classes to newly added span classes in the pager templates directly, will likely move these out and apply through ui.init.js later. 2009-01-10 21:50:35 +00:00
Tim Almdal
4c330e5a99 Continuing baby steps to a batch installer. At this point you can run the installer and it will parse the command line arguments.
currently the following arguments are accepted -h(database host) -u(database user) -p(database password) -d(database name) -t(table prefex) or -f(a response file).

The order of processing, defaults are set. if the response file is provided, the contained values are merged and finally any command line parameters are merged.
2009-01-10 20:47:38 +00:00
Chad Kieffer
e45bbf57e8 Deleted icons used before jquery ui 1.6rc4 update. Renamed breadcrumb seperator to just seperator. 2009-01-10 19:45:39 +00:00
Felix Rabinovich
72e9d20f3c Display theme details 2009-01-10 19:41:43 +00:00
Chad Kieffer
e82afcebfa Site message placement and style adjustments. 2009-01-10 19:33:01 +00:00
Bharat Mediratta
3385105842 Markup cleanup. It's more semantic now, but it doesn't look quite as nice (yet). 2009-01-10 19:19:36 +00:00
Chad Kieffer
82848bd3a9 HTML format cleanup 2009-01-10 19:13:00 +00:00
Bharat Mediratta
a2dbbf32ab style cleanup. 2009-01-10 19:10:52 +00:00
Chad Kieffer
dd5c70fc39 Make the admin theme header fully visible at 1024px wide. Revert to larger Gallery logo. 2009-01-10 18:34:25 +00:00
Bharat Mediratta
44bfc1c6a4 Auto-delete 7-day old spam/deleted comments. 2009-01-10 11:25:33 +00:00
Bharat Mediratta
74766e5b82 Create a 'recently deleted' queue 2009-01-10 11:11:24 +00:00
Chad Kieffer
cc6d57e8c9 Removed jquery ui localization folder. Didn't mean to check it in 2009-01-10 08:15:55 +00:00
Felix Rabinovich
006f18dc7a Split themes into two tabs for regular and admin themes 2009-01-10 08:00:43 +00:00
Bharat Mediratta
9d584a528b Update the queue counts in the menu list whenever we
approve/unapprove/spam a comment.
2009-01-10 07:55:16 +00:00
Felix Rabinovich
03a5f08258 Updated jquery-ui to include tabs 2009-01-10 07:32:25 +00:00
Bharat Mediratta
ff5722bef0 Add missing semicolon 2009-01-10 07:24:04 +00:00
Chad Kieffer
7569b39802 Updated to jquery ui 1.6rc4. Lots of changes, improved widget theme css and icons. No need to fix position dialogs anymore. Included the following in the combined file + i18n files. Requires push back up to vendor branch.
UI Core
Effects Core
Draggable - Req'd by Sortable
Resizeable - Image/watermark/avatar scaling
Sortable - Rearrange
Dialog - All over :)
Datepicker - Edit albums/items
Progressbar
Highlight - Message display, comment addition
Transfer - Adding tags from available list to field


Not fully integrated into the default theme yet.
2009-01-10 06:25:44 +00:00
Bharat Mediratta
9b90b4b0cd Use the theme's avatar as the default if Gravatar doesn't have one. 2009-01-10 06:18:35 +00:00
Chad Kieffer
5690e58c45 Move site status message to the very top of the page, before the header. 2009-01-10 05:59:43 +00:00
Bharat Mediratta
a5c4e3d465 Integrate Gravatar. Boy, that was easy. 2009-01-10 05:56:11 +00:00
Bharat Mediratta
a7feeb576f Big set of changes to comments, with related changes to akismet and
user modules.

* Don't delete vars when we delete a module.  This makes
  reinstalling a module a lot easier.

* Add user::lookup() as the preferred way to load a user, so that
  other modules don't delve into the user module (that'd be a
  problem when we swap out user modules)

* Notify site admins if Akismet is not fully configured

* Bundle all server variables into the comment so that if/when we
  re-check the comment, we are not using the server info from the
  site admin's request.

* Update Akismet to grab request context data from the comment

* Pre-seed comment fields if we have a logged in user.  Update
  comment::create() API to clarify it for this.

* Delete comment::update(), that's a controller function.

* Add url to User_Model

* Add author_name() author_email() and author_url() to
  Comment_Model.  It'll return the appropriate values depending
  on whether the comment was left by a logged in user or a guest.

* Use resetForm() instead of clearForm() when we reload the
  comment form after ajax submit, this way we preserve the
  pre-seeded values.

* In the user profile page, ignore blank passwords.
2009-01-10 00:34:23 +00:00
Felix Rabinovich
48e73e9081 Theme Administration cleanup initialization 2009-01-09 23:54:40 +00:00
Felix Rabinovich
b647aa0f74 Theme Administration v. 2. Doesn't distinguish between regular and admin themes yet 2009-01-09 23:31:46 +00:00
Tim Almdal
1e14594d68 Un hook the installer from load_modules, so testers can get to the scaffolding to install 2009-01-09 19:09:13 +00:00
Tim Almdal
bdd3cadf68 Forgot to delete a working copy 2009-01-09 18:35:04 +00:00
Tim Almdal
22ee012720 Stage 1 of the installer. basically check that we can start as far as Kohana correctly 2009-01-09 18:33:48 +00:00
Chad Kieffer
b5fbee54a0 Reverted back to previous jquery-ui.js (1.6rc2). 1.6rc4 is screwing up placement of dialogs, among other things. 2009-01-09 08:14:48 +00:00
Chad Kieffer
3c31549011 Added gCommentsAdminMenu to clearfix. 2009-01-09 08:08:22 +00:00
Chad Kieffer
f97d7da720 Reformated comment admin table layout. Added bulk action checkboxes and menu, reply link, and edit link, all of which need to be wired up. 2009-01-09 07:33:22 +00:00
Bharat Mediratta
a0f3c09a07 Eliminate unused avatar code (for now) 2009-01-09 04:43:34 +00:00
Andy Staudacher
be478eb0c2 HTML fixes 2009-01-09 01:01:39 +00:00
Andy Staudacher
a631fe29f3 i18n refactoring: Rename all _() (reserved by gettext) calls to t().
- 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.
2009-01-08 17:13:06 +00:00
Andy Staudacher
fd081159f1 Windows fixes: Use mkdir($path, 0777, true) instead of the unportable system("mkdir -p $path") 2009-01-08 06:57:04 +00:00
Andy Staudacher
2917740ba6 First step of i18n refactoring:
- Using DB table translations_incomings as translations storage (file cache to be added)
- Removed overly complex i18n code which will be unnecessary with the future compiled cache files
- Added t() as a translation function (global refactoring from _() to t() to follow)
2009-01-08 06:52:18 +00:00
Bharat Mediratta
e9d61d5f9d "delete" is a reserved word in Chrome, apparently. 2009-01-08 03:05:53 +00:00
Bharat Mediratta
8f9738e6d3 Don't toggle akismet::test_mode if akismet isn't installed. 2009-01-08 02:58:03 +00:00
Bharat Mediratta
bc36ba609d Add akismet::$test_mode, initialize it to TEST_MODE and don't contact
akismet if it's on.  Force it on in the scaffolding so that we don't
try to run all comments we add from there through Akismet.
2009-01-08 02:56:49 +00:00
Bharat Mediratta
8bf388a6f6 Incremental improvement in comment moderation:
1) Akismet now detects when we change a comment's published state and submits
   info back to akismet.com as appropriate

2) We now show 4 different queues (all / approved / unapproved / spam) and let you
   move messages between the queues

3) We track and display "spam caught" stats.

4) You can delete comments entirely.
2009-01-08 02:50:23 +00:00
Bharat Mediratta
3d4cf6f27e Added avatar.jpg and pager.html.php (used in comments module) 2009-01-08 02:46:42 +00:00
Bharat Mediratta
58c8b3b031 module::event now takes an unlimited number of args
added module::incr_var() ftw.
2009-01-08 02:46:09 +00:00
Bharat Mediratta
8620c3fa01 Update event calls to take the orig and new models so that event listeners can do comparisons 2009-01-08 02:39:21 +00:00
Chad Kieffer
7bd5105f33 Updated todos 2009-01-08 01:09:18 +00:00
Bharat Mediratta
10ff87621b The SpamFilter module is superceded by the Akismet module. 2009-01-07 19:51:53 +00:00