cr-connect-workflow/crc/services
mike cullerton 67697b5076 Lots of changes!
Email Script:
- The email script now accepts 3 keyword arguments; subject, recipients, and cc.
- Subject and recipients are required.
- Recipients (and cc) can be an email address or list of addresses.
- You can use the string 'associated' in place of an email address, in which case we look up the users associated with a study that have send_email set to True.
- Moved some helper methods to email_service.

Email Service:
- Added cc argument
- Added helper methods previously in email script.
- Modified get_rendered_content to accept message and data directly. Previously, we passed in the task and grabbed them from there. Now we can use the method outside a task.
2021-03-11 11:32:21 -05:00
..
__init__.py Provide a script for generating word documents from template files. Refractored file managment into a service to make it easier to programatically add files. Modified the workflow_processor to inject the study_id and workflow_id into the running workflow so that this meta-information is avialable at the task level. 2020-02-10 16:19:23 -05:00
email_service.py Lots of changes! 2021-03-11 11:32:21 -05:00
error_service.py Customer Error is in a place that we can try it out on testing. 2021-03-01 16:41:55 -05:00
failing_service.py Tests for uid in logs. Currently we test for uid in a response. This covers ApiError. 2020-12-11 17:47:53 -05:00
file_service.py Changes to enable front-end changes 2021-02-10 11:58:19 -05:00
ldap_service.py initial checkin of changes for branch 2021-02-24 12:05:06 -05:00
lookup_service.py adding a warning in the logger so we can see when expensive calls are made to rebuild searches for enumerations. But all looks good. 2021-03-02 12:21:51 -05:00
mails.py Fixes local testing bug where working directory was sometimes wrong. 2020-06-29 16:41:42 -04:00
protocol_builder.py Add 'sponsors' to study_info call 2020-11-04 14:34:10 -05:00
study_service.py Add short_title to study, change update_study task to use kw arguments and add the short_title to the update_study script 2021-03-02 10:03:53 -05:00
user_service.py Adds AdminSession model and refactors impersonation methods to use it. 2020-07-30 12:40:53 -04:00
workflow_processor.py Merge branch 'dev' into bug/225_enum_lookup_same_field_name 2021-03-02 14:15:58 -05:00
workflow_service.py Add test and make sure that the API endpoint does the right thing when we switch users - checks both associated with access and associated with no access 2021-02-25 12:20:43 -05:00
workflow_sync.py Make sure that top_level_workflow is transferred over, also include reference files in the list of files to sync 2021-01-11 09:21:44 -05:00