Commit graph

22865 commits

Author SHA1 Message Date
simon lehericey
523e4fff41
spec: fix flaky 2024-09-02 16:52:25 +02:00
Lisa Durand
b5051a25d9
it displays an alert if using test service before publishing a procedure 2024-09-02 16:52:21 +02:00
Colin Darie
4db4cf1513
fix(attestation): don't render block levels presentation elements into a p 2024-09-02 16:11:02 +02:00
Colin Darie
c9956c4881
feat(attestation): better presentation of repetition champs 2024-09-02 16:11:02 +02:00
Colin Darie
09581ad028
feat(attestation): render multiple drop down list as list 2024-09-02 15:23:11 +02:00
Colin Darie
ae207ac2e6
chore(attestation): link to new test dossier 2024-09-02 15:23:11 +02:00
Colin Darie
8e1cfd50dd
feat(procedure): improve dossier_for_preview with last dossier, excluding hidden by user 2024-09-02 15:23:10 +02:00
Colin Darie
31cc6578aa
Merge pull request #10725 from colinux/admin-minor-renaming
ETQ admin, renomme *Pour aller plus loin* en *Autres paramètres*
2024-09-02 13:20:52 +00:00
Colin Darie
8f60909155
chore(admin): rename 'Pour aller plus loin' => 'Autres paramètres'
Closes #9844
2024-09-02 15:12:41 +02:00
Colin Darie
cb902732be
Merge pull request #10710 from demarches-simplifiees/remove-unused-hidden-at-for-dossiers-ldu
[Tech] Retirer la colonne obsolète 'hidden_at' des dossiers (part 1)
2024-09-02 12:41:28 +00:00
mfo
f171727140
Merge pull request #10703 from mfo/US/dry-rna-rnf-siret-addresses-view
ETQ instructeur, je souhaite acceder aux information liées à l'adresses des champs RNA/RNF/SIRET
2024-09-02 12:25:54 +00:00
mfo
622b3d0ff2
Merge pull request #10732 from mfo/US/unflack_expert_spec
Tech : corrige un test qui bagotait (expert_spec:141)
2024-09-02 12:25:34 +00:00
mfo
810068e5a8
fix(spec): no more flackyness on ./spec/system/experts/expert_spec.rb:141 2024-09-02 11:14:32 +02:00
mfo
0ffb7cd886
Merge pull request #10731 from mfo/US/fix-spec
Tech : corrige un test cassé
2024-09-02 08:54:02 +00:00
mfo
7c3dd84e9f
fix(spec): broken 2024-09-02 09:55:17 +02:00
Colin Darie
46547cb2cd
Merge pull request #10729 from mfo/US/fix-errored-data
ETQ usager, je souhaite que me dossier soit debloqué
2024-08-30 17:45:04 +02:00
mfo
3a33d8af45
fix(data): unlock broken dossier due to bad release 2024-08-30 17:37:05 +02:00
Colin Darie
fb184ce372
Merge pull request #10728 from demarches-simplifiees/revert-10711-refactor-champ-related-cleanups
Revert "Champ related cleanups and refactoring"
2024-08-30 16:52:18 +02:00
Colin Darie
e7443c2308
Revert "Champ related cleanups and refactoring" 2024-08-30 16:43:30 +02:00
mfo
b79860229e
tech(data): validate fk between champs.dossier_id and dossiers.id 2024-08-30 15:13:40 +02:00
LeSim
7693d216d8
Merge pull request #10726 from mfo/fix-delete-orphaned
correctif : ETQ tech je souhaite que a tache qui détruit les champs sans dossier fonctionne
2024-08-30 12:00:36 +00:00
mfo
818e16b234
fix(delete_orphaned_champs_with_missing_dossier): must reload champ before destroying when plucked. also rescue error when repetition chidren is destroyed after parent 2024-08-30 11:39:50 +02:00
LeSim
ad6aa84774
Merge pull request #10723 from demarches-simplifiees/multiple_urls
Ajoute la possibilité d'avoir plusieurs urls pour une démarche (HACK à ne pas utiliser)
2024-08-29 16:08:54 +00:00
simon lehericey
6677f31652
use path_rewrite in commencer controller 2024-08-29 17:01:40 +02:00
simon lehericey
516205efd9
add path_rewrite model 2024-08-29 16:15:07 +02:00
Colin Darie
5859ea4a23
chore: load rails 7.0 defaults 2024-08-28 13:58:59 +02:00
Colin Darie
ca7100c7af
chore(encryption): task rotating api particulier token encrypted attributes 2024-08-28 13:58:59 +02:00
Colin Darie
3ac671576b
chore(encryption): rotate key with new default digest (SHA256) 2024-08-28 13:58:59 +02:00
Colin Darie
98ff68f923
chore: rotate cookies with SHA256 hash 2024-08-28 13:58:59 +02:00
Colin Darie
ced61b4613
chore: config cache format to rails 7 2024-08-28 13:58:58 +02:00
mfo
a784b01ff1
Merge pull request #10718 from mfo/US/change_delete_orphaned_champs_from_maintenance_task_to_after_party
ETQ Tech, je souhaite pouvoir lancer une tache de migration avec un PG_STATEMENT_TIMEOUT personnalisable
2024-08-27 11:54:44 +00:00
mfo
bab8fc2d29
fix(delete_orphaned_champs): maintenance tasks with custom PG_STATEMENT_TIMEOUT is not a good fit. change implementation to after_party 2024-08-27 13:43:28 +02:00
mfo
0771d207f3
Merge pull request #10716 from mfo/US/fix-bad-data
ETQ instance DS, je souhaite que l'intégrité des données entre les champs et les dossiers soient garantie par une contrainte en base de donnée
2024-08-26 14:23:25 +00:00
mfo
1d84c0f55b
fix(champs.orphaned): add maintenance task to clean orphaned champs where dossier is missing 2024-08-26 16:00:59 +02:00
mfo
ccddf885f6
fix(data): add missing foreign key on production between champs.dossier_id and dossier.id, use validate: false to delay validation 2024-08-26 15:56:05 +02:00
Paul Chavard
7b4d1e4c03
Merge pull request #10711 from tchak/refactor-champ-related-cleanups
Champ related cleanups and refactoring
2024-08-26 13:10:50 +00:00
Paul Chavard
79c9784d17
refactor(dossier loader): simplify all the things 2024-08-26 14:53:56 +02:00
Paul Chavard
bb288337bf
cleanup(prefill): remove unused validation 2024-08-26 14:53:56 +02:00
Paul Chavard
3ef6f450da
cleanup: more concistent methods usage 2024-08-26 14:53:56 +02:00
Paul Chavard
32bf3ec9db
cleanup in spec 2024-08-26 14:53:56 +02:00
Paul Chavard
5edb8749c0
refactor(attestation): unspecified_champs_for_dossier based on types_de_champ 2024-08-26 14:53:56 +02:00
Paul Chavard
1aee7ab1d2
refactor(champ): more concistent champ_for_update usage 2024-08-26 14:53:56 +02:00
Paul Chavard
f7cd7e615d
refactor(champs): validate only champs in current revision 2024-08-26 14:53:56 +02:00
Paul Chavard
8ccf2bed4c
refactor(apiv1): use dossier preloader on api v1 2024-08-26 14:53:56 +02:00
Paul Chavard
701a28302e
refactor(dossier): remove unused scopes 2024-08-26 14:53:56 +02:00
Paul Chavard
bb2f590d18
refactor(repetition): use less champs and public_id methods 2024-08-26 14:53:56 +02:00
Eric Leroy-Terquem
8ec2b38d8a
Merge pull request #9944 from demarches-simplifiees/can-route-by-address
ETQ admin je peux conditionner / router depuis un champ adresse
2024-08-26 09:45:11 +00:00
Eric Leroy-Terquem
fade633828
feat(routing): can create simple routing with address tdc 2024-08-26 11:16:47 +02:00
Eric Leroy-Terquem
8b4b4d7cb7
feat(conditional): can condition and route on address champ 2024-08-26 11:16:46 +02:00
mfo
340828c3d3
Merge pull request #10714 from mfo/US/fix-populate-siret-value-json-missing-dossier
Correctif, ETQ Tech, je souhaite que la tache qui peuple les adresses normalisées des champs siret ne plante pas a cause de bad data sur les champs
2024-08-26 08:43:18 +00:00