Commit graph

8226 commits

Author SHA1 Message Date
Paul Chavard
59101b39b1
Merge pull request #4200 from betagouv/fix-sensitive-contact-form
app: mark the contact forms as not sensitive to trusted tokens
2019-08-13 19:50:17 +01:00
Pierre de La Morinerie
4e9895c11b app: mark the contact forms as not sensitive to trusted tokens
Instructeurs waiting for a confirmation token should be able to
access the contact form (especially to ask for help).

Fix #4198
2019-08-13 19:48:11 +02:00
Pierre de La Morinerie
e6c5b24bcd
Run load scripts after ujs responces (#4170)
Exécute les scripts UJS après une modification asynchrone de la page
2019-08-13 19:47:29 +02:00
Paul Chavard
86b9ed2079 Run load scripts after ujs responces 2019-08-13 17:03:55 +01:00
LeSim
c370b61abd
Merge pull request #4184 from betagouv/remove_instructeur_devise_account
Remove instructeur devise account
2019-08-13 17:28:51 +02:00
simon lehericey
a9128895a2 Something wrong with stored location which prevent instructeur to be redirected to user procedure path 2019-08-13 15:15:16 +02:00
simon lehericey
640e3668a8 Strange session ... 2019-08-13 15:15:16 +02:00
simon lehericey
8fa3c9e4f7 Fix expert invitation 2019-08-13 15:15:16 +02:00
simon lehericey
fdbfd3bb42 Add feature spec on instructeur invitation 2019-08-13 15:15:16 +02:00
simon lehericey
5fdac38cb2 Fix instructeur invitation 2019-08-13 15:15:16 +02:00
simon lehericey
efd793f266 AdminProcedureController: fix self assignation as instructeur 2019-08-13 15:15:16 +02:00
simon lehericey
ad31822a68 Spec: sign_in with instructeur.user 2019-08-13 15:15:16 +02:00
simon lehericey
65a53909e1 Update instructeur factory 2019-08-13 15:15:16 +02:00
simon lehericey
47b7dc368b Remove or fix now nonsense code 2019-08-13 15:15:16 +02:00
simon lehericey
0d71a820a8 Stub instructeur devise methods in spec 2019-08-13 15:15:16 +02:00
simon lehericey
c8a7bde5e0 Replace instructeur devise methods in app 2019-08-13 15:15:16 +02:00
simon lehericey
a84e07a376 Remove instructeur devise methods 2019-08-13 15:15:16 +02:00
simon lehericey
766d1ce51c Populate the column 2019-08-13 15:15:16 +02:00
simon lehericey
dd4ffb926c Link user and instructeur 2019-08-13 15:15:16 +02:00
simon lehericey
e3fd1cc33a Remove weird switch_devise_profile_service 2019-08-13 15:15:16 +02:00
Nicolas Bouilleaud
754f10e4b2
Merge pull request #4189 from betagouv/fix-dossier-actions-refresh
Rend le bouton "Archiver" visible dès la validation du dossier
2019-08-13 15:14:30 +02:00
Pierre de La Morinerie
79784089a4 dossiers: refresh the whole header actions bar on status change
This ensure the other state-dependant buttons get updated to–like the
"Follow" or "Archive" button.

Fix #4186
2019-08-13 15:07:22 +02:00
Pierre de La Morinerie
3a37c1eeae dossiers: rename .mixed-buttons-bar to .header-actions 2019-08-13 15:07:22 +02:00
Pierre de La Morinerie
219f690b96 dossiers: move header actions to a partial 2019-08-13 15:07:22 +02:00
Pierre de La Morinerie
b51186d063
Clean devise (#4182)
Suppression de contrôleurs Devise inutiles
2019-08-13 14:25:53 +02:00
simon lehericey
1d6b80cb53 Remove strange admin sign_in route 2019-08-13 14:13:48 +02:00
simon lehericey
5bda753735 Remove all devise route and controller for instructeur and administrateur 2019-08-13 14:13:48 +02:00
simon lehericey
1fb26451d3 Remove demo route 2019-08-13 14:13:48 +02:00
simon lehericey
a4b9eecded Remove unused devise session controller 2019-08-13 14:13:48 +02:00
Pierre de La Morinerie
a57574054a
Rename Gestionnaire to Instructeur in seeds.rb (#4196)
Seeds : renomme Gestionnaire en Instructeur
2019-08-13 14:12:29 +02:00
Nicolas Bouilleaud
17579ab8a5 Rename Gestionnaire to Instructeur in seeds.rb 2019-08-13 14:04:23 +02:00
Pierre de La Morinerie
ea0d12cd29
Changement barre d'aide admin (#4178)
Administrateur : ajout de liens vers la documentation et l’aide
2019-08-13 13:34:06 +02:00
benjaminhenkel
6ed5cd6feb navbar: improve wording, and allow two-lines layout 2019-08-13 12:26:11 +02:00
Pierre de La Morinerie
22f2841470
Traduction de la page 404 (#4192)
Traduction de la page 404 en français
2019-08-13 12:25:36 +02:00
benjaminhenkel
69a8bbb46f public: tranlate page 404 to french 2019-08-13 12:23:36 +02:00
Pierre de La Morinerie
419614478d
Readme: rename Gestionnaire -> Instructeur (#4194)
Documentation technique : renomme Gestionnaire en Instructeur
2019-08-13 11:17:12 +02:00
simon lehericey
8e6cfc8216 Readme: rename Gestionnaire -> Instructeur 2019-08-13 11:16:43 +02:00
Pierre de La Morinerie
4916faa3bc
Rename gestionnaire to instructeur (in a comment) (#4190)
Renomme Gestionnaire en Instructeur dans un commentaire du code
2019-08-13 10:29:22 +02:00
Nicolas Bouilleaud
7c7947adeb Rename gestionnaire to instructeur in a comment
About an (unused for now) env var.
2019-08-13 10:27:49 +02:00
Pierre de La Morinerie
f9708a4ac3
Update _monavis.html.haml (#4191)
Administrateur : nouveau tutoriel pour l'intégration de « Mon Avis »
2019-08-12 17:46:31 +02:00
benjaminhenkel
efb7883bd1 Update _monavis.html.haml 2019-08-12 16:54:00 +02:00
Pierre de La Morinerie
f175358551
Rename gestionnaire to instructeur (#4177)
Renomme les références internes à `Gestionnaire` en `Instructeur`
2019-08-12 15:04:40 +02:00
LeSim
af847f47fb
Merge pull request #4187 from betagouv/add_admin_creation_spec
add admin creation spec
2019-08-12 14:50:41 +02:00
simon lehericey
3fde2a6f70 Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
simon lehericey
6902f84b85 Brutally rename gestionnaire filename to instructeur 2019-08-12 13:47:01 +02:00
simon lehericey
c681806f8d Rename gestionnaires to instructeurs in db 2019-08-12 13:47:01 +02:00
simon lehericey
bb8d65c6b4 Subtly rename admin/instructeurs to admin/assigns 2019-08-12 13:47:01 +02:00
simon lehericey
7ac243ac44 Use proper token to find the administrateur ... how can it works otherwise ? 2019-08-12 13:43:03 +02:00
simon lehericey
7e78b7d62d Administrateur password, remove one level of indirection 2019-08-12 13:43:03 +02:00
simon lehericey
f7528f70ac add admin creation spec 2019-08-12 13:43:03 +02:00