Commit graph

6929 commits

Author SHA1 Message Date
gregoirenovel
278a662350 Enable the Layout/SpaceAroundEqualsInParameterDefault cop 2018-01-18 10:53:34 +01:00
gregoirenovel
245c04d2bb Enable the Layout/SpaceAroundEqualsInParameterDefault cop 2018-01-18 10:53:34 +01:00
gregoirenovel
b9aa71ed3b Enable the Layout/SpaceAroundBlockParameters cop 2018-01-18 10:53:34 +01:00
gregoirenovel
0572d66efd Enable the Layout/SpaceAfterSemicolon cop 2018-01-18 10:53:34 +01:00
gregoirenovel
359a9a863b Enable the Layout/SpaceAfterNot cop 2018-01-18 10:53:34 +01:00
gregoirenovel
c28626bb18 Enable the Layout/SpaceAfterMethodName cop 2018-01-18 10:53:34 +01:00
gregoirenovel
f605cd35ac Enable the Layout/SpaceAfterColon cop 2018-01-18 10:53:34 +01:00
gregoirenovel
e8422d3904
Merge pull request #1270 from betagouv/bump-some-gems
Bump some gems
2018-01-18 10:53:13 +01:00
gregoirenovel
220e077288 Bump rest-client 2018-01-18 10:47:11 +01:00
gregoirenovel
48fd3605a4 Bump rubocop 2018-01-18 10:47:11 +01:00
gregoirenovel
c05f06ceea Bump devise 2018-01-18 10:47:11 +01:00
gregoirenovel
b51cef6cee Use an unreleased warden to avoid a devise error
The fix to the following issue
https://github.com/hassox/warden/issues/147
has yet to be integrated into an official release
2018-01-18 10:47:11 +01:00
gregoirenovel
acdc38d753 Bump delayed_job_active_record (dependencies) 2018-01-18 10:47:11 +01:00
gregoirenovel
3838814cc2 Bump therubyracer 2018-01-18 10:47:11 +01:00
gregoirenovel
8d0a607cd3 Bump uglifier 2018-01-18 10:47:11 +01:00
Mathieu Magnin
0a96bde787
Merge pull request #1262 from betagouv/remove-unreachable-code
Remove unreachable code
2018-01-18 10:40:02 +01:00
Mathieu Magnin
307d7338e5 Remove unreachable code 2018-01-18 10:32:39 +01:00
gregoirenovel
13b5caf61d
Merge pull request #1269 from betagouv/administrate-them-all
Administrate them all
2018-01-18 10:27:39 +01:00
Mathieu Magnin
11b055e07c Rename reinvite action in controller 2018-01-18 10:04:34 +01:00
Mathieu Magnin
14b8ac614f Redirect to sign_in if not logged in 2018-01-17 18:04:24 +01:00
Mathieu Magnin
ae1498d786 Add some attributes in Administrateur dashboard 2018-01-17 18:04:24 +01:00
Mathieu Magnin
98ae1bb95f Manager root is Administrateurs#index 2018-01-17 18:04:24 +01:00
Mathieu Magnin
d9feb4be06 Move sign_in behind /manager (not in namespace due to Administrate resources autoloading) 2018-01-17 18:04:23 +01:00
Mathieu Magnin
d5c036362b Remove old controller and templates 2018-01-17 18:04:23 +01:00
Mathieu Magnin
a5aeaf988a Add delayed_job link in sidebar 2018-01-17 18:04:23 +01:00
Mathieu Magnin
300ca8d9b2 Move delayed_job in new namespace 2018-01-17 18:04:22 +01:00
Mathieu Magnin
3aa6357d66 Show 20 procedures in administrateur#show (default was 5) 2018-01-17 18:04:22 +01:00
Mathieu Magnin
ef0907db93 Add flash when resending invitation 2018-01-17 18:04:22 +01:00
Mathieu Magnin
4f756975c7 Move administrateur#update in Administrate 2018-01-17 18:04:21 +01:00
Mathieu Magnin
a6be13ac5e Redirect if success, else render form with errors (https://github.com/thoughtbot/administrate/blob/master/app/controllers/administrate/application_controller.rb#L43) 2018-01-17 18:04:21 +01:00
Mathieu Magnin
67f89d5f86 Move administrateur creation in Administrate 2018-01-17 18:04:21 +01:00
Mathieu Magnin
0396db9e5f Clean Administrate templates and controllers 2018-01-17 18:04:20 +01:00
LeSim
154181d793
Merge pull request #1264 from betagouv/partially_clean_fc_part2
Partially clean fc part2
2018-01-17 16:55:30 +01:00
Simon Lehericey
1b91641f9a FC ParticulierController: remove exotic route 2018-01-17 16:37:26 +01:00
Simon Lehericey
d70b6f4af0 FC ParticulierController: cleaner update attribute 2018-01-17 16:37:26 +01:00
Simon Lehericey
2651c5e029 FC ParticulierControllerSpec: final clean 2018-01-17 16:37:26 +01:00
Simon Lehericey
69c121a879 FC ParticulierControllerSpec: simplify ... well you know 2018-01-17 16:37:26 +01:00
Simon Lehericey
570f779bb2 FC ParticulierControllerSpec: without an associate user, better test 2018-01-17 16:37:26 +01:00
Simon Lehericey
b2f59e2b14 FC ParticulierControllerSpec: simplify without an associate user 2018-01-17 16:37:26 +01:00
Simon Lehericey
e1ac33f420 FC ParticulierControllerSpec: simplifier with an associate user case 2018-01-17 16:37:26 +01:00
Simon Lehericey
49f5d570ed FC ParticulierControllerSpec: mutualize subject 2018-01-17 16:37:26 +01:00
Simon Lehericey
ab02f796b3 FC ParticulierControllerSpec: one liner expectation 2018-01-17 16:37:26 +01:00
Simon Lehericey
4008d8e44d FC ParticulierControllerSpec: remove unless context 2018-01-17 16:37:26 +01:00
Simon Lehericey
28bf45e536 FC ParticulierControllerSpec: use controller to store_location 2018-01-17 16:37:26 +01:00
Simon Lehericey
ab116895b7 FC ParticulierControllerSpec: remove one context 2018-01-17 16:37:26 +01:00
simon lehericey
4f86b6305b FC ParticulierControllerSpec: callback handle empty string 2018-01-17 16:37:26 +01:00
simon lehericey
9b6b6bde97 FC ParticulierControllerSpec: simplier auth spec 2018-01-17 16:37:26 +01:00
simon lehericey
02dd1e209c FC ParticulierController: implement auto reconciliation based on user email 2018-01-17 16:37:26 +01:00
simon lehericey
ecfb0f4ec2 FC ParticulierController: move defense logic to before_action 2018-01-17 16:37:26 +01:00
Simon Lehericey
4afc41bca2 FC ParticulierController: inline fci.user 2018-01-17 16:37:26 +01:00