3927 Commits

Author SHA1 Message Date
c729a14304 FIX [minor] remove dump, use statement, ... 2023-03-20 07:54:16 +01:00
1cc80c8e6a
Fixed: takes all activity into account to check social issue consistency 2023-03-16 00:12:41 +01:00
44ecad2bca
Fixed: re-introduce creator in async doc generation 2023-03-15 13:38:19 +01:00
eaea702454 FIX add initial user as suggestion and fix error when there are no suggestions 2023-03-15 10:14:25 +01:00
de4cb1585b FIX [normalizer] remove keys to have simple array of objects 2023-03-15 09:49:46 +01:00
1a3d66213b FIX [review] implement changes based on review 2023-03-15 09:37:56 +01:00
67e68ac149 FIX [review] processing review, but stuck at transformation of json string to array 2023-03-15 09:37:56 +01:00
4c7a16587b [workflow][method] add method to get involved/suggested users 2023-03-15 09:37:56 +01:00
9c589b9296 FEATURE [suggested][entities] add suggested entities option to dynamic picker types 2023-03-15 09:37:56 +01:00
4a30f310b8 FIX [referrer][deselect] allow referrer to be deselected in parcours edit form 2023-03-13 16:41:43 +01:00
d893e3a664 Fixed: [export] query in goal and results filter
https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/700
2023-03-13 15:45:32 +01:00
d1e8e6c18e simplify alterquery 2023-03-13 14:15:48 +01:00
a272dabcaf Merge branch 'master' of gitlab.com:Chill-Projet/chill-bundles 2023-03-10 12:04:10 +01:00
3901fe2d32 FIX [translations][dutch] change some dutch translations 2023-03-10 12:03:33 +01:00
244614a691
Merge remote-tracking branch 'origin/master' into upgrade-php82 2023-03-09 18:02:33 +01:00
f376b1af49 UX: [badges] uniformize user badges in lists, shows and dashboards 2023-03-07 16:23:41 +01:00
dd621186e8 improve 2023-03-06 18:07:06 +01:00
1b15abe635 oops.. with condition 2023-03-06 17:59:55 +01:00
1965fc55f4 Fixed button DocumentActionsButtonsGroup display bug
- improve document table
- add a smallfont css classe to handle table style
when called from index or from show page
2023-03-06 17:47:33 +01:00
672418e70a
Merge branch 'master' into upgrade-php82 2023-03-06 16:37:09 +01:00
c0675aee9b
Fixed: set referrer from suggestion 2023-03-06 13:28:47 +01:00
03ee04978c
FEATURE [confirm][popup] Add a popup asking for confirmation when referrer is changed to prevent mistakes and unecessary notifications 2023-03-06 13:20:10 +01:00
e982e81900
FIX [post] adjust vue components to allow thirdparty to be posted with new profession type as string 2023-03-06 13:01:21 +01:00
e50b02a8c7
FIX [rendering] adjust vue components to correctly render profession string 2023-03-06 13:01:21 +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
4dbb195b45
Merge remote-tracking branch 'origin/master' into upgrade-php82 2023-03-03 16:18:47 +01:00
73f332927d FIX [personMatcher] wrong syntax was used to setParameter for query in similar person matcher 2023-03-02 11:45:41 +01:00
f07aaecc3d FEATURE [export][eval] add timespent field to the list_evaluation export. Value in minutes 2023-03-01 17:54:36 +01:00
9696a8194c
DX: use the UserRenderBoxBadge to display user in AddPerson 2023-03-01 16:10:51 +01:00
6749758b46
Fixes for features "allow to set user absences" 2023-03-01 16:08:49 +01:00
f1ebc089c3
Merge remote-tracking branch 'origin/master' into user_absences 2023-03-01 14:59:43 +01:00
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
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
dbcc425f5f
DX: improve performance for counting feature linked to person 2023-02-28 17:22:54 +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
27f13e0dd1 FEATURE [menu][counters] show counter icon for person resources and residential address if there are any 2023-02-24 13:54:44 +01:00
f07ea3259e php cs fixes 2023-02-22 11:54:03 +01:00
1f4438690e FEATURE [email] add a line notifying referrer which user has moved a person or household 2023-02-22 11:36:57 +01:00
d62ba56cfe
fix some phpstan errors 2023-02-18 08:20:13 +01:00
096e2f6e40
DX: fix cs 2023-02-17 22:20:09 +01:00
744b62184a fix LoadHousehold fixture 2023-02-17 14:48:02 +01:00
9ff116797a FEATURE [store][component] final adjustments to methods to post time spent 2023-02-16 14:14:45 +01:00
e528e4f57a FEATURE [timespent][type] change type of time spent to integer 2023-02-16 14:14:45 +01:00
8957f3fed4 FEATURE [evaluation][serialization] add new time spent property to serialization 2023-02-16 14:14:44 +01:00
08b3d476a7 FEATURE [vue][form] incorporating the timeSpent field in the vue form 2023-02-16 14:14:44 +01:00
f75f6719bc FEATURE [eval][duration] property added to an to save the time spent working on evaluation 2023-02-16 14:14:44 +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