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
a778e1083b
fix(graphql): return better errors when dossiers cannot change state
2023-04-04 17:24:30 +02:00
Paul Chavard
3eae17b7cb
feat(graphql): log type and timeout errors
2023-03-30 09:18:00 +02:00
Paul Chavard
666db74b09
feat(graphql): add postalCode to champ commune
2023-03-28 16:34:19 +02:00
Paul Chavard
275150d727
feat(graphql): expose pendingDeletedDossiers
...
fix #8785
2023-03-22 19:40:43 +01:00
Christophe Robillard
0a715bc79e
add doc to some graphql fields
2023-03-22 10:31:46 +01:00
Lisa Durand
893ee5801e
Merge pull request #8743 from demarches-simplifiees/ask-question-in-avis
...
[instructeurs] Je peux poser une question dans une demande d'avis
2023-03-17 15:10:51 +00:00
Paul Chavard
f4f55183de
Merge pull request #8768 from tchak/fix-graphql-attachement
...
fix(graphql): return empty array when no attachments
2023-03-16 10:44:50 +00:00
Lisa Durand
5b0570d289
add new fields to serializer
2023-03-16 11:32:05 +01:00
Paul Chavard
4ba3c0e650
fix(graphql): return empty array when no attachments
2023-03-16 10:59:08 +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
cbaa77fca7
feat(annotations): activate autosave
2023-03-14 15:22:13 +01:00
Paul Chavard
6647be216b
Merge pull request #8722 from E-L-T/do-not-notify-group-when-instructeurs-removed
...
feat(groupe instructeur): do not notify group when instructeurs removed
2023-03-02 12:51:23 +00:00
Paul Chavard
ac00a91984
fix(graphql): fix etablissement in degraded mode
2023-03-02 13:32:17 +01:00
Eric Leroy-Terquem
f6c4986e86
feat(groupe instructeur mailer): do not notify group when instructeurs removed
2023-03-02 09:46:58 +01:00
krichtof
5840c8c7f9
Merge pull request #8711 from demarches-simplifiees/8708-demarches-publiques
...
Ne pas publier le descriptif de toutes les procedures sur datagouv
2023-03-01 10:09:47 +00:00
Paul Chavard
f31241e067
fix(graphql): fix etablissement as_degraded_mode?
2023-02-28 18:09:13 +01:00
Christophe Robillard
9ff88db48c
publish only some opendata procedures for datagouv
...
- only published or closed procedures
- only procedures with flag opendata
- only procedures with 4 or more dossiers
- only procedures without word "mail" in lien_site_web
- only procedures without word "intra" in lien_site_web
2023-02-28 17:02:08 +01:00
Christophe Robillard
38fa7a44c3
publish opendata demarches only if they are publiees or closes
2023-02-23 15:47:18 +01:00
Paul Chavard
3c3629d151
refactor(instructeurs): add_instructeurs should add
2023-02-22 09:49:26 +01:00
Paul Chavard
fcd0f7c609
bring back find_or_create_instructeurs
2023-02-22 09:49:26 +01:00
Eric Leroy-Terquem
d0c432d939
refactor(groupe instructeur): move method to Instructeur model
2023-02-22 09:49:26 +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
Eric Leroy-Terquem
a46faf8cdf
feat(groupe instructeur mailer): make two kind of notifications for removed instructeur
2023-02-16 10:37:04 +01:00
Eric Leroy-Terquem
5be58c8223
refactor(groupe instructeur mailer): rename mailer methods
2023-02-16 10:37:04 +01:00
Eric Leroy-Terquem
cbf072961c
feat(groupe instructeur mailer): add emailing to removed instructeurs
2023-02-16 10:37:04 +01:00
Paul Chavard
8b74a6f39b
fix(geometry): implement our own bbox to replace rgeo
2023-02-15 11:58:59 +01:00
Paul Chavard
5f0e9f7313
fix(graphql): fixing couple of n+1
2023-02-09 10:37:44 +01:00
Eric Leroy-Terquem
6cbc514d56
feat(groupe instructeurs): remove mailing when add instructeurs
2023-02-08 10:36:42 +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
b5c189de63
fix(graphql): n+1 on single dossier loading
2023-01-17 11:23:21 +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
af33d5d65c
refactor(repetition): use row_id instead of row
2023-01-10 19:31:41 +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
aeca2b28e4
correctif(PersonneMoraleType): il arrive que le code naf d'une entreprise puisse ne pas exister [trop vieux pour etre mappable]
2022-12-28 15:38:22 +01:00