1
0
Commit Graph

453 Commits

Author SHA1 Message Date
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
db6b1f9042 Updated for model based validation, but not tested. 2010-01-25 22:29:38 -08:00
Bharat Mediratta
f54b4b0579 IdentityProvider::create_user() now requires an email address as well. 2010-01-25 22:26:57 -08:00
Bharat Mediratta
4ad10e7290 Updated for model based validation 2010-01-25 22:26:19 -08:00
Bharat Mediratta
7a6d8eb8b3 Updated for model based validation 2010-01-25 22:26:08 -08:00
Bharat Mediratta
04b8238a44 Merge branch 'master' of git@github.com:gallery/gallery3-contrib into bharat_dev 2010-01-25 20:46:35 -08:00
Tim Almdal
c7d1baab70 Add the user home home directory to the user profile page. 2010-01-24 20:43:02 -08:00
Tim Almdal
68b290be51 Change the check_environment method in the module helper and the module installers to can_activate to reflect that it is doing more than just checking the environment. 2010-01-22 12:30:53 -08:00
Tim Almdal
b0270cf722 Refactor the identity provider installation in to a common helper method (change_provider) with an initialization callback. 2010-01-22 12:09:46 -08:00
Tim Almdal
b8bce53b8f Use the admin module to install and switch to the LDAP identity provider. 2010-01-22 09:42:41 -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
Tim Almdal
7380d7bc76 1) Call identity::active_user instead of user::active()
2) The where clause needs to be passed as array of arrays when filtering for albums.
2010-01-17 09:27:48 -08:00
Tim Almdal
b98b1391e9 A further fix for 977. create the user immediately if the policy is visitor w/o a confirmation email. 2010-01-15 08:58:31 -08:00
Tim Almdal
4309f8822c 1) Insure that a group input is always part of the form, either a dropdown or hidden field
2) Create a "dummy validation function" in order to have the group and email_validation fields copied from the $_POST array.
2010-01-14 20:16:15 -08:00
Tim Almdal
9a96a37681 Another 2.4 migration-ism. Need to pass the where clause in an appropriate format. array(fieldname, operator, value); 2010-01-14 13:41:40 -08:00
Tim Almdal
4923164626 Change the offset from zero to null on the item->find_all call. Changed with K2.4 2010-01-12 10:49:58 -08:00
Bharat Mediratta
60238ddfad Rudimentary Single sign-on module 2010-01-11 11:05:49 -08:00
Bharat Mediratta
3eb4e6920d Implement Ldap_User::groups() to match K24 APIs. 2010-01-11 11:03:34 -08:00
rWatcher
5add59a795 Fixed tag url issue in TagFaces. 2010-01-10 02:35:10 -05:00
rWatcher
e4d96261f6 Fix for borken selection box in TagFaces. 2010-01-10 02:28:31 -05:00
rWatcher
cf81ac7085 Updated DisplayTags to fix tag hyperlink issue. 2010-01-10 01:54:22 -05: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