Commit graph

8336 commits

Author SHA1 Message Date
Pierre de La Morinerie
10065df8ce champs: put champ label in numeric fields validation messages
Replaces

> La valeur du champ doit être un nombre entier (sans chiffres après
> la virgule)

by

> La valeur du champ « Nombre de parents » doit être un nombre entier
> (sans chiffres après la virgule)
2019-07-11 15:12:48 +02:00
Pierre de La Morinerie
56c846900b champs: improve validation message of numeric fields
Replaces

> Champs value doit être un nombre

by

> La valeur du champ doit être un nombre entier (sans chiffres après
> la virgule)
2019-07-11 15:12:48 +02:00
LeSim
29adf51a0e
Merge pull request #4085 from betagouv/avoid_wrong_aasm_transitions
Avoid wrong aasm transitions
2019-07-11 12:57:29 +02:00
simon lehericey
768a298c2d Same for go back in instruction 2019-07-11 12:50:15 +02:00
simon lehericey
5f39d3eac8 Fix bug when instruction repasse en construction twice 2019-07-11 12:50:15 +02:00
simon lehericey
6de1e2ec58 Fix bug when an instructeur closes a dossier already closed 2019-07-11 12:50:15 +02:00
Pierre de La Morinerie
01ba459b73
Bump lodash.template from 4.4.0 to 4.5.0 (#4086)
Bumpe lodash.template vers la version 4.5.0
2019-07-11 12:43:23 +02:00
dependabot[bot]
1e1ec4197c
Bump lodash.template from 4.4.0 to 4.5.0
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-11 10:38:08 +00:00
Pierre de La Morinerie
1f99df9d7e
Ignore :expects_multiple_submissions on the correct model (#4079)
Ignore la colonne `:expects_multiple_submissions` sur le bon modèle
2019-07-11 12:35:48 +02:00
Pierre de La Morinerie
fdca7c025a procedure: ignore :expects_multiple_submissions on the correct model 2019-07-11 12:14:25 +02:00
Pierre de La Morinerie
3e43ef029e
Merge pull request #4078 from betagouv/remove-individual-with-siret
Suppression du code de `individual_with_siret` sur `Procedure`
2019-07-11 12:13:13 +02:00
Pierre de La Morinerie
c2c9b19b3b procedure: remove individual_with_siret
It isn't used anymore (see #3077)
2019-07-11 11:58:21 +02:00
Pierre de La Morinerie
34cc3793a8
Corrige l'affichage du radio-button "Personne morale" (#4081)
Administrateur : corrige l'affichage du radio-button "Personne morale"
2019-07-11 11:54:19 +02:00
Pierre de La Morinerie
7ca3d5fce2 procedure: select for_individual by default 2019-07-10 18:47:34 +02:00
Pierre de La Morinerie
9616df192d procedure: use the model value for checking the radio buttons
Previously `checked: true` forced the checked status, disregarding the
actual value of the model.

Fix #4080
2019-07-10 18:47:28 +02:00
LeSim
399d1e4ac2
Merge pull request #4065 from betagouv/better_champs_factories
Better champs factories
2019-07-10 16:48:58 +02:00
simon lehericey
7b63ddfabb Better champs factories 2019-07-10 16:41:34 +02:00
Paul Chavard
5ed992fd47
Merge pull request #3818 from tchak/migrate-message-attachement-to-active-storage
Migrate message attachements to use active_storage
2019-07-10 16:07:41 +02:00
Paul Chavard
be3283a9a8 Add commentaire pj migration task 2019-07-10 15:35:29 +02:00
Paul Chavard
3cb39c2840 Refactor message attachements to use active_storage 2019-07-10 15:35:29 +02:00
LeSim
85f7412fa6
Merge pull request #4069 from betagouv/improve-email-change
Amélioration du changement d'adresse email
2019-07-10 14:30:53 +02:00
Pierre de La Morinerie
03fc555edf profile: send an email when the account is already taken 2019-07-10 11:31:09 +02:00
Pierre de La Morinerie
80074d6d82 profile: improve layout and wording of the confirmation message 2019-07-10 11:31:09 +02:00
Pierre de La Morinerie
f8a1911625 profile: display profile page even for single-role users 2019-07-10 11:31:09 +02:00
Pierre de La Morinerie
055fc63c45 profile: improve email success message wording 2019-07-10 11:31:09 +02:00
Pierre de La Morinerie
2b2493b0e6 profile: improve spec 2019-07-10 11:31:09 +02:00
Pierre de La Morinerie
58a8d017f2 spec: cleanup dossier spec 2019-07-10 11:31:09 +02:00
Pierre de La Morinerie
595e8add6c
dossier: fix flaky spec for nearing_end_of_retention (#4072)
Correction d'un test aléatoire sur les dossiers
2019-07-10 11:26:49 +02:00
Pierre de La Morinerie
56bc06cfbf dossier: fix flaky spec for nearing_end_of_retention
If the spec takes longer than 1s to run, the test would fail.
2019-07-10 11:00:49 +02:00
Pierre de La Morinerie
ac4884404e
Update _state_button.html.haml (#4071)
Instructeur : correction de l'orthographe dans le menu "Passer en instruction"
2019-07-10 11:00:15 +02:00
benjaminhenkel
c36b884adf Update _state_button.html.haml
changement faute d'orthographe
2019-07-10 10:41:13 +02:00
LeSim
7a53ca127c
Merge pull request #4068 from betagouv/better_default_value_for_linked_list
better default value for linked_drop_down_list
2019-07-10 10:33:12 +02:00
simon lehericey
f6c402deec better default value for linked_drop_down_list 2019-07-10 10:21:34 +02:00
Keirua
370213dad6
Merge pull request #4064 from Keirua/fix/supprimer-camille-de-pipedrive
Suppression de camille dans DS
2019-07-09 17:29:57 +02:00
clemkeirua
d29be1fe41 suppression de redouane de Pipedrive 2019-07-09 17:29:25 +02:00
clemkeirua
4c9846dcd1 Mise à jour du mail d'activation admin 2019-07-09 17:29:25 +02:00
clemkeirua
1f3015e24f suppression de camille de la liste pipedrive 2019-07-09 17:29:25 +02:00
Pierre de La Morinerie
214b8b2837
Corrige un crash quand l'email France Connect n'a pas la même c… (#4054)
Usager : corrige une erreur lorsque l'email France Connect n'a pas la même casse que sur demarches-simplifiees.fr
2019-07-09 16:24:08 +02:00
Pierre de La Morinerie
06afc3890f france_connect: raise an error if some validation error occurs
If a validation error occurs in `find_or_create`, an object without `id`
will be returned–and the code will crash soon after.

Ensure that we crash immediately, so that we can report the root cause
(the validation error) instead of a seemingly-unrelated crash later.
2019-07-09 15:50:28 +02:00
Pierre de La Morinerie
6b27ac8514 france_connect: make existing user lookup case-insensitive
Fix #4053
2019-07-09 15:50:28 +02:00
Pierre de La Morinerie
d05bab3df3 france_connect: refactor specs 2019-07-09 15:50:28 +02:00
Pierre de La Morinerie
64df0a2e07
Rend plus facile de créer un autre dossier (#4062)
Usager : rend plus facile de déposer un autre dossier sur la même démarche
2019-07-09 15:42:09 +02:00
Pierre de La Morinerie
ecfccae6f0 dossiers: remove support for Dossier#expects_multiple_submissions 2019-07-09 14:50:11 +02:00
Pierre de La Morinerie
d77a5552b7 dossiers: allow to start a new dossier after submitting one 2019-07-09 14:44:36 +02:00
Pierre de La Morinerie
b5ed74c09d dossiers: always allow to create a new dossier
Turns out this is confusing for users (some UI elements are present for
some procedures, but not for others).

Better enable it for everyone.
2019-07-09 14:44:30 +02:00
Pierre de La Morinerie
7634fb6d8a
Fix 1709 change my email (#4047)
Possibilité de changer l'adresse email de son compte
2019-07-09 14:25:16 +02:00
simon lehericey
ea79b9a595 typo: use ’ 2019-07-09 11:55:17 +02:00
simon lehericey
d36f6ebcd7 [fix #1709] A user can change its email 2019-07-09 11:55:17 +02:00
simon lehericey
0f9fdf3f75 Activate device email change confirmation 2019-07-09 11:55:17 +02:00
simon lehericey
d68d2be798 Profil: accessible to all roles 2019-07-09 11:55:17 +02:00