Commit Graph
3137 Commits
Author SHA1 Message Date
Tim Almdal e4d9ea3394 Merge branch 'master' of git@github.com:gallery/gallery3
Conflicts:
	modules/gallery/views/in_place_edit.html.php
2010-01-29 11:39:22 -08:00
Tim Almdal 1bc0d05760 Replace <?= form::close() ?> with </form>. Also add a call to access::csrf_form_field in the form template. Fixes ticket #996. 2010-01-29 11:36:35 -08:00
Bharat Mediratta 660130cf1a Work around a weirdness where empty() doesn't work on input values. 2010-01-29 11:23:28 -08:00
Bharat Mediratta 3f5ad7d77a Clean up form validation code. 2010-01-29 11:20:35 -08:00
Bharat Mediratta c214dfd094 Clean up form validation code. 2010-01-29 10:54:59 -08:00
Bharat Mediratta 0d73738099 Stop using obsolete form::close()
Update the way we include the hidden CSRF field for InPlaceEdit.
2010-01-29 10:13:10 -08:00
Bharat Mediratta 743fbe7696 Add page_type to the rotate and delete context menu items so that the
quick menu knows where to send you after the action is done.
2010-01-28 23:22:38 -08:00
Bharat Mediratta aacafaaf35 Add @todo. 2010-01-28 23:17:32 -08:00
Bharat Mediratta 9908f37eef Use identity::set_active_user() instead of auth::login() when we
change providers otherwise the user_installer code is going to be
calling auth::login() which causes all kinds of unexpected weirdness,
like it triggers the handler in gallery_event which detects graphics
toolkits, and that's only supposed to run on the first admin login.
2010-01-28 21:33:41 -08:00
Bharat Mediratta 70b235e13d In auth::login() make the user active before trying to save it, else
the validation code fails because it expects there to be an active
user.
2010-01-28 21:33:01 -08:00
Bharat Mediratta 3584856afc Use auth::login() when we initially log in the admin user. 2010-01-28 21:32:50 -08:00
Bharat Mediratta f0ae2c8165 Localize edit form error messages. 2010-01-28 20:55:38 -08:00
Bharat Mediratta 3ed81869cb Cast the SafeString $task->status to (string) so that it doesn't come
down to the JS as an object.
2010-01-28 20:44:10 -08:00
Bharat Mediratta e7cfbfe376 Merge branch 'master' of git@github.com:gallery/gallery3 2010-01-28 20:39:01 -08:00
Bharat Mediratta 56d04b1ed8 cast $task->done to bool so that it doesn't show up as "0" to the JS,
which will interpret that as a true value, when it's not.
2010-01-28 20:38:48 -08:00
Andy Staudacher 5c527513c6 Fix language preference block / language cookie reading.
The preference block must have been broken by a jquery update, and the cookie reading by a Kohana update.
2010-01-28 19:46:53 -08:00
Tim Almdal b8fb891828 Make the return button work in chrome, FF, IE, safari and opera. 2010-01-28 11:46:28 -08:00
Tim Almdal 1d4ed5a32c Merge branch 'master' of git@github.com:gallery/gallery3 2010-01-28 09:55:47 -08:00
Tim Almdal 11fbcfeb25 Found another broken link for what should have been the user profile 2010-01-28 09:55:41 -08:00
Bharat Mediratta df3db40ab7 Reviewed DIRTY_ATTR 2010-01-28 09:43:10 -08:00
Bharat Mediratta fcc72bbbd0 Rename $class to $css_class for clarity. 2010-01-28 09:41:18 -08:00
Bharat Mediratta 86721d3884 Reviewed all DIRTY_JS entries 2010-01-28 09:40:04 -08:00
Bharat Mediratta c011b0e1f6 Secure the t("Completed") call. 2010-01-28 09:37:33 -08:00
Bharat Mediratta 44b372077c Secure the t("Continue") strings in javascript. 2010-01-28 09:35:38 -08:00
Tim Almdal c51fe96820 Make the varible for the profile name more descriptive and clean the label 2010-01-28 09:27:27 -08:00
Tim Almdal 75aec29350 Update the xss golden file for user profile changes. 2010-01-28 08:42:14 -08:00
Tim Almdal f943a2deef Don't show a link to the user profile for the guest user 2010-01-28 08:14:33 -08:00
Tim Almdal cedbc82dcc Do all the html::clean|purify calls in the views and not the controller. Also clean the subject line and email message body of the contact user email. 2010-01-28 07:44:58 -08:00
Bharat Mediratta bbe70119ef Localize validation messages. 2010-01-27 23:05:57 -08:00
Bharat Mediratta 31e4c21719 Localize error messages. 2010-01-27 23:03:47 -08:00
Bharat Mediratta 0e5b5e2559 Fix capitalization of "internet address". 2010-01-27 23:00:49 -08:00
Bharat Mediratta e5b25983a6 Localize all error messages. 2010-01-27 23:00:29 -08:00
Bharat Mediratta a2fc1d3422 Localize error messages for the built-in rules. 2010-01-27 22:55:54 -08:00
Bharat Mediratta acbb5aac05 Remove unnecessary rules() in the form. 2010-01-27 22:41:09 -08:00
Bharat Mediratta 4b32a71afc Convert back to using ORM::factory(..., $id) instead of calling where(). 2010-01-27 22:34:11 -08:00
Bharat Mediratta cfbbf9ef60 Convert __toString() to use (string) cast instead. 2010-01-27 21:58:06 -08:00
Bharat Mediratta 212633d05a Prevent accidentally deleting the root album. 2010-01-27 21:52:18 -08:00
Bharat Mediratta ec0f89f10a Change "resource" to "entity" in REST responses. They're all
resources, but we differentiate resources as collections and entities.
2010-01-27 21:40:48 -08:00
Bharat Mediratta 4ca91bf618 Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
Conflicts:
	modules/gallery/tests/Access_Helper_Test.php
2010-01-27 19:20:38 -08:00
Bharat Mediratta f906210147 Verified and updated 2010-01-27 09:55:49 -08:00
Bharat Mediratta 7667864d61 Minor test-only fixes. 2010-01-27 09:55:00 -08:00
Bharat Mediratta 63db756441 Switch to using test helper. Also, reload the album before running
access::deny since the mptt pointers will have changed.
2010-01-27 01:49:37 -08:00
Tim Almdal df5da84ebb Merge branch 'master' of git@github.com:gallery/gallery3 2010-01-26 19:59:51 -08:00
Tim Almdal 0de067312e Add a routing that allow add and edit form requests to be routed the same way as non admin forms. i.e. a uri of /form/add/admin/<controller>/parms gets routed as admin/<controller/form_add/<parms> 2010-01-26 19:59:44 -08:00
Bharat Mediratta c5cdd13b41 Added view_permissions_propagate_down_to_photos_test(). 2010-01-26 13:29:22 -08:00
Bharat Mediratta e0d31add9f Merge branch 'master' of git@github.com:gallery/gallery3 2010-01-26 13:26:26 -08:00
Bharat Mediratta e315ce348b Added view_permissions_propagate_down_to_photos_test(). 2010-01-26 13:26:03 -08:00
Tim Almdal accd00464e Add a maintenance task that will clear the expired files (older than 2 weeks) from var/logs and var/tmp. Fixes ticket #982 2010-01-26 07:03:14 -08:00
Bharat Mediratta f268128043 Add support for adding tags in the item_tags and tag_items
relationship collections.
2010-01-26 00:24:10 -08:00
Bharat Mediratta 5c68519d92 Specialize the album cover id check to allow the root album to have no
album cover.
2010-01-26 00:23:45 -08:00