Commit graph

327 commits

Author SHA1 Message Date
Paul Chavard
fbd48abc9c refactor(graphql): use champ_for_update method 2024-04-22 13:55:02 +02:00
Paul Chavard
3dbb2266d2 chore(yabeda): add graphql metrics 2024-04-22 09:34:40 +02:00
simon lehericey
344f0d2c80
fix: graphql new normalization 2024-04-10 10:57:37 +02:00
mfo
d00b146dc3
Merge pull request #10165 from mfo/US/add_champ_descriptor_id
feat(api): add champs.champDescriptorId so champRepetitions.rows[x] has a uniq id
2024-03-21 17:05:56 +00:00
Martin
22fa2e61b4 feat(api): add champs.champDescriptorId so champRepetitions.rows[x] has a uniq id 2024-03-21 10:29:33 +01:00
mfo
086cc1537b
Merge pull request #10068 from mfo/US/user-has-many-fcis
tech(User.FranceConnect): un usager peut avoir plusieurs profils FranceConnect, pas uniquement un
2024-03-20 16:30:39 +00:00
Paul Chavard
9afe71529e fix(addresse): lookup for city, departement and region name in local db 2024-03-11 10:49:56 +01:00
Martin
5b9276e1ba Revert "Merge pull request #10082 from tchak/fix-address-city_name"
This reverts commit 3febf1bafd, reversing
changes made to 6ec7a87bcb.
2024-03-08 17:15:28 +01:00
Paul Chavard
9629395450 fix(graphql): no crash on address type without city_name 2024-03-08 12:53:53 +01:00
Martin
9425f2cc58 fix(user.france_connect_informations): has_many, not has_one 2024-03-08 09:44:21 +01:00
Paul Chavard
1243cfefeb fix(entreprise): graphql effectif 2024-03-05 16:00:28 +01:00
Paul Chavard
9b26dedab4 refactor(dossier): make new methods arguments named 2024-03-04 10:59:11 +01:00
Paul Chavard
3e296fc75c refactor(graphql): use new champs methods on API 2024-03-04 10:59:11 +01:00
mfo
9b328828fd feat(api.dossier.for_tiers): expose email of tier
Co-authored-by: Colin Darie <colin@darie.eu>
2024-02-28 06:26:12 +01:00
Martin
b9e2f20cc0 feat(api.dossier.for_tiers): expose email of tier 2024-02-27 17:38:08 +01:00
Martin
77927e41bc feat(api.mandataire): add missing mandataire_first_name/last_name
Co-authored-by: Colin Darie <colin@darie.eu>
2024-02-21 15:15:55 +01:00
Lisa Durand
f09ab62620
add rna type de champ to harmonize api with rnf 2024-02-12 17:20:07 +01:00
mfo
c4adee6278
Merge pull request #9878 from mfo/US/fix-not-type-ej-in-api
API: cast le type de champ EJ
2023-12-22 07:20:13 +00:00
Martin
989a7ba787 feat(API): cast type de champ EJ in a dedicated graphql type 2023-12-21 16:21:31 +01:00
Colin Darie
29df9ad09d
Merge pull request #9751 from tchak/departement-tags
feat(champs): expose more tags and api fields on rnf, address and commune
2023-12-21 08:45:01 +00:00
mfo
cf7e499cde
Merge pull request #9816 from mfo/US/api-chorus-configuration
amelioration(api): ajoute la configuration chorus aux API GraphQL
2023-12-11 09:46:46 +01:00
Martin
643110c342 amelioration(api): ajoute la configuration chorus aux API GraphQL 2023-12-07 15:46:28 +01:00
Martin
3ac4163f33 documentation(api): ou trouver l'email de l'usager qui dépose le dossier 2023-12-06 20:17:30 +01:00
Paul Chavard
bfc809f96f feat(champs): expose more tags and api fields on rnf, address and commune 2023-11-27 15:33:05 +00:00
Colin Darie
f1459c1414
Merge pull request #9749 from mfo/US/fix-enseigne
correctif(API.entreprise.enseigne): ajouter un attribut a une entreprise demande un peu plus que juste le definir sur l'object
2023-11-27 13:02:02 +00:00
Martin
b74f7f24e7 correctif(API.entreprise.enseigne): ajouter un attribut a une entreprise demande un peu plus que juste le definir sur l'object 2023-11-24 10:33:18 +01:00
Colin Darie
be994c8933
Merge pull request #9744 from colinux/correction-reason-update
API: une demande de correction de dossier peut être de type "outdated"
2023-11-23 17:05:04 +00:00
Colin Darie
249539fc27
feat(dossier): correction can be of kind "outdated" by API, which will later improve UI wording
Cf #9485
2023-11-23 15:01:48 +01:00
krichtof
61654d65a2
Merge pull request #9740 from demarches-simplifiees/9670-expose-rnf-api
En tant que consommateur de l'API DS, je peux récupérer les infos RNF
2023-11-23 12:55:58 +00:00
Christophe Robillard
3be2a8878c expose id, title and address rnf for API 2023-11-22 12:49:28 +01:00
Martin
101fbb1610 amelelioration(API): ajoute l'enseigne aux personnes morales 2023-11-15 15:58:29 +01:00
Martin
13624f0f7e add type de champs ej bin/rails generate add_champ EngagementJuridique 2023-11-09 10:09:13 +01:00
simon lehericey
52752c95ec tech: add api_token_id to graphql logs 2023-11-08 16:50:10 +01:00
Eric Leroy-Terquem
0968f02a26
Merge pull request #9648 from demarches-simplifiees/add-rnf-service
Ajout d'un nouveau référentiel : le Répertoire National des Fondations (RNF)
2023-11-08 09:06:47 +00:00
Paul Chavard
6ce2b33519 feat(graphql): expose prefilled flag on dossier and champ 2023-11-07 19:00:32 +01:00
Eric Leroy-Terquem
94c218e2f7 wording(type de champ): add full wording for rna and rnf 2023-11-07 14:21:29 +01:00
Eric Leroy-Terquem
a70e7ca903 feat(graphql): add rnf_champ to graphql api 2023-11-07 14:21:29 +01:00
Paul Chavard
99e22a8cbe log(graphql): log deprecated order argument usage 2023-11-02 15:01:34 +00:00
Paul Chavard
fbf2cfae50 fix(graphql): fix preloader with pagination 2023-10-26 11:43:19 +02:00
Paul Chavard
33f5a553b6 fix(graphql): fix pagination with order desc 2023-10-26 10:52:18 +02:00
simon lehericey
071167da96 remove methods 2023-10-18 13:01:07 +02:00
simon lehericey
6a02e670aa use new methods 2023-10-18 13:01:07 +02:00
simon lehericey
b37f2c6825 add next_page? 2023-10-18 13:01:07 +02:00
simon lehericey
137c19cce8 add previous_page? 2023-10-18 13:01:07 +02:00
simon lehericey
17aab9c891 add limit_and_inverted method 2023-10-18 13:01:07 +02:00
simon lehericey
ce5cd63ed2 comment 2023-10-18 13:01:07 +02:00
simon lehericey
1bb4d3cf17 remove useless assignment 2023-10-18 13:01:07 +02:00
simon lehericey
dbe67aaf18 default_page <= max_page_size 2023-10-18 13:01:07 +02:00
simon lehericey
c5899f2c46 extract limit and expected_size 2023-10-18 13:01:07 +02:00
simon lehericey
311c9215cd extract ensure_valid_params 2023-10-18 13:01:07 +02:00