[gallery/gallery3] 3a847d: Add ORM::delete() override to "delete_through" of ...
GitHub <noreply-9UaJU3cA/F/[email protected]> Tue, 16 Apr 2013 14:33:40 -0700
| Newsgroups | gmane.comp.web.gallery.cvs |
|---|---|
| Message-ID | <516dc3b4ba50b_600688fe148874c@hookshot-fe3-pe1-prd.aws.github.net.mail> |
Branch: refs/heads/kohana_3
Home: https://github.com/gallery/gallery3
Commit: 3a847d59ed8ca99461dca7d5f977ed2fa75e489d
https://github.com/gallery/gallery3/commit/3a847d59ed8ca99461dca7d5f977ed2fa75e489d
Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-04-16 (Tue, 16 Apr 2013)
Changed paths:
M modules/gallery/classes/Gallery/ORM.php
Log Message:
-----------
Add ORM::delete() override to "delete_through" of a has_many relationship.
Commit: 152d8ba285c5a4370920965bea2ef7d7088cf687
https://github.com/gallery/gallery3/commit/152d8ba285c5a4370920965bea2ef7d7088cf687
Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-04-16 (Tue, 16 Apr 2013)
Changed paths:
M modules/gallery/classes/Gallery/Identity.php
M modules/gallery/classes/Gallery/IdentityProvider/GroupDefinition.php
M modules/gallery/classes/Gallery/IdentityProvider/UserDefinition.php
M modules/user/classes/User/Controller/Admin/Users.php
M modules/user/classes/User/IdentityProvider/Gallery.php
M modules/user/classes/User/Model/Group.php
M modules/user/classes/User/Model/User.php
M modules/user/tests/User_Groups_Test.php
Log Message:
-----------
Update Group and User definitions, models, etc.
- implement K3's has_many through relationship to work with groups_users
- add groups() and users() to the interface defs (the code base effectively
requires them already)
- revise add() and remove() syntax for K3
- remove user_cache and group_cache (ORM and Database cover this for us)
- revise delete() based on the new ORM::delete() override
- revise some instances of save/update/create syntax
- make Identity use groups() as opposed to the model relationship directly
(compatible with interface requirement and agnostic to DB configuration)
Commit: d873f4261d8b8ca0c648fe6b83e35187d1c1d335
https://github.com/gallery/gallery3/commit/d873f4261d8b8ca0c648fe6b83e35187d1c1d335
Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-04-16 (Tue, 16 Apr 2013)
Changed paths:
M modules/gallery/classes/Gallery/Identity.php
M modules/gallery/classes/Gallery/IdentityProvider/GroupDefinition.php
M modules/gallery/classes/Gallery/IdentityProvider/UserDefinition.php
M modules/gallery/classes/Gallery/ORM.php
M modules/user/classes/User/Controller/Admin/Users.php
M modules/user/classes/User/IdentityProvider/Gallery.php
M modules/user/classes/User/Model/Group.php
M modules/user/classes/User/Model/User.php
M modules/user/tests/User_Groups_Test.php
Log Message:
-----------
Merge pull request #293 from shadlaws/orm_user_group
ORM, User, and Group
Compare: https://github.com/gallery/gallery3/compare/e96d6aa9b3bf...d873f4261d8b
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
__[ g a l l e r y - c h e c k i n s ]_________________________
[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]