Pierre de La Morinerie
d2f12e5188
db: copy user-related ids to the respective models
2022-03-15 15:57:22 +01:00
Pierre de La Morinerie
48ea53b90d
db: add foreign keys to Administrateur, Instructeur and Expert
2022-03-15 15:15:51 +01:00
Pierre de La Morinerie
be834ba58d
models: reload old_user roles before destroying it
...
Otherwise ActiveRecord believes that old_user still has roles (although
they have been migrated to the new user), and attempts to delete them.
2022-03-15 15:13:45 +01:00
Pierre de La Morinerie
2cac7d96be
models: fix procedure_revision comments indentation
2022-03-15 15:13:45 +01:00
Paul Chavard
4329d3e81e
Merge pull request #7044 from betagouv/test_for_sections_number_in_preview
...
Durcit le test de preview
2022-03-15 11:23:02 +01:00
simon lehericey
0a3eb4a909
reinforce preview testing
2022-03-15 11:15:28 +01:00
Paul Chavard
968531f45b
Merge pull request #7042 from betagouv/fix_sections
...
quick fix of sections in preview
2022-03-15 10:58:45 +01:00
simon lehericey
44f2d93277
quick fix of sections in preview
2022-03-15 10:54:39 +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
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
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
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