Mathieu Magnin
d5c036362b
Remove old controller and templates
2018-01-17 18:04:23 +01:00
Mathieu Magnin
67f89d5f86
Move administrateur creation in Administrate
2018-01-17 18:04:21 +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
7cbd6ed067
FC ParticulierController: create is private
...
yep, I know this is strange
2018-01-17 16:37:26 +01:00
gregoirenovel
80ed589a17
Use string interpolation
2018-01-16 11:08:57 +01:00
Paul Chavard
bbf55ab85e
Create administrateurs with invitation link and no password
2018-01-16 10:49:07 +01:00
gregoirenovel
73dd58b6cd
Enable the Layout/MultilineMethodCallIndentation 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
0be657c0d7
Enable the Layout/IndentHash 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
9f855afdfe
Enable the Layout/FirstHashElementLineBreak cop
2018-01-15 22:14:38 +01:00
simon lehericey
02395e732c
FC service: return domain info
2018-01-15 17:14:12 +01:00
simon lehericey
f8519c5345
FC initializers: remove Hashie
2018-01-15 17:08:38 +01:00
Simon Lehericey
0d46f92795
FC: move FC constants under particulier namespace
2018-01-15 16:59:50 +01:00
gregoirenovel
1368cd4b03
[ Fix #1120 ] Delete the old accompagnateur UI
2018-01-15 10:02:10 +01:00
Frederic Merizen
fcb8fb5935
[ Fix #1209 ] test that en_construction is set for initiated mail
2018-01-11 16:47:06 +01:00
Frederic Merizen
ca642abda8
[ #1209 ] Actually put dossier in brouillon state
2018-01-11 16:47:06 +01:00
Frederic Merizen
8807763561
[ #1209 ] Make submission side-effect more explicit
2018-01-11 16:47:06 +01:00
Frederic Merizen
f6986c4db3
[ #1209 ] Clean up formatting
2018-01-11 16:47:06 +01:00
Frederic Merizen
b006db1402
[ #1209 ] remove unused test code
2018-01-11 16:47:06 +01:00
Mathieu Magnin
4c0592d631
Rails-ish route
2018-01-10 18:17:05 +01:00
gregoirenovel
289461d708
Handle the GitHub org rename: sgmap -> betagouv
2018-01-10 17:26:25 +01:00
simon lehericey
53687bf84a
Whitelist: add whitelist button in admin
2018-01-10 17:18:44 +01:00
Frederic Merizen
56749769d6
[ Fix #1186 ] Rename object to subject for mail templates
2018-01-09 16:00:31 +01:00
Frederic Merizen
8e9d360260
Replace old stub with new allow syntax
2018-01-09 14:37:39 +01:00
simon lehericey
d7d5d7eff4
Rename new_admin_mailer to administration_mailer
2018-01-09 10:29:54 +01:00
Mathieu Magnin
04e9f7be3e
[ Fix #1149 ] Move avis actions to new gestionnaire controller
2018-01-08 16:50:15 +01:00
Mathieu Magnin
aba59239ca
[ Fix #1149 ] Add context on tests before adding some more
2018-01-08 15:15:38 +01:00
gregoirenovel
27a8aba53e
Allow the cloning of another admininistrateur’s procedure
2018-01-08 14:55:07 +01:00
Frederic Merizen
8d77cd58c6
[ #1110 ] Make linked procedure available to mail model
2018-01-05 12:48:07 +01:00
Frederic Merizen
6a85094e1a
[ #1110 ] Make processed_at date available for attestation generation
2018-01-05 11:51:08 +01:00
Mathieu Magnin
62d8381ef7
Remove will paginate
2018-01-03 14:35:48 +01:00
Mathieu Magnin
98ac496aa5
[ Fix #1100 ] Administrateur can renew his API Token
2017-12-26 18:30:36 +01:00
Frederic Merizen
888c25fa34
Remove test focus that shouldn't have been committed in 48cb623
2017-12-22 16:42:21 +01:00
Mathieu Magnin
7c0fdbc9f8
[ Fix #1096 ] Github Oauth
2017-12-22 11:10:24 +01:00
Frederic Merizen
ff2c4d7bfe
Fix flaky test
...
1) StatsController#avis_average_answer_time should include [1512120443, 9.5]
Failure/Error: it { is_expected.to include [3.week.ago.to_i, 9.5] }
expected [[1512120442, 9.5], [1512725242, 7.33], [1513330042, 1.0]] to include [1512120443, 9.5]
# ./spec/controllers/stats_controller_spec.rb:263:in `block (3 levels) in <top (required)>'
2017-12-22 10:58:48 +01:00