Commit Graph

3296 Commits

Author SHA1 Message Date
danfunk 0e26f46a05 minor tweaks to postgres local development. 2023-05-10 11:49:34 -04:00
danfunk 8bf3415c34 Fixing a bad migration 2023-05-10 11:48:55 -04:00
Dan 59490fc350 locking spiffworkflow to a branch because we will not be able to quickly upgrade it at this time. This will allow the latest camunda forms to work. 2023-03-07 15:17:31 -05:00
Dan Funk af7cba2d54
Merge pull request #583 from sartography/feature/study-id-script-773
Script that returns the current study_id #773
2023-02-24 14:20:10 -05:00
mike cullerton acaf3c2fd2 Simple script that returns the current study_id
Includes test and bpmn
2023-02-24 11:05:27 -05:00
Dan Funk ee77d51d1c
Merge pull request #577 from sartography/dependabot/pip/deploy/certifi-2022.12.7
Bump certifi from 2020.11.8 to 2022.12.7 in /deploy
2023-02-14 10:36:57 -05:00
Dan Funk 4f634ea057
Merge pull request #578 from sartography/dependabot/pip/certifi-2022.12.7
Bump certifi from 2020.11.8 to 2022.12.7
2023-02-14 10:36:31 -05:00
Dan cc00b545dc use the correct name for the script task. 2023-01-18 13:45:13 -05:00
Dan de85af4815 Merge branch 'feature/get-user-studies-script' into main 2023-01-13 13:10:51 -05:00
mike cullerton 971e869791 Add comment in the script about last assertion 2023-01-12 13:48:03 -05:00
mike cullerton 1009f8e1e7 Simplified the test 2023-01-12 13:44:55 -05:00
mike cullerton aebb9a578e Test for new script 2023-01-12 13:05:20 -05:00
mike cullerton acde03806c Returns the list of studies for a user, from protocol builder 2023-01-12 13:04:55 -05:00
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
dependabot[bot] a1bc7e366a
Bump certifi from 2020.11.8 to 2022.12.7 in /deploy
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-08 07:37:02 +00:00
Dan Funk 51ae2c7f94
Merge pull request #576 from sartography/dev
dev to main
2022-12-02 11:00:24 -05: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 3cb1bbcc1a
Merge pull request #574 from sartography/dev
merge to main
2022-11-17 11:46:07 -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