9 Commits

Author SHA1 Message Date
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
29e3c74bd7 advanced search (bis)
Ce commit contient des modifications qui sont peut-être dans un autre commit d'une
autre branche.
2018-04-04 09:46:30 +02:00
95145171da add a ScopePickerType and a UserPickerType
Those type allow easily to

- pick a Scope/circle in form
- pick a user in form
2017-04-25 17:29:25 +02:00
edc4889461 move service form.type definition to new file + introduce date type 2017-04-07 23:07:49 +02:00
d5c26c6d47 [export] adding spreadsheet formatter 2017-02-19 21:40:55 +01:00
5c0ca70ebf add api to add a validation on export elements
Exports elements should implements "ExportElementValidatedInterface"
2017-02-02 22:45:10 +01:00
2732bb1553 adding a pagination api
ref #24
2016-08-19 21:27:50 +02:00
8aa37c7b73 creating entity repository for users
I also re-arranged the configuration of repositories to a dedicated file, which should improve readability.
2016-06-21 15:46:27 +02:00
7c1698ed98 adding a logger for chill
The logger log messages to channel "chill".

The name of the service is `chill.main.logger`
2016-06-01 16:16:20 +02:00