cr-connect-workflow/crc/models
Dan Funk 3b57adb84c Continuing a major refactor. Some important points:
* TaskEvents now contain the data for each event as it was when the task was completed.
* When loading a task for the front end, if the task was completed previously, we take that data, and overwrite it with the lastest data, allowing users to see previously entered values.
* Pulling in the Admin branch, as there are changes in that branch that are critical to seeing what is happening when we do this thing.
* Moved code for converting a workflow to an API ready data stricture into the Workflow service where it belongs, and out of the API.
* Hard resets just convert to using the latest spec, they don't try to keep the data from the last task.  There is a better way.
* Moving to a previous task does not attept to keep the data from the last completed task.
* Added a function that will fix all the existing RRT data by adding critical data into the TaskEvent model. This can be called with from the flask command line tool.
2020-06-17 17:11:15 -04:00
..
__init__.py Refactor models into seperate directories 2019-12-31 16:32:47 -05:00
api_models.py Continuing a major refactor. Some important points: 2020-06-17 17:11:15 -04:00
approval.py Allow setting the type of approvals you want back, by status. 2020-06-05 17:49:55 -04:00
file.py Fixing the migrations so I don't break the universe. 2020-06-04 10:09:36 -04:00
ldap.py Default mail user name and password to blank. 2020-06-08 14:15:56 -04:00
protocol_builder.py Updated the study status to use a different enumeration. Migration correctly handles modifying the enum. 2020-04-21 17:13:30 -04:00
stats.py Don't put all the data into Spiff Tasks on a reload or backtrack, just store the data that gets submitted each time in the task log, and use that. 2020-06-01 17:42:39 -04:00
study.py Fixing broken test by using proper FileSchema 2020-05-31 22:00:52 -06:00
user.py Prevents non-admin users from editing each others' tasks. Fixes bug where test user uid was not being set from token. Moves complete form and get workflow API test utility methods into BaseTest. 2020-06-12 13:46:10 -04:00
workflow.py Ludicrously stupid launch in a refactor of the way all files work in the system at a time where I crave sleep and peace above all other things. 2020-05-28 20:03:50 -04:00