Commit graph

15296 commits

Author SHA1 Message Date
simon lehericey
30859774e4 condition component manage invalid target 2022-07-06 20:27:14 +02:00
simon lehericey
db4b7fc344 condition component manage invalid value 2022-07-06 20:27:14 +02:00
simon lehericey
03e9e95d56 condition component manage invalid operator 2022-07-06 20:27:14 +02:00
simon lehericey
e2a236b73d add condition_component 2022-07-06 20:27:14 +02:00
simon lehericey
61839ef1ac add logic condition_split 2022-07-06 20:27:14 +02:00
krichtof
8788ee70b9
Merge pull request #7489 from betagouv/opendata-export-demarches-desc
Permet la génération json du descriptif des démarches publiques

Une prochaine PR permettra la publication de ce fichier json dans data.gouv.fr
2022-07-06 18:07:57 +02:00
Christophe Robillard
25a1129ae4 use internal_use instead of require_admin for graphql context 2022-07-06 17:59:03 +02:00
Christophe Robillard
e2348aa8f1 rename publiques scope to opendata 2022-07-06 17:59:03 +02:00
Christophe Robillard
49a77ddffe [graphql] fine tune config to avoid timeout error 2022-07-06 17:59:03 +02:00
Christophe Robillard
886f595350 [graphql] add dossiersCount field
visible only for admin
2022-07-06 17:59:03 +02:00
Christophe Robillard
7684e97494 export demarches publiques 2022-07-06 17:59:03 +02:00
Christophe Robillard
fa1cbdc848 require admin context for demarchesPubliques field 2022-07-06 17:59:03 +02:00
Christophe Robillard
78d772441b [graphql] add demarchesPubliques to query 2022-07-06 17:59:03 +02:00
Christophe Robillard
b56706b6b8 add scope publiques for procedures 2022-07-06 17:59:03 +02:00
Christophe Robillard
7a06230912 [graphql] add cadre juridique and deliberation fields 2022-07-06 17:59:03 +02:00
Christophe Robillard
cb7e8d8a6e [graphql] Fix service field which can be nil
In `app/models/procedure.rb`, belongs_to service relation is optional.
To be consistent, service field in graphql has can be nil.
2022-07-06 17:59:03 +02:00
Paul Chavard
edf0687e1b
Merge pull request #7542 from tchak/fix-reset-procedure
fix(dossier): fix some reset draft changes edge cases
2022-07-06 16:57:00 +02:00
Paul Chavard
fb37f8c5a8 fix(dossier): fix some reset draft changes edge cases 2022-07-06 16:52:12 +02:00
LeSim
eb216f0a33
Merge pull request #7528 from betagouv/add_condition_controller
feat: conditionnel, ajout du controller
2022-07-06 16:39:37 +02:00
simon lehericey
1751ddf713 add condition controller 2022-07-06 16:35:23 +02:00
simon lehericey
42488419b5 add condition form model 2022-07-06 16:35:23 +02:00
Paul Chavard
8d3d660663
Merge pull request #7537 from tchak/graphql-doc
fix(graphql): change doc location
2022-07-06 16:11:06 +02:00
Paul Chavard
8331076ab1 fix(graphql): change doc location
/graphql is the root of GraphQL Engine and rails makes it harder to look for static assets under it
2022-07-06 16:04:00 +02:00
mfo
021649cc62
Merge pull request #7539 from mfo/US/remove-administrateur_procedure-task
feat(task/support:delete_adminstrateurs_procedures): simple task for simple cleanup
2022-07-06 14:47:07 +02:00
Martin
308bedf28a feat(task/support:delete_adminstrateurs_procedures): add task to remove all AdministrateursProcedure from a user admin 2022-07-06 14:38:04 +02:00
Paul Chavard
83f92b6b5e
Merge pull request #7526 from tchak/chore-lazy-stimulus
chore(stimulus): stimulus controllers can be lazy loaded
2022-07-06 14:32:50 +02:00
Paul Chavard
f5e75d5e8e chore(stimulus): stimulus controllers can be lazy loaded 2022-07-06 14:26:17 +02:00
Paul Chavard
34d4bb5e93
Merge pull request #7538 from tchak/feat-reset-changes
feat(demarche): add possibility to reset draft revision
2022-07-06 14:25:44 +02:00
Paul Chavard
9b45dcea3f feat(demarche): add possibility to reset draft revision 2022-07-06 14:18:01 +02:00
Paul Chavard
34a075571e
Merge pull request #7530 from tchak/chore-update-dependencies
chore(npm): update dependencies
2022-07-06 14:09:37 +02:00
Paul Chavard
93c5191471 chore(npm): update dependencies 2022-07-06 14:05:24 +02:00
mfo
680964d21c
Merge pull request #7534 from betagouv/fix/sentry/3394049118
fix(sentry/3394049118): apparently there is an Champs::PieceJustificative without content_type validation. Should be a bug, not found in db
2022-07-06 13:59:09 +02:00
Martin
ddd67f1df2 fix(sentry/3394049118): apparently there is an attached_file without content_type nor file_size validation... 2022-07-06 13:53:16 +02:00
Paul Chavard
0ef7a8b9b0
Merge pull request #7536 from tchak/fix-destroy-type-de-champ
task(dossier): remove orphan champs
2022-07-06 13:43:26 +02:00
Paul Chavard
e9d0ccbdf9 task(dossier): remove orphan champs 2022-07-06 13:28:00 +02:00
Paul Chavard
adfc4f8cdd test(dossier): improuve destroy spec 2022-07-06 11:12:14 +02:00
LeSim
e8ae8eb2ee
Merge pull request #7535 from betagouv/revert_terms_uuid
Revert "Add id to term"
2022-07-06 09:59:32 +02:00
simon lehericey
b715d1f495 Revert "Add id to term"
This reverts commit 87385d03fd.
2022-07-06 09:44:54 +02:00
LeSim
f6384fbc1d
Merge pull request #7533 from betagouv/add_uuid_to_condition
feature: ajoute un identifiant aux termes d'une condition
2022-07-05 14:53:54 +02:00
simon lehericey
350d32c369 in serialization rename op to term 2022-07-05 14:47:49 +02:00
simon lehericey
87385d03fd Add id to term 2022-07-05 14:47:49 +02:00
Paul Chavard
aa291e8f8e
Merge pull request #7531 from tchak/vitest
test(js): add vitest
2022-07-05 14:34:58 +02:00
Paul Chavard
2c3503d7d0 test(js): add vitest 2022-07-05 13:38:00 +02:00
LeSim
222cb1e557
Merge pull request #7521 from betagouv/work_on_logic
feat: amélioration sur le module de logic
2022-07-05 12:11:33 +02:00
simon lehericey
d8454d9d47 remove text from managed_type_de_champ 2022-07-05 12:07:06 +02:00
simon lehericey
c631c5cd82 Logic add_empty_condition_to 2022-07-05 12:07:06 +02:00
simon lehericey
df7acf70c8 and empty_operator compute always true 2022-07-05 12:07:06 +02:00
simon lehericey
6e8206b8b4 add unmanaged champ value type 2022-07-05 12:07:06 +02:00
simon lehericey
144b522773 empty operator is no longer an error 2022-07-05 12:07:06 +02:00
simon lehericey
976e760045 empty has nil value 2022-07-05 12:07:06 +02:00