3252 Commits

Author SHA1 Message Date
burnettk
ef92c3379f Squashed 'SpiffWorkflow/' changes from 0adfc8cba..c3a49431e
c3a49431e Merge pull request #357 from sartography/improvement/better-serialization
614802564 typo
9bf0760aa merged in main and added init file to default seralizer dir to avoid issues in backend w/ burnettk
875e02497 Merge remote-tracking branch 'origin/main' into improvement/better-serialization
92a7fdc7c Merge pull request #355 from sartography/bugfix/depth-calc-and-task-dict-fixes
7c5072e6c fix depth calculation in task iterator
a49ae7d86 ensure all tasks are removed from workflow.tasks
90159bd23 Merge pull request #352 from sartography/improvement/flexible-task-iteration
3baebb202 documentation & cleanup
518c834e7 run subworkflow start task instead of updating children
46d6b36b8 simplify serializer extensions & config
4d36f1f78 split workflow & task conversion from main serializer
15ea564a3 move spec converters into one package
f113aba0f incorporate parser fix from asauve2 (issue 353)
9e2f98d28 do not copy description to MI tasks
e17e3d728 bugfixes
dcac12ad7 Merge branch 'main' into improvement/flexible-task-iteration
179d62c17 Merge pull request #349 from sartography/improvement/task-and-spec-relations
3bd9e002d Merge pull request #351 from Leon0824/main
1fdc628f9 Merge pull request #5 from Leon0824/patch-3
d7947d2d8 Merge pull request #4 from Leon0824/patch-2
6f2508455 Merge pull request #3 from Leon0824/patch-1
16c27d33f Merge pull request #2 from Leon0824/patch-4
dbdc96374 Update deserialize-wf.py
d333c908f Update deserialize.py
3de35853a Update serialize-wf.py
db25e557f Import classes to instead of importing a module
58e04d7ef cleanup & documentation
a8ab87a67 I actually need to subclass TaskIterator
0d196f582 clean up some stuff that has been bothering me forever
825097678 add TaskState methods for translating names and values
278bda12d add bpmn task filter
68b2ca4df consolidate various task retrieval methods
5581fd509 create task filter class for iterator
067878d60 new task iterator with better filtering
31a9c7748 add last state change to boundary event join tasks in migration
caca3121c Merge pull request #348 from sartography/improvement/replace-root-with-spec-start
a15dd1710 use names instead of references for spec inputs/outputs
1018b1d94 fix boundary event migration for gateway conditions
340355fbe allow direct access to tasks via id
d44208760 remove double serialization of subworkflow specs that I accidently introduced a while back
881582451 remove double serialization of subworkflow specs
085bd0d8f Merge pull request #347 from sartography/improvement/updates-to-multiinstance
a0afa6430 reverse logic on automatically adding a start task to a spec
349071eab replace Root task with spec start task
167a037d5 update parser to optionally attach pre/post scripts to MI instances
f5bda7a72 add task spec methods for MI info
3df40c056 raise exceptions when MI input or output items already exist

git-subtree-dir: SpiffWorkflow
git-subtree-split: c3a49431ecbe50fd44c89ad07aa72a01fff79b42
2023-10-14 12:30:13 -04:00
burnettk
53def3f3c8 update README 2023-10-13 23:32:01 -04:00
burnettk
0551ed8d95 all of these are tasks but not all are forms, given manual tasks 2023-10-13 10:23:19 -04:00
jasquat
c2dc4a738e Feature/data migrator tests (#546)
* using new spiffworkflow locally and the db can be recreated w/ burnettk

* tests are passing w/ burnettk

* added version 3 data migration for typenames on tasks and bpmn processes w/ burnettk

* pyl w/ burnettk

* attempting to add tests for data migrator and fix 1.3 for postgres

* run version_1_3 migration differently from postgres versus mysql and sqlite

* look up the task model again to make sure it is fresh w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-12 14:29:51 -04:00
jasquat
4d842e8dbf Improvement/better serialization (#540)
* using new spiffworkflow locally and the db can be recreated w/ burnettk

* tests are passing w/ burnettk

* added version 3 data migration for typenames on tasks and bpmn processes w/ burnettk

* pyl w/ burnettk

* switch SpiffWorkflow back to main

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-12 14:14:02 -04:00
Kevin Burnett
493b2696ff Update README.md 2023-10-12 06:08:13 -07:00
Kevin Burnett
8a90e3a72b Update README.md 2023-10-12 05:30:29 -07:00
jasquat
db4e9292f6 remove colons as well when checking wildcard permissions and updated test to ensure it works as expected 2023-10-11 10:25:02 -04:00
usama9500
5fb4171508 Features (#528)
* Features

* Fixing build issue

* Fixing FAQ link

* edits to quick start and faq

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-10-10 10:21:20 -07:00
jasquat
df1a458be7 updated formatDuration method in frontend to only go as far as days and avoiding date-fns function since it messes up around february w/ burnettk 2023-10-10 12:59:11 -04:00
jasquat
3276fdb579 Feature/metadata column display type (#534)
* some basics to set a display type for a metadata column when displaying w/ burnettk

* added supuport for durations and some clean up

* only display hours and days in duration if they are above 0 to keep it a little cleaner

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-10 11:52:59 -04:00
jasquat
ceb06cc227 Hotfix/user task with timer cancel (#533)
* cherry picked changes from b12af9f3bc625a6b12cfa0b8d908b378b6be9442 to pin form json files

* use the class name to determine what a task type is w/ burnettk

* initial thoughts to fix cancel timer issue w/ burnettk

* added migration to run predict on all open instances w/ burnettk

* remove debug, refactor data migrations, add benchmark_log_func

* log progress of script

* only process predicted tasks and their parents in the version 2 data miagration w/ burnettk

* added data migrator and using that to run version 2 migrations when needed w/ burnettk

* removed some unwanted code

* fix issue, but tests still need updating

* fix tests by returning code to closer to what it was

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-10-10 11:17:09 -04:00
burnettk
dd6dcdcec9 add dinithi 2023-10-09 10:01:20 -04:00
jasquat
8bf92f7a39 Feature/regex support in permissions (#530)
* support wildcards when adding users to groups from waiting table

* moved the user route to authentication_controller to avoid having so many user routes and this controller was all about login

* added test to ensure regexes work for permissions - still need to remove old ones on refresh

* moved token related code out of authorization service and into authentication service w/ burnettk

* remove old user group assignment waiting entries when refreshing permissions w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-06 13:47:40 -04:00
jasquat
01ef4e6eaa pyl w/ burnettk 2023-10-06 13:36:24 -04:00
danfunk
a83e11c504 overriding more of the login screen - can't do it all with CSS anymore so overriding one of the ftl files (Whatever they are, not sure, but works) 2023-10-06 11:02:11 -04:00
jasquat
94a01fcc80 Merge branch 'main' of github.com:sartography/spiff-arena 2023-10-05 14:01:09 -04:00
jasquat
aeded99114 keycloak output on import seems to have changed 2023-10-05 14:01:06 -04:00
jasquat
15041734a7 use the class name to determine what a task type is w/ burnettk (#527)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-05 13:28:41 -04:00
jasquat
cba4a19d3b Feature/remove group service (#529)
* removed group service in favor of user service and messing around with ruff and pre-commeit w/ burnettk

* pyl can succeed now w/ burnettk

* removed debug code w/ burnettk

* pyl

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-05 13:27:38 -04:00
burnettk
d4984a0269 do the joinedload so we actually eliminate the n plus 1 query 2023-10-05 09:30:02 -04:00
burnettk
e99ebd5424 document functions available to script tasks, tho needs params 2023-10-04 21:41:29 -04:00
danfunk
77845d38ce copy was not creating the spifftheme directory. 2023-10-04 15:48:57 -04:00
jasquat
b12af9f3bc Feature/pin form schemas to revision (#526)
* task show loads the correct revision of the json schema form w/ burnettk

* display error if form cannot be found at revision w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-04 15:23:42 -04:00
jasquat
dbbf14fe58 fixed copy of theme to keycloak docker image w/ burnettk 2023-10-04 15:08:55 -04:00
danfunk
3ce513a29b Enabled copy in the docker file
Added a spiffworkflow logo, colors, fonts, styling to login page based off the styles used on our website.
Maybe someday these can bleed through to the app itself.
2023-10-04 14:31:08 -04:00
jasquat
b23bdbbebc upgrade keycloak to 22.0.4 and added a base custom theme for login screen w/ burnettk 2023-10-04 11:32:53 -04:00
jasquat
acc918b664 feature/fix-required-radio-buttons (#525)
* ignore validations for radio booleans from the custom form w/ burnettk

* use carbon for radio buttons

* added comment about error message without label

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-04 10:57:15 -04:00
jbirddog
34a0323c4d Upsearch for data stores (#520) 2023-10-04 09:42:25 -04:00
jasquat
22570ce8d3 fix git command with c option 2023-10-04 08:37:41 -04:00
burnettk
d7d3858a7a return error if no token instead of blowing up 2023-10-03 22:07:20 -04:00
burnettk
d4104f4d12 tell sentry about release info if we have it 2023-10-03 21:23:25 -04:00
burnettk
9a59d37b53 remove debug print statement 2023-10-03 16:03:52 -04:00
Kevin Burnett
fa5109ff57 update permission check to hopefully improve performance (#523)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-10-03 13:00:13 -07:00
jasquat
5d4713fc0e feature/use-context-with-git-commands (#524)
* use the c option with git commands instead of using cd from python w/ burnettk

* removed the cd method since we should not be using it since it is not threadsafe

* pyl

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-03 16:00:03 -04:00
jasquat
1b06d9c987 updated urllib3 for snyk 2023-10-03 14:42:01 -04:00
jasquat
3e79fbadf9 added button to copy report links to share w/ burnettk 2023-10-03 10:43:22 -04:00
burnettk
f754ee1658 avoid notifying sentry on standard 405 method not allowed 2023-10-02 22:16:38 -04:00
Elizabeth Esswein
eb311ed95d update bpmn-js-spiffworkflow (#522) 2023-10-02 14:19:16 -07:00
Elizabeth Esswein
6681899e13 update bpmn js with signal event fix 2023-10-02 17:14:16 -04:00
jasquat
a9877c116b move task draft data insert into try statement to handle Deadlock errors 2023-10-02 08:35:00 -04:00
burnettk
e3f775e54f ignore process instance not found in terms of sentry notification 2023-10-01 12:36:00 -04:00
burnettk
8069ea28e9 make it clearer how the Data View relates to task data 2023-09-30 16:47:44 -04:00
jasquat
d6f3965c2b do not check for git source branch when using the webhook, let it fail naturally if not a git repo w/ burnettk 2023-09-29 16:39:02 -04:00
jasquat
8220aa42ef added bin/console command that runs flask shell and align zoom tooltips to the bottom w/ burnettk 2023-09-29 16:00:16 -04:00
jasquat
6c41d54502 better fix where we ensure we get the process id from the primary bpmn file 2023-09-29 10:57:23 -04:00
jasquat
a8ad7ad979 removed test file 2023-09-29 10:45:14 -04:00
jasquat
336cd3a1c7 Merge branch 'main' of github.com:sartography/spiff-arena 2023-09-29 10:43:35 -04:00
jasquat
42e5c91613 call activities do not need to mock data in unit tests and ensure we add the primary bpmn file last otherwise we lose it - seems another fix will be needed for this 2023-09-29 10:43:32 -04:00
jbirddog
37ae7e2f7f Refactor finding process models to support finding other file types (#516) 2023-09-29 09:38:45 -04:00