Commit graph

7199 commits

Author SHA1 Message Date
simon lehericey
99bfd19b41 [fix #3268] Jobs: use automatic_operation 2019-01-16 17:20:12 +01:00
simon lehericey
6ab2d124f9 Dossier: #accepter_automatiquement! 2019-01-16 17:20:12 +01:00
simon lehericey
0f3dedb0b6 Dossier: #passer_automatiquement_en_instruction! 2019-01-16 17:12:32 +01:00
simon lehericey
cb4f843171 DossierOperationLog: add automatic operation column 2019-01-16 17:12:32 +01:00
Pierre de La Morinerie
70c01cca94
Merge pull request #3285 from betagouv/migrate-sign-up
[Page de garde] Migre la page sign_up vers le layout partagé
2019-01-16 15:58:45 +01:00
Pierre de La Morinerie
8b95da5ee5 layouts: migrate sign_up to the shared layout 2019-01-16 14:49:51 +01:00
Pierre de La Morinerie
b9897f2722
Merge pull request #3259 from betagouv/migrate-sign-in
Migration de la page sign_in vers le layout partagé
2019-01-16 14:48:09 +01:00
Pierre de La Morinerie
c944135c74 specs: move sign_up specs from common tests to new_user
Because sign_up is specific to each type of user
2019-01-16 14:25:12 +01:00
Pierre de La Morinerie
62ee710382 sign_in: remove hack for displaying the procedure context
Before there was no way to display the informations about a procedure
without having a dossier. Thus an empty dossier was created.

Now we can display the informations of a procedure using a @procedure
instance variable, so we can move this hack away.
2019-01-16 14:25:12 +01:00
Pierre de La Morinerie
5d6005dbe9 views: make dossier optional on procedure_footer
This allow displaying the procedure footer even when
there is no dossier yet
2019-01-16 14:25:12 +01:00
Pierre de La Morinerie
d36696442b layouts: migrate sign_in to the shared layout 2019-01-16 14:25:12 +01:00
Pierre de La Morinerie
13f1d4c7d9 views: rename dossier_footer to procedure_footer 2019-01-16 14:25:12 +01:00
Pierre de La Morinerie
3e2625445c
Merge pull request #3280 from betagouv/frederic/active_storage_proxy
Proxy for active storage service provider
2019-01-16 11:44:24 +01:00
Frederic Merizen
0846860748 Proxy for active storage service provider 2019-01-16 11:34:57 +01:00
Pierre de La Morinerie
5e9b6bd850
Merge pull request #3267 from betagouv/fix-feedback-stats
Fix feedback stats
2019-01-10 16:23:01 +01:00
Pierre de La Morinerie
ac88d1cc1d stats: display the last day of the range (instead of the first day) 2019-01-10 16:17:00 +01:00
Pierre de La Morinerie
908771e172 stats: use group_by_week to compute the week range
Fix #3242
2019-01-10 16:17:00 +01:00
Pierre de La Morinerie
3b92fe93fc stats: make groupdate week start on Monday 2019-01-10 16:14:14 +01:00
Mathieu Magnin
b555b858da
Merge pull request #3272 from betagouv/fix-sentry-161
Fix Sentry 161
2019-01-10 15:27:30 +01:00
Mathieu Magnin
31c45fe2e5 Fix Sentry 161 2019-01-10 15:21:40 +01:00
LeSim
c8560d4c3d
Merge pull request #3270 from betagouv/fix_3269_multiple_login_emails
[fix #3269] bufferize login token email
2019-01-10 13:23:33 +01:00
simon lehericey
e55fe2bb91 link_sent: add sentence to warn max email delay 2019-01-10 12:06:35 +01:00
simon lehericey
eb6ef1eb46 Gestionnaire: increase validity token to 45 minutes 2019-01-10 12:06:35 +01:00
simon lehericey
29fff9ee68 [fix #3269] bufferize login token email 2019-01-10 12:06:35 +01:00
Paul Chavard
3e149e7c8e
Merge pull request #3266 from betagouv/fix-textareas
Corrige l'affichage des textsareas dans les demandes
2019-01-10 10:32:35 +00:00
Pierre de La Morinerie
6a0996c5f3 specs: refactor a view spec to be clearer and faster 2019-01-10 11:26:43 +01:00
Pierre de La Morinerie
5719107cbc views: fix misnamed textarea template 2019-01-10 11:26:43 +01:00
Pierre de La Morinerie
98be3d8186
Merge pull request #3256 from betagouv/fix_2612_show_mandatory_steps
Fix 2612 show mandatory steps
2019-01-09 16:36:40 +01:00
simon lehericey
e7d5f30192 Admin: small reword in admin procedure ui 2019-01-09 16:25:00 +01:00
simon lehericey
a197285742 [fix #2612] Admin: add missing steps to admin UI 2019-01-09 16:25:00 +01:00
simon lehericey
8ca7eb1c54 Procedure: cloning set the current admin gestionnaire of the procedure 2019-01-09 16:25:00 +01:00
Pierre de La Morinerie
2d07ee00f4
Merge pull request #3254 from betagouv/spec_a_administrateur_always_has_a_gestionnaire
Spec Factory: an administrateur always has a gestionnaire
2019-01-09 16:20:45 +01:00
simon lehericey
ac43038566 SessionControllerSpec: refactor #create tests 2019-01-09 13:49:47 +01:00
simon lehericey
b38fbc78ef SessionControllerSpec: remove specific attribut test
change user.update(log_in_with_france_connect: nil) as log_in_france_connect is an enum
2019-01-09 13:49:47 +01:00
simon lehericey
9e26b5f4d8 SessionControllerSpec: small cleaning 2019-01-09 13:49:47 +01:00
simon lehericey
f5fa0499ca SessionControllerSpec: remove duplicated tests 2019-01-09 13:49:47 +01:00
simon lehericey
9c335698f1 SessionControllerSpec: remove password syncing relating test 2019-01-09 13:49:47 +01:00
simon lehericey
f0139c5962 Spec Factory: an administrateur always has a gestionnaire 2019-01-09 13:49:47 +01:00
Pierre de La Morinerie
4fafa6e339
Merge pull request #3262 from betagouv/fix-rake-task-output
tasks: prevent logs from being output to the console during tests
2019-01-08 14:07:27 +01:00
Pierre de La Morinerie
0b4c807292 tasks: prevent logs from being output to the console during tests 2019-01-08 13:51:35 +01:00
Pierre de La Morinerie
44cc811854
Merge pull request #3205 from tchak/champ-repetable-belongs-to-dossier
Fix champ repetition belongs_to associations
2019-01-08 13:28:11 +01:00
Paul Chavard
1beefe4469 Fix champ repetition belongs_to associations 2019-01-08 11:56:33 +00:00
gregoirenovel
531feb3515
Merge pull request #3240 from betagouv/values
Champ values
2019-01-08 12:42:44 +01:00
gregoirenovel
1c2f1a715c Rely on the champs partial for annotations privées when printing 2019-01-08 12:32:27 +01:00
gregoirenovel
55419b92a8 Simplify code 2019-01-08 12:32:27 +01:00
gregoirenovel
864bb38d8a Add #for_api methods to CheckboxChamp and YesNoChamp
Otherwise, we return nil instead of “off” / “non”,
so we don’t expose the data properly
2019-01-08 12:32:27 +01:00
gregoirenovel
0846bad1c8 Mutualize code in methods
As done in YesNoChamp
2019-01-08 12:32:27 +01:00
gregoirenovel
866c74ce63 Add Champ#for_api 2019-01-08 12:32:27 +01:00
gregoirenovel
083dfb4eaa Improve ProcedureExportService 2019-01-08 12:32:27 +01:00
gregoirenovel
b4781f7440 Make dossier link clickable for users in the Demande tab 2019-01-08 12:32:27 +01:00