Colin Darie
edb47d94f7
test: fix not_to raise_error(SpecificErrorClass) false positive risk
2023-11-09 17:27:55 +01:00
mfo
87c3615774
review(tech): utilise un code unique pr les elements de l'autocomplete, corrections de typos, amelioration du code
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-11-09 11:10:17 +01:00
Eric Leroy-Terquem
694cbcd0a2
feat(rnf): add rnf type_de_champ
2023-11-07 14:21:28 +01:00
Christophe Robillard
42d3052c4f
convert code_insee to departement
2023-10-26 11:34:55 +02:00
krichtof
7ae66d0360
Merge pull request #9613 from demarches-simplifiees/8742-effectifs
...
tech: utilise l'api entreprise v3 pour récupérer les effectifs mensuels et annuels
2023-10-19 14:46:10 +00:00
mfo
8a4299ade1
Merge pull request #9610 from mfo/US/fix-missing-champs
...
correctif(data): tâche rake recréant les champs manquant à un dossier ayant subi une perte de données
2023-10-19 09:49:35 +00:00
Martin
70c54808fa
amelioration(datafixer.DossierChampsMissing): prends aussi en compte les champs manquant dans une repetition
2023-10-19 11:25:10 +02:00
Christophe Robillard
0f1e243b01
use api entreprise v3 for effectifs annuels
2023-10-17 13:48:46 +02:00
Christophe Robillard
81f78c62b4
use api entreprise v3 for effectifs mensuels
2023-10-17 13:48:46 +02:00
Martin
95bdcc986e
refactor(renomme): deplace le phone_fixer.rb dans un repertoire dedié aux fix de data en prod
2023-10-16 17:25:06 +02:00
Martin
8069c5bb7c
correctif(data): ajoute une classe pour ajouter les champs manquant a des dossiers qui ont subit une perte de donnée supposant qu'une race-condition sur le dossier.merge(fork) puisse detruire des champs
2023-10-16 17:18:10 +02:00
Kara Diaby
a26df43577
User : Ajoute le type de champ Expression régulière coté utilisateur
2023-10-16 08:53:52 +00:00
Eric Leroy-Terquem
1ecd05df54
task(phone): add task to fix invalid phones
2023-10-12 17:57:43 +02:00
Eric Leroy-Terquem
a960395edb
fix(db): add phone fixer
2023-10-12 16:47:05 +02:00
Christophe Robillard
75d671c0b4
fix: email no siret service
2023-10-06 11:16:12 +02:00
Christophe Robillard
20d70d2b1c
notify admin with service without siret
2023-09-29 11:37:34 +02:00
simon lehericey
5534190c89
chore: build openstack client without calling now private service.client
2023-09-07 15:57:39 +02:00
Paul Chavard
ca4066939c
chore(pipedrive): remove pipedrive
2023-08-10 10:29:25 +02:00
Christophe Robillard
af8b423e4c
fix siren spec
2023-07-31 10:56:05 +02:00
Christophe Robillard
2963fdbfa3
send dinum siret when siret service same as siret etablissement requested
2023-07-26 19:27:08 +02:00
Christophe Robillard
619dfd5553
send service siret as recipient
2023-07-19 10:08:44 +02:00
Paul Chavard
d5820277c0
feat(cojo): add cojo type de champ
2023-07-10 14:57:34 +02:00
Martin
a0ceee96bd
amelioration(email.resume_hebdomadaire): envoie le mail a 4h du matin sur une periode de 3h
...
tech(
Co-authored-by: Colin Darie <colin@darie.eu>
2023-06-26 17:47:53 +02:00
Martin
d45a250075
amelioration(mail): ajoute d'un simili rate limiter pour envoyer les mails sur des fenetres de temps ayant une limite
2023-06-26 17:28:27 +02:00
Martin
50da50a7ac
amelioration(bilan_bdf.resultat_exercice): implement la logique d'affichage du resultat d'un exercice sur l'API v3
2023-06-01 15:04:09 +02:00
Christophe Robillard
0f083db32b
migrate bilans bdf adapter to v3
2023-06-01 14:03:31 +02:00
mfo
c2f2b4ef2a
Merge pull request #9106 from mfo/api-entreprise.etablissement_adapter
...
API Entreprise: migration "Etablissement"
2023-06-01 11:45:47 +00:00
mfo
1a6dc10548
Merge pull request #9102 from demarches-simplifiees/8472-migrate-rna
...
API Entreprise: migration RNA (associations)
2023-06-01 11:37:57 +00:00
Martin
c90175f121
tech(api-entreprise.etablissement): passage du endpoint ETABLISSEMENT_RESOURCE_NAME en v3
2023-06-01 09:06:36 +02:00
Martin
0d3deb01be
tech(rna_controller#show): corrige les specs et recupère uniquement les informations utilisé par l'app
2023-05-31 16:11:12 +02:00
Eric Leroy-Terquem
2db2625fc8
Merge pull request #8923 from demarches-simplifiees/migrate-data-for-routing-with-dropdown-list
...
Migre les données pour le nouveau mode de routage
2023-05-31 08:42:11 +00:00
Christophe Robillard
ef82149a3b
amelioration(api-entreprise.rna): passe a la v3 pour le endpoint RNA_RESOURCE_NAME
2023-05-31 09:59:44 +02:00
Colin Darie
3161f90662
Merge pull request #9098 from demarches-simplifiees/8472-migrer-attestation-fiscale
...
API Entreprise : migration "attestation fiscale"
2023-05-30 08:52:17 +00:00
Christophe Robillard
0e85f84eff
migrate exercices adapter
2023-05-29 17:46:39 +02:00
Christophe Robillard
0ec4c3d17b
migrate attestation fiscale adapter to v4
2023-05-29 15:22:07 +02:00
krichtof
0051face93
Merge pull request #9014 from demarches-simplifiees/8859-default_zones
...
Etq admin, lors de la création ou modification d'une démarche, des zones par défaut me sont suggérées
2023-05-26 17:25:21 +00:00
Christophe Robillard
76a8b721ce
add tva adapter and tva job
2023-05-26 13:37:20 +02:00
Christophe Robillard
f04e121a6f
add extrait_kbis to handle nom_commercial and capital_social
2023-05-26 13:37:20 +02:00
Christophe Robillard
ba281d53cf
migrate entreprise adapter to v3
2023-05-26 13:37:20 +02:00
krichtof
601fde2147
Merge pull request #9084 from demarches-simplifiees/8472-migration-attestation-sociale
...
8472 migration attestation sociale
2023-05-25 07:11:59 +00:00
Paul Chavard
e191cfb3f6
task(revision): find and correct all champs with wrong type de champ
2023-05-24 16:34:46 +02:00
Christophe Robillard
247ad49ab7
migrate attestation_sociale to v4
2023-05-24 11:52:43 +02:00
Paul Chavard
2ec0d405f7
chore(recovery): import/export revision
2023-05-19 11:19:15 +02:00
Martin
32088512ff
amelioration(importer): evite de re-importer un dossier pointant vers un parent qui est maintenant detruit
2023-05-16 17:00:34 +02:00
Martin
f76e52cc97
tech(tache.recovery): ajoute une tache pour re-importer des dossiers venant d'un backup
...
Update app/lib/recovery/exporter.rb
Co-authored-by: Colin Darie <colin@darie.eu>
2023-05-16 14:49:36 +02:00
simon lehericey
9d1d523cf6
remove life_cycle
2023-05-16 14:49:36 +02:00
simon lehericey
06b6663662
import more stuff
2023-05-16 14:49:36 +02:00
Martin
e9115b10b5
correctif(data.kc): re-import les données kc
2023-05-16 14:49:36 +02:00
Christophe Robillard
53dd2955e4
add tchap hs adapter
2023-05-16 09:40:53 +02:00
Paul Chavard
c40f42db19
fix(dossier): task to fix cloned published revisions
2023-05-12 16:52:59 +02:00
simon lehericey
a5d4773d31
feat(routing): task to backfill procedure.defaut_groupe_instructeur_id
2023-05-12 10:10:27 +02:00
Colin Darie
5be8865675
fix(export): sanitize filename containing unsafe chars for storage
...
Pourrait fixer des problèmes de dezip sous windows de zip.
2023-05-04 14:36:44 +02:00
Colin Darie
f615facbba
fix(export): don't fail when trying to write a file name > 255 bytes
2023-05-04 14:36:33 +02:00
Paul Chavard
46f9148fa4
Merge pull request #8984 from tchak/fix-api-entreprise-status
...
ETQ usager, je veux être avertie si l'API entreprise est HS
2023-04-28 14:25:02 +00:00
simon lehericey
47bae606f1
spec: remove weird now obsolete spec which pollute global namespace with logic helper
...
and make spread_architect tests fail
2023-04-28 10:42:09 +02:00
Paul Chavard
99abdf45e7
fix(api-entreprise): use new status endpoint
2023-04-27 22:39:44 +02:00
simon lehericey
86e0538425
keep test active_storage service
2023-04-26 22:46:16 +02:00
simon lehericey
f1bcb84832
fix: replace ds_eq operator by ds_include when targeted_champ is a multiple_drop_down_list
2023-04-26 09:37:03 +02:00
simon lehericey
c189115757
fix defaut_groupe_instructeur for mismatching label
2023-04-24 10:16:09 +02:00
simon lehericey
995858e124
fix defaut_groupe_instructeur_id for (hidden) procedure with an (hidden) parent
2023-04-24 10:16:09 +02:00
simon lehericey
439447b343
fix defaut_groupe_instructeur_id and change dossier.groupe_instructeur_id
2023-04-21 15:08:07 +02:00
Colin Darie
b273e7b67e
chore(rubocop): fix Rails/RootPathnameMethods and assimiled cops
2023-04-19 12:55:13 +02:00
LeSim
c252748833
Merge pull request #8836 from demarches-simplifiees/improve-routing-rules-ux
...
feat(routing): nicer and safer ?
2023-04-17 08:23:15 +00:00
Paul Chavard
5abb6a8f12
chore(spec): remove memory store cache from tests
2023-04-13 13:10:23 +02:00
simon lehericey
a5200a569f
feat(routing): task to backfill procedure.defaut_groupe_instructeur_id
2023-04-13 10:44:06 +02:00
sebastiencarceles
d7bfb9dc18
enrich value from education api
2023-02-28 14:23:38 +01:00
Damien Le Thiec
731cd56594
Merge branch 'main' into feature/prefill_repetible
2023-02-22 19:49:06 +01:00
sebastiencarceles
b85eeedd6c
remove departements and regions migration specs
2023-02-20 09:01:04 +01:00
Damien Le Thiec
2533ca50d4
Merge branch 'main' into feature/prefill_repetible
2023-02-15 11:07:56 +01:00
sebastiencarceles
f0ffae8320
migrate(champs): normalize departements
2023-02-13 16:32:34 +01:00
Damien Le Thiec
dbb92e7fd3
Merge branch 'main' into feature/prefill_repetible
2023-02-11 22:40:56 +01:00
sebastiencarceles
d2f5fe5ff5
migrate(champs): normalize regions
2023-02-09 10:46:17 +01:00
Damien Le Thiec
a51ed0094b
Fix tests
2023-02-07 00:28:21 +01:00
Martin
14494255be
Revert "migrate(champs): normalize departements ( #8505 )"
...
This reverts commit 6800bb8cec
.
2023-02-06 15:57:26 +01:00
Martin
db36397bc5
Revert "migration: normalize regions ( #8521 )"
...
This reverts commit 8fee658eba
.
2023-02-06 14:49:51 +01:00
Colin Darie
b0b7114c3b
feat: jsv support for primitives
2023-02-02 14:55:46 +01:00
Sébastien Carceles
8fee658eba
migration: normalize regions ( #8521 )
2023-02-02 10:19:33 +00:00
Sébastien Carceles
6800bb8cec
migrate(champs): normalize departements ( #8505 )
...
* migration: normalize departements
* rename update_all methods to avoid collusions
* simplify scopes
2023-02-02 10:00:56 +00:00
Damien Le Thiec
d7b01255fe
Merge branch 'main' into feature/prefill_repetible
2023-01-31 16:39:00 +01:00
Colin Darie
ef864021f7
refactor(pj_service): explicit options with_{bills,champs_private} because expert & instructeurs does not need the same
2023-01-30 18:04:09 +01:00
Sébastien Carceles
49ce255e29
feat(dossier): prefill region champ ( #8442 )
...
* make regions champ prefillable
* add possible and example value
* add external_id and value validation
2023-01-24 11:25:17 +00:00
Paul Chavard
a4cbbe721e
feat(types de champ): add EPCI champ
2023-01-20 11:32:36 +01:00
Martin
733ba01695
amelioration(balancer_delivery_method): implemente le fait de forcer la methode de delivery au niveau de notre balancer de fournisseur demail
2023-01-11 17:13:05 +01:00
Lisa Durand
8ba13cb685
humanize raison sociale from api_entreprise in adapter
2023-01-11 14:42:38 +01:00
Colin Darie
820cb4bd27
fix(rna): some associations don't have date_publication
...
https://sentry.io/organizations/demarches-simplifiees/issues/3698792231/events/fde901fac5a44129adcafc891d59d086/?project=1429550
2023-01-11 12:30:02 +01:00
Colin Darie
05b517a847
fix(mailer): observers on balancer and balanced delivery methods
...
- Les observers doivent être déclarés *avant*
le chargement de nos delivery methods (Sendinblue & Dolist),
sinon ils seront ignorés par ces derniers
- dans le balancer, on ne peut pas appeler `.deliver` une seconde fois,
sinon les observers (et interceptors) sont invoqués deux fois.
2023-01-11 00:57:16 +01:00
Sébastien Carceles
fa6fc077b4
normalize boolean values ( #8320 )
...
* extract parent for yes no and checkbox champs
* checkbox stores true / false instead of on / off
* normalize blank value to nil
* normalize invalid value to false
* after party task: normalize checkbox values
* after party task: normalize yes_no values
2023-01-05 11:18:27 +00:00
Martin
186d4e6539
correctif(ChampDepartement): gere les departement a 3 codes
2022-12-27 14:55:57 +01:00
simon lehericey
c085c7820f
fix(spec): update spec with new timestamp
2022-12-07 19:28:01 +01:00
Paul Chavard
c5901fbb95
clean(type_de_champ): remove magic factory
2022-12-01 16:36:59 +01:00
Paul Chavard
1fb051c3cc
refactor(attestation_template): remove unused code
2022-11-29 19:36:56 +01:00
Paul Chavard
cafda4f6f0
refactor(attestation_template): move to procedure
2022-11-23 12:26:26 +01:00
Paul Chavard
55c5de2c2c
feat(attestation_template): assign attestations templates to procedures
2022-11-23 12:26:26 +01:00
Paul Chavard
d306583a7b
refactor(active_storage): PiecesJustificativesService::FakeAttachment -> ActiveStorage::FakeAttachment
2022-11-22 18:05:26 +01:00
Paul Chavard
29bdd82b59
refactor(procedure): types_de_champ -> active_revision.types_de_champ_public
2022-11-17 13:54:14 +01:00
simon lehericey
6a7621b731
feat(support): add task to remove ex team member
2022-11-16 17:52:48 +01:00
Paul Chavard
e6288c39f2
refactor(dossier): champs -> champs_public
2022-11-10 22:44:39 +00:00
Colin Darie
408f57d2d1
fix(rna): date_creation may be null
...
Closes #7975
2022-10-31 12:02:37 +01:00
Damien Le Thiec
73f6063c87
Merge branch 'main' into feature/add_rna_type_de_champs
2022-10-11 15:36:46 +02:00
Colin Darie
073656342e
fix(api_address): support Adresse BAN without postcode
...
Des adresses n'ont pas de code postal (dans certains TOM par exemple).
On fallback sur un string vide plutôt que nil pour limiter les effets de bord.
2022-10-11 12:25:12 +02:00