ab8da4ab7a
Resolve "Notification: envoi à des groupes utilisateurs"
2025-07-20 20:18:49 +00:00
37227a3aeb
Add attachments to workflow
2025-02-03 21:15:00 +00:00
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
633bb00154
fix typing of Datetime
2024-12-06 12:37:16 +01:00
f0f651edea
update cs after php-cs-fixer upgrade
2024-09-12 12:02:33 +02:00
f889d67e94
fixes after merge of master into upgrade-sf4
2024-02-12 22:31:16 +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
bc2041cbdd
apply more cs rules for php-cs
2023-10-17 13:27:03 +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
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
e2d62d5792
Fix loading of CalendarContext in CalendarContextTest. Needs to remove the final from PersonRepository
2023-08-28 16:09:21 +02:00
9846cd5acb
DX phpstan, csfix, remove dumps
2023-07-20 12:12:34 +02:00
767ed89f80
FIX [document][list] 'or' query statements were not added to query for rendez vous documents causing all rendez-vous documents from all users to appear in dossiers that had a parcours. 'Or' statements add to where clause
2023-07-20 10:52:22 +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
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
909d2dfb60
layout for rendering list
2023-06-13 15:00:16 +02:00
4456fb3749
Fixing generic doc providers from calendar + fix cs
2023-06-13 11:01:40 +02:00
7eb4fb4e56
FEATURE [calendar][docs] fix query to display rendez-vous documents from person and parcours contexts
2023-06-01 13:09:51 +02:00
59e1e02b92
FEATURE [calendar][docs] try to implement showing calendar docs from parcours context in person context
2023-06-01 10:45:55 +02:00
9a3fcf081e
FEATURE [personCalendar][genericDoc] implement genericDoc for calendar objects linked to a person
2023-05-31 17:10:38 +02:00
ef04a04056
FEATURE [genericDoc][calendar] minor changes to template and provider
2023-05-31 16:54:21 +02:00
4155af6686
FEATURE [genericDoc][calendar] use metadatas
2023-05-31 14:38:05 +02:00
47a3e30ec5
FEATURE [genericDoc] generic doc interface implemented for rendez-vous
2023-05-31 14:38:05 +02:00
efaa01f4f6
DX: rector apply rules 'symfony up to 4.4
2023-05-05 18:21:33 +02:00
6d63177ff4
apply rules rector up to php82
2023-05-01 21:39:45 +02:00
dde3002100
DX: apply rector rules up to php8.0
2023-04-28 22:30:33 +02:00
19034ac1d8
Merge remote-tracking branch 'origin/master' into refactor-using-rector-202303
2023-04-15 00:07:09 +02:00
2a4b73457b
DX: fix phpstan issues
2023-04-12 17:48:02 +02:00
b9a7530f7a
DX: apply rector rulesset up to PHP72
2023-03-29 22:32:52 +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
4dbb195b45
Merge remote-tracking branch 'origin/master' into upgrade-php82
2023-03-03 16:18:47 +01:00
c35ca3dbeb
DX: fix cs
2023-02-28 22:39:33 +01:00
14df8fe9ad
DX: remove implicit creation of a variable
2023-02-28 22:09:07 +01:00
d7737af4f3
Merge branch 'master' into upgrade-php82
2023-02-28 22:02:13 +01:00
fe4388c884
Feature: [docgen] implements normalization of data on CalendarContext
2023-02-28 22:01:52 +01:00
318599334e
Fix phpstan issues
2023-02-28 21:43:28 +01:00
a16244a3f5
Feature: [docgen] generate documents in an async queue
...
The documents are now generated in a queue, using symfony messenger. This queue should be configured:
```yaml
# app/config/messenger.yaml
framework:
messenger:
# reset services after consuming messages
# reset_on_message: true
failure_transport: failed
transports:
# https://symfony.com/doc/current/messenger.html#transport-configuration
async: '%env(MESSENGER_TRANSPORT_DSN)%'
priority:
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
failed: 'doctrine://default?queue_name=failed'
routing:
# ... other messages
'Chill\DocGeneratorBundle\Service\Messenger\RequestGenerationMessage': priority
```
`StoredObject`s now have additionnal properties:
* status (pending, failure, ready (by default) ), which explain if the document is generated;
* a generationTrialCounter, which is incremented on each generation trial, which prevent each generation more than 5 times;
The generator computation is moved from the `DocGenTemplateController` to a `Generator` (implementing `GeneratorInterface`.
There are new methods to `Context` which allow to normalize/denormalize context data to/from a messenger's `Message`.
2023-02-28 15:25:47 +00:00
9676975cd8
Revert "Feature: [docgen][stored object] handler for request generator and required fixes"
...
This reverts commit 91d21ba939
.
2023-02-16 14:08:11 +01:00
91d21ba939
Feature: [docgen][stored object] handler for request generator and required fixes
2023-02-14 23:26:00 +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
63f3010395
Feature: [calendar][docgen] generation context for Calendar
2022-10-20 22:31:59 +02:00
7e65e97caf
fix cs: header and declare strict type order
2022-10-06 10:21:16 +02:00
28c952521f
command for sending bulk sms with tests
2022-06-14 01:15:58 +02:00
4c0fef4f44
send message from cli through ovh if configured
2022-06-13 21:39:29 +02:00
616be5cc8a
bootstrap fake sms from cli
2022-06-13 14:01:07 +02:00