59 Commits

Author SHA1 Message Date
1e0c62b09d Merge branch 'master' into notification/completion 2022-01-05 11:15:49 +01:00
Pol Dellaiera
e2ad590310
tests: Get rid of PHPUnit deprecations. 2022-01-04 16:29:49 +01:00
Pol Dellaiera
6ebcd87508
tests: Replace assertInternalType with proper method.
See https://github.com/sebastianbergmann/phpunit/issues/3369
2022-01-04 16:21:06 +01:00
Pol Dellaiera
cf588c97c0
cs: Autofix. 2022-01-04 14:41:52 +01:00
8fe94bd117 notification: update comment and api endpoint for marking as read/unread 2021-12-29 17:36:14 +01:00
f453dbb543 notification: more check in test 2021-12-28 20:04:30 +01:00
b323ddae05 fix loading of unread addressees in notification 2021-12-28 19:40:38 +01:00
700bb02374 notification: add test for unread consistency 2021-12-26 01:12:32 +01:00
5cebcfddb7 fix cs ? 2021-12-25 22:51:58 +01:00
Pol Dellaiera
6a0ce72836
tests: Remove @expectException annotation. 2021-12-21 16:22:31 +01:00
Pol Dellaiera
f93b1935ee
ci: Update PHPUnit behavior. 2021-12-21 16:14:27 +01:00
Pol Dellaiera
b55c19cd9e
fix: Fix return types in tests. 2021-12-21 15:26:22 +01:00
Pol Dellaiera
70ca203e23
fix: Fix return types in tests. 2021-12-21 15:19:36 +01:00
Pol Dellaiera
58a13d932f
fix: Fix return types in tests. 2021-12-21 15:12:15 +01:00
Pol Dellaiera
3d0be940f0
fix: Fix return types in tests. 2021-12-21 15:02:12 +01:00
nobohan
4b432c64b0 php cs fixer 2021-12-13 11:07:30 +01:00
nobohan
82c027fe2a add the current location of the user as API point + add it in the activity location list 2021-12-13 11:04:10 +01:00
fa5001265f fixes on tests 2021-12-08 10:56:39 +00:00
938720be52 Issue316 addresses search by postal code 2021-12-06 12:56:57 +00:00
9244bb2f8d fix pagination problems
(cherry picked from commit 43702ded77449ee08b8d2c5c494c220d457373a1)
2021-12-03 14:10:07 +00:00
Pol Dellaiera
a3da9c538c
tests: Fix argument type. 2021-11-30 14:22:15 +01:00
Pol Dellaiera
cd3be25c22
cs: Remove duplicated headers. 2021-11-30 13:54:58 +01:00
Pol Dellaiera
47c5855a21
cs: Switch to a stricter way of coding - this might break in a lot of places. 2021-11-30 13:33:18 +01:00
Pol Dellaiera
733bee06a8
cs: Enable more risky rules. 2021-11-30 12:19:29 +01:00
Pol Dellaiera
91d12c4a96
cs: Enable risky rule static_lambda. 2021-11-30 11:43:34 +01:00
Pol Dellaiera
a9188355c5
cs: Enable more risky rules. 2021-11-30 11:37:57 +01:00
Pol Dellaiera
c8195e6df5
cs: Enable more risky rules. 2021-11-30 11:28:52 +01:00
9993bfc96f fix cs and add test 2021-11-23 23:28:56 +01:00
fdbaa8cbef add endpoint for getting permissions info 2021-11-23 23:04:29 +01:00
Pol Dellaiera
3ea35682eb
cs: Second part - ignore test/app subdirectory. 2021-11-23 14:34:34 +01:00
Pol Dellaiera
8f96a1121d
cs: Fix code style (safe rules only). 2021-11-23 14:08:50 +01:00
Pol Dellaiera
70ed9e75db
tests: Fix "...Class "Chill\MainBundle\Security\Resolver\CenterResolverDispatcher" is declared "final" and cannot be mocked....". 2021-11-23 12:41:09 +01:00
d0bf47e0d5 Bootstrap encoder for documents 2021-11-22 09:05:15 +00:00
9fb29ec110 refactor search for using search by pertinence 2021-11-22 08:28:22 +00:00
8296d60cb6 add base authorization to person search + improve search ordering 2021-11-15 11:17:03 +00:00
c8135e0741 add validation to accompanying periods 2021-11-12 12:07:31 +00:00
35d807cab0 Bugfixes/tasks list 2021-11-05 12:31:41 +00:00
6911ace412 Refactor authorization helper to separate some methods
Methods regarding to role hierarchi are now delegated to a parent role helper.
2021-11-03 15:35:38 +01:00
e9192c5011 adaptations for third party search 2021-10-12 09:37:35 +02:00
0dbff5a6a7 rename tests for PickCenterType and desactivate them 2021-10-11 14:08:36 +02:00
ed8a569fea remove obsolete test 2021-10-04 16:30:08 +02:00
315253589e create api endpoint for duplciating address 2021-09-29 11:32:23 +02:00
d5d12c4a17 fix tests for user controller 2021-09-28 15:54:08 +02:00
b06e726ad1 fix required fields in user controller test 2021-09-22 12:28:14 +02:00
b6c58a5c31 Continue work on ACL rewritting
* fix center resolver dispatcher
* add scope resolver
* tests for authorization helper
2021-09-20 13:56:44 +02:00
74598ee926 apply new role on accompanying period 2021-09-20 13:56:43 +02:00
dc09c9424a refactor ACL for easy voter. Apply on TaskVoter 2021-09-20 13:56:43 +02:00
85835c8b0d Merge branch 'features/api-search' into 'master'
Features/api search

See merge request Chill-Projet/chill-bundles!98
2021-06-29 14:50:28 +00:00
dd991e3572 add test 2021-06-28 23:02:15 +02:00
a43e6c12a0 add tests for UserApiController 2021-06-26 11:08:26 +02:00