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
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
Tim Almdal
e56473c5d7
Checkpoint the organize flex source. Not production ready, but worth checkpointing.
2010-03-30 08:08:30 -07:00
Tim Almdal
7c84ee1b33
Organize now has the add album functionality.
2010-03-30 07:55:56 -07:00
Tim Almdal
91f27bf32f
add a controller method to return the translated labels for the add album dialog.
2010-03-30 06:33:42 -07:00
Tim Almdal
f5490ddcb0
Merge branch 'master' into talmdal_dev
2010-03-29 09:03:53 -07:00
Bharat Mediratta
ea43c5f06f
Merge branch 'master' of github.com:gallery/gallery3
2010-03-28 21:04:44 -07:00
Tim Almdal
0c1595d7e8
Clean up the organize_dialog file of some cruft and add the organize.swf file to the organize module.
2010-03-27 15:55:42 -07:00
Tim Almdal
67a8ef4277
Convert the old organize to the new flex based organize
2010-03-27 11:16:41 -07:00
Tim Almdal
7b35091b47
If the access token is not set, then look in the post data.
2010-03-21 20:45:22 -07:00
Tim Almdal
846a835e13
Merge branch 'master' into talmdal_dev
2010-03-17 14:25:20 -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
99c1c2a6b1
Changes to the example client to test updating the members of an album.
2010-03-13 23:12:40 -08:00
Tim Almdal
48b8b4f689
Merge branch 'master' into talmdal_dev
2010-03-13 23:11:53 -08:00
Tim Almdal
13f5d3aa33
Whitespace correction
2010-03-13 23:11:33 -08:00
Tim Almdal
5467e21e8b
Changes to support updating the child elements within an album. In this change the urls of the children are sent up asan array of post fields children[0].... children[n]. If an existing child is not included it is deleted. Including a url to an child in another album will move the child. Changing the order of the children will respect the order of the children, if the sort column is 'weight'
2010-03-13 08:39:06 -08:00
Bharat Mediratta
9314533048
Update tests to reflect the fact that you have to be logged in to do anything.
2010-03-13 08:39:05 -08:00
Bharat Mediratta
c69f5f4906
Guests don't get access to the REST API.
2010-03-13 08:39:05 -08:00
Florent Paterno
08f11ce90e
Fix bug #1015 : repeated ids are prohibited
2010-03-13 08:39:04 -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
Tim Almdal
1c022a5c84
Merge branch 'master' into talmdal_dev
2010-03-05 06:54:12 -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
Tim Almdal
fd82bcfc0a
Merge branch 'master' into talmdal_dev
2010-03-03 08:47:54 -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
Tim Almdal
d1b8589ea4
Merge branch 'master' into talmdal_dev
2010-03-02 07:10:22 -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
Tim Almdal
e3e72ca4da
Merge branch 'master' into talmdal_dev
2010-02-28 15:38:39 -08: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