Commit graph

13069 commits

Author SHA1 Message Date
Christophe Robillard
a8840faadb move stats methods to appropriate concern class 2021-06-17 16:31:53 +02:00
Christophe Robillard
98f0eb5ba9 ajoute legende à la stat 2021-06-17 16:31:53 +02:00
Christophe Robillard
45ffae9eb3 affiche evolution temps de traitement 2021-06-17 16:31:53 +02:00
Christophe Robillard
701b72494d compute usual traitement time for specific month 2021-06-17 16:31:53 +02:00
Pierre de La Morinerie
44a165b3bb
Merge pull request #6276 from betagouv/remove-email-in-urls
Les URLs qui comportaient des adresses email dans le chemin insèrent maintenant l'email comme query-param (#6276)
2021-06-17 11:24:40 +02:00
Pierre de La Morinerie
b5bde6608c routes: replace the email param in the Avis URLs by a query param 2021-06-17 11:15:51 +02:00
Pierre de La Morinerie
ab442cd8d1 routes: remove unused redirections 2021-06-17 11:15:51 +02:00
Pierre de La Morinerie
51159117c9 routes: replace the email param in the URL to a query param
This basically moves from:

    /lien-envoye/foo@bar.com

to:

    /lien-envoye?email=foo@bar.com

This allow to properly censor the data in Matomo (so that email
addresses don't end up stored in Matomo).
2021-06-17 11:15:51 +02:00
Kara Diaby
a098003ba8
Merge pull request #6279 from betagouv/main
2021-06-16-01
2021-06-16 15:07:45 +02:00
Paul Chavard
e0dd0893f4
Merge pull request #6274 from tchak/communes-all-post-codes
Expand commune searches with multiple post codes
2021-06-16 09:46:56 +02:00
Paul Chavard
10cdd2c77e Apply suggestions from code review
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2021-06-16 09:38:47 +02:00
Paul Chavard
7f28c49887 expand commune searches with multiple post codes 2021-06-16 09:29:25 +02:00
Kara Diaby
c7a2a5025b
Merge pull request #6265 from betagouv/feat/6263
ETQ Administrateur, je peux ajouter des groupes instructeurs via un fichier csv
2021-06-15 22:16:17 +02:00
kara Diaby
cd030fd975 add csv fixture file 2021-06-15 19:36:47 +02:00
kara Diaby
b01a65b2c0 add public csv exemple for import groupe instructeurs 2021-06-15 19:36:46 +02:00
kara Diaby
6ebd57640c tests 2021-06-15 19:36:46 +02:00
kara Diaby
f1a5eb0482 layout 2021-06-15 19:36:46 +02:00
kara Diaby
6353104ecb modify service 2021-06-15 19:36:46 +02:00
Pierre de La Morinerie
bcb787c5ac
Merge pull request #6273 from betagouv/main 2021-06-15 14:29:26 +02:00
kara Diaby
99d00c00ce change routes 2021-06-15 11:20:20 +02:00
kara Diaby
ab781204bc modify groupe instructeur controller 2021-06-15 11:20:20 +02:00
kara Diaby
a1367301e9 add css utils 2021-06-15 11:20:20 +02:00
Paul Chavard
352b92b35c
Merge pull request #6266 from tchak/fix-autocomplete
Correction des bugs sur les select avec autocomplétion
2021-06-15 10:37:32 +02:00
Paul Chavard
7575f50d25 Fix autocomplete on blur 2021-06-15 10:13:31 +02:00
Paul Chavard
7f4e174871 Declare useCallback dependencies 2021-06-15 10:13:31 +02:00
LeSim
5cde8d85c4
Merge pull request #6270 from betagouv/small_ui_changes
corrige de légers problèmes graphique au niveau de l'interface administrateur / instructeur
2021-06-15 10:02:27 +02:00
simon lehericey
4900ca16f2 makes whole admin card clickable 2021-06-15 09:54:32 +02:00
simon lehericey
6be0bbaa9c Change bottom champs editor button from enregistrer to continuer 2021-06-15 09:54:32 +02:00
simon lehericey
9f50ead0fc wrap link in header to avoid ugly display 2021-06-15 09:54:32 +02:00
simon lehericey
a407c0b2a0 top align th in dossier table 2021-06-15 09:54:32 +02:00
Pierre de La Morinerie
6dbdb6a8e9
Merge pull request #6255 from betagouv/dependabot/npm_and_yarn/ws-6.2.2
Mise à jour de `ws` de la version 6.2.1 à 6.2.2
2021-06-15 09:45:51 +02:00
dependabot[bot]
2558331879
Bump ws from 6.2.1 to 6.2.2
Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/commits)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-15 07:38:00 +00:00
Paul Chavard
139385bde3
Merge pull request #6267 from tchak/format-phone-number
format phone numbers
2021-06-15 09:22:45 +02:00
Paul Chavard
a2c53ce7ea format phone numbers 2021-06-15 09:14:55 +02:00
LeSim
8f8b9afc5e
Merge pull request #6269 from adullact/feature/filter-map
[Rubocop] ETQ développeur, je souhaiterais pouvoir exploiter le plein potentiel de Ruby 2.7
2021-06-14 10:46:05 +02:00
François Vantomme
c9b1095d1e Refactor (Rubocop): replace map{ … }.compact by filter_map
In Ruby 2.7, Enumerable#filter_map has been added.
This cop identifies places where map { … }.compact can be replaced by filter_map.

See: https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancemapcompact
2021-06-11 15:38:09 +02:00
krichtof
292af105cf
Merge pull request #6264 from betagouv/main
2021-06-09-01
2021-06-09 12:39:47 +02:00
krichtof
7fb86c34e6
Merge pull request #6246 from betagouv/6207-optim-poids-archives
6207 optime la page qui liste les archives
2021-06-09 11:01:27 +02:00
Christophe Robillard
169f254c79 infer champ type from class 2021-06-09 10:52:38 +02:00
Christophe Robillard
aee8db99d0 add spec for dossier weight estimation 2021-06-09 10:52:38 +02:00
Christophe Robillard
4fd0ad71c3 add spec for archive weight estimation 2021-06-09 10:52:38 +02:00
Christophe Robillard
f0b2327ec6 add spec for count dossiers termines by month 2021-06-09 10:52:38 +02:00
Christophe Robillard
6f845508b4 order archive by desc month 2021-06-09 10:52:38 +02:00
Christophe Robillard
5e180268cd remove one sql query 2021-06-09 10:52:38 +02:00
Christophe Robillard
41569efe9d extract estimate_weight
and rename nb_dossiers by nb_dossiers_termines
2021-06-09 10:52:38 +02:00
simon lehericey
b8f01d06d7 more style
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2021-06-09 10:52:38 +02:00
simon lehericey
f2ba83a704 cout_dossier_termines_by_month for groupe_instructeurs
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2021-06-09 10:52:38 +02:00
simon lehericey
83d60c7b63 archive for all the groups
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2021-06-09 10:52:38 +02:00
simon lehericey
e933a80c55 remove useless archivable_months
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2021-06-09 10:52:38 +02:00
simon lehericey
d7ce26662f capitalize month
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2021-06-09 10:52:38 +02:00