Commit graph

614 commits

Author SHA1 Message Date
Nicolas Mounet
079a485545 Merge branch 'userguide-update-P.1' into 'master'
Added note on P.1 transmission/Manaus antibody levels.

See merge request cara/cara!145
2021-03-09 11:06:53 +00:00
James Devine
f77a828e6d Added note on P.1 transmission/Manaus antibody levels. 2021-03-09 11:06:53 +00:00
Philip James Elson
bf22611454 Merge branch 'develop/report_PI' into 'master'
Update Pi display

See merge request cara/cara!144
2021-03-09 10:55:53 +00:00
Gabriella Azzopardi
7ebdcaace5 Update Pi display 2021-03-09 10:55:52 +00:00
James Devine
12c3721996 Merge branch 'feature/virus_variant' into 'master'
Feature: virus variant

Closes #133

See merge request cara/cara!130
2021-03-09 08:38:48 +00:00
Nicolas Mounet
bf45490dfc Renaming variant into B117, and avoid calling it UK variant in forms and reports. Change its viral load back to std value, and increase infectivity to 1/30 2021-03-09 08:38:47 +00:00
Gabriella Azzopardi
e6937ea297 Merge branch 'fix/disclaimer' into 'master'
Fix the disclaimer text which I broke in https://gitlab.cern.ch/cara/cara/-/merge_requests/141/

See merge request cara/cara!143
2021-03-03 19:12:05 +00:00
Phil Elson
42e64c3064 Fix the disclaimer text which I broke in https://gitlab.cern.ch/cara/cara/-/merge_requests/141/ 2021-03-03 19:53:43 +01:00
Philip James Elson
a06e679393 Merge branch 'feature/openshift-templates-auth-service' into 'master'
Add OpenShift templates for new auth service

See merge request cara/cara!142
2021-03-03 18:45:36 +00:00
Nicola Tarocco
babde8b0bc Add OpenShift templates for new auth service 2021-03-03 19:37:18 +01:00
Andre Henriques
c4a288356a Merge branch 'feature/readme_disclaimer' into 'master'
Add a disclaimer about the repository, and remove the inaccurate GPL statement

See merge request cara/cara!141
2021-03-03 16:26:28 +00:00
Phil Elson
d4a33b546b Add a disclaimer about the repository, and remove the inaccurate GPL statement. 2021-03-03 16:55:42 +01:00
Nicola Tarocco
18af16f749 Merge branch 'feature/oidc-nginx' into 'master'
Implement authentication through nginx's ngx_http_auth_request_module module

See merge request cara/cara!139
2021-03-02 17:54:13 +00:00
Phil Elson
28f7b678d7 Address remaining review actions. 2021-03-02 18:43:01 +01:00
Gabriella Azzopardi
d42d82c312 Merge branch 'doc/intended_users' into 'master'
Specified intended users of CARA

See merge request cara/cara!140
2021-03-02 14:12:30 +00:00
Gaby Azzopardi
efb17a05cb Specified intended users of CARA 2021-03-02 15:09:53 +01:00
Phil Elson
8611cdef4d Improve the auth-service to encode the session information into a single secure cookie that cara can read. 2021-03-01 18:45:18 +01:00
Philip James Elson
040ed05008 Merge branch 'nico/test-cara-dev' into 'master'
Fixes to OpenShift templates

See merge request cara/cara!138
2021-03-01 15:27:39 +00:00
Philip James Elson
559f380010 Merge branch 'feature/report-QR' into 'master'
Automatic report regeneration

See merge request cara/cara!124
2021-03-01 15:19:17 +00:00
Gabriella Azzopardi
2997607e60 Automatic report regeneration 2021-03-01 15:19:15 +00:00
Nicola Tarocco
175fc49338 Fixed to OpenShift templates 2021-03-01 16:15:47 +01:00
Phil Elson
85a378691e Implement OIDC through nginx's ngx_http_auth_request_module module. 2021-02-26 22:08:05 +01:00
Philip James Elson
1ff9a4d352 Merge branch 'form_cleanup' into 'master'
Form cleanup

- Cleaning up of form elements to have consistent and more clear names 
    - Taken out of merge !124, including bug fix to unrequire ventilation fields when switching between types (closes issue #139)
- Minor update to form UI which:
    1. Only clears invalid inputs when changing ventilation option (closes issue #125)
    2. Avoids red borders when showing ventilation text inputs (closes issue #45)
- Updated calculator version to 1.4.0

See merge request cara/cara!132
2021-02-18 10:33:38 +00:00
Gabriella Azzopardi
3b620b0be0 Refine the form attributes & values in readiness for exposing a public perma-URL 2021-02-18 10:33:37 +00:00
Philip James Elson
182294348f Merge branch 'feature/openshift-templates' into 'master'
Add OpenShift templates

See merge request cara/cara!135
2021-02-10 10:39:15 +00:00
Philip James Elson
858e51262e Merge branch 'feature/split_break_times' into 'master'
Split break times

Closes #118

See merge request cara/cara!129
2021-02-10 10:17:49 +00:00
Gabriella Azzopardi
ad82e73c27 Revert "Automate infected breaks DIV creation in JS"
This reverts commit c8fb1b68f65e41575ba698814e6d835cc3bf389f
2021-02-10 10:17:48 +00:00
Andre Henriques
bada12692b Merge branch 'upadate_Acknowledgements' into 'master'
upadate_thanks

See merge request cara/cara!137
2021-02-04 09:07:37 +00:00
Andre Henriques
0dcea6a9d0 upadate_thanks 2021-02-04 09:05:58 +00:00
Gabriella Azzopardi
582f7e0e3b Merge branch 'update_authors' into 'master'
update_authors_Nico

See merge request cara/cara!136
2021-02-04 08:45:13 +00:00
Andre Henriques
c8b351adff update_authors_Nico 2021-02-03 14:58:21 +00:00
Nicola Tarocco
80dedeeebb Add OpenShift templates 2021-02-01 18:53:43 +01:00
James Devine
819399df82 Merge branch 'feature/month' into 'master'
removed individual date option

Closes #137

See merge request cara/cara!134
2021-01-27 17:02:32 +00:00
James Devine
c90507f235 removed individual date option 2021-01-27 17:02:31 +00:00
Philip James Elson
6edfb15ba5 Merge branch 'README_tests' into 'master'
Update README.md: running the tests

See merge request cara/cara!133
2021-01-26 18:11:49 +00:00
Nicolas Mounet
9cbedc41f3 Update README.md: running the tests 2021-01-26 14:49:13 +00:00
Nicolas Mounet
e83371040a Merge branch 'feature/type-checking' into 'master'
Fix the type annotations for the cara codebase

See merge request cara/cara!125
2021-01-19 09:47:53 +00:00
Andre Henriques
61f32e25d3 Merge branch 'Pi_fix' into 'master'
Pi display fix

See merge request cara/cara!131
2021-01-15 09:55:17 +00:00
Gaby Azzopardi
69f4ae4698 Pi display fix 2021-01-15 10:24:35 +01:00
Andre Henriques
ae3aff1616 Merge branch 'feature/report_colour_coding' into 'master'
Feature/report colour coding [now actually ready]

Closes #128

See merge request cara/cara!126
2021-01-14 20:12:47 +00:00
James Devine
40a0326977 Included additional remarks from Andre (colour coded intro + footnote) and code improvements from Gabriella. 2021-01-14 20:12:46 +00:00
Philip James Elson
93e12464ed Merge branch 'develop/fix_nobreaks_calculator' into 'master'
Fix bug in calculator in "no breaks" case

Closes #134

See merge request cara/cara!128
2021-01-13 13:35:45 +00:00
Nicolas Mounet
1b61d07bcb Fixing bug onf start and finish time when there is no breaks (calculator) 2021-01-12 19:23:12 +01:00
Nicolas Mounet
ecba479c7c Adding a test without breaks for the model generator 2021-01-12 19:19:41 +01:00
Phil Elson
c8f39dc26b Track down the issue with the expert app and typing.
The visitor pattern in the StateBuilder means that it is easy to miss type changes in the dataclass definition.
2021-01-06 16:21:33 +01:00
Phil Elson
e9f9b7fde9 Fix up type annotation issues with the cara.state module. 2021-01-06 16:15:21 +01:00
Phil Elson
64fa2b60a4 Address and enable static type analysis checking of cara. 2021-01-06 16:15:21 +01:00
Nicolas Mounet
718a08ef1b Merge branch 'feature/improved-validation' into 'master'
Improve the validation of FormData

See merge request cara/cara!122
2021-01-06 14:36:40 +00:00
Phil Elson
69b882410a Pass all arguments through to the present_interval method, rather than pulling them from the state. This method can be made entirely indep at this point (static). 2020-12-17 21:51:21 +01:00
Phil Elson
6eadd9cf17 Simplified the present_interval algorithm to be entirely logic based. 2020-12-17 21:21:59 +01:00