Bharat Mediratta
9affa8ebbd
Pick a new album cover when the photo that's the current cover is
...
deleted. Fixes ticket #1083 .
2010-05-10 22:11:59 -07:00
Andy Staudacher
d849b6be3f
Oops, somehow the update to flowplayer 3.1.5 was missing a few files. Here they are...
2010-04-30 16:25:16 -07:00
ckieffer
f1076590f1
Add page_title to admin views. Closes #1038 .
2010-04-30 00:08:37 -06:00
ckieffer
e30849d310
Applied capitalization rules to title, changed from Tag admin to Manage tags
2010-04-29 23:59:20 -06:00
ckieffer
35839c85f2
Applied capitalization rules to title.
2010-04-29 23:20:49 -06:00
Bharat Mediratta
4068e80f06
Update test to reflect slug change in 78db1bb339
2010-04-22 22:24:44 -07:00
Chad Kieffer
67ced571c7
HTML validation and accessibility fix, add id attr to add tag input.
2010-04-21 22:48:33 -06:00
Chad Kieffer
39818dd29f
Comment updates. Add empty <li> to empty <ul> for HTML validation, fixes #1066 . Minor CSS/JS fixes. Add scrollTo effect when clicking on 'Add a Comment'.
2010-04-21 22:36:52 -06:00
Bharat Mediratta
2257776f9b
Don't show the member element for non-collection elements in the response. Having a members sidebar element indicates to the rest clients that this is a resource collection.
...
Conflicts:
modules/gallery/helpers/items_rest.php
2010-04-17 15:36:46 -07:00
Bharat Mediratta
af71df3d0f
Update tests to reflect recent changes to the REST API.
2010-04-17 15:35:09 -07:00
Bharat Mediratta
10f849cd0a
Merge branch 'master' into bharat_dev
2010-04-17 12:33:18 -07:00
Bharat Mediratta
6d81feacae
Change the key for invalid passwords from "invalid" to
...
"invalid_password" to remove ambiguity.
2010-04-17 12:28:46 -07:00
Bharat Mediratta
27b29afd7c
Add user::valid_username() as a validation helper.
2010-04-17 12:26:52 -07:00
Bharat Mediratta
b4d1a5686c
Merge branch 'master' into bharat_dev
2010-04-17 12:10:13 -07:00
Bharat Mediratta
ca45341361
Trigger the album_add_form_completed event after creating a new album.
2010-04-17 12:10:01 -07:00
Tim Almdal and Bharat Mediratta
a2e0472f83
Only return the members element to the rest client if the item is an album. This makes it consistent to the rest client that collections will have a members element.
2010-04-16 14:30:41 -07:00
Bharat Mediratta
c2615e87a7
Merge branch 'master' into bharat_dev
2010-04-16 14:19:21 -07:00
Bharat Mediratta
8d8aefc5b8
Add album_add_form event to album::get_add_form().
2010-04-10 20:58:05 -07:00
Bharat Mediratta
886337e1dd
Add error messages to theme::get_edit_form_admin()
2010-04-10 20:45:09 -07:00
Bharat Mediratta
c9edb943f9
Fix a bug introduced when we patched the "disallowed global data"
...
security check. Not sure why the patch worked for some and not for
others, but this should resolve it either way. Fixes ticket #1123 .
2010-04-10 17:01:48 -07:00
Tim Almdal
6652b69193
Merge branch 'master' into bharat_dev
2010-04-07 07:29:46 -07:00
Bharat Mediratta
2657d08586
Move the "Fix MPTT" task from the rescue module into the main Gallery
...
module.
2010-04-04 14:46:44 -07:00
Bharat Mediratta
c82d24d475
preg_quote() the pattern we use for directory globs to avoid letting
...
the filename be treated as a regexp. Fixes #1086 .
2010-04-04 14:28:09 -07:00
Bharat Mediratta
78db1bb339
Fix a bug where if the file name is composed of entirely illegal
...
characters, we'll get an empty slug. Partial fix for #1086 .
2010-04-04 14:27:39 -07:00
Bharat Mediratta
5679e30ef6
REST changes: Allow PUT and POST requests to modify members, not
...
just entity.
TESTS ARE NOT UPDATED YET.
- Fix item_rest::get() to maintain the proper sort order, which
requires duplicating some Item_Model code.
- Elide "weight" from the REST version of item
- Adjust the weight of members according to the order they're returned
from the client. You can't add or remove members here, you can only
reorder them.
- Changed the wire protocol to handle more complex values.
Now "entity" and "members" are JSON encoded. The Gallery3
helper does this correctly.
- Changed the wire protocol for tag_item -- now it stores the
tag and item urls in the entity, not as members. This is more
consistent.
- Added missing security for renaming and deleting tags.
- Got rid of vestigial tag_rest::post(). We add/remove tags
via the relationship.
2010-04-04 11:55:54 -07:00
Bharat Mediratta
4e450b5a96
Always return an array from item_ordered_members_rest::relationships()
2010-04-02 11:53:24 -07:00
Bharat Mediratta
93eab24c4a
Add a new resource for managing child item orders.
2010-04-01 21:00:13 -07:00
Bharat Mediratta
668c12da1c
Rest -> REST
2010-03-30 20:47:45 -07:00
Bharat Mediratta
ca977dce51
Rename "access_token" to "access_key" in the code for consistency.
2010-03-30 14:01:40 -07:00
Bharat Mediratta
59b6cd30e6
Rename "user_access_tokens" table to "user_access_keys" as step 1 of a
...
multi step process to refer to REST access keys as "access_key"
everywhere. Bump the rest module to version 2.
2010-03-30 13:53:14 -07:00
Bharat Mediratta
7f175ea87e
Move G2_Import_Exception into libraries because it's not a helper class.
2010-03-30 13:18:05 -07:00
Bharat Mediratta
d78ea4bc0a
Checkpoint
2010-03-30 13:18:03 -07:00
Bharat Mediratta
ea43c5f06f
Merge branch 'master' of github.com:gallery/gallery3
2010-03-28 21:04:44 -07:00
Chad Kieffer
0e9c626684
Add more padding to the top of the add-photos-canvas to avoid overlap with selected photos.
2010-03-16 23:10:15 -06:00
Tim Almdal
13f5d3aa33
Whitespace correction
2010-03-13 23:11:33 -08:00
Bharat Mediratta
be580c9554
Update tests to reflect the fact that you have to be logged in to do anything.
2010-03-05 21:42:39 -08:00
Bharat Mediratta
6429110cd0
Merge branch 'master' of git://github.com/fpaterno/gallery3
2010-03-05 21:25:22 -08:00
Bharat Mediratta
05d345e16d
Guests don't get access to the REST API.
2010-03-03 10:17:48 -08:00
Bharat Mediratta
c3c2b45280
Update the copyright to 2010. It's only 3 months into the year :-)
2010-03-03 10:15:34 -08:00
Andy Staudacher
109c390f25
Ignore fetchItemViewCount errors during import and default to 0. The error is still logged to the G3 syslog.
2010-03-02 13:53:09 -08:00
Florent Paterno
e4ed7e983d
Fix bug #1015 : repeated ids are prohibited
2010-03-01 17:23:56 +01:00
Chad Kieffer
aff40d2d78
Merge branch 'master' of github.com:gallery/gallery3
2010-02-28 22:10:30 -07:00
Chad Kieffer
dc00373404
Apply ui-helper-clearfix to the breadcrumb in the upload dialog to ensure it clears the upload canvas in webkit-based browsers.
2010-02-28 22:09:40 -07:00
Andy Staudacher
b0ef46b5fa
Merge commit 'upstream/master'
2010-02-28 19:31:55 -08:00
Andy Staudacher
1077477a90
G2 importer stability improvements:
...
- Log which validation rule was violated if there's an ORM validation error.
- Add more try / catch blocks to avoid abortion where possible.
2010-02-28 19:29:41 -08:00
Chad Kieffer
5f985b3e2a
Updates to upload CSS to make it themeable and RTL compatible. Use absolute positioning to handle upload button positioning. Remove color definitions to allow jQuery UI theme to set button colors. Consolidate upload dialog CSS to modules/css/gallery.css. Closes #885 .
2010-02-28 18:46:43 -07:00
Andy Staudacher
a19b97f8d6
First step towards fixing ticket #1038 : Allowing for custom page <title> in admin pages, just like in non-admin pages.
...
TODO: Set $view->page_title in the many admin controllers we have. I just set it for admin_maintenance.php to show how it's intended to be used. I copied the title from views/admin_maintenance.html.php to the controller.
2010-02-28 13:35:58 -08:00
Andy Staudacher
107909043a
Fix profiler display: It looks like it was broken by an API change in the latest kohana upgrade.
2010-02-28 13:09:57 -08:00
Andy Staudacher
70837b5212
Fix for ticket #1035 : Make .htaccess access rules work for the case when index.php isn't part of generated URLs.
2010-02-27 21:26:38 -08:00
Andy Staudacher
74113f869a
Fix for ticket #1037 : Only show language drop-down when there's actually a choice.
2010-02-27 20:21:22 -08:00