929 Commits

Author SHA1 Message Date
49812d43c4 add a method to duplicate address 2018-05-23 12:46:25 +02:00
4f7e350945 adding a collection type for chill 2018-05-18 17:54:12 +02:00
9a7df10893 add data_class to form 2018-05-18 17:53:10 +02:00
a7871ecbdb adding alias for services 2018-05-17 21:11:45 +02:00
4cac0ea56f fix missingfile 2018-05-14 14:15:53 +02:00
be7949809b add a menu builder for user menu 2018-05-14 14:14:02 +02:00
6fc9fa9833 get notification also for UserInterface
This will allow notification for admin
2018-05-14 13:14:10 +02:00
42f17f11e0 set same layout to user menu and section menu 2018-05-09 00:05:29 +02:00
6f73c9ee09 fix errors to user picker: add placeholder and allow empty 2018-05-08 22:56:03 +02:00
d684851f36 add alias for AuthorizationHelper 2018-05-08 10:06:58 +02:00
50b079c676 adding knp to test fixtures 2018-05-04 22:58:06 +02:00
da821f5099 enable fixtures with sf3 2018-05-04 22:49:04 +02:00
02ffcbb9ae adapt config to load select2 and other values. Removed unused constants 2018-05-04 15:11:27 +02:00
a0d290ca2c remove dump 2018-05-04 15:00:17 +02:00
9f06c6d6f1 adding ordering to menu 2018-05-04 14:15:56 +02:00
5cef93abd0 Merge remote-tracking branch 'origin/upgrade-sf3' into upgrade-sf3 2018-05-04 10:43:24 +02:00
5693091591 fix date interval storage 2018-05-04 10:40:38 +02:00
nobohan
ce39359fce style user menu 2018-05-02 10:48:08 +02:00
nobohan
730e547b77 fix sass variables for compilation with webpack 2018-05-02 09:33:18 +02:00
nobohan
65251650fc add HTML meta tags in the HEAD of layout.html.twig 2018-05-02 09:32:07 +02:00
395787f1bb integration of knp menu bundle 2018-04-30 17:42:24 +02:00
5c045abda4 rename namespace for notification counter tag:
- The old way: chillMain.count_notification.user
- The new way: chill.count_notification.user
2018-04-30 15:03:18 +02:00
9b4bf04c9c add notification counter in user menu 2018-04-27 22:22:21 +02:00
da0db5ba9a Merge remote-tracking branch 'origin/upgrade-sf3' into upgrade-sf3 2018-04-27 21:42:00 +02:00
9879bcf000 Merge branch 'master' of git.framasoft.org:Chill-project/Chill-Main into upgrade-sf3 2018-04-27 21:41:35 +02:00
nobohan
abc2a8abae add missing chill.webpack.config.js 2018-04-27 14:33:01 +02:00
8d9d737dd8 Merge remote-tracking branch 'origin/upgrade-sf3' into upgrade-sf3 2018-04-27 13:37:34 +02:00
050a4ff031 allow to show menu entries without icons 2018-04-27 13:36:34 +02:00
nobohan
49b18ba110 Merge remote-tracking branch 'origin/add_webpack' into upgrade-sf3
merge add_webpack into upgrade-sf3
2018-04-27 10:52:29 +02:00
93be3de45f adding alias for pagination 2018-04-27 10:15:53 +02:00
e378a6d54f remove dump and fix exception 2018-04-24 21:43: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
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
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
da9aecefa7 fix deprecations: replace last fqcn in add methods for forms 2018-04-13 15:20:04 +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