Bharat Mediratta
47e0eaa98e
Update the example for grabbing a random photo to tag ?random=true to the URL
...
instead of using set() since that now only applies to entity changes.
2010-06-02 22:14:13 -07:00
Bharat Mediratta
bd28e04f84
Updated for REST changes which allow PUT and POST requests to
...
modify members, not just entity.
- Example code updated to demonstrate how to reorder
- Added Gallery3::set_members()
- Fixed a weird array_diff problem -- not sure how this was working before
- JSON encode any complex values in our post data
2010-04-04 11:58:05 -07:00
Bharat Mediratta
f5d2c065dc
Specify a proper sample image and include it in the example so that
...
the example actually works.
2010-03-30 20:14:22 -07:00
Bharat Mediratta
ac28b85c5f
Merge branch 'master' of github.com:gallery/gallery3-contrib
2010-03-03 10:16:22 -08:00
Bharat Mediratta
5f65d082f9
Update the copyright to 2010.
2010-03-03 10:16:08 -08:00
Tim Almdal
8680715874
Gallery3::factory should be defined as static.
2010-02-10 17:54:56 -08:00
Bharat Mediratta
7806db1929
Fix the example $SITE_URL
2010-01-30 20:39:11 -08:00
Bharat Mediratta
eae41b182d
Updated to reflect the fact that "resource" is now "entity" in responses.
2010-01-27 21:46:00 -08:00
Bharat Mediratta
6a3851bae2
Refactored the API to deal with relationships and data in general more
...
cleanly. Unfortunately it makes resource data access a lot more
unwieldy so I don't think we're done yet.
2010-01-26 00:15:35 -08:00
Bharat Mediratta
5731b93845
Track what data is changed and only send that on post/put requests.
2010-01-19 01:46:07 -08:00
Bharat Mediratta
052f0537ba
Use a proper extension for the name of the photo (found by model based validation -- woot!)
2010-01-17 17:37:33 -08:00
Bharat Mediratta
1e820aad7c
Add a constructor to create an empty $data.
...
Make connect static.
2010-01-17 17:37:19 -08:00
Bharat Mediratta
5de5b1687f
Whitespace.
2010-01-17 17:22:47 -08:00
Bharat Mediratta
88e1fbf28e
Pick a random photo.
2010-01-08 15:30:54 -08:00
Bharat Mediratta
300a07b4ab
print -> alert()
...
Test that passing params to get() works.
2010-01-08 11:16:25 -08:00
Bharat Mediratta
7ba6ba821a
Allow get() calls to take a "name" parameter to search the collection.
2010-01-08 11:16:04 -08:00
Bharat Mediratta
cbcbe30dba
Add more tag support.
2010-01-05 13:42:45 -08:00
Bharat Mediratta
82fed14c3c
Add support for getting and removing members from a collection.
2010-01-05 13:42:30 -08:00
Bharat Mediratta
96f9aa482d
Gallery3::create_xxx() methods are now just create(). We don't
...
differentiate between types of resources at this level, it's not
necessary.
Add example code for dealing with tags.
2010-01-04 21:49:40 -08:00
Bharat Mediratta
2f60a0ef11
First shot at a tight and intuitive client library for Gallery 3.
2010-01-03 17:03:33 -08:00