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 |
|
Kara Diaby
|
c9f402aa5b
|
tests
|
2022-01-25 11:46:05 +01:00 |
|
Paul Chavard
|
403e71b41f
|
feat(procedure): only purge procedures without dossiers
|
2022-01-18 11:22:04 +01:00 |
|
Kara Diaby
|
bdcb0ca0e9
|
tests
|
2022-01-12 15:49:38 +01:00 |
|
Paul Chavard
|
2ba05bfb4f
|
fix(dossier): use depose_at instead of en_construction_at
|
2021-12-06 15:49:17 +01:00 |
|
Martin
|
d87f8b57cc
|
feat(instructeurs/procedures#show): add dossier experiant in procedure#show
|
2021-12-06 07:05:17 +01:00 |
|
Martin
|
ce87878ff0
|
refactor(traitement.process_expired): move process expired to procedure
|
2021-12-03 16:32:36 +01:00 |
|
simon lehericey
|
5a0fb6237f
|
😭 AASM does not support keyword arguments
https://github.com/aasm/aasm/issues/672
|
2021-11-30 09:42:45 +01:00 |
|
Paul Chavard
|
d847775c68
|
feat(traitements): add depose_at to dossiers
|
2021-11-25 12:57:55 +03:00 |
|
mfo
|
e7d9d047fe
|
Merge branch 'main' into 6649-etq-usager-instructeur-rendre-la-suppression-plus-visible
|
2021-11-24 14:07:32 +01:00 |
|
Pierre de La Morinerie
|
774ef00f8e
|
specs: improve dossier_spec#build_default_individual
|
2021-11-23 08:07:07 +01:00 |
|
Martin
|
608a85148f
|
feat(Dossier.close_to_expiration): add method to find any kind of dossier close to expiration [reuse previous scopes], add missing spec to termine_close_to_expiration, complement spec for each kind of expiration scope with general close_to_expiration spec
|
2021-11-19 14:28:54 +01:00 |
|
Paul Chavard
|
da47f491b3
|
fix(dossier): nullify close to expiration notice timestamps when changing state
|
2021-11-11 12:52:58 +01:00 |
|
Paul Chavard
|
122cdacbc2
|
fix(avis): destroy avis for discarded en_construction dossiers
|
2021-11-04 10:12:44 +01:00 |
|
Paul Chavard
|
f6b8689a97
|
fix(revisions): fix repetitions export with revisions
|
2021-11-03 18:20:48 +01:00 |
|
Paul Chavard
|
da49a6447f
|
refactor(repetition): optimize and add a transaction around repetition add row
|
2021-10-28 14:54:33 +02:00 |
|
Paul Chavard
|
1393b7b07b
|
fix(rebase): fix repetition champ rebase
|
2021-10-28 13:27:53 +02:00 |
|