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
simon lehericey
ebd4d6a067
update FC/AG images
2022-03-03 09:30:15 +01: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
Paul Chavard
0a4d87abdb
Merge pull request #7002 from tchak/feat-admin-dossiers-count
...
feat(administrateur): dossiers count should only include relevant dossiers
2022-03-02 15:42:09 +00:00
Paul Chavard
ac6e219074
feat(administrateur): dossiers count should only include relevant dossiers
2022-03-02 15:37:42 +00:00
Pierre de La Morinerie
49853440f0
Merge pull request #7001 from betagouv/add-instructeur-constraint
...
Suppression des AdministrateursInstructeur quand un Instructeur est supprimé
2022-03-02 14:14:27 +01:00
Pierre de La Morinerie
13dfa577bd
db: add missing part of schema.rb
2022-03-02 14:09:43 +01:00
Pierre de La Morinerie
5eee6b161f
db: add foreign key contraints to AdministrateursInstructeur
2022-03-02 14:09:23 +01:00
Pierre de La Morinerie
087e438eb6
models: delete AdministrateursInstructeur when destroying Instructeur
...
By default, `has_and_belongs_to_many` properly deletes the record in
the join table.
However, as the association is declared manually with a
`has_many / through`, it doesn't delete the joined record automatically.
As we also lack a foreign-key contraint on the join table, that means
a dangling record remains in the join table.
To fix this, let's declare it a proper `has_and_belongs_to_many`
association, which will let the join record be deleted automatically
on destroy.
2022-03-02 11:26:53 +01:00
Paul Chavard
92e79027c4
Merge pull request #6997 from betagouv/fix-drom-phones-formatting
...
Correction de l'affichage des numéros de téléphone des DROM
2022-03-02 10:05:53 +00:00
Pierre de La Morinerie
e32c9a9f94
models: don't attempt to format invalid phone numbers
...
This is a defensive-programming measure, because formatting an
invalid phone number may truncate some leading numbers.
2022-03-02 09:57:03 +00:00
Pierre de La Morinerie
f35d18cd5c
models: stop truncating DROM phone numbers
...
Fix #6996
2022-03-02 09:57:03 +00:00