Bharat Mediratta
9a1995a879
Merge branch 'master' of github.com:gallery/gallery3
2010-05-14 16:20:20 -07:00
Bharat Mediratta
ad0e7254eb
Require a well-formed email address for all comments.
2010-05-14 16:19:53 -07:00
Chad Kieffer
163dd0eb93
Merge branch 'master' of github.com:gallery/gallery3
2010-05-14 17:16:22 -06:00
ckieffer
d98b85f7d3
Drop context_menu for wind's photo/resize view. Move photo edit options to the site_menu.
2010-05-14 17:14:34 -06:00
Tim Almdal
28aee01130
Merge branch 'master' into talmdal_dev
2010-05-14 06:32:26 -07:00
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
Tim Almdal
3fe10b15cf
Allow the use of the type query parameter to filter the results of a rest/gallery/items?urls=... request. This allows the client to pass the entire list of member urls and have the rest server filter the results based on the specified types.
2010-05-10 06:31:38 -07:00
Tim Almdal
e9c8a8ae53
Remove the item id from the rest/gallery/items url as that was inconsistent. Add the query parameter ancestors_for=<url> to provide a restful way to retrieve the ancestors of an item.
2010-05-09 20:41:37 -07:00
Tim Almdal
32fa15ca3a
Add dependency checking to insure the administrator is notified if the rest module is deactivated
2010-05-09 20:39:31 -07:00
Tim Almdal
357d20a680
Merge branch 'master' into talmdal_dev
2010-05-08 21:09:15 -07:00
ckieffer
44753c5249
Deleted extra CSS class assignment for context_menu delete option.
2010-05-08 15:05:56 -06:00
ckieffer
fcc446bf00
Move print with digibug to the site menu.
2010-05-08 13:54:27 -06: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
Tim Almdal
14683ec0e8
Correct typo: change relationship to relationships
2010-04-21 15:32:49 -07:00
Tim Almdal
0565d9f0f9
Merge branch 'master' into talmdal_dev
2010-04-21 06:48:08 -07: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
027312596c
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.
2010-04-16 15:28:35 -07:00
Tim Almdal
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
Tim Almdal
009b47262b
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-15 06:18:47 -07:00
Tim Almdal
c58b2aaf88
Merge branch 'master' into talmdal_dev
2010-04-15 05:22:30 -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
9bb4c954bb
Merge bharat_dev rest implementation
2010-04-07 08:07:41 -07:00
Tim Almdal
6652b69193
Merge branch 'master' into bharat_dev
2010-04-07 07:29:46 -07:00
Tim Almdal
50b0b73345
Merge branch 'master' into talmdal_dev
2010-04-06 06:08:17 -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
Tim Almdal
0dfc62051e
Update the flex organize to use access_key instead of access_token
2010-03-31 07:14:48 -07:00
Tim Almdal
f2ed1eeab2
Merge branch 'master' into talmdal_dev
...
Conflicts:
modules/rest/controllers/rest.php
2010-03-31 07:14:06 -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