Commit graph

3790 commits

Author SHA1 Message Date
gregoirenovel
f68cf3f236 Merge pull request #443 from sgmap/decision-stats
Add stats for encart motivation
2017-06-19 18:19:58 +02:00
gregoirenovel
d0b927857a Add stats for encart motivation 2017-06-19 18:01:59 +02:00
gregoirenovel
19696da736 Add StatsController#percentage 2017-06-19 18:01:57 +02:00
gregoirenovel
458d671c14 Merge pull request #451 from sgmap/motivation-extras
Motivation extras
2017-06-19 15:02:49 +02:00
gregoirenovel
14823560a1 Expose the motivation on exported files 2017-06-19 15:01:14 +02:00
gregoirenovel
ce2def9c40 Expose the motivation on the API 2017-06-19 15:01:14 +02:00
LeSim
8222a7dc28 Merge pull request #453 from sgmap/Fix_attestation_attachment_with_remote_storage
Attestation: fix mail attachment when the files are remotely stored
2017-06-19 14:55:24 +02:00
Simon Lehericey
dd441ff0c7 Attestation: fix mail attachment when the files are remotely stored 2017-06-19 13:47:32 +02:00
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