Commit graph

962 commits

Author SHA1 Message Date
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
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
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
d4bbcdf682 Champ: add before save logic to serialize datetime and dropdownlist fields 2017-09-06 11:11:35 +02:00
Simon Lehericey
62894175ae DossierControllerSpec: refactor by remove sign_in test logic
As this test belongs to ProcedureControllerSpec
2017-09-06 11:11:29 +02:00
Simon Lehericey
f6bc9ec852 DossierControllerSpec: rename describe (add #) 2017-09-06 11:11:28 +02:00
gregoirenovel
7ff7710803 A gestionnaire can only see procédures publiées 2017-09-06 11:11:26 +02:00
gregoirenovel
55a4f1288f Fix a gestionnaire test 2017-09-06 11:11:26 +02:00
Simon Lehericey
714b2a5f08 NewDesign: gestionnaire can add a new commentaire 2017-09-06 11:11:25 +02:00
Simon Lehericey
d5535aaaaa DossierControllerSpec: refactor 2017-09-06 11:11:23 +02:00
Simon Lehericey
97de5b2dd9 DossierControllerSpec: remove duplicate test 2017-09-06 11:11:23 +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
6cff044a50 NewDossierController: add next_step follow 2017-09-06 11:11:22 +02:00
Simon Lehericey
e68f3332c1 Gestionnaire: add follow(dossier) method 2017-09-06 11:11:21 +02:00
Simon Lehericey
033f08524f Gestionnaire: refactor follow? 2017-09-06 11:11:21 +02:00
Mathieu Magnin
923a16a8c8 remove extra line 2017-09-06 11:11:18 +02:00
Mathieu Magnin
2b0c0567b8 Add header section in form table 2017-09-06 11:11:16 +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
f7d1cfc462 Add tests on procedures#index 2017-09-06 11:11:09 +02:00
Mathieu Magnin
05f83fb3d3 convert simple quote to double quote 2017-09-06 11:11:09 +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
a7b00ee847 Rubocop: enable Layout/SpaceAroundOperators 2017-08-28 13:39:13 +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
dd581082ca [Fix #395] Export user email in API 2017-08-25 12:01:53 +02:00
Mathieu Magnin
931e547afa [Fix #395] Export user email in csv 2017-08-25 12:01:52 +02:00
gregoirenovel
af91751e1e Refactor a test to avoid logging a Sentry error message 2017-08-21 16:34:52 +02:00
gregoirenovel
2908a81a1b Remove a warning
We used to have `warning: removing `initialize'
may cause serious problems` when running this test
2017-08-21 15:23:01 +02:00
Simon Lehericey
d40eef284d Dossier: fixup n+1 champ query 2017-08-03 13:02:13 +02:00
Simon Lehericey
1363999621 Dossier: fixup n+1 private champ query 2017-08-03 13:01:55 +02:00
Mathieu Magnin
03fde0a502 [FIX #589] Force birthdate format when saving 2017-08-01 16:47:43 +02:00
Mathieu Magnin
dae700788f Fix test that fail when is run on the 1st day of the month following a 31 days month 2017-08-01 16:42:39 +02:00
Simon Lehericey
7016bdc49a Avis: move assign_gestionnaire logic to avis model 2017-07-21 11:22:16 +02:00
Simon Lehericey
fe1b97b738 Avis: move notify_gestionnaire to private method 2017-07-21 11:19:18 +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
b0c0477622 [Fix #315] Order champs by procedure order in export 2017-07-19 16:31:30 +02:00
gregoirenovel
9666ed7d5d Remove useless tests 2017-07-19 13:32:59 +02:00