* n plus one checks
* tests passing with nplusone
* satisfy probably-wrong json schema
* remove useless comment and consolidate poetry dev deps
* not actually going to add this dependency, but leave docs for next guy
---------
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
* removed id from task and still working on getting the migration working w/ burnettk
* fixed migration to work on postgres and sqlite as well w/ burnettk
* fixed tests w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
* get most recent tasks based on last_state_change instead of task_model.id
* added api to get task instances of a task
* some changes to support displaying task instances
* forgot to commit the controller
* updated frontend to display info for other instances of a task w/ burnettk
* some formatting to the selected task instance w/ burnettk
* do not get task instances when selecting different instance w/ burnettk
* added tests for task-instances w/ burnettk
* some ui tweaks for task instance view w/ burnettk
* updates based on coderabbit
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
* allow additional valid client ids to be specified for the purpose of token validation
* import the correct typedict and notrequired for python 3.10
* remove HEY
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
* Numeric range field added (#799)
Added a custom field to handle numeric ranges. The field checks for the first key in the properties of the schema and will add min and max to it when the values are put in.
* autofix lint stuff
* updates to simplify the code, fix a few ux issues, and make more inline with current conventions w/ burnettk
* removed subkey from numeric range and added validation to ensure max is greater than min w/ burnettk
* added some comments to clarify how to use numeric range w/ burnettk
* added some documentation for the numeric range field w/ burnettk
---------
Co-authored-by: Kayvon-Martinez <142514475+Kayvon-Martinez@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
6d6de0467 Merge pull request #375 from sartography/bugfix/correct-and-simplify-date-calculations
55ca26804 bugfix for invalid date
e4ceff40d Merge pull request #373 from sartography/feature/data-object-category
a62fa979e minor tweaks
300a521c0 removed print statement and pass line
c729ed4b4 added support to serialize data object category as well w/ burnettk essweine
d3d23f3eb support parser out the category for data objects w/ burnettk essweine
1f8cffb47 Merge pull request #372 from sartography/improvement/task-state-name-value-conversion-for-all-states
c248f23cb allow TaskState to handle name/value conversion for any mask
80f85be42 Merge pull request #371 from sartography/bugfix/cycle-timer-bugs
99cfaec0b delay first cycle execution by the duration
ee0f2ed90 make sure update is called on cycle timer children
a0d6b1e46 Update data.rst (#366)
5ee2e1cf9 Merge pull request #365 from fzzylogic/patch-1
2ae4296d9 Update data.rst
238efd0bc Merge pull request #362 from sartography/improvement/misc-cleanup-and-bugfixes
e6a5e5a42 make sure subprocess tasks are always added
13781271c correct dst calculation
c4e7f9024 remove deprecated methods from tests
c41e94931 fix resource warnings in version migration test
8ba4a9d37 deprecate FEEL script engine
d07eb5887 remove deprecated script engine arguments
220de4024 Merge pull request #361 from Leon0824/main
609ee3aff Unify connect() argument name to 'taskspec'
d9e7fc520 minor updates to serializer
7ecf3e23d miscellaneous cleanup
c9786c543 Merge pull request #360 from sartography/feature/remove-box
2b1fd2cd0 remove Box and associated tests
f59ad47eb Merge pull request #356 from sartography/feature/conditional-events
996b18d0d add serialization for conditional events
09ebf1b37 add support for conditional events
git-subtree-dir: SpiffWorkflow
git-subtree-split: 6d6de04678b03b985d2cd393d637f17634b8ac51
* WIP: some initial code for category in data objects
* attempt to get the data object for the given bpmn process and instance of it w/ burnettk
* updates for data objects
* fixed tests
* made suggestions by code rabbit and moved logic to get process data file out of shared method since it has a completely different implentation
* remove commented out code
* updated SpiffWorkflow for data object category
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
* WIP: some initial test code to test out celery w/ burnettk
* some cleanup for celery and added base model to put tasks waiting on timers
* removed dup bpmn file
* some more cleanup and added strategy to queue instructions
* some minor code changes w/ burnettk
* remove the unused next_task key from api calls since nobody uses it w/ burnettk essweine
* added migration for future tasks and added test to make sure we are inserting into it w/ burnettk essweine
* ensure future task run at time can be updated w/ burnettk
* added table to queue instructions for end user in w/ burnettk
* added test to ensure we are storing instructions for end users w/ burnettk
* added progress page to display new instructions to user
* ignore dup instructions on db insert w/ burnettk
* some more updates for celery w/ burnettk
* some pyl and test fixes w/ burnettk
* fixed tests w/ burnettk
* WIP: added in page to show instructions on pi show page w/ burnettk
* pi show page is fully using not interstitial now w/ burnettk
* fixed broken test w/ burnettk
* moved background processing items to own module w/ burnettk
* fixed apscheduler start script
* updated celery task queue to handle future tasks and upgraded black and set its line-length to match ruff w/ burnettk
* added support to run future tasks using countdown w/ burnettk
* build image for celery branch w/ burnettk
* poet does not exist in the image w/ burnettk
* start blocking scheduler should always start the scheduler w/ burnettk
* add init and stuff for this branch
* make this work not just on my mac
* send other args to only
* added running status for process instance and use that on fe to go to show page and added additional identifier to locking system to isolate celery workers better w/ burnettk
* fixed typing error that typeguard found, not sure why mypy did not w/ burnettk
* do not check for no instructions on interstitial page for cypress tests on frontend w/ burnettk
* do not queue process instances twice w/ burnettk
* removed bad file w/ burnettk
* queue tasks using strings to avoid circular imports when attmepting to queue w/ burnettk
* only queue imminent new timer events and mock celery
* some keyboard shortcut support on frontend and added ability to force run a process instance over the api w/ burnettk
* some styles added for the shortcut menu w/ burnettk
* pyl w/ burnettk
* fixed test w/ burnettk
* removed temporary celery script and added support for celery worker in run server locally w/ burnettk
* cleaned up migrations w/ burnettk
* created new migration to clean up old migrations
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
* This fixes guest login with using multiple auths, removes empty items from ApiError, and raises if redirect_url given to login does not match expected frontend host w/ burnettk
* get body for debug
* try to get the logs from the correct place to upload w/ burnettk
* mock the openid call instead of actually calling it w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>