3259 Commits

Author SHA1 Message Date
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
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
Dan
d934b5a1da Merge branch 'dev' into main 2022-06-29 11:29:31 -04:00
Dan Funk
4ae1bad993
Merge pull request #558 from sartography/dependabot/pip/deploy/numpy-1.22.0
Bump numpy from 1.21.0 to 1.22.0 in /deploy
2022-06-29 11:27:51 -04:00
Dan Funk
8ea3f7df14
Merge pull request #560 from sartography/chore/upgrade_spiffworkflow
Chore/upgrade spiffworkflow
2022-06-29 11:27:33 -04:00
Dan
da10eef7c6 updating the pipfile to use the new spiffworkflow.
Fixing a slight bug in the lookup service tests, so they pass consistently.
2022-06-24 12:01:04 -04:00
Dan
b15750d2e4 Cleaned up the Workflow Processor's init method
* removed all the performance metric code into a separate function.
* restructured the code so it is either creating a new workflow, or deserializing an old one.
* Added code to upgrade serialized objects from 1.0 to 1.1
* Using the new method of creating a bpmn_workflow object:
```python
                parser = self.get_spec_parser(self.spec_files, spec_info)
                top_level = parser.get_spec(spec_info.primary_process_id)
                subprocesses = parser.get_process_specs()
                self.bpmn_workflow = BpmnWorkflow(top_level, subprocesses, script_engine=self._script_engine)
```
Fixed a few minor bugs that stood out while testing
1. when updating a workflow, we should check for a valid task BEFORE calling cancel_notify, which requires a valid task.
2. get_localtime - quick fix on the date parser - for python 3.9.
3. the start_workflow script would error out in a way that made it unclear which workflow was having the problem.  Fixed the error.
2022-06-24 11:34:39 -04:00
mike cullerton
8d8db5f3ce Merge branch 'dev' 2022-06-22 16:00:13 -04:00
Dan Funk
5ff751058d
Merge pull request #559 from sartography/email-doc-code-fix-758
Fix bug - Rename column `doc_codes` to `doc_code` #758
2022-06-22 15:47:58 -04:00
mike cullerton
704917c7e3 Fix bug - Rename column doc_codes to doc_code 2022-06-22 15:33:22 -04:00
mike cullerton
3f785dc597 Fix migration issue 2022-06-22 14:11:54 -04:00
dependabot[bot]
a3fd617139
Bump numpy from 1.21.0 to 1.22.0 in /deploy
Bumps [numpy](https://github.com/numpy/numpy) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/HOWTO_RELEASE.rst)
- [Commits](https://github.com/numpy/numpy/compare/v1.21.0...v1.22.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-22 05:00:11 +00:00
Dan Funk
9378a2ae1f
Merge pull request #557 from sartography/chore/return-to-pi-api-759
Chore/return to pi api #759
2022-06-20 16:40:33 -04:00
Dan Funk
56d3a61f54
Merge pull request #556 from sartography/chore/email-attachment-info-758
Chore/email attachment info #758
2022-06-20 12:55:07 -04:00
Dan Funk
d7c294e5f1
Merge pull request #555 from sartography/bug/move-workflow-spec-issue-744
Bug/move workflow spec issue #744
2022-06-20 12:22:45 -04:00
mike cullerton
77a56a9279 Test for new PB endpoint 2022-06-20 11:26:53 -04:00
mike cullerton
700c551e84 Script to retrieve Pre Reviews for a study 2022-06-20 11:26:06 -04:00
mike cullerton
7c9ccac8d2 Add new PB API endpoint for Pre Reviews. 2022-06-20 11:24:54 -04:00
mike cullerton
fd0058355b Add more examples in the description 2022-06-20 09:21:13 -04:00
mike cullerton
0eee33f2a7 Make sure we send doc_codes with the get_email_data script 2022-06-15 17:07:02 -04:00
mike cullerton
6b651c3da1 pass the doc_code along with the file data when appending attachments to email 2022-06-15 17:06:33 -04:00
mike cullerton
f060c60b03 save doc_codes to the DB, when we send an email 2022-06-15 17:06:01 -04:00
mike cullerton
6f393f712d Store doc_code information for email message attachments
- create table `email_doc_codes`
- create relationship with `email` table
- create schema for the new table
2022-06-15 15:15:40 -04:00