Commit graph

8935 commits

Author SHA1 Message Date
clemkeirua
841b00bafe focus sur le mot de passe lorsqu'on traite les suggestions 2019-12-03 14:06:12 +01:00
clemkeirua
8cab6ae19f retours divers 2019-12-03 14:06:12 +01:00
clemkeirua
fdec2e04c3 la boite de suggestion d'email est en dessous du champ email 2019-12-03 14:06:11 +01:00
Pierre de La Morinerie
fb3f82074d Hide the suggestions when the user corrects the address 2019-12-03 14:06:11 +01:00
Pierre de La Morinerie
1d1260060e Fix the tests by using event delegation 2019-12-03 14:06:11 +01:00
clemkeirua
849008231c ajout de test capybara 2019-12-03 14:06:11 +01:00
clemkeirua
80b68afab5 implement email suggestion 2019-12-03 14:06:11 +01:00
clemkeirua
0bfdb2d5da fermeture et acceptation de la suggestion d'email 2019-12-03 14:06:11 +01:00
Christophe Robillard
3db2d44fc0 affiche un warning pour l'email qqsoit l'email 2019-12-03 14:06:11 +01:00
Keirua
185ea93b03
Merge pull request #4599 from betagouv/dependabot/bundler/chartkick-3.3.0
build(deps): bump chartkick from 3.2.0 to 3.3.0
2019-12-03 10:46:05 +01:00
dependabot[bot]
d43f8378e8
build(deps): bump chartkick from 3.2.0 to 3.3.0
Bumps [chartkick](https://github.com/ankane/chartkick) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/ankane/chartkick/releases)
- [Changelog](https://github.com/ankane/chartkick/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ankane/chartkick/compare/v3.2.0...v3.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-03 09:34:09 +00:00
Keirua
702aef4b8f
Merge pull request #4591 from Keirua/feat/w3c
Compatibilité W3C sur pages publiques et usager
2019-12-03 10:27:22 +01:00
clemkeirua
9e44af70b5 minor typo in textareas 2019-12-03 10:13:16 +01:00
clemkeirua
233c93bb7c move p outside of label 2019-12-03 10:07:04 +01:00
clemkeirua
d712cc7a35 move ul outside of p 2019-12-03 10:07:04 +01:00
clemkeirua
9ae1a3c2d3 add missing alt 2019-12-03 10:07:04 +01:00
LeSim
8e4c49b566
Merge pull request #4597 from betagouv/fix_instructeur_email
Corrige une erreur ou les groupes d'instructeurs utilisaient une colonne email périmée
2019-12-02 14:58:04 +01:00
simon lehericey
4175aa0b28 GroupeInstructeur: do not use outdated email column 2019-12-02 14:52:01 +01:00
LeSim
555cd74232
Merge pull request #4594 from tchak/fix-admin-creation
Corrige la création d'un administrateur dans l'interface manager
2019-12-02 10:15:08 +01:00
Paul Chavard
b845753a60 Fix admin creation
fix #4592
2019-11-29 20:14:35 +01:00
Paul Chavard
0d6675a2ae Fix schema timestamp 2019-11-28 18:22:06 +01:00
Paul Chavard
4f4c748a0c
Merge pull request #4520 from tchak/rename-archivee-to-cloturee
Rename demarche archivée to démarche close
2019-11-28 16:45:37 +01:00
Paul Chavard
ee7df3d5cf Migrate procedures archivee to close 2019-11-28 16:07:14 +01:00
Paul Chavard
b29b6176c9 Add closed_at to procedures table 2019-11-28 16:07:14 +01:00
Paul Chavard
7b947feae4 Rename demarche archivée to demarche close 2019-11-28 15:07:16 +01:00
Paul Chavard
143a8c7c55
Merge pull request #4461 from tchak/simplify-components-loader
Simplify React components loader
2019-11-28 15:01:55 +01:00
Paul Chavard
2cf415dc41 Simplify React components loader 2019-11-28 14:45:40 +01:00
Paul Chavard
39afa6659c
Merge pull request #4588 from tchak/clean-up-demarche-states
Clean up procedure states
2019-11-28 14:45:24 +01:00
Paul Chavard
c1c8ab7ac6 Disable transition from publiée to brouillon 2019-11-28 14:17:47 +01:00
Paul Chavard
3e334a3306 Drop test_started_at
# Conflicts:
#	spec/models/procedure_spec.rb
2019-11-28 14:17:47 +01:00
Pierre de La Morinerie
23af0d5d93
Merge pull request #4589 from betagouv/upgrade-capybara
Mise à jour de Capybara
2019-11-28 12:25:53 +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
Pierre de La Morinerie
939a162057 gems: upgrade Capybara
Fix #4536
2019-11-28 11:31:42 +01:00
LeSim
88d3fd718c
Merge pull request #4585 from betagouv/benjaminhenkel-patch-2
Correction d'une petite faute
2019-11-27 17:20:59 +01:00
benjaminhenkel
09d0c8d8a4 Correction d'une petite faute 2019-11-27 16:13:17 +00:00
LeSim
5ad4844977
Merge pull request #4583 from betagouv/fix-autosave-on-file-inputs
Corrige la fonction de sauvegarde automatique qui n'ignorait pas les bons champs
2019-11-27 15:03:35 +01:00
Pierre de La Morinerie
b9fd844633 dossiers: fix autosave not ignoring file inputs
The dossier autosave is supposed to ignore file inputs (which are
handled differently by ActiveStorage).

Fix a typo in the CSS selector.
2019-11-27 13:57:39 +00:00
LeSim
a78e4dc584
Merge pull request #4578 from betagouv/fix_add_instructeur_with_empty_mails
Corrige une erreur lors de l'affectation d'instructeur avec une adresse vide
2019-11-27 14:45:14 +01:00
simon lehericey
6657459f9c Fix add instructeur with empty mail
As select2 does not handle required attribute, we can only add server side logic
2019-11-27 14:39:16 +01:00
LeSim
944338206c
Merge pull request #4574 from betagouv/landing_accessibility
Améliore l'accessibilité de la page d'accueil
2019-11-27 14:10:03 +01:00
simon lehericey
71051441d6 only one h1 2019-11-27 12:59:08 +00:00
simon lehericey
38d433b53d Add some role 2019-11-27 12:59:08 +00:00
simon lehericey
07112f2e15 Remove alt on decorative image 2019-11-27 12:59:08 +00:00
simon lehericey
2f47495173 Use h1 tag for .hero-tagline 2019-11-27 12:59:08 +00:00
simon lehericey
9296e24452 Reduce marianne image to 65px wide as ie11 cannot resize svg 2019-11-27 12:59:08 +00:00
simon lehericey
d4f256b735 Use text instead of image for logo
- "it is good design practice to use actual text that is styled with CSS rather than image-based text presentation" (https://www.w3.org/WAI/tutorials/images/textual)

- mm markup que https://www.gov.uk/ et que https://www.w3.org/WAI/tutorials/images/decorative/#decorative-image-as-part-of-a-text-link
2019-11-27 12:59:08 +00:00
Pierre de La Morinerie
c4fc213384
[GraphQL]: normalize date names in French (#4561)
GraphQL : normalise le nom des dates en français
2019-11-27 12:29:57 +01:00
Paul Chavard
e9f993fe0c [GraphQL]: normalize date names in French 2019-11-27 12:23:00 +01:00
Pierre de La Morinerie
752bd50e05
Fix editeur de champs specs (#4577)
Administrateur : amélioration de la stabilité de l'éditeur de champs
2019-11-27 12:11:19 +01:00
Pierre de La Morinerie
a328e8d94a features: refactor the editor specs
- Add an `add_champ` helper
- Stop relying on a default champ being created
- Wait for all champs to be created by watching the "Add champ" button 

This should fix the flakiness of these tests.

Refs #4417
2019-11-27 11:58:46 +01:00