Commit graph

9410 commits

Author SHA1 Message Date
Paul Chavard
5fbce8a5dc
Merge pull request #4946 from tchak/fix-migration
Do not add default to en_construction_conservation_extension
2020-03-26 11:48:44 +01:00
Paul Chavard
e60597aa30 Do not add default to en_construction_conservation_extension 2020-03-26 11:46:27 +01:00
Paul Chavard
d9145545ca
Merge pull request #4937 from tchak/do-not-delete-users-with-hidden-dossiers
User should not be deleted if they have hidden dossiers with state_instruction_commencee
2020-03-25 19:02:13 +01:00
Paul Chavard
08a5dd6a27 User should not be deleted if they have hidden dossiers with state_instruction_commencee
fix #4933
2020-03-25 18:15:14 +01:00
Paul Chavard
ed0441176b
Merge pull request #4941 from tchak/use-constants
Refactor scopes with intervals and use Time.zone.now
2020-03-25 18:14:38 +01:00
Paul Chavard
51224fad49 Refactor scopes with intervals and use Time.zone.now 2020-03-25 17:42:03 +01:00
Paul Chavard
9b20ce9470
Merge pull request #4915 from tchak/cleanup-discarded-dossier
Add a job to remove discarded dossiers
2020-03-25 17:41:40 +01:00
Paul Chavard
c086f6d580 Add a job to remove discarded dossiers 2020-03-25 17:28:25 +01:00
Paul Chavard
26b41caca9
Merge pull request #4939 from tchak/show-deleted-dossier-reason
Show the reason on deleted dossiers
2020-03-25 17:28:05 +01:00
Paul Chavard
ec1cd989ab Show the reason on deleted dossiers 2020-03-25 16:57:03 +01:00
Pierre de La Morinerie
7a8936eacb
Merge pull request #4932 from tchak/fix-dossier-scopes
Les dossiers en brouillon supprimés ne génèrent plus de notifications ou d'opérations dans les journaux
2020-03-25 16:03:53 +01:00
Paul Chavard
5b5ae5a7a5 Do not send notifications or create operation logs on brouillon demarches 2020-03-25 15:04:52 +01:00
Paul Chavard
966503fd4e
Merge pull request #4938 from betagouv/improve-upload-label
dossier: make the upload label a real label
2020-03-25 15:04:34 +01:00
Pierre de La Morinerie
f895570b00 dossier: make the upload label a real label 2020-03-25 14:43:09 +01:00
Pierre de La Morinerie
1de3674e36
Merge pull request #4930 from betagouv/4890-accessibilite
Améliorations d'accessibilité (CGU, pieds-de-page, sélection du genre)
2020-03-25 10:58:45 +01:00
clemkeirua
b4160e7554 added footer on static pages 2020-03-25 09:50:41 +00:00
clemkeirua
a34b45e4f4 make the 'male' field selected by default during identity creation 2020-03-25 09:50:41 +00:00
clemkeirua
1bdc0836a6 password length for screen reader on /users/sign_up
We use a placeholder (which is not made for this, but we have reasons to do that)
so using a visible labels or paragraph duplicates the information

I picked aria-describedby, which is not the ideal solution (it seems to be aria-labelledby) but which is the most widely supported

https://www.w3.org/WAI/tutorials/forms/instructions/#using-aria-describedby
2020-03-25 09:50:41 +00:00
clemkeirua
5ef6f92fdc update CGU URL 2020-03-25 09:50:41 +00:00
krichtof
4e6571512a
Merge pull request #4929 from betagouv/4907-afficher-les-deleted-dossiers
instructeur: affiche les dossiers supprimés pour une procédure
2020-03-25 10:25:45 +01:00
Christophe Robillard
72783fd8fd replace status_badge partial by status_badge helper 2020-03-25 10:19:07 +01:00
Christophe Robillard
ba8cd8dde0 add explanation for deleted dossiers 2020-03-25 10:19:07 +01:00
Christophe Robillard
78fcdd42a6 refactor 2020-03-25 10:19:07 +01:00
Christophe Robillard
fcfa19a4aa add deleted dossiers title 2020-03-25 10:19:07 +01:00
Christophe Robillard
73d7ef4436 add space to deleted_dossier cells 2020-03-25 10:19:07 +01:00
Christophe Robillard
459153978d paginate deleted dossiers 2020-03-25 10:19:07 +01:00
Christophe Robillard
b4b92accf1 instructeur: show deleted dossiers for a procedure 2020-03-25 10:19:07 +01:00
Paul Chavard
bce2f92d2c
Merge pull request #4878 from maatinito/issue/4807_notify_users_with_draft_48h_before_closing_the_procedure
Fix #4807 48h before closing a procedure, notify users their draft is…
2020-03-25 09:58:59 +01:00
maatinito
1af32b29fd #4807 Use now() instead of Date.time.today (better code homogeneity) 2020-03-24 17:09:14 -10:00
maatinito
a4ba48fbce #4807 separate job 2020-03-24 16:46:24 -10:00
maatinito
8ff34780d1 #4807 better wording 2020-03-24 16:46:24 -10:00
maatinito
f5c2dc03c5 #4807 better method/variable naming 2020-03-24 16:46:23 -10:00
Christian Lautier
e61c53f267 Fix #4807 48h before closing a procedure, notify users their draft is not submitted 2020-03-24 16:46:23 -10:00
Keirua
ea3022a292
Merge pull request #4922 from betagouv/4896-extend-dossier-before-deletion
#4896 Extend dossier en construction before deletion
2020-03-24 18:20:11 +01:00
clemkeirua
e76870844e update test for dossier#en_construction_close_to_expiration
It now takes into account en_construction_conservation_extension
2020-03-24 18:10:51 +01:00
clemkeirua
5896aedeeb added extension bouton to en_construction dossiers bound to expire 2020-03-24 18:10:51 +01:00
clemkeirua
dadbcd7ede add dossier_construction_conservation_extension column 2020-03-24 18:10:51 +01:00
clemkeirua
057d7bc2f1 add interval data type to ActiveRecord 2020-03-24 18:10:13 +01:00
Pierre de La Morinerie
77c81cd1ae
Merge pull request #4869 from betagouv/4839-accessibilite-formulaire
Usager : amélioration de l'accessibilité des labels du formulaire
2020-03-24 18:04:15 +01:00
clemkeirua
6d02e6e9e8 replaced helper has_html_label? with inheritance 2020-03-24 16:54:36 +00:00
clemkeirua
2ecb9cd5a2 rename .label-not-label class into .form-label 2020-03-24 16:54:36 +00:00
clemkeirua
d49f6e703e fix tests for datetime 2020-03-24 16:54:35 +00:00
clemkeirua
c077762a04 added labels for datetime
cf https://stackoverflow.com/a/47836699
2020-03-24 16:54:35 +00:00
clemkeirua
dc2b4598a5 remove orphaned label in identity screen 2020-03-24 16:54:35 +00:00
clemkeirua
5321f7c708 ajout de labels invisibles sur les champs d'invitation 2020-03-24 16:54:35 +00:00
clemkeirua
1a58dd69c2 replace html labels with h2 elements
Some elements should not be html labels, for example when they include sub-elements that contain labels (ex: a radio button that has a label on its own). Those are replaced with title elements
2020-03-24 16:54:35 +00:00
clemkeirua
62591623f4 ajout d'un label invisible pour le champ secondaire d'un menu déroulant lié 2020-03-24 16:54:35 +00:00
clemkeirua
26b20b719f ajout d'un label invisible sur le bouton 'mon compte' 2020-03-24 16:54:35 +00:00
clemkeirua
ce3e60190f add hidden label to 'Rechercher' in layout 2020-03-24 16:54:35 +00:00
clemkeirua
2e4f003ac8 ajout d'un fieldset sur le champ civilité 2020-03-24 16:54:35 +00:00