Commit Graph

973 Commits

Author SHA1 Message Date
jasquat 4b2970170c updated permission macros to give admins access to task-data and proc… (#314)
* updated permission macros to give admins access to task-data and process-data w/ burnettk

* do not check for write to process-models if diagram is readonly anyway w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-08 11:39:14 -04:00
jasquat 49950b1639 support validationErrorMessage in rjsf enum w/ burnettk (#311)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-07 09:55:32 -07:00
jbirddog aedcac5082 npm update bpmn-js-spiffworkflow (#308) 2023-06-06 18:26:20 -07:00
jasquat 1506eed204 allow specifying multiple minimum date checks for a field w/ burnettk (#305)
* allow specifying multiple minimum date checks for a field w/ burnettk

* show title of field to compare minimum date with

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-06 18:25:54 -07:00
Madhurya Liyanage 2d55040c6d Fixed an issue in a test cases and updated numbering 2023-06-05 16:58:24 +05:30
Madhurya Liyanage 5abec3046b Added validations to check the user entered data for special character related test case and edit request test cases 2023-06-05 16:14:45 +05:30
Madhurya Liyanage 5549072059 Updated wait time for file upload related test cases and added numbering for test cases. 2023-06-05 16:13:12 +05:30
jasquat a528792257 added a little error handling to the typeahead widget w/ burnettk 2023-06-02 14:07:44 -04:00
burnettk 8e2b94b866 add some ids to completed instances tables for testability 2023-06-02 10:59:26 -04:00
burnettk 609e75c108 add some ids to homepage tables for testability 2023-06-02 10:52:17 -04:00
jasquat 6eb0ab0286 Merge pull request #294 from sartography/feature/typeahead_in_custom_widgets
Feature/typeahead in custom widgets
2023-06-02 10:34:00 -04:00
danfunk 542babba28 Merge remote-tracking branch 'origin/main' into feature/better_interstitial_spinner_and_suspend_message 2023-06-01 15:07:25 -04:00
danfunk 6e9a5bd590 Introduced a small spinner to the interstitial view on the Process Instance Show page.
Display reasonable messages when a processes is suspended or errored. Can't do much with terminated.
Show the spinner more frequently and consistently.
When running ruff, ignore everything in .gitignore
2023-06-01 15:05:59 -04:00
jasquat e45d6c4732 also support placeholder text w/ burnettk 2023-06-01 11:09:58 -04:00
jasquat 80ab47aeff a little cleanup w/ burnettk 2023-06-01 10:55:46 -04:00
Kevin Burnett 80577c6389 Merge pull request #287 from sartography/feature/new-ux-options-for-adding-files
allow markdown uploads and add some different ux options for adding files
2023-06-01 14:44:35 +00:00
jasquat 7e2b4724b5 Merge remote-tracking branch 'origin/main' into feature/typeahead_in_custom_widgets 2023-06-01 10:43:37 -04:00
jasquat 391cf4987c added missing rjsf elements into typeahead widget 2023-06-01 10:43:34 -04:00
burnettk b02c28697d use icons for running unit tests, w/ lantz 2023-06-01 10:43:27 -04:00
burnettk 619f7e41bd update UX after feedback from team 2023-06-01 10:07:01 -04:00
Madhurya Liyanage e16598d5e9 Updates to match the new UI changes 2023-06-01 12:16:09 +05:30
jasquat 4894a07f90 attempt to store typeahead item as json object string w/ burnettk 2023-05-31 15:58:35 -04:00
jasquat ff61ba35b7 moved carbon theme items around w/ burnettk 2023-05-31 15:16:51 -04:00
burnettk e74c642a1d Merge remote-tracking branch 'origin/main' into feature/new-ux-options-for-adding-files 2023-05-31 12:38:34 -04:00
jasquat fb6fa7da8b go to the for-me page when submitting a task w/ burnettk 2023-05-31 12:25:30 -04:00
jasquat dc9ce04728 redirect to the non-for-me page if allowed when performing an admin action w/ burnettk 2023-05-31 12:11:27 -04:00
burnettk e6ef26e5c6 move after unit tests and use upload icon, w/ lantz 2023-05-31 10:44:25 -04:00
Dan Funk 5d19d7cd61 Merge pull request #291 from sartography/feature/fix_process_instance_terminate
allow not redirecting to home page at all in interstitial component a…
2023-05-31 10:31:32 -04:00
danfunk 2be9bb6267 just reuse allowRedirect. 2023-05-31 10:28:16 -04:00
jasquat 375e6febe9 stop refreshing homepage if unauthorized to metadata 2023-05-31 09:42:20 -04:00
jasquat aac0841617 allow not redirecting to home page at all in interstitial component and do not error out if next task does not exist 2023-05-31 08:54:33 -04:00
Madhurya Liyanage 6c6297d1d7 Remove some unwanted only items 2023-05-31 18:22:39 +05:30
Madhurya Liyanage 4808e346f1 Updates to match the new UI changes 2023-05-31 12:26:26 +05:30
burnettk e5a37b3cfe allow markdown uploads and add some different ux options for adding files 2023-05-30 17:58:53 -04:00
Kevin Burnett 3b007845df Merge pull request #283 from sartography/feature/mitigate-downside-of-unexpected-response-from-server
if we get garbage from backend for active users, do not blow up diagram editing page
2023-05-30 18:55:41 +00:00
burnettk d940339229 Merge remote-tracking branch 'origin/main' into feature/more-secret-secrets 2023-05-30 08:38:15 -04:00
Madhurya Liyanage 8bb73bebf5 Automation scripts for PP2 2023-05-30 12:07:54 +05:30
burnettk 9117435f91 if we get garbage from frontend for nonessential feature, do not blow up 2023-05-29 17:24:26 -04:00
burnettk 2199214323 only expose value on show, not list, move tests, fix UI 2023-05-29 15:04:38 -04:00
Madhurya Liyanage 8f44429477 Added new test cases to Rearrange items and Delete items 2023-05-29 19:56:51 +05:30
Madhurya Liyanage 0fb5edc786 Changed Close to Save and Close 2023-05-29 19:38:51 +05:30
jasquat 6327125656 merged in main, resolved conflicts, and updated keycloak realm file for new path vars w/ burnettk 2023-05-26 11:10:57 -04:00
jasquat 3f0f06817f allow disabling authentication from the backend w/ burnettk 2023-05-25 12:00:24 -04:00
Dan Funk 63bf6a7cde remove console.log 2023-05-24 17:31:31 -04:00
danfunk 89e7db33cb Merge remote-tracking branch 'origin/main' into feature/interstitial_process_instance_show 2023-05-24 15:32:43 -04:00
danfunk dbfa54874c run_pyl 2023-05-24 15:31:11 -04:00
danfunk 0ebab2884b ProcessInterstitial is now a component, and a page. The component is included into both the Interstitial PAge and the Process Instance Show page.
Fixed routes for interstitial to align with those of the TaskShow page (variants are now accepted and passed through)

Removed the View button completely.
2023-05-24 15:24:33 -04:00
jasquat de5f155016 cleaned up comparing dates in forms w/ burnettk 2023-05-24 11:47:02 -04:00
jasquat 8c8c9635d0 allow comparing dates in json schema forms and also allow checking nested fields w/ burnettk 2023-05-24 10:53:04 -04:00
jasquat 78264e755e some updates to help support different domains w/ burnettk 2023-05-23 16:58:58 -04:00
danfunk 3fcc4fd1a6 Merge branch 'main' into feature/interstitial_process_instance_show 2023-05-23 15:43:30 -04:00
jasquat 16e0952686 allow running all process model unit tests from the show page w/ burnettk 2023-05-23 15:15:30 -04:00
jasquat ed42c6c399 make the test case results errors work with WorkflowTaskException and use in ErrorForDisplay 2023-05-23 10:33:37 -04:00
jasquat 4ed43e5058 added api to run process model unit tests w/ burnettk 2023-05-22 17:36:07 -04:00
jasquat 696bfe224c fixed tests related to new permissions w/ burnettk 2023-05-22 14:58:51 -04:00
jasquat a3890afba1 added missing permissions to elevated perm macro and removed api calls from unit tests 2023-05-22 13:50:32 -04:00
jasquat 83f7849685 changed publish endpoint to precede model id so we can grant publish access but read only to a model otherwise w/ burnettk 2023-05-19 12:26:16 -04:00
jasquat dda0c0f717 fixed failing cypress test 2023-05-19 11:24:50 -04:00
Madhurya Liyanage d7a9eb237e Added some test cases for form validations 2023-05-19 19:44:19 +05:30
Madhurya Liyanage c5408bdaca Commented out some unwanted lines 2023-05-19 19:42:34 +05:30
jasquat c4e236e737 if username and email are the same then display username only w/ burnettk 2023-05-18 10:11:24 -04:00
burnettk c389bbff28 sort version keys 2023-05-17 14:13:37 -04:00
jasquat d2e2478e06 fixed pyl issues and set max threads based on cpu cores w/ burnettk 2023-05-17 14:04:48 -04:00
Dan Funk de6b51f05b Merge pull request #264 from sartography/feature/ui-tweaks
Force all pages back to the top, rather than just a few of them.
2023-05-17 12:29:27 -04:00
jasquat 505e6dc8b5 do not run validations on save and close on a form w/ burnettk 2023-05-17 12:14:44 -04:00
danfunk 0db5980f09 Force all pages back to the top, rather than just a few of them. 2023-05-17 11:58:17 -04:00
burnettk df2b22a6d9 remove console 2023-05-16 15:37:53 -04:00
danfunk 02bfa701c5 run_pyl, and a little cleanup. 2023-05-16 15:29:43 -04:00
danfunk cd99837378 Requested simplification of the interstitial page. 2023-05-16 15:26:48 -04:00
danfunk 382e0916f1 keep buttons from growing too large. 2023-05-16 13:21:40 -04:00
danfunk cf09321432 Force Go and View buttons to be the same width. 2023-05-16 13:19:22 -04:00
jasquat a29cbe38f2 Merge pull request #260 from sartography/feature/submit_form_data_with_default
use the submitter id to determine if the submit button clicked was th…
2023-05-16 10:22:24 -04:00
jasquat 8e1a29c624 update Close button on task show page to save and close and fixed task test 2023-05-16 10:13:29 -04:00
jasquat 145a535fb9 use the submitter id to determine if the submit button clicked was the close button or submit 2023-05-15 14:18:18 -04:00
danfunk 417bd63e45 wip. 2023-05-15 13:53:39 -04:00
jasquat 695be3b696 do not blow up if the date is a bad format in a react json schema form w/ burnettk 2023-05-15 11:54:36 -04:00
burnettk c2a2b5e832 Revert "use password type field on secret show"
This reverts commit e1c1ea481c.
2023-05-15 10:58:53 -04:00
jasquat 94ac1cf8de updated headers for the homepage in progress tab 2023-05-15 10:34:30 -04:00
burnettk e1c1ea481c use password type field on secret show 2023-05-15 08:17:52 -04:00
Madhurya Liyanage c4bc0be885 Added a missing approver 2023-05-15 14:40:42 +05:30
burnettk 74c3570a11 more screwing with labels 2023-05-13 22:43:58 -04:00
burnettk 82f262bfcd add opencontainers label, and run an experiment to see what is required in dockerfile vs github actions 2023-05-13 19:53:50 -04:00
Madhurya Liyanage 5298a7116b Added function checkProcessInstanceCompleted() to verify the instance is completed successfully 2023-05-13 15:58:27 +05:30
burnettk 393f8a213c remove hardcoded test value 2023-05-12 21:11:32 -04:00
burnettk 02aa87cec5 mostly frontend stuff: add version and doc links, autofix unused imports 2023-05-12 17:07:53 -04:00
jasquat 0bda287c81 removed conditional to not load useEffect on process instance list table page so page changes and switching tabs works w/ burnettk 2023-05-12 15:14:35 -04:00
danfunk 52d1df5c0f reset page back to 1 when applying a filter. 2023-05-12 12:15:19 -04:00
jasquat b7ec540b3c removed only from NDR test so the whole file can run w/ burnettk 2023-05-12 11:38:10 -04:00
jasquat 46f4350f9e some updates for NDR PP1 w/ burnettk 2023-05-12 11:05:35 -04:00
Dan Funk 15abb63063 Merge pull request #256 from sartography/feature/view_button
Feature/view button
2023-05-11 15:11:32 -04:00
burnettk ac92bf3bf2 kill console 2023-05-11 13:46:17 -04:00
danfunk 127248be34 fixing a stupid mistake. 2023-05-11 12:56:59 -04:00
danfunk 1ea4b7bc44 View button styled the same as the go button.
Don't show the view button for Suspended, terminated, or Errored Processes when there is nothing to see.
On the interstitial page, if the process is not runnable, return out of the process, don't keep looping forever.
2023-05-11 12:34:43 -04:00
jbirddog 4bff2bca95 Type ahead cleanup (#253) 2023-05-11 11:08:07 -04:00
jasquat 7ef3e62207 ensure we remove corresponding bpmn processes when removing tasks from a process reset 2023-05-11 09:32:07 -04:00
Madhurya Liyanage 7c555c62a4 Replaced cy.contains('Request Goods or Services') with cy.contains('Request Goods or Services').click(); to match the change in process start in command file 2023-05-11 12:53:26 +05:30
Madhurya Liyanage c9443b29bf Updated the cancel request test case 2023-05-11 11:57:36 +05:30
burnettk 49523f34cb make the space on the right match the space on the top 2023-05-10 22:58:12 -04:00
jasquat 9e57be25a4 some updates for NDR_PP1 cypress tests w/ burnettk 2023-05-10 15:49:55 -04:00
jasquat b41df276f5 fixed cypress tests w/ burnettk 2023-05-10 14:05:07 -04:00