Commit graph

12596 commits

Author SHA1 Message Date
Kara Diaby
d57e1cc286
Merge pull request #6212 from betagouv/main
2021-05-19-01
2021-05-19 11:40:34 +02:00
LeSim
2c97f123a1
Merge pull request #6210 from betagouv/fix_display_champ_in_projection_service
Corrige un mauvais affichage de champ dans le tableau de bord d'une procédure
2021-05-19 09:50:52 +02:00
simon lehericey
a46000dc1f ensure to_s is used on specialized champ 2021-05-19 09:39:20 +02:00
Kara Diaby
45a4a3d2d0
Merge pull request #6145 from betagouv/feat/6133-1
ETQ expert, je veux pouvoir trouver un dossier spécifique via la barre de recherche
2021-05-18 22:05:00 +02:00
simon lehericey
3c01488db2 use set to avoid duplicate in @dossier_count 2021-05-18 11:43:20 +02:00
simon lehericey
663d287962 proposition de simplification 2021-05-18 11:43:17 +02:00
simon lehericey
02e2128fb7 proposition de simplification 2021-05-18 11:42:11 +02:00
Paul Chavard
e043645a88 cleanup tests 2021-05-18 11:42:10 +02:00
kara Diaby
468e9e849a tests 2021-05-18 11:42:10 +02:00
kara Diaby
6a1ed2e02d layout 2021-05-18 11:42:10 +02:00
kara Diaby
fdde55f675 modify service 2021-05-18 11:42:10 +02:00
kara Diaby
7d9cf63056 add and modify controllers 2021-05-18 11:42:10 +02:00
kara Diaby
b3caa2e5f4 add route 2021-05-18 11:42:10 +02:00
LeSim
c869ea3d3c
Merge pull request #6206 from tchak/fix-deleted-user
Fix dossier deleted user display
2021-05-18 11:40:53 +02:00
Paul Chavard
5f419954b4 Fix dossier deleted user display 2021-05-13 10:43:55 +02:00
Paul Chavard
9e1985d721
Merge pull request #6205 from betagouv/main
2021-05-11-02
2021-05-11 18:01:13 +02:00
Paul Chavard
61f49619ba
Merge pull request #6204 from tchak/fix_nullable_user
Dossier without user should be valid
2021-05-11 17:59:54 +02:00
Paul Chavard
3f7a2bea9b Dossier without user should be valid 2021-05-11 17:50:10 +02:00
Paul Chavard
c38bfedb80
Merge pull request #6182 from tchak/add_brouillon_extend_conservation_column_part_2
Rename en_construction_conservation_extension to conservation_extension – part 2
2021-05-11 17:42:49 +02:00
Paul Chavard
8a74438dc1 Use conservation_extension instead of en_construction_conservation_extension 2021-05-11 17:33:53 +02:00
Paul Chavard
3d40039182
Merge pull request #6202 from betagouv/main
2021-05-11-01
2021-05-11 16:48:55 +02:00
Paul Chavard
109e5e74b2 Use interval string representation 2021-05-11 15:29:41 +02:00
Paul Chavard
58a90eb4a6 fix update_all query 2021-05-11 14:53:41 +02:00
Paul Chavard
a5d217aec2
Merge pull request #6175 from tchak/add_brouillon_extend_conservation_column
Rename en_construction_conservation_extension to conservation_extension
2021-05-11 14:17:47 +02:00
Paul Chavard
4a874a282c Add progress report 2021-05-11 14:08:51 +02:00
Paul Chavard
d0fe78351e Update lib/tasks/deployment/20210429172327_rename_conservation_extension.rake
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2021-05-11 14:08:51 +02:00
Paul Chavard
e1b3ea122c Update lib/tasks/deployment/20210429172327_rename_conservation_extension.rake
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2021-05-11 14:08:51 +02:00
Paul Chavard
1e0d6ea28f Rename en_construction_conservation_extension to conservation_extension 2021-05-11 14:08:51 +02:00
Pierre de La Morinerie
298718936f
Merge pull request #6189 from betagouv/dependabot/npm_and_yarn/lodash-4.17.21
Mise à jour de la dépendance Javascript `lodash` de 4.17.19 à 4.17.21
2021-05-11 13:38:34 +02:00
dependabot[bot]
5a1da2d4e9
Bump lodash from 4.17.19 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 11:30:06 +00:00
Pierre de La Morinerie
aac7f49ce6
Merge pull request #6190 from betagouv/dependabot/npm_and_yarn/hosted-git-info-2.8.9
Mise à jour de la dépendance Javascript `hosted-git-info` de la version 2.8.8 à 2.8.9
2021-05-11 13:01:56 +02:00
dependabot[bot]
166d6210d6
Bump hosted-git-info from 2.8.8 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 10:52:18 +00:00
Pierre de La Morinerie
06e607817d
Merge pull request #6186 from betagouv/dependabot/npm_and_yarn/url-parse-1.5.1
Mise à jour de la dépendance Javascript `url-parse` de 1.4.7 à 1.5.1
2021-05-11 12:38:54 +02:00
dependabot[bot]
5b18eef232
Bump url-parse from 1.4.7 to 1.5.1
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.1.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 10:30:57 +00:00
LeSim
7130e75913
Merge pull request #6193 from betagouv/main
2021-05-10-01
2021-05-10 12:12:55 +02:00
LeSim
93104d4782
Merge pull request #6192 from betagouv/fix_dossier_state_spreadsheet_export
corrige une traduction manquante pour l'état d'un dossier dans les exports csv/excel ...
2021-05-10 11:28:55 +02:00
simon lehericey
c5f6c9ae1e fix missing state translation 2021-05-10 11:17:34 +02:00
LeSim
c639268e74
Merge pull request #6188 from adullact/6187_fix_spec_api-entreprise_exercices-job
#6187 - Fix(API Entreprise): test fails randomly
2021-05-10 11:17:01 +02:00
François Vantomme
99ce5195bc Fix (API Entreprise): test fails randomly
Don't assume array order, just check that all values are present
2021-05-07 17:42:15 +02:00
LeSim
03acf89fa7
Merge pull request #6185 from betagouv/main
2021-05-07-01
2021-05-07 12:10:23 +02:00
LeSim
656068e53f
Merge pull request #6184 from betagouv/bump_administrate
update administrate
2021-05-07 11:25:39 +02:00
simon lehericey
19aefa1fd0 update administrate 2021-05-07 11:15:22 +02:00
Paul Chavard
611afa2014
Merge pull request #6181 from tchak/fix-smtp-config
Use explicit name to avoid unknown constant errors
2021-05-06 16:31:54 +02:00
Paul Chavard
e8cdded515 Use explicit name to avoid unknown constant errors 2021-05-06 16:10:48 +02:00
Pierre de La Morinerie
65a280660d
Merge pull request #6177 from betagouv/remove-older-after-party-tasks
Suppression des tâches de déploiement `after_party` les plus anciennes (#6177)
2021-05-06 15:28:05 +02:00
Pierre de La Morinerie
77b65f3aa0 tasks: remove older after_party tasks 2021-05-06 15:19:37 +02:00
Pierre de La Morinerie
9fd42a809f
Merge pull request #6180 from betagouv/fix-administrate-translation
SuperAdmin : correction de l'affichage de la page `/manager/dossiers`
2021-05-06 15:18:52 +02:00
Pierre de La Morinerie
b398485d97 manager: localize dossier enums
In the previous commit, we cleaned up the localization of the
Dossier.state enum. This prevented administrate from crashing, but now
the dossier enum are no longer localized in the Manager.

By using a `Field::Enum` type, we instruct the administrate plugin
to look up our localized name for the Dossier state enum.
2021-05-06 14:41:08 +02:00
Pierre de La Morinerie
b8f71bd52c i18n: fix enum values for Dossier.state
According to Rails i18n guide, enum values should be localized
as `<model>/<enum>`, not as sub-values to the attribute.

This fixes an exception in administrate when displaying a Dossier
in the Manager.

Note: we need to change the way GraphQL attributes are generated, because
`AASM::Core::State#display_name` doesn’t honor the `model/attribute.value`
convention (and instead tries to localize as `model.attribute/value`).
So instead we lookup the localized name using ActiveRecord.
2021-05-06 14:38:25 +02:00
Pierre de La Morinerie
752401a18a
Merge pull request #6179 from betagouv/main
2021-05-06-01
2021-05-06 11:40:02 +02:00