746ed4f5e5
DX: fix cs
2023-04-15 00:43:55 +02:00
858ade467c
DX: rector rules upt to PHP 74
2023-04-15 00:20:19 +02:00
b9a7530f7a
DX: apply rector rulesset up to PHP72
2023-03-29 22:32:52 +02:00
9699e2304a
fix cs: declare type and license header mismatch
2022-10-06 22:25:43 +02:00
67c3f3a840
fix cs with licencse header
2022-10-05 17:08:14 +02:00
6998043159
Fixed: do not allow to create activities when no rights to do it
...
The ACTIVITY_FULL role does not give anymore the roles
CHILL_ACTIVITY_CREATE_PERSON and CHILL_ACTIVITY_CREATE_ACCOMPANYING_COURSE.
Tags: #BC
2022-07-11 19:31:24 +02:00
Pol Dellaiera
8401ce2656
cs: Fix code-style (using PHPCSFixer and PHPCS).
2021-12-21 10:59:23 +01:00
f10d762e59
Eventlistener to create accompanyingPeriodWork
2021-12-06 13:57:10 +00: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
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
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
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
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
f16f45f3f3
Bugfix/activity fix role inheritance
2021-11-05 14:13:00 +00:00
075f22e79c
configure SocialIssue consistency on Activity and AccompanyingPeriod
2021-08-22 00:02:22 +02:00
2c49afe549
Merge branch 'master' into features/activity-form
2021-05-27 10:44:21 +02:00
a9fb916843
fix activityBundle menuBuilder definition
2021-05-27 10:37:24 +02:00
Jean-Francois Monfort
c233c481b6
WIP Activity Model
2021-04-15 17:33:41 +02:00
Jean-Francois Monfort
8acd852070
Fix uls
2021-04-15 14:45:52 +02:00
Jean-Francois Monfort
580dc71218
ActivityType replace Admin Conroller with Crud system
2021-04-01 16:22:33 +02:00
Jean-Francois Monfort
24a7d7b34b
new entity ActivityTypeCategory + CRUD
2021-04-01 15:44:05 +02:00
6d42196093
Prepare for moving into monorepo
2021-03-18 12:46:39 +01:00