bad302f512
Update template pathes to new syntax
2023-10-02 13:56:22 +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
009a0326d9
Configure routes using annotation
2023-08-02 23:05:33 +02:00
e839b03cc9
Update path to twig template with new syntax
2023-07-28 12:16:50 +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
20489813f0
FIX [route] adjust to using new route name in redirect
2023-05-31 14:38:05 +02:00
e9fdabf931
Remove old list for person document
2023-05-30 21:24:53 +02:00
40af1e64ac
[generic doc] listing generic doc for person
2023-05-30 21:24:04 +02:00
eb107f5a15
add filter for generic doc + fix issues in filter
2023-05-30 12:46:05 +02:00
2b5d007fda
Remove old doc index page, replace by the generic doc index page
2023-05-25 11:09:26 +02:00
e550817ded
Render for generic doc
2023-05-25 09:55:46 +02:00
8dbe2d6ec2
GenericDoc: add provider for AccompanyingCourseDocument, without filtering
2023-05-24 17:09:29 +02:00
afcd6e0605
bootstrap generic doc manager and associated services
2023-05-24 17:05:56 +02:00
dde3002100
DX: apply rector rules up to php8.0
2023-04-28 22:30:33 +02:00
c35ca3dbeb
DX: fix cs
2023-02-28 22:39:33 +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
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
nobohan
b7ed658f96
admin: fix new document category
2022-05-10 17:01:09 +02:00
27e74014ce
replace fqdn in docstore bundle
2022-04-30 00:48:38 +02:00
26d5bf03bd
add order by on document list
2022-04-20 10:00:48 +02:00
6edf0bcb3b
fix delete links in documents
2022-03-03 13:57:00 +01:00
6171b3411f
fix creation of document when overriding center resolver
2022-03-03 13:07:36 +01:00
c8e5ba4738
phpcsfixes
2022-02-11 16:04:01 +01:00
bf0b7f1bb2
Create AccompanyingCourseDocumentRepository and use to add pagination
2022-02-11 16:04:01 +01:00
d6cc69b919
Add pagination in the findBy()
2022-02-11 16:04:01 +01:00
89383a5ec4
deprecated service replaced and error removed from phpstan file
2022-02-11 16:04:00 +01:00
6fa99655b2
delegates the acl for fetching person documents to an ACLAwareREpository
2022-02-11 16:04:00 +01:00
e0c7daf3fd
Pagination added
2022-02-11 16:04:00 +01:00
36890a2256
person document: fix use of deprecated role class
2021-12-17 00:33:02 +01: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
f531cdc0ec
cs: Enable a couple of risky rules.
2021-11-30 09:39:45 +01:00
Pol Dellaiera
8f96a1121d
cs: Fix code style (safe rules only).
2021-11-23 14:08:50 +01:00
Pol Dellaiera
c68bda5c9b
fix: SA: Fix "...invoked with..." rule.
...
SA stands for Static Analysis.
2021-11-16 12:16:02 +01:00
250bd29ab3
add voter for documents
2021-11-04 23:40:30 +01:00
2e5c2de363
Documents can be added/viewed/edited for an accompanyingCourse + menu entry added
2021-09-14 15:44:06 +02:00
5211fb2fe9
Documents added to accompanying course menu
2021-09-09 16:42:53 +02:00
b11592fb6d
templates added and adapted, still problems with scope
2021-09-03 16:05:55 +02:00
46560da67d
start of controller and formtype: adaptation from DocumentPersonController
2021-09-03 12:20:34 +02:00
eaa0ad925f
fix folder name
2021-03-18 13:37:13 +01:00