Commit Graph

3280 Commits

Author SHA1 Message Date
dependabot[bot] 37187e8481
Bump certifi from 2020.11.8 to 2022.12.7
Bumps [certifi](https://github.com/certifi/python-certifi) from 2020.11.8 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2020.11.08...2022.12.07)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-09 08:40:36 +00:00
Dan Funk 949651ec5e
Merge pull request #575 from sartography/bug/restart-issue-770
Bug/restart issue 770
2022-12-02 10:59:51 -05:00
Dan Funk 216b2e0971
Merge pull request #569 from sartography/dependabot/pip/mako-1.2.2
Bump mako from 1.1.3 to 1.2.2
2022-12-02 10:56:49 -05:00
Dan Funk 969eecc689
Merge pull request #568 from sartography/dependabot/pip/deploy/mako-1.2.2
Bump mako from 1.1.3 to 1.2.2 in /deploy
2022-12-02 10:56:29 -05:00
mike cullerton 9865ae14d2 Fix tests to include user_id for WorkflowApi 2022-12-01 12:25:21 -05:00
mike cullerton f900279a02 include workflow.user_id in the WorkflowApi Model 2022-12-01 12:24:08 -05:00
Dan Funk 49f7cd92a6
Merge pull request #573 from sartography/bug/rename-file-issue
Rename file issue #768
2022-11-17 11:45:34 -05:00
mike cullerton 00c1c80356 Backend changes for renaming a bpmn file. 2022-11-17 10:47:35 -05:00
dependabot[bot] 7cb9c7fc4a
Bump mako from 1.1.3 to 1.2.2
Bumps [mako](https://github.com/sqlalchemy/mako) from 1.1.3 to 1.2.2.
- [Release notes](https://github.com/sqlalchemy/mako/releases)
- [Changelog](https://github.com/sqlalchemy/mako/blob/main/CHANGES)
- [Commits](https://github.com/sqlalchemy/mako/commits)

---
updated-dependencies:
- dependency-name: mako
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-16 17:30:22 +00:00
dependabot[bot] ecf1dc4280
Bump mako from 1.1.3 to 1.2.2 in /deploy
Bumps [mako](https://github.com/sqlalchemy/mako) from 1.1.3 to 1.2.2.
- [Release notes](https://github.com/sqlalchemy/mako/releases)
- [Changelog](https://github.com/sqlalchemy/mako/blob/main/CHANGES)
- [Commits](https://github.com/sqlalchemy/mako/commits)

---
updated-dependencies:
- dependency-name: mako
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-16 17:30:22 +00:00
Dan 513d5664c1 Getting all tests passing with latest SpiffWorkflow. 2022-11-16 12:29:18 -05:00
Dan Funk e58b4056ef
Merge pull request #572 from sartography/bug/modify-spreadsheet
Bug fix for modify_template.
2022-11-03 11:54:12 -04:00
mike cullerton 2b0d106be5 Bug fix for modify_template.
We were not checking whether the file was archived
2022-11-03 11:44:25 -04:00
Mike Cullerton 58e85f84e8
Merge pull request #571 from sartography/pb-sync-date
Pb sync date
2022-10-19 16:03:47 -04:00
jpitts-uva e7e4e6afc7 Merge branch 'dev' into pb-sync-date 2022-10-19 14:21:41 -04:00
jpitts-uva 90773f2887 Modified PB_MIN_DATE 2022-10-17 13:45:34 -04:00
jpitts-uva 8bbf28a44d Modified PB_MIN_DATE 2022-10-17 13:44:00 -04:00
Dan c50c9d834b Bumping SpiffWorkflow version with bug fix. 2022-10-14 10:54:18 -04:00
Dan Funk 23bac81260
Merge pull request #570 from sartography/feature/spiffworkflow_1_2
Feature/spiffworkflow 1 2
2022-10-13 17:02:24 -04:00
Dan a758f95fa2 updated Pipfile to point to latest SpiffWorkflow
test code was very unclear, just a quick fix to make it more readable.
2022-10-13 13:42:24 -04:00
Dan 39f2aaaf15 Point SpiffWorkflow dependency at new branch. 2022-10-07 15:47:32 -04:00
Dan 2249965ade Paginator arguments changed slightly in latest releases of SQLAlchemy
Spiffworkflow 1.2:  Top Level Imports moved to appropriate modules
   - replace 'from SpiffWorkflow import WorkflowException' to 'from SpiffWorkflow.exceptions import WorkflowException'
   - replace 'from SpiffWorkflow import TaskState' to 'from SpiffWorkflow.task import TaskState'
   - replace 'from SpiffWorkflow import Task' to 'from SpiffWorkflow.task import Task'

SpiffWorkflow 1.2: Navigation code removed completely.  Proved to be of little use to folks, was super complex and difficult to maintain.

SpiffWorkflow 1.2: When inserting custom functions into the PythonExecutionEngine - be aware that the task data will act as the full context for execution, and will contain global functions and methods during the exec call.

SpiffWorkflow 1.2: All Task Specs now have a spec_type attribute, containing a descriptive string of the type, such as "User Task", "Script Task", "Start Event" etc...
2022-10-07 14:58:08 -04:00
Dan 5c76c90d04 send_file's arguments changed in a 2.2 of Flask.
Spiffworkflow 1.2:  remove all references of timeit (no longer in SpiffWorkflow)
Spiffworkflow 1.2:  pythonScriptEngine._evaluate no longer accepts a task argument.
Spiffworkflow 1.2:  CancelEventDefinition was removed - please use SignalEventDefinition instead
 EX: replace bpmn_workflow.signal('cancel')  # generate a cancel signal.
              bpmn_workflow.catch(CancelEventDefinition())
 WITH: bpmn_workflow.catch(SignalEventDefinition('cancel'))
Spiffworkflow 1.2:  Task States are JUST integers and TaskSpecNames is now a public dictionary, and can be used to covert a state to human readable string
    EX:  REPLACE:  user_task.state.name
         WITH:     TaskStateNames[user_task.state]
2022-10-05 15:31:56 -04:00
jpitts-uva 8e3c2ab593 split creation date tests into 2 tests 2022-09-30 14:59:17 -04:00
jpitts-uva 369f1e64ed Fixed conflicts 2022-09-30 14:50:52 -04:00
jpitts-uva 591e2f52e5 Merge branch 'pb-sync-date' of https://github.com/sartography/cr-connect-workflow into pb-sync-date 2022-09-30 13:54:26 -04:00
jpitts-uva 3b5c7eb152 Split test_pb_startdate into two tests: test_pb_older_creation_date_filter and test_pb_recent_creation_date_filter. 2022-09-30 13:50:52 -04:00
jpitts-uva e2a2a691ef Filtering of studies is now by creation date instead of modified date. 2022-09-15 22:53:38 -04:00
jpitts-uva 33016005c2 Filtering of studies is now by creation date instead of modified date. 2022-09-15 15:36:17 -04:00
Dan Funk eb8e626d8f
Merge pull request #567 from sartography/bug/archived-email-attachments
Don't include archived files as email attachments #760
2022-08-15 15:01:28 -04:00
mike cullerton fdf3dd497c Make sure we don't include archived files as attachments 2022-08-10 14:40:53 -04:00
Dan 4816da7aaa Bumping version of spiffworkflow. 2022-07-20 15:08:27 -04:00
Dan Funk bd416cb25d
Merge pull request #566 from sartography/bug/navigation
Bug/navigation
2022-07-20 12:49:47 -04:00
Dan a8a24b8087 Bumping version of spiffworkflow. 2022-07-20 12:20:14 -04:00
Dan 4305b36b74 Removed total_tasks and completed_tasks - as they are no longer used by the front end, and were dubious as hell to begin with.
Upraded SpiffWorkflow and now use th new get_subprocess_specs
updated the calculate_stats in the workflow processor - as the serialization had changed drastically, and needed to debug some performance issues.
Added a get_navigation method that will calcuate a basic navigation list MUCH faster than using the get_flat_nav_list in Spiffworkflows Navigation object.
Modified a hellton of tests because we don't have total_task and completed_task counts, or a complex nested navigation list anymore.
2022-07-20 12:10:23 -04:00
Dan 706a7a5859 Removing an invalid configuration file. 2022-07-15 13:14:31 -04:00
Dan 9ab29cf1fe Upgrade spiffworkflow - the WorkflowTaskExecException was moved - so we have to update all import statements. 2022-07-14 13:37:16 -04:00
Dan Funk f792831dce
Merge pull request #564 from sartography/data-store-default-value-760
Data store default value #760
2022-07-14 13:19:36 -04:00
Dan Funk 3d11032c9c
Merge pull request #562 from sartography/dependabot/pip/deploy/lxml-4.9.1
Bump lxml from 4.6.5 to 4.9.1 in /deploy
2022-07-14 12:53:22 -04:00
mike cullerton cd743b4a72 Clean up data_store set
Fix workflow_service to work with data_store_service
2022-07-13 11:47:30 -04:00
mike cullerton e966641fdc Test for data store default value 2022-07-12 16:12:13 -04:00
mike cullerton a1c5f0d492 Be explicit about values in data store service.
I.e., none of this adding variables to args, and counting them
2022-07-12 16:11:50 -04:00
mike cullerton 644629fbc8 Bug deleting a study 2022-07-12 15:07:19 -04:00
mike cullerton 200ace2ce5 Add data_store table to admin page 2022-07-12 14:13:34 -04:00
dependabot[bot] 58bd054299
Bump lxml from 4.6.5 to 4.9.1 in /deploy
Bumps [lxml](https://github.com/lxml/lxml) from 4.6.5 to 4.9.1.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.5...lxml-4.9.1)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-07 19:06:57 +00:00
Dan 651c59942c fixing a bug in the navigation for SpiffWorkflow 2022-07-07 15:05:53 -04:00
Dan 011abfd252 Merge branch 'dev' of github.com:sartography/cr-connect-workflow into dev 2022-06-29 11:42:55 -04:00
Dan 16c534bc25 update action to allow manual runs. 2022-06-29 11:41:44 -04:00
Dan a8a479afa9 Just trying to get the action to run. 2022-06-29 11:38:36 -04:00
Dan Funk 2464b7ec0a
Merge pull request #561 from sartography/main
Main
2022-06-29 11:34:24 -04:00