Commit graph

14253 commits

Author SHA1 Message Date
Paul Chavard
bd4b2e3d47
Merge pull request #7041 from betagouv/main
2022-03-15-01
2022-03-15 10:20:15 +01:00
Paul Chavard
79bb26e4dd
Merge pull request #7024 from tchak/fix-instructeur-show-n+1
fix(instructeur): avoid n+1 in instructeur_dossiers#show et user_dossiers#show
2022-03-15 10:12:59 +01:00
Paul Chavard
77c2187747 fix(instructeur): avoid n+1 in instructeur_dossier#show and user_dossier#show 2022-03-15 09:57:54 +01:00
Pierre de La Morinerie
8b1af41273
Merge pull request #6912 from adullact/fix/6870-migration-export-key
Correction de la migration 20210402163003_exports_key_not_null
2022-03-15 09:01:16 +01:00
François Vantomme
5d448fd152 fix(export): set a random UUID key before forcing not null 2022-03-15 08:57:39 +01:00
Paul Chavard
31992b1e26
Merge pull request #7022 from tchak/graphql-more-info
feat(graphql): expose more dossier informations
2022-03-14 16:10:08 +01:00
Paul Chavard
ec2f2dc78c feat(graphql): expose more dossier informations 2022-03-14 15:58:02 +01:00
Paul Chavard
14342e72f5
Merge pull request #7026 from tchak/fix-deleted-dossier-no-link
Améliorer la vue des dossiers (supprimés) pour les instructeurs
2022-03-14 15:57:30 +01:00
Paul Chavard
0695ea322a refactor(instructeur): improuve dossiers list view 2022-03-11 14:06:34 +01:00
Paul Chavard
a50d07400e refactor(instructeur): cleanup destroy / restore routes 2022-03-11 14:06:34 +01:00
Paul Chavard
78bf1147d0 refactor(instructeur): use better fallback location 2022-03-11 13:55:36 +01:00
Paul Chavard
bc4ff661ad
Merge pull request #7023 from tchak/refactor_champ_siblings
perf(dossier): memoize champ.sections
2022-03-11 12:26:38 +01:00
Paul Chavard
7c75a25552
Merge pull request #7025 from betagouv/main
2022-03-11-01
2022-03-11 12:11:03 +01:00
Paul Chavard
c60a8970f1 perf(dossier): memoize champ.sections on dossier 2022-03-11 00:15:53 +01:00
Pierre de La Morinerie
51af70639b
Merge pull request #6920 from adullact/feature/6878-config-footer
Les vues et les traductions de l'app sont maintenant facilement configurables par les instances
2022-03-10 17:35:40 +01:00
François Vantomme
d5cd0101c8 feat(footer): customize using custom views & locales 2022-03-10 17:31:20 +01:00
Paul Chavard
0b4fa6f3c9
Merge pull request #7014 from tchak/feat-deleted-dossiers-scopes
Ne plus utiliser Discarded sur les Dossiers et utiliser les bons scopes
2022-03-10 16:28:54 +01:00
Paul Chavard
d3ceba8955 feat(manager): display hidden_by_user_at and hidden_by_administration_at in manager views 2022-03-10 14:29:40 +01:00
Paul Chavard
51d7fd6190 test(dossier): update spec to use visible_by_administration 2022-03-10 14:29:40 +01:00
Paul Chavard
54b559364a feat(dossier): replace discarded with visible_by_administration 2022-03-10 14:29:40 +01:00
Paul Chavard
59b0f3961d refactor(dossier): improuve dossiers_count_summary 2022-03-10 14:29:40 +01:00
mfo
7c05a5fdee
Merge pull request #7010 from betagouv/US/doc/privacy-policy-constraints
doc(privacy-policy): add privacy policy doc
2022-03-10 10:53:10 +01:00
mfo
e60c515e9b
Merge branch 'main' into US/doc/privacy-policy-constraints 2022-03-10 10:48:45 +01:00
Paul Chavard
475634a854
Merge pull request #7021 from betagouv/main
2022-03-10-01
2022-03-10 10:03:50 +01:00
mfo
bb838c8eef
Update doc/PRIVACY-POLICY.md
Co-authored-by: LeSim <mail@simon.lehericey.net>
2022-03-10 07:04:37 +01:00
LeSim
aaebcf7121
Merge pull request #7018 from tchak/migration-dossiers-deleted-scopes-fix
fix(migration): add with_discarded to seed_hidden_at_dossiers
2022-03-09 18:00:24 +01:00
Paul Chavard
4c567632e5 fix(migration): add with_discarded to seed_hidden_at_dossiers 2022-03-09 17:53:49 +01:00
Paul Chavard
bda6f81528
Merge pull request #7017 from tchak/migration-dossiers-deleted-scopes
migrate(dossier): fill hidden_by_administration_at and hidden_by_user_at from hidden_at
2022-03-09 17:47:43 +01:00
Paul Chavard
bcbcd11c42 migrate(dossier): fill hidden_by_administration_at and hidden_by_user_at from hidden_at 2022-03-09 17:41:28 +01:00
LeSim
6ae901fd41
Merge pull request #7016 from betagouv/bump_rails
bump rails to 6.1.4.7
2022-03-09 12:48:05 +01:00
simon lehericey
feeb8b691a bump rails to 6.1.4.7 2022-03-09 10:32:29 +01:00
Pierre de La Morinerie
24b72b23b0
Merge pull request #7015 from betagouv/main
2022-03-08-01
2022-03-08 15:25:58 +01:00
Pierre de La Morinerie
24e5450150
Merge pull request #7013 from betagouv/add-procedure-constraint
Suppression des AdministrateursProcedure quand une Procedure est supprimée
2022-03-08 15:18:12 +01:00
Pierre de La Morinerie
27edc6676d db: add foreign key contraint to AdministrateursProcedure
In production there are around 20 000 AdministrateursProcedure
records that reference a deleted Procedure.
2022-03-08 14:48:17 +01:00
Pierre de La Morinerie
a4108c7787 db: backport delete_orphans in recent migrations
Recent migrations used ActiveRecord when removing invalid data. This may
break if the ActiveRecord model later changes.

To ensure these migrations will run correctly, even when the code will
have changed, let's use an SQL-based helper instead of ActiveRecord.
2022-03-08 14:48:17 +01:00
Pierre de La Morinerie
3a16235868 db: Add a delete_orphans db helper 2022-03-08 14:47:43 +01:00
Martin
393c678fdd doc(privacy-policy): add privacy policy doc
Update doc/PRIVACY-POLICY.md

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>

Update doc/PRIVACY-POLICY.md

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>

Update doc/PRIVACY-POLICY.md

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>

Update doc/PRIVACY-POLICY.md

Update doc/PRIVACY-POLICY.md

Update doc/PRIVACY-POLICY.md

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2022-03-08 13:46:49 +01:00
Pierre de La Morinerie
a645c5781d models: delete AdministrateursProcedure when destroying Procedure 2022-03-08 09:20:34 +01:00
mfo
c2eab85a90
Merge pull request #7008 from benoit-bernier/patch-1
Typo correction
2022-03-03 17:04:43 +01:00
mfo
62351153a1
Merge branch 'main' into patch-1 2022-03-03 17:01:16 +01:00
mfo
eb470b8cb7
Merge pull request #7009 from benoit-bernier/patch-2
Typo correction
2022-03-03 17:00:56 +01:00
Benoît Bernier
8ee6c5fe1b
Typo correction 2022-03-03 16:48:26 +01:00
Benoît Bernier
02661b5ec7
Typo correction 2022-03-03 16:46:02 +01:00
LeSim
3bd91d6ae3
Merge pull request #7004 from betagouv/agent_connect_is_beautiful
Rend la page de connexion visible en entier en 1280
2022-03-03 09:52:54 +01:00
simon lehericey
a01e523f08 more compression 2022-03-03 09:30:15 +01:00
simon lehericey
4c432b2ce8 wording 2022-03-03 09:30:15 +01:00
simon lehericey
ebd4d6a067 update FC/AG images 2022-03-03 09:30:15 +01:00
Paul Chavard
fb2b6686aa
Merge pull request #7006 from betagouv/main
2022-03-02-02
2022-03-02 17:24:05 +00:00
Paul Chavard
d8b445f39b
Merge pull request #7003 from tchak/fix-routage-toggle
fix(dossier): ensure submitted dossiers always have groupe instructeur
2022-03-02 17:01:34 +00:00
Paul Chavard
91caef0bfe fix(dossier): ensure submitted dossiers always have groupe instructeur 2022-03-02 16:57:12 +00:00