1281 Commits

Author SHA1 Message Date
jbirddog
27447e533c Fix issue when timer start event is greater than a day (#303)
* Fix issue when start time is greater than a day

* Add some cycle timer tests

* Add some more tests

* Getting ./bin/pyl to pass
2023-06-06 18:25:26 -07:00
Kevin Burnett
70bca9832d Merge pull request #297 from sartography/feature/allow-turning-off-restricted-python
allow turning off restricted python
2023-06-02 15:52:57 +00:00
jasquat
2f4e824863 synced unit tests with sample and added support for subprocesses for bpmn unit tests w/ burnettk 2023-06-02 11:20:41 -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
jasquat
784ae0ce99 include json in script task imports 2023-06-02 10:18:33 -04:00
burnettk
64f9ef2705 allow turning off restricted python 2023-06-01 17:52:01 -04:00
jasquat
470795a6e6 do not save unwanted fields to process json files on disk w/ burnettk 2023-06-01 15:10:01 -04:00
jasquat
b756e594ab removed useless def comments that started with and underscore as well 2023-06-01 13:52:07 -04:00
jasquat
43f23cd630 removed useless class and def comments from python code w/ burnettk 2023-05-31 16:28:06 -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
burnettk
397d99b5c0 enable flake8-bandit, cut off all http requests at 15 seconds to avoid hanging process, ignore xml lib spiff uses 2023-05-30 19:53:26 -04:00
burnettk
aae043e0a4 add pylint 2023-05-30 19:39:15 -04:00
Kevin Burnett
4bbe10be00 Merge branch 'main' into feature/more-secret-secrets 2023-05-30 18:55:14 +00:00
jbirddog
0fc32f82d4 Cycle Timer Start Event Support (#285) 2023-05-30 13:51:37 -04:00
burnettk
7b2f75c349 remove useless comments matching filenames 2023-05-30 12:21:50 -04:00
burnettk
d940339229 Merge remote-tracking branch 'origin/main' into feature/more-secret-secrets 2023-05-30 08:38:15 -04:00
burnettk
a567b990e6 enable pep8-naming and use ruff for autofixer 2023-05-30 07:15:49 -04:00
burnettk
8efa2418b4 check for incompatible frontend and backend urls to save future hours 2023-05-29 17:02:37 -04:00
burnettk
2199214323 only expose value on show, not list, move tests, fix UI 2023-05-29 15:04:38 -04:00
burnettk
f8d4a6382b get compatible with ruff pyupgrade 2023-05-27 14:59:52 -04:00
burnettk
2b2875cb6f let ruff sort imports and ditch duplicative pre-commit linters 2023-05-26 20:01:08 -04:00
burnettk
cf40546a09 get compatible with default ruff ruleset 2023-05-26 13:07:18 -04:00
jasquat
a58a9532fc ensure we delete related items when deleting a process instance w/ burnettk 2023-05-26 10:51:24 -04:00
burnettk
97b22d2930 allow everything to get overidden 2023-05-26 07:16:28 -04:00
jasquat
fe999d2b57 Merge branch 'main' of github.com:sartography/spiff-arena 2023-05-25 12:00:28 -04:00
jasquat
3f0f06817f allow disabling authentication from the backend w/ burnettk 2023-05-25 12:00:24 -04:00
jbirddog
5bf37687ae Custom start event (#274) 2023-05-25 10:30:01 -04:00
jasquat
89f3dbc7b8 moved callback code to delegate class in process model test runner w/ burnettk 2023-05-24 15:26:26 -04:00
jasquat
2db6b10b7d Merge pull request #275 from sartography/feature/process_model_unit_tests
Feature/process model unit tests
2023-05-23 15:55:47 -04:00
jasquat
5e25e591ae pyl w/ burnettk 2023-05-23 15:55:27 -04:00
jasquat
ac73ee47f6 fixed tests failing for typeguard w/ burnettk 2023-05-23 15:50:55 -04:00
jasquat
e2fe5ea660 respect host from db uri env var when recreating db w/ burnettk 2023-05-23 12:12:32 -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
jbirddog
9ec956cee8 Support custom run at time when creating an instance (#270) 2023-05-23 09:52:01 -04:00
jbirddog
ba81019257 Exposed filter (#269) 2023-05-23 09:50:34 -04:00
burnettk
20bc44bfe7 lint 2023-05-23 06:38:35 -04:00
jasquat
4ed43e5058 added api to run process model unit tests w/ burnettk 2023-05-22 17:36:07 -04:00
jasquat
3f6bc76a7e Merge remote-tracking branch 'origin/main' into feature/process_model_unit_tests 2023-05-22 15:17:49 -04:00
jasquat
696bfe224c fixed tests related to new permissions w/ burnettk 2023-05-22 14:58:51 -04:00
jasquat
3124c5451a remove api usages from script tests and pyl w/ burnettk 2023-05-22 14:09:17 -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
b8d06ae08e fixed process-instance api perms in macro 2023-05-22 10:03:46 -04:00
jasquat
289d8b4464 pyl w/ burnettk 2023-05-19 16:22:27 -04:00
jasquat
f862aad767 elevated permissions should include running privileged scripts w/ burnettk 2023-05-19 16:21:32 -04:00
jasquat
4fcb0474a4 fixed example permission yml files 2023-05-19 13:46:12 -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
a285037505 added elevated permission macro 2023-05-19 10:50:55 -04:00
jasquat
de24d76c9d cleaned up runner tests and rsyncd back to sample w/ burnettk 2023-05-18 17:16:58 -04:00
jasquat
3961dcebd0 Merge remote-tracking branch 'origin/main' into feature/process_model_unit_tests 2023-05-18 15:11:40 -04:00
jasquat
0bd16283fc allow prepending test case data with process id and added better error formatting w/ burnettk 2023-05-18 15:11:30 -04:00