Commit Graph

1868 Commits

Author SHA1 Message Date
mike cullerton 2d4a68da6d Added test for deleting files on restart. 2021-04-15 11:30:17 -04:00
mike cullerton 69396f9888 Modified base_test restart_workflow_api to accept and pass on the new delete_files argument when restarting a workflow 2021-04-15 11:28:35 -04:00
mike cullerton 91e80d01bc Added delete_files argument to the workflow_processor reset method.
Added code to delete the files when delete_files is True.
2021-04-15 11:25:58 -04:00
mike cullerton 3332b9c7c0 Added delete_files argument to the restart_workflow api method, and pass it along to WorkflowProcessor.reset 2021-04-15 11:23:20 -04:00
mike cullerton 4615649938 Added delete_files argument to the workflow restart api endpoint 2021-04-15 11:21:51 -04:00
Kelly McDonald 949f3be403 give an endpoint to return all files associated with a study 2021-04-12 12:23:33 -04:00
Dan 069de83bd5 forgot to include a bpmn for the tests. 2021-04-09 09:02:43 -04:00
Dan 6427a54d74 Set the correct default value on enumerations - if it is a multi-select enum (checkbox is set) then it should return a default value of an empty array, and not a dictionary. 2021-04-09 08:40:58 -04:00
Dan 99394ef953 Fix to spiffworkflow. 2021-04-08 16:11:49 -04:00
Dan 41310b6879 Allow both a keyword argument, a single argument when calling delete_file. And call it "delete_file" to be more conssitent with existing scripts. 2021-04-08 13:42:17 -04:00
Dan Funk 611c72f431
Merge pull request #284 from sartography/delete-uploaded-file-script-283
Delete uploaded file script #283
2021-04-08 12:42:30 -04:00
Dan Funk b0896548f2
Merge pull request #285 from sartography/dependabot/pip/deploy/urllib3-1.26.4
Bump urllib3 from 1.26.3 to 1.26.4 in /deploy
2021-04-08 12:35:30 -04:00
dependabot[bot] e3302c56ea
Bump urllib3 from 1.26.3 to 1.26.4 in /deploy
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.4.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-06 18:08:27 +00:00
mike cullerton 5155db89f9 Added test for deleting multiple files.
Fixed existing tests to accommodate changes to test workflow bpmn file
2021-04-05 15:13:32 -04:00
mike cullerton 70fbd49aab Modified my test workflow so it works better for testing multiple file deletions 2021-04-05 15:12:14 -04:00
mike cullerton f8428378e2 You can now delete a document or list of documents.
Also, refactored the fancy bits into `process_document_deletion`
2021-04-05 15:11:06 -04:00
mike cullerton 33cef2bd2a Added tests for failing conditions 2021-04-05 13:19:29 -04:00
mike cullerton c6b1fd4e52 Fix for failing tests. Q_COMPLETE is no longer a column in the PB Mock study table. 2021-04-05 13:18:56 -04:00
mike cullerton 61f37ff894 Changed the order of imports so I could debug a failing test 2021-04-05 13:16:43 -04:00
mike cullerton f0f5cff8d7 Added some checks to do_task to look for valid irb_doc_code and whether or not we found a file
Added code for do_task_validate
2021-04-05 13:15:09 -04:00
Dan 4fd8fd13f8 Remove approvals from the study_info script. It was broken, and isn't really possible in this way anymore 2021-04-05 12:52:23 -04:00
Dan 501487b31c Assure we convert to box for validations as well, and test the bloodly snot out of this. 2021-04-05 12:47:50 -04:00
Dan 727aa72e18 Fix a bug from recent performance improvments - be sure that our study info script returns dicts that can be referenced immediately with dot notation, as this is a common pattern in our bpmn script tasks. 2021-04-05 11:31:06 -04:00
mike cullerton 9317e49e65 Merge branch 'dev' into delete-uploaded-file-script-283 2021-04-05 10:40:33 -04:00
Kelly McDonald 9f66a938f2 Update pip 2021-04-05 10:19:29 -04:00
mike cullerton d81497f8cb Test and workflow for new script to delete IRB documents 2021-04-05 08:55:41 -04:00
mike cullerton 0eb6291740 Script to delete an IRB document. Takes an `irb_document` argument.
Deletes all files associated with the workflow with that IRB document code
2021-04-05 08:55:02 -04:00
Dan Funk 7ef43fd477
Merge pull request #279 from sartography/263-optimize-dashboard
263 optimize dashboard
2021-04-02 18:54:56 -04:00
Dan 9dca220089 updating package.lock 2021-04-02 17:58:43 -04:00
Dan dcb4e7b736 fixing an error by taking a bit of the magic out of one of Mike's regex hinting tools. I figure the hint is still good, and a little less bittle, and all the information is already there if people need to dig. 2021-04-02 17:58:27 -04:00
Dan 3ad3a086ba Merge branch 'dev' into 263-optimize-dashboard 2021-04-02 17:12:02 -04:00
Dan 8edcb4fbc0 Merge remote-tracking branch 'origin/dev' into 263-optimize-dashboard 2021-04-02 17:11:21 -04:00
Dan Funk c7a07af88b
Merge pull request #276 from sartography/dependabot/pip/lxml-4.6.3
Bump lxml from 4.6.2 to 4.6.3
2021-04-02 17:10:53 -04:00
Dan 2100f27976 fixing the api.yml file which was starting to throw errors when updating the libraries.
Seems that sqlalchemy now has a hard time incrementing sequences, so putting in a fix for this.
Upgrading many of our libraries, to avoid any disconnects as we try to handle security patches from these automated bumps.
2021-04-02 17:10:05 -04:00
Dan 51b8b4f52c Merge remote-tracking branch 'origin/dev' into dependabot/pip/lxml-4.6.3 2021-04-02 15:11:09 -04:00
Dan 33a87f6c35 Merge branch 'dev' into dependabot/pip/lxml-4.6.3 2021-04-02 14:55:59 -04:00
Dan Funk 6083cacc4a
Merge pull request #268 from sartography/dependabot/pip/deploy/urllib3-1.26.3
Bump urllib3 from 1.26.2 to 1.26.3 in /deploy
2021-04-02 14:55:34 -04:00
Dan Funk ae1e847d73
Merge pull request #278 from sartography/dependabot/pip/deploy/pygments-2.7.4
Bump pygments from 2.7.2 to 2.7.4 in /deploy
2021-04-02 14:35:36 -04:00
Dan cfa8003173 Merge branch 'dev' into dependabot/pip/deploy/urllib3-1.26.3 2021-04-02 14:32:03 -04:00
mike cullerton d7894f43b6 These changes relate to changes in PB Mock ticket 273, where we removed Q_COMPLETE as a column in the PB Mock Study table. It is now a relationship.
Here, we removed Q_COMPLETE from ProtocolBuilderStudy and ProtocolBuilderStudySchema definitions to accommodate the PB Mock changes.

***This push will need to be coordinated with ticket 273***
2021-04-02 12:01:00 -04:00
Kelly McDonald 116bf5e7aa Merge branch 'dev' into 263-optimize-dashboard
# Conflicts:
#	crc/services/study_service.py
2021-03-31 10:20:33 -04:00
Kelly McDonald 9084866015 Update error message - it may be that we should spend a bit and see if we can make the Box error 2021-03-31 10:17:08 -04:00
Kelly McDonald 60f5be1aef Check in - pending change from @cullerton 2021-03-30 12:10:49 -04:00
dependabot[bot] 0feee28ba1
Bump pygments from 2.7.2 to 2.7.4 in /deploy
Bumps [pygments](https://github.com/pygments/pygments) from 2.7.2 to 2.7.4.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.7.2...2.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-29 23:39:17 +00:00
Dan Funk b5d4df595f
Merge pull request #271 from sartography/master-workflow-status-messages-222
Master workflow status messages 222
2021-03-26 20:52:24 -04:00
Dan ded11ddd82 fixing a code smell 2021-03-26 20:25:34 -04:00
Dan 14f3c5b413 Merge branch 'dependabot/pip/lxml-4.6.3' of github.com:sartography/cr-connect-workflow into dependabot/pip/lxml-4.6.3 2021-03-26 20:07:48 -04:00
dependabot[bot] a28f1f3750
Bump lxml from 4.6.2 to 4.6.3
Bumps [lxml](https://github.com/lxml/lxml) from 4.6.2 to 4.6.3.
- [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.2...lxml-4.6.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-26 23:56:10 +00:00
Dan 00bdeb17c0 Merge remote-tracking branch 'origin/dev' into dependabot/pip/lxml-4.6.3 2021-03-26 19:55:46 -04:00
Dan Funk 8176d7e2b6
Merge pull request #275 from sartography/dependabot/pip/deploy/lxml-4.6.3
Bump lxml from 4.6.2 to 4.6.3 in /deploy
2021-03-26 19:50:43 -04:00