Commit graph

100 commits

Author SHA1 Message Date
Simon Lehericey
95fbd1824a Follow: remove old backoffice follow and toggle_follow 2017-09-06 11:11:22 +02:00
Mathieu Magnin
015260ff13 Gestionnaire can download export only for his procedures 2017-07-19 16:31:30 +02:00
Simon Lehericey
a1ddcb6d34 DossierController: remove useless facade 2017-07-17 13:36:22 +02:00
Simon Lehericey
dd441ff0c7 Attestation: fix mail attachment when the files are remotely stored 2017-06-19 13:47:32 +02:00
Simon Lehericey
5c70d38a23 Attestation: fix missing_attachment 2017-06-16 14:47:44 +02:00
Simon Lehericey
e60ce35ae8 [Fix #196] Attestation: join the attestation to the closed mail
Add a upper limit to the attachment size as it could be a problem with Mailjet and receiver
(https://www.mailjet.com/support/what-is-the-size-limit-for-attachments-files-sent-via-mailjet,289.htm)

If the attestation cannot be sent, it is logged in sentry
2017-06-16 12:11:10 +02:00
gregoirenovel
12d74be668 Refactor Backoffice::DossiersController#process_dossier 2017-06-13 15:14:51 +02:00
gregoirenovel
b58c02180c [Fix #197] Allow a gestionnaire to add a motivation 2017-06-13 15:14:50 +02:00
gregoirenovel
33944e343a Add Backoffice::DossiersController#process_dossier and use it 2017-06-13 15:05:09 +02:00
gregoirenovel
ff1f679c7b Enable the Layout/EmptyLineBetweenDefs cop 2017-06-13 10:35:20 +02:00
gregoirenovel
9439e1abb1 Enable the Layout/AlignParameters cop 2017-06-13 10:35:16 +02:00
gregoirenovel
96532cea6d [Fix #388] In avis email, redirect a signed out gest. to the dossier 2017-06-12 11:03:02 +02:00
gregoirenovel
107c322062 [Fix #323] Refactor received dossier notification: use a callback 2017-06-08 15:06:01 +02:00
gregoirenovel
ec69086ebc Don’t use alias_method_chain, use a proxy method 2017-06-08 12:22:48 +02:00
Simon Lehericey
34a7905828 DossierController: giving an advice does not remove the notifications 2017-05-29 11:44:28 +02:00
Simon Lehericey
3483ec075b DossierController: extract dossier_id from params[:id] 2017-05-29 11:44:28 +02:00
Mathieu Magnin
f24e4a77d3 Gestionnaire can view dossier if he is invited on dossier 2017-05-29 11:44:28 +02:00
Mathieu Magnin
43f481b7ff Gestionnaire can list dossiers where he is invited for avis 2017-05-29 11:44:28 +02:00
Mathieu Magnin
c3bf15d49f Create and list Avis on Dossier detail page 2017-05-29 11:44:28 +02:00
Simon Lehericey
a213032f28 Refactor: use select block to select stuff 2017-05-17 11:18:01 +02:00
gregoirenovel
eff9e556e9 [Fix #162] Deny dossier access for an unauthorized accompagnateur 2017-05-03 10:28:29 +02:00
Mathieu Magnin
bf0d466f4b Move export_full_generation method from Dossier to Procedure 2017-04-05 12:26:38 +02:00
Mathieu Magnin
b18c09e9fd Download dossiers button exports all dossiers except draft 2017-04-05 11:04:53 +02:00
LeSim
9764604430 Merge branch 'develop' into customize_submission_mail 2017-03-07 11:05:04 +01:00
Simon Lehericey
3d7f04ad3d DossierController: send receivedMail when the mail is ... received 2017-03-07 10:27:14 +01:00
Simon Lehericey
6c560e65eb Notification Mailer: use send_notification for all the mails 2017-03-07 10:27:13 +01:00
Simon Lehericey
36500407b4 DossierController: use the new method send_notification 2017-03-07 10:25:34 +01:00
Mathieu Magnin
44819bb0b1 Fix reopened dossier should not be listed in new dossiers 2017-03-06 15:59:52 +01:00
Mathieu Magnin
87865fcf1b Merge branch 'develop' into list_dossiers_archived 2017-03-01 10:35:20 +01:00
Simon Lehericey
870d3719e1 Dossier: add method to allow gestionnaire to reopen dossier 2017-02-28 15:14:27 +01:00
Mathieu Magnin
fa884f3ed0 Unarchive button & tests 2017-02-28 14:33:05 +01:00
Mathieu Magnin
cae5b37e38 First step to remove :validated and :submitted states 2017-02-21 18:05:48 +01:00
Simon Lehericey
b6fc30fd62 Search: see only its own files 2017-02-20 18:07:33 +01:00
Mathieu Magnin
5613b896b1 Gestionnaire can archive dossier 2017-02-08 17:35:28 +01:00
Xavier J
c815ec5e82 Add tab for follow dossier in gestionnaire dashboard 2017-01-05 19:07:01 +01:00
JC
45042d0200 Catching case for empty dossiers, cannot download them while locked on procedure, third fix making good condition about empty dossiers 2017-01-03 15:50:44 +01:00
JC
2670a9db0e Catching case for empty dossiers, cannot download them while locked on procedure 2017-01-03 15:15:20 +01:00
JC
e7ef58dc9a Catching case for empty dossiers, cannot download them while locked on procedure 2017-01-03 15:14:39 +01:00
Xavier J
4d765d3b46 Past all notification to read when gestionnaire is on back office dossier show 2016-12-27 11:23:19 +01:00
Xavier J
02fd5a2939 Fix tests 2016-12-22 11:55:24 +01:00
Xavier J
cd7b7e4055 - Fix display private form
- Refacto code private form
2016-12-22 11:39:44 +01:00
Xavier J
f1ae1d8dea Change render « show » by redirect_to backoffice_dossier_path(id) in dossier controller POST action 2016-12-19 17:11:26 +01:00
Xavier J
bc4e3860be Fix all tests 2016-12-14 18:41:33 +01:00
Xavier J
4c2dd0ede1 Fix out of ranch error on search 2016-12-05 16:57:40 +01:00
Xavier J
cc532f74f9 Fix redirection routes for gestionnaires and users with double devise profile 2016-12-05 16:17:24 +01:00
Xavier J
752ae24c9f New search UX 2016-11-29 09:56:11 +01:00
Xavier J
53b0b9ee63 Fix bug right preference panel 2016-11-28 16:49:50 +01:00
Xavier J
178f0f88c1 - Delete page « Tous les dossiers »
- Fix follow tab
2016-11-28 14:38:33 +01:00
JC
5ba1c85ca7 Change spec according to layout rendering service 2016-11-22 16:30:35 +01:00
JC
4f9bcdd225 Awsome struct to share layouts between controllers and there methods 2016-11-22 16:03:32 +01:00