Paul Chavard
|
243a8301bb
|
fix(dossier): authorize passage en instruction if auto archive is on and is in the past
|
2022-12-14 22:16:13 +01:00 |
|
sebastiencarceles
|
1e21a3d3e1
|
review: query the db only once
|
2022-12-08 15:27:39 +01:00 |
|
sebastiencarceles
|
24802985a2
|
feat(dossier): prefill dossier from query params
|
2022-12-08 15:27:39 +01:00 |
|
Paul Chavard
|
bb47e8d2ab
|
fix(dossier): dossier.repasser_en_construction! should take disable_notification
|
2022-12-07 13:14:59 +01:00 |
|
Martin
|
61f4cded75
|
poc(batch_operation): just the model and some specs and a poc for archive them without async
|
2022-12-06 11:28:48 +01:00 |
|
Colin Darie
|
7cbe6bbaa4
|
fix(attachment): clone piece justificatives with multiple attachments
|
2022-12-05 10:47:10 +01:00 |
|
Paul Chavard
|
c5901fbb95
|
clean(type_de_champ): remove magic factory
|
2022-12-01 16:36:59 +01:00 |
|
simon lehericey
|
f96a7f432c
|
clean(dossier): useless method
|
2022-11-29 15:33:10 +01:00 |
|
Paul Chavard
|
cafda4f6f0
|
refactor(attestation_template): move to procedure
|
2022-11-23 12:26:26 +01:00 |
|
Paul Chavard
|
c0fd080d0e
|
refactor(operation_log): store data in jsonb instead of files
|
2022-11-22 18:06:05 +01:00 |
|
Paul Chavard
|
0c0618aa79
|
feat(export): add GeoJSON export
|
2022-11-18 10:04:35 +01:00 |
|
Paul Chavard
|
29bdd82b59
|
refactor(procedure): types_de_champ -> active_revision.types_de_champ_public
|
2022-11-17 13:54:14 +01:00 |
|
Martin
|
18b7f4e4fa
|
remaniement(dossier.clone): simplifications, pas de callback/after, pas d'heritage, mm interface pour cloner les champs public/prive, clonage des PJs avec le nouveau service de clone, ajoute une cle etrangere sur la colonne parent_dossier_id
|
2022-11-14 09:53:19 +01:00 |
|
Martin
|
90f7d265c6
|
amelioration(clone.piece_justificative): gestion du clonage des piece justificative dans une tache asynchrone
|
2022-11-14 09:13:54 +01:00 |
|
Martin
|
844004818a
|
amelioration(dossier.clone): dossier.clone, permet de cloner un dossier
|
2022-11-14 09:13:52 +01:00 |
|
Paul Chavard
|
e6288c39f2
|
refactor(dossier): champs -> champs_public
|
2022-11-10 22:44:39 +00:00 |
|
Martin
|
1b1568b2c2
|
remaniement(Administrateurs::ArchivesController): ne passe pas par la table des traitement pour compter le nombre de dossier traites par mois. Depuis que nous avons redescendu la colonne processed_at sur la table dossiers, ce n'\est plus necessaire et le code est compliqué a comprendre
|
2022-11-01 12:43:49 +01:00 |
|
simon lehericey
|
c6e7db3622
|
fix(export): bug when combining revision and conditional
|
2022-10-18 11:53:13 +02:00 |
|
simon lehericey
|
fbf089d60e
|
refactor(dossier): rename check_mandatory_champs -> check_mandatory_and_visible_champs
|
2022-10-18 11:13:41 +02:00 |
|
simon lehericey
|
d5d031e15d
|
fix(export): do not export invisible champ
|
2022-10-14 10:30:27 +02:00 |
|
Martin
|
c921e6e1ee
|
fix(ProcedureExportService): downloadable_sorted_batch is scoped by export, no need to re-filter them via downloadablable_sorted_batch otherwise export for supprimes_recemment does not includes dossier.supprimes_recemment
|
2022-10-10 11:11:21 +02:00 |
|
Christophe Robillard
|
bdcb451d3c
|
procedure publiee must have one zone at least
|
2022-10-07 10:48:35 +02:00 |
|
Colin Darie
|
e7de19b24d
|
fix(dossier): avoir final state if etablissement is still in degraded mode
Maintenant qu'on autorise un dossier pour entreprise a être créé en mode "dégradé",
(avec établissement incomplet suite à API Entreprise/INSEE down…),
on empêche de l'accepter/refuser/classer sans suite tant qu'on a pas
vérifié son SIRET.
Fix https://sentry.io/organizations/demarches-simplifiees/issues/2839832517/?project=1429550&query=is%3Aunresolved
|
2022-09-21 16:00:59 +02:00 |
|
Paul Chavard
|
bbca7344e5
|
fix(conditional): mandatory champs inside hidden repetition should not be validated
|
2022-08-04 14:48:40 +02:00 |
|
Paul Chavard
|
2d7803cd48
|
refactor(spec): use new procedure.types_de_champ factory
|
2022-08-04 12:10:32 +02:00 |
|
Paul Chavard
|
adfc4f8cdd
|
test(dossier): improuve destroy spec
|
2022-07-06 11:12:14 +02:00 |
|
simon lehericey
|
5ebaf59fdb
|
parent_id -> parent_stable_id
|
2022-07-05 11:53:18 +02:00 |
|
Paul Chavard
|
9a6a8411d3
|
feat(export): add déparctement info to commune champ export
|
2022-07-04 16:30:16 +02:00 |
|
Martin
|
d39b3b09ed
|
fix(webhook.perform): ensure to enqueue job with current state/updated_at for consistency reason
|
2022-06-01 15:54:55 +02:00 |
|
Paul Chavard
|
a36672239d
|
refactor(revision): rename find_or_clone_type_de_champ
|
2022-05-31 08:58:53 +02:00 |
|
simon lehericey
|
b3ce124aa8
|
move rebase spec to its own file
|
2022-05-24 15:38:50 +02:00 |
|
Paul Chavard
|
b635952b2f
|
refactor(revision): types_de_champ for export
|
2022-05-23 18:36:18 +02:00 |
|
simon lehericey
|
fd4d543b20
|
fix test
|
2022-05-18 15:18:17 +02:00 |
|
simon lehericey
|
4d97f6aa8c
|
types_de_champ_for_revision
|
2022-05-18 11:40:34 +02:00 |
|
simon lehericey
|
5767c9b97e
|
fix test
|
2022-05-18 10:11:31 +02:00 |
|
Paul Chavard
|
d7678c4389
|
Revert "Merge pull request #7295 from tchak/rollback-attempt"
This reverts commit 24b37c230d , reversing
changes made to 08b90b9173 .
|
2022-05-13 17:17:23 +02:00 |
|
Paul Chavard
|
4c26e34c79
|
Revert "Merge pull request #7270 from betagouv/remove_type_de_champ_v2"
This reverts commit 41b6f8f51b , reversing
changes made to 79d5946ab6 .
|
2022-05-11 20:03:42 +02:00 |
|
simon lehericey
|
58c3b6b16a
|
fix spec : datetime is present in more recent revision
|
2022-05-11 15:59:17 +02:00 |
|
Martin
|
8a6c3bbec0
|
fixup! bug(type_de_champ.repetition): on repetition, when there is a TypeDeChamp::Commune, champs for export should contain 2 entries [one with commune (postal_code), the other for commune (code_insee)].
|
2022-05-06 09:38:45 +02:00 |
|
Martin
|
b1340586de
|
bug(type_de_champ.repetition): on repetition, when there is a TypeDeChamp::Commune, champs for export should contain 2 entries [one with commune (postal_code), the other for commune (code_insee)].
|
2022-05-06 09:38:45 +02:00 |
|
Paul Chavard
|
90dd5bc9c5
|
fix(dossiers): dossier extend_conservation actually works
|
2022-04-08 13:40:28 +02:00 |
|
simon lehericey
|
200e8680d5
|
add uniq index on attestation dossier_id
|
2022-04-05 15:43:21 +02:00 |
|
Martin
|
9484c4cdf4
|
fix(Dossier.processed_in_month): using PG between operator with a date does not play nicely when it is compared to DateTime in postgres. meaning given a Date as 2022/03/31, when compared with a DateTime in postgres, the casting of 2022/03/31 to Datetime becomes 2022/03/31 00:00. So we skiped all dossiers from last date in month
|
2022-04-05 13:54:36 +02:00 |
|
Martin
|
c1884f231c
|
Revert "Merge pull request #7105 from betagouv/US/fix-dossier.processed_in_month"
This reverts commit a0e144b9a7 , reversing
changes made to 49848bd150 .
|
2022-04-05 13:39:37 +02:00 |
|
Martin
|
c07e0fc13e
|
fix(Dossier.processed_in_month): ensure proper usage via method sig instead of defensive programming style
|
2022-04-05 12:14:07 +02:00 |
|
Martin
|
ab777a790c
|
fix(Dossier.processed_in_month): using PG between operator with a date does not play nicely when it is compared to DateTime in postgres. meaning given a Date as 2022/03/31, when compared with a DateTime in postgres, the casting of 2022/03/31 to Datetime becomes 2022/03/31 00:00. So we skiped all dossiers from last date in month
|
2022-04-05 12:14:07 +02:00 |
|
simon lehericey
|
57f9e5bac3
|
always allow dossier pjs download (-9 queries)
|
2022-04-04 17:26:49 +02:00 |
|
Paul Chavard
|
51d7fd6190
|
test(dossier): update spec to use visible_by_administration
|
2022-03-10 14:29:40 +01:00 |
|
Paul Chavard
|
2d396fcfb7
|
feat(dossier): rebase dossiers en construction and en instruction
|
2022-02-18 17:08:38 +01:00 |
|
Kara Diaby
|
24ff41d2c0
|
tests
|
2022-02-09 14:43:36 +01:00 |
|