Commit Graph
592 Commits
Author SHA1 Message Date
Bharat Mediratta 70b9608275 Fix up the colors and background images for rows in gAdminMaintenance. 2009-01-11 22:56:52 +00:00
Bharat Mediratta b98f498ed6 Change admin/graphics to avoid using radio buttons. Instead, when you
hover over a toolkit it changes color and your cursor becomes a
pointer.  Clicking changes the toolkit.
2009-01-11 22:14:44 +00:00
Bharat Mediratta 46b976819d Deleted unused MY_Form_Radio 2009-01-11 21:36:24 +00:00
Bharat Mediratta 713ef05b0f Site menu restructure:
* Add 'Scaffold' link to make it more obvious what's going on there
* 'Home' link now goes to albums/1
* 'Admin' is now pushed to the far right.
2009-01-11 21:35:17 +00:00
Bharat Mediratta d387b31d18 Merge the site admin menu in under the regular Admin menu. 2009-01-11 18:58:00 +00:00
Andy Staudacher 6510fae661 Remove path normalization, the current normalization code didn't go far enough anyway. 2009-01-11 05:28:48 +00:00
Andy Staudacher 5e0d0f546a MySQL strict fix for Item_Model test. Set all fields that have no default value. 2009-01-11 05:19:09 +00:00
Andy Staudacher 4757126acc Fix ORM MPTT tests for MySQL strict mode (can't omit Iten type in inserts, it doesn't have a default value). 2009-01-11 05:09:06 +00:00
Andy Staudacher 9406e80c90 Fix Access_Helper tests for MySQL strict mode (can't omit Iten type in inserts, it doesn't have a default value). 2009-01-11 03:28:57 +00:00
Bharat Mediratta 01666c5579 Fix all file structure issues (tabs, bad preambles, etc).
Note: installer/install.php is now on the "direct access" list.
2009-01-11 02:27:00 +00:00
Bharat Mediratta afb90768b4 Remove stray blank line, convert single to double quotes. 2009-01-11 02:06:36 +00:00
Bharat Mediratta 6c2aef1b4a Fix windows-style line endings. 2009-01-11 02:03:42 +00:00
Bharat Mediratta 7f52500cf9 Allow .txt.php views 2009-01-11 02:02:43 +00:00
Bharat Mediratta 4312563e8b Reset module_names / modules early in load_modules() so that unit test framework can dump the loaded modules after switching databases even if the modules table doesn't exist yet 2009-01-11 01:57:41 +00:00
Bharat Mediratta 0033887ba8 Rework the way we do theme selection. Show the currently active theme
and then thumbnails for all the other available themes.  If you select
one of the other available themes, it gives you a preview pane where
you can look at either the main page or the site admin page with the
new theme, then choose to activate it if you like it.
2009-01-11 00:24:39 +00:00
Bharat Mediratta 2f9eae867c Let admins override the theme with a query param 2009-01-11 00:19:00 +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
Felix Rabinovich 72e9d20f3c Display theme details 2009-01-10 19:41:43 +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
Bharat Mediratta a2dbbf32ab style cleanup. 2009-01-10 19:10:52 +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 9b90b4b0cd Use the theme's avatar as the default if Gravatar doesn't have one. 2009-01-10 06:18:35 +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 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
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 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 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 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
Bharat Mediratta 97bf6761b2 Properly implement 'root' as a legal factory type 2009-01-07 09:07:45 +00:00
Bharat Mediratta dedda72297 Add 'root' as a legal factory type 2009-01-07 09:05:30 +00:00
Bharat Mediratta f8f471c59b Turn statistics into a menu 2009-01-07 06:25:54 +00:00
Bharat Mediratta 8eb25fbb47 Rebuild 2 images at a time. 2009-01-07 00:57:08 +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 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 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 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 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 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