Commit graph

13170 commits

Author SHA1 Message Date
Pierre de La Morinerie
e7c8a9fff5 app: move clone to NewAdministrateur::ProceduresController 2021-09-02 14:51:31 -05:00
Pierre de La Morinerie
56fa7e7cd6 app: move destroy to NewAdministrateur::ProceduresController
The code was already moved; only the route and tests were not.
2021-09-02 14:51:31 -05:00
Pierre de La Morinerie
3e83ad454f app: move new_from_existing to NewAdministrateur::ProceduresController 2021-09-02 14:51:31 -05:00
Pierre de La Morinerie
7729385d89 controllers: remove dead code on Admin::ProceduresController
This code has been migrated to NewAdministrateur::ProceduresController.
2021-09-02 14:51:26 -05:00
Pierre de La Morinerie
3fc934c8fb app: remove leftovers of publish_validate route
The correponding code and feature have been removed a while ago.
2021-09-02 14:50:41 -05:00
Pierre de La Morinerie
0f9d7d6b8c app: remove old Admin::InstructeursController
It was only hosting the deprecated "Instructeurs globally attached to
this admin", which wasn't used anywhere in the app anymore.
2021-09-02 14:40:36 -05:00
lydiasan
e87ab1dc40
Merge pull request #6438 from betagouv/i18n-translate-instructions-reset-password
i18n: ajout des traductions pour la page reset-link-sent
2021-09-02 16:42:12 +02:00
Jérôme Desboeufs
90aebd3021 Update photographies-aeriennes basemap URL 2021-09-02 14:53:24 +02:00
Jérôme Desboeufs
7079af2fd4
Update photographies-aeriennes basemap URL 2021-09-01 21:58:12 +02:00
lydiasan
ed7a9aaf39 ajout des traductions pour la page reset-link-sent 2021-09-01 17:49:52 +02:00
Paul Chavard
a4c20de173
Merge pull request #6433 from betagouv/fix-autosave-null-xhr
Correction d'une erreur lors d'un échec de l'enregistrement automatique d'un brouillon
2021-09-01 10:39:50 +02:00
Pierre de La Morinerie
7380d27d78 js: fix null xhr in autosave error handling
Sentry reports many cases of the xhr object being missing in the
error handler.

Ensure the error handling code doesn't crash because of the missing xhr.
2021-08-31 14:54:02 -05:00
Pierre de La Morinerie
b709a160fc
Merge pull request #6432 from tchak/update-dependencies
Mise à jour des dépendances Javascript (#6432)
2021-08-31 11:53:00 -05:00
Paul Chavard
5d63ced246 fix(eslint): fix eslint warnings 2021-08-31 18:14:04 +02:00
Paul Chavard
1e46e437bb build(npm): update npm dependencies 2021-08-31 18:13:38 +02:00
Paul Chavard
9a7c788e2d
Merge pull request #6429 from betagouv/english_country_list
Affiche la liste des pays en anglais
2021-08-31 14:27:33 +02:00
Paul Chavard
a3cc072bbd feat(i18n): translate countries selector 2021-08-31 13:15:26 +02:00
Pierre de La Morinerie
3d9d881a45
Merge pull request #6423 from betagouv/fix-tests-not-running
Correction d'un fichier de test dont les tests n'étaient pas exécutés (#6423)
2021-08-26 11:53:45 -05:00
Pierre de La Morinerie
b80f6a9f1b spec: fix some manager tests not running 2021-08-26 11:44:47 -05:00
Pierre de La Morinerie
ab5116a06c
Merge pull request #6422 from tchak/feat-more-email-translations
Traduction de certains emails de notification (#6422)
2021-08-26 11:20:16 -05:00
Paul Chavard
241f564ecc refactor(i18n): move signature translation keys to shared 2021-08-26 17:53:59 +02:00
Paul Chavard
c1c45613cc feat(i18n): translate reexamin and new message emails 2021-08-26 17:53:59 +02:00
Paul Chavard
89d9a4a477 feat(i18n): translate notification emails actions 2021-08-26 17:53:59 +02:00
Paul Chavard
6eb072e69f feat(i18n): translate email greetings 2021-08-26 17:53:59 +02:00
Paul Chavard
a80fc96d5c
Merge pull request #6424 from betagouv/i18n-request-password-translation
i18n: request new password translation
2021-08-26 17:53:37 +02:00
lydiasan
156b9894fe ajout des traductions pour la demande de mdp 2021-08-26 17:43:00 +02:00
lydiasan
ff575db4b3 i18n: request new password translation 2021-08-26 14:56:12 +02:00
Paul Chavard
c91aa2c2be
Merge pull request #6420 from tchak/feat-signin-signup-email-translations
Translate devise related emails
2021-08-26 12:17:37 +02:00
Paul Chavard
8c6978c0cb feat(i18n): translate devise related emails 2021-08-26 12:08:40 +02:00
LeSim
c553fe1e9a
Merge pull request #6419 from tchak/fix-dossiers-close-to-expiratio-notice
Send expiration notifications 2 weeks prior to supression instead of a month
2021-08-26 12:03:58 +02:00
Paul Chavard
8e1bfb469f fix(dossier): send expiration notifications 2 weeks prior to supression instead of a month 2021-08-26 11:28:57 +02:00
Paul Chavard
dad9c0473c
Merge pull request #6401 from tchak/feat-graphql-dossier-demarche
feat(graphql): expose demarche descriptor on dossier type
2021-08-25 15:36:28 +02:00
Paul Chavard
1399d9bba9 feat(graphql): expose demarche descriptor on dossier type
We don't want to expose full demarche type on dossiers because it would open the door for recursive queries that we want to avoid. DemarcheDescriptorType is a lightweight representation of demarche metadata.
2021-08-25 11:12:24 +02:00
Pierre de La Morinerie
fd1a2e9307
Merge pull request #6414 from betagouv/localization-improvements
Amélioration du sélecteur de langues (#6414)
2021-08-24 13:06:35 -05:00
Pierre de La Morinerie
bb15d5fadc i18n: put french first in the locales list
Because French is the reference locale, and we should reflect this to 
users.
2021-08-24 12:57:51 -05:00
Pierre de La Morinerie
02a19587b7 i18n: display selected locale as active wit bold text 2021-08-24 12:57:51 -05:00
Pierre de La Morinerie
227b1dc462 i18n: remove language code from the locale dropdown 2021-08-24 12:57:51 -05:00
Pierre de La Morinerie
47e1555dce i18n: properly translate the locale dropdown title 2021-08-24 12:57:51 -05:00
Pierre de La Morinerie
83b04aca59 i18n: move 'layouts' locales to their proper location 2021-08-24 12:57:51 -05:00
Pierre de La Morinerie
db803c2522 i18n: fix capitalization in the locale dropdown 2021-08-24 12:57:51 -05:00
Pierre de La Morinerie
789fc41efa
Merge pull request #6413 from tchak/fix-devise-translation-key
Correction de l'affichage du texte de réinitialisation de mot de passe (#6413)
2021-08-24 11:42:11 -05:00
Paul Chavard
ef16424fa8 fix(i18n): use correct translation namespace 2021-08-24 16:00:57 +02:00
Pierre de La Morinerie
3fbf012297
Merge pull request #6411 from betagouv/remove-filters-migration-leftover-again
Migration de données : suppression de la clef `'migrated'` dans ProcedurePresentation#filters (#6411)
2021-08-24 08:51:47 -05:00
Pierre de La Morinerie
9741108094 lib: remove the 'migrated' key on filters
In a9a4f6e2a8, a task to migrate
ProcedurePresentation's filters was added.

This task added a "migrated: true" key to all migrated filters.

Now that this task has run, we can safely remove the extra key.

In a previous version of this commit, the migration would fail for
invalid ProcedurePresentation records. This is now fixed.
2021-08-24 08:42:22 -05:00
Pierre de La Morinerie
d0300d684c
Merge pull request #6394 from betagouv/accessibilite
Remplacement de la gem dépréciée `axe-matchers` par `axe-core-spec` (#6394)
2021-08-24 08:18:21 -05:00
Christophe Robillard
83b6c5d7c7 replace deprecated axe-matchers by axe-core-spec 2021-08-24 08:09:17 -05:00
Pierre de La Morinerie
2611302680
Merge pull request #6384 from betagouv/dependabot/npm_and_yarn/path-parse-1.0.7
Mise à jour de `path-parse` de la version 1.0.6 à 1.0.7
2021-08-24 08:08:33 -05:00
dependabot[bot]
72f6e6808c
build(deps): bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-24 13:00:05 +00:00
Paul Chavard
6ad4fd8ac2
Merge pull request #6410 from tchak/feat-enable-localization-by-query-param
feat(i18n): enable localization by query param
2021-08-24 11:56:40 +01:00
Paul Chavard
3b6528decf feat(i18n): enable localization by query param
Providing a query param ("locale") will enable localization. A language picker will be shown once
localization is activated. Locale is stored in a cookie "locale".
2021-08-24 12:42:40 +02:00