kara Diaby
fab4a41c57
add tests regarding /users/statistiques view
2021-06-07 15:09:39 +02:00
Paul Chavard
2a068fb9b0
Remove user feedback buttons
2021-04-22 15:40:40 +01:00
Pierre de La Morinerie
fffb85987c
app: retain user email on sign-in error
2021-04-20 09:34:52 +02:00
Pierre de La Morinerie
150ddab660
zeitwerk: Api -> API
2021-02-09 13:07:30 +01:00
kara Diaby
00b5ad7a10
EQT instructeur, je peux supprimer un dossier terminé
2020-12-16 15:00:26 +01:00
kara Diaby
c033ef0910
Ajoute a l'information de connexion France Connect dans les informations du dossier ainsi que sur la demande usager
2020-11-05 19:30:13 +01:00
kara Diaby
4b2e3b5be7
Revert "Merge pull request #5710 from betagouv/revert-5705-feat/5701"
...
This reverts commit aae77c77b0
, reversing
changes made to 4c2c5c630c
.
2020-11-05 19:30:13 +01:00
Kara Diaby
f78e0ced3a
Revert "feat 5701 - Ajoute l'information lorsqu'un usager s'authentifie via France Connect"
2020-10-30 18:28:08 +01:00
kara Diaby
e6c1a20329
Ajoute l'information lorsqu'un usager s'authentifie via France Connect
2020-10-30 17:28:54 +01:00
Christophe Robillard
f40123fee1
display only etablissement infos
...
all the other infos are not yet available because the jobs which
retrieve it are performed later
2020-05-20 11:09:54 +02:00
Pierre de La Morinerie
4cb747fdb6
specs: always require rails_helper
...
Test helpers are separated between two files: spec_helper and
rails_helper. This separation is meant to allow tests that do not
require Rails (like testing standalone libs) to boot faster.
The spec_helper file is always loaded, through `--require spec_helper`
in the `.rspec` config file. When needed, the rails_helper file is
expected to be required manually.
This is fine, but:
- Many test files have a redundant `require 'spec_helper'` line;
- Many test files should require `rails_helper`, but don't.
Not requiring `rails_helper` will cause the Rails-concerned section of
the test environment not to be configured–which may cause subtle bugs
(like the test database not being properly initialized).
Moreover, Spring loads all the Rails files on preloading anyway. So the
gains from using only `spec_helper` are thin.
To streamline this process, this commit:
- Configures `.rspec` to require `rails_helper` by default;
- Remove all manual requires to spec_helper or rails_helper.
Reference: https://stackoverflow.com/questions/24145329/how-is-spec-rails-helper-rb-different-from-spec-spec-helper-rb-do-i-need-it
2020-03-31 12:48:32 +02:00
Christophe Robillard
c21dd3b830
affiche infos d'un usager entreprise uniquement si diffusable
...
pour un usager de type entreprise qui a choisi de ne pas diffuser publiquement ses infos,
elles sont affichées uniquement aux instructeurs
2020-03-17 15:57:02 +00:00
Pierre de La Morinerie
792ba73643
factories: ensure that dossiers with_entreprise
are consistent
2020-01-21 17:24:56 +01:00
Paul Chavard
c6326bfa77
Fix tests involving attachment urls
2020-01-08 14:46:18 +01:00
Paul Chavard
7b947feae4
Rename demarche archivée to demarche close
2019-11-28 15:07:16 +01:00
Pierre de La Morinerie
e7dd9e36d6
specs: fix Capybara warning
...
Capybara logs several warnings during tests:
> Locator Integer:243 for selector :link must be an instance of String
> or Symbol. This will raise an error in a future version of Capybara.
This is because we use selectors like `have_link(dossier.id)`, where the
locator is a Number (instead of a String or Symbol).
2019-11-28 12:09:12 +01:00
Paul Chavard
11b4698ef3
Fix test
2019-09-17 16:58:11 +02:00
pedong
d2a78abc3a
[ fix #3975 ] set buttons floating in dossier page
2019-09-17 16:58:11 +02:00
Pierre de La Morinerie
ffe081c1f2
specs: remove old pieces_justificative from specs and factories
2019-07-30 16:11:17 +02:00
Pierre de La Morinerie
f825f62ce5
dossier: remove UI for viewing old pieces justificatives
2019-07-30 16:11:16 +02:00
Pierre de La Morinerie
b5ed74c09d
dossiers: always allow to create a new dossier
...
Turns out this is confusing for users (some UI elements are present for
some procedures, but not for others).
Better enable it for everyone.
2019-07-09 14:44:30 +02:00
Pierre de La Morinerie
d855468cb6
dossiers: display the estimate of the entire processing time
...
Displaying separate estimations for en_construction and en_instruction
doesn't really make sense for the users: they want to know how
long it is going to take overall, not the petty details of our workflow.
2019-04-30 15:56:27 +02:00
Pierre de La Morinerie
abeb58caa5
dossiers: displays an "Start an other dossier" item in action dropdown
2019-03-28 15:26:15 +01:00
Pierre de La Morinerie
d03e340345
dossiers: add an actions menu
2019-03-28 15:26:15 +01:00
Pierre de La Morinerie
ded5b70444
app: rename new_user
to users
2019-03-25 10:56:39 +01:00
Pierre de La Morinerie
d36696442b
layouts: migrate sign_in to the shared layout
2019-01-16 14:25:12 +01:00
Paul Chavard
5632929d3d
Remove old caro editor
2018-11-27 16:11:25 +01:00
Pierre de La Morinerie
65bdfacd8c
dossier: remove old SIRET code, controllers and views
2018-10-18 15:46:00 +02:00
Paul Chavard
38091963c1
Update carto tests
2018-10-14 12:34:44 +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
c79c1a2636
carto: update link to dossier
2018-09-27 17:22:59 +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
gregoirenovel
4b071ecf06
Use enum to the fullest with Dossier.states
2018-08-29 17:31:08 +02:00
Paul Chavard
c91abe73c5
Remove old user dossier form
2018-08-07 14:13:27 +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
Paul Chavard
d0a6957862
Remove old cerfa code
2018-06-28 15:16:20 +02:00
Pierre de La Morinerie
663c39ea11
specs: improve speed of dossiers specs (12s -> 6s)
2018-06-26 18:04:04 +02:00
gregoirenovel
0329b1db68
Use User#owns_or_invite? instead of Dossier#owner_or_invite?
2018-05-31 14:39:43 +02:00
Paul Chavard
9cc6d494a4
Spec STI loading champ/type de champ
2018-03-29 17:45:19 +02:00
simon lehericey
a0667f5ad9
[ fix #1411 ] user: link new screen to the rest of the application
2018-02-27 15:24:51 +01:00
Paul Chavard
0c1d529b61
Unify :type_de_champ public/private factories
2018-02-14 11:49:06 +01:00
Mathieu Magnin
dcb38d79a3
[ Fix #1309 ] Datetime value should be print with yyyy-mm-dd format
2018-01-30 13:49:16 +01:00
Paul Chavard
fdd6cedeb8
Remove data_provide
and data_date_format
attributes
2018-01-30 13:49:16 +01:00
Mathieu Magnin
469aca999b
Revert "Remove data_provide
and data_date_format
attributes"
...
This reverts commit 273b3f2faf
.
2018-01-19 13:20:53 +01:00
Paul Chavard
273b3f2faf
Remove data_provide
and data_date_format
attributes
2018-01-18 15:13:48 +01:00
gregoirenovel
b138dcd876
Enable the Layout/SpaceInsideHashLiteralBraces cop
2018-01-18 10:53:35 +01:00
gregoirenovel
897a30da0c
Enable the Layout/SpaceInsideBlockBraces cop
2018-01-18 10:53:34 +01:00
gregoirenovel
b77837bfd1
Enable the Layout/MultilineMethodCallBraceLayout cop
2018-01-15 22:33:13 +01:00
gregoirenovel
1368cd4b03
[ Fix #1120 ] Delete the old accompagnateur UI
2018-01-15 10:02:10 +01:00
Simon Lehericey
c83552f423
[ fix #504 ] Dossier: without_continuation -> sans_suite
2017-12-15 12:10:54 +01:00
Simon Lehericey
2be9b8d2ba
[ fix #504 ] Dossier: refused -> refuse
2017-12-15 12:10:54 +01:00
Simon Lehericey
a13256f73d
[ fix #504 ] Dossier: closed -> accepte
2017-12-15 12:10:54 +01:00
LeSim
3dda27b281
[ fix #504 ] Dossier: received -> en_instruction
2017-12-15 12:10:54 +01:00
Simon Lehericey
72bae2c374
[ fix #504 ] Dossier: draft -> brouillon
2017-12-15 11:52:09 +01:00
LeSim
56545933a9
[ fix #504 ] Dossier: initiated -> en_construction
...
The change must not impact the api
2017-12-15 11:52:09 +01:00
Mathieu Magnin
8edfdff0fc
[Fix#980] Engagement checkbox should be checked sometimes
2017-11-23 09:40:44 +01:00
Simon Lehericey
1cfeb10ce9
[ Fix #503 ] Dossier: remove updated
2017-09-26 14:42:54 +02:00
Simon Lehericey
633b55aca0
[ Fix #503 ] Dossier: remove replied
2017-09-26 14:42:54 +02:00
gregoirenovel
5b955677c2
[ Fix #719 ] Unformat date and yes/no values in the form
2017-09-20 17:40:43 +02:00
Mathieu Magnin
b68a8b37e8
Redesign the login form
2017-06-19 18:21:15 +02:00
gregoirenovel
d248afc376
Enable the Layout/ExtraSpacing cop
2017-06-13 10:35:35 +02:00
gregoirenovel
f1907f4d0e
Enable the Layout/EmptyLinesAroundBlockBody cop
2017-06-13 10:35:23 +02:00
gregoirenovel
bc16027ccc
Enable the Layout/BlockEndNewline cop
2017-06-13 10:35:19 +02:00
gregoirenovel
9439e1abb1
Enable the Layout/AlignParameters cop
2017-06-13 10:35:16 +02:00
gregoirenovel
ab1c19c09b
Rename some Dossier scopes
2017-06-01 10:58:08 +02:00
gregoirenovel
1a5f9fd067
[ Fix #105 ] Show the pieces justificative’ descriptions
2017-05-09 12:47:21 +02:00
gregoirenovel
ecca3b3f37
Add a missing test for _pieces_justificatives.html.haml
2017-05-09 12:47:20 +02:00
gregoirenovel
fd07a88ed6
Add a missing test to the _render_list_champs template’s test
2017-05-04 11:31:10 +02:00
gregoirenovel
4ce6c92394
Reformat the _render_list_champs template test
2017-05-04 11:31:10 +02:00
gregoirenovel
8deef8e8e3
[ Fix #137 ] Change the dossier link placeholder
...
Otherwise we don’t know what to enter (words,
numbers…)
2017-04-26 11:46:39 +02:00
gregoirenovel
b89e59192c
Add a missing a test for the dossier link field in the form
2017-04-26 11:35:49 +02:00
gregoirenovel
b34bf4846c
Improve a test title in the _render_list_champs test
2017-04-26 11:35:48 +02:00
Mathieu Magnin
ad4bd87b1f
Remove unused pending tests, and enable old tests disabled for sqlite
2017-04-21 17:07:06 +02:00
gregoirenovel
c10c2fc31b
Selectors must be written in lowercase with hyphens
2017-04-20 10:35:53 +02:00
Simon Lehericey
3228737a87
DossierLink: add edition template
2017-04-11 13:54:33 +02:00
gregoirenovel
d5e7bbd80d
Files should end with a new line
2017-04-04 16:59:38 +02:00
gregoirenovel
87ab2ba9eb
Remove trailing spaces
2017-04-04 16:59:37 +02:00
Mathieu Magnin
95b83a57c1
Checkbox should be checked when value is 'on'
2017-04-03 10:50:15 +02:00
Mathieu Magnin
e4826b468a
Fix departements / pays / regions drop down list
2017-03-29 14:22:23 +02:00
Mathieu Magnin
c795a7d7e2
Fix tests
2017-03-20 13:38:51 +01:00
Mathieu Magnin
10add61bd1
Clean some tests after removing :validated & :submitted states
2017-02-23 17:54:11 +01:00
Xavier J
e258118825
Reactive cartographie
2016-12-20 14:48:09 +01:00
Xavier J
bc4e3860be
Fix all tests
2016-12-14 18:41:33 +01:00
JC
22a59123c1
Adding launchy to put save_and_open_page in capybara specs, fixing many red tests by removing/changing expectations according to new UI. Need to pursue on spec/features/backoffice/flux_de_commentaires_spec.rb (not priority), and spec/controllers/root_controller_spec.rb (unkonw)
2016-12-13 16:11:11 +01:00
Xavier J
eb75d9b337
Merge branch 'develop' into develop_v2
2016-11-25 10:49:28 +01:00
Xavier J
97c2be07ea
Change wording submit and receive action
2016-11-25 10:46:08 +01:00
Xavier J
fc289ba7b3
Remove useless spec
2016-11-15 06:02:49 +01:00
Xavier J
d9a5eff21d
Fix Views test.
2016-11-15 04:12:22 +01:00
Xavier J
a7166d306f
Delete tab Nouveau A traiter and En cours d'étude for User and replace this only one call En construction
2016-10-19 17:25:24 +02:00
Xavier J
8160d4d0df
User can be add siret when is procedure at the attribut individual and individual_with_siret
2016-10-05 14:28:10 +02:00
Xavier J
3014c4c539
Change word "Instruction" to "Examen"
2016-09-14 16:57:51 +02:00
Xavier J
0c9fea1c14
User can invite other user to edit his dossier
2016-09-14 16:36:01 +02:00
Xavier J
a69433e8de
User can be begin without SIRET
2016-08-30 11:18:43 +02:00
Xavier J
b661a2eb38
Updated test for new user status UI
2016-08-22 16:10:48 +02:00
Xavier J
6adfcac5bf
Add new state on User UI.
...
/!/ WARNING : No tests fix
2016-08-12 13:56:10 +02:00
Xavier J
1a92382259
- Add new status for a dossier : received, refused and without_continuation
...
- Add new and rename tabs on gestionnaire all dossiers view
/!\ WARNING : One test does not pasted. He will be corrected in the next commit
2016-08-11 15:27:35 +02:00
Xavier J
7d0bcfc35f
Delete utilisation of "nom_projet" attribut (no delete in database)
2016-07-19 16:10:50 +02:00
Xavier J
4355d4775a
Add type de champ date
...
Add hour and minute on UI for datetime
2016-06-22 11:25:41 +02:00
Xavier J
cc8d2ef4ee
New UI and UX for the dossier initialization
2016-06-20 13:57:57 +02:00