Paul Chavard
|
b6ea44f7e7
|
refactor(revision): remove type_de_champ#revision_id
|
2022-05-17 11:31:49 +02:00 |
|
simon lehericey
|
10fff77d69
|
spec: split cases
|
2022-05-16 16:51:49 +02:00 |
|
simon lehericey
|
a26a662df4
|
spec: move one level up
|
2022-05-16 16:51:49 +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 |
|
Paul Chavard
|
08caa122dd
|
Revert "Merge pull request #7280 from betagouv/move_type_de_champ_v2"
This reverts commit 08b90b9173 , reversing
changes made to bc9a90bd08 .
|
2022-05-11 20:03:33 +02:00 |
|
simon lehericey
|
df91fd1180
|
move_type_de_champ new style
|
2022-05-11 16:54:26 +02:00 |
|
simon lehericey
|
795513e093
|
spec: clean
|
2022-05-11 16:54:26 +02:00 |
|
simon lehericey
|
58c3b6b16a
|
fix spec : datetime is present in more recent revision
|
2022-05-11 15:59:17 +02:00 |
|
simon lehericey
|
b6c2aa30f4
|
reorder the siblings after deletion
|
2022-05-11 15:59:17 +02:00 |
|
simon lehericey
|
6bf52b1f99
|
remove children shared between 2 revisions
|
2022-05-11 15:59:16 +02:00 |
|
simon lehericey
|
285f402483
|
spec: add test case
|
2022-05-11 15:59:16 +02:00 |
|
simon lehericey
|
b889d18217
|
spec: use children_of
|
2022-05-11 15:59:16 +02:00 |
|
Martin
|
bf277d4802
|
bug(export): expect dossiers_for_export not to include dossiers brouillon
fix(export.dossiers_for_export): add missing visible_by_administration
|
2022-05-10 16:09:12 +02:00 |
|
simon lehericey
|
d2509e7492
|
add procedure_revision children_of
|
2022-05-10 14:52:57 +02:00 |
|
simon lehericey
|
cb4c35e797
|
spec: add special case for repetition_type_de_champ
|
2022-05-06 12:37:59 +02:00 |
|
simon lehericey
|
45f5cd3f4a
|
spec: split procedure creation
|
2022-05-06 12:37:59 +02:00 |
|
simon lehericey
|
02fc25af23
|
spec: more procedure creation split
|
2022-05-06 11:23:10 +02:00 |
|
simon lehericey
|
6d38a44f1f
|
spec: be clear we talk about draft
|
2022-05-06 11:23:10 +02:00 |
|
simon lehericey
|
c1d0256687
|
spec: split procedure creation
|
2022-05-06 11:23:10 +02:00 |
|
simon lehericey
|
becdd4a0ed
|
spec: refactor
|
2022-05-06 11:23:10 +02:00 |
|
simon lehericey
|
d33e7c8cab
|
spec: another isolated type_de_champ_repetition
|
2022-05-06 10:34:40 +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
|
4523c0590c
|
fix(dossier): champs repetable in champs private
|
2022-05-04 15:57:25 +02:00 |
|
simon lehericey
|
35ae011b59
|
remove duplicate test case (see tdc_0)
|
2022-05-04 13:16:12 +02:00 |
|
simon lehericey
|
96eec7e566
|
refactor spec
|
2022-05-04 13:16:12 +02:00 |
|
simon lehericey
|
37e01ea399
|
re introduce revision_types_de_champ
|
2022-05-04 13:16:12 +02:00 |
|
simon lehericey
|
a2947751e2
|
add scope to query old admins
|
2022-05-03 12:14:02 +02:00 |
|
simon lehericey
|
ea361643be
|
types_de_champ -> types_de_champs_public
|
2022-05-03 11:05:24 +02:00 |
|
Martin
|
be090a1bec
|
feat(administrateur/procedure#create): allow admin to add a lien to the DPO, allow user to consult link to dpo. enhance spec on _procedure_footer.html
Update spec/views/users/_procedure_footer.html.haml_spec.rb
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
|
2022-04-27 15:09:02 +02:00 |
|
Paul Chavard
|
23b60c87e9
|
fix(procedure): cloned procedure should not have auto_archive_on
fix #7149
|
2022-04-22 10:48:31 +02:00 |
|
simon lehericey
|
9fd5219751
|
fix sort in procedure presentation
|
2022-04-15 12:21:39 +02:00 |
|
simon lehericey
|
23707d6033
|
ignore file not found error when cloning procedure
|
2022-04-14 13:46:16 +02:00 |
|
Paul Chavard
|
83a8d87e95
|
i18n(procedure_presentation): translate fields
|
2022-04-14 11:38:01 +02:00 |
|
Paul Chavard
|
d14e132305
|
feat(export): add zip format support
|
2022-04-12 14:54:54 +02:00 |
|
Paul Chavard
|
90dd5bc9c5
|
fix(dossiers): dossier extend_conservation actually works
|
2022-04-08 13:40:28 +02:00 |
|
Paul Chavard
|
e82dc9c8b5
|
feat(exports): add ability to create exports with filters
|
2022-04-06 17:08:38 +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 |
|
Paul Chavard
|
6da54936b7
|
refactor(procedure_presentation): use internal reference to instructeur
|
2022-04-05 09:42:23 +02:00 |
|
Paul Chavard
|
706c648be8
|
refactor(procedure): remove unused code
|
2022-04-05 09:42:23 +02:00 |
|
simon lehericey
|
57f9e5bac3
|
always allow dossier pjs download (-9 queries)
|
2022-04-04 17:26:49 +02:00 |
|
Kara Diaby
|
b2bcc34cfd
|
tests
|
2022-03-31 15:48:18 +02:00 |
|
Pierre de La Morinerie
|
31bd05f835
|
models: inverse the direction of the User role associations
|
2022-03-22 07:58:44 +01:00 |
|
Pierre de La Morinerie
|
56edba37bc
|
specs: make the ProcedurePresentation#sorted_ids test more robust
Before the Dossiers were already created in the correct order, so the
sorting wasn't really tested.
|
2022-03-22 07:58:44 +01:00 |
|
Paul Chavard
|
c60a8970f1
|
perf(dossier): memoize champ.sections on dossier
|
2022-03-11 00:15:53 +01:00 |
|