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
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
7e36eee27a
fix deprecations: systematic use of fqcn in getParent functions
2018-04-06 08:10:44 +02:00
nobohan
2474bb3e5a
fix deprecations: flip contents of array
2018-04-05 11:47:12 +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
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
a3e6b625b5
fix missing count statement
2018-04-04 17:23:25 +02:00
9045db2fa1
Merge remote-tracking branch 'origin/upgrade-sf3' into upgrade-sf3
2018-04-04 17:02:02 +02:00
7b4c728523
fix countable in php 7.2
...
in PHP 7.2, count does not allow null value or not countable object. This commit
adapt the use of count to the nature of the object
2018-04-04 17:00:57 +02:00
nobohan
fac8506893
Merge branch 'upgrade-sf3' of framagit.org:Chill-project/Chill-Main into upgrade-sf3
...
merge...
2018-04-04 16:36:43 +02:00
nobohan
c9ce6055b2
fix deprecations: use fqcn for 'choice'
2018-04-04 16:19:26 +02:00
c593c153a1
fix error on exports test
...
Since php 7.2, the count function does not accept NULL values. This led to error if
the WHERE clause of query where empty.
2018-04-04 15:47:18 +02:00
f881b3e52a
Merge remote-tracking branch 'origin/upgrade-sf3' into upgrade-sf3
2018-04-04 12:37:53 +02:00
1bb0449112
New interface for voters
...
The use of the old interface trigger deprecation notice, handled by Chill. This should
be safe for an upgrade towars sf 3, but still requires work inside bundles.
2018-04-04 12:36:20 +02:00
nobohan
ae9db21633
use fqcn for chill classes
2018-04-04 12:21:08 +02:00
nobohan
f8a61bd178
fix deprecations: use fqcn for 'password' and 'repeated'
2018-04-04 11:35:53 +02:00
nobohan
51a1b23e0d
fix deprecations: use fqcn for entity, ComposedGroupCenterType.
2018-04-04 11:07:49 +02:00
nobohan
1b16b8e1da
fix deprecations: set choices_as_values = true + flip content of choices options
2018-04-04 10:51:35 +02:00
nobohan
56a695e66e
fix deprecations: use the fqcn for choiceType
2018-04-04 10:29:57 +02:00
nobohan
c4f7256236
fix deprecations: options array -> no array for options resolver
2018-04-04 10:16:26 +02:00
e5324c816e
Merge remote-tracking branch 'origin/upgrade-sf3' into upgrade-sf3
2018-04-04 09:48:35 +02:00