simon lehericey
6837c79dd1
Spec: use have_http_status matcher
2018-09-27 10:24:56 +02:00
simon lehericey
2b46a56259
Spec: simplify
2018-09-27 10:24:56 +02:00
simon lehericey
d14944fba3
Spec: mutualize subject
2018-09-27 10:24:56 +02:00
simon lehericey
7b27f00a23
Spec: do not use the deprecated api_token
2018-09-27 10:24:56 +02:00
simon lehericey
9a6e985bac
Spec: remove useless require
2018-09-27 10:24:56 +02:00
simon lehericey
674d231194
Spec: add spaces for readability
2018-09-27 10:24:56 +02:00
simon lehericey
1af789b9a8
Profile: add breadcrumb
2018-09-27 10:14:32 +02:00
simon lehericey
8c4f8347ca
Api Token: store token in an encrypted form
2018-09-27 10:14:32 +02:00
simon lehericey
1997f45d7e
Api Token: do not generate one token by default
2018-09-27 10:14:32 +02:00
simon lehericey
17285b0368
Profil: display token only once
2018-09-27 10:14:32 +02:00
simon lehericey
bd04972f65
Profile: move to new design
2018-09-27 10:14:32 +02:00
Paul Chavard
f94a24d7ce
Add path field to procedure information form
2018-09-26 10:53:45 +02:00
Mathieu Magnin
499021588d
[ Fix #1285 ] Password strength is ensured when saving an administrateur
2018-09-26 09:03:03 +02:00
Frederic Merizen
998754ab73
[ Fix #2258 ] Validate options for linked dropdown menus
2018-09-25 20:32:19 +02:00
Frederic Merizen
3fea14c07d
[ #2258 ] Let dynamic type validate the type de champ
2018-09-25 20:31:34 +02:00
Pierre de La Morinerie
aae1a22b3b
dossier spec: add tests to demande view
2018-09-25 16:47:16 +02:00
Pierre de La Morinerie
613900a053
dossier spec: mutualize demande view specs
2018-09-25 16:47:16 +02:00
Frederic Merizen
7631bde16a
[ #2550 ] Generate attestation on auto-accepted dossier
2018-09-25 15:53:57 +02:00
Pierre de La Morinerie
8a3f455aa3
dossier spec: test invitation behavior with the new dossier UI
2018-09-25 11:39:31 +02:00
Pierre de La Morinerie
12ee9ba3ce
dossier spec: add navigate_to_invited_dossier
helper
2018-09-25 11:39:31 +02:00
Pierre de La Morinerie
1c7ad4d37b
dossier spec: rename user
to owner
...
This makes the distinction between the invited user and the owner
clearer.
2018-09-25 11:39:31 +02:00
Pierre de La Morinerie
fe4921bf8e
dossier spec: deprecate the old UI tests
2018-09-25 11:39:31 +02:00
Pierre de La Morinerie
c534a9a792
dossier spec: extract the dossier edition behaviors to a shared spec
...
This will allow to test behavior for invited users.
2018-09-25 11:39:31 +02:00
Pierre de La Morinerie
df2bbba201
dossier spec: create a simple_procedure
factory
2018-09-25 11:39:30 +02:00
Pierre de La Morinerie
2b2dbcb112
dossier spec: move visit_dossier to a before
block
2018-09-25 11:38:30 +02:00
Frederic Merizen
9beaa293cd
[ #1421 ] Use delegation rather than STI for TypeDeChamp
2018-09-25 08:26:56 +02:00
Frederic Merizen
112fdb71fb
[ #2613 ] Remove dead code
2018-09-24 20:19:26 +02:00
Frederic Merizen
26ece1d144
[ Fix #2613 ] Filter by date creation entreprise
2018-09-24 20:19:26 +02:00
Frederic Merizen
7d382837d9
[ Fix #2622 ] Change filters to proper JSONB
2018-09-24 19:39:01 +02:00
Frederic Merizen
1419e9b73f
[ #2622 ] Change sort to proper JSONB
2018-09-24 19:39:01 +02:00
Frederic Merizen
68608307ad
[ #2622 ] Change displayed_fields to proper JSONB
2018-09-24 19:39:01 +02:00
Pierre de La Morinerie
23820988be
fixup! dossier: allow inviting users on the dossier page
2018-09-24 17:12:15 +02:00
Pierre de La Morinerie
01599ac1e1
dossier: allow inviting users on the dossier page
2018-09-24 17:05:26 +02:00
gregoirenovel
5db408efdb
[ Fix #1511 ] Remove the now obsolete DS logo
2018-09-24 12:16:58 +02:00
gregoirenovel
227006d87b
[ Fix #329 ] Properly translate the “password is too short” error
2018-09-23 22:39:01 +02:00
Frederic Merizen
ac82a72dcc
[ #1946 ] Monthly expiring dossiers summary mail
2018-09-20 17:44:31 +02:00
Frederic Merizen
43d8db88d9
[ #1946 ] Check if a dossier’s retention period has expired
2018-09-20 17:44:31 +02:00
Frederic Merizen
b672377f5b
[ #1946 ] Query dossiers by remaining retention time
2018-09-20 17:44:31 +02:00
Frederic Merizen
5e16b5d80e
[ #1946 ] Set en_instruction_at for factorybot-created dossiers
2018-09-20 17:44:31 +02:00
Frederic Merizen
e00aa4a250
[ #1946 ] Make assertions independent
2018-09-20 17:43:06 +02:00
gregoirenovel
0c9628c180
Fix some files according the the .editorconfig rules
2018-09-20 16:23:09 +02:00
gregoirenovel
a87e79ac1f
Update a test to comply with Rubocop rules
2018-09-20 16:23:09 +02:00
Paul Chavard
f2139552c2
Reset Flipflop before each test
2018-09-20 16:13:34 +02:00
gregoirenovel
b317b49b3d
Confirmation → activation
2018-09-20 10:43:07 +02:00
Pierre de La Morinerie
e5f4056fe2
invite: fix prefilling the invited user email
2018-09-19 12:41:09 +02:00
Pierre de La Morinerie
bfa2a4b89d
invite: refactor the syntax of the submit_login_form helper
2018-09-19 12:41:09 +02:00
Pierre de La Morinerie
a63e035daf
spec: fix Flipflop state not being reseted after test
...
This would cause the Support specs to fail randomly with an unexpected
redirection.
2018-09-19 12:41:09 +02:00
gregoirenovel
f3a257d81d
Show the mean verification time in the Résumé tab
2018-09-19 12:31:59 +02:00
gregoirenovel
d55c9dff4d
Show the mean instruction time in the Résumé tab
2018-09-19 12:31:59 +02:00
Pierre de La Morinerie
082ef92a99
invite: move invites link to the after_confirmation
callback
...
Refactored from 6a69d958da
The `after_confirmation_path_for` isn't really made to be a callbback.
For instance, it is not executed during tests.
Moving the invitations linking to a proper documented callback allows
the linking to work in a testing environment, when invoking `user.confirm`.
2018-09-19 12:08:28 +02:00