196 Commits

Author SHA1 Message Date
21ec3121ec Merge branch 'signature-app-master' into 'master'
Signature app master

Closes #307

See merge request Chill-Projet/chill-bundles!743
2024-11-12 20:30:00 +00:00
79621e8ab7
Add guard to block signatures on related entities without objects
Implemented a guard to prevent signatures on related entities that lack a stored object. It also includes corresponding tests and added translation for the error message in French.
2024-11-12 18:14:30 +01:00
c3cc6c8353
Do not fail displaying notification when workflow has been deleted 2024-11-12 13:57:48 +01:00
e5148f603b
Add TransitionHasSignerIfSignature validator
Introduced a new validator `TransitionHasSignerIfSignature` to enforce that a signature transition must have a designated signer. Included related tests, updated DTO annotations, and added translations for new validation messages.
2024-11-07 19:55:09 +01:00
43b70fd773
Rename translation key for workflow signature titles
Updated the translation key from 'workflow.signature_required_title' to 'workflow.signatures_title' in the workflow history view. This change ensures consistency and proper usage of the translation key across different parts of the application.
2024-11-04 15:26:07 +01:00
64f3b40694 Add the possibility of unknown to the gender entity 2024-10-31 12:10:35 +01:00
588f02cdf4 Take Null value for gender into account and fix OnTheFly makeFetch 2024-10-22 14:48:16 +02:00
508c4cd674
Add an email address ot UserGroup entity 2024-10-18 19:14:13 +02:00
9fe20b5e81
Show pending signatures in the person's search results 2024-10-15 15:15:32 +02:00
3d53e7da65
Show the list of pending views in the workflows index page 2024-10-10 13:40:25 +02:00
8589bada3f
Layout for the email to external 2024-10-10 13:40:07 +02:00
78445f0d65
fixup! Add message handling for public view creation 2024-10-10 11:39:04 +02:00
363cbc8a76 Translate gender terms for admin templates 2024-10-09 16:49:40 +02:00
40b8fae8ba
Add vizualisation of public views in the workflow history 2024-10-08 16:17:11 +02:00
3f80d62ca2
Add public workflow view functionality
Introduced the ability to render public views for workflows, including new templates, handlers, and metadata support. Updated entity interfaces and translations to enhance the public sharing of workflow documents.
2024-10-08 15:15:58 +02:00
5c0f3cb317
Implement the controller action to view the EntityworkflowSend 2024-10-07 15:35:36 +02:00
a0b5c208eb
Send an email when a workflow is send to an external
- create an event subscriber to catch the workflow which arrive to a "sentExternal" step;
- add a messenger's message to handle the generation of the email;
- add a simple message, and a simple controller for viewing the document
- add dedicated tests
2024-10-04 13:52:18 +02:00
7cd638c5fc
Add TransitionHasDestineeIfIsSentExternal validator
This commit introduces a new validator to ensure that transitions marked as 'sent' have a designated external recipient. It includes related tests for scenarios with and without recipients and covers integration with the workflow context.
2024-10-04 13:41:20 +02:00
071c5e3c55
Update the form to allow sending a workflow to an external destinee
OP#734 Modification du formulaire pour permettre l'envoi d'un workflow

https://champs-libres.openproject.com/work_packages/734
2024-10-04 13:41:20 +02:00
cef641ee24
Render the history for workflow, with signature and onHold, and destUserGroups 2024-10-01 18:49:52 +02:00
479651b31e
Add a list of user groups in User menu, and implements the feature to add / remove users 2024-10-01 18:49:51 +02:00
debca1f474
Admin CRUD for user groups 2024-10-01 18:49:50 +02:00
cfce531754
Add reject functionality for workflow signatures
Implemented the ability to reject workflow signatures by adding necessary templates, routes, and authorization checks. Updated the `WorkflowSignatureCancelController` to handle rejection and modified existing templates and translations to support the new feature.
2024-09-25 11:31:27 +02:00
83121c2a83
Implement signature cancellation feature
Added functionality to cancel signatures in workflow, including controller, view, and tests. Updated translations and adjusted templates to support and display cancellation actions.
2024-09-25 10:58:53 +02:00
4696332a46
Create a voter for applying all transitions on all workflow's steps
This voter checks that the related entity's centers is reachable by the user.
2024-09-16 14:42:37 +02:00
9f1afb8423
Add access controls and permissions for signature steps
Implemented a Voter to enforce permissions on signature steps, ensuring only authorized users can sign steps. Updated relevant controllers and templates to reflect these permissions, and added corresponding tests to validate the changes.
2024-09-13 17:04:57 +02:00
18af2ca70b
Handle null transitionBy and improve display logic
Added checks for null transitionBy cases in workflow templates to display "Automated transition" when applicable. Also improved conditional rendering for 'destUser' and 'ccUser' fields to avoid empty elements.
2024-09-11 21:52:34 +02:00
15eaf648df
Add label to workflow listing and history to indicate whether it's on hold 2024-09-05 17:18:42 +02:00
42471269db
Implement logic to put workflow on hold and resume it 2024-09-05 17:16:18 +02:00
ce781a5b58
Translate datetime object with icu: split date and time
Translate datetime within icu format
2024-09-04 17:14:43 +02:00
cc8214d52c
Add flash message in case signature was already applied 2024-09-04 17:08:38 +02:00
3e6d764b9b
Replace sign button with signed statement if person/user has signed 2024-09-04 17:06:45 +02:00
0a6f3a99da Fix functioning of show hide 2024-07-23 19:59:10 +02:00
873940786f Signature zone within workflow 2024-07-18 13:51:08 +00:00
d29415317b Allow users to display news on homepage (+ configuring a dashboard homepage) 2024-03-07 21:08:00 +00:00
be57c96a2f Add phonenumber to user 2023-11-16 15:12:12 +00:00
c526973475 [admin][templates] move job/scope history in an unique template and display history for a given user 2023-10-04 12:33:50 +02:00
c590d60a7f make tables more readable in templates 2023-10-03 19:40:23 +02:00
d2feb0f0b4 Fix return type in user getters for mainScope and userJob 2023-10-03 19:40:23 +02:00
124abf563e Create twig templates for admin jobs/scopes histories 2023-10-03 19:40:20 +02:00
fa47dcd5b6 FIX [center][crud] use crud controller for center entity 2023-09-06 15:50:12 +02:00
bf93c1ddb2 fix label color in active filters pills 2023-07-11 14:06:10 +02:00
39896ea6e2
[FilterOrder] add a method to get all the active filters 2023-07-10 15:26:54 +02:00
5bbc50976e Merge branch '103-document-page' into 'master'
Liste unifiée des documents

Closes #103

See merge request Chill-Projet/chill-bundles!545
2023-06-27 16:35:29 +00:00
909d2dfb60
layout for rendering list 2023-06-13 15:00:16 +02:00
b4614974c0
allow to edit existing saved export with new export options 2023-06-06 10:49:48 +02:00
c3ac382711
link to update aggregator and filters from saved export and then execute 2023-06-06 10:49:34 +02:00
77997e2b6f FIX [review] fix review comments 2023-05-24 16:24:58 +02:00
dad36927f3 FEATURE [export] uncheck all centers button 2023-05-24 15:34:39 +02:00
b2e79b677b
Feature: [admin] add an export list of all permissions associated to
each user
2023-05-20 00:34:53 +02:00