6024 Commits

Author SHA1 Message Date
a2681a02f9 remove deprecation on PersonHasCenterValidator and fix tests 2021-11-24 14:20:17 +00:00
95e306ccd6 Merge branch 'master' into 295_resume_retouches 2021-11-24 13:52:55 +01:00
41f0578966 changelog updated 2021-11-24 12:01:57 +01:00
cd9ce1b458 link to thirdparty resume page fixed 2021-11-24 11:59:11 +01:00
00fb82664f Merge branch 'master' into 295_resume_retouches 2021-11-24 11:47:47 +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
d0856a9a39 reformat to 4 spaces 2021-11-23 22:53:11 +01:00
Pol Dellaiera
d933a30847
ci: Enable PHPCSFixer diff on CI. 2021-11-23 16:21:27 +01:00
Pol Dellaiera
e209e5c186
chore: Remove PHPStan dependency - added by drupol/php-conventions. 2021-11-23 15:32:15 +01:00
Pol Dellaiera
0248dddc9e
cs: Fix AccompanyingCourseController. 2021-11-23 15:25:12 +01:00
Pol Dellaiera
cd55e80275
ci: Update Gitlab CI. 2021-11-23 15:19:01 +01:00
Pol Dellaiera
d586f848f5
chore: Update PHPStan configuration - add deprecations baseline. 2021-11-23 15:19:01 +01:00
Pol Dellaiera
ffbd572513
chore: Update .gitignore - add dev paths to ignore. 2021-11-23 15:19:01 +01:00
f23be44b9a fix: show validation message when closing course 2021-11-23 15:06:55 +01:00
da8422d0a7 use full text representation for referre in course banner 2021-11-23 15:06:55 +01:00
Pol Dellaiera
a2c209a857
cs: Third and last part. 2021-11-23 14:45:31 +01:00
Pol Dellaiera
3ea35682eb
cs: Second part - ignore test/app subdirectory. 2021-11-23 14:34:34 +01:00
Pol Dellaiera
5f37304796
cs: Remove "...use self;...". 2021-11-23 14:28:14 +01:00
Pol Dellaiera
1ddef0e232
cs: Add missing configuration file. 2021-11-23 14:27:50 +01:00
Pol Dellaiera
c288e11cb8
Update submodule. 2021-11-23 14:22:51 +01:00
Pol Dellaiera
4bd2894c4f
ci: Update CI add Code Style stage. 2021-11-23 14:10:12 +01:00
Pol Dellaiera
8f96a1121d
cs: Fix code style (safe rules only). 2021-11-23 14:08:50 +01:00
Pol Dellaiera
149d7ce991
chore: Add/update static files. 2021-11-23 14:05:45 +01:00
Pol Dellaiera
9c167df78a
sa: Fix SA issues. 2021-11-23 12:49:20 +01:00
Pol Dellaiera
ba9e5d10b5
Merge branch 'ci-update' 2021-11-23 12:42:12 +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
Pol Dellaiera
45063fa6fe
sa: Fix "...Variable property access on string...". 2021-11-23 12:41:03 +01:00
Pol Dellaiera
c5da567480
Update CI. 2021-11-23 12:39:38 +01:00
Pol Dellaiera
1e804f351c
fix: Strict types interfaces: VoterHelperInterface, ProvideRoleHierarchyInterface and ProvideRoleInterface. 2021-11-23 11:39:45 +01:00
Pol Dellaiera
328b4c4596
fix: Strict types interfaces: VoterHelperInterface, ProvideRoleHierarchyInterface and ProvideRoleInterface. 2021-11-23 10:40:34 +01:00
05dda33a7a Activity: fixes in voter
* the role CREATE is now transformed to CREATE_ACCOMPANYING_COURSE or
CREATE_PERSON when the subject is, respectively, a course or a person;
* the button at the list of activities is now labeled "create"
* the role FULL give access to both role
acTIVITY_CREATE_ACCOMPANYING_COURSE and ACTIVITY_CREATE_PERSON, but not
ACTIVITY_CREATE directly.
2021-11-23 09:06:05 +01:00
f9b33fdfb8 change definition of person involved: add all periods which are not closed 2021-11-23 09:05:36 +01:00
3eaa8494cd update changelog 2021-11-22 21:42:21 +01:00
0867965d9c Minor fixes for closing accompanying course:
* check that transition can be applyied in menu;
* change organisation for activityVoter, and check for authorization in
    Activity Controller
* fix label 'create' in accompanying course document
* minor fix in accompanying course document voter
* change color when course is closed and show old user, and startdate /
    enddate
2021-11-22 20:24:08 +01:00
4c1e416a14 Merge remote-tracking branch 'origin/master' into issue296_internal_close_accourse 2021-11-22 17:14:11 +01:00
e43d22c1e0 resume: improve resources bloc 2021-11-22 17:02:08 +01:00
6028167513 allow the case when the referrer is null 2021-11-22 16:33:36 +01:00
21b33fb4f6 accourse resume page: add requestor and resources informations 2021-11-22 15:05:52 +01:00
f3792b2ed6 Merge remote-tracking branch 'origin/master' into issue294_suggestPersonInActivity 2021-11-22 14:06:27 +01:00
764bb6a21f fixes for settign a localisation 2021-11-22 13:43:33 +01:00
69384a84d1 Merge remote-tracking branch 'origin/master' into issue133_user_current_location 2021-11-22 13:43:22 +01:00
99d412adc9 Merge branch 'bugfix/person-json-normalization-circular-reference' into 'master'
fix circular reference in center normalization

See merge request Chill-Projet/chill-bundles!229
2021-11-22 12:02:23 +00:00
2826e079e8 key "centers" for person is an array. key center deprecated 2021-11-22 12:59:36 +01:00
b43a3d394b fix circular reference in center normalization 2021-11-22 12:41:47 +01:00
fe3d4e1f0a fix return type for center resolver 2021-11-22 12:22:28 +01:00
4664394a89 Merge commit '98760bc5' 2021-11-22 11:10:51 +01:00
94b0e365e3 fix down migration 2021-11-22 11:01:55 +01:00
130deb26f3 fix banner and person entity render block with multiple centers 2021-11-22 11:01:51 +01:00
98760bc5e8 Merge remote-tracking branch 'origin/master' into doc/authorizaton-documentation-update 2021-11-22 10:30:05 +01:00