Commit Graph

1592 Commits

Author SHA1 Message Date
Dan b59cca0212 Merge remote-tracking branch 'origin/main' into feature/jinja_errors 2023-01-25 15:38:52 -05:00
jasquat d9cffcb963 allow removing users from groups when refreshing permissions w/ burnettk 2023-01-25 15:12:48 -05:00
Dan 4badc7e645 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 1702521ccb Merge branch 'main' of github.com:sartography/spiff-arena 2023-01-25 14:36:05 -05:00
jasquat 4e9a517110 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 c4ba9f398d Making sure we create informative messages when encountering jinja2 syntax errors. 2023-01-25 14:13:21 -05:00
burnettk 4f93cd45b3 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 ec1058cf0d
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 2b6b053671 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 cc1fe58c47 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 fdd769dfe6
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 63ff763807
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 da60b3a715 use a modal for metadata instead w/ burnettk 2023-01-24 16:53:23 -05:00
jasquat 004766bbc5 put process instance show page to match main w/ burnettk 2023-01-24 16:38:05 -05:00
jasquat b05e7fcd38 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 433c401073 show metadata on instance show page but for some reason it reorders elements w/ burnettk 2023-01-24 14:35:27 -05:00
jasquat 45f46ef14d add process model file name validation for new files w/ burnettk 2023-01-24 11:35:30 -05:00
jasquat 7ca6a703f2 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 09a502d48d ensure order of permissions in tests 2023-01-24 10:23:47 -05:00
burnettk 482de8690c document future enhancement 2023-01-23 17:48:06 -05:00
jasquat 46549486b3 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 5fa487a626 use default keycloak realm for ci w/ burnettk 2023-01-23 16:54:11 -05:00
jasquat 3f692ab1cb 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 bc8dd80d99 added uniqueness constraint to spiff step details w/ burnettk 2023-01-23 11:03:17 -05:00
burnettk 1b3fc9f55e add sum and format 2023-01-22 18:10:47 -05:00
burnettk 16d591307d make sure that all new form field elements are not dropdowns 2023-01-22 00:36:16 -05:00
jasquat ea8d310299 expanded functionality of the form builder 2023-01-21 20:51:11 -05:00
burnettk 5a2db8e040 Revert "allow updating models on staging for a bit"
This reverts commit 1051340ab8.
2023-01-20 20:47:00 -05:00
burnettk 7df9255e36 Revert "commit on save yes for now"
This reverts commit 39ecb70046.
2023-01-20 20:46:52 -05:00
burnettk 54f2a27864 qa1 2023-01-20 20:44:01 -05:00
burnettk b2fe7206e1 since accepting the github host entry programatically is no more secure 2023-01-20 19:06:59 -05:00
burnettk 39ecb70046 commit on save yes for now 2023-01-20 19:00:46 -05:00
burnettk 1051340ab8 allow updating models on staging for a bit 2023-01-20 18:07:29 -05:00
jasquat 46f3527835 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 9bf8bc505d allow specifying an ssh key for git instead of a username and password w/ burnettk 2023-01-20 15:11:23 -05:00
jasquat dddb42e423 updated admin user on sartography realm w/ burnettk 2023-01-20 14:09:03 -05:00
jasquat 873967f6b5 allow passing a realm name into start keycloak and added admin user to sartography realm 2023-01-20 13:21:52 -05:00
jasquat a6fbe6715d 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 76348bf21f
Merge pull request #106 from sartography/feature/improved_errors
Feature/improved errors
2023-01-19 15:41:10 -05:00
jasquat f7907546ca use the correct place for keycloak w/ burnettk 2023-01-19 15:40:36 -05:00
jasquat c488615dcf pyl w/ burnettk 2023-01-19 15:37:55 -05:00
Kevin Burnett 6434f1bc9b
Merge branch 'main' into feature/improved_errors 2023-01-19 12:18:02 -08:00
jasquat d112a6489f ensure we have something in the logs w/ burnettk 2023-01-19 15:16:59 -05:00
jasquat a56c3d851e pyl w/ burnettk 2023-01-19 15:03:33 -05:00
jasquat edbc82fae2 added configs for sartography env w/ burnettk 2023-01-19 14:54:39 -05:00
Dan b151ef7937 pre-commit-in-ci 2023-01-19 14:00:36 -05:00
Dan 59564d561d updating spiffworkflow version, and fixing the run_pyl (by removing the corft I stuck in earlier) 2023-01-19 13:55:35 -05:00
jasquat c13593a8d8 Merge commit 'f612f26dd289ad14188e56e8634f832cf513f7cb' 2023-01-19 13:44:54 -05:00
jasquat f612f26dd2 Squashed 'spiffworkflow-frontend/' changes from d012f3a2c..f099c181a
f099c181a added script to add test keycloak users and moved all keycloak stuff to keycloak directory w/ burnettk
fc2ee7bc3 show start events in logs as well and added bpmn process identifiers to log table w/ burnettk
261b992b0 upgrade certifi to fix security vulnerability
94f785c7f do not navigate away from diagram editor page if there are changes w/ burnettk
4d16ad34e added End Event to simple log view w/ burnettk
d9f9a316d only show milestones for simple log view w/ burnettk
a3195fe1b fix lint issues
ff3fd9bc3 remove jsonpath
29b1dba9a added proof of concept to validate date fields in json schema form w/ burnettk
201dbebf2 fixed cypress tests
e2bedfd94 Merge branch 'main' of github.com:sartography/spiff-arena
990ccc119 added ability to add in custom validation error messages for text input fields w/ burnettk
94f31579a Merge pull request #102 from sartography/feature/waku-fault-message
32290c21d added tasks table to process instance show page w/ burnettk
2033634e1 Merge branch 'main' into feature/waku-fault-message
f03553acf added tabs to find by id page and install pre commit libraries if they fail to run help w/ burnettk
626d9056e stop at call activity as well when getting calling subprocesses by child id w/ burnettk
bf4099345 Merge branch 'main' into feature/waku-fault-message
bdeb03c42 added detailed area to process instance show page w/ burnettk
38341a987 a little more cleanup w/ burnettk
3f0b2f9fa remove several debug print statements
b920be55c logout works now and queryparams are getting passed correctly on login now
b84276aea Merge branch 'main' into feature/waku-fault-message
19574ad36 linting
96bf60a41 remove unneeded protocol variable w/ burnettk
a552ca6e7 use the cookie from the frontend w/ burnettk
e4f354e37 this somewhat works and sets cookies w/ burnettk
1a12b7ac8 debugging cookies w/ burnettk
11efb5ec4 updated rjsf to beta.16 and updated validations from v6 to v8 w/ burnettk
d67af9719 show the error and success notifications when appropriate when editing xml for json w/ burnettk
7ac328843 only load file references when needed to avoid unnecessary xml errors w/ burnettk
4834434c7 Merge remote-tracking branch 'origin/main' into feature/add_some_xml_validations
85449e564 some updates to validate xml when uploading and saving w/ burnettk
c1f271723 Merge branch 'main' into feature/waku-fault-message
d63269bec handle subprocesses in navigation
e680734a9 call proceses through setProcesses to ensure we have up to date value and removed debug logs w/ burnettk
9ad1e0ced more debug logs w/ burnettk
172d171cb more debugging and do not watch ProcessModel with getting processes w/ burnettk
73cab1863 added in debug logging for launching call activity editor w/ burnettk
248661b6e fixed cypress config w/ burnettk
3cee57987 Add `fault_or_suspend_on_exception` and `exception_notification_addresses` to Process Model interface and create/update form.
2463e1411 actually filter by process initiator w/ burnettk
cd4fda787 highlight tasks even if they are in subprocesses of called activities w/ burnettk

git-subtree-dir: spiffworkflow-frontend
git-subtree-split: f099c181a4b434a8f86dbca2942dae6c20534970
2023-01-19 13:44:54 -05:00
jasquat c5432dce98 Merge commit '1cedc2ea50ec9827437c4b87dfc6d2bd41a767b1' 2023-01-19 13:44:53 -05:00