4f18b1d2b2
Add services and tests for associated entities management
...
Implemented services to provide associated persons and third parties for accompanying periods and their works. Included comprehensive tests to ensure proper functionality and associations.
2024-10-23 00:51:37 +02:00
611a968162
Duplicate and accompanying course evaluation document
...
- create a service which duplicate the accompanying course work evaluation document
- create a controller to duplicate this document
- update the vuejs component to use this duplicate action
2024-09-23 16:32:47 +02:00
313fb9ffdf
PHP CS Fixer updated (3.63.1 -> v3.64.0)
2024-09-04 14:38:56 +02:00
c82991674e
Rector changes: repositories become final readonly classes
2024-07-18 09:49:05 +02:00
931c69eee4
Merge remote-tracking branch 'origin/master' into upgrade-sf5
2024-04-04 18:45:01 +02:00
fc88a5f40d
Improve admin UX for configuration of document template (document generation)
2024-03-26 17:06:49 +00: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
978db5a5c5
update some queries in the interface to take into account history of user's scope and user's job
2023-10-16 11:52:02 +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
847fd71364
Fix tests on PersonContextWithThirdParty: fix construction of PersonContextWithThirdPartyTest
2023-08-28 16:09:22 +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
a56370d851
DX: fix phpstan issues with more strict type hinting in AuthorizationHelperInterface
2023-07-04 17:02:36 +02:00
5cbdea29e9
Merge remote-tracking branch 'origin/master' into 103-document-page
2023-06-13 15:14:17 +02:00
909d2dfb60
layout for rendering list
2023-06-13 15:00:16 +02:00
9c109d2efd
DX: use array spred instead of array_merge
2023-05-31 23:47:02 +02:00
80dfa092db
fixes: add tests for generation and fix some situation
2023-05-31 23:29:34 +02:00
cb718a80de
Add accompanying period work evaluation documents to the list of documents for person
2023-05-31 12:23:34 +02:00
eb107f5a15
add filter for generic doc + fix issues in filter
2023-05-30 12:46:05 +02:00
08874d734e
[generic doc] add doc provider and renderer for evaluation document
2023-05-26 21:58:52 +02:00
nobohan
1b0569c974
Feature: add thirdParty choice in docgen context - use array_values
2023-05-25 13:58:46 +02:00
nobohan
ad1b28ff11
Feature: add thirdParty choice in docgen accperiodworkevaluation context - phpcs fix again
2023-05-25 10:15:22 +02:00
nobohan
6232dabae5
Feature: add thirdParty choice in docgen accperiodworkevaluation context - phpstan
2023-05-25 10:10:52 +02:00
nobohan
ef59e6dc1c
Feature: add thirdParty choice in docgen accperiodworkevaluation context - phpcs fix
2023-05-25 09:59:16 +02:00
nobohan
303666b30d
Feature: add thirdParty choice in docgen accperiodworkevaluation context - clean code
2023-05-25 09:52:23 +02:00
nobohan
d0867f9aa3
Feature: add thirdParty choice in docgen person context
2023-05-25 09:52:23 +02:00
nobohan
db33fab097
Feature: add thirdParty choice in docgen accperiodworkevaluation context (WIP)
2023-05-25 09:52:23 +02:00
nobohan
91a19b9e99
Feature: add thirdParty choice in docgen accperiod context
2023-05-25 09:52:23 +02:00
dde3002100
DX: apply rector rules up to php8.0
2023-04-28 22:30:33 +02:00
ea4294d12d
add start date's accompanying period in accompanyingperiod info
2023-04-28 11:49:36 +02:00
f3e0302f3f
Feature: takes document and evaluation update into account for AccompanyingPeriodInfo
2023-04-28 11:49:34 +02:00
4974995ea2
Feature: add evaluation info to accompangyin preiod info
2023-04-28 11:49:34 +02:00
f2e1c73f37
Build parts to track info on accompanying period
2023-04-28 11:49:33 +02:00
47d0334b9e
Merge remote-tracking branch 'origin/master' into rector/rules-up-to-php74
2023-04-27 23:32:31 +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
d759b9c727
Fixed: [import social work metadata] make association from parent/child SocialIssue and SocialAction on the owning side
2023-04-14 13:14:41 +02:00
b9a7530f7a
DX: apply rector rulesset up to PHP72
2023-03-29 22:32:52 +02:00
48772efd54
DX: fix phpstan issues
2023-03-28 22:32:08 +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
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 91d21ba939e39af504888be3cced98d0b95a92bb.
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
ea5f8c9d08
Feature: [docgen][person] add a new context to generate document with a
...
third party
This allow to prepare, for instance, mail (letters) to a thirdparty
about a Person
2022-10-19 14:16:59 +02:00