Commit graph

9042 commits

Author SHA1 Message Date
simon lehericey
21910c959e @current_user -> current_user 2019-12-11 17:18:21 +01:00
simon lehericey
e06733d01b Clean spec 2019-12-11 17:18:21 +01:00
simon lehericey
301653bb89 Only display email form if the user is not instructeur 2019-12-11 17:18:21 +01:00
LeSim
f407ef5eee
Merge pull request #4623 from betagouv/remove_old_administration
Suppression la clé étrangère administration_id sur DossierLogs
2019-12-11 17:15:01 +01:00
simon lehericey
3afdf9e9ac Remove unused column 2019-12-11 17:07:26 +01:00
Paul Chavard
5f79fbf38d
Merge pull request #4627 from tchak/graphql-fix-file-upload
[GraphQL] fix a crash in mutations with an attachment
2019-12-11 13:47:12 +01:00
Paul Chavard
6b5793f0b9 [GraphQL] fix a crash in mutations with an attachment 2019-12-11 13:22:32 +01:00
Paul Chavard
422b7f37ec [GraphQL] expose file information 2019-12-11 12:34:49 +01:00
LeSim
1146447c14
Merge pull request #4622 from betagouv/dependabot/bundler/puma-3.12.2
build(deps): bump puma from 3.12.0 to 3.12.2
2019-12-09 15:30:25 +01:00
dependabot[bot]
3735fbd8b7
build(deps): bump puma from 3.12.0 to 3.12.2
Bumps [puma](https://github.com/puma/puma) from 3.12.0 to 3.12.2.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v3.12.0...v3.12.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-06 08:11:25 +00:00
Pierre de La Morinerie
5dbe0722a3
Ajout d'une bannière pour prévenir des perturbations à partir d… (#4617)
Ajout d’une bannière pour prévenir des perturbations liée à la grève
2019-12-04 17:42:23 +01:00
Pierre de La Morinerie
c2882b6cc3 app: hide IE11 deprecation banner during the strike
Having two banners appearing in a few days may be overwhelming for
users.
2019-12-04 17:32:04 +01:00
Pierre de La Morinerie
ef76af5546 app: add a site-wide banner for the national strike 2019-12-04 17:32:04 +01:00
Paul Chavard
c702a5cbb6
Merge pull request #4523 from tchak/replace-procedure
Add depubliee state to procedures
2019-12-04 17:01:29 +01:00
Paul Chavard
2f060fc30a Add depubliee state to procedures 2019-12-04 16:52:41 +01:00
Paul Chavard
4a614f6f4f Add unpublished_at to procedures 2019-12-04 16:37:37 +01:00
Paul Chavard
b452d2b0e1
Merge pull request #4616 from tchak/fix-components-loading
Always load IntersectionObserver to fix old browsers
2019-12-04 16:33:01 +01:00
Paul Chavard
3a142fea40 Isolate react components from react loaders 2019-12-04 16:26:59 +01:00
Paul Chavard
03326169c5 Always load IntersectionObserver to fix old browsers
fix #4614
2019-12-04 16:26:59 +01:00
Pierre de La Morinerie
1d39bfa0e0
Amélioration des bannières affichées globalement sur le site (#4613)
Amélioration des bannières affichées globalement sur le site
2019-12-04 16:04:11 +01:00
Pierre de La Morinerie
7f2d5f6248 app: unify pre-maintenance banner with other site-wide banners 2019-12-04 15:29:15 +01:00
Pierre de La Morinerie
704ac64f63 stylesheet: move all browser banner styles into site-banner.scss 2019-12-04 15:25:37 +01:00
Paul Chavard
87e4c62c21
Merge pull request #4607 from tchak/fix-repetition-champ-header
Afficher la description du champ répétable
2019-12-04 14:40:54 +01:00
Paul Chavard
e5f582d644 Afficher la description du champ répétable
fix #4579
2019-12-04 14:28:31 +01:00
Paul Chavard
92010c4ab4
Merge pull request #4593 from tchak/graphql-service
[GraphQL]: informations du service
2019-12-04 14:28:11 +01:00
Paul Chavard
b5eafdab56 [GraphQL]: informations du service 2019-12-04 14:21:40 +01:00
Paul Chavard
da431295c3
Merge pull request #4510 from tchak/graphql-informations-du-depositaire
[GraphQL]: informations du demandeur du dossier
2019-12-04 14:21:26 +01:00
Paul Chavard
fd42fafcb4 [GraphQL]: informations du demandeur du dossier 2019-12-04 12:39:29 +01:00
Paul Chavard
04b1879916
Merge pull request #4610 from tchak/demarche-declarative-ui
Laisser les administrateurs déclarer eux-mêmes les démarches comme déclaratives
2019-12-04 12:37:14 +01:00
Paul Chavard
34afc44813 Expose declarative démarche state in GraphQL 2019-12-04 12:30:26 +01:00
Paul Chavard
e429c79eb1 Allow administrators to set themselves démarches as déclaratives 2019-12-04 12:30:26 +01:00
krichtof
f2d0bb1fc4
Merge pull request #4521 from betagouv/4433-joindre-administration
explique en détail l'importance de renseigner des infos de contact valides
2019-12-04 06:15:42 +01:00
Christophe Robillard
e35dcad5ae rend le téléphone obligatoire côté client 2019-12-04 05:34:43 +01:00
Christophe Robillard
77b647fe25 N'affiche pas un telephone inexistant d'un service 2019-12-04 05:34:43 +01:00
Christophe Robillard
6eb36482bc rend lisible l'explication d'un contact valide 2019-12-04 05:34:43 +01:00
Christophe Robillard
8ee6657f1e rend le champ telephone optionnel côté client 2019-12-04 05:34:43 +01:00
Christophe Robillard
4e7c779116 refuse les numéros de tel invalides
rend facultatif les numéros de téléphone
2019-12-04 05:34:43 +01:00
Christophe Robillard
b60aff8468 explique en détail l'importance de renseigner des info de contact valides 2019-12-04 05:34:43 +01:00
Christophe Robillard
0b518844dc explique pourquoi un tel valide est important 2019-12-04 05:34:43 +01:00
LeSim
0f5dcca1fc
Merge pull request #4394 from pengfeidong/fix_4073_brouillon
Suppression des dossier en mode brouillon expiré et notification de la suppression
2019-12-03 17:42:46 +01:00
simon lehericey
508ba8f116 Add seek_and_destroy_expired_dossier 2019-12-03 17:18:53 +01:00
simon lehericey
006e426a11 Work on deletion mail 2019-12-03 17:18:53 +01:00
simon lehericey
79bfb8b143 Delete expired dossiers 2019-12-03 17:18:53 +01:00
simon lehericey
6391f7ff9c Work on notify_near_deletion mailer 2019-12-03 17:18:53 +01:00
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