137 Commits

Author SHA1 Message Date
jasquat
ef9baad917
added db migration that merges branching heads together 2023-08-21 13:24:50 -04:00
jbirddog
e24c9a17a9
Oauth admin (#434)
* Adding dependencies

* Disconnect from /v1/auths for auth list. hardcoded for now.

* Revert changes

* WIP

* Getting hardcoded v2 auths into the frontend

* Better url for v2 oauth

* Pass the auth token from the frontend, don't verify token to start the auth process

* Manually verify the token from the querystring

* WIP

* WIP

* WIP, refactor SPIFF_SECRET handling, move dependencies

* Construct remote_app

* WIP

* WIP

* WIP

* WIP

* Ugly but getting the grant screen

* WIP

* WIP

* Github oauth ok

* Verify token, save access token

* Let secret name work with regex

* Getting bin_pyl to pass

* New component

* Load up the current config in an editor

* Getting bin_pyl to pass

* End point to update auth config

* Linting

* Adding configuration model

* Adding configuration model

* Prep to read config from db

* Read config from the db

* Save/reload poor man's styling

* Getting bin_pyl to pass

* Getting bin_pyl to pass

* Getting bin_pyl to pass

* Better handling of invalid json

* Getting bin_pyl to pass
2023-08-21 21:58:55 +05:30
jasquat
ca4984599a
created migration to incrase the human task file names to 255 in the db w/ burnettk (#429)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-21 21:58:10 +05:30
Kevin Burnett
8d92d1ef4e
Feature/event payloads part 2 (#401)
* Revert "Revert "Feature/event payloads (#393)""

This reverts commit 9bc4a68f2d0679f0625f8e01bf9af15008833daa.

* Revert "Revert "poet not available in container""

This reverts commit 5c68e5817e72ee1aec6418c96f0afe115aee9f15.

* Revert "Revert "Run event payloads data migration from background processor (#399)""

This reverts commit b04284ac9c52a913ce32d8e76aee3495ac6e2dbf.

* Revert "Revert "using new spiff api to get info about events. w/ elizabeth""

This reverts commit f00e4b416cd978da979c510381f077dff9fe6c50.

* Revert "Revert "fix tests for waiting_event_can_be_skipped""

This reverts commit de2ea98daa2c0f75dd12246588601bd33b64617b.

* push image for preview env

* default scripts to localhost w/ burnettk

* use the bugfix/update-split-task-inputs spiffworkflow branch w/ burnettk

* removed debug json files

* use main for spiffworkflow

* do not attempt to highlight non-diagram boundary items w/ burnettk

* updated SpiffWorkflow to fix multiple signal event issue w/ burnettk

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-10 18:24:49 +05:30
burnettk
9bc4a68f2d
Revert "Feature/event payloads (#393)"
This reverts commit 4cf60acb275e592a2e2f90dcc686ac5cb3e85634.
2023-07-19 11:44:06 -04:00
jasquat
4cf60acb27
Feature/event payloads (#393)
* some initial changes for event payload changes in spiff

* fixed tests for new spiffworkflow with event payloads w/ burnettk essweine

* pyl w/ burnettk essweine

* updated SpiffWorkflow from branch

* switched SpiffWorkflow back to main w/ burnettk

* added base for migration script to upgrade db w/ burnettk essweine

* some updates to script w/ burnettk

* script has been written, needs to be tested

* pyl w/ burnettk

* updates to migration script so it can work w/ burnettk

* pyl w/ burnettk

* added comment to data migration file

* run the version 1 3 migration on app boot w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-18 06:56:24 -07:00
jasquat
144ae9f927
Revert "added uniqueness constraint to human task so it cannot have multiple human tasks for a process instance and task id w/ burnettk (#396)"
This reverts commit 59852684a34b805a7c1ccebf56faaaa277cf0e7a.
2023-07-17 13:42:45 -04:00
jasquat
59852684a3
added uniqueness constraint to human task so it cannot have multiple human tasks for a process instance and task id w/ burnettk (#396)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-17 22:14:32 +05:30
jasquat
4be7875853
Feature/draft data in join table (#355)
* added a new model to store task draft data in a join table

* cleaned up using the join table for draft table w/ burnettk

* created new single migration for changes w/ burnettk

* added hidden form which autosaves without validations w/ burnettk

* change close button name since it does indeed save on close now

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-28 22:23:39 +05:30
jasquat
22e53ab23d
Feature/autosave and null form data (#346)
* autosave form data on change w/ burnettk

* tests are now passing and pyl

* do not do anything on autosave success w/ burnettk

* merged autosave and null form data branches together w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-26 18:26:56 +05:30
jbirddog
0c1e83a892
Typeahead datastore (#321)
* Wiring up the datastore

* Writes into the data store

* Bulk save needs the timestamps

* Prep to do the local query

* Local typeahead working

* Pre pr cleanup

* ignore migrations dir in pre-commit for ruff w/ burnettk

* Getting ./bin/pyl to pass

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-09 12:28:59 -07:00
jbirddog
1486edbf97
Cycle Timer Start Event Support (#285) 2023-05-30 13:51:37 -04:00
burnettk
aeb7caa531
let ruff sort imports and ditch duplicative pre-commit linters 2023-05-26 20:01:08 -04:00
jasquat
ff59eae03a
updated active user db model w/ burnettk 2023-05-04 12:51:15 -04:00
jasquat
2c336c55c5
added ability to display users showing on the process model edit diagram page w/ burnettk 2023-05-03 17:36:43 -04:00
jasquat
2dc61ec669
fixed tests w/ burnettk 2023-05-01 12:51:58 -04:00
jasquat
afc13bb751
merged in main and resolved conflicts w/ burnettk 2023-05-01 12:35:10 -04:00
jbirddog
5210404ca3
Stable last updated time for human tasks with timers (#231) 2023-05-01 10:32:19 -04:00
jasquat
2d06d55bfa
reports seem to be working again w/ burnettk 2023-04-27 15:19:02 -04:00
jasquat
f8ba4a04bb
merged in main and resolved conflicts w/ burnettk 2023-04-20 14:10:23 -04:00
jasquat
2e1620a519
store stacktrace as a json array so we can reverse it when displaying and fixed up display of errors 2023-04-20 08:31:55 -04:00
jbirddog
61a4243e6d
Called elements (#218) 2023-04-19 18:07:15 -04:00
jasquat
94414ea86b
display event errors in the frontend using errorDisplay w/ burnettk 2023-04-19 15:20:19 -04:00
jasquat
430bd9c12a
store process instance errors in the db w/ burnettk 2023-04-19 11:24:54 -04:00
jasquat
4efdbdc48e
try to make single process hash unique within full process model hash 2023-04-17 15:42:58 -04:00
jasquat
3c8aab1048
added new column to bpmn process definition to store the full bpmn process hash digest w/ burnettk 2023-04-17 12:01:36 -04:00
jasquat
af97fee56c
removed spiff step details w/ burnettk 2023-03-23 16:33:30 -04:00
jasquat
63369387c6
pyl 2023-03-21 13:34:59 -04:00
jasquat
d6684124fd
use task table for process instance show page. spiff steps are not working yet and neither is data w/ burnettk 2023-03-20 16:51:29 -04:00
jasquat
c2c84ed9eb
some more index updates and a new migration for it w/ burnettk 2023-03-17 16:52:05 -04:00
jasquat
72b5b4caf2
recreated migrations to remove spiff logging w/ burnettk 2023-03-17 15:50:05 -04:00
jasquat
b5cfcc1fc6
added event logs for skipping and manually editing a task 2023-03-17 13:51:56 -04:00
jasquat
5e239f0e7f
added process instance event table 2023-03-17 13:20:06 -04:00
jasquat
8dc7c5fb2f
added bpmn_name columns to definition tables and added test for simple logs as well 2023-03-17 10:00:59 -04:00
jasquat
a2e659da87
added bpmn process definition to bpmn process w/ burnettk 2023-03-16 16:59:37 -04:00
jasquat
8927e9353a
merged in save_to_task_data branch and pyl with some cleanup w/ burnettk 2023-03-16 12:50:52 -04:00
jasquat
a22160e81c
some initial code to use tasks for logs 2023-03-16 09:30:25 -04:00
jasquat
b04976e4b1
fixed up tests and ran pyl w/ burnettk 2023-03-15 16:10:23 -04:00
jasquat
181e4ef81b
check data when running main spiff test w/ burnettk 2023-03-15 15:38:58 -04:00
jasquat
ae8a4de175
pyl and cleaned up debug code w/ burnettk 2023-03-15 12:15:48 -04:00
jasquat
6abc3dc69d
unit tests are passing w/ burnettk 2023-03-15 11:25:15 -04:00
jbirddog
b8e0a8f665
Move process instance locking to new queue table (#177) 2023-03-14 13:12:01 -04:00
jasquat
f3aa94dd8a
added some timestamp fields to bpmn process tables w/ burnettk 2023-03-07 10:41:54 -05:00
jasquat
3271ec6e2d
pyl and fixed cypress tests w/ burnettk 2023-03-06 11:59:33 -05:00
jasquat
9a1a8a4fbe
merged in main and resolved conflicts w/ burnettk 2023-03-06 11:15:16 -05:00
jasquat
5948addc66
removed process instance data and serialized bpmn definition models w/ burnettk 2023-03-06 11:13:53 -05:00
jasquat
512fbbbffd
some stuff is passing but still needs the process_instance_data w/ burnettk 2023-03-03 16:51:24 -05:00
burnettk
489e0780a1
get longblob on mysql, reset migrations since we are going to do that anyway in hours 2023-03-03 14:04:02 -05:00
jasquat
6b9c6e39e2
recreated migration from new one in main 2023-03-03 13:08:30 -05:00
jasquat
acc4b31faf
Merge remote-tracking branch 'origin/main' into feature/split_up_bpmn_json 2023-03-03 13:04:26 -05:00