Commit Graph

945 Commits

Author SHA1 Message Date
Dan Funk 2eaa54f59d
Merge pull request #128 from sartography/fix/csv-dump
Proper error handling in csv/dumps for approvals
2020-06-29 14:48:22 -04:00
Carlos Lopez d4bcb9af65 Proper error handling in csv/dumps for approvals 2020-06-27 13:59:04 -06:00
Dan Funk da530c13a4 Merge branch 'rrt/dev' into rrt/production 2020-06-25 23:10:43 -04:00
Dan Funk 6c1c6658c8 Merge branch 'rrt/dev' of github.com:sartography/cr-connect-workflow into rrt/dev 2020-06-25 23:04:08 -04:00
Dan Funk 77b5e77ca1
Merge pull request #114 from sartography/feature/emails-enhancement
Emails enhancement
2020-06-25 23:00:25 -04:00
Carlos Lopez 665faaa175 Send emails from service 2020-06-25 16:18:42 -06:00
Carlos Lopez 44995e3813 Merge branch 'feature/emails-enhancement' of github.com:sartography/cr-connect-workflow into feature/emails-enhancement 2020-06-25 14:37:04 -06:00
Carlos Lopez 7116b582e8 Splitting commands properly without losing double quoted strings 2020-06-25 12:01:24 -06:00
Dan Funk fe5a7ddce3 Merge remote-tracking branch 'origin/rrt/dev' into feature/emails-enhancement 2020-06-25 13:29:06 -04:00
Dan Funk 83621df53a
Merge pull request #127 from sartography/feature/health-attesting-spreadsheet
Health attesting spreadsheet
2020-06-25 13:23:40 -04:00
Carlos Lopez 5d1ae402b6 Slight refactor on data passed to template rendering 2020-06-24 22:43:44 -06:00
Carlos Lopez a0d877e02f Feedback from PR addressed 2020-06-24 22:23:31 -06:00
Carlos Lopez a29b410484 Updating migrations 2020-06-24 21:47:15 -06:00
Carlos Lopez 5327b469f6 Merge branch 'rrt/dev' into feature/emails-enhancement 2020-06-24 21:46:53 -06:00
Dan Funk 3aa64b90fe Merge branch 'dev' into rrt/production 2020-06-22 23:15:23 -04:00
Dan Funk e3b6819c5f Merge branch 'rrt/dev' into rrt/production 2020-06-22 23:11:11 -04:00
Carlos Lopez dd10e56d1a Adding forgotten variables to returned dict 2020-06-22 14:56:24 -06:00
Carlos Lopez 91fe5f0cdd Fixing broken test 2020-06-22 14:22:56 -06:00
Carlos Lopez bb825f8097 Dropping old parameter from endpoint 2020-06-22 14:09:58 -06:00
Carlos Lopez dc5ffd29d0 Refactoring shared code 2020-06-22 14:07:57 -06:00
Carlos Lopez e5541e4950 Enable CSV download 2020-06-22 09:24:58 -06:00
Carlos Lopez b8d60ca944 Spreadsheet generation 2020-06-22 07:14:00 -06:00
Aaron Louie e556a0feb5 Merge branch 'rrt/dev' into dev 2020-06-19 22:58:00 -04:00
Aaron Louie 0424ed04cb Merge branch 'rrt/staging' into rrt/dev 2020-06-19 22:57:27 -04:00
Dan Funk 8384497600 Move the fix rrt data to a place where it will get picked up. 2020-06-19 10:07:10 -04:00
Dan Funk ebe9091636 Merge branch 'rrt/dev' into rrt/staging 2020-06-19 09:41:22 -04:00
Dan Funk 9d1c495c90 Fix RRT Data added to docker run 2020-06-19 08:44:02 -04:00
Dan Funk 898cf43093
Merge pull request #126 from sartography/dev
Data Refactor going from dev to rrt/dev
2020-06-19 08:32:25 -04:00
Dan Funk 2c315b8db0
Merge pull request #125 from sartography/feature/refactor_data_loading
Feature/refactor data loading
2020-06-19 08:31:01 -04:00
Dan Funk 6aec15cc7c Shifting to a different model, where the TaskEvents store ONLY the form data submitted for that task.
In order to allow proper deletion of tasks, we no longer merge data returned from the front end, we set it directly as the task_data.
When returning data to the front end, we take any previous form submission and merge it into the current task data, allowing users to keep their previous submissions.
There is now an "extract_form_data" method that does it's best job to calculate what form data might have changed from the front end.
2020-06-19 08:22:53 -04:00
Carlos Lopez e6d74aaa1a Removing extra index when parsing users info 2020-06-18 12:53:50 -06:00
Carlos Lopez 4db815a999 Handling incoming values from processor 2020-06-17 21:11:47 -06:00
Carlos Lopez e947f40ec7 Merge branch 'rrt/dev' into feature/emails-enhancement 2020-06-17 20:10:11 -06:00
Carlos Lopez 5ce279b663 Dropping silly pdb statement 2020-06-17 17:36:15 -06:00
Carlos Lopez 896ba6b377 Email relies now on markdown content 2020-06-17 17:00:16 -06:00
Carlos Lopez ddf1f4640c Re-organizing tests file structure 2020-06-17 16:10:06 -06:00
Carlos Lopez 2ce2dc73b5 Rendering proper content & organizing file structure for email tests 2020-06-17 16:09:38 -06:00
Dan Funk da048d358e Merge branch 'dev' into feature/refactor_data_loading 2020-06-17 17:14:30 -04:00
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
Dan Funk cf09d986ea Merge branch 'feature/admin' into feature/refactor_data_loading 2020-06-17 16:48:43 -04:00
Aaron Louie 489ab62e08 Merge branch 'rrt/staging' into rrt/production 2020-06-17 11:15:00 -04:00
Aaron Louie 4db8a10b6f Merge branch 'rrt/testing' into rrt/staging 2020-06-17 11:14:52 -04:00
Aaron Louie 120c97c963 Merge branch 'rrt/dev' into rrt/testing 2020-06-17 11:14:43 -04:00
Aaron Louie 769bdbeb46 Merge branch 'dev' into rrt/dev 2020-06-17 11:11:39 -04:00
Carlos Lopez c730a7b1ec Sending subject and using default sender 2020-06-17 08:53:02 -06:00
Aaron Louie 720435113b Fixes typo in Alex's uid 2020-06-17 08:54:43 -04:00
Aaron Louie afd86e56ee Goes back to python base 2020-06-16 22:41:02 -04:00
Aaron Louie 40ff3b5fcb Uses mock LDAP if LDAP_URL environment variable is 'mock' 2020-06-16 21:43:20 -04:00
Carlos Lopez 2ff836019f Sonarcloud fix 2020-06-16 18:55:18 -06:00
Carlos Lopez d4a285883f Email script 2020-06-16 18:42:36 -06:00