433 Commits

Author SHA1 Message Date
813adc70f4 Merge branch '52-repair-fixtures' into 'master'
Repair fixtures

See merge request Chill-Projet/chill-bundles!494
2023-03-01 13:57:21 +00:00
95984eff6d Apply 1 suggestion(s) to 1 file(s) 2023-03-01 13:55:35 +00:00
3db5b62d57
Feature: [UI] use download button group in calendar list 2023-02-28 22:37:46 +01:00
14df8fe9ad
DX: remove implicit creation of a variable 2023-02-28 22:09:07 +01:00
fe4388c884
Feature: [docgen] implements normalization of data on CalendarContext 2023-02-28 22:01:52 +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
5ee0ab5ab8 fix LoadInvite fixture (CalendarBundle) 2023-02-17 13:32:33 +01:00
4370349f10 fix LoadCalendarRange fixture 2023-02-17 13:32:05 +01: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
f653f8fd7a FIX [translations][wording] make distinction between parties concernees for an activity and an appointment in the translations 2023-02-10 11:30:26 +01:00
2c360e979b
DX: remove comments which contains previous admin icons 2023-01-25 13:41:44 +01:00
6b90a7d2a7
Merge branch 'master' into VSR-issues 2023-01-24 15:36:22 +01:00
583d7b24ba
Merge remote-tracking branch 'origin/export-2023-01-fixes' 2023-01-16 12:06:55 +01:00
6bba6f68b3
DX: Remove deprecation on $this->get inside controller 2023-01-13 16:40:13 +01:00
01790fa0cf
Fixed: [export] Fix checking of null value: take also empty string value 2023-01-11 17:42:50 +01:00
91494c07d5
Fixed: [export][Agreggator by type] handle correctly case when an acp or an activity does not have any location type 2023-01-11 16:55:03 +01:00
2deed644b6 Merge branch 'master' into VSR-issues 2022-12-15 15:19:43 +01:00
5211d092e3 Merge branch 'testing' into VSR-issues 2022-12-15 14:46:30 +01:00
2a9ebe436e prepare accompanying-course-work context for new template
* batch renaming css class name accompanying-course-work
* remove unused classes
* remove -list class
* remove double class
2022-12-14 15:00:38 +01:00
0f7d4ce5ee Admin Section: misc templates corrections and improvments
* reset admin vertical menu custom styles
* disable icons in admin vertical menu
* fix main content positioning in admin section
* fix table appearance in admin crud template
* new scope/center form: move submit button in record_action sticky area
* edit scope/center form: move submit button in record_action sticky area
* improve homogeneity in admin index pages: centers/scopes/users/jobs
* remove centered div old tags
2022-12-12 20:31:30 +01:00
333e524136
Merge branch 'calendar/finalization' into testing 2022-12-12 13:50:58 +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
aca81122d5
Merge branch 'calendar/finalization' into testing 2022-12-08 13:42:25 +01:00
c050c42a27
Fixed: [My Calendar Ranges] fix use of legacy mode in vue createI18n 2022-12-07 14:15:52 +01:00
feb760a97b
Merge branch 'calendar/finalization' into testing 2022-11-29 16:08:05 +01:00
e97a04ab54
Feature: [Calendar doc] Pick document to generate inside the edit/new form 2022-11-29 15:27:36 +01:00
c16454214d
Merge branch 'calendar/finalization' into testing 2022-11-28 21:38:35 +01:00
be5f87348b
Feature: [CalendarDoc] pick template for generating calendar directly in list 2022-11-28 21:37:17 +01:00
e71bb5d77b
Merge branch 'calendar/finalization' into testing 2022-11-28 14:54:26 +01:00
6cac298724
Feature: [Calendar doc] show an alert when document is linked to a previous datetime version of the calendar 2022-11-28 14:40:33 +01:00
39f410dc8f
Feature: [Calendar doc] complete CRUD for associating documents within Calendar 2022-11-28 14:33:06 +01:00
74673380aa
Fixed: [calendar] refactor ACL on calendar 2022-11-28 12:22:58 +01:00
72ae6fb2cd merge calendar/finalization into testing: fix conflicts 2022-11-28 09:33:24 +01:00
a73dca5efe
Feature: [calendar] show the number of calendars ignored by the date filter, in the list 2022-11-25 17:27:42 +01:00
8cbfe16c24
DX: Fix cs 2022-11-25 17:02:57 +01:00
9b32ce53c8
Fixed: [calendar] add a return path to calendar doc
See https://gitlab.com/Chill-Projet/chill-bundles/-/issues/23
2022-11-25 17:02:12 +01:00
788b1e9eeb
Fixed: [calendar] Fix picking calendar document templating, when adding document in person context 2022-11-25 16:51:41 +01:00
57e1786b99
Fixed: [calendar] Always show filter of calendars in list 2022-11-25 16:50:56 +01:00
6eb23c6073
Feature: [calendar] add proper location on short message text for next rendez-vous 2022-11-25 16:28:00 +01:00
b6e3baa5dc
DX: fix cs 2022-11-25 16:04:40 +01:00
02a7074218
Fixed: [calendar] Do not require scope when adding calendar roles 2022-11-25 15:57:50 +01:00
593caec851
Merge remote-tracking branch 'origin/111_exports_suite' into calendar/finalization 2022-11-25 15:29:17 +01:00
c1261f63e7 Merge branch 'testing' of gitlab.com:Chill-Projet/chill-bundles into testing 2022-11-16 18:41:42 +01:00
dafd715efd
Merge branch '111_exports_suite' into testing 2022-11-16 14:32:54 +01:00
e767557216 csfixer 2022-11-14 16:03:04 +01:00
68bfb082fc chill-bundles#25: replace ChillDateType by PickRollingDateType
batch/serial replacing
untested
2022-11-14 15:43:02 +01:00
17a7b053cf DX: remove unused variable 2022-11-02 12:56:13 +01:00
77a6e92f69 fix if condition in CalendarController + phpStan error 2022-10-26 11:08:37 +02:00
2e44689549 Merge branch 'calendar/finalization' into testing 2022-10-24 11:12:49 +02:00