Commit graph

921 commits

Author SHA1 Message Date
James Devine
0e56ca0f42 Global weather json compiled. NB needs to be checked for quality (some records are not complete, others contain NaN). This is (I think) a small issue, affecting only a few weather stations out of the total 8k. 2021-08-03 18:18:45 +02:00
jdevine
748d20dfc2 changes to month, from 3 letters to number 2021-08-03 18:18:45 +02:00
jdevine
fb51844dc8 New branch for handling different locations 2021-08-03 18:18:45 +02:00
Luis Aleixo
bca98ab0c8 Coordinates of each ``location`` passed from the form to the model 2021-08-03 17:56:27 +02:00
gaazzopa
45a247dafa Remove extra space 2021-07-14 11:28:38 +02:00
gaazzopa
148950c373 Access location in model_generator and report 2021-07-14 11:26:13 +02:00
gaazzopa
48bed7dd5f Fixed location search and show country 2021-07-14 11:14:31 +02:00
gaazzopa
7e8e794203 Added foundations for location selection 2021-07-13 22:19:33 +02:00
Andre Henriques
29a39040a5 Merge branch 'feature/scale-warning' into 'master'
Feature/scale warning

Closes #171 and #173

See merge request cara/cara!213
2021-07-13 13:02:02 +00:00
Gabriella Azzopardi
a966a03dd1 Merge branch 'maint/major_cara_version_update' into 'master'
Increment the major version of the CARA model and the calculator.

See merge request cara/cara!220
2021-07-13 11:14:41 +00:00
Phil Elson
6aca5164c1 Increment the major version of the CARA model and the calculator. 2021-07-13 13:02:28 +02:00
Philip James Elson
6802fbd737 Merge branch 'fix/revert-multiprocessing' into 'master'
Revert the multiprocessing change from #214.

See merge request cara/cara!219
2021-07-13 10:24:27 +00:00
Phil Elson
13973bd61b Revert the multiprocessing change from #214. 2021-07-13 12:22:14 +02:00
Philip James Elson
9fd04828d9 Merge branch 'feature/logout_functionality' into 'master'
Logout redirect link updated to "/auth/logout"

Closes #140

See merge request cara/cara!218
2021-07-13 10:07:43 +00:00
Philip James Elson
952078c3c0 Merge branch 'fix-docker-compose' into 'master'
Fix QR code redirection for calculator-cern

Closes #177

See merge request cara/cara!215
2021-07-13 10:07:17 +00:00
Luis Aleixo
694951d639 logout redirect link updated to "/auth/logout" fixes #140 2021-07-13 11:57:37 +02:00
Luis Aleixo
b5206fad44 normal font weight for the onsite_access variable and warning box centered fixes #173 2021-07-13 11:35:23 +02:00
Philip James Elson
babadda48f Merge branch 'feature/logout_functionality' into 'master'
Added logout functionality

See merge request cara/cara!216
2021-07-13 09:19:49 +00:00
Philip James Elson
e9b31aca65 Merge branch 'cern_form_typo_fix' into 'master'
Typo: Modify CERN Form

Closes #178

See merge request cara/cara!217
2021-07-13 09:17:53 +00:00
Luis Aleixo
54b45b0046 misprint next to ceiling hight it should be metros (m) fixes #178 2021-07-13 09:56:27 +02:00
Luis Aleixo
a8d77c5a96 typo in image names 2021-07-12 12:31:10 +02:00
Luis Aleixo
4170fcabd4 typo in scale_warning text 2021-07-12 12:04:25 +02:00
Philip James Elson
db9af9cf04 Merge branch 'feature/parallel_scenarios' into 'master'
Distribute the calculation of alternative scenarios

See merge request cara/cara!209
2021-07-12 08:06:55 +00:00
Phil Elson
851080b168 Add a timeout to the process execution to improve the experience if a user makes an error in development. 2021-07-12 10:03:08 +02:00
Phil Elson
0ead3be0b1 Distribute the work of calculating alternative scenario statistics. 2021-07-12 09:54:59 +02:00
Phil Elson
4d3ff3c742 Remove the repeats concept from the report generator (removed in 1d34db3a81). 2021-07-12 09:54:59 +02:00
Luis Aleixo
7e80365e74 CERN Covid Level Scale updated 2021-07-09 16:59:23 +02:00
Nicola Tarocco
ae52961361 Fix docker-compose and update README 2021-07-09 16:09:33 +02:00
Nicola Tarocco
93c581090b Fix QR code redirection for calculator-cern
* Adds the missing URL args to the Nginx configuration when redirecting
  from /calculator to /calculator-cern.
* closes #177
2021-07-09 16:08:25 +02:00
Luis Aleixo
d4fc480224 Added logout functionality 2021-07-09 11:13:45 +02:00
Luis Aleixo
8dcd913ebe Added error message for the case when the CERN Covid Level is not specified 2021-07-08 17:31:27 +02:00
Nicola Tarocco
1044946fa5 Merge branch 'feature/non-blocking-report' into 'master'
Avoid blocking the application when computing the calculator report

See merge request cara/cara!214
2021-07-08 14:50:48 +00:00
Phil Elson
0e52b38eb3 Avoid blocking the application when computing the calculator report. 2021-07-08 15:24:33 +02:00
Luis Aleixo
6149e5a7e4 Merge request fixes: commas and different location for the new template code 2021-07-08 12:55:32 +02:00
Luis Aleixo
67e766dec2 Update expert.py 2021-07-08 07:08:36 +00:00
Luis Aleixo
6c4b528d8f style layout customization closes #173 2021-07-08 09:06:33 +02:00
Philip James Elson
c8362104c9 Merge branch 'maint/code-refinement' into 'master'
Re-enable mypy CI after turning it off in an emergency

See merge request cara/cara!210
2021-07-08 06:53:53 +00:00
Luis Aleixo
fac63cf4c0 CERN Covid Scale icons update; position relative with flex layout 2021-07-07 17:51:25 +02:00
Gabriella Azzopardi
76c0416c1e Merge branch 'update/infected_people' into 'master'
Add default in UI for infected people

See merge request cara/cara!206
2021-07-07 15:20:18 +00:00
Andre Henriques
ab0eb5e3d8 back-to-No-Default 2021-07-07 14:58:18 +00:00
Phil Elson
83ec4831b5 Re-enable mypy CI after turning it off in an emergency in https://gitlab.cern.ch/cara/cara/-/merge_requests/196. 2021-07-07 16:03:16 +02:00
Gaby Azzopardi
e10ee7083d Update infected default 2021-07-07 15:51:39 +02:00
Philip James Elson
1fca4d24b7 Merge branch 'bugfixes/terminal-error-tuple' into 'master'
Bugfixes/terminal error tuple

Closes #171

See merge request cara/cara!205
2021-07-07 10:55:06 +00:00
Luis Aleixo
b3316cea83 Bugfixes/terminal error tuple 2021-07-07 10:55:06 +00:00
Andre Henriques
521de96b72 Merge branch 'feature/docker-on-master' into 'master'
Only build (and upload) the docker image if we are on master.

See merge request cara/cara!208
2021-07-07 09:13:10 +00:00
Phil Elson
f33f2a4cbc Only build (and upload) the docker image if we are on master. 2021-07-07 11:09:12 +02:00
Andre Henriques
d4225a9d4f Merge branch 'fix/ci' into 'master'
Pin the CI to python 3.6

See merge request cara/cara!207
2021-07-07 09:08:22 +00:00
Phil Elson
910f1f53d4 Pin the CI to python 3.6 2021-07-07 10:48:26 +02:00
Luis Aleixo
b62f5a989d fix #173 Covid Level png image added to the warning and CSS tricks using flex layout 2021-07-06 17:16:03 +02:00
Luis Aleixo
1e3e7f86cd Logic to include CERN Covid Scale warnings implementation fix #173 2021-07-06 12:33:27 +02:00