Commit graph

3682 commits

Author SHA1 Message Date
LeSim
d8b9ba14c8 Merge pull request #449 from sgmap/Fix_attestation_template_admin_link
Attestation: fix attestation_template_admin_link
2017-06-16 15:59:18 +02:00
Simon Lehericey
523df76ecb Attestation: fix attestation_template_admin_link 2017-06-16 15:44:40 +02:00
gregoirenovel
7c0f621611 Merge pull request #450 from sgmap/fix_attachment_missing
Attestation: fix missing_attachment
2017-06-16 15:40:01 +02:00
Simon Lehericey
5c70d38a23 Attestation: fix missing_attachment 2017-06-16 14:47:44 +02:00
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