mike cullerton
2d9307cc4e
Tests for each of the ways we can pass attachments
2022-05-27 10:25:20 -04:00
Dan
fb790fabe9
Merge branch 'dev' into chore/email-script-parameter-746
2022-05-26 11:51:01 -04:00
Dan Funk
d517f003e0
Merge pull request #546 from sartography/chore/create-template-option-745
...
Chore/create template option #745
2022-05-25 16:26:52 -04:00
mike cullerton
7ab265a5b5
Add a test for filtering attachments
...
Modify the bpmn file to accommodate the changes
2022-05-23 16:59:47 -04:00
mike cullerton
e92be44b6c
Assert that we have the correct file name, depending on whether we pass the optional file_name parameter
...
Modify the bpmn file to accept the optional file_name
2022-05-23 14:22:14 -04:00
mike cullerton
b66bfb8a9b
Merge branch 'dev' into chore/get-instance-script-729
2022-05-17 10:02:19 -04:00
mike cullerton
aa31007284
Added meaningful task names
2022-05-11 15:08:26 -04:00
mike cullerton
2e9205fa08
Test and workflow for new script
2022-05-11 15:07:47 -04:00
mike cullerton
5230ad8ee7
Test and workflow for new script
2022-05-10 15:11:49 -04:00
mike cullerton
c28e9a5bdd
Make sure we update workflow state when processing the master workflow
2022-05-06 14:09:23 -04:00
mike cullerton
9b65c46eeb
Workflow for new test
2022-05-06 09:24:17 -04:00
mike cullerton
c42fdb8d6f
Modify test to include name. Assert name is in the table
2022-04-25 15:42:17 -04:00
mike cullerton
08e9628350
Fix test for get_zipped_files script
2022-04-19 11:37:08 -04:00
Dan
5e54c90b47
"Reset" should not mean "re-start". Calling the reset_workflow script will now set the workflow to an "unstarted" state with no outstanding tasks, no json-state structure stored. The workflow is not yet running.
...
Also:
* Assured that arguments are consistent (we always seem to use workflow_spec_id, so I made sure we use that consistently.
* Don't require named parameters - so it's cool to call it like: reset_workflow('my_workflow_id')
* Task Actions (ie create, assign, etc...) are now an enumeration in the models, and not static variables on Workflow Service, so we can reference them consistently from anywhere.
* Removed some repetitive code
* Always try to validate as much as possible in the scripts to save folks time debugging.
*
2022-04-15 15:36:23 -04:00
mike cullerton
ae67c8985a
forgot the workflow
2022-04-14 15:50:12 -04:00
mike cullerton
ea657cbbc2
Change value from string 'None' to value None to test deleting data_stores.
...
This as a work around, because the form field is set to string for other uses
2022-04-13 18:09:18 -04:00
mike cullerton
19da7ecd7e
Fix test workflows to use new data_store scripts
2022-04-13 18:07:13 -04:00
mike cullerton
721907bf52
Modify test workflow to use new data_store_set script instead of separate study_data_set, user_data_set, and file_data_set scripts
2022-04-13 13:51:25 -04:00
Dan Funk
bf898993c4
Merge pull request #514 from sartography/get-irb-info-issue-702
...
Get irb info issue #702
2022-04-12 08:14:14 -04:00
mike cullerton
ed49ebcc23
Fix mock data to only return 1 record
...
Add mock record for error state when study is not yet uploaded
2022-04-07 14:39:39 -04:00
mike cullerton
da7c0a50ae
Workflows for new tests
2022-04-05 18:17:54 -04:00
Dan Funk
095105e3e6
Merge pull request #508 from sartography/validation-with-data-store-396
...
Validation with data store #396
2022-04-04 16:51:57 -04:00
mike cullerton
51c6871d06
Update mock data to use new valid review type
2022-03-30 10:30:27 -04:00
Mike Cullerton
9ec1514267
Merge pull request #509 from sartography/chore/zip-file-update-688
...
Chore/zip file update #688
2022-03-29 09:41:32 -04:00
Mike Cullerton
6ff0cdbb9d
Merge pull request #507 from sartography/bug/validating_data_security
...
Bug/validating data security #684
2022-03-29 09:41:02 -04:00
mike cullerton
ee3217de62
Test for new feature
2022-03-28 11:59:53 -04:00
mike cullerton
6b93d605d4
Test for new validation_data_store.
...
We set 3 `real` data_store values in the DB
The workflow sets 3 validation_data_store values
We assert that the correct values are returned.
We also assert that we get correct default values back if we pass in bad keys
2022-03-25 10:06:03 -04:00
mike cullerton
51fa494d03
Assert we evaluate the hidden property correctly during validation.
2022-03-23 16:49:35 -04:00
mike cullerton
94abd7eebf
*** WIP ***
...
Add a temporary data store for validation
2022-03-23 15:15:01 -04:00
Dan Funk
244fced84d
Merge pull request #506 from sartography/chore/unchecked-checkbox-default-671
...
Unchecked checkbox default #671
2022-03-23 10:59:47 -04:00
mike cullerton
1969e0b051
Make sure we don't get null/None back from a boolean checkbox.
...
This is not a comprehensive test, because we can't have an unchecked checkbox in validation.
We really need a frontend test for this.
2022-03-23 09:48:13 -04:00
alicia pritchett
487a1a3987
Fixes #667- Validate Lane Variables
2022-03-21 12:18:40 -04:00
Dan
a401c41b23
Setting a minimum date for which to import studies.
...
Merging in code to improve performance of calculating percent complete for a study.
Assureing we have a primary investigator for the front page (another merge)
2022-03-18 15:27:45 -04:00
Dan
ef5aca4fe4
ReviewType now comes back with the user studies, so we don't need to make an additional query to get it.
2022-03-18 09:59:10 -04:00
mike cullerton
199fe0626a
Assert that if we get null
for DATELASTMODIFIED, we use the value in DATECREATED
2022-03-17 15:56:44 -04:00
Dan
52b5e1d34a
Fixing tests.
2022-03-11 18:02:37 -05:00
Dan Funk
2d5517bd15
Merge pull request #487 from sartography/chore/update-get-workflow-status-664
...
Chore/update get workflow status #664
2022-03-10 14:30:32 -05:00
mike cullerton
291de1c322
Add UserTask to pass in log data--level, code, and message
2022-03-09 14:55:52 -05:00
mike cullerton
e1d1a7613d
Fix test to use workflow_spec_id
2022-03-09 11:15:20 -05:00
Dan
26eeb2912a
Only run the form validation stuff if we have a form.
...
If there is a default value, use it, regardless of whether the form is hidden (this is how the front end works)
(accomplished by moving the hide_epxression check -> continue stuff below the set default_value code)
2022-03-08 18:13:54 -05:00
Dan
b03e24bbf4
Properly handle forms where a field is required, based on a later field.
...
Do an aboutface on saying that if a field is required but hidden, it has to have a default value. I'm just commenting this out for now, as it made getting these workflows to validate bloody impossible.
Clean up the replication of code for identifying required fields (as it wasn't consistently applied)
Removing some very broken and apparently unused methods.
2022-03-08 17:36:13 -05:00
Dan Funk
3f82cdae48
Merge pull request #485 from sartography/bug/validating-associates-659
...
Bug/validating associates #659
2022-03-07 14:20:20 -05:00
mike cullerton
ebaf857a14
Tests for using study in get_study_associates
2022-03-04 16:28:42 -05:00
mike cullerton
0ad12f9c85
Test for set_study_status script
2022-03-03 11:11:54 -05:00
mike cullerton
9c0b5b9e16
Test for new feature
2022-03-01 16:17:34 -05:00
mike cullerton
2c427cc34c
Temporary fix for variable issue in SpiffWorkflow.
...
There is a fix coming in SpiffWorkflow
2022-02-25 15:56:13 -05:00
mike cullerton
f2c97f80d5
Merge branch 'dev' into feature/delete-variable-script-584
...
# Conflicts:
# Pipfile.lock
2022-02-25 15:54:34 -05:00
Dan Funk
18802d6732
Merge pull request #468 from sartography/chore/performance
...
Performance Improvements:
2022-02-25 12:10:47 -05:00
Dan Funk
b6af80f6de
Merge pull request #469 from sartography/feature/modify-spreadsheet-624
...
modify spreadsheet #624
2022-02-25 10:29:37 -05:00
Dan Funk
5ff84d74f1
Merge pull request #464 from sartography/feature/start-workflow-602
...
Feature/start workflow #602
2022-02-25 10:28:26 -05:00