84f515d451
Merge remote-tracking branch 'origin/master' into upgrade-sf5
2024-05-28 14:16:01 +02:00
3e2ff463bc
make the script which subscribe to user calendars on ms-graph more tolerant to errors
...
The script does not fails and exit when some calendar settings are not reachable
2024-04-26 13:56:24 +02:00
b2eb2b0968
Update calendar authorization checks
...
The CalendarDocVoter now also supports Calendar instances, not only CalendarDoc instances. This allows refining permissions checks based on the actual instance type. In addition, the ChillCalendarBundle's view has been updated to correctly use permissions when displaying action buttons. Obsolete TODO comments are also removed.
2024-04-10 21:15:49 +02:00
ca398195b0
Add missing label for pick-entity / AddPerson
2024-04-10 16:27:23 +02:00
19ffef156b
Fix use of Ordering constant in doctrine orm association
...
See https://github.com/doctrine/orm/issues/11313 for a follow-up
2024-04-08 13:10:38 +02:00
0ff4593863
Apply rector rules: add annotation for doctrine mapping
2024-04-05 13:11:42 +02:00
a3f775a69b
Apply rector rules: add annotation for doctrine mapping
2024-04-05 00:19:30 +02:00
72016e1a21
Apply rector rules: add annotation for doctrine mapping
2024-04-05 00:01:30 +02:00
579bd829f8
Apply rector rules: symfony up to 54
2024-04-04 23:30:25 +02:00
92800f5dd0
fix cs
2024-04-04 22:19:56 +02:00
931c69eee4
Merge remote-tracking branch 'origin/master' into upgrade-sf5
2024-04-04 18:45:01 +02:00
1d636f5e9e
Fix deprecations and code style issues
2024-03-07 15:26:58 +01:00
5b714f17be
order scopes alphabetically
2024-02-26 14:40:41 +01:00
bbb167bb85
order user jobs alphabetically when returning all active user jobs
2024-02-26 13:36:44 +01:00
b9ae878791
Aggregators: Update test methods to static and return array
...
Modified aggregator test methods throughout the Chill project to be now static methods. Also updated yield construction to array returns for more standardised code.
2024-02-16 21:33:57 +01:00
35d55cced4
Update test methods to static in AbstractFilterTest
...
The methods getFormData() and getQueryBuilders() across multiple test classes have been updated to static methods. This refactoring is part of a broader effort to improve code structure and readability. A rector rule has been employed to assist in the systematic update of these existing methods.
2024-02-16 19:09:15 +01:00
f251e6f100
upgrade phpunit: make data provider static
2024-02-14 12:28:14 +01:00
f889d67e94
fixes after merge of master into upgrade-sf4
2024-02-12 22:31:16 +01:00
37af488f69
Merge branch 'master' into upgrade-sf5
2024-02-12 21:50:34 +01:00
036fe8d6f8
upgrade php-cs 3.49
2024-02-07 10:43:53 +01:00
3c8e59e088
php cs fixes after updating php cs fixer
2024-01-10 10:31:25 +01:00
825cd127d1
update php-cs-fixer and rector + fix rules
2024-01-09 13:50:45 +01:00
5703fd0046
Refactor code to directly use Doctrine's ManagerRegistry
...
Replaced most of the invocations of getDoctrine()->getManager() with ManagerRegistry->getManager(), and added ManagerRegistry injection to controllers where needed. This is part of an ongoing effort to improve code clarity, and avoid unnecessary method chaining in various parts of the codebase.
2023-12-16 19:09:34 +01:00
1098bafd3d
Replaced the deprecated 'self::$container->get' with 'self::getContainer()->get' using rector
...
This change is made to comply with the new Symfony standards and to avoid deprecation warnings for future versions. The update touches various functionalities, including retrieving EntityManagerInterface instance and various service classes within the test files.
2023-12-14 23:36:56 +01:00
da997badd9
Fix phpstan issues
2023-12-12 22:43:44 +01:00
16a5745df9
Update composer to symfony 5 (without config)
2023-12-12 16:08:45 +01:00
43966c4d5a
remove the change of timezone in test's setUp
2023-11-09 16:01:34 +01:00
a6e930958b
[export] create a parameter that will force to skip the filtering by center (ACL) when generating an export
2023-10-19 17:19:28 +02: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
be8975ee04
Merge branch '146_parcours_annules' into rector/rules-symfony
2023-10-16 17:52:06 +02:00
304bf4258b
Remove usage of setParameters in various filters
2023-10-16 16:20:25 +02:00
b65f76262a
Refactor filters and aggregators of "acpwusers" for using the acpw referrer history instead
2023-10-16 16:20:24 +02:00
51a4ffca2e
Fix cs with new cs rules (php-cs-fixer version 3.35)
2023-10-16 11:59:49 +02:00
ada28265ee
change join to leftjoin
2023-10-04 14:26:06 +02:00
dac48ea4e0
last processing of review remarks
2023-10-04 11:19:39 +02:00
15e23087ed
cs-fixer, phpstan et rector
2023-10-04 09:45:15 +02:00
31fc7fffe9
[export] fix calendar filters/aggregators + tests: 'at' based on calendar date
2023-10-03 19:42:06 +02:00
84ba626fb5
add missing form child in getFormDefaultData() + sort methods
...
try to resolve 2 last unit tests errors on ci (no errors in local)
2023-10-03 19:42:06 +02:00
4460db1dc4
Fix syntax error
2023-10-03 19:40:23 +02:00
e4cf07c7b3
rector fix error
2023-10-03 19:40:23 +02:00
9db0011b2e
[export] fix acp ReferrerScopeAggregator query + unit test
...
TO CHECK: logic in alterQuery. calc_date is same for 2 histories ?
2023-10-03 19:40:23 +02:00
3f4a42adb2
[export] fix calendar scope/job Filters query + unit test (partial)
2023-10-03 19:40:23 +02:00
f18ee2383c
[export] fix calendar scopeAggregator query + unit test
2023-10-03 19:40:23 +02:00
28583f4193
[export] fix calendar jobAggregator query + unit test
2023-10-03 19:40:23 +02:00
0c5b35926b
php cs fixer and phpstan
2023-09-29 07:52:50 +02:00
b38f5800d9
Adapt calendar exports to not take into account calendars of canceled accompanying periods
2023-09-29 07:48:54 +02:00
754515f185
php cs fixes
2023-09-14 12:25:56 +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