Commit graph

286 commits

Author SHA1 Message Date
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
simon lehericey
0dd68ab73d add comments 2023-10-18 13:01:07 +02:00
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
21b9a491cb fix(graphql): improuve sort for pending deleted dossiers 2023-09-15 16:15:43 +02:00
Colin Darie
ea7d3f9364
feat(graphql): expose sva/svr dates 2023-08-29 16:33:00 +02:00
Paul Chavard
cd85bad379 graphql(query): expose __typename and timestamps one some nodes 2023-08-07 17:13:26 +02:00
Paul Chavard
e584edeb16 graphql(attachment): prevent null errors 2023-08-07 17:11:02 +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
Colin Darie
caf41a82e6 feat(graphql): can flag pending correction with "dossier envoyer message"
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2023-07-21 16:45:47 +02:00
Colin Darie
873218222c feat(graphql): returns dossier & message correction status
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2023-07-21 16:45:47 +02:00
Paul Chavard
1882f652d5 fix(dossier): do not create groupe instructeur assignements on brouillons 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
0e58e10b82 refactor(DossierAssignment): move create_assignment to assign_to_groupe_instructeur 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
24f68b4deb feat(DossierAssignment): create assignments from api 2023-07-18 16:54:00 +02:00
Paul Chavard
32ecbaee61 feat(graphql): add timestamps to files and champs 2023-07-12 11:06:42 +02:00
Paul Chavard
d5820277c0 feat(cojo): add cojo type de champ 2023-07-10 14:57:34 +02:00
Paul Chavard
7136c96a36 feat(procedure): validate external links 2023-07-06 10:27:43 +02:00
Eric Leroy-Terquem
b94e8edb67 refactor(routing): move toggle_routing to procedure model 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
3de5aa0382 refactor(routing): toggle routing from mutations 2023-07-03 14:47:56 +02:00
Paul Chavard
02dcead04a fix(commune): add fallbacks to commune name resolution 2023-06-28 09:44:21 +02:00
Eric Leroy-Terquem
3f55c71bc8
Merge pull request #8658 from E-L-T/notify-instructeur-when-added-or-removed-from-api
feat(API): notify instructeurs when added or removed from procedure
2023-06-26 09:37:15 +00:00
Paul Chavard
10524643fb fix(hack): fix and test hack for procedures using groupe instructeur api 2023-06-14 19:24:58 +01:00
Paul Chavard
b3aeb46c1b fix(prefill): it should be possible to prefill a dossier on a test procedure 2023-06-14 09:14:12 +01:00
Paul Chavard
35f4c9f48b fix(api_entreprise): raison_sociale can be nil 2023-06-01 13:42:54 +02:00
Paul Chavard
6e160e54e3 chore(graphql): reorder fields declarations by nullability 2023-06-01 12:18:18 +02:00
Paul Chavard
86f18de7a6 fix(api_entreprise): nom_commercial can be nil 2023-06-01 12:16:54 +02:00
simon lehericey
ba5c64ea84 a cheap solution ? 2023-05-31 11:38:16 +02:00
Paul Chavard
c06a4113b3 fix(graphql): gracefully handle change state errors 2023-05-24 12:04:04 +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
Paul Chavard
71cfe094aa
fix(groupe_instructeur): always use assign_to_groupe_instructeur method 2023-05-09 17:23:23 +02:00
Nicolas Cavigneaux
3aa6a5e28e
fix: url helper method calls for files 2023-05-03 11:35:28 +02:00
Nicolas Cavigneaux
8f6beb1093
fix: Rails 7 preloader now take named arguments 2023-05-03 10:10:38 +02:00
Paul Chavard
ce466d072a feat(manager): display procedure state and unpublished date 2023-04-19 19:59:54 +02:00
Paul Chavard
05cfb4055d fix(dossier): improuve dossier state display 2023-04-19 12:27:16 +02:00