Commit graph

694 commits

Author SHA1 Message Date
Tac Tacelosky 3d54ececfd get class (not table) for ordering 2012-02-28 23:53:50 +01:00
William DURAND 5552ebd96f Merge pull request #106 from havvg/feature/WipeDataLoader
add WipeDataLoader
2012-02-28 03:54:44 -08:00
Toni Uebernickel e3e6878b55 disable FOREIGN_KEY_CHECKS for MySQL 2012-02-28 11:10:59 +01:00
William DURAND 7426a958e8 Fixed LICENSE 2012-02-28 10:56:51 +01:00
Toni Uebernickel 6a4d86dfe2 rename WipeDataLoader to DataWiper 2012-02-28 10:40:55 +01:00
Toni Uebernickel c4459e665e Merge pull request #110 from havvg/hotfix/dataloader-array-column
add handling of array type in data loader
2012-02-23 15:24:36 -08:00
Toni Uebernickel 264708ab16 fix minor code styles 2012-02-24 00:22:04 +01:00
Toni Uebernickel 563a368687 add tests for array dump and load 2012-02-22 10:20:15 +01:00
Toni Uebernickel 82170e1718 dump array columns as array 2012-02-22 10:15:41 +01:00
Toni Uebernickel d2e2805fac add handling of array type in data loader 2012-02-21 23:37:29 +01:00
William DURAND 566472cc9b Merge branch '2.0' 2012-02-21 16:00:39 +01:00
William DURAND 51b58bf428 Merge pull request #109 from real-chocopanda/fix-non-mysql-reverse
Fix propel:reverse for non-mysql databases
2012-02-21 06:59:12 -08:00
Matthieu Robin 521c978e44 fix propel:reverse command for non-mysql databases fixes #89 2012-02-21 15:15:34 +01:00
William DURAND 6bd8f77793 Merge pull request #108 from havvg/hotfix/cachedir-2.0
use configured cache directory
2012-02-18 05:27:23 -08:00
Toni Uebernickel b56f80a5a7 use configured cache directory 2012-02-18 12:56:44 +01:00
Toni Uebernickel bb9dfbef42 add WipeDataLoader 2012-02-18 02:34:34 +01:00
William DURAND 2be58a2cb9 Added more methods to log in order to use the Stopwatch feature 2012-02-14 12:10:12 +01:00
William DURAND 11dd106524 Mentioned ACL in supported features 2012-02-10 16:23:11 +01:00
William DURAND 4f0ccd5eb7 Merge pull request #100 from havvg/feature/acl-provider-master
[Security] AclProvider
2012-02-10 07:16:48 -08:00
William DURAND b019559de8 Merge branch '2.0' 2012-02-10 16:06:49 +01:00
William DURAND 0dc2bd7e78 Merge pull request #104 from havvg/feature/syntax-extension
some love for the SyntaxExtension
2012-02-10 06:24:10 -08:00
Toni Uebernickel 034eb3703f add more highlights to SyntaxExtension
* add more keywords to highlight
* add highlight on query comments
* add highlight on table names
2012-02-09 15:55:27 +01:00
Toni Uebernickel b7fa0dccd2 fix AclTestCase to read moved acl_schema.xml 2012-02-07 17:27:01 +01:00
Toni Uebernickel 4e45bab585 add InitAclCommand
* move acl_schema.xml into Resources to avoid being retrieved by default
* re-factor parent tasks methods to use separated methods for re-usage
2012-02-07 17:27:00 +01:00
Toni Uebernickel 2741576ee0 add documentation on the ACL implementation 2012-02-07 17:27:00 +01:00
Toni Uebernickel 1fa29dbdf9 remove object collection from MutableAcl 2012-02-07 17:25:36 +01:00
Toni Uebernickel 7dde7ce5d1 pass PDO connection to all methods within ACL 2012-02-07 17:25:35 +01:00
Toni Uebernickel 680da9e977 add handling of AclCacheInterface 2012-02-07 17:25:35 +01:00
Toni Uebernickel 04e7970312 make use of \PropelObjectCollection 2012-02-07 17:25:35 +01:00
Toni Uebernickel e73bc1098b apply code conventions (static public and phpDoc) 2012-02-07 17:25:35 +01:00
Toni Uebernickel af1053e149 add AuditableAcl(Provider)
* update provider class to AuditableAclProvider
* change auditing default to be more reasonable, 90% use case: log failures only
* add transformers to Model\Acl\Entry converting from/to Security\Acl\Domain\Entry
* fix MutableAclProvider to use getAcl method instead of creating MutableAcl directly
* re-factor MutableAcl::updateAce and MutableAclProvider::persistAcl to use Entry transformers
2012-02-07 17:25:35 +01:00
Toni Uebernickel 2231df621c add more tests for (Mutable)AclProvider
* fix usage of existing database entries
2012-02-07 17:25:35 +01:00
Toni Uebernickel babf3bf203 fix ObjectIdentity insert with assigned parent 2012-02-07 17:25:35 +01:00
Toni Uebernickel bd4b82749c add checks to (Field)EntryTest and EntryQueryTest 2012-02-07 17:25:35 +01:00
Toni Uebernickel 747ce485ae add tests for Acl\Domain\(Mutable)Acl 2012-02-07 17:25:35 +01:00
Toni Uebernickel c886302624 use assertCount where applicable 2012-02-07 17:25:34 +01:00
Toni Uebernickel 7a12aef44b add tests for Acl\Domain\(Field)Entry
* fix (un)serialize of (Field)Entry
2012-02-07 17:25:34 +01:00
Toni Uebernickel 27daeebfb9 add tests for AclProvider and MutableAclProvider
* re-factor Tests\Model\Acl\TestCase to Tests\AclTestCase sharing between Model\Acl and Security\Acl tests
* fix schema setting auditing flags to true by default
* fix MutableAcl inserting field based ACEs
* fix MutableAclProvider removing class based ACEs if last object identity is being removed
* fix EntryQuery error message if non-object has been provided in list of SecurityIdentity
2012-02-07 17:25:34 +01:00
Toni Uebernickel 03282b46b8 re-factored tests for ACL related models 2012-02-07 17:25:34 +01:00
Toni Uebernickel 78424c5519 add tests for ACL related models 2012-02-07 17:25:34 +01:00
Toni Uebernickel 15b387a950 change behavior on deleting an ACL
The MutableAclProviderInterface expects to remove all child ACLs upon deletion.

* fix createAcl to check for existing parent
2012-02-07 17:25:34 +01:00
Toni Uebernickel 33acc67b63 fix several use cases in updateAncestorsTree 2012-02-07 17:25:34 +01:00
Toni Uebernickel 7b127b2a5c retrieve parentAcl in AclProvider::findAcl
* change default inherited value to true to comply with database default value
2012-02-07 17:25:34 +01:00
Toni Uebernickel 4758d7bfb4 cascade update of parent object identity id 2012-02-07 17:25:34 +01:00
Toni Uebernickel 4b6001c6fe pass PDO connection to all methods within ACL 2012-02-07 17:25:33 +01:00
Toni Uebernickel 3524cd8a6b add handling of parent ACL
* fix ObjectIdentityQuery::findGrandChildren
2012-02-07 17:25:33 +01:00
Toni Uebernickel bfaa408df1 fix MutableAcl to handle new object identities 2012-02-07 17:25:33 +01:00
Toni Uebernickel 0fa42f794b fix EntryQuery to find class based entries 2012-02-07 17:25:33 +01:00
Toni Uebernickel cabb199646 add MutableAclProvider and MutableAcl 2012-02-07 17:25:33 +01:00
Toni Uebernickel a0f7c1c170 clear up err message for acl not found in findAcl 2012-02-07 17:25:33 +01:00