Commit graph

140 commits

Author SHA1 Message Date
Simon Lehericey
95fbd1824a Follow: remove old backoffice follow and toggle_follow 2017-09-06 11:11:22 +02:00
Simon Lehericey
7016bdc49a Avis: move assign_gestionnaire logic to avis model 2017-07-21 11:22:16 +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
Mathieu Magnin
3f90e82d09 [Fix #327] flashes messages can deal with Arrays 2017-06-21 18:08:05 +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
24e7537c49 Enable the Layout/EmptyLinesAroundClassBody cop 2017-06-13 10:35:32 +02:00
gregoirenovel
f496f1adab Enable the Layout/EmptyLines cop 2017-06-13 10:35:20 +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
gregoirenovel
d54fe12a9c Remove inconsistent and useless blank lines in controllers 2017-05-30 15:54:49 +02:00
Simon Lehericey
64f7cab3cf Avis: add claimant gestionnaire to track who asks for an avis 2017-05-29 11:44:28 +02:00
Simon Lehericey
cdcd5b951f AvisController: add a notification when a avis has been received 2017-05-29 11:44:28 +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
612a8c4b91 Confirm with flash after avis is sent 2017-05-29 11:44:28 +02:00
Simon Lehericey
f9aee06040 AvisController: add redirection logic for various login cases 2017-05-29 11:44:28 +02:00
Simon Lehericey
842999d229 Avis: add create_gestionnaire logic 2017-05-29 11:44:28 +02:00
Simon Lehericey
aaf155df72 Avis: add sign_up logic for new tps gestionnaire 2017-05-29 11:44:28 +02:00
Simon Lehericey
f6359cb7aa gestionnaire invited on dossier for avis, can update Avis 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
e831442cbd Associate gestionnaire to avis if gestionnaire is known 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
Simon Lehericey
2b969ef575 MandatoryAttachment: group missing errors logic together
and show errors only if not draft
2017-04-19 15:45:45 +02:00
Simon Lehericey
367b7c6ae1 DescriptionController: use common system to redirect with errors 2017-04-18 17:48:03 +02:00
Simon Lehericey
4df03fc28e ChampsService: add tests and refactor 2017-04-11 12:11:09 +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
gregoirenovel
d5e7bbd80d Files should end with a new line 2017-04-04 16:59:38 +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
Simon Lehericey
494d5fed5c Dossier_list_controller: renaming 2017-03-01 16:00:39 +01:00
Simon Lehericey
0862f2fc51 Dossier_list_controller: same name pattern 2017-03-01 15:51:02 +01:00
Simon Lehericey
5b475fdd06 Dossier_list_controller: simplify smartlisting 2017-03-01 15:51:02 +01:00
Simon Lehericey
925a087f4a Dossier_list_controller: use same system for archived dossiers 2017-03-01 15:50:57 +01:00
Simon Lehericey
8dc634f4d3 Dossier_list_controller: factorize smart_listing_create 2017-03-01 14:19:22 +01:00