Commit graph

6079 commits

Author SHA1 Message Date
simon lehericey
d348e5fde0 FC ParticulierController: smaller variable 2018-01-17 16:37:26 +01:00
simon lehericey
c6c4dd7c7e FC ParticulierController: use find or tap 2018-01-17 16:37:26 +01:00
simon lehericey
7cbd6ed067 FC ParticulierController: create is private
yep, I know this is strange
2018-01-17 16:37:26 +01:00
LeSim
d2f93b3441
Merge pull request #1271 from betagouv/rubocop-options
Set the RunRailsCops option in the rubocop config
2018-01-17 10:31:25 +01:00
gregoirenovel
d5f55cb360 Set the RunRailsCops option in the rubocop config
Instead of relying on a flag
2018-01-16 20:04:54 +01:00
gregoirenovel
c76097ef55
Merge pull request #1268 from betagouv/fix-readme
Fix readme
2018-01-16 19:54:24 +01:00
gregoirenovel
1ac6b78e13 Remove trailing whitespace 2018-01-16 17:59:01 +01:00
gregoirenovel
55f41f3786 Add missing requirements to FIXME 2018-01-16 17:58:53 +01:00
gregoirenovel
f829ee3926
Merge pull request #1265 from betagouv/fix-redirect-route
Fix an incorrect legacy route
2018-01-16 16:34:07 +01:00
gregoirenovel
a6b60faf9b [Fix #1266] Fix an incorrect legacy route redirection 2018-01-16 16:29:53 +01:00
Paul Chavard
23e0655a80
Merge pull request #1163 from tchak/use-headless-chrome
Use capybara-selenium with headless chrome
2018-01-16 14:24:34 +01:00
Paul Chavard
6a43248cb3 Fix CSS injection 2018-01-16 14:02:10 +01:00
Paul Chavard
a6cdf714a6 Use capybara-selenium with headless chrome 2018-01-16 14:02:10 +01:00
gregoirenovel
a709bd3fb3
Merge pull request #1258 from betagouv/better-methods
Better methods
2018-01-16 13:31:26 +01:00
gregoirenovel
7c93b2a0c2 .map -> .pluck when possible 2018-01-16 13:23:29 +01:00
gregoirenovel
80ed589a17 Use string interpolation 2018-01-16 11:08:57 +01:00
gregoirenovel
83be054884 .map.flatten -> .flat_map 2018-01-16 11:08:56 +01:00
gregoirenovel
c3754a173f Use map instead of inject 2018-01-16 11:08:56 +01:00
gregoirenovel
490a6dee4c
Merge pull request #1257 from betagouv/fix-1199
[Fix #1199] Implement id search for experts
2018-01-16 11:08:29 +01:00
gregoirenovel
16254899e1 [Fix #1199] Make id search work for experts 2018-01-16 11:03:53 +01:00
gregoirenovel
d33d488db7 Avoid EOL if statements 2018-01-16 11:01:52 +01:00
gregoirenovel
a050bc20de Add a dossiers_from_avis relation to Gestionnaire 2018-01-16 11:01:52 +01:00
gregoirenovel
4c0b273e97
Merge pull request #1165 from tchak/create-admins-with-no-passwords
Create admins with no passwords
2018-01-16 11:00:58 +01:00
Paul Chavard
bbf55ab85e Create administrateurs with invitation link and no password 2018-01-16 10:49:07 +01:00
Paul Chavard
0cf40f4f18 Add invitation related methods to administrateur model 2018-01-16 10:49:07 +01:00
Paul Chavard
5a984a3637 Add admin invitation mailer 2018-01-16 10:49:07 +01:00
Paul Chavard
8688d62a24 Add active attribute to administrateur model 2018-01-16 10:49:07 +01:00
gregoirenovel
d6f9736e36
Merge pull request #1256 from betagouv/rubocop
Rubocop
2018-01-16 10:42:05 +01:00
gregoirenovel
727c40ad35 Enable the Layout/RescueEnsureAlignment cop 2018-01-15 22:33:14 +01:00
gregoirenovel
084ee98ab2 Enable the Layout/MultilineMethodDefinitionBraceLayout cop 2018-01-15 22:33:14 +01:00
gregoirenovel
73dd58b6cd Enable the Layout/MultilineMethodCallIndentation cop 2018-01-15 22:33:13 +01:00
gregoirenovel
b77837bfd1 Enable the Layout/MultilineMethodCallBraceLayout cop 2018-01-15 22:33:13 +01:00
gregoirenovel
5077e654f2 Enable the Layout/MultilineHashBraceLayout cop 2018-01-15 22:33:13 +01:00
gregoirenovel
9d75526460 Enable the Layout/MultilineAssignmentLayout cop 2018-01-15 22:33:13 +01:00
gregoirenovel
14c1747645 Enable the Layout/MultilineArrayBraceLayout cop 2018-01-15 22:33:13 +01:00
gregoirenovel
345b892956 Enable the Layout/LeadingCommentSpace cop 2018-01-15 22:33:13 +01:00
gregoirenovel
19ee24d559 Enable the Layout/InitialIndentation cop 2018-01-15 22:33:13 +01:00
gregoirenovel
1e71188d4d Enable the Layout/IndentationConsistency cop 2018-01-15 22:33:13 +01:00
gregoirenovel
99a49a8144 Enable the Layout/IndentHeredoc cop 2018-01-15 22:33:13 +01:00
gregoirenovel
0be657c0d7 Enable the Layout/IndentHash cop 2018-01-15 22:33:12 +01:00
gregoirenovel
3363e21427 Enable the Layout/IndentAssignment cop 2018-01-15 22:33:12 +01:00
gregoirenovel
9e0e553f80 Enable the Layout/IndentArray cop 2018-01-15 22:33:12 +01:00
gregoirenovel
5125cf8396 Enable the Layout/FirstParameterIndentation cop 2018-01-15 22:14:39 +01:00
gregoirenovel
9f855afdfe Enable the Layout/FirstHashElementLineBreak cop 2018-01-15 22:14:38 +01:00
gregoirenovel
08ed400ec2 Enable the Layout/FirstArrayElementLineBreak cop 2018-01-15 22:14:38 +01:00
LeSim
8f08e2fdf9
Merge pull request #1251 from betagouv/tables-cleanup
Tables cleanup
2018-01-15 18:37:42 +01:00
gregoirenovel
5b1d578726 Delete 3 now unused tables 2018-01-15 18:32:14 +01:00
LeSim
cdebf099d2
Merge pull request #1254 from betagouv/partially_clean_fc
Partially clean fc
2018-01-15 18:27:08 +01:00
simon lehericey
d086b82d44 FC ParticulierController: remove one return 2018-01-15 17:14:12 +01:00
simon lehericey
34bd3a11e9 FC ParticulierController: remove superfluous if 2018-01-15 17:14:12 +01:00