Commit graph

7938 commits

Author SHA1 Message Date
Frederic Merizen
bf23abdfe3 [#2180] Expose migrated PJs as legacy PJs in dossier API 2019-01-17 17:47:08 +01:00
Frederic Merizen
5f74ae1545 [#2180] Do not double-expose migrated type PJs as champs in procedure API 2019-01-17 17:47:08 +01:00
Frederic Merizen
082255b489 [#2180] Expose migrated types PJ as legacy types PJ in procedure API 2019-01-17 17:46:56 +01:00
Frederic Merizen
5e37400834 [#2180] Only retain old PJ API when cloning for same admin 2019-01-17 17:40:40 +01:00
Frederic Merizen
d1c0418c89 [#2180] Refactor - extract local variable 2019-01-17 17:40:40 +01:00
Frederic Merizen
530079e464 [#2180] Make sure that old_pj is kept through successive clones 2019-01-17 17:40:40 +01:00
Frederic Merizen
8cb509d192 [#2180] Keep information that this type de champ was cloned from a PJ 2019-01-17 17:40:40 +01:00
Frederic Merizen
651fd6149b [#2180] When cloning a procedure, convert types de PJ to types de champ PJ 2019-01-17 17:40:40 +01:00
Pierre de La Morinerie
33f7773a23
Merge pull request #3286 from betagouv/fix-2423
[Fix #2423] Allow Usager to delete brouillon from dossiers#index
2019-01-17 17:35:07 +01:00
Mathieu Magnin
b1efe57403 [Fix #2423] Allow Usager to delete brouillon from dossiers#index 2019-01-17 17:30:37 +01:00
Paul Chavard
83bba82c76
Merge pull request #3301 from tchak/fix-js-error
Only initialize champs editor if is present on page
2019-01-17 16:46:40 +01:00
Paul Chavard
d45273e117 Only initialize champs editor if is present on page 2019-01-17 16:29:30 +01:00
Pierre de La Morinerie
00244effdb
Merge pull request #3294 from tchak/cleanup-feature-flag
Enable support_form and champ_siret for all
2019-01-17 15:22:48 +01:00
Paul Chavard
6036d7906f Enable champ_siret for all 2019-01-17 15:17:48 +01:00
Paul Chavard
9136c9dfa0 Enable support_form for all 2019-01-17 15:17:48 +01:00
Pierre de La Morinerie
579dbe05b2
Merge pull request #3289 from betagouv/Fix-3235-correctif-sendinblue-automation
Fix 3235 correctif sendinblue automation
2019-01-17 15:02:42 +01:00
Chaïb Martinez
51877c2247 Minor sendinblue tracking change 2019-01-17 14:52:18 +01:00
Chaïb Martinez
72ec0a98f7 Minor sendinblue tracking change 2019-01-17 14:52:18 +01:00
Mathieu Magnin
c6b76f0dae
Merge pull request #3296 from betagouv/fix-icon-alignment
Fix icon vertical alignement in buttons
2019-01-17 14:31:17 +01:00
Mathieu Magnin
f9768825a2 Fix icon alignement in buttons 2019-01-17 14:27:12 +01:00
Mathieu Magnin
feb340697a
Merge pull request #3287 from betagouv/improve-publish-draft
Improve publish draft
2019-01-17 14:25:45 +01:00
Mathieu Magnin
0e6b5678ad Fix tests 2019-01-17 14:04:59 +01:00
Mathieu Magnin
306632f169 Add Test et publication on tab title 2019-01-17 14:04:59 +01:00
Mathieu Magnin
8e1b3515be Add démarche en test on dossiers#show 2019-01-17 14:04:58 +01:00
Mathieu Magnin
910d471d86 If archived_at & published_at equal nil (tests procedures), then use created_at order 2019-01-17 14:04:58 +01:00
Mathieu Magnin
a4ddec6dff Wording : Démarche en brouillon => Démarche en test 2019-01-17 14:04:58 +01:00
Mathieu Magnin
2ce6d01aec Procedure has a default generated path when created 2019-01-17 14:04:58 +01:00
Mathieu Magnin
2355cdeeae Demarches Actives -> Publiées 2019-01-17 14:04:58 +01:00
Pierre de La Morinerie
a92a07c018
Merge pull request #2993 from tchak/new-champs-editor
New champs editor
2019-01-17 11:57:58 +01:00
Paul Chavard
f0cda2ca13 Test new champs editor 2019-01-17 11:20:31 +01:00
Paul Chavard
41c9b21509 Use new editor 2019-01-17 11:20:31 +01:00
Paul Chavard
0d35295d4e New champs editor 2019-01-17 11:20:31 +01:00
Paul Chavard
e1a1a2b2ad Add new admin procedure update action 2019-01-17 11:20:31 +01:00
Paul Chavard
d9d0b29cbf Add Vue.js 2019-01-17 11:20:31 +01:00
Pierre de La Morinerie
8d70a67bc2
Merge pull request #3290 from betagouv/sign-up-procedure-context
[Page de garde] Ajout du contexte de la démarche sur la page de sign-up
2019-01-17 11:20:21 +01:00
Pierre de La Morinerie
ae763d93f3 sign_up: display procedure context if available 2019-01-17 11:07:09 +01:00
Pierre de La Morinerie
4fd9fa6610 sign_in: extract the procedure context to a ProcedureContextConcern 2019-01-17 11:07:09 +01:00
Pierre de La Morinerie
e580d336e4 sessions: add a helper to clear the stored return path 2019-01-17 10:48:54 +01:00
Pierre de La Morinerie
e39fd7b171
Merge pull request #3283 from betagouv/fix_3268_fix_admin_procedures
Fix 3268 fix admin procedures
2019-01-17 10:42:21 +01:00
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