207 Commits

Author SHA1 Message Date
909d2dfb60
layout for rendering list 2023-06-13 15:00:16 +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
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
2b5d007fda
Remove old doc index page, replace by the generic doc index page 2023-05-25 11:09:26 +02:00
e550817ded
Render for generic doc 2023-05-25 09:55:46 +02:00
d82a3e0ff6
Fixed: [download document] add a target when downloading document 2023-05-24 13:13:57 +02:00
5931b2f709 UX: [vue] Fix picto color in document actions dropdown 2023-05-23 16:30:26 +02:00
a8945f5701 Merge branch 'master' into 709-notification-eval-action 2023-05-22 10:52:59 +02:00
bbd3d2a83f
Fix: [document download] better memory management and introduce delay
before opening

Related to https://gitlab.com/Chill-Projet/chill-bundles/-/issues/98
2023-05-19 11:34:25 +02:00
Lucas Silva
cb37e8c006 Merge branch 'master' into 709-notification-eval-action 2023-04-26 13:46:41 +02:00
ba43b6b025 Fix: align ux design styles to chill theme 2023-04-25 17:57:33 +02:00
0af13b028e UX: improve admin templates 2023-04-14 13:02:36 +02:00
386d1e44d0
Fixed: [accompanying course document] fix access to accompanying course document
The entity AccompanyingCourseDocument didn't had any center associated with this entity. Implementing the interface `HasCenterInterface` fixed the problem.

Fix https://gitlab.com/Chill-Projet/chill-bundles/-/issues/83
2023-04-05 19:29:33 +02:00
78858e84f2
Fixed: force a name when downloading a document without filename
see https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/1005
2023-03-09 18:01:39 +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
3db5b62d57
Feature: [UI] use download button group in calendar list 2023-02-28 22:37:46 +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
b0ab591cbd
Feature: [Document action buttons] do now show "Editer en ligne" for document which are not editable 2023-02-07 16:50:07 +01:00
de55ff920f
Fixed: [budget] remove deprecated config repository and fix summary budget when generating document 2023-01-31 19:41:43 +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
6b90a7d2a7
Merge branch 'master' into VSR-issues 2023-01-24 15:36:22 +01:00
f17c08f530 Feature: [accompanying-course-work] add new page to show an accompanying-course work 2022-12-14 18:26:39 +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
ba261ddeb9
Fixed: show list of workflow, event if some accompanying course document associated to a workflow are deleted 2022-12-14 13:52:37 +01:00
a9bc98738e fix weird bug with ts import 2022-06-27 14:51:48 +02:00
d49859e474 change order for title in stored object 2022-05-27 22:32:06 +02:00
nobohan
dbdf435721 docstore: safer display of form.title 2022-05-27 09:39:13 +02:00
nobohan
60c163ae9d storedObject: add title in form twig and in activity show 2022-05-25 17:30:26 +02:00
nobohan
629dbb9137 admin: missing translations and css class 2022-05-11 11:30:08 +02:00
nobohan
c9b3bab508 admin sections for main bundle 2022-05-10 10:14:30 +02:00
nobohan
1c04a873c0 admin: admin section for docstore 2022-05-09 17:07:36 +02:00
nobohan
24794c1285 admin: document category menu 2022-05-06 16:28:37 +02:00
f713b1ddc8 allow to edit encrypted documents 2022-04-26 17:46:25 +02:00
daa3eabd43 Change wording for save document button 2022-04-20 16:12:58 +02:00
6f270188f7 buttons made sticky for parcours documents 2022-03-28 11:22:42 +02:00
e82b2bd10a fix personcontent / content switch in some pages 2022-03-24 20:54:34 +01:00
02409d4992 Merge remote-tracking branch 'origin/master' into issue469_budget 2022-03-24 16:22:52 +01:00
2ce8b1110d allow to change color for asyncupload button 2022-03-21 16:13:02 +01:00
nobohan
1beae4d713 AccompanyingCourseWorkEdit: download existing documents 2022-03-14 14:42:04 +01:00
3df2335cf4 Merge remote-tracking branch 'origin/master' into issue464_document_on_person 2022-03-03 14:42:06 +01:00
6edf0bcb3b fix delete links in documents 2022-03-03 13:57:00 +01:00
ac12e75714 Merge remote-tracking branch 'origin/master' into issue469_budget 2022-03-02 22:01:28 +01:00
nobohan
d6d7edf25d Add doc generation for PersonDocument form 2022-03-01 16:14:21 +01:00
ae0bf7bfd7 fix flex item-col placement for documents list 2022-03-01 16:08:52 +01:00
83760cc980 Merge remote-tracking branch 'origin/master' into issue469_budget 2022-03-01 15:42:59 +01:00
8764aacd92 fix confusion between document dates 2022-03-01 15:03:21 +01:00
695b9d5bea merge with master 2022-03-01 14:32:03 +01:00
0d38cae217 fix macro metadata + fix merge conflicts from branch ux_corrections 2022-03-01 11:33:33 +01:00