1195767eb3
Add Twig AsyncUploadExtension and its associated test
...
Created AsyncUploadExtension under Chill\DocStoreBundle\AsyncUpload\Templating to provide Twig filter functions for generating URLs for asynchronous file uploads. To ensure correctness, AsyncUploadExtensionTest was implemented in Bundle\ChillDocStoreBundle\Tests\AsyncUpload\Templating. Service definitions were also updated in services.yaml.
2023-12-12 15:55:13 +01:00
4fd5a37df3
Add serializer groups to SignedUrl and SignedUrlPost classes, include tests
...
Serializer groups have been added to the SignedUrl and SignedUrlPost classes to ensure correct serialization. Two new test files were also included: SignedUrlNormalizerTest and SignedUrlPostNormalizerTest which test the normalization of instances of the classes.
2023-12-12 15:55:13 +01:00
450e7c348b
Fix and clean DI configuration for chill_doc_store for usage with AsyncUpload
2023-12-12 15:55:12 +01:00
a70572266f
Refactor TempUrlOpenstackGenerator to use parameter bag and Bundle configuration
...
The TempUrlOpenstackGenerator now uses a ParameterBag for configuration instead of individual parameters. This simplifies the handling of configuration values and makes the code more maintainable. The parameter configuration has also been included in the chill_doc_store configuration array for a unified approach.
2023-12-12 15:55:12 +01:00
d688022825
Add Controller to get asyncUpload signatures
...
Added new files for handling asynchronous file uploads in ChillDocStoreBundle. The new files include a controller for generating temporary URLs (AsyncUploadController.php), a security authorization file (AsyncUploadVoter.php), and a corresponding test file (AsyncUploadControllerTest.php). These implementations permit asynchronous uploads via POST, GET, and HEAD methods while maintaining security protocols.
2023-12-12 11:36:14 +01:00
264fff5c36
Implement asynchronous upload feature in Openstack Object Store
...
Those features were previously stored in champs-libres/async-upload-bundle
This commit introduces several new classes within the ChillDocStore bundle for handling asynchronous uploads onto an Openstack Object Store. Specifically, the TempUrlOpenstackGenerator, SignedUrl, TempUrlGeneratorInterface, TempUrlGenerateEvent, and TempUrlGeneratorException classes have been created.
This implementation will allow for generating "temporary URLs", which assist in securely and temporarily uploading resources to the OpenStack Object Store. This feature enables the handling of file uploads in a more scalable and efficient manner in high-volume environments.
Additionally, corresponding unit tests have also been added to ensure the accuracy of this new feature.
2023-12-12 11:36:14 +01:00
9ec5a633ad
Fix possible null values or not null values in some entity / string properties
2023-10-17 23:15:06 +02:00
bc2041cbdd
apply more cs rules for php-cs
2023-10-17 13:27:03 +02:00
bad302f512
Update template pathes to new syntax
2023-10-02 13:56:22 +02:00
65aa0a1588
Merge remote-tracking branch 'origin/master' into rector/rules-symfony
2023-09-27 15:25:29 +02:00
c2c14be9d7
Remove setId methods
2023-09-21 09:57:14 +02:00
eca26a15e6
Bugfix document mappedsuperclass should not contain id property
2023-09-19 09:42:46 +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
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
6f11dffcbd
Remove deprecation linked to kernel shutdown
2023-08-31 18:36:37 +02:00
b85cd1b994
DX: apply rector rules for phpunit up to 90
2023-08-31 11:08:42 +02:00
e4e52234ad
Rector: apply rules for doctrine code quality
2023-08-31 10:35:52 +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
f570fe92a5
apply rector rules
2023-07-28 02:40:02 +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
1cc61cee36
Fixed: fix CS + fix "my workflow" api when course or work has been delete
2023-07-14 09:44:05 +02:00
abe020f116
Merge remote-tracking branch 'origin/master' into 103-document-page
2023-06-27 18:31:14 +02:00
4632c18d93
restore feature: generate a document from period
2023-06-27 18:26:41 +02:00
7a1feaa8cb
show documents from person in list of document from course
2023-06-27 18:20:41 +02:00
7349be94c8
Merge remote-tracking branch 'origin/master' into 709-notification-eval-action
2023-06-13 23:05:51 +02:00
24049b9dfc
remove unused file
2023-06-13 15:33:03 +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
1f1ebb6adb
fix mismatch for key in different providers
2023-06-13 11:30:00 +02:00
4456fb3749
Fixing generic doc providers from calendar + fix cs
2023-06-13 11:01:40 +02:00
5196d26a3e
FEATURE [translations] add translations
2023-06-01 10:44:14 +02:00
47a3e30ec5
FEATURE [genericDoc] generic doc interface implemented for rendez-vous
2023-05-31 14:38:05 +02:00
20489813f0
FIX [route] adjust to using new route name in redirect
2023-05-31 14:38:05 +02:00
cb718a80de
Add accompanying period work evaluation documents to the list of documents for person
2023-05-31 12:23:34 +02:00
2b57807565
show generic doc accompanying course document in person generic doc list
2023-05-30 22:14:13 +02:00
da36c59616
refactor: rename class providing AccompanyingCourseDocument Generic doc
2023-05-30 21:52:36 +02:00
40ddd1f1ee
Add license
2023-05-30 21:25:33 +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
a3d3588b75
DX: fix json_decode signature
2023-05-26 22:01:02 +02:00
08874d734e
[generic doc] add doc provider and renderer for evaluation document
2023-05-26 21:58:52 +02:00
ff3dab0934
Fixed: vue downloadButton: add more log and various improvements
...
- create a dedicated button for opening
- use nextTick before clicking on the "opening" button
2023-05-25 12:36:47 +02:00