71 Commits

Author SHA1 Message Date
594ed4a5b4
Replace custom ShortMessage usage with Symfony’s SmsMessage.
Switched the entire short message notification system to leverage Symfony's Notifier component and its TexterInterface with SmsMessage. This update simplifies the implementation, removes custom short message handling, and aligns with Symfony's standardized approach.
2025-01-20 15:10:43 +01:00
f0f651edea
update cs after php-cs-fixer upgrade 2024-09-12 12:02:33 +02:00
305105faae Fix CalendarContextTest after faulty php cs fix 2024-08-14 15:27:00 +02: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
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
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
43966c4d5a
remove the change of timezone in test's setUp 2023-11-09 16:01:34 +01:00
bc2041cbdd
apply more cs rules for php-cs 2023-10-17 13:27:03 +02:00
b65f76262a
Refactor filters and aggregators of "acpwusers" for using the acpw referrer history instead 2023-10-16 16:20:24 +02:00
31fc7fffe9 [export] fix calendar filters/aggregators + tests: 'at' based on calendar date 2023-10-03 19:42:06 +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
9375d50112
Merge remote-tracking branch 'origin/master' into rector/rules-symfony
# Conflicts:
#	src/Bundle/ChillAsideActivityBundle/src/Entity/AsideActivity.php
#	src/Bundle/ChillAsideActivityBundle/src/Export/Export/ListAsideActivity.php
2023-09-12 15:21:15 +02:00
75bca46b98
cs fixer 2023-09-07 12:16:47 +02:00
37c1dfb0ba
fix tests implementing AbstractAggregatorTest 2023-09-01 15:07:37 +02:00
a197a6b418
fix tests implementing AbstractFilterTest 2023-09-01 14:21:03 +02:00
355ed03500
Fix kernel booting problem on Aggregator and Filter tests 2023-09-01 11:08:15 +02:00
6f11dffcbd
Remove deprecation linked to kernel shutdown 2023-08-31 18:36:37 +02:00
2dfc228917
Fix initial query for calendar export query 2023-08-28 16:09:23 +02:00
667104a595
Fix test on CalendarType: use the real IdToEntityDataTransformer, mocking the repository 2023-08-28 16:09:21 +02:00
e2d62d5792
Fix loading of CalendarContext in CalendarContextTest. Needs to remove the final from PersonRepository 2023-08-28 16:09:21 +02:00
ebe1c11ca6
fix tests related to previous usage of deprecated STATUS_MOVED on Calendar 2023-08-28 16:09:20 +02:00
ea9c21e021
Fix calendarControllerTest: fix acl, and add calendar acl on fixtures 2023-08-25 23:09:46 +02:00
4b989fe25c
fix tests for filter and aggregators: boot kernel instead of calling parent::setUp 2023-07-30 22:21:57 +02:00
e45430f0c9
Merge branch 'rector/rules-up-to-php82' into rector/rules-symfony 2023-07-19 23:22:57 +02:00
023a29cb78
apply rector rules: php up to php82 2023-07-19 23:19:50 +02:00
77d4b13c1b
Sync user absence / presence within MapAndSubscribeUserCalendarCommand 2023-07-06 21:33:01 +02:00
2861945a52
Syncer for user absence, from the msgraph reader 2023-07-06 17:29:10 +02:00
5b42b85b50
Read absence from MS graph api 2023-07-06 16:58:24 +02:00
efaa01f4f6
DX: rector apply rules 'symfony up to 4.4 2023-05-05 18:21:33 +02:00
4ab4554e63
DX: embed test app inside bundle 2023-05-03 23:00:08 +02:00
6d63177ff4
apply rules rector up to php82 2023-05-01 21:39:45 +02:00
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
97a4c39941
Merge branch 'master' into upgrade-php82 2023-03-20 12:40:58 +01:00
44ecad2bca
Fixed: re-introduce creator in async doc generation 2023-03-15 13:38:19 +01:00
70871176fc
DX: fix cs 2023-02-06 17:47:54 +01:00
3c85b5ca92
Fixed: a bug for range generatoion during week-end
The range generator failed during week-end, because no range is selected (lastStart and endDate is null).

with this commit, the rangeGenerator may return null instead of an array, which means no sms will be send.
2022-12-12 13:09:31 +01:00
39f410dc8f
Feature: [Calendar doc] complete CRUD for associating documents within Calendar 2022-11-28 14:33:06 +01:00
bc1a7c1d7b Feature: [calendar] allow to create and generate calendar by person 2022-10-21 13:24:02 +02:00
63f3010395 Feature: [calendar][docgen] generation context for Calendar 2022-10-20 22:31:59 +02:00
b580bda2fb DX: [calendar] docgen normalization on Calendar entity 2022-10-19 22:02:43 +02:00
7e65e97caf fix cs: header and declare strict type order 2022-10-06 10:21:16 +02:00
087375f648 Merge branch '111_exports_suite' into calendar/finalization 2022-10-06 09:31:43 +02:00
67c3f3a840 fix cs with licencse header 2022-10-05 17:08:14 +02:00
642b1e43c8 fix cs 2022-10-05 15:30:55 +02:00