Paul Chavard
a9a853b669
Fix and simplify linked-drop-down-list js
2019-02-05 16:48:26 +01:00
Paul Chavard
1d75a32cac
Add a default text type de champ to editor
2019-02-05 16:48:26 +01:00
Paul Chavard
071448e1d9
Champ Repetition dossier editor
2019-02-04 16:19:07 +01:00
Paul Chavard
9b7b59f67e
Champs editor should handle repetition type
2019-02-04 11:58:26 +01:00
Pierre de La Morinerie
f1f7f0ef9f
specs: cleanup "Delete draft from dossiers list" spec
2019-01-28 18:17:38 +01:00
Pierre de La Morinerie
934368616c
form: remove the "Delete draft" button
...
Draft can now be deleted from the dossiers list. This is the best place
to delete it (as it allow to clean the list) – and it is better than
asking the user if they want to delete a draft *precisely while they
are filling the form*.
2019-01-28 18:17:38 +01:00
Pierre de La Morinerie
bb753ce23e
commencer: redirect to the procedure page after sign-in and sign-up
2019-01-21 14:45:38 +01:00
Pierre de La Morinerie
016e5f2e6f
commencer: add an independant page
2019-01-21 14:45:38 +01:00
Mathieu Magnin
b1efe57403
[ Fix #2423 ] Allow Usager to delete brouillon from dossiers#index
2019-01-17 17:30:37 +01:00
Mathieu Magnin
0e6b5678ad
Fix tests
2019-01-17 14:04:59 +01:00
Paul Chavard
f0cda2ca13
Test new champs editor
2019-01-17 11:20:31 +01:00
Paul Chavard
41c9b21509
Use new editor
2019-01-17 11:20:31 +01:00
Pierre de La Morinerie
ae763d93f3
sign_up: display procedure context if available
2019-01-17 11:07:09 +01:00
Pierre de La Morinerie
c944135c74
specs: move sign_up specs from common tests to new_user
...
Because sign_up is specific to each type of user
2019-01-16 14:25:12 +01:00
Pierre de La Morinerie
d36696442b
layouts: migrate sign_in to the shared layout
2019-01-16 14:25:12 +01:00
simon lehericey
f0139c5962
Spec Factory: an administrateur always has a gestionnaire
2019-01-09 13:49:47 +01:00
Pierre de La Morinerie
be1567ecbd
messages: improve wording of the "Send" button
2019-01-07 16:20:23 +01:00
Pierre de La Morinerie
e25bd7139f
layouts: use a common procedure_context
layout for the demarche overview
2019-01-07 15:39:58 +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
gregoirenovel
0336ecf639
Remove useless arguments from some methods
2019-01-03 10:53:50 +01:00
Chaïb Martinez
802f2086d6
Redirect admins with no démarches to the new demarche page
2018-12-28 18:57:51 +01:00
Frederic Merizen
d1cfe4468d
Encourager la création de champs PJ plutôt que de vieilles PJS
2018-12-19 11:57:23 +01:00
maatinito
af8eee25ad
[ Fix #249 ] added test for too short passwords
2018-12-17 11:14:35 -10:00
Frederic Merizen
4699e515ed
[ Fix #2999 ] Send gestionnaire back to what they were doing after email verification
2018-12-06 10:03:21 +01:00
gregoirenovel
478fb88618
Bump capybara (2.18.0 → 3.11.0)
2018-12-04 10:35:13 +01:00
gregoirenovel
94b6783a65
Slightly change some tests to comply with puma
2018-12-03 16:28:18 +01:00
Paul Chavard
36f6f54337
Remove unused carto models
2018-11-27 16:11:25 +01:00
Paul Chavard
5632929d3d
Remove old caro editor
2018-11-27 16:11:25 +01:00
Paul Chavard
2eb61bd6ed
Move dossier invites handler to invites controller
2018-11-14 15:16:49 +01:00
simon lehericey
fb76197404
SessionController: flipflop trusted device
2018-11-13 10:41:45 +01:00
simon lehericey
5690599289
Session: send a mail to confirm gestionnaire login
2018-11-13 10:41:45 +01:00
simon lehericey
2613d05a4f
An admin has always a gestionnaire role
2018-11-13 10:41:45 +01:00
Pierre de La Morinerie
7635aede98
dossier: improve wording of estimated time
...
Ref #2970
2018-11-12 10:21:57 +01:00
Pierre de La Morinerie
c7ac43cfe7
confirmation: add a dedicated page with confirmation instructions
...
Fix #2586
2018-11-08 16:20:05 +01:00
Pierre de La Morinerie
8355b690f0
users: add integration tests for sign-up
2018-11-06 18:24:34 +01:00
Pierre de La Morinerie
b0541fba79
users: sign-in after confirming an account within a short time
2018-11-06 18:24:34 +01:00
Pierre de La Morinerie
0fb9c123c9
invite: mutualize feature helper for signing in
2018-11-06 17:26:20 +01:00
Pierre de La Morinerie
d4b2b04875
spec: clear deliveries before every example
2018-11-06 17:26:20 +01:00
Frederic Merizen
c7358a8f53
[ Fix #835 ] Enable asking for multiple avis at the same time
2018-11-06 15:44:43 +01:00
Paul Chavard
725e88a89a
Rename :procedure_path -> :path
2018-10-30 12:01:45 +01:00
Paul Chavard
f1fd1b38ec
Refactor procedures_controller
2018-10-30 12:01:45 +01:00
Paul Chavard
78dc582588
Remove ProcedurePath
2018-10-30 12:01:45 +01:00
simon lehericey
63db387984
ProcedurePresentation: display dossier date in d/m/Y
2018-10-26 10:10:20 +00:00
simon lehericey
f620e4aee2
DateTime.parse => Time.zone.parse
2018-10-26 10:10:20 +00:00
simon lehericey
2238e5bd9f
Time.now => Time.zone.now
2018-10-26 10:10:20 +00:00
Pierre de La Morinerie
c178e9226b
spec: add integration tests for the new SIRET flow
2018-10-17 10:37:06 +02:00
Pierre de La Morinerie
015b74ae56
spec: refactor dossier creation spec
2018-10-17 10:37:06 +02:00
Pierre de La Morinerie
879dfa0fcc
spec: move dossier_creation_spec
to from user
to new_user
2018-10-17 10:37:06 +02:00
gregoirenovel
baf69acbcb
[ Fix #2833 ] Move /support files to /fixtures
2018-10-16 10:47:41 +02:00
gregoirenovel
dc28e79ab4
Group API Entreprise mock responses in a folder
2018-10-15 23:31:23 +02:00
gregoirenovel
dac2019675
Carto::Bano → ApiAdresse
2018-10-15 20:55:46 +02:00
gregoirenovel
c8f872c566
InviteUser → Invite
2018-10-10 12:07:10 +02:00
Paul Chavard
44511acfed
Do not reload page when instructeur change dossier state
...
fix #2425
2018-10-04 11:12:43 +02:00
Paul Chavard
941c529b2c
Remove CGU checkbox
...
fix #2725
2018-10-03 08:59:02 +02:00
Pierre de La Morinerie
36c1aa118d
dossier: remove RecapitulatifController
...
And add a redirection to the new URLs.
2018-10-02 15:42:29 +02:00
Pierre de La Morinerie
758ccff984
dossier: remove feature flag
2018-10-02 12:25:44 +02:00
Pierre de La Morinerie
f007eaa2ee
dossier: enable new UI by default
2018-10-02 12:23:53 +02:00
Pierre de La Morinerie
cd938b4c36
dropdown: refactor to make the button an actual button
2018-09-27 17:43:08 +02:00
Pierre de La Morinerie
421a4107da
dossier: rename dossier_spec to brouillon_spec
2018-09-27 17:22:59 +02:00
simon lehericey
1af789b9a8
Profile: add breadcrumb
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
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
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
926dc3e107
dossier: display latest message on summary page
2018-09-12 10:09:16 +02:00
gregoirenovel
f8a6765367
[ Fix #2540 ] Allow an instructeur to send a dossier to several instructeurs
2018-09-11 18:00:24 +02:00
gregoirenovel
cd46ee06e1
Add DossierController#modifier
2018-09-07 10:19:10 +02:00
gregoirenovel
338ffb8b50
DossierController#update → #update_brouillon
2018-09-07 10:19:10 +02:00
gregoirenovel
5ac8117c69
DossierController#modifier → #brouillon
2018-09-07 10:19:10 +02:00
gregoirenovel
00ecae5f93
Procédure → Démarche
2018-09-05 15:46:24 +02:00
Pierre de La Morinerie
af5df2d661
dossier: add "Messagerie" tab
2018-09-05 14:02:12 +02:00
gregoirenovel
6b88968889
Formulaire → demande, when not editable
2018-09-05 11:07:11 +02:00
gregoirenovel
3662b82039
accompagnateur → instructeur
2018-08-29 23:09:08 +02:00
gregoirenovel
4b071ecf06
Use enum to the fullest with Dossier.states
2018-08-29 17:31:08 +02:00
gregoirenovel
2d3b553e4d
Use enum to the fullest with TypeDeChamp.type_champs
2018-08-29 17:31:08 +02:00
gregoirenovel
9f3650b12f
Remove 2 months old call for suggestions
2018-08-28 10:11:09 +02:00
Paul Chavard
b57c22cafe
Refactor publish dialog
2018-08-14 16:39:11 +02:00
Pierre de La Morinerie
af95e56b50
dossier: add a page with the form
2018-08-14 15:25:27 +02:00
Pierre de La Morinerie
1b7950058d
dossier: add details résumé
2018-08-13 11:32:27 +02:00
Pierre de La Morinerie
77eb89cb0f
dossier: add a stub page for the new dossier details
2018-08-08 11:49:15 +02:00
Pierre de La Morinerie
93ba063612
specs: improve reliability of procedure creation features
...
The 'etape_suivante' button is sometimes not activated, and it could
be because the event handler on the checkbox sometimes doesn't run.
2018-08-07 14:28:52 +02:00
Pierre de La Morinerie
cc15b0bb28
specs: make checkbox click cleaner
2018-08-07 14:28:52 +02:00
Paul Chavard
c91abe73c5
Remove old user dossier form
2018-08-07 14:13:27 +02:00
Pierre de La Morinerie
c8409ecb89
dossier: remove route hack for show
2018-08-07 12:15:38 +02:00
Pierre de La Morinerie
1ca2ca9121
invite: support remote forms
...
This allows to keep the draft content when inviting a new user.
2018-08-01 17:41:12 +02:00
Pierre de La Morinerie
1cac0b80af
invite: add button for invite someone to collaborate on a draft
2018-08-01 17:41:12 +02:00
Pierre de La Morinerie
2a3ce61dd9
specs: move list_dossiers from user to new_user
2018-08-01 17:41:11 +02:00
Pierre de La Morinerie
8d9b65e556
specs: wait for ajax requests completion where required
2018-08-01 11:01:46 +02:00
Pierre de La Morinerie
270384f8dd
specs: remove redundant line
2018-08-01 11:01:26 +02:00
Paul Chavard
e358e72867
Do not display gestionnaire emails in the messaging interface
...
fix #2302
2018-07-31 15:27:36 +02:00
Pierre de La Morinerie
0f1811dd4e
dossier: add an button to delete a brouillon
2018-07-24 18:31:10 +02:00
gregoirenovel
ed436bfe77
[ Fix #2260 ] Add a search field in the usager UI
2018-07-17 17:26:42 +02:00
Pierre de La Morinerie
f5d3adba5e
dossiers: remove unused dossiers list code
...
This code is unused since the user dossiers list uses the new UI.
2018-07-04 12:23:49 +02:00
Pierre de La Morinerie
b4b533f0c5
dossiers: change all links to use the new user dossiers list
2018-07-02 13:58:58 +02:00
Pierre de La Morinerie
d70f01a6b2
form: cleanup dossier feature spec
2018-07-02 12:30:27 +02:00
Paul Chavard
d0a6957862
Remove old cerfa code
2018-06-28 15:16:20 +02:00
Pierre de La Morinerie
0cebf60c46
[ #1421 ] replace master/slave by primary/secondary
2018-06-27 17:02:46 +02:00
Frederic Merizen
dad3bc092b
[ #1421 ] linked dropdwon user view
2018-06-27 17:02:46 +02:00
Frederic Merizen
0239f936d7
[ #1421 ] Move departements to DepartementChamp
2018-06-19 15:20:01 +02:00
Frederic Merizen
5b59bce0b6
[ #1421 ] Move regions to RegionChamp
2018-06-19 15:20:01 +02:00
Frederic Merizen
fd10310cbf
[ Fix #1568 ] Use new procedure preview
2018-06-19 12:42:46 +02:00
Frederic Merizen
3ba0dd1620
[ #2071 ] Fix test now that mails are multipart
2018-06-10 11:53:51 +02:00
Frederic Merizen
648483ac76
[ #1946 ] Allow admins to edit data retention time
2018-06-01 16:46:39 +02:00
Frederic Merizen
5325830d62
[ #1946 ] Extract test helper method
2018-06-01 16:46:39 +02:00
simon lehericey
a96889310b
Procedure: add legal reference
2018-05-31 16:55:31 +02:00
Frederic Merizen
07b1c147d9
[ Fix #1972 ] Always send mails asynchronously
2018-05-28 12:02:13 +02:00
simon lehericey
928227a610
Procedure: remove now duplicate organisation and direction
2018-05-18 16:21:27 +02:00
simon lehericey
f2357acb27
Service: cannot published a procedure without a service
2018-05-18 16:21:26 +02:00
Frederic Merizen
93e068421b
[ #1833 ] New procedure button defaults to procedure library
2018-05-09 16:16:09 +02:00
Mathieu Magnin
3e176d4e08
Remove use of staging.apientreprise
2018-05-09 13:56:29 +02:00
Paul Chavard
e965203e73
Disable failing test
2018-04-18 16:51:21 +02:00
simon lehericey
c019cb623a
Individual: use birthdate as a ... date :)
2018-04-04 13:19:39 +02:00
Paul Chavard
9cc6d494a4
Spec STI loading champ/type de champ
2018-03-29 17:45:19 +02:00
Frederic Merizen
d825c3d586
[ Fix #1689 ] Only allow plain text for procedure descriptions
2018-03-29 10:52:37 +02:00
Mathieu Magnin
ab368d44a1
[ Fix #1500 ] Add mandatory params to call api entreprise v2
2018-03-15 14:51:42 +01:00
gregoirenovel
e26f4148ff
Bump development gems
...
- brakeman
- rubocop
- scss_lint
2018-03-06 16:17:22 +01:00
gregoirenovel
fe7f8da636
Revert "Bump development gems"
...
This reverts commit d6ad3fc3fd
.
2018-03-06 15:11:26 +01:00
gregoirenovel
d6ad3fc3fd
Bump development gems
...
- brakeman
- rubocop
- scss_lint
2018-03-06 10:36:35 +01:00
simon lehericey
eb937649a1
new user: thanks page
2018-02-28 17:34:27 +01:00
simon lehericey
a0667f5ad9
[ fix #1411 ] user: link new screen to the rest of the application
2018-02-27 15:24:51 +01:00
simon lehericey
d702a0c083
[ fix #1411 ] user: new form ui
2018-02-27 15:24:50 +01:00
simon lehericey
630f22e205
Gestionnaire: various missing procedure urls
2018-02-22 17:02:20 +01:00
simon lehericey
864b98c6dc
Gestionnaire: various missing avis urls
2018-02-22 17:02:20 +01:00
simon lehericey
9db5e82b41
Gestionnaire: move avis_path to gestionnaire_avis_path
2018-02-22 17:02:20 +01:00
simon lehericey
0308345008
Gestionnaire: move procedures_path to gestionnaire_procedures_path
2018-02-22 17:02:20 +01:00
simon lehericey
4a70087f7a
Gestionnaire: move procedure_path gestionnaire_procedure_path
2018-02-22 17:02:20 +01:00
simon lehericey
0dc101e375
Gestionnaire: move dossier_path gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
c1bbe72dbd
Gestionnaire: move sign_up_avis_path to sign_up_gestionnaire_avis_path
2018-02-22 17:02:20 +01:00
simon lehericey
c58b32a26d
Gestionnaire: move instruction_avis_path to instruction_gestionnaire_avis_path
2018-02-22 17:02:20 +01:00
simon lehericey
63163e5022
Gestionnaire: move avis_dossier_path to avis_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
Mathieu Magnin
3e5621f633
[ Fix #1409 ] Plug identite new design to current workflow
2018-02-20 11:01:47 +01:00
Paul Chavard
35a4367114
Fix multi submit bug with direct upload
2018-02-16 12:53:00 +01:00
Paul Chavard
0c1d529b61
Unify :type_de_champ public/private factories
2018-02-14 11:49:06 +01:00
Mathieu Magnin
50f35ee905
[ Fix #1296 ] Birthday field is optional in procedure
2018-02-07 15:57:48 +01:00
gregoirenovel
25aef60354
Use string interpolation
2018-01-30 15:50:52 +01:00
gregoirenovel
a2f4e8b283
factory_girl is now factory_bot
2018-01-23 17:15:42 +01:00
gregoirenovel
5eb4f12b48
Remove a now deprecated Capybara option from tests
2018-01-23 17:14:13 +01:00
gregoirenovel
d30ea70c08
Enable the Layout/SpaceInsideParens cop
2018-01-18 10:53:35 +01:00