1503 Commits

Author SHA1 Message Date
7950ccfddb re-introduce deps to chill-project/person in dev 2018-04-24 14:31:41 +02:00
a50b12be15 switch composer.json to sf-3 2018-04-24 14:25:02 +02:00
19e30d90c5 restrict test to php 7.2 2018-04-24 14:21:11 +02:00
cda62553eb switch composer.json to sf-3 2018-04-24 14:14:53 +02:00
nobohan
8c4ddd8342 fix deprecation error on constraint 2018-04-23 16:56:19 +02:00
nobohan
e6a1dcd7a4 fix error: no need to flip choices for formatter type. 2018-04-20 14:48:34 +02:00
nobohan
e021cea2da fix deprecation error: use gqcn and pass option in array 2018-04-20 14:19:17 +02:00
bba720b3ae improve comment in LoginController 2018-04-19 21:20:18 +02:00
2bcaaac60c switch loginController to symfony3 2018-04-19 20:03:10 +02:00
307ef4ae62 remove deps to symfony/framework-bundle 2018-04-19 12:53:58 +02:00
nobohan
8456045088 add webpack config + export chill.js 2018-04-18 11:40:28 +02:00
06bff38701 [dateinterval doctrine type] parse correctly native date interval 2018-04-17 21:58:37 +02:00
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