Commit graph

15231 commits

Author SHA1 Message Date
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
simon lehericey
04965ac35a improve constant and empty to_s 2022-07-05 12:07:06 +02:00
simon lehericey
dda5bc35ed extract champ value type 2022-07-05 12:07:06 +02:00
simon lehericey
809319f593 exposed champ value managed tdc 2022-07-05 12:07:06 +02:00
LeSim
12770f1308
Merge pull request #7517 from betagouv/fix_stable_id_var
fix: renommage de var id en stable_id
2022-07-05 12:02:49 +02:00
simon lehericey
a475515f3e use params[:stable_id] 2022-07-05 11:53:18 +02:00
simon lehericey
7b02fa9353 typeDeChampIdValue -> typeDeChampStableIdValue 2022-07-05 11:53:18 +02:00
simon lehericey
5ebaf59fdb parent_id -> parent_stable_id 2022-07-05 11:53:18 +02:00
simon lehericey
1342356651 after_id -> after_stable_id 2022-07-05 11:53:18 +02:00
LeSim
5dd5bd90ce
Merge pull request #7527 from tchak/doc-vite-helper
chore(vite): add a coment with link to original legacy plugin code
2022-07-04 20:45:27 +02:00
Paul Chavard
3c46447851 chore(vite): add a coment with link to original legacy plugin code 2022-07-04 19:32:18 +02:00
Paul Chavard
2c8bdbf549
Merge pull request #7525 from tchak/feat-add-departement-info-to-commune-champ-export
feat(export): add déparctement info to commune champ export
2022-07-04 16:36:18 +02:00
Paul Chavard
9a6a8411d3 feat(export): add déparctement info to commune champ export 2022-07-04 16:30:16 +02:00
Paul Chavard
3e7174f485
Merge pull request #7524 from tchak/chore-update-strscan
chore(bundle): update strscan to prevent rspec error
2022-07-04 16:29:27 +02:00
Paul Chavard
e1851cc3d1 chore(bundle): update strscan to prevent rspec error 2022-07-04 15:07:23 +02:00
mfo
6cf397fda4
Merge pull request #7500 from mfo/US/admin_zip
ETQ admin, je souhaite pouvoir télécharger une archive.zip (mensuelle) des dossiers terminés
2022-07-04 14:28:43 +02:00