d0ee381627
Upgrade of php-cs-fixer
2024-09-11 14:21:32 +02:00
56d173046d
fix phpstan, cs, and rector rules
2024-05-28 12:54:56 +02:00
036fe8d6f8
upgrade php-cs 3.49
2024-02-07 10:43:53 +01:00
27ce322690
upgrade php-cs-fixer to 3.47.0
2024-01-22 12:14:39 +01:00
3c8e59e088
php cs fixes after updating php cs fixer
2024-01-10 10:31:25 +01:00
bc2041cbdd
apply more cs rules for php-cs
2023-10-17 13:27:03 +02:00
a6fcdb5256
Merge remote-tracking branch 'origin/rector/rules-symfony' into rector/rules-symfony
2023-10-16 18:07:42 +02:00
6b8d6b76ba
Upgrade code from 146 to new standards
2023-10-16 18:04:40 +02:00
51a4ffca2e
Fix cs with new cs rules (php-cs-fixer version 3.35)
2023-10-16 11:59:49 +02:00
58e189ee07
Improve type declaration
2023-10-04 11:21:39 +02:00
d8b0e0671a
ScopeResolverDispatcher: better type hinting
2023-09-26 16:59:09 +02:00
cd9611a669
Remove unused dependency on DefaultVoter (+ fix when throwing an exception)
2023-09-13 10:12:04 +02:00
d3b68f8f8f
AuthorizationHelper: compare center and scope based on id, not on equality
...
For an unknown reason, in some circumstances, the use of the `===` comparator does not work when comparing Center instances and Scope instances. Then, we compare them based on the id.
2023-09-13 10:08:44 +02:00
d2323e91ca
new cs rule: single_line_empty_body
...
Rule is added to the last version of php-cs-fixer
2023-09-12 15:58:59 +02:00
e72df84442
DX: rector corrections
2023-09-01 11:08:13 +02:00
7c58880139
Remove usage of deprecated Role class
2023-08-31 17:08:18 +02:00
f570fe92a5
apply rector rules
2023-07-28 02:40:02 +02:00
c20f65eebb
apply rector rules: symfony **UP TO** 44
2023-07-28 01:52:53 +02:00
aa553db659
apply rector rules after updating the code with master branch
2023-07-19 23:43:26 +02:00
023a29cb78
apply rector rules: php up to php82
2023-07-19 23:19:50 +02:00
74ed34ba97
apply rules rector
2023-07-19 22:48:26 +02:00
224c2c74e8
Merge remote-tracking branch 'origin/master' into rector/rules-up-to-php80
...
Conflicts:
src/Bundle/ChillActivityBundle/Controller/ActivityController.php
src/Bundle/ChillActivityBundle/Export/Aggregator/ACPAggregators/DateAggregator.php
src/Bundle/ChillActivityBundle/Menu/PersonMenuBuilder.php
src/Bundle/ChillActivityBundle/Repository/ActivityACLAwareRepository.php
src/Bundle/ChillActivityBundle/Service/DocGenerator/ActivityContext.php
src/Bundle/ChillCalendarBundle/Command/MapAndSubscribeUserCalendarCommand.php
src/Bundle/ChillCalendarBundle/RemoteCalendar/Connector/MSGraph/MSGraphUserRepository.php
src/Bundle/ChillDocStoreBundle/Controller/DocumentAccompanyingCourseController.php
src/Bundle/ChillDocStoreBundle/Controller/DocumentPersonController.php
src/Bundle/ChillDocStoreBundle/Repository/PersonDocumentACLAwareRepository.php
src/Bundle/ChillEventBundle/Search/EventSearch.php
src/Bundle/ChillMainBundle/Controller/ExportController.php
src/Bundle/ChillMainBundle/Controller/PermissionsGroupController.php
src/Bundle/ChillMainBundle/Cron/CronManager.php
src/Bundle/ChillMainBundle/Entity/CronJobExecution.php
src/Bundle/ChillMainBundle/Export/ExportManager.php
src/Bundle/ChillMainBundle/Form/Type/Export/PickCenterType.php
src/Bundle/ChillMainBundle/Form/Type/Listing/FilterOrderType.php
src/Bundle/ChillMainBundle/Repository/NotificationRepository.php
src/Bundle/ChillMainBundle/Templating/Listing/FilterOrderHelper.php
src/Bundle/ChillMainBundle/Templating/Listing/FilterOrderHelperBuilder.php
src/Bundle/ChillMainBundle/Templating/Listing/FilterOrderHelperFactory.php
src/Bundle/ChillPersonBundle/Controller/AccompanyingCourseWorkController.php
src/Bundle/ChillPersonBundle/Controller/SocialWorkSocialActionApiController.php
src/Bundle/ChillPersonBundle/Export/Aggregator/PersonAggregators/AgeAggregator.php
src/Bundle/ChillPersonBundle/Export/Export/ListAccompanyingPeriod.php
src/Bundle/ChillPersonBundle/Export/Export/ListHouseholdInPeriod.php
src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriodACLAwareRepository.php
src/Bundle/ChillPersonBundle/Security/Authorization/AccompanyingPeriodVoter.php
src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodContext.php
src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodWorkEvaluationContext.php
src/Bundle/ChillPersonBundle/Service/DocGenerator/PersonContext.php
src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php
src/Bundle/ChillTaskBundle/Controller/SingleTaskController.php
2023-07-17 12:49:13 +02:00
dd344aed52
Implements right "see confidential course" on method findByPerson
...
Add unit tests for that
2023-07-04 15:59:39 +02:00
7e19419861
fixes for last rebase and fixes for runtime
2023-04-28 23:03:36 +02:00
c35994203d
fix phpstan issues
2023-04-28 22:55:01 +02:00
dde3002100
DX: apply rector rules up to php8.0
2023-04-28 22:30:33 +02:00
9918cf2d58
Fix: authorization helper won't send a list of center if an admin is authenticated
2023-04-24 15:50:27 +02:00
cb1ea8c622
DX: [mailer] deprecate the chill mailer based on swift mailer
2023-04-19 12:23:15 +02:00
4db1ff405e
fix new phpstan issues
2023-04-11 13:04:08 +02:00
841bdb0ebf
fix issues from master
2023-04-11 11:43:01 +02:00
ef13833966
Fixed: [create person] handle case when the user has two differents groups in the same center
...
Fix https://gitlab.com/Chill-Projet/chill-bundles/-/issues/72
2023-04-11 10:16:09 +02:00
386d1e44d0
Fixed: [accompanying course document] fix access to accompanying course document
...
The entity AccompanyingCourseDocument didn't had any center associated with this entity. Implementing the interface `HasCenterInterface` fixed the problem.
Fix https://gitlab.com/Chill-Projet/chill-bundles/-/issues/83
2023-04-05 19:29:33 +02:00
584ac05b53
DX: fix phpstan errors
2023-02-04 01:19:34 +01:00
e7ac8aafe1
DX: Fix missing import for AuthorizationHelperForCurrentUserInterface
2023-01-11 16:16:48 +01:00
1585a73974
DX: [authorization helper] Create an authorization helper with current user already available
...
See https://gitlab.com/Chill-Projet/chill-bundles/-/issues/14
2022-12-21 17:25:22 +01:00
74673380aa
Fixed: [calendar] refactor ACL on calendar
2022-11-28 12:22:58 +01:00
43791badd5
Feature: [saved export] Edit and delete saved exports
2022-11-08 19:24:22 +01:00
79e9906a05
Feature: [saved export] Générate a report from a saved export
2022-11-08 18:02:26 +01:00
0609fdee14
[workflow] Feature: allow user to retrieve the access link for the
...
workflow + show dest email for a workflow
2022-10-10 20:52:07 +02:00
f64952a93e
Merge branch 'master' into 111_exports_suite
2022-10-08 00:50:17 +02:00
6b5f746efc
Remove deprecation of AuthorizationHelper::getReachableScope
, as it is
...
widely used
2022-10-08 00:23:07 +02:00
9699e2304a
fix cs: declare type and license header mismatch
2022-10-06 22:25:43 +02:00
49731777b4
fix cs: declare type and license header mismatch
2022-10-06 20:51:44 +02:00
b394d7247d
fix cs: too much line before declaring strict type
2022-10-06 08:55:32 +02:00
fb7c6f0a9b
fix cs: too much line before declaring strict type
2022-10-06 08:54:23 +02:00
67c3f3a840
fix cs with licencse header
2022-10-05 17:08:14 +02:00
63137c67f4
fix cs
2022-10-05 16:55:13 +02:00
a967e1ed17
fix cs
2022-10-05 15:23:28 +02:00
e379d8adb5
[feature] use internal services to check for acl on exports
2022-09-17 08:23:28 +02:00
f64409e5e6
allow every person which has part for a workflow to see the workflow page
2022-04-07 16:06:26 +02:00