Commit Graph
5668 Commits
Author SHA1 Message Date
Tim Almdal 3438bf7b3d The adminstration portion of the recaptcha module. I haven't figured out how to integrate it with the other module forms. 2009-01-23 17:05:20 +00:00
Bharat Mediratta f75a803cd6 Simplify this code. We know what the fields are, pull them by name so that we're clear about what actions we're taking. Return the form itself on validation failure, coupled with de-ajaxifying the form makes it render properly as an error when you enter bogus data. 2009-01-23 08:33:22 +00:00
Bharat Mediratta 0a025c984d Minor tweaks 2009-01-23 08:32:00 +00:00
Bharat Mediratta 4cd73a81ed Don't ajaxify the theme details form; it should just be a regular form. 2009-01-23 08:31:24 +00:00
Bharat Mediratta 94e356fc31 Take advantage of the new support for parentheses added in r19879 and
fix a bug in viewable() that was AND'ing all view permissions together
(which meant that you had to have *all* permissions to view an item,
instead of just one).

Also, add a "max" param to the thumb_tag() so that we can specify a
max dimension for the thumbnail.  This will be used in the upcoming
"move item" feature.
2009-01-23 08:11:33 +00:00
Bharat Mediratta cd6629ad23 Add support for parenthetical grouping to Database queries. Turns out
that this is something they kind of want for Kohana :-)

Upstream ticket for this change: http://dev.kohanaphp.com/ticket/1070
2009-01-23 08:07:37 +00:00
Chad Kieffer 6941af664f Ajaxified user edit forms. They're populated, but don't submit yet. 2009-01-23 06:19:19 +00:00
Chad Kieffer 19811aec53 Minor formatting cleanup, removed unecessary line. 2009-01-23 01:19:46 +00:00
Bharat Mediratta c33ac93b2b Require mysqli_set_charset to use the mysqli extension 2009-01-22 19:51:52 +00:00
Bharat Mediratta ebfc7d4f47 Don't allow the installer to run if PHP < 5.2.3 2009-01-22 19:49:30 +00:00
Jakob Hilden 1cc5d36657 toggling of user edit panel works now.
added groups to the admin_user view, so you will eventually be able to edit users, groups and memberships on one admin page.
2009-01-22 08:37:58 +00:00
Chad Kieffer ddb995eaf6 Added new UI element, gPanel, which is a similar mechanism to gDialog. Panels are hidden inline elements that can be revealed within list items, tables cells, etc. Still need to add the toggle off and ajaxify content. 2009-01-22 06:35:55 +00:00
Chad Kieffer c4313b718b CSS updates for form validation messages and icons. Don't show error, info, warning icons next to form fields, just messages. 2009-01-22 05:05:20 +00:00
Felix Rabinovich 37340bd7f6 Theme details. Save values 2 2009-01-22 02:59:19 +00:00
Felix Rabinovich cd86c4ee77 Theme details. Save values 2009-01-22 02:25:10 +00:00
Felix Rabinovich 90666f7e04 Theme details. Initial release 2009-01-22 01:52:41 +00:00
Bharat Mediratta 7a1b986b5b Require 5.2.3 2009-01-21 21:37:57 +00:00
Bharat Mediratta e58a9c509b Update Kohana to r3918 2009-01-21 21:27:09 +00:00
Bharat Mediratta a0456a9a47 Fix bug in add_to_group / remove_from_group where we were looking up users using Group_Model. 2009-01-21 08:14:18 +00:00
Jakob Hilden 6d99c29172 totally incomplete version of user admin UI. 2009-01-20 22:16:25 +00:00
Bharat Mediratta f2cfd9798e Use xxx_test as the default database name. This means that we no
longer have to manually tweak database.php, yay!
2009-01-20 09:40:14 +00:00
Bharat Mediratta 37f9845c43 Revert r19765 -- the installer works fine with it the way it is. 2009-01-20 09:10:49 +00:00
Bharat Mediratta 0536debdf1 Fix indentation. 2009-01-20 08:59:08 +00:00
Bharat Mediratta b9e8ce4190 Quick edit now lets you set the album cover. 2009-01-20 08:54:15 +00:00
Bharat Mediratta be1f9d6892 fix indentation 2009-01-20 08:25:21 +00:00
Bharat Mediratta 3ba056d714 Add a quick edit pane for albums, too. 2009-01-20 07:11:14 +00:00
Bharat Mediratta 8384cac5e3 Deal gracefully with bad mysql connection and database information. 2009-01-20 04:56:10 +00:00
Bharat Mediratta 0c6b36b086 Fix preambles, delete unused file 2009-01-20 04:41:53 +00:00
Bharat Mediratta 5e7717f778 Move install.html.php into views, too 2009-01-20 04:39:24 +00:00
Bharat Mediratta 66ee2f9618 Move pages -> views for consistency, which simplifies the life of the File_Structure_Test 2009-01-20 04:37:55 +00:00
Bharat Mediratta 401da12adb Undo r19818, an accidental submit 2009-01-20 01:30:46 +00:00
Bharat Mediratta aaac244124 Comment out the code that checks for form elements named "submit". It
appears not to work correctly and is getting in the way.  Commenting
it out here means that it'll get overwitten on the next update of this
library (but that's ok).
2009-01-20 01:29:33 +00:00
Bharat Mediratta a299f418e1 Make VARPATH accessible to all. 2009-01-20 01:15:20 +00:00
Bharat Mediratta e6530e9ea6 Update README with new install instructions 2009-01-20 01:03:22 +00:00
Bharat Mediratta 681197a265 Web based installer. It's still got some rough edges, but you can now
do a complete CLI or web based install.
2009-01-20 00:54:02 +00:00
Bharat Mediratta d51955c8ef Pull the environment check out into a separate web page to simplify
the CLI installer.  Put a link to it in the footer of every web
install page.  Don't allow users to run it if Gallery 3 is already
installed.
2009-01-19 20:20:10 +00:00
Bharat Mediratta f5997a02e0 Incremental additions to the web installer. This is getting messy,
going to pause here and do some refactoring.
2009-01-19 19:05:22 +00:00
Bharat Mediratta bb73a2d896 Replace mysql_create_db with a mysql_query() call as recommended by the PHP manual. 2009-01-19 18:16:25 +00:00
Bharat Mediratta ebd811415a Stub of the web based installer. 2009-01-19 09:19:07 +00:00
Bharat Mediratta 31d6f18d56 implement already_installed() 2009-01-19 08:59:50 +00:00
Bharat Mediratta 7b4502ac6b setup_varpath() -> setup_var() 2009-01-19 08:51:26 +00:00
Bharat Mediratta 7f9a76b4b2 Only run the installer from the CLI for now 2009-01-19 08:18:12 +00:00
Bharat Mediratta ff19e4cfe8 Remove the prefix arg, we don't support it yet. 2009-01-19 07:48:48 +00:00
Bharat Mediratta 7c6ceae4b5 mysql_create_db() might not exist 2009-01-19 07:33:40 +00:00
Bharat Mediratta fc8cf562f5 Fix up various little things to get File_Structure_Test to pass. 2009-01-19 07:26:25 +00:00
Bharat Mediratta 5e94456ce9 Make get_add_block_form() static. 2009-01-19 06:12:49 +00:00
Bharat Mediratta 0448a5b32c Flush the access_intent cache after ALTER TABLE queries, fixes a
problem where the install.sql had the wrong view permissions.
2009-01-19 06:02:53 +00:00
Bharat Mediratta d97308ffe7 Put the <a> element inside the internationalized text. 2009-01-19 05:24:47 +00:00
Bharat Mediratta 0f8685fc9f Use mysqli_init() instead of mysqli() as our detector. 2009-01-19 05:21:37 +00:00
Bharat Mediratta 2126ac7002 Remove -m flag. 2009-01-19 05:18:43 +00:00