Commit graph

2308 commits

Author SHA1 Message Date
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
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
Mathieu Magnin
2653862fa7 Add a placeholder to help IE users to fill the date input with the right format 2017-06-12 14:05:31 +02:00
Mathieu Magnin
95481e7b85 Move date input in a partial 2017-06-12 14:05:31 +02:00
gregoirenovel
689a7257f2 Merge pull request #417 from sgmap/fix-388
Improve the avis email links
2017-06-12 11:32:45 +02:00
gregoirenovel
96532cea6d [Fix #388] In avis email, redirect a signed out gest. to the dossier 2017-06-12 11:03:02 +02:00
gregoirenovel
8968675cfb [Fix #388] In avis email, redirect a signed in gest. to the dossier
Instead to the sign in page
2017-06-12 10:54:01 +02:00
gregoirenovel
2a74207d15 you_are_invited_on_dossier -> avis_invitation
- shorter
- clearer
2017-06-12 10:53:59 +02:00
gregoirenovel
8411a4d6bf Merge pull request #362 from sgmap/fix-323
[Fix #323] Send notification emails when a dossier is automatically received
2017-06-12 10:53:19 +02:00
gregoirenovel
9eb897f721 Fix spacing in auto_archive_procedure_worker_spec.rb 2017-06-08 15:06:01 +02:00
gregoirenovel
107c322062 [Fix #323] Refactor received dossier notification: use a callback 2017-06-08 15:06:01 +02:00
gregoirenovel
67d0fb5ddc Further refactor of AutoArchiveProcedureWorker
Call received! so that validation and save
callbacks are called.

Previously, we wouldn’t have update the
received_at date
2017-06-08 15:06:01 +02:00
gregoirenovel
cc95216672 Refactor AutoArchiveProcedureWorker#perform
If the loop failed, we wouldn’t update the
archived attribute for procedures for which
the folders were archived.

That would have caused to re-run the task for
procedures for which the task had already been
run.
2017-06-08 15:06:01 +02:00
gregoirenovel
68e734fbb5 Remove a blank line 2017-06-08 15:06:00 +02:00
gregoirenovel
f8673894e2 Stop erasing data when auto-archiving procedures 2017-06-08 15:06:00 +02:00
gregoirenovel
aaf590362f Merge pull request #405 from sgmap/tech-email
Change the new admin account notification receiver
2017-06-08 15:04:51 +02:00
gregoirenovel
d3f4e0c210 Change the new admin account notification receiver 2017-06-08 15:03:55 +02:00
gregoirenovel
ddaf66eb22 Merge pull request #409 from sgmap/avis-space
In Avis sign up, fix the numero character and add a non-breaking space
2017-06-08 15:03:06 +02:00
gregoirenovel
3c83cc3c52 In Avis sign up, fix the numero character and add a non-breaking space 2017-06-08 14:08:43 +02:00
gregoirenovel
15fb867e4f Merge pull request #406 from sgmap/fix-invite-email
Fix invite guest email
2017-06-08 14:07:34 +02:00
gregoirenovel
220b71abfd Fix invite guest email
- fix typo
- add a missing non-breaking space
2017-06-08 14:06:58 +02:00