8b1b255050
Remove documents from memory after download
...
Implemented functionality to remove documents from browser memory 45 seconds after they are converted or downloaded. This ensures that clicking the download button again re-downloads the document. The reset state function was added to both ConvertButton.vue and DownloadButton.vue components.
2024-09-11 13:22:49 +02:00
84069e03dc
Add filename display on file upload
...
This update introduces a new feature to the DropFile component; now filenames are displayed when they are uploaded. This provides a user-friendly way to view the file being managed. Additionally, some styling adjustments were made to accommodate this new addition.
2024-07-19 13:55:22 +02:00
a220dad83b
Do not pass StoredObjectCreated on Convert and Edit buttons
2024-06-05 17:08:30 +02:00
775535e683
refactor file drop widget
2024-05-28 11:25:59 +02:00
fca929f56f
Dav: add UI to edit document
2024-05-23 17:00:46 +02:00
6f6683f549
Dav: implements JWT extraction from the URL, and add the access_token in dav urls
2024-05-23 17:00:45 +02:00
146e0090fb
Webdav: fully implements the controller and response
...
The controller is tested from real request scraped from apache mod_dav implementation. The requests were scraped using a wireshark-like tool. Those requests have been adapted to suit to our xml.
2024-05-23 17:00:42 +02:00
536c2622c7
239 - doc generation form added to top of doc list page when more than 5 documents
2024-05-07 14:30:16 +00:00
e839b03cc9
Update path to twig template with new syntax
2023-07-28 12:16:50 +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
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
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