Commit graph

7230 commits

Author SHA1 Message Date
Pierre de La Morinerie
934368616c form: remove the "Delete draft" button
Draft can now be deleted from the dossiers list. This is the best place
to delete it (as it allow to clean the list) – and it is better than
asking the user if they want to delete a draft *precisely while they
are filling the form*.
2019-01-28 18:17:38 +01:00
Pierre de La Morinerie
ac4d084463
Merge pull request #3212 from pengfeidong/fix_3048_controller_format_tel
[fix #3048] add pattern for the champs phone
2019-01-24 18:54:33 +01:00
pedong
ec76ff820b [fix #3048] add pattern for the champs phone 2019-01-24 18:48:57 +01:00
Mathieu Magnin
715bb96b86
Merge pull request #3325 from betagouv/fix-3324
[Fix #3324] Change font and justify text in attestation
2019-01-24 16:52:15 +01:00
Mathieu Magnin
61dcebff79 [Fix #3324] Change font and justify text in attestation 2019-01-24 16:36:03 +01:00
Pierre de La Morinerie
8995908eb4
Merge pull request #3330 from betagouv/fix-sentry-97
[Fix Sentry 97] pass a string to flash instead of array
2019-01-24 16:34:17 +01:00
Mathieu Magnin
e18f9d9dfa [Fix Sentry 97] pass a string to flash instead of array 2019-01-24 15:49:46 +01:00
pedong
358c08ec29 [fix #3282] add empty value for type_champ datatime 2019-01-24 14:57:21 +01:00
Pierre de La Morinerie
52990d828f
Merge pull request #3302 from betagouv/delete-dossiers-without-procedures
tasks: delete dossiers without procedures
2019-01-23 17:31:30 +01:00
Pierre de La Morinerie
bb1cc1eef8 tasks: delete dossiers without procedures
Fix #3279
2019-01-23 17:19:36 +01:00
Pierre de La Morinerie
db8289a19d procedure: ensure a procedure can't be deleted while it has dossiers 2019-01-23 17:19:36 +01:00
Pierre de La Morinerie
fb75461c78 procedure: delete dossiers on destroy 2019-01-23 17:19:36 +01:00
Pierre de La Morinerie
3f0f22d849 procedure: clarify controller spec 2019-01-23 17:14:14 +01:00
Pierre de La Morinerie
3ae8cf3284
Merge pull request #3309 from betagouv/emsnytech-patch-1
Modification du texte d’information vers les pages d’information sur …
2019-01-23 16:42:09 +01:00
emsnytech
5118f4d5f1 Modification du texte d’information vers les pages d’information sur internet
Aujourd’hui, les administrateurs doivent proposer un lien vers un site internet dans la description de leur démarche.
Toutefois, l’adresse qui est la plus importante à connaître, est le lien vers la page du site institutionnel sur laquelle les usager vont trouver le lien vers la démarche.
Il est proposé de clarifier cette attente par une phrase plus précise. ( cela n'empêche pas de publier avec une adresse générique, car cette information n’est pas obligatoire, et être modifiée après publication).
2019-01-23 16:37:28 +01:00
Pierre de La Morinerie
8d875708b6
Merge pull request #3319 from betagouv/fix-matomo-analytics
analytics: send Matomo event when navigating using Turbolinks
2019-01-23 16:37:03 +01:00
Pierre de La Morinerie
b177df477e analytics: send Matomo event when navigating using Turbolinks 2019-01-23 16:31:36 +01:00
Pierre de La Morinerie
fa4af38a94
Merge pull request #3310 from betagouv/add-time-to-page-de-garde
commencer: add temporal context about the dossier
2019-01-23 16:22:02 +01:00
Pierre de La Morinerie
23276cb9f9 commencer: add temporal context about the dossier
Ref #2225
2019-01-23 16:14:25 +01:00
Pierre de La Morinerie
75b6eaca53
Merge pull request #3320 from betagouv/fix-search-special-chars
search: exclude more special characters
2019-01-23 16:02:21 +01:00
Pierre de La Morinerie
437f73b4ce search: exclude more special characters 2019-01-22 17:16:49 +01:00
Pierre de La Morinerie
b07bdebc69
Merge pull request #3317 from betagouv/increase-description-font-size
commencer: increase description font size
2019-01-22 16:32:21 +01:00
Pierre de La Morinerie
e04173e2df commencer: increase description font size 2019-01-22 16:25:13 +01:00
Pierre de La Morinerie
265fa43f6b
Merge pull request #3314 from betagouv/fix-contact-to-messagerie
contact: fix sending a message to the messagerie
2019-01-22 16:24:03 +01:00
Pierre de La Morinerie
022cf33853 contact: fix sending a message to the messagerie
Fix #3313
2019-01-22 16:12:13 +01:00
Pierre de La Morinerie
151e5744e6 contact: rewrite specs to use finer-grained mocks
Before the specs mocked entire controller methods–which caused them
not to be tested.

Now we use finer mocks (or no mocks at all), to actually run more code.
2019-01-22 16:12:13 +01:00
LeSim
1d84ec7496
Merge pull request #3297 from pengfeidong/fix_1238_previsualization_attestation
[fix #1238] add previsualization attestation for gestionnaire
2019-01-22 15:09:24 +01:00
pedong
6103176a78 [fix #1238] add previsualization attestation for gestionnaire 2019-01-22 14:54:24 +01:00
Pierre de La Morinerie
3cc423283c
Merge pull request #3293 from betagouv/page-de-garde
Ajout d'une page de garde pour les démarches
2019-01-21 14:57:52 +01:00
Pierre de La Morinerie
bb753ce23e commencer: redirect to the procedure page after sign-in and sign-up 2019-01-21 14:45:38 +01:00
Pierre de La Morinerie
016e5f2e6f commencer: add an independant page 2019-01-21 14:45:38 +01:00
LeSim
bd77f82df0
Merge pull request #3304 from betagouv/task_to_fixup_autoreceive_data
[#3268] Rake task to correct bad follows and logs
2019-01-21 14:23:06 +01:00
simon lehericey
45db2d8e5a [#3268] Rake task to correct bad follows and logs 2019-01-21 14:17:17 +01:00
Pierre de La Morinerie
01f63c25e9
Merge pull request #3303 from betagouv/frederic/clarify_blocked_attestation
Explain to administrateur why the attestation cannot be deactivated
2019-01-21 14:14:34 +01:00
Frederic Merizen
a5b29dde97 Explain to administrateur why the attestation cannot be deactivated 2019-01-21 13:46:49 +01:00
Paul Chavard
6a9b024a6f
Merge pull request #3307 from tchak/fix-new-champs-editor
Fix champs editor on old procedures
2019-01-20 14:06:43 +01:00
Paul Chavard
174b01ecd4 Fix champs editor on old procedures 2019-01-18 14:53:14 +01:00
Paul Chavard
6d8eaaa7c9
Merge pull request #3305 from philemon95/patch-2
Update new.html.haml
2019-01-18 11:53:51 +01:00
philemon95
b69d10876b
Update new.html.haml
entendu parlé -> entendu parler
2019-01-18 11:12:20 +01:00
Frederic Merizen
d1c36a3945
Merge pull request #3276 from betagouv/frederic/2180-migrate_old_type_pj_to_new_type_champ_pj
Migration PJ => champ PJ en cas de clonage de la procédure
2019-01-17 17:52:16 +01:00
Frederic Merizen
d01270eff2 [#2180] Do not double-expose migrated type PJ as type champ PJ 2019-01-17 17:47:08 +01:00
Frederic Merizen
63519f04c8 [#2180] Expose migrated types PJ as legacy type PJ in dossier API 2019-01-17 17:47:08 +01:00
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