3296 Commits

Author SHA1 Message Date
nobohan
8c4ddd8342 fix deprecation error on constraint 2018-04-23 16:56:19 +02:00
nobohan
a01081a162 SingleTask template: add CSS classes to twig 2018-04-23 12:36:37 +02:00
196fc2c38f improve task list 2018-04-20 21:55:56 +02:00
nobohan
e6a1dcd7a4 fix error: no need to flip choices for formatter type. 2018-04-20 14:48:34 +02:00
193460a9a6 fix validation context and upgrade sf3 2018-04-20 14:42:21 +02:00
7c4610faf4 fix namespace for ExecutionContextInterface 2018-04-20 14:36:22 +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
c7ad381aac Merge remote-tracking branch 'origin/upgrade-sf3' into upgrade-sf3 2018-04-19 18:20:30 +02:00
3bf7838731 fix deprecations in closingMotive 2018-04-19 13:07:15 +02:00
307ef4ae62 remove deps to symfony/framework-bundle 2018-04-19 12:53:58 +02:00
nobohan
2d76050589 add some documentation for managing assets using webpack 2018-04-18 12:34:59 +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
9dfa39ff07 add list of task 2018-04-17 21:58:10 +02:00
fd8b6490d0 add validation to single task controller::new 2018-04-17 11:39:16 +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
a02b9edc45 first implementation of controller 2018-04-16 15:09:50 +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
1734727029 add composer.json file 2018-04-13 22:25:02 +02:00
7a85e00c16 initial commit 2018-04-13 22:16:40 +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
1608c74f34 fix deprecations: methods -> constraint 2018-04-13 17:03:33 +02:00
nobohan
62ad928a66 fix error due to removing of deprecated getName method 2018-04-13 16:49:30 +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
04b8682fed set deps to upgrade-sf3 2018-04-13 14:13:43 +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
7227b89d4f fix deprecations 2018-04-09 21:34:43 +02:00
nobohan
7119de8223 fix deprecations: use fqcn for formtype 2018-04-09 12:15:34 +02:00
nobohan
780d751455 fix deprecations: use security.token_storage instead of security.context 2018-04-09 12:11:27 +02:00
nobohan
1d10d89a9b fix deprecation: use fqcn in a depedency injection 2018-04-09 10:56:17 +02:00
nobohan
3260e9e7bd fix deprecations: getName -> getBlockPrefix in forms 2018-04-09 10:55:03 +02:00
nobohan
657a4f3fa1 fix deprecations: use fqcn 2018-04-09 10:50:48 +02:00
nobohan
4b57510cc2 fix deprecations: getName -> getBlockPrefix in forms 2018-04-09 10:50:23 +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