Paul Chavard
|
229483d16c
|
refactor(champ): remove type_de_champ_id and champ factories
|
2024-07-22 13:53:45 +02:00 |
|
Paul Chavard
|
d640ab8428
|
fix(combobox): dispatch change event on multiple combo changes
|
2024-07-16 15:10:45 +02:00 |
|
mfo
|
1cd539297f
|
feat(dossier.passer_en_construction!): clean up PJ for champs that are not visible [condition is false]
|
2024-07-15 11:28:59 +02:00 |
|
Eric Leroy-Terquem
|
60ff785009
|
refactor(type de champ): rename routable_types in simple_routable_types
|
2024-07-11 12:17:46 +02:00 |
|
Paul Chavard
|
96e49d54cd
|
reafctor(logic): remove tests and accept unspecified behaviour
|
2024-07-08 15:44:30 +02:00 |
|
mfo
|
75a6c8b4b6
|
Merge pull request #10555 from mfo/US/normalize-number-cahmp
tech: Normalisation des champs de type number/decimal pr enlever les espace blanc à la saisi
|
2024-07-08 07:31:29 +00:00 |
|
Paul Chavard
|
9f9243499c
|
refactor(combobox): fix specs
|
2024-07-05 09:36:33 +02:00 |
|
Paul Chavard
|
cb01f15570
|
refactor(champ): update champ commune
|
2024-07-05 09:36:33 +02:00 |
|
mfo
|
c50f949acd
|
feat(Champs::number*): normalize values by stripping spaces.
|
2024-07-04 09:56:23 +02:00 |
|
Colin Darie
|
b3ccfc16c4
|
Merge pull request #10547 from colinux/mandatory-by-default
ETQ admin, un nouveau champ est obligatoire par défaut
|
2024-07-02 14:26:29 +00:00 |
|
Colin Darie
|
eee6e5e651
|
Merge pull request #10483 from colinux/fast-tests
Tech (tests): default administrateur fixtures
|
2024-07-01 21:35:11 +00:00 |
|
Colin Darie
|
2041623ded
|
test: merge similar examples
|
2024-07-01 22:36:31 +02:00 |
|
Colin Darie
|
9e80962ea5
|
test: default administrateur as fixtures
|
2024-07-01 22:36:31 +02:00 |
|
Colin Darie
|
f40b71f450
|
test(type_de_champ): mandatory by default, like schema
|
2024-07-01 17:00:49 +02:00 |
|
Lisa Durand
|
159cc942f6
|
Merge pull request #10549 from demarches-simplifiees/new-instructeur-need-mail-confirmation-ldu
ETQ nouvel instructeur, je dois confirmer mon mail
|
2024-07-01 08:45:57 +00:00 |
|
Lisa Durand
|
75403ba949
|
add specs
|
2024-06-26 10:57:40 +02:00 |
|
mfo
|
cfda807b66
|
fix(data): decimal number having spaces are no more exportable
|
2024-06-25 21:17:46 +02:00 |
|
mfo
|
476c7df160
|
bug(Champs::DecimalNumberChamp.for_export): should be able to cast a number wrapped with a string having leading/trailing spaces
|
2024-06-25 17:05:33 +02:00 |
|
Lisa Durand
|
d7893b9102
|
instructeur need to confirm mail after invitation
|
2024-06-25 15:14:26 +02:00 |
|
Colin Darie
|
f2669fbca8
|
fix(attestation): fix unspecified_attestation_champs for v2
|
2024-06-20 14:15:06 +02:00 |
|
Colin Darie
|
a540f8dccb
|
feat(attestation): can render & attach attestations v2
|
2024-06-20 14:15:05 +02:00 |
|
Colin Darie
|
4af6957237
|
fix(attestation): dup keep all attributes
|
2024-06-20 11:08:15 +02:00 |
|
Colin Darie
|
c5c24c01d8
|
chore(attestation): procedure#attestation_template always returns the published attestation
|
2024-06-20 11:08:15 +02:00 |
|
mfo
|
8cb902821f
|
bug(draft_types_de_champ_private.condition): condition must be validated with upper_tdcs. considering that types_de_champ_private can have a condition using a types_de_champ_public, we have to include all types_de_champs_public plus only types_de_champs_private.upper_tdcs
|
2024-06-11 16:05:45 +02:00 |
|
mfo
|
f819da8921
|
tech(clean): simplify implementation of eligibilite rules, code, enhance wording and test coverage
|
2024-06-11 09:57:36 +02:00 |
|
mfo
|
e3a24d53ea
|
tech(refactor): procedure::error_summary and dossier::ErrorsFullMessagesComponent use same behaviour to compact/expand errors
|
2024-06-11 09:39:20 +02:00 |
|
mfo
|
5644692448
|
feat(Logic.computable?): add computable? to know if a ineligibilite_rules set is computable
|
2024-06-11 09:32:53 +02:00 |
|
mfo
|
5de4ce889f
|
feat(ProcedureRevision.ineligibilites_rules): keep track of changes and show it to admin for republication
|
2024-06-11 09:32:53 +02:00 |
|
mfo
|
ab522a3e40
|
Merge pull request #10503 from mfo/US/fix-condition-validator-on-private-champ-using-public-tdc
Correctif: ETQ admin, je souhaite pouvoir utiliser des champs public pour conditionner une annotation privée
|
2024-06-10 09:33:22 +00:00 |
|
mfo
|
27b86f9848
|
fix(TypesDeChamp::ConditionValidator): allow to use types_de_champ_public on condition for types_de_champ_private
|
2024-06-10 11:26:01 +02:00 |
|
mfo
|
d2ccea700b
|
bug(TypesDeChamp::ConditionValidator): should allow to use types_de_champ_public on condition for types_de_champ_private
|
2024-06-10 09:35:29 +02:00 |
|
Kara Diaby
|
cb5ba455eb
|
Fixe bug sur toutes les démarches
|
2024-06-05 14:13:44 +00:00 |
|
mfo
|
ef3ca9839b
|
feat(procedure.validation): extract validation context: types_de_champ_public_editor, types_de_champ_private_editor and publication [combining both contextes]. validate conditions, headers_sections, regexp on type_de_champ_private too. dry validation
|
2024-06-04 18:25:24 +02:00 |
|
mfo
|
f14c88a54a
|
clean(spec): speed, avoid using with_all_champs factory. takes too much time when not needed
|
2024-06-04 15:34:34 +02:00 |
|
krichtof
|
45814fdbfb
|
Merge pull request #10454 from demarches-simplifiees/9827-add-specs
corrige quelques bugs de la feature export template (renommage dans le zip)
|
2024-06-04 13:18:12 +00:00 |
|
Christophe Robillard
|
ac23d5fb41
|
convert date with dash for export renaming
|
2024-06-04 10:32:14 +02:00 |
|
Paul Chavard
|
68c15ba99f
|
feat(champ): add updated_by column
|
2024-06-03 18:45:16 +02:00 |
|
mfo
|
a278aac92f
|
fix(spec): maj broken spec on main
|
2024-05-31 08:24:55 +02:00 |
|
Christophe Robillard
|
acf6579aa4
|
add missing specs to export template
|
2024-05-29 14:38:05 +02:00 |
|
Paul Chavard
|
de209954e1
|
Merge pull request #10466 from tchak/fix-supprimes_recemment-should-include-archived
fix(instructeur): supprimes_recemment should include archived dossiers
|
2024-05-29 11:09:41 +00:00 |
|
Paul Chavard
|
5154231ccf
|
fix(dossier): batch operations to termine dossier should send emails
|
2024-05-29 11:31:58 +02:00 |
|
Paul Chavard
|
b06934b8d3
|
fix(instructeur): supprimes_recemment should include archived dossiers
|
2024-05-29 11:03:46 +02:00 |
|
Christophe Robillard
|
06cbb65d4e
|
spec: simplify export template factory
|
2024-05-28 18:25:37 +02:00 |
|
simon lehericey
|
fa06d17169
|
Feat(user): set email_verified_at when setting confirmed_at
|
2024-05-27 17:24:56 +02:00 |
|
simon lehericey
|
841c1cc845
|
Feat(user): verify user email during devise confirmation
|
2024-05-27 17:24:55 +02:00 |
|
Paul Chavard
|
1bca3c123b
|
chore(dossier): remove legacy update attributes
|
2024-05-27 10:33:37 +02:00 |
|
simon lehericey
|
d3b700326d
|
spec: fix
|
2024-05-23 10:01:29 +02:00 |
|
simon lehericey
|
fa7d5cfa33
|
fix test
|
2024-05-23 10:00:41 +02:00 |
|
simon lehericey
|
c8b3b4b45a
|
refactor: renaming
|
2024-05-23 10:00:38 +02:00 |
|
simon lehericey
|
6445337be7
|
refactor(pj_list): extract pj list in a concern and simplify
|
2024-05-23 10:00:38 +02:00 |
|
Christophe Robillard
|
aeb4bd2ff1
|
add original-filename tag
|
2024-05-23 10:00:36 +02:00 |
|
Christophe Robillard
|
8e8057ddd3
|
add some specs to export template
|
2024-05-23 10:00:36 +02:00 |
|
Christophe Robillard
|
357c07456c
|
generate export with export_template
|
2024-05-23 10:00:34 +02:00 |
|
Christophe Robillard
|
95c308dc51
|
add specific tags
|
2024-05-23 10:00:33 +02:00 |
|
Christophe Robillard
|
a248eba641
|
export template: set default values
|
2024-05-23 10:00:33 +02:00 |
|
Christophe Robillard
|
bbb6309b4f
|
procedure: add pieces_jointes_exportables_list
|
2024-05-23 10:00:32 +02:00 |
|
Christophe Robillard
|
25ab2420fe
|
validate export template
|
2024-05-23 10:00:32 +02:00 |
|
Christophe Robillard
|
24922605cd
|
add pj for export template
|
2024-05-23 10:00:32 +02:00 |
|
Christophe Robillard
|
d1c3b84ea2
|
add export template model
|
2024-05-23 10:00:32 +02:00 |
|
mfo
|
4ea601de79
|
fix(champs.pj.clone): stop cloning private piece_justificative_file when user clone his dossier
|
2024-05-21 09:50:27 +02:00 |
|
Colin Darie
|
c2b1d7aaaf
|
Merge pull request #10261 from colinux/ignore-search-terms-2
Tech (perf): ignore les `search_terms` colonnes pour ne plus les select à chaque query et debounce l'indexation
|
2024-05-21 07:07:10 +00:00 |
|
Colin Darie
|
3d52601155
|
fix(carte): gracefully ignore invalid year and kind params
Empêche d'envoyer une date invalide à PG et polluer les logs.
|
2024-05-16 16:58:42 +02:00 |
|
Paul Chavard
|
a1db089681
|
fix(champ): champ value formatters should check champ type
|
2024-05-13 17:00:46 +02:00 |
|
Colin Darie
|
e01f5b7993
|
refactor(search): index search terms only when necessary
|
2024-05-08 10:35:04 +02:00 |
|
Kara Diaby
|
3bebff1177
|
TEsts
|
2024-05-07 09:49:29 +00:00 |
|
Colin Darie
|
6733b2884f
|
feat(search): index mandataire name
|
2024-05-06 18:58:52 +02:00 |
|
Colin Darie
|
39b0327237
|
refactor(search): rename update search terms => index search terms
|
2024-05-06 18:57:39 +02:00 |
|
Colin Darie
|
4408824882
|
fix(dossier): update search terms when etablissement or individual changed
|
2024-05-06 18:57:03 +02:00 |
|
Colin Darie
|
ee465b38ff
|
feat(search): debounce update search terms
|
2024-05-06 18:57:00 +02:00 |
|
Colin Darie
|
5a2ddcb471
|
test: faster dossier clone spec by merging similar it
|
2024-05-06 17:16:34 +02:00 |
|
Colin Darie
|
2e763d5e92
|
perf(search): ignore search_terms columns, use raw sql instead
|
2024-05-06 17:16:34 +02:00 |
|
Paul Chavard
|
244dcfcc23
|
refactor(export): improuve specs
|
2024-04-24 13:27:20 +02:00 |
|
Paul Chavard
|
42336b235e
|
chore(spec): move spec in the correct folder
|
2024-04-23 21:57:00 +02:00 |
|
Paul Chavard
|
95bb09a1f8
|
refactor(champs): do not depend on attributes hash key in old code
|
2024-04-22 18:38:59 +02:00 |
|
Paul Chavard
|
f4f5416dd3
|
Merge pull request #10328 from tchak/refactor-dossier-champ-by-stable-id-controller
refactor(champs): update champs by public_id [controllers]
|
2024-04-22 12:23:16 +00:00 |
|
Paul Chavard
|
0c7bc6b555
|
feat(dossier): add methods to upsert champ values
|
2024-04-22 13:55:01 +02:00 |
|
simon lehericey
|
cd808864b6
|
chore(spec): fix missing s in path
|
2024-04-22 11:59:28 +02:00 |
|
simon lehericey
|
9e33b1ee6d
|
fix: allow unsigned expert when restricted list
|
2024-04-19 13:03:09 +02:00 |
|
mfo
|
6d84c38fca
|
tech(deadspec): no more brouillon context on dossier validation
|
2024-04-17 06:27:26 +02:00 |
|
mfo
|
aca67a2274
|
tech(refactor.champs.validation): all champs validation use :validate_champ_value_or_prefill?
|
2024-04-17 06:27:26 +02:00 |
|
simon lehericey
|
981003975c
|
refactor: use last_sign_in_at as confirmed_at is not reliable
|
2024-04-16 17:58:30 +02:00 |
|
simon lehericey
|
d95ce505a8
|
feat: suggest recently added user even if its not confirmed
|
2024-04-16 17:58:30 +02:00 |
|
simon lehericey
|
8d95df2250
|
feat: do not suggest unconfirmed experts
|
2024-04-16 17:58:30 +02:00 |
|
simon lehericey
|
5cd780251b
|
refactor: mutualize email_expert logic
|
2024-04-16 17:58:29 +02:00 |
|
Colin Darie
|
71b0592b0a
|
Merge pull request #10336 from colinux/fix-address-without-postcode
Usager: fix champ adresse dans un TOM sans code postal dans la BAN (ex. Nouvelle-Calédonie à Nouméa)
|
2024-04-16 13:45:04 +00:00 |
|
Colin Darie
|
db65c9178e
|
fix(address): BAN does not return postcode for some TOM like Nouvelle-Calédonie
But we have to fallback to an empty string because API graphql / serializer
expects a non-null attribute.
|
2024-04-16 15:37:56 +02:00 |
|
Paul Chavard
|
08e127c120
|
chore(spec): remove test for old unused behaviour
|
2024-04-16 12:10:08 +02:00 |
|
Paul Chavard
|
ee56a7da21
|
refactor(champ): remove stable_id delegate to type_de_champ
|
2024-04-16 12:10:07 +02:00 |
|
mfo
|
938f5043a4
|
feat(champs.validation): standardize champ error messages
|
2024-04-12 11:39:43 +02:00 |
|
LeSim
|
22830fd7f6
|
Merge pull request #10275 from demarches-simplifiees/fix_api_entreprise_status
Tech: corrige le mécanisme de surveillance des fournisseurs d entreprise.api.gouv.fr
|
2024-04-08 08:08:38 +00:00 |
|
Paul Chavard
|
c5c671f391
|
Merge pull request #10234 from tchak/type-de-champ-paths
feat(champ): add paths to type_de_champ
|
2024-04-08 08:07:30 +00:00 |
|
Paul Chavard
|
80b3f0c0b3
|
fix(champ): no validate on hidden champs
|
2024-04-05 13:24:57 +02:00 |
|
simon lehericey
|
7b33963a67
|
add and use api_djepva_up?
|
2024-04-05 12:27:26 +02:00 |
|
simon lehericey
|
e994738a2e
|
add and use api_insee_up?
|
2024-04-05 12:26:44 +02:00 |
|
Paul Chavard
|
282ce1322c
|
fix(stats): more accurat stats about deleted dossiers
|
2024-04-04 19:00:48 +02:00 |
|
Paul Chavard
|
38a703034e
|
feat(champ): expose paths
|
2024-04-04 16:13:23 +02:00 |
|
Colin Darie
|
863784a1a9
|
test: configure default host on APP_HOST everywhere
|
2024-04-02 18:47:40 +02:00 |
|
simon lehericey
|
8405c83c12
|
fix: do not retry rnf bad request
|
2024-04-02 10:00:07 +02:00 |
|
mfo
|
284a10e235
|
fix(Champs::EngagementJuridiqueChamp): validates Champs::EngagementJuridiqueChamp respecting it's validation context.
|
2024-04-01 07:18:14 +02:00 |
|
mfo
|
d7f152f4af
|
fix(Champs::PhoneChamp): validates Champs::PhoneChamp respecting it's validation context.
|
2024-04-01 07:18:14 +02:00 |
|