Commit graph

16746 commits

Author SHA1 Message Date
sebastiencarceles
ab30af5fe5 review: move Prefillable to concern directory 2022-12-08 15:27:39 +01:00
sebastiencarceles
3939644030 validate prefilled champs when editing brouillon 2022-12-08 15:27:39 +01:00
sebastiencarceles
79ef48cafb make the dossier prefillable 2022-12-08 15:27:39 +01:00
sebastiencarceles
f4e1a09e73 prepare prefilled values from ctrl params 2022-12-08 15:27:39 +01:00
sebastiencarceles
24802985a2 feat(dossier): prefill dossier from query params 2022-12-08 15:27:39 +01:00
Paul Chavard
7a1325df60
Merge pull request #8222 from demarches-simplifiees/dependabot/npm_and_yarn/qs-6.5.3
chore(deps): bump qs from 6.5.2 to 6.5.3
2022-12-08 15:22:08 +01:00
dependabot[bot]
27ac55b0fe
chore(deps): bump qs from 6.5.2 to 6.5.3
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 14:15:02 +00:00
Paul Chavard
1900f8ff4c
Merge pull request #7907 from tchak/feat-cond-repetitions
feat(cond): enable conditional on champs in repetitions
2022-12-08 14:20:25 +01:00
Paul Chavard
52a32051c4 feat(dossier): add dossier.champs_public_all 2022-12-08 09:38:12 +01:00
Paul Chavard
16a48c02aa feat(cond): add tests 2022-12-08 09:38:12 +01:00
Paul Chavard
d513c364d8 feat(cond): enable conditional on champs in repetitions 2022-12-08 09:38:12 +01:00
Paul Chavard
6ce7064ffd feat(dossier): add repetition champs to champs_for_condition 2022-12-08 09:38:12 +01:00
mfo
febffc2d64
Merge pull request #8219 from demarches-simplifiees/dependabot/bundler/nokogiri-1.13.10
chore(deps): bump nokogiri from 1.13.9 to 1.13.10
2022-12-08 09:37:17 +01:00
dependabot[bot]
e5bce4816b
chore(deps): bump nokogiri from 1.13.9 to 1.13.10
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.9 to 1.13.10.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.9...v1.13.10)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 03:51:17 +00:00
Colin Darie
4145075b4c
Merge pull request #8210 from colinux/fix-annuaire-education-schema
fix(annuaire-education): schema less strict
2022-12-07 22:30:56 +01:00
Colin Darie
40a1eaaaed fix(annuaire-education): schema should not require adresse_1, type_contrat_prive attributes
https://sentry.io/organizations/demarches-simplifiees/issues/3328955794/events/147affe4b73b43a391c257b97d298bb9/?project=1429550
2022-12-07 22:23:34 +01:00
LeSim
c48044419e
Merge pull request #8206 from demarches-simplifiees/certigna_timestamp
feat(timestamp): utilise l'horodatage de certigna et vérifie par openssl la validité du jeton
2022-12-07 19:46:13 +01:00
simon lehericey
fe8bd15939 feat(timestamp): ensure signature is openssl compatible 2022-12-07 19:28:01 +01:00
simon lehericey
86cda6a0b9 fix(timestamp spec): rewind io after before_save check 2022-12-07 19:28:01 +01:00
simon lehericey
de2c5c69be feat(timestamp): use certigna to timestamp 2022-12-07 19:28:01 +01:00
simon lehericey
c085c7820f fix(spec): update spec with new timestamp 2022-12-07 19:28:01 +01:00
simon lehericey
172a9d5599 feat(timestamp): add certigna 2022-12-07 19:28:01 +01:00
Paul Chavard
3ca5e07e4f
Merge pull request #8140 from tchak/feat-api-token-rotate
feat(api): api tokens can be rotated
2022-12-07 18:49:57 +01:00
Paul Chavard
52c8fc7e8d feat(api_token): api v2 use new token 2022-12-07 18:19:37 +01:00
Paul Chavard
a47a056ee8 feat(api_token): api v1 use new token 2022-12-07 18:19:37 +01:00
Paul Chavard
3c21090a88 feat(api_token): add profile api token card 2022-12-07 18:19:37 +01:00
Paul Chavard
3d1f57df83 feat(api_token): add api token controller 2022-12-07 18:19:37 +01:00
Paul Chavard
ebbada752f feat(api_token): add APIToken model 2022-12-07 18:19:37 +01:00
Paul Chavard
47f716f9fa feat(api_token): add api_tokens table 2022-12-07 18:19:37 +01:00
Paul Chavard
040009f2c9
Merge pull request #8216 from demarches-simplifiees/fix-notifications-display-in-batch-table
fix(notifications) : réintégrer les pastilles dans les tableaux avec actions multiples
2022-12-07 16:36:29 +01:00
Lisa Durand
64134d1b08 fix deleted notification in table after batch feature implementation 2022-12-07 16:21:15 +01:00
Paul Chavard
a4a308ec08
Merge pull request #8209 from tchak/fix-dossier-notifications
fix(dossier): send notifications on declarative dossiers
2022-12-07 13:29:01 +01:00
Paul Chavard
30a5c592e6 refactor(graphql): use shorthand syntax in mutations 2022-12-07 13:21:55 +01:00
Paul Chavard
4fe081e4be fix(dossier): send notifications on declarative dossiers 2022-12-07 13:14:59 +01:00
Paul Chavard
bb47e8d2ab fix(dossier): dossier.repasser_en_construction! should take disable_notification 2022-12-07 13:14:59 +01:00
Paul Chavard
6fc8d66956
Merge pull request #8200 from tchak/feat-graphql-update-stored-query
feat(graphql): prepare avis and messages to handle multiple files
2022-12-07 12:13:34 +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
c008cad1f9 feat(graphql): prepare avis and messages to handle multiple files 2022-12-07 12:06:55 +01:00
Paul Chavard
73ff739c52 refactor(graphql): extract stored queries spec in a separate file 2022-12-07 12:06:55 +01:00
mfo
1963f46eac
Merge pull request #8207 from colinux/fix-attachments-ui
style: minor attachments improvements in edge cases
2022-12-06 17:09:42 +01:00
Colin Darie
f4eb32af29 fix(messagerie): attachment open in new tab 2022-12-06 16:44:24 +01:00
Colin Darie
8cf8c2c88a
test(attachment): maybe fix flaky test 2022-12-06 16:37:11 +01:00
Colin Darie
182bfcd3e3
style(attachment): delete button replaces bullet when user can download + destroy 2022-12-06 16:37:10 +01:00
Colin Darie
5b20713893
style(attachment): fix antivirus badge when uploading as downloadable 2022-12-06 16:37:10 +01:00
Colin Darie
e83b94a6b9
Merge pull request #8202 from colinux/fix-api-v1-pj
fix(apiv1):  piece_justificative continue to returns a single attachment
2022-12-06 16:00:07 +01:00
Colin Darie
f4d403a81c fix(apiv1): piece_justificative continue to returns a single attachment 2022-12-06 15:47:06 +01:00
mfo
342a7b8ee4
Merge pull request #8203 from mfo/US/fix-export-pjs
correctif(export.pjs): la liste des pjs doit etre une chaine de caractère pas un tableau
2022-12-06 15:39:35 +01:00
Martin
2eaa06b22b correctif(export.pjs): sur l'export, les champs de type piece justificative renvoyent un tableau de la meme dimension quelque soit le nombre de pj joint 2022-12-06 15:22:53 +01:00
Martin
d96fba1341 bug(export.pjs): sur l'export, les champs de type piece justificative devraient renvoyer un tableau de la meme dimension quelque soit le nombre de pj joint 2022-12-06 15:04:50 +01:00
Paul Chavard
ca7982ca06
Merge pull request #8176 from tchak/refactor-groupe_instructeurs_controller
refactor(groupe_instructeur): improve controller
2022-12-06 13:10:54 +01:00