Commit Graph

1418 Commits

Author SHA1 Message Date
jasquat ddb55a0ce1 ensure we are passing the primary file name to the delete file test 2023-01-25 16:20:55 -05:00
jasquat 63e61ba1ec fixed typo w/ burnettk 2023-01-25 16:08:58 -05:00
jasquat 1ce3fbe542 added some debug statements for ci w/ burnettk 2023-01-25 16:02:07 -05:00
jasquat cc85146678 upgraded bandit and flake8 w/ burnettk 2023-01-25 15:44:53 -05:00
Dan a38ecc2e60 Merge remote-tracking branch 'origin/main' into feature/jinja_errors 2023-01-25 15:38:52 -05:00
jasquat ada389b572 allow removing users from groups when refreshing permissions w/ burnettk 2023-01-25 15:12:48 -05:00
Dan 40682d0592 Added useMemo to error context
No longer clear errors in the task bar, as that will constantly remove them as soon as they are shown.
2023-01-25 15:09:05 -05:00
jasquat eb1ac56617 Merge branch 'main' of github.com:sartography/spiff-arena 2023-01-25 14:36:05 -05:00
jasquat 7bf8618267 when changing the primary file name also change the primary process when updating a process model from the api w/ burnettk 2023-01-25 14:36:01 -05:00
Dan d63f0c2a91 Making sure we create informative messages when encountering jinja2 syntax errors. 2023-01-25 14:13:21 -05:00
burnettk def02a5f56 delete legacy flask-rendered html pages from initial prototype, since backend is now API-only 2023-01-25 11:30:19 -05:00
Kevin Burnett 2d5e7b36ec Merge pull request #108 from sartography/ci/docker-compose-vars
ci: use ENV variables for all ports
2023-01-25 07:56:22 -08:00
Dan c35ba85605 TaskShow had a useEffect that depended on params, that dependency caused an infinite request cycle when an error occured.
The same issue was happening on the ProcessInstanceListTable, and there it was being managed by a "SafelySetErrorMessage" function in one case,
but would not be addressed in all possible cases.

Reworked error handling into a context provider (APIErrorProvider) and hook (UseApiError) and removed the "(useContext as any)(ErrorContext)[1];" that felt a little off but that never was an actual problem.
2023-01-25 10:46:56 -05:00
jasquat 5b88f88d31 added the process model identifier for the diagram if it is not the top level w/ burnettk 2023-01-25 10:39:17 -05:00
Jakub Sokołowski f2f983d9e3 ci: use ENV variables for all ports
Also add a comment warning about hardcoded backend port.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-01-25 15:30:02 +01:00
jasquat 070d589eb0 Merge pull request #107 from sartography/feature/metadata_on_instance_show
Feature/metadata on instance show
2023-01-24 16:54:43 -05:00
jasquat 1fbd3edde9 use a modal for metadata instead w/ burnettk 2023-01-24 16:53:23 -05:00
jasquat f156605b0a put process instance show page to match main w/ burnettk 2023-01-24 16:38:05 -05:00
jasquat d86c083dfe do not allow deleting primary bpmn file and do not allow instantiating models without a primary bpmn file w/ burnettk 2023-01-24 15:15:48 -05:00
jasquat be1d306a2f show metadata on instance show page but for some reason it reorders elements w/ burnettk 2023-01-24 14:35:27 -05:00
jasquat c2a4d8480b add process model file name validation for new files w/ burnettk 2023-01-24 11:35:30 -05:00
jasquat 4e0ddc7ea5 removed uniqueness constraint from human task so we can loopback to a previous task with a gateway w/ burnettk 2023-01-24 11:03:55 -05:00
jasquat 6371703637 ensure order of permissions in tests 2023-01-24 10:23:47 -05:00
burnettk 5ed1b2e2da document future enhancement 2023-01-23 17:48:06 -05:00
jasquat 2d57c3d45f strip off newlines and spaces when importing secrets and pinning spiffworkflow to working version until we can debug issues with new one w/ burnettk 2023-01-23 17:18:47 -05:00
jasquat ce094401ee use default keycloak realm for ci w/ burnettk 2023-01-23 16:54:11 -05:00
jasquat 102413326a added locking system for process instances so hopefully background jobs will not take instances currently being run by the user w/ burnettk 2023-01-23 16:45:07 -05:00
jasquat 809c4b055a added uniqueness constraint to spiff step details w/ burnettk 2023-01-23 11:03:17 -05:00
burnettk 1215e18287 add sum and format 2023-01-22 18:10:47 -05:00
burnettk d282f66a5c make sure that all new form field elements are not dropdowns 2023-01-22 00:36:16 -05:00
jasquat 336923b1e5 expanded functionality of the form builder 2023-01-21 20:51:11 -05:00
burnettk dd68e7556b Revert "allow updating models on staging for a bit"
This reverts commit aff7c5c9e9.
2023-01-20 20:47:00 -05:00
burnettk 3e190387db Revert "commit on save yes for now"
This reverts commit 2a55c05473.
2023-01-20 20:46:52 -05:00
burnettk b4a19f2d71 qa1 2023-01-20 20:44:01 -05:00
burnettk fd2146bd46 since accepting the github host entry programatically is no more secure 2023-01-20 19:06:59 -05:00
burnettk 2a55c05473 commit on save yes for now 2023-01-20 19:00:46 -05:00
burnettk aff7c5c9e9 allow updating models on staging for a bit 2023-01-20 18:07:29 -05:00
jasquat 79958d4ae5 allow getting the GIT SSH key from an app config so we can set it in the secrets file w/ burnettk 2023-01-20 15:43:00 -05:00
jasquat d8cf4b1287 allow specifying an ssh key for git instead of a username and password w/ burnettk 2023-01-20 15:11:23 -05:00
jasquat d1b8e314f4 updated admin user on sartography realm w/ burnettk 2023-01-20 14:09:03 -05:00
jasquat 3da4f1caa1 allow passing a realm name into start keycloak and added admin user to sartography realm 2023-01-20 13:21:52 -05:00
jasquat 3f4781c5ee find the top level process to find the task form when using subprocesses in called activities w/ burnettk danfunk 2023-01-20 12:03:29 -05:00
jasquat 4e32f3efef Merge pull request #106 from sartography/feature/improved_errors
Feature/improved errors
2023-01-19 15:41:10 -05:00
jasquat 9e3c0823fd use the correct place for keycloak w/ burnettk 2023-01-19 15:40:36 -05:00
jasquat c5aff424b6 pyl w/ burnettk 2023-01-19 15:37:55 -05:00
Kevin Burnett ff10754b88 Merge branch 'main' into feature/improved_errors 2023-01-19 12:18:02 -08:00
jasquat d54897828d ensure we have something in the logs w/ burnettk 2023-01-19 15:16:59 -05:00
jasquat 5ef4ea7b62 pyl w/ burnettk 2023-01-19 15:03:33 -05:00
jasquat b529af6142 added configs for sartography env w/ burnettk 2023-01-19 14:54:39 -05:00
Dan d44b7d5d34 pre-commit-in-ci 2023-01-19 14:00:36 -05:00