Commit graph

77 commits

Author SHA1 Message Date
Paul Chavard
71d5470100 fix(graphql): implement real cursor pagination 2023-10-18 13:01:07 +02:00
Kara Diaby
5b08f54665 Ajoute les changements à l'API 2023-10-16 08:53:52 +00:00
simon lehericey
24fd12ed70 explicit about different contexts 2023-09-20 14:11:09 +02:00
simon lehericey
0b03ba4d68 remove v1/v2 api token logic 2023-09-20 14:11:09 +02:00
Paul Chavard
cd85bad379 graphql(query): expose __typename and timestamps one some nodes 2023-08-07 17:13:26 +02:00
Paul Chavard
166c57b466
Merge pull request #9377 from tchak/feat-api-request-touch
ETQ Administrateur, je voudrais que mon compte soit considéré comme actif si je n'utilise que l'API
2023-08-02 11:52:18 +00:00
Paul Chavard
e9cb50d09c feat(api): add last_authenticated_at timestamp to api requests 2023-08-02 13:22:18 +02:00
Paul Chavard
b404064d3b feat(graphql): add mutation flag to lograge 2023-08-02 13:20:58 +02:00
Paul Chavard
bb100c610f fix(graphql): increase graphql timeout untill we can improuve API perf 2023-08-02 13:20:58 +02:00
Paul Chavard
0ca72492e3 feat(graphql): use camelize with inflection 2023-08-01 14:55:08 +02:00
Paul Chavard
4d298600e6 chore(graphql): update stored query to include corrections 2023-07-27 12:51:59 +02:00
Paul Chavard
d5820277c0 feat(cojo): add cojo type de champ 2023-07-10 14:57:34 +02:00
Paul Chavard
bca08c8e6c feat(graphql): expose user connection type 2023-05-23 18:18:21 +02:00
Paul Chavard
0b696049b2 chore(graphql): remove sentry log on timeout errors 2023-05-15 11:36:10 +02:00
github-merge-queue[bot]
a286af8a70
Merge pull request #8918 from tchak/graphql-add-error-codes
ETQ intégrateur API, je voudrais avoir des codes d'erreur plus précis
2023-04-19 09:00:32 +00:00
github-merge-queue[bot]
26e516ea72
Merge pull request #8888 from tchak/graphql-improuve-stored-query
ETQ intégrateur API, je voudrais avoir accès aux dossiers récemment supprimés d’un groupe instructeur
2023-04-18 13:25:31 +00:00
Paul Chavard
ae1ec87397 feat(graphql): add code to timeout errors 2023-04-18 15:22:11 +02:00
Paul Chavard
f70532a844 feat(graphql): global not found error handling 2023-04-18 15:22:11 +02:00
Paul Chavard
fbae6d941d feat(graphql): add error codes to graphql errors 2023-04-18 15:22:11 +02:00
Paul Chavard
bd07441b7e fix(graphql): stub metadata on fake files interfaces 2023-04-18 11:36:40 +02:00
Paul Chavard
ca9fa71667 feat(graphql): improuve stored query 2023-04-17 18:43:00 +02:00
Paul Chavard
aaae3f461d feat(graphql): expose commune and departement information on address 2023-04-07 12:13:41 +02:00
Paul Chavard
a5733002ed feat(graphql): improuve logs 2023-04-05 13:56:26 +02:00
Paul Chavard
dee0952b2a fix(graphql): demandeur personne morale can be in degraded mode 2023-04-05 11:20:18 +02:00
Paul Chavard
3eae17b7cb feat(graphql): log type and timeout errors 2023-03-30 09:18:00 +02:00
Paul Chavard
275150d727 feat(graphql): expose pendingDeletedDossiers
fix #8785
2023-03-22 19:40:43 +01:00
simon lehericey
8b5d493f12 clean: log current_user in api v2, when not using token_v3 2023-03-16 10:06:23 +01:00
Paul Chavard
d481222110 refactor(graphql): extract compute_demarche_authorization 2023-03-15 19:09:49 +01:00
Paul Chavard
8ee13f1719 feat(api_token): add allowed_procedure_ids and write_access 2023-03-15 19:09:49 +01:00
Paul Chavard
85d31632e3 feat(graphql): add read_only check to mutations 2023-03-15 19:09:49 +01:00
Paul Chavard
9c0cd8979a fix(graphql): context should correctly preserve demarche authorization state 2023-02-21 16:06:39 +01:00
Paul Chavard
e56d51e0f6 fix(graphql): fix demarcheUrl 2023-02-21 10:57:43 +01:00
Paul Chavard
a4cbbe721e feat(types de champ): add EPCI champ 2023-01-20 11:32:36 +01:00
Paul Chavard
8f1ae99413 fix(graphql): remove deprecated options from introspection query 2023-01-20 09:54:50 +01:00
Martin
52380d5249 fix(api): on fixe avec avec des tests le prob de token 2023-01-19 17:40:19 +01:00
Paul Chavard
b5dc71e975 fix(graphql): demarche with pj should return schema 2023-01-18 18:06:10 +01:00
Paul Chavard
e19af241ca feat(graphql): expose pays, region and departement options in schema 2023-01-18 13:46:40 +01:00
Paul Chavard
c04e39a74d fix(graphql): annotationDescriptors should not be exposed as opendata 2023-01-18 13:46:40 +01:00
Paul Chavard
cdb3ce65cb feat(graphql): expose more information on demarche descriptor 2023-01-18 13:46:40 +01:00
Paul Chavard
ed1754e1fb refactor(graphql): make champ descriptor an interface 2023-01-18 13:30:02 +01:00
Paul Chavard
b663939674 feat(graphql): add demarcheCloner mutation 2023-01-11 23:38:12 +01:00
Paul Chavard
3f2a91b855 fix(graphql): properly handle demarche and demarche_descriptor resolution 2023-01-11 23:38:12 +01:00
Paul Chavard
afc1f12028 feat(graphql): implement add/remove instructeurs via API 2023-01-10 20:33:35 +01:00
Paul Chavard
0557b84eed feat(graphql): expose current_administrateur when using new tokens 2023-01-10 20:07:38 +01:00
Paul Chavard
072156d38e feat(graphql): add pays champ to API 2022-12-22 11:56:45 +01:00
Paul Chavard
f17690b1d3 feat(graphql): expose departement and region 2022-12-21 14:03:02 +01:00
Paul Chavard
52c8fc7e8d feat(api_token): api v2 use new token 2022-12-07 18:19:37 +01:00
Paul Chavard
e6fa7f0a9f feat(graphql): update stored query to use files instead of file 2022-12-07 12:06:55 +01:00
Paul Chavard
5a9ce7a331 feat(graphql): make demarche schema public 2022-11-24 18:21:33 +01:00
Paul Chavard
234975b806 feat(graphql): expose groupe_instructeur state and update mutation 2022-11-24 14:33:29 +01:00