Commit graph

107 commits

Author SHA1 Message Date
Mathieu Magnin
2db1d93a84 Remove this test because no Notification should be created when gestionnaire is sending a file on messagerie 2017-11-28 15:07:11 +01:00
Mathieu Magnin
fa95c312ff Old UI : Plug messagerie on new commentaire file system 2017-11-28 15:07:10 +01:00
Simon Lehericey
1cfeb10ce9 [Fix #503] Dossier: remove updated 2017-09-26 14:42:54 +02:00
Simon Lehericey
633b55aca0 [Fix #503] Dossier: remove replied 2017-09-26 14:42:54 +02:00
Simon Lehericey
53f0a16186 BackofficeAvisController: make new avis confidentiel by default 2017-09-22 17:58:16 +02:00
Mathieu Magnin
719b848e79 Fix search test that fails randomly 2017-09-06 14:36:09 +02:00
Mathieu Magnin
059a0b961b Action button for construction state 2017-09-06 11:13:59 +02:00
gregoirenovel
7ff7710803 A gestionnaire can only see procédures publiées 2017-09-06 11:11:26 +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
95fbd1824a Follow: remove old backoffice follow and toggle_follow 2017-09-06 11:11:22 +02:00
gregoirenovel
af91751e1e Refactor a test to avoid logging a Sentry error message 2017-08-21 16:34:52 +02:00
Simon Lehericey
7016bdc49a Avis: move assign_gestionnaire logic to avis model 2017-07-21 11:22:16 +02:00
Mathieu Magnin
c3fa1e01b9 [Fix #577] Restrict comment creation to Users/Gestionnaires allowed on dossier 2017-07-11 11:01:06 +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
33944e343a Add Backoffice::DossiersController#process_dossier and use it 2017-06-13 15:05:09 +02:00
gregoirenovel
1bff7d1914 Fix incorrect Backoffice::DossiersController tests 2017-06-13 15:05:09 +02:00
gregoirenovel
f1907f4d0e Enable the Layout/EmptyLinesAroundBlockBody cop 2017-06-13 10:35:23 +02:00
gregoirenovel
f496f1adab Enable the Layout/EmptyLines cop 2017-06-13 10:35:20 +02:00
gregoirenovel
9439e1abb1 Enable the Layout/AlignParameters cop 2017-06-13 10:35:16 +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
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
e831442cbd Associate gestionnaire to avis if gestionnaire is known 2017-05-29 11:44:28 +02:00
Mathieu Magnin
459c2afe33 remove empty line 2017-05-11 18:18:28 +02:00
Simon Lehericey
cebb197994 Fix #171 : add localtime to a bunch of date 2017-05-11 15:10:49 +02:00
gregoirenovel
38480ef3ed Remove dead code 2017-05-09 16:39:39 +02:00
Mathieu Magnin
3730ba76b5 Remove sqlite flag for tests 2017-04-12 17:34:31 +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
02bbf0543f Mails: move to their own namespace 2017-03-07 10:27:14 +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
0a11165308 Tests for display archived dossiers 2017-03-02 17:52:28 +01:00
Mathieu Magnin
d03016db9c Merge branch 'develop' into list_dossiers_archived 2017-03-02 16:22:59 +01:00
Mathieu Magnin
4d60aecb6d Merge branch 'develop' into try_to_use_sqlite 2017-03-01 14:59:17 +01:00
Mathieu Magnin
87865fcf1b Merge branch 'develop' into list_dossiers_archived 2017-03-01 10:35:20 +01:00
Simon Lehericey
382b614095 Tests: feature flip tests that require postgres 2017-02-28 17:01:58 +01:00