692 Commits

Author SHA1 Message Date
3aac4d5d35
FEATURE add download button to document listing 2023-03-09 17:41:31 +01:00
23cee274a5
FEATURE [documents][listing] show document titles in activity listing if there are any and user has see_detail rights 2023-03-09 17:41:31 +01:00
f376b1af49 UX: [badges] uniformize user badges in lists, shows and dashboards 2023-03-07 16:23:41 +01:00
672418e70a
Merge branch 'master' into upgrade-php82 2023-03-06 16:37:09 +01:00
e78eb8789d
FIX [private comment] show private comment in activity listings 2023-03-06 13:39:34 +01:00
f5d17eb38c
Merge remote-tracking branch 'origin/master' into issue715_household_move_email 2023-03-06 12:20:20 +01:00
8695099819
DX: fix phstan & cs 2023-03-05 17:43:44 +01:00
b1d4334c0f
DX: fix phpstan issues 2023-02-28 22:07:52 +01:00
318599334e
Fix phpstan issues 2023-02-28 21:43:28 +01:00
7dc07129f8
Merge branch 'master' into upgrade-php82 2023-02-28 18:21:51 +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
f07ea3259e php cs fixes 2023-02-22 11:54:03 +01:00
096e2f6e40
DX: fix cs 2023-02-17 22:20:09 +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
6d2c6fb6e1 FIX [renaming][translation] changing a translation for concerned groups in activities 2023-02-10 10:51:16 +01:00
950ca42f68
Merge branch 'master' into upgrade-php82 2023-02-09 18:43:02 +01:00
cc62c9cc4a Feature: [export][activity] Add filter on localisation for activities 2023-02-08 15:42:44 +00:00
8ccce12e54
DX: fix phpstan errors 2023-02-07 23:49:56 +01:00
70871176fc
DX: fix cs 2023-02-06 17:47:54 +01:00
584ac05b53
DX: fix phpstan errors 2023-02-04 01:19:34 +01:00
9f5b11e6cc Feature: allow to convert to PDF from Chill and group action button on document
BREAKING CHANGE: avoid using the macro for download button. To keep the UI clean, use always the new "group of action buttons".
2023-01-31 16:30:19 +00:00
459df26fef
DX: fix cs 2023-01-25 13:36:35 +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
164beb3ca9
Fixed: [Activity] fix appearance of reason list in Activity form
Fix https://gitlab.com/Chill-Projet/chill-bundles/-/issues/44
2023-01-13 16:15:05 +01:00
25dd65fbd8
Feature: [admin][ActivityReason] improve administration for activity reason
* list alphabetically;
* show "active" in index
2023-01-13 15:40:51 +01:00
e99fb75ebd
Fixed: Fixed loading the list of activity reason category, in dedicated type
fix https://gitlab.com/Chill-Projet/chill-bundles/-/issues/35
2023-01-13 15:33:14 +01:00
01790fa0cf
Fixed: [export] Fix checking of null value: take also empty string value 2023-01-11 17:42:50 +01:00
1f48900434
DX: fix CS 2023-01-11 16:55:10 +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
5fea61c450
Fixed: [export][activity type filter for acp] fix filter for acp, by activity type
Use an `EXISTS` subquery instead of a JOIN.
2023-01-11 16:34:10 +01:00
3ca2811494
Feature: set parameters for add_address as global
The parameter `window.addaddress` is now global and can be reached to all page. This ensure backward compatibility.
2022-12-22 11:22:24 +01:00
7a1cc9b076
Merge remote-tracking branch 'origin/master' into cire16 2022-12-22 10:22:58 +01:00
5211d092e3 Merge branch 'testing' into VSR-issues 2022-12-15 14:46:30 +01:00
f17c08f530 Feature: [accompanying-course-work] add new page to show an accompanying-course work 2022-12-14 18:26:39 +01:00
ff930e94f6 FEATURE: [export][form] use select2 for more user friendly form field 2022-12-13 10:07:00 +01:00
38ff46f03f FIX: [export][activity] mistake in the alias 2022-12-13 10:00:55 +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
34602d0a56 Fixed: markdown resolution for private comments
note: j'ai une branche locale wip ou j'essaie d'implémenter un renderbox pour les private comments
2022-12-08 16:24:48 +01:00
aca81122d5
Merge branch 'calendar/finalization' into testing 2022-12-08 13:42:25 +01:00
531b49a536
Merge branch '111_exports_suite' into calendar/finalization 2022-12-06 21:21:01 +01:00
060d5d5ca3
Merge remote-tracking branch 'origin/master' into 111_exports_suite 2022-12-05 20:52:33 +01:00
368136ea57
Feature: [activity][list] Fix list for activities and refactor list with an helper 2022-12-05 18:26:01 +01:00
88fb48e2be
Fixed: let the aggregator "Activity by type" be shown again 2022-12-05 18:26:01 +01:00
593caec851
Merge remote-tracking branch 'origin/111_exports_suite' into calendar/finalization 2022-11-25 15:29:17 +01:00
9913938c1b show x instead of 1 or 0 for boolean field in export 2022-11-25 14:19:22 +01:00
7c8ac8cfcb Merge branch '111_exports_suite' into testing 2022-11-25 14:17:16 +01:00
3ebf3ae148 fix activity list export for linked with person 2022-11-25 14:16:44 +01:00
cd54fdd13f
Feature: [activity] automatically add a person to an activity, if
created in the person context

See https://gitlab.com/Chill-Projet/chill-bundles/-/issues/28
2022-11-18 16:12:49 +01:00