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
Tim Almdal
f97fe8d8c1
remove my test url from the config file
2010-01-02 16:30:08 -08:00
Tim Almdal
4032150e69
Change the add item processing to be consistent with the gallery3 server add.
2009-12-31 18:38:17 -08:00
Tim Almdal
9484bea83f
Forgot to commit the tag views.
2009-12-31 07:42:28 -08:00
Tim Almdal
972230ffde
Merge branch 'master' of git@github.com:gallery/gallery3-contrib into talmdal
2009-12-31 07:38:37 -08:00
rWatcher
231d9c95fc
Updated to support dynamic sidebar code.
2009-12-30 01:45:47 -05:00
rWatcher
2b12d9b3f5
Validate form before sending and add message header text.
2009-12-30 01:10:55 -05:00
Tim Almdal
260677cbaf
Clicking on a tag link now opens a tag album containing all the items with the clicked-on tag.
2009-12-29 13:40:33 -08:00
Tim Almdal
e0fb512c37
Display the top 15 tags on the side bar
2009-12-29 12:18:16 -08:00
Tim Almdal
cd931befd6
Merge branch 'master' of git@github.com:gallery/gallery3-contrib into talmdal
2009-12-29 08:03:32 -08:00
Tim Almdal
ba0794fe91
Allow the register link to be shown on the login page. Fixes ticket #952
2009-12-28 11:36:17 -08:00
Tim Almdal
ee7e1d0c1d
Correct missing function name
2009-12-27 09:53:26 -08:00
Tim Almdal
92d56d7037
Merge branch 'master' of git@github.com:gallery/gallery3-contrib into talmdal
2009-12-26 08:24:13 -08:00
Bharat Mediratta
500eb7c744
Define $url to avoid warnings.
2009-12-25 22:45:12 -08:00
Bharat Mediratta
90ef5daa49
Update some database calls.
2009-12-25 13:25:36 -08:00
Bharat Mediratta
fb36d5454c
Do enough CSS fixing to get the dialogs to work inline.
2009-12-24 18:05:14 -08:00
Bharat Mediratta
69baf26b05
Clean up formatting.
2009-12-24 18:03:03 -08:00
Bharat Mediratta
b9cebd25eb
Add validation for the default settings and api key. Set some
...
defaults there, too so that users don't have to know a lat/long to get
started. Use form validation. Bump the version to 2.
2009-12-24 12:53:35 -08:00
Bharat Mediratta
4c9bcf9ad3
Update for paginator changes.
2009-12-24 11:56:49 -08:00
Bharat Mediratta
2fdada73dc
Sentence case the titles.
2009-12-24 11:56:30 -08:00
Bharat Mediratta
c7ad42100b
Convert Kohana::show_404() to throw a Kohana_404_Exception()
2009-12-24 11:55:28 -08:00
Bharat Mediratta
ace00a891d
Updated for the new blocks API.
2009-12-24 11:51:21 -08:00
Bharat Mediratta
0cb6b9e58f
Clean up the code to work with K24 ORM changes, and update it to work
...
with paginator changes. Also fix some minor style issues.
2009-12-24 11:45:44 -08:00
Tim Almdal
26e5f4eade
Change the get_resource api method to take an array of parms instead actually specifying parameters.
2009-12-24 11:38:05 -08:00
Bharat Mediratta
8658a609fd
Convert Controller::$input -> Input::instance()
2009-12-24 11:09:07 -08:00
Bharat Mediratta
1ed3c46997
Clean up tag display logic
2009-12-24 11:07:03 -08:00
Bharat Mediratta
9a1fc57211
Don't treat objects like strings. Simplify the code.
2009-12-24 11:04:25 -08:00
Bharat Mediratta
30ab3e9420
Check using empty() instead of a comparison to avoid warnings on
...
unused variables.
Clean up the code style.
2009-12-24 10:59:25 -08:00
Bharat Mediratta
7d2297033d
Don't treat objects like strings.
2009-12-24 10:56:26 -08:00
Bharat Mediratta
1a65ded2a6
Don't treat objects like strings
2009-12-24 02:44:13 -08:00
Bharat Mediratta
dde187e88c
Only trigger for items and tags
2009-12-24 01:48:27 -08:00
Bharat Mediratta
2a596af25b
Don't treat an object like a string
2009-12-24 01:48:15 -08:00
Bharat Mediratta
2b00e0a4e9
Don't save dimensions unless it's actually a movie.
2009-12-24 01:47:58 -08:00
Bharat Mediratta
f522643d70
Clean up tag display logic.
2009-12-24 01:47:00 -08:00
Bharat Mediratta
bcc0a1e836
Convert a bunch of left over kohana::show_404 calls to throw
...
Kohana_404_Exception instead.
2009-12-23 20:52:09 -08:00
Bharat Mediratta
a711cb1088
Quote name/descriptions in module.info
2009-12-23 12:56:12 -08:00
Bharat Mediratta
f64442b75c
Add a rule for the "activate" param so that it gets validated properly.
2009-12-23 02:24:55 -08:00
Bharat Mediratta
5f53465bd1
Update format of $hidden variables for new K24 form::open
2009-12-23 00:59:15 -08:00
Bharat Mediratta
1a0dc96e77
First pass at upgrading contrib code to the Kohana 2.4 standards.
...
Here's a summary of the changes I made:
1) html::specialchars --> html::chars
2) ORM::orderby() -> ORM::order_by()
3) ORM::where() now takes 3 parameters including a comparator. So
ORM::where("a", $b) is now ORM::where("a", "=", $b) and the middle
value can be any comparator.
4) ORM::$loaded --> ORM::loaded()
5) Database::instance() --> db::build() (and there are some other
subtle differences, like now you always call execute() at the end
of the chain)
6) form::close() and form::close_fieldset() are now gone. Use
</form> and </fieldset> respectively.
7) Controller::$input is gone. Use Input::instance() instead.
I've done very rudimentary testing so far.
2009-12-22 21:31:03 -08:00
Tim Almdal
32a80e5d7f
Forgot the image block html template
2009-12-22 20:02:45 -08:00