Commit Graph

976 Commits

Author SHA1 Message Date
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
jbirddog 1a81a73ab1 Fix the empty form issue, round 2 (#248) 2023-05-10 10:58:01 -04:00
jasquat 4dc9204ecd Merge pull request #249 from sartography/feature/shortened_user_name_in_frontend
Feature/shortened user name in frontend
2023-05-10 10:22:23 -04:00
jasquat c06c54f48e only show task instruction text if process instance is active and display the view button if instance is suspended 2023-05-10 10:13:02 -04:00
jasquat 1efbb8f564 updated some css class names and moved the profile toggle tip over a couple pixels 2023-05-10 09:33:21 -04:00
Madhurya Liyanage 122db8b2b2 Merge branch 'main' of https://github.com/sartography/spiff-arena 2023-05-10 15:25:16 +05:30
Madhurya Liyanage 8fda5a476f Save as draft changed to Close 2023-05-10 15:25:09 +05:30
Madhurya Liyanage e301a937f7 Updated some wait values 2023-05-10 15:24:44 +05:30
burnettk 79b64d3e94 round corners and add border, and close by default 2023-05-09 22:55:56 -04:00
burnettk 7e9787d5fe placement of user profile nav item and remove caret 2023-05-09 22:40:48 -04:00
jasquat e2a5a2aadf use a toggle tip instead of the popover w/ burnettk 2023-05-09 17:38:15 -04:00
jasquat ddc78c5446 changed to display the username in a circle that can be expanded w/ burnettk 2023-05-09 17:05:37 -04:00
jbirddog be5dd0fe4c If the form object is undefined, navigate to tasks (#247) 2023-05-09 14:09:58 -04:00
jasquat 7b190d204b removed debug log w/ burnettk 2023-05-09 14:09:11 -04:00
jbirddog e1ba08b83d Rename Save as draft to Close, add tooltip (#246) 2023-05-09 12:55:49 -04:00
burnettk 351ff8433d make safari act a bit more like other browsers by adding a blank option w/ jasquat 2023-05-09 12:41:09 -04:00
burnettk 04f1460077 Merge remote-tracking branch 'origin/main' into feature/safari_dropdown_bug 2023-05-09 12:12:02 -04:00
Madhurya Liyanage ff078cbc80 Updated button paths and added some waits 2023-05-09 21:36:54 +05:30
Madhurya Liyanage c7e43c58ce Enabled only the 'Without Files' describe 2023-05-09 21:29:36 +05:30
jasquat 20e6d78a10 try adding a blank option for form selects w/ burnettk 2023-05-09 11:55:59 -04:00
jasquat 0a1daf353a Revert "Revert "make all browsers act the same way on our site w/ jasquat""
This reverts commit 7c4b7b71b7.
2023-05-09 09:30:09 -04:00
burnettk 7c4b7b71b7 Revert "make all browsers act the same way on our site w/ jasquat"
This reverts commit 023f8282b4.
2023-05-08 23:04:16 -04:00
burnettk 023f8282b4 make all browsers act the same way on our site w/ jasquat 2023-05-08 17:03:21 -04:00
burnettk 2b76f4ad5d avoid percentage widths, which appear to not do what we want in safari w/ jasquat 2023-05-08 16:24:52 -04:00
burnettk 339745b6a8 fix configuration page on safari w/ jasquat 2023-05-08 16:13:30 -04:00
jasquat ca8ddc55d7 Merge pull request #243 from sartography/feature/interstitial_do_not_update_pi_status
Feature/interstitial do not update pi status
2023-05-08 14:29:13 -04:00
Madhurya Liyanage c969a6bcda Updates related to the changes in the Cancel button and things around that. 2023-05-08 16:45:16 +05:30
jasquat eef920acae do not perform any tasks if instance is suspended from the interstitial page w/ burnettk 2023-05-05 14:01:32 -04:00
jasquat 6cdc6913c4 Merge remote-tracking branch 'origin/main' into feature/interstitial_do_not_update_pi_status 2023-05-05 13:12:44 -04:00
jasquat 7be5bf43fd made activeuser component which can be used wherever and only use it if the user can save the file on the form and diagram edit pages 2023-05-05 09:52:52 -04:00
burnettk 3877a9aae2 fix editing json 2023-05-04 22:57:05 -04:00
jasquat 998de63eca set the returned file as the new file when saving a process model file so we get the new contents hash w/ burnettk 2023-05-04 16:59:27 -04:00
jasquat 8e0630947d some attempts to not change the process instance status w/ burnettk 2023-05-04 16:52:41 -04:00
jasquat 20ee46899d call correct send signal event from task show page w/ burnettk 2023-05-04 16:11:33 -04:00
jasquat d6724087f6 poll the backend for active users instead of keeping the connection open so it does not hang on a process w/ burnettk 2023-05-04 15:44:52 -04:00
jasquat 9320ec3cf9 cleaned up displaying active users in frontend w/ burnettk 2023-05-04 12:44:04 -04:00
jasquat f7e8fd0022 Merge remote-tracking branch 'origin/main' into feature/multiple_editor_users_display_user 2023-05-04 11:42:36 -04:00
jasquat 60db9db296 Merge pull request #241 from sartography/feature/multiple_editor_users
Feature/multiple editor users
2023-05-04 11:40:28 -04:00
jasquat 968a2fb186 added endpoint for send-signal-event for users so we can handle permissions more easily w/ burnettk 2023-05-04 11:20:38 -04:00
jasquat 8655ca0cd0 Merge remote-tracking branch 'origin/main' into feature/multiple_editor_users 2023-05-03 17:38:49 -04:00
jasquat a219d8efd4 added ability to display users showing on the process model edit diagram page w/ burnettk 2023-05-03 17:36:43 -04:00
jasquat 387eb8b9fe clear advanced filter options as well 2023-05-03 13:19:33 -04:00
jasquat 0cc15d0da6 updated system report names to match more closely the text used on the homepage w/ burnettk 2023-05-03 11:42:42 -04:00
jasquat 4832256fc5 removed the format header method from frontend so we only use the columns that come from the metadata now w/ burnettk 2023-05-03 11:16:13 -04:00
Dan Funk 64692f0d59 Merge pull request #237 from sartography/feature/cancel_button
Feature/cancel button
2023-05-03 10:12:02 -04:00
Dan 546f941e96 remove chatty console log. 2023-05-03 10:11:54 -04:00
jasquat beba4cb91b use hyphens instead of parenthesis for process model search 2023-05-03 09:08:25 -04:00
burnettk e71ff3f701 notion 400: get_toplevel_process_info instead of get_process_info 2023-05-02 22:28:52 -04:00
jasquat 38428cb6a4 fixed tests w/ burnettk 2023-05-02 17:09:29 -04:00
jasquat 66bd628c58 disallow saving a process model file if it has changed w/ burnettk 2023-05-02 16:31:29 -04:00
Dan 0285fe5b85 hide the js-properties-panel if we are in view-only mode. 2023-05-02 14:53:39 -04:00
Dan 6aaae539a0 run_pyl 2023-05-02 14:00:15 -04:00
Dan ac149c9dcb * Adding signal_buttons to tasks, which will prompt the frontend to display a button that when pressed will cause the signal to fire.
* This alters how the send_event endpoint responds - it originally responded with a process instance, it now responds with the next task, in keeping with how other task completion endpoints behave.
* I was forced to upgrade some of the bpmn-js libraries which fixes some of the linting errors on the front end.
* The "Return to home" button isn't always displayed.  It will not display when it is redirecting, or when the current task is running.
.
2023-05-02 13:40:41 -04:00
jasquat ab1cc4b102 use a black background for the view filterable table button and fixed process model show instances table w/ burnettk 2023-05-02 11:41:55 -04:00
burnettk fa2c00821d add title text to explain reset a bit more 2023-05-02 10:44:30 -04:00
jasquat 40e6e9a6bb autoreload instances on the inprogress home page 2023-05-02 09:16:09 -04:00
jasquat 938096f8b9 allow users to post to process instance list and truncate process model ids on the process instance list table page w/ burnettk 2023-05-01 16:30:08 -04:00
jasquat 22138e1bf1 renamed home page table headers and added filter table link to the completed instances page w/ burnettk 2023-05-01 15:52:11 -04:00
jasquat ca8af1bce0 fixed cypress tests w/ burnettk 2023-05-01 14:54:11 -04:00
jasquat 07b4616d45 fixed tests w/ burnettk 2023-05-01 12:51:58 -04:00
jasquat 3247955db5 merged in main and resolved conflicts w/ burnettk 2023-05-01 12:35:10 -04:00
jasquat c84aa44acf lint fixes w/ burnettk 2023-05-01 12:29:48 -04:00
jasquat 607abf97c2 added links to filtered tables on homepage and added advanced options modal to use them w/ burnettk 2023-05-01 12:25:22 -04:00
jbirddog e9827d0d5e Stable last updated time for human tasks with timers (#231) 2023-05-01 10:32:19 -04:00
jasquat 1f17e58a07 only return the compiled report metadata to the frontend and remove most usages of the internal filters w/ burnettk 2023-04-28 15:42:35 -04:00
jasquat b01b398287 added tmp link to homepage table w/ burnettk 2023-04-28 14:29:56 -04:00
jasquat b179b66e26 home page tables are working again w/ burnettk 2023-04-28 12:36:16 -04:00
jasquat 80ec1194db fixed cypress process instance tests w/ burnettk 2023-04-28 11:56:52 -04:00
jasquat 3754d72f4f tests are now passing and pyl w/ burnettk 2023-04-28 10:07:21 -04:00
jasquat f67bb6b04f Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-28 08:14:24 -04:00
Madhurya Liyanage 393fac80a7 Test cases for request - add, edit, cancel, save as draft 2023-04-28 15:25:54 +05:30
Madhurya Liyanage 2fefe4e4de Updates to match the interstitial pages 2023-04-28 15:25:04 +05:30
jasquat 6a9d30e3fe Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-27 17:33:49 -04:00
jasquat a4fd81cb9a remove a lot of unused code and fixed linting issues w/ burnettk 2023-04-27 17:33:25 -04:00
jasquat b86ddf8a96 reports seem to be working again w/ burnettk 2023-04-27 15:19:02 -04:00
jasquat e49734b9ef most of the process instance filters are working. still need to add back in support for reports w/ burnettk 2023-04-27 11:47:48 -04:00
Dan 8354f23ce3 Update text on interstitial page 2023-04-27 09:14:41 -04:00
jasquat d29a4ca0ae Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-27 07:28:47 -04:00
jasquat 2376080267 more filter work 2023-04-27 07:28:06 -04:00
burnettk 93ec911484 fix permissions for process callers api 2023-04-27 07:20:52 -04:00
Dan de21567887 run pyl 2023-04-26 21:30:29 -04:00
Dan d845b0b1e2 Need to remove the initial greedy first task from run-until-user-instructions as it was causing us to skip over user messages.
We weren't formatting instructions for end events.
More cleanup of the UI
More rapid graying out of past messages
2023-04-26 21:27:52 -04:00
Dan dbd3f5e5ea more run_pyl 2023-04-26 20:28:40 -04:00
Dan 0b5cba5c6e run_pyl 2023-04-26 20:24:47 -04:00
Dan 342da115f8 a little css love 2023-04-26 19:53:18 -04:00
Dan 015754e089 some styling changes and a better end page. 2023-04-26 19:15:15 -04:00
Dan d1fc75c877 run_pyl 2023-04-26 18:34:10 -04:00
Dan e2b582b7fc various css tweaks 2023-04-26 18:10:02 -04:00
Dan 3473cf7cfe randome critical code that I missed during last resolve of conflicts. 2023-04-26 16:38:30 -04:00
Dan 4cbf4e456b a whole bunch of front end and backend changes that got mangled. 2023-04-26 16:22:50 -04:00
Dan 85c34de9df run_pyl and a changes to the way we loop through tasks for the interstitial page. 2023-04-26 15:50:14 -04:00
jasquat 09fca807a4 Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-26 13:58:10 -04:00
jasquat ecee5a795b escape backslashes when inserting variables from env with perl for frontend w/ burnettk 2023-04-26 13:47:27 -04:00
jasquat c10cc5035c allow overriding the backend url on frontend w/ burnettk 2023-04-26 13:31:12 -04:00
jasquat 871d7a73de some more updates for searching w/ burnettk 2023-04-26 13:24:08 -04:00
jasquat dc9b60676a Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-26 11:16:42 -04:00
jasquat 8ac5f0228f can somewhat search now w/ burnettk 2023-04-26 11:06:01 -04:00
Madhurya Liyanage 66786755f5 Updates related to the new UI changes 2023-04-26 19:54:30 +05:30