simon lehericey
1a6337cf37
remove useless if
...
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2021-06-09 10:52:38 +02:00
simon lehericey
f094c6c218
avoid useless count
...
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2021-06-09 10:52:38 +02:00
simon lehericey
895eed5a27
UI uses average_dossier_weight
...
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2021-06-09 10:52:38 +02:00
simon lehericey
9e43823f9a
add average_dossier_weight
...
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2021-06-09 10:52:38 +02:00
Christophe Robillard
7002811ba5
optim count nb_dossiers per month for archive
...
`Traitement#count_dossiers_termines_by_month` removes n+1 queries
Co-authored-by: LeSim <mail@simon.lehericey.net>
2021-06-09 10:52:38 +02:00
Paul Chavard
4fe223a650
Merge pull request #6262 from betagouv/fix-statistiques-public
...
Fixe un bug dans le users/statistiques controller
2021-06-08 18:22:07 +02:00
kara Diaby
b3c5fcb4c5
fix procedure not found
2021-06-08 17:55:38 +02:00
krichtof
c6b6ba96b1
Merge pull request #6259 from betagouv/optim-stat-by-weej
...
optimise les stats du nb de dossiers termines par semaine
2021-06-08 15:44:52 +02:00
Christophe Robillard
9bb9462b3a
optimise les stats termines by week
2021-06-08 15:23:31 +02:00
Paul Chavard
fdaca625a1
Merge pull request #6249 from tchak/fix-api-education-schema
...
Fix api education wrong data type
2021-06-08 15:13:43 +02:00
Paul Chavard
44ebd0e8a5
Fix api education wrong data type
2021-06-08 12:25:24 +02:00
Kara Diaby
2802269531
Merge pull request #6257 from betagouv/tests-statistiques
...
Ajoute des tests pour users/statistiques
2021-06-07 15:31:56 +02:00
kara Diaby
fab4a41c57
add tests regarding /users/statistiques view
2021-06-07 15:09:39 +02:00
Kara Diaby
c235b26746
Merge pull request #6256 from betagouv/fix-stats
...
fix stats view for users
2021-06-07 10:23:32 +02:00
Christophe Robillard
1a8a394cb7
fix stats view for users
2021-06-06 19:35:48 +02:00
Paul Chavard
306c0f9623
Merge pull request #6254 from tchak/fix-demarches-declaratives
...
Prevent double processing of declarative dossiers
2021-06-04 18:04:57 +02:00
Paul Chavard
1888f74b10
Prevent double processing of declarative dossiers
2021-06-04 17:55:40 +02:00
Kara Diaby
3bd6df8bbf
Merge pull request #6251 from betagouv/feat/6150
...
ETQ Usager / Instructeur, je peux voir les stats de dossiers acceptés/refusés/sans-suite pour chaque démarche
2021-06-04 17:39:13 +02:00
kara Diaby
da1d83b967
add route
2021-06-04 15:29:08 +02:00
kara Diaby
66f0fa35f2
layout
2021-06-04 15:29:08 +02:00
kara Diaby
3555c9696a
modify concern
2021-06-04 15:29:08 +02:00
kara Diaby
6ed339e7aa
modify controllers
2021-06-04 15:29:08 +02:00
Paul Chavard
b4b4e9f0d9
Merge pull request #6229 from tchak/fix-publishing-revisions
...
Fix publishing revisions
2021-06-03 13:19:46 +02:00
Paul Chavard
9819a5ff77
Update spec/models/procedure_spec.rb
...
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2021-06-03 13:11:16 +02:00
Paul Chavard
3071af220a
Add revision date_publication
2021-06-03 13:11:16 +02:00
Paul Chavard
f526e303e8
Apply suggestions from code review
...
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2021-06-03 13:11:16 +02:00
Paul Chavard
a0d4c9d54c
Fix published revisions
2021-06-03 13:11:16 +02:00
Paul Chavard
3fb10fb4b8
Set published_at on revision when publishing a procedure
2021-06-03 13:11:16 +02:00
Paul Chavard
306e5d228d
Add published_at to procedure_revisions
2021-06-03 13:11:16 +02:00
Paul Chavard
667781ab1e
Merge pull request #6252 from tchak/fix-byte-size
...
GraphQL byte_size should be BigInt
2021-06-03 11:02:25 +02:00
Paul Chavard
990ae10399
GraphQL byte_size should be BigInt
2021-06-03 10:53:17 +02:00
Paul Chavard
8c889797ab
Merge pull request #6250 from tchak/fix-validation-json
...
Handle GeoJSON validation errors
2021-06-02 20:07:50 +02:00
Paul Chavard
f076fa803e
Handle GeoJSON validation errors
2021-06-02 12:43:24 +02:00
Pierre de La Morinerie
56d6bc5af0
Merge pull request #6248 from betagouv/fix-manager-emails
...
Manager : correction de l'affichage de la page Emails lorsque l'utilisateur n'est pas encore activé (#6248 )
2021-06-01 15:27:35 +02:00
Pierre de La Morinerie
188b89a3c8
manager: fix polymorphic route exception when viewing user emails
...
Since the last Rails update, arguments to polymorphic routes must be
symbols, otherwise an exception is raised.
2021-06-01 11:29:57 +02:00
Pierre de La Morinerie
ddfe2f04e9
Merge pull request #6183 from betagouv/dependabot/npm_and_yarn/highcharts-9.0.0
...
Mise à jour de highcharts de la version 8.1.1 à 9.0.0 (#6183 )
2021-06-01 11:06:03 +02:00
dependabot[bot]
a0b473cde9
Bump highcharts from 8.1.1 to 9.0.0
...
Bumps [highcharts](https://github.com/highcharts/highcharts-dist ) from 8.1.1 to 9.0.0.
- [Release notes](https://github.com/highcharts/highcharts-dist/releases )
- [Commits](https://github.com/highcharts/highcharts-dist/compare/v8.1.1...v9.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-01 08:56:16 +00:00
Paul Chavard
fefbf93be6
Merge pull request #6242 from tchak/fix-discarded-procedures
...
Fix destoying discarded procedures
2021-05-27 19:12:15 +02:00
Paul Chavard
05380b9520
Fix destoying discarded procedures
2021-05-27 18:48:56 +02:00
Pierre de La Morinerie
99bfdd5c33
Merge pull request #6244 from betagouv/add-missing-i18n-key
...
i18n : ajout de traductions manquantes pour le nom du modèle User (#6244 )
2021-05-27 16:17:17 +02:00
Pierre de La Morinerie
fcd5df3c2b
i18n: add missing i18n keys for User model
...
The key for naming the User model was missing – so the default
localization from devise-i18n was used. Unfortunately devise-i18n lacks
the plural form.
This fixes the manager dashboard displaying "User" instead of "Users".
2021-05-27 16:08:55 +02:00
Pierre de La Morinerie
defeb76d88
Merge pull request #6241 from betagouv/dependabot/npm_and_yarn/dns-packet-1.3.4
...
Mise à jour de dns-packet de la version 1.3.1 à 1.3.4
2021-05-27 15:15:04 +02:00
dependabot[bot]
3d3156cf91
Bump dns-packet from 1.3.1 to 1.3.4
...
Bumps [dns-packet](https://github.com/mafintosh/dns-packet ) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases )
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 13:05:09 +00:00
Paul Chavard
0e417e7a8a
Merge pull request #6243 from betagouv/upgrade-sentry
2021-05-27 15:03:37 +02:00
Pierre de La Morinerie
895ef98692
gems: upgrade sentry to 4.4.0
2021-05-27 14:33:13 +02:00
Paul Chavard
dac2c3a577
Merge pull request #6240 from adullact/6239_fix_sentry-environment
...
#6239 - Fix sentry environment
2021-05-27 11:22:41 +02:00
François Vantomme
bc6d5aca0e
Fix (Sentry): prefer Rails secrets over ENV variables
2021-05-27 11:12:27 +02:00
Jon
2a0a65a90f
fix(sentry): specify current environment for sentry config
2021-05-27 11:12:27 +02:00
Pierre de La Morinerie
44ff3401ff
Merge pull request #6231 from betagouv/i18n-selector-test
...
i18n : ajout d'un test pour le sélecteur de langues (#6231 )
2021-05-27 11:10:43 +02:00
Pierre de La Morinerie
929a556f9f
i18n: add feature spec for changing the language
2021-05-27 11:01:26 +02:00