Commit graph

6793 commits

Author SHA1 Message Date
gregoirenovel
2762a769ca Bump dependencies 2019-01-05 11:47:55 +01:00
gregoirenovel
5fa5f2aa37 Bump development gems
- rubocop (0.61.1 → 0.62.0)
2019-01-05 11:47:55 +01:00
gregoirenovel
ce8f5bf18b Bump test gems
- rails-controller-testing (1.0.3 → 1.0.4)
- webmock (3.4.2 → 3.5.1)
2019-01-05 11:25:12 +01:00
gregoirenovel
e97a16c36c Bump default gems
- bootstrap-sass (dependencies)
- carrierwave (1.2.3 → 1.3.1)
- chartkick (3.0.1 → 3.0.2)
- daemons (1.2.6 → 1.3.1)
- groupdate (4.1.0 → 4.1.1)
- rack-mini-profiler (1.0.0 → 1.1.1)
- sassc-rails (2.0.0 → 2.1.0)
- webpacker (4.0.0.pre.3 → 4.0.0.rc.2)
2019-01-05 11:24:25 +01:00
gregoirenovel
cf86857a83
Merge pull request #3215 from betagouv/clean-db
Clean db
2019-01-05 10:50:05 +01:00
gregoirenovel
a9d4672de1 Remove sql views 2019-01-05 10:44:43 +01:00
gregoirenovel
edca75148a Drop the now useless rna_informations table 2019-01-05 10:44:43 +01:00
Pierre de La Morinerie
24e3b92897
Merge pull request #3250 from betagouv/kill-libsodium
Refactor SignatureService to remove RbNaCl
2019-01-03 17:56:34 +01:00
Pierre de La Morinerie
07d95ce934 Remove the rbnacl gem
Fix #3160
2019-01-03 17:48:53 +01:00
Pierre de La Morinerie
98127b6778 signature: refactor specs 2019-01-03 17:48:53 +01:00
Pierre de La Morinerie
dbbe96d333 signature: replace RbNaCl by ActiveSupport::MessageVerifier 2019-01-03 17:48:53 +01:00
Pierre de La Morinerie
6b7079753d
Merge pull request #3251 from betagouv/fix-admin-spec
spec: fix specs failing randomly
2019-01-03 17:48:33 +01:00
Pierre de La Morinerie
2c0108190c spec: fix specs failing randomly
This is because creating a procedure attempts to create an admin from
scratch, and fails to do so.

Broken by 802f2086d6
2019-01-03 17:42:43 +01:00
Pierre de La Morinerie
053083390d
Merge pull request #3247 from betagouv/fix-stats-without-helpscout
Fix crash on /stats page when HelpScout env vars are not defined
2019-01-03 17:34:19 +01:00
Pierre de La Morinerie
86b9e2d092 stats: fix exception when HelpScout env vars are missing
This fixes the stats page, which used to raise an exception when
HelpScout env vars are not present.
2019-01-03 17:27:56 +01:00
Pierre de La Morinerie
da675bb47e api: fix formatting error when a request fails 2019-01-03 17:27:56 +01:00
Pierre de La Morinerie
3ed3b77e55
Merge pull request #3248 from betagouv/advance-helpscout-start-date
stats: start helpscout stats at 01-2018
2019-01-03 17:27:50 +01:00
Pierre de La Morinerie
efae27b901 stats: start helpscout stats at 01-2018
Data before is very variable, as it is based on a low dossiers count.
2019-01-03 17:23:22 +01:00
LeSim
fd7d884d7f
Merge pull request #3237 from betagouv/decorators
Remove decorators
2019-01-03 17:19:45 +01:00
gregoirenovel
564ece37d9 Remove the draper gem 2019-01-03 15:13:22 +01:00
Pierre de La Morinerie
d77530c461 Make Procedure state consistent after switching types de champ order
Fixes an issue where, after clicking the "move champ up" button,
the new form is rendered with an incoherent order.
2019-01-03 15:13:14 +01:00
gregoirenovel
9466442aff Remove the TypeDeChamp decorators 2019-01-03 12:08:25 +01:00
gregoirenovel
9c130c41da Remove ProcedureDecorator 2019-01-03 12:08:25 +01:00
gregoirenovel
b41764ec03 Remove ChampDecorator 2019-01-03 12:08:25 +01:00
gregoirenovel
b8f57415cd Remove the unused decorator DossierDecorator 2019-01-03 12:08:25 +01:00
gregoirenovel
559df6b82a Remove the unused decorator ProceduresDecorator 2019-01-03 12:08:24 +01:00
gregoirenovel
6565ce9c3c Remove the unused decorator DossiersDecorator 2019-01-03 12:08:24 +01:00
gregoirenovel
71c8083b92 Remove the unused decorator UserDecorator 2019-01-03 12:08:24 +01:00
gregoirenovel
4f30e30a08 Remove the unused decorator FranceConnectInformationDecorator 2019-01-03 12:08:24 +01:00
Pierre de La Morinerie
579fe627fa
Merge pull request #3218 from betagouv/improve-readme
Improve readme
2019-01-03 11:07:52 +01:00
gregoirenovel
b3ae737a35 Improve the superadmin tasks part of the README 2019-01-03 11:03:17 +01:00
gregoirenovel
0e6db7106c admin → superadmin 2019-01-03 11:03:16 +01:00
gregoirenovel
324b65b7ad Improve the admin tasks 2019-01-03 11:02:57 +01:00
gregoirenovel
fc79b2b84a Fix a typo in the README 2019-01-03 10:59:11 +01:00
Pierre de La Morinerie
ae5ecd10c5
Merge pull request #3223 from betagouv/code-cleanup
Code cleanup
2019-01-03 10:58:02 +01:00
gregoirenovel
0c8b228fbf Enable the Lint/UselessAssignment cop 2019-01-03 10:53:50 +01:00
gregoirenovel
0336ecf639 Remove useless arguments from some methods 2019-01-03 10:53:50 +01:00
gregoirenovel
0596d53ac2 Enable the Lint/UnusedBlockArgument cop 2019-01-03 10:53:50 +01:00
gregoirenovel
ddc71cbacf Enable the Lint/UnderscorePrefixedVariableName cop 2019-01-03 10:53:50 +01:00
gregoirenovel
baf7977786 Enable the Lint/StringConversionInInterpolation cop 2019-01-03 10:53:50 +01:00
gregoirenovel
d473119f9d Enable the Lint/ParenthesesAsGroupedExpression cop 2019-01-03 10:53:50 +01:00
gregoirenovel
186e362701 Enable the Layout/SpaceInsideArrayLiteralBrackets 2019-01-03 10:53:50 +01:00
gregoirenovel
386fbce776 Enable the Layout/SpaceBeforeBlockBraces cop 2019-01-03 10:53:50 +01:00
gregoirenovel
8b0b8162f0 Enable the Layout/SpaceAfterComma cop 2019-01-03 10:53:50 +01:00
gregoirenovel
cc32516c21 Enable more cops 2019-01-03 10:53:50 +01:00
gregoirenovel
8ffcc16ec5 Avoid EOL ifs 2019-01-03 10:53:50 +01:00
gregoirenovel
7ffe40868b Use parentheses 2019-01-03 10:53:50 +01:00
Pierre de La Morinerie
94bd62f9a2
Merge pull request #3222 from betagouv/add-margin
Add some space between the Merci content and the footer
2019-01-02 11:43:03 +01:00
gregoirenovel
d6e4f775ba Add some space between the Merci content and the footer 2018-12-28 19:03:19 +01:00
gregoirenovel
03bee7cb7a
Merge pull request #3238 from betagouv/fix-3179
Fix 3179
2018-12-28 19:02:40 +01:00