Commit graph

12697 commits

Author SHA1 Message Date
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
simon lehericey
a02c598a43 some style
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2021-06-09 10:52:38 +02:00
simon lehericey
7cce505dce allow download whole procedure if small enough
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2021-06-09 10:52:38 +02:00
simon lehericey
1c1e990d2a remove useless count
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2021-06-09 10:52:38 +02:00
simon lehericey
b5c1200bf1 disallow download archive button if to heavy
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2021-06-09 10:52:38 +02:00
simon lehericey
61b5085390 remove useless if
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2021-06-09 10:52:38 +02:00
simon lehericey
09b3cf98f6 use nb_dossiers to estimate total weight
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2021-06-09 10:52:38 +02:00
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