Commit graph

5928 commits

Author SHA1 Message Date
gregoirenovel
58221c8e8a Merge pull request #426 from sgmap/attestation
Attestation
2017-06-16 12:30:11 +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
b664709c3d [Fix #196] Attestation: allow vizualisation after the procedure is published 2017-06-16 12:11:10 +02:00
Simon Lehericey
671a0575ce [Fix #196] Recapitulatif: user can download its attestation 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
c0facbf679 [Fix #196] AttestionTemplate: add preview 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
Simon Lehericey
5855c2552a [Fix #196] Config: install prawn 2017-06-14 11:43:19 +02:00
gregoirenovel
ecbb6500a2 Merge pull request #404 from sgmap/encart-decision
Encart decision
2017-06-13 15:35:42 +02:00
gregoirenovel
b64c6d8817 Add a separator before the “Reouvrir” button 2017-06-13 15:14:51 +02:00
gregoirenovel
b8798d8b70 Remove now unused routes 2017-06-13 15:14:51 +02:00
gregoirenovel
12d74be668 Refactor Backoffice::DossiersController#process_dossier 2017-06-13 15:14:51 +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
88267a990d [Fix #197] Show the motivation on a dossier’s details 2017-06-13 15:14:48 +02:00
gregoirenovel
12740b4a3e [Fix #197] Add the motivation column to Dossiers 2017-06-13 15:05:10 +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
96e9d657de Merge pull request #427 from sgmap/run-rubocop
Run rubocop
2017-06-13 15:04:24 +02:00
gregoirenovel
e635ebbce2 Make CircleCI run RuboCop 2017-06-13 11:29:03 +02:00
gregoirenovel
f5d4686b80 Document the rubocop usage in README 2017-06-13 11:29:02 +02:00
gregoirenovel
6f884e9740 Add the rubocop gem 2017-06-13 11:29:02 +02:00
gregoirenovel
fc9f5f8be6 Don’t run rubocop on db/schema.rb 2017-06-13 11:29:02 +02:00
gregoirenovel
a74ac79489 Merge pull request #422 from sgmap/rubocop
Rubocop
2017-06-13 10:38:09 +02:00
gregoirenovel
d248afc376 Enable the Layout/ExtraSpacing cop 2017-06-13 10:35:35 +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
aac75106ef Enable the Layout/EmptyLinesAroundAccessModifier cop 2017-06-13 10:35:21 +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
a62d5322b6 Enable the Layout/DotPosition cop 2017-06-13 10:35:19 +02:00
gregoirenovel
f2cf32a15c Enable the Layout/CommentIndentation cop 2017-06-13 10:35:19 +02:00
gregoirenovel
1b78a8e957 Enable the Layout/CaseIndentation cop 2017-06-13 10:35:19 +02:00
gregoirenovel
bc16027ccc Enable the Layout/BlockEndNewline cop 2017-06-13 10:35:19 +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
75e995f721 Enable several rubocop cops 2017-06-13 10:35:15 +02:00
gregoirenovel
cf125e9514 Add to the rubocop config a comprehensive list of cops 2017-06-13 10:35:15 +02:00
gregoirenovel
4e0d0100a2 rubocop.yml -> .rubocop.yml 2017-06-13 10:35:15 +02:00
gregoirenovel
4718d88f98 Bump rubocop 2017-06-13 10:35:15 +02:00
gregoirenovel
22f5b1a49b Merge pull request #423 from sgmap/stats-colors
Fix the colors of the graphs on the Stats page
2017-06-13 10:14:36 +02:00
gregoirenovel
38e8908986 Fix the colors of the graphs on the Stats page 2017-06-13 10:13:20 +02:00
gregoirenovel
944464e7f5 Merge pull request #424 from sgmap/email-wording
Fix the wording of the initiated email’s subject
2017-06-13 10:05:41 +02:00
gregoirenovel
3f44b963c8 Fix the wording of the initiated email’s subject 2017-06-12 16:17:07 +02:00
Mathieu Magnin
b0c0824341 Merge pull request #412 from sgmap/normalize_api_date_format
[Fix #376] Normalize api date format
2017-06-12 14:10:08 +02:00
Mathieu Magnin
b9522ce404 [Fix #376] Before save format champ date to ISO 2017-06-12 14:05:31 +02:00