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
Marc Ducobu
c28c2bf119
First commit
2018-04-06 17:09:51 +02:00
nobohan
73f5295f40
fix deprecations: pass Request in the Action function instead of using getRequest method
2018-04-06 08:27:13 +02:00
nobohan
80bef1f558
use fqcn for ClosingMotiveType class
2018-04-06 08:16:26 +02:00
nobohan
3439319e59
fix error
2018-04-06 08:13:05 +02:00
nobohan
3fae866e2e
Merge branch 'upgrade-sf3' of framagit.org:Chill-project/Chill-Person into upgrade-sf3
...
merge...
2018-04-06 08:11:29 +02:00
nobohan
769c9e4e59
fix deprecations: systematic use of fqcn in getParent functions
2018-04-06 08:11:10 +02:00
nobohan
7e36eee27a
fix deprecations: systematic use of fqcn in getParent functions
2018-04-06 08:10:44 +02:00
2a096431fc
Merge remote-tracking branch 'origin/upgrade-sf3' into upgrade-sf3
2018-04-06 02:43:35 +02:00
4b0499cf8d
fix invocation of old method
2018-04-06 02:43:11 +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
3459755d7a
fix deprecations: use fqcn for EntityType in getParent
2018-04-05 18:56:31 +02:00
nobohan
c8f53e6472
fix deprecations: use fqcn and other deprecated properties
2018-04-05 17:09:01 +02:00
nobohan
696dd8f0d0
fix deprecations: deprecated property and empty_values
2018-04-05 17:06:38 +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