Commit graph

9098 commits

Author SHA1 Message Date
simon lehericey
03b7e81ca4 Send deletion notice for near expired brouillon 2019-12-03 17:18:53 +01:00
simon lehericey
a79abfac79 Add brouillon_close_to_expiration_notice_sent_at column to Dossier 2019-12-03 17:18:53 +01:00
Pierre de La Morinerie
dc3df9ec6b
Affiche une bannière de dépréciation pour IE 11 (#4590)
Affiche une bannière de dépréciation sur Internet Explorer 11
2019-12-03 16:37:51 +01:00
Pierre de La Morinerie
f351ade434 javascript: expose Turbolinks globally
When calling `redirect_to` in a Rails controller that emits Javascript,
Rails will emit `Turbolinks.replace(…)` commands. And for this,
Turbolinks needs to be globally available.
2019-12-03 16:28:47 +01:00
Pierre de La Morinerie
97af50c700 app: fix detection of Chrome iOS and Firefox iOS as outdated browsers
For instance, Firefox iOS is reported as `firefox? true, version 20`.

As on iOS only the system-provided Webkit is allowed, we can instead
safely assume that all browsers on a recent iOS device are modern.
2019-12-03 16:09:41 +01:00
Pierre de La Morinerie
3212dfddca app: allow hiding the browser banner for one week 2019-12-03 16:09:18 +01:00
Pierre de La Morinerie
299f9df375 app: on the old design, move the deprecation banner to a better location
Otherwise it hides the "Change role" controls.
2019-12-03 16:02:08 +01:00
Pierre de La Morinerie
2b934610a0 app: improve the browser deprecation banner appearance 2019-12-03 16:02:08 +01:00
Pierre de La Morinerie
2ee8cab067 app: display a deprecation banner for IE 11 2019-12-03 16:02:08 +01:00
Pierre de La Morinerie
3e096b9c15
Ajout de pagination au sommet de la liste des dossiers (#4606)
Instructeur : ajout de contrôles de pagination en haut de la liste des dossiers
2019-12-03 16:01:51 +01:00
clemkeirua
8b1535e462 ajout de pagination au sommet de la liste des dossiers 2019-12-03 14:55:43 +01:00
Keirua
fd8cc8fc58
Merge pull request #4598 from Keirua/4575-suggestion-email-valide
#4575 Suggestion d'un email valide lors de la création de compte
2019-12-03 14:34:08 +01:00
Pierre de La Morinerie
5928a16b37 Amélioration de la mise en page 2019-12-03 14:06:12 +01:00
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