Commit graph

427 commits

Author SHA1 Message Date
Simon Lehericey
84e3d8fbe0 Attestation_template: use etablissement inline_adresse 2017-06-27 11:15:25 +02:00
Simon Lehericey
d69d0f8a78 Etablissement: add inline_adresse 2017-06-27 11:15:25 +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
Simon Lehericey
602527a09d [Fix #196] Attestation: building logic from template 2017-06-16 12:11:09 +02:00
Simon Lehericey
b443b5cefd [Fix #196] Dossier: add Attestation 2017-06-16 12:11:09 +02:00
Simon Lehericey
fdb4d15bcf [Fix #196] AttestationTemplate: add edition 2017-06-16 12:11:09 +02:00
Simon Lehericey
d7ff3d6139 [Fix #196] AttestationTemplate: add model 2017-06-16 11:35:13 +02:00
gregoirenovel
0120995533 [Fix #197] Add the TAG_MOTIVATION email tag 2017-06-13 15:14:50 +02:00
gregoirenovel
b58c02180c [Fix #197] Allow a gestionnaire to add a motivation 2017-06-13 15:14:50 +02:00
gregoirenovel
f1d66e40c3 Enable the Layout/EmptyLinesAroundModuleBody cop 2017-06-13 10:35:34 +02:00
gregoirenovel
82eb66cfe8 Enable the Layout/EmptyLinesAroundMethodBody cop 2017-06-13 10:35:33 +02:00
gregoirenovel
24e7537c49 Enable the Layout/EmptyLinesAroundClassBody cop 2017-06-13 10:35:32 +02:00
gregoirenovel
f1907f4d0e Enable the Layout/EmptyLinesAroundBlockBody cop 2017-06-13 10:35:23 +02:00
gregoirenovel
9439e1abb1 Enable the Layout/AlignParameters cop 2017-06-13 10:35:16 +02:00
gregoirenovel
50fad54538 Enable the Layout/AlignArray cop 2017-06-13 10:35:15 +02:00
gregoirenovel
3f44b963c8 Fix the wording of the initiated email’s subject 2017-06-12 16:17:07 +02:00
Mathieu Magnin
b9522ce404 [Fix #376] Before save format champ date to ISO 2017-06-12 14:05:31 +02:00
Mathieu Magnin
41a5ed59f3 [Fix #376] Force every browser to use native input[type=date] on date champ 2017-06-12 14:05:31 +02:00
gregoirenovel
2a74207d15 you_are_invited_on_dossier -> avis_invitation
- shorter
- clearer
2017-06-12 10:53:59 +02:00
gregoirenovel
107c322062 [Fix #323] Refactor received dossier notification: use a callback 2017-06-08 15:06:01 +02:00
gregoirenovel
585a5bcaba Add TEMPLATE_NAME to Mail classes 2017-06-08 12:22:49 +02:00
gregoirenovel
ec69086ebc Don’t use alias_method_chain, use a proxy method 2017-06-08 12:22:48 +02:00
gregoirenovel
07ea0ceea1 Make MailTemplateConcern.slug a constant 2017-06-08 12:22:44 +02:00
gregoirenovel
9988444459 Remove useless blank lines 2017-06-08 12:22:40 +02:00
gregoirenovel
e06ddeb168 Make all Mails classes inherit from ApplicationRecord 2017-06-08 12:22:38 +02:00
gregoirenovel
5a59115df4 Refactor the TAGS management in MailTemplateConcern 2017-06-08 12:22:36 +02:00
gregoirenovel
1794da5a30 [Fix #234] Remove dynamic email templates handling code in Procedure 2017-06-07 10:10:15 +02:00
gregoirenovel
d5023a3d38 Use the same order for constants and scopes in Dossier 2017-06-01 11:08:26 +02:00
gregoirenovel
0971ede57e Add a termine scope to Dossier 2017-06-01 11:08:00 +02:00
gregoirenovel
68da2ecbae Use symbols instead of strings in for the order arg in scopes 2017-06-01 11:07:30 +02:00
gregoirenovel
8fb6a41386 Remove an unused argument in some Dossier scopes 2017-06-01 11:07:04 +02:00
gregoirenovel
e0a3a48f76 Improve the formatting of Dossier scopes 2017-06-01 11:05:51 +02:00
gregoirenovel
ddac4bbfdb Change the order in the all_state scope for consistency 2017-06-01 10:58:09 +02:00
gregoirenovel
7055aec634 Add some more state scopes and use them 2017-06-01 10:58:09 +02:00
gregoirenovel
9c2c0346b6 [Fix #125] Transform some Dossier class methods into scopes 2017-06-01 10:58:08 +02:00
gregoirenovel
ab1c19c09b Rename some Dossier scopes 2017-06-01 10:58:08 +02:00
gregoirenovel
51dd6df1c0 Improve the formatting of the Dossier state enum 2017-06-01 10:58:08 +02:00
gregoirenovel
1816aef7d0 Group the Dossier scopes and move them at the top 2017-06-01 10:58:07 +02:00
gregoirenovel
6731f28e23 Move the state constants below the state enum 2017-06-01 10:58:07 +02:00
Mathieu Magnin
068b635b7c Add the weekly avis answer time average to Stats 2017-05-31 14:24:32 +02:00
gregoirenovel
9268da8236 Refactor Procedure#switch_list_order 2017-05-30 15:54:49 +02:00
gregoirenovel
04845efdfc Remove inconsistent and useless blank lines in models 2017-05-30 15:53:19 +02:00
gregoirenovel
d47e8b3702 Reformat Notification correctly 2017-05-30 15:53:19 +02:00
gregoirenovel
9f6edc5d1e Format the TypeDeChamp type_champs enum correctly 2017-05-30 15:52:29 +02:00
gregoirenovel
843bb9fd2c Format the User loged_in_with_france_connect enum correctly 2017-05-30 15:52:28 +02:00
gregoirenovel
258a80b0d7 Use the Procedure not_archived scope 2017-05-30 15:52:28 +02:00
gregoirenovel
9d478609d0 Move the Procedure scopes at the top 2017-05-30 15:52:28 +02:00
gregoirenovel
4655707eb5 [Fix #319] Include archived dossiers in the export 2017-05-30 15:41:35 +02:00
gregoirenovel
5253f07b69 Use the order_by_updated_at scope in Dossier 2017-05-30 15:41:35 +02:00
gregoirenovel
7eed44d430 Use the not_archived scope in Dossier 2017-05-30 15:41:35 +02:00