Commit graph

717 commits

Author SHA1 Message Date
Mathieu Magnin
feda7213f9 Action button for instruction state 2017-09-06 11:13:59 +02:00
Mathieu Magnin
059a0b961b Action button for construction state 2017-09-06 11:13:59 +02:00
Simon Lehericey
a298c48e8f Dossier: add notification icon 2017-09-06 11:13:50 +02:00
Simon Lehericey
fbd16b8c75 Procedure show: add notification icon 2017-09-06 11:11:47 +02:00
Simon Lehericey
3e93d21bf5 Procedure Index: add notification icon 2017-09-06 11:11:47 +02:00
Mathieu Magnin
bf97a111f9 Old recherche with new design 2017-09-06 11:11:43 +02:00
Mathieu Magnin
1e61f1388b Move layout configuration on gestionnaire controller 2017-09-06 11:11:41 +02:00
Simon Lehericey
3e5d0dce6a NewDesign: can add annotations 2017-09-06 11:11:37 +02:00
Simon Lehericey
2923d4448b NewDesign: can ask a new avis 2017-09-06 11:11:36 +02:00
Simon Lehericey
f03d8ef909 NewDesign: add dossier instruction view 2017-09-06 11:11:36 +02:00
Simon Lehericey
46c144146c Form: add description 2017-09-06 11:11:35 +02:00
Simon Lehericey
74c71a3776 Form: use rails form helper 2017-09-06 11:11:34 +02:00
Mathieu Magnin
f3f2b6acc2 Avoid n+1 because of gestionnaire.follows?(dossier) 2017-09-06 11:11:32 +02:00
Mathieu Magnin
d780ab1c90 Avoid n+1 because of user.email 2017-09-06 11:11:32 +02:00
Simon Lehericey
1a485f173e Form: add required 2017-09-06 11:11:30 +02:00
Simon Lehericey
9c2e71afa3 Form: add various champs html and style 2017-09-06 11:11:29 +02:00
Mathieu Magnin
373d9999fc Add map for gestionnaire 2017-09-06 11:11:28 +02:00
gregoirenovel
b4a1f4f248 Remove a useless scope call
A gestionnaire’s dossiers are already filtered so
that the brouillon ones do not appear
2017-09-06 11:11:27 +02:00
gregoirenovel
091fa1d099 Order a Gestionnaire’s procedures
First display the procédures publiées, sorted
by publication date, and then the procédures
archivées, sorted by archiving date
2017-09-06 11:11:27 +02:00
Simon Lehericey
714b2a5f08 NewDesign: gestionnaire can add a new commentaire 2017-09-06 11:11:25 +02:00
Simon Lehericey
497f898e1b NewDesign: add dossier messagerie show 2017-09-06 11:11:24 +02:00
Simon Lehericey
86ea47bb0d BackofficeDossierController: follow dossier when receive 2017-09-06 11:11:23 +02:00
Simon Lehericey
b80d6a6a59 Follow: add flash notice to dossier_controller 2017-09-06 11:11:23 +02:00
Simon Lehericey
95fbd1824a Follow: remove old backoffice follow and toggle_follow 2017-09-06 11:11:22 +02:00
Simon Lehericey
f07b6eab53 Follow: use follow instead of toggle_follow_dossier 2017-09-06 11:11:22 +02:00
Simon Lehericey
6cff044a50 NewDossierController: add next_step follow 2017-09-06 11:11:22 +02:00
Simon Lehericey
8b2366cb98 GestionnaireDossierController: use gestionnaire follow 2017-09-06 11:11:21 +02:00
Mathieu Magnin
f9f313e990 Add identité demandeur for entreprise on dossier detail page 2017-09-06 11:11:15 +02:00
Mathieu Magnin
5b417889b2 Use same counters on procedures index than show 2017-09-06 11:11:14 +02:00
Simon Lehericey
a064ae64a4 NewDesign: add archive and unarchive actions on dossier 2017-09-06 11:11:12 +02:00
Simon Lehericey
eb65318844 NewDesign: add follow and unfollow actions on dossier 2017-09-06 11:11:12 +02:00
Simon Lehericey
ad1a11ab52 NewDesign: procedure show add dossier table 2017-09-06 11:11:11 +02:00
Simon Lehericey
b48af51ee9 NewDesign: procedure show only header 2017-09-06 11:11:11 +02:00
Mathieu Magnin
622a170793 Add and design new #index on procedures for gestionnaires 2017-09-06 11:11:07 +02:00
gregoirenovel
650a39b371 Use delete_all instead of destroy_all to batch delete 2017-08-29 14:22:14 +02:00
Simon Lehericey
806c41af38 [Fix #667] Can add an already register gestionnaire with uppercase email 2017-08-28 15:36:34 +02:00
Simon Lehericey
62f1b9c712 Rubocop: enable indentation width rule 2017-08-28 12:20:58 +02:00
Mathieu Magnin
dd1fea78ac [Fix #658] when dossier linked to avis is hidden, do not crash application 2017-08-28 10:11:50 +02:00
Mathieu Magnin
a3b069e501 [Fix #589] When getting birthdate from France Connect format it to ISO 2017-08-01 16:47:44 +02:00
Mathieu Magnin
03fde0a502 [FIX #589] Force birthdate format when saving 2017-08-01 16:47:43 +02:00
Mathieu Magnin
1aabc6c82b [FIX #589] Validate birthdate from user input 2017-08-01 16:47:43 +02:00
Mathieu Magnin
d097860b04 Enable rack mini profiler when super admin is connected 2017-07-25 14:35:54 +02:00
Simon Lehericey
7016bdc49a Avis: move assign_gestionnaire logic to avis model 2017-07-21 11:22:16 +02:00
Mathieu Magnin
ed11ee4fb4 Fix SQL injections 2017-07-20 18:22:14 +02:00
Mathieu Magnin
1d0734dda2 Admin should be owner of procedure to hide it 2017-07-20 16:40:11 +02:00
Mathieu Magnin
e468612d95 Admin should be owner of procedure to destroy it 2017-07-20 14:30:36 +02:00
Mathieu Magnin
015260ff13 Gestionnaire can download export only for his procedures 2017-07-19 16:31:30 +02:00
gregoirenovel
c464a6faba [Fix #168] Sort published and archived procedures by publication_date 2017-07-18 13:44:03 +02:00
gregoirenovel
6f2c63c094 Remove default values for some stat methods’ arguments 2017-07-17 16:00:16 +02:00
gregoirenovel
20b4c7ce6f [Fix #146] Use published_at for procedures in Stats
Instead of created_at, which is less
representative
2017-07-17 15:10:05 +02:00