Commit Graph

1506 Commits

Author SHA1 Message Date
Joao Correia
32cd8495d6 add imutable ids to some exam arrays to detect and log changes between two exams. 2025-03-02 00:10:57 +00:00
Joao Correia
4e3cfec9e8 change to a single checkbox filter for all modules 2025-02-27 10:29:35 +00:00
Joao Correia
ba8cc342b1 add filters to show only exams with or without approval 2025-02-26 19:15:20 +00:00
Joao Correia
dd8f821e35 only show workflows where user is assigned to at least one step. 2025-02-26 17:21:37 +00:00
Joao Correia
a4ef2222e2 Keep exam confidential even after approval workflow is completed 2025-02-26 16:51:57 +00:00
Joao Correia
93d9e49358 Merge branch 'develop' into approval-workflows 2025-02-26 16:42:09 +00:00
Joao Correia
b388ee399f small refactor 2025-02-20 12:12:00 +00:00
Joao Correia
4ac11df6ae fix examId being cleared when editing approval workflow 2025-02-20 11:27:44 +00:00
Joao Correia
14e2702aca add error message and stop loading if something went wrong while loading exam in approval workflow 2025-02-20 10:40:31 +00:00
Tiago Ribeiro
fec3b51553 Created two new permissions 2025-02-17 10:32:57 +00:00
Joao Correia
df2f83e496 make access confidential when user submits exam with approval process. make access private upon approval workflow completed. 2025-02-10 13:25:11 +00:00
Joao Correia
e214d8b598 improve edited exam changes again 2025-02-10 11:30:24 +00:00
Joao Correia
c14f16c97a improve edited exam changes printing format 2025-02-09 21:12:29 +00:00
Joao Correia
ca2cf739ee improve edited exam changes printing format 2025-02-09 20:56:55 +00:00
Joao Correia
d5bffc9bad Add pagination to approval workflows table and change module styling to match project colors. 2025-02-09 18:10:59 +00:00
Joao Correia
75b4643918 Add button to submit exam without approval process 2025-02-09 17:37:19 +00:00
Joao Correia
9ae6b8e894 make sure admin id is passed to step component if the admin is not assigned to the workflow but approved a step. 2025-02-09 16:55:50 +00:00
Joao Correia
6f6c5a4209 make first step approved by default 2025-02-09 15:44:37 +00:00
Tiago Ribeiro
769b1b39d3 Added the permission 2025-02-09 11:35:52 +00:00
Francisco Lima
a80a342ae2 Merged develop into addedAccess-bugfixes 2025-02-09 04:32:42 +00:00
José Lima
e5e60fcce9 fixed some issues related to build 2025-02-09 04:29:32 +00:00
José Lima
b175d8797e added access variable to exams soo we can distinguish private, public and confidential exams and also bugfixes and improvements 2025-02-09 04:28:34 +00:00
Joao Correia
3a3d3d014d filter workflows user can see based on entities 2025-02-08 19:23:42 +00:00
Joao Correia
cbe353c2c5 - start only one of the configured workflows (randomly at the moment) for the exam Author.
- skip approval process for admins
2025-02-08 15:26:16 +00:00
Tiago Ribeiro
f95bce6fa2 Did some fixes related to master corporates 2025-02-07 16:19:47 +00:00
Joao Correia
5a72ebaea1 Merge branch 'develop' of bitbucket.org:ecropdev/ielts-ui into workflow-permissions 2025-02-07 13:06:59 +00:00
Joao Correia
00d2a7c2ad forgot permissions on [id] view 2025-02-07 12:57:26 +00:00
Joao Correia
bf2aa29b98 implement workflow permissions 2025-02-06 23:26:21 +00:00
Joao Correia
cf12a4ed4f implement logging of exam edits on workflow's current step 2025-02-06 19:12:18 +00:00
Tiago Ribeiro
8711802b97 Merged develop into approval-workflows 2025-02-06 18:50:07 +00:00
Tiago Ribeiro
36afde8aa4 Created the new permissions as an example 2025-02-06 18:48:31 +00:00
Joao Correia
752881df41 - Fix bug where workflows were being created again after exam update
- Moved createWorkflows function into an helper file instead of a post request.
- Moved the workflow creation logic into the post of exam creation instead of a seperate post in each exam module
2025-02-06 13:16:32 +00:00
Tiago Ribeiro
63604b68e2 Added the permission to update the privacy of an exam 2025-02-06 12:12:34 +00:00
Joao Correia
c3849518fb amend last commit 2025-02-05 19:14:18 +00:00
Joao Correia
7fb5e1a62b fix typo and bug on exam edit. It was throwing an exception if it found an id with the same owners, but should throw when the owners are different. It was also throwing an error if owners was not set in exam. 2025-02-05 18:55:31 +00:00
Joao Correia
4b405297f2 Merge branch 'approval-workflows' into develop 2025-02-05 17:26:58 +00:00
Joao Correia
f0849b9b42 - fix assignees bug after editing active workflow
- only allow corporate+ to configure workflows
- give admins and devs permissions to approve and reject steps even when they are not assigned to them.
- small fixes
2025-02-05 16:50:09 +00:00
Joao Correia
845a5aa9dc fix stale state behaviour 2025-02-05 13:34:47 +00:00
Joao Correia
d48c7b0d03 implement clone in new builder and fix typo 2025-02-05 13:03:42 +00:00
Joao Correia
6692c201e4 instanciate all workflows configured for an exam author based on different entities. 2025-02-05 12:37:53 +00:00
Joao Correia
f4c7961caa implement edit active workflow and do not allow editing on already completed steps 2025-02-05 00:43:49 +00:00
Joao Correia
b215885dc6 - Make isDiagnostic false when all steps of the exam workflow have been approved.
- Implement Load Exam and Edit Exam buttons
2025-02-04 23:22:56 +00:00
Joao Correia
de15eb5ee1 implement initialization of approval workflows on exam creation. 2025-02-04 22:04:58 +00:00
Joao Correia
d3385caaf8 use custom hook to render approval workflows list instead of reloading full page. 2025-02-03 12:52:03 +00:00
Joao Correia
19f2193414 use custom hook to rerender workflow instead of reloading full page. 2025-02-03 12:31:21 +00:00
Joao Correia
d59b654ac2 do not allow empty steps in workflows 2025-02-03 11:34:56 +00:00
Francisco Lima
b77476dc9a Merged develop into layout-bug-fixes 2025-02-03 00:07:05 +00:00
José Marques Lima
5a685ebe80 Remove unused imports and changed and improved layout design and responsiveness in some components and fixed some bugs. 2025-02-02 23:58:23 +00:00
Joao Correia
835a9bee03 - Filter available form intakers so that no form intaker can be in two workflows at once.
- add getApprovalWorkflowByIntaker to prepare workflow start after exam creation.
- fix builder bug with step keys
- ignore edit view for now because it will only be available for active workflows and not configured workflows.
2025-02-02 22:40:05 +00:00
Joao Correia
16545d2075 refactor workflows api 2025-02-02 11:11:52 +00:00