1791 Commits

Author SHA1 Message Date
36c3e33cfa add DateIntervalType 2018-04-17 11:32:39 +02:00
190e2f48b3 introducer UserCircleConsistency validator
This validator allow to check that the entity is consistent between user
associated with the entity, and the scope.

The entity is consistent if the user associated can reach the scope for the
ROLE "SEE/SHOW".

This is a Constraint with scope Class. Example of utilisation:

```
@UserCircleConsistency(
 *  "CHILL_TASK_TASK_SEE",
 *  getUserFunction="getAssignee",
 *  path="circle"
 * )
class MyEntity {

  // ...

  public function getAssignee() {
    // return user
  }
}
```
2018-04-16 17:20:34 +02:00
96cd18563b include current role in ScopePickerType and UserPickerType
Previously, only the "parent" roles were takent into account in those two
types. This commit fixe the bug by adding the current role to the query.
2018-04-16 17:18:59 +02:00
53901e4681 add ScopePickerType, which allow to pick scope depending or ACL 2018-04-16 12:37:57 +02:00
5fb93b4250 Merge remote-tracking branch 'origin/upgrade-sf3' into upgrade-sf3 2018-04-16 12:04:06 +02:00
f5039cc36f add UserPickerType 2018-04-16 12:03:47 +02:00
7fb2084506 set doctrine type "date interval" using native postgresql date interval 2018-04-16 11:53:39 +02:00
nobohan
1eeee615a3 use fqcn in getRepository method 2018-04-16 10:41:23 +02:00
nobohan
0d05865091 fix deprecations: use fqcn for integer and number in CustomFieldNumber 2018-04-13 17:44:54 +02:00
nobohan
da92b4df56 fix test error due to the removing of deprecated getName method 2018-04-13 17:31:03 +02:00
nobohan
11bd3c66e1 fix test error due to the removing of deprecated getName method 2018-04-13 17:29:59 +02:00
nobohan
00bbbd32d6 fix deprecations: use fqcn 2018-04-13 17:25:05 +02:00
nobohan
da9aecefa7 fix deprecations: replace last fqcn in add methods for forms 2018-04-13 15:20:04 +02:00
e052de7bb0 add parameters.yml to gitignore 2018-04-13 14:17:45 +02:00
nobohan
654f7b4d26 flip value for 'other' 2018-04-11 17:48:31 +02:00
nobohan
ed526fa8ea fix deprecations: no more need to define these services (that cause a deprecation...) 2018-04-11 16:41:35 +02:00
nobohan
f7502b4e9e add a page for modifying password for user 2018-04-10 16:19:35 +02:00
nobohan
0287da70d7 fix deprecations: use fqcn and pass arguments of class as options 2018-04-10 12:20:30 +02:00
nobohan
7119de8223 fix deprecations: use fqcn for formtype 2018-04-09 12:15:34 +02:00
nobohan
0a08c362bb fix deprecations: getName -> getBlockPrefix in forms 2018-04-09 10:24:52 +02:00
nobohan
96e1b1db4d fix deprecations: getName -> getBlockPrefix in Forms 2018-04-09 10:06:34 +02:00
Marc Ducobu
c28c2bf119 First commit 2018-04-06 17:09:51 +02:00
nobohan
3439319e59 fix error 2018-04-06 08:13:05 +02:00
nobohan
7e36eee27a fix deprecations: systematic use of fqcn in getParent functions 2018-04-06 08:10:44 +02:00
b84a77d9de fix invocation of old method and upgrade ActivitySTatVoter to sf3 2018-04-06 02:42:11 +02:00
ea5d3f7940 branch upgrade-sf3 to same branch in other repo 2018-04-06 02:41:32 +02:00
nobohan
c8f53e6472 fix deprecations: use fqcn and other deprecated properties 2018-04-05 17:09:01 +02:00
nobohan
8c97ac9e26 fix deprecations: use fqcn 2018-04-05 16:33:53 +02:00
nobohan
44596bf58d fix deprecations: use fqcn for collectionType in getParent() 2018-04-05 16:23:23 +02:00
nobohan
4c4f4b5ca7 fix deprecations: use fqcn 2018-04-05 15:23:29 +02:00
nobohan
0f1c4d1120 fix deprecation: remove array on addAllowedValues 2018-04-05 15:14:45 +02:00
nobohan
5aa87ffdb4 fix deprecations: use fqcn + change 'property' in 'choice_label' 2018-04-05 15:04:47 +02:00
nobohan
ebd5e03d54 fix error 2018-04-05 14:10:00 +02:00
nobohan
d501fa31ae fix deprecations: use fqcn fr translatable_string 2018-04-05 13:59:14 +02:00
nobohan
762bb777c3 fix deprecations: use fqcn 2018-04-05 13:54:12 +02:00
nobohan
7ed0e3fddd fix deprecations: use fqcn for trasnlatable_string 2018-04-05 13:35:30 +02:00
nobohan
7eeaec7047 fix deprecations: use fqcn for FormType 2018-04-05 12:21:06 +02:00
nobohan
2474bb3e5a fix deprecations: flip contents of array 2018-04-05 11:47:12 +02:00
nobohan
478e1c505d fix deprecation: no more passing of type instances 2018-04-05 11:45:58 +02:00
nobohan
ed00833eb8 fix deprecations: implement abstract method supports and voteOnAttribute for ActivityVoter 2018-04-05 10:43:01 +02:00
nobohan
6327d25783 fix deprecations: use fqcn in the activity bundle 2018-04-05 10:34:41 +02:00
nobohan
2cfe83e69c fix deprecations: remove array in setAllowedTypes 2018-04-05 10:33:23 +02:00
nobohan
5afaff841c fix deprecations: remove array in setAllowedTypes 2018-04-05 10:32:33 +02:00
nobohan
3ea3beb1d5 fix deprecations: set 'choices_as_values=true' as a default option of Select2ChoiceType class 2018-04-05 07:32:53 +02:00
nobohan
a35fd76053 fix deprecations: add choices_as_values=true + flip contents of choice in ChoiceType 2018-04-04 22:01:52 +02:00
nobohan
38bb5da406 Merge branch 'upgrade-sf3' of framagit.org:Chill-project/Chill-Main into upgrade-sf3
merge...
2018-04-04 22:00:48 +02:00
nobohan
9cd32cb59c fix deprecations: add choices_as_values=true + flip contents of choice in ChoiceType 2018-04-04 22:00:37 +02:00
7be5a95ab9 fix test for CenterType (use fqdn in tests) 2018-04-04 21:54:28 +02:00
bce6916837 use fqdn in CenterType 2018-04-04 21:43:51 +02:00
nobohan
3e9690f47e fix deprecations: use fqcn for textarea 2018-04-04 18:42:56 +02:00