Commit Graph

38 Commits

Author SHA1 Message Date
Dan d346589e07 1. added the ability to filter on level and user.
2. added a total to the response, so you can see what the total count of users is.
3. adding user_uid to the task_log table.
2022-01-12 08:58:50 -05:00
Dan 962d05c875 1. Created a TaskLoggingService to encapsulate what we are doing with Task Logging through BPMN Script calls and API calls from the front end.
2. Added two api endpoints that will allow us to get all the logs for a specific workflow or study.
3. Assured that requests for logs are paginated, sortable, and can be limited to a specific code if needed.
4. Assure that we only use logging levels that match the log levels of Python.
2022-01-10 13:16:54 -05:00
mike cullerton daef419993 Tests and workflow for the changes 2021-12-10 16:18:05 -05:00
mike cullerton 61975093f9 Renamed some files to include the word `progress` 2021-12-10 15:47:34 -05:00
mike cullerton 49ba36c95e Use one of the new statuses in the test.
Fix bug in validation test
2021-12-09 13:33:20 -05:00
mike cullerton 7ca7de177e Removed print statements 2021-12-03 11:55:35 -05:00
mike cullerton fa61aa0354 Tests for set_study_status 2021-12-03 11:45:39 -05:00
mike cullerton 1ed76bf534 test for get_study_status 2021-12-02 15:31:14 -05:00
mike cullerton 0f1ccd7db5 New script to check workflow status.
Includes test and test workflow
2021-11-30 08:54:15 -05:00
Dan d1eae3c15a Validation was failing for enum_label() expressions when called within a sub-process. Possible (but unlikely) that this would occur outside validation. 2021-11-09 12:55:06 -05:00
Dan Funk 3a36a48b88
Merge pull request #418 from sartography/convert-timestamp-499
Added ordered arguments to the get_localtime script #499
2021-11-03 14:28:57 -04:00
mike cullerton 1f9c80d70d Added ordered arguments to the get_localtime script
Modified the workflow so the first task is a form with booleans that allows me to test all the permutations.
Modified tests to cover all the permutations for calling the script
2021-11-03 08:36:24 -04:00
mike cullerton 47ead5ab45 Fixed validation bug.
There is no element documentation available in the task, so we mock up the email content.
2021-11-02 10:00:41 -04:00
Dan Funk c4f3a3ad0d
Merge pull request #413 from sartography/logging-script-513
Logging script #513
2021-11-01 15:41:38 -04:00
mike cullerton 81bb0013c8 Doh 2021-10-27 17:15:49 -04:00
mike cullerton 14593d54ef Added tests for validation 2021-10-27 17:03:46 -04:00
mike cullerton 629fe6f571 Tests and workflows 2021-10-27 16:39:50 -04:00
mike cullerton 38fbd08517 Renamed file 2021-10-27 16:36:48 -04:00
mike cullerton a3c3a9a75d Test and workflow for the new logging script 2021-10-27 12:22:17 -04:00
mike cullerton 7090a22a23 Remove content_html from the data we return from the email and get_email_data scripts 2021-10-26 16:28:50 -04:00
Dan d2799a758e Merge branch 'refactor/enums_as_key_value' into dev 2021-10-26 13:02:36 -04:00
Dan d0446cbc8a A quick fix to enum_label script. 2021-10-26 12:59:43 -04:00
alicia pritchett 7959f8ca3f
Merge pull request #405 from sartography/refactor/enums_as_key_value
Death to enumerated dictionaries
2021-10-25 15:17:17 -04:00
Dan 84ce24243f add an enum_label script that will return the label given a value selection. 2021-10-21 13:57:49 -04:00
mike cullerton c566fa1c8f Fixed test to look for datetime object 2021-10-20 12:16:18 -04:00
mike cullerton fc3e7f8183 Simple test for get_localtime script 2021-10-14 11:02:51 -04:00
mike cullerton 8015d35424 Script to get localtime from a UTC datetime 2021-10-13 15:36:37 -04:00
mike cullerton 3366142cf3 Remove unused import 2021-10-12 13:56:43 -04:00
mike cullerton f41406a6d9 Fixes from changing workflow_id to workflow_spec_id 2021-10-12 13:46:05 -04:00
mike cullerton 7f11d5bd58 Tests for get_email_data script. 2021-10-07 12:11:22 -04:00
mike cullerton ea083e3a52 Changes to tests, and new test for the get_file_data script 2021-10-07 09:25:07 -04:00
mike cullerton 7956c71fcc Changed test to use a workflow, so we have the correct type of task 2021-09-16 13:45:51 -04:00
mike cullerton 02de382b8b Test for new script 2021-09-14 10:41:01 -04:00
mike cullerton 54cb74e0a4 Test for the new script 2021-08-26 08:44:22 -04:00
mike cullerton 8145ff9025 Tests for calling the script 2021-07-02 16:14:19 -04:00
Dan 50ad42d3a8 You have to mock out the protocol builder in tests that rely on it. 2021-06-08 12:36:47 -04:00
Dan 076d198fc6 fixing a failing test for study associate. 2021-06-08 12:18:16 -04:00
mike cullerton 70651e2a6a Test and BPMN files for testing 2021-06-04 11:45:51 -04:00