Commit graph

11590 commits

Author SHA1 Message Date
Christophe Robillard
a88172eb01 configure otp_secret_key secret 2020-11-05 16:03:55 +01:00
Christophe Robillard
efd8ec85e8 recover superadmin password or reset otp 2020-11-05 16:03:55 +01:00
Christophe Robillard
8d23f6ae99 remove useless redirection for manager sign_in and out
The manager alias for signin causes layout problems
2020-11-05 16:03:55 +01:00
Christophe Robillard
2a0ebd062a enable 2FA for manager
when trying to access manager, if superadmin did'nt enable otp, he/she is redirected to a page to enable 2FA. When superadmin is enabling 2FA, he has to to scan a qrcode with the 2FA application client. And afterwards, the superadmin has to log in with email, password and OTP code.
2020-11-05 16:03:55 +01:00
Christophe Robillard
3fdb045356 create a superadmin account
rake task create a superadmin account, and send
reset password instructions
2020-11-05 16:03:55 +01:00
Christophe Robillard
305ccdc0cd add recoverable and two_factor stragegy for administration 2020-11-05 16:03:55 +01:00
Christophe Robillard
6c2eb22960 remove github authentication for manager 2020-11-05 16:03:55 +01:00
Keirua
29cfdfbe91
Merge pull request #5714 from betagouv/fix-counters
Correction du compteur de dossiers à suivre
2020-11-04 17:13:01 +01:00
clemkeirua
30dfe7fbd0 fix a_suivre 2020-11-04 11:07:53 +01:00
LeSim
aae77c77b0
Merge pull request #5710 from betagouv/revert-5705-feat/5701
Revert "feat 5701 - Ajoute l'information lorsqu'un usager s'authentifie via France Connect"
2020-10-30 18:31:21 +01:00
Kara Diaby
f78e0ced3a
Revert "feat 5701 - Ajoute l'information lorsqu'un usager s'authentifie via France Connect" 2020-10-30 18:28:08 +01:00
Kara Diaby
4c2c5c630c
Merge pull request #5705 from betagouv/feat/5701
feat 5701 - Ajoute l'information lorsqu'un usager s'authentifie via France Connect
2020-10-30 17:37:35 +01:00
kara Diaby
e6c1a20329 Ajoute l'information lorsqu'un usager s'authentifie via France Connect 2020-10-30 17:28:54 +01:00
LeSim
18d0a657a7
Merge pull request #5708 from betagouv/remove_rack_mini_profiler_from_prod
Remove rack_mini_profiler from prod
2020-10-30 17:21:45 +01:00
simon lehericey
d82d1132c2 Remove rack_mini_profiler from prod as it could show env var and force us to allow unsafe_eval and script in csp 2020-10-30 17:08:31 +01:00
Kara Diaby
da371be9e2
Merge pull request #5707 from betagouv/fix-titre-identite
fix / Modifie la description dans le champ titre identité
2020-10-30 15:52:51 +01:00
kara Diaby
7d157eac12 Modifie la description dans le champ titre identité 2020-10-30 14:17:09 +01:00
LeSim
ac1c53f8f5
Merge pull request #5704 from betagouv/retry_503_in_social_attestation
cherche a télécharger l'attestation sociale tous les jours pendant 5 jours
2020-10-28 17:05:36 +01:00
simon lehericey
c563956a9f retry each day during 5 days to fetch attestation social 2020-10-28 15:53:58 +00:00
LeSim
52c2ea1905
Merge pull request #5692 from betagouv/faster-instructeur-procedure-show2
Faster instructeur procedure show2
2020-10-28 15:08:42 +01:00
clemkeirua
89316c0689 fix counter for dossiers suivis/à suivre when unfollow 2020-10-28 13:51:35 +00:00
clemkeirua
640984f9b6 moins de count dans Instructeurs::ProceduresController#show
exploitation de dossiers_count_for_instructeur dans Instructeurs::ProceduresController#showpour sortir les chiffres facilement
2020-10-28 13:51:35 +00:00
clemkeirua
b4910c557d ajout de procedure.dossiers_count_for_instructeur 2020-10-28 13:51:35 +00:00
clemkeirua
5d7680150b cache encours/termine has notifications 2020-10-28 13:51:35 +00:00
clemkeirua
e96709a4f8 cache not_archived notification list 2020-10-28 13:51:35 +00:00
clemkeirua
47181ca80b remove assert_matching_procedure 2020-10-28 13:51:35 +00:00
LeSim
1c7f88cc2b
Merge pull request #5687 from betagouv/faster_homepage
Faster homepage
2020-10-28 12:48:12 +01:00
simon lehericey
0f719b4fa2 update dinum logo and shrunk size from 70K to 4K 2020-10-28 12:09:31 +01:00
simon lehericey
42d0ffb977 update marianne logo and shrunk size from 5K to 0.5K 2020-10-28 12:07:44 +01:00
simon lehericey
576a740bb2 do not load an entire italic font for 10 words 2020-10-28 11:55:21 +01:00
simon lehericey
5f74584c6a reduce font size by subsetting and using woff2 (https://www.fontsquirrel.com/tools/webfont-generator) 2020-10-28 11:55:21 +01:00
simon lehericey
3c0c829a29 add dimensions to img tag to avoid reflow, add loading: lazy to avoid blocking 2020-10-28 11:39:10 +01:00
Keirua
b3a4192337
Merge pull request #5702 from betagouv/fix-bootstrap-csp
fix bootstrap cdn
2020-10-22 22:09:28 +02:00
kara Diaby
3d56b1d8b0 fix bootstrap cdn 2020-10-22 15:00:01 +02:00
Paul Chavard
cb822ef20b
Merge pull request #5696 from tchak/fix-react-block-repetable
Mount react components on page updates
2020-10-15 18:59:03 +02:00
Paul Chavard
618c81b9a6 Mount react components on page updates 2020-10-15 18:46:12 +02:00
Paul Chavard
43a36b68da
Merge pull request #5691 from tchak/update-loaders
replace deprecated react-loadable with suspense
2020-10-15 18:21:07 +02:00
Paul Chavard
ca0ba4ba2d replace deprecated react-loadable with suspense 2020-10-15 17:30:49 +02:00
LeSim
59f4c8f7d8
Merge pull request #5664 from betagouv/dont_be_afraid_bump_a_puma
bump puma to 5.0.2
2020-10-15 11:42:44 +02:00
simon lehericey
35cf162233 bump puma to 5.0.2 2020-10-15 09:02:53 +00:00
Keirua
be39d0dd29
Merge pull request #5688 from betagouv/support-comptes
Ajout d'un écran de synthèse des emails dans /manager
2020-10-14 09:20:23 +02:00
clemkeirua
421e8384af fix blocked user 2020-10-13 17:36:43 +02:00
clemkeirua
2d492226e3 added helscout link for emails 2020-10-13 17:36:43 +02:00
clemkeirua
f298d2c2ba dedicated screen for inspecting user emails 2020-10-13 17:36:43 +02:00
clemkeirua
d7fff61d5d ajout de la gem sendinblue 2020-10-13 17:36:43 +02:00
clemkeirua
27b8797296 ajout d'une route /manager/users/:id/emails 2020-10-13 17:36:43 +02:00
clemkeirua
e9c33ecbd0 added meta user info 2020-10-13 17:36:43 +02:00
clemkeirua
4ebb0a962e bundle update administrate 2020-10-13 17:36:43 +02:00
Paul Chavard
2e2086f020
Merge pull request #5682 from tchak/replace-jquery-with-fetch
Use fetch instead of jQuery
2020-10-13 11:35:28 +02:00
Paul Chavard
752ee78c49 Use fetch instead of jQuery 2020-10-13 10:55:10 +02:00