Commit graph

13147 commits

Author SHA1 Message Date
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
315ca09885
Merge pull request #6253 from betagouv/main
2021-06-03-01
2021-06-03 13:36:24 +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
Pierre de La Morinerie
f34be0fed6
Merge pull request #6247 from betagouv/main
2021-06-01-01
2021-06-01 10:53:12 +02: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
Paul Chavard
9317530f4b
Merge pull request #6238 from adullact/6237_fix_instructeurs-import-spec
#6237 - Fix (InstructeursImportService): test fails randomly
2021-05-27 09:55:15 +02:00
François Vantomme
99086a63be Fix (Instructeur): deal nicely with non-guaranteed elements order in arrays
Use of one-dimension arrays comparison & `contain_exactly` RSpec matcher
to avoid this behaviour:

Failures:
  1) InstructeursImportService#import when an email is malformed ignores or corrects
     Failure/Error:
       expect(procedure_groupes).to match_array([
         ["Occitanie", ["paul@mccartney.uk", "ringo@starr.uk"]],
         ["défaut", []]
       ])
       expected collection contained:  [["Occitanie", ["paul@mccartney.uk", "ringo@starr.uk"]], ["défaut", []]]
       actual collection contained:    [["Occitanie", ["ringo@starr.uk", "paul@mccartney.uk"]], ["défaut", []]]
       the missing elements were:      [["Occitanie", ["paul@mccartney.uk", "ringo@starr.uk"]]]
       the extra elements were:        [["Occitanie", ["ringo@starr.uk", "paul@mccartney.uk"]]]
     # ./spec/services/instructeurs_import_service_spec.rb:70:in `block (4 levels) in <main>'
2021-05-27 08:33:52 +02:00
Paul Chavard
f74e4e532e
Merge pull request #6234 from tchak/fix-apostrophes
Fix apostrophes
2021-05-26 18:13:53 +02:00
Paul Chavard
9b0dae4cc2 Fix apostrophes ‘ -> ’ 2021-05-26 18:05:14 +02:00
Paul Chavard
bd7bb2d0d2 Fix apostrophes ‘ -> ’ 2021-05-26 15:09:23 +02:00
Paul Chavard
9df24b7168
Merge pull request #6233 from betagouv/main
2021-05-26-01
2021-05-26 12:57:53 +02:00
Paul Chavard
6fbf689f20
Merge pull request #6232 from tchak/fix-carto
Do not crash when properties is nil
2021-05-26 12:49:23 +02:00
Paul Chavard
4922bc88d6 Do not crash when properties is nil 2021-05-26 12:40:07 +02:00
Paul Chavard
a1b48fa1df
Merge pull request #6230 from tchak/cadastres-descriptions
Enable add descriptions to cadastres
2021-05-26 12:00:42 +02:00
Paul Chavard
dfc46a8736 Enable add descriptions to cadastres 2021-05-26 11:27:09 +02:00
Paul Chavard
daa20b0b6d
Merge pull request #6228 from tchak/update-export-query
Update dossier serialize query to stop using deprecated fileds
2021-05-26 11:26:29 +02:00
Paul Chavard
18ce027b84 Update dossier serialize query to stop using deprecated fileds 2021-05-26 11:12:06 +02:00