1316 Commits

Author SHA1 Message Date
Dan
e1dbbdf9ab Merge commit 'e4c31a2c9d0c182cef506d7367a84780d9546ee5' into feature/improved_errors 2023-01-19 12:37:17 -05:00
Dan
e4c31a2c9d Squashed 'SpiffWorkflow/' changes from 4195453a4..1f51db962
1f51db962 Merge pull request  from sartography/feature/better_errors
69fb4967e Patching up some bugs and logical disconnects as I test out the errors.
cf5be0096 * Making a few more things consistent in the error messages -- so there isn't filename for validation errors, and file_name for WorkflowExceptions.  Same for line_number vs sourceline. * Assure than an error_type is consistently set on exceptions. * ValidationExceptions should not bild up a detailed error message that replicates information available within it.
440ee16c8 Responding to some excellent suggestions from Elizabeth:
655e415e1 Merge pull request  from subhakarks/fix-workfowspec-dump
1f6d3cf4e Explain that the error happened in a pre-script or post script.
8119abd14 Added a top level SpiffWorklowException that all exceptions inherit from.  Aside from a message string you can append information to these exceptions with "add_note", which is a new method that all exceptions have starting in python 3.11 Switched arguments to the WorkflowException, WorkflowTaskException - which now always takes a string message as the first argument, and named arguments thereafter to be consistent with all other error messages in Python. Consistently raise ValidationExceptions whenever we encounter an error anywhere during parsing of xml. The BPMN/WorkflowTaskExecException is removed, in favor of just calling a WorkflowTaskException.  There is nothing BPMN Specific in the logic, so no need for this. Consolidated error message logic so that things like "Did you mean" just get added by default if possible.  So we don't have to separately deal with that logic each time. Better Error messages for DMN (include row number as a part of the error information)
13463b5c5 fix for workflowspec dump
be26100bc Merge pull request  from sartography/feature/remove-unused-bpmn-attributes-and-methods
23a5c1d70 remove 'entering_* methods
4e5875ec8 remove sequence flow
5eed83ab1 Merge pull request  from sartography/feature/remove-old-serializer
614f1c68a remove compact serializer and references
e7e410d4a remove old serializer and references

git-subtree-dir: SpiffWorkflow
git-subtree-split: 1f51db962ccaed5810f5d0f7d76a932f056430ab
2023-01-19 12:37:17 -05:00
Dan
628c59dde9 Lots of adjustments from running pyl
Main change is in the ErrorDisplay.tsx to assure all error information is provided. and index.css to make it "pretty"
2023-01-19 12:36:45 -05:00
Dan
d495553968 Remove the flask-bpmn directory. 2023-01-17 13:13:16 -05:00
Dan
127eb7868c Removing dependency on flask-bpmn and taking it out of SpiffArena
Slightly updating the APIError code for recent updates to SpiffWorkflow's error refactoring.
2023-01-17 12:56:06 -05:00
Kevin Burnett
34f6239185
Merge pull request from sartography/feature/date_form_validations
Feature/date form validations
2023-01-16 15:09:36 -08:00
burnettk
494fcfde4f fix lint issues 2023-01-16 18:08:05 -05:00
burnettk
3fd8db9add remove jsonpath 2023-01-16 17:57:07 -05:00
jasquat
3b48e937f9 added proof of concept to validate date fields in json schema form w/ burnettk 2023-01-16 17:01:15 -05:00
jasquat
41706b3355 updated open id url for compose ci 2023-01-16 13:27:44 -05:00
jasquat
a91b8c68e8 pyl 2023-01-16 13:11:25 -05:00
jasquat
4055772bde fixed cypress tests 2023-01-16 12:24:02 -05:00
Kevin Burnett
4ad12a515d
Update README.md 2023-01-14 21:47:01 -08:00
burnettk
c147cdb47b postgres does not have group_concat, and it is stricter about getting back columns when grouping 2023-01-15 00:22:40 -05:00
jasquat
a976674eec Merge branch 'main' of github.com:sartography/spiff-arena 2023-01-13 16:55:38 -05:00
jasquat
e533afdce8 added ability to add in custom validation error messages for text input fields w/ burnettk 2023-01-13 16:55:34 -05:00
Kevin Burnett
d9574acee8
Merge pull request from sartography/feature/waku-fault-message
Feature/waku fault message
2023-01-13 11:47:05 -08:00
Kevin Burnett
6fc41201b1
Merge pull request from sartography/task_data_len
Throw an exception if max task data length is exceeded
2023-01-13 11:43:46 -08:00
jasquat
c0046d1ae5 Merge branch 'main' of github.com:sartography/spiff-arena 2023-01-13 14:41:55 -05:00
jasquat
c7817b67c2 fixed broken test w/ burnettk 2023-01-13 14:41:51 -05:00
jbirddog
d5d9abe239
Skip refresh steps () 2023-01-13 14:32:19 -05:00
jasquat
2d61bf378e added tasks table to process instance show page w/ burnettk 2023-01-13 14:31:12 -05:00
mike cullerton
043dea0796 Merge branch 'main' into feature/waku-fault-message 2023-01-13 12:11:40 -05:00
mike cullerton
56d61806a9 run_pyl changes 2023-01-13 11:50:36 -05:00
jasquat
a2bb41301a added tabs to find by id page and install pre commit libraries if they fail to run help w/ burnettk 2023-01-13 11:29:45 -05:00
Jon Herron
65fa9e4834 Fixed failing test 2023-01-13 11:11:12 -05:00
jasquat
189dbc2712 stop at call activity as well when getting calling subprocesses by child id w/ burnettk 2023-01-13 10:43:25 -05:00
Jon Herron
8cd275a54f Getting ./bin/pyl to pass 2023-01-13 09:45:05 -05:00
Jon Herron
e370f6164d Merge branch 'main' into task_data_len 2023-01-13 09:37:32 -05:00
Jon Herron
e0b1d6877b Bump the limit to 1mb 2023-01-13 09:12:41 -05:00
Jon Herron
ab2d0cdf6d Better impl 2023-01-13 09:05:35 -05:00
mike cullerton
65436e4b59 reorder imports 2023-01-13 09:03:17 -05:00
mike cullerton
c78566b64b import order 2023-01-13 08:52:43 -05:00
mike cullerton
7642088ce4 unused imports 2023-01-13 08:40:56 -05:00
mike cullerton
ff48f67918 Merge branch 'main' into feature/waku-fault-message 2023-01-13 08:29:42 -05:00
Jon Herron
c4bb1e188d POC checking cumulative task data len 2023-01-12 18:16:06 -05:00
jasquat
ecfea3f605 fixed failing test w/ burnettk 2023-01-12 15:35:05 -05:00
jasquat
f48793c872 added detailed area to process instance show page w/ burnettk 2023-01-12 15:27:32 -05:00
jasquat
c526b55fbd set the domain for the token cookies w/ burnettk 2023-01-12 11:50:11 -05:00
jasquat
2c1c173f36
Merge pull request from sartography/feature/session_timeouts
Feature/session timeouts
2023-01-12 11:33:45 -05:00
jasquat
6ba547576a a little more cleanup w/ burnettk 2023-01-12 11:32:52 -05:00
jasquat
b6481c78b2 remove several debug print statements 2023-01-12 10:48:42 -05:00
jasquat
d866ec5981 logout works now and queryparams are getting passed correctly on login now 2023-01-12 10:29:37 -05:00
jasquat
f3e0e1956a pyl 2023-01-12 08:12:16 -05:00
mike cullerton
223793e79d Merge branch 'main' into feature/waku-fault-message 2023-01-12 07:19:06 -05:00
mike cullerton
5c5a1343e5 Cleaned up the message text 2023-01-12 07:13:35 -05:00
mike cullerton
82c93acebd Precommit 2023-01-11 18:12:18 -05:00
mike cullerton
b5953b2980 linting 2023-01-11 17:47:58 -05:00
mike cullerton
1d6bbd9f1e mypy 2023-01-11 17:46:39 -05:00
jasquat
b5584d73f3 remove unneeded protocol variable w/ burnettk 2023-01-11 17:29:08 -05:00