Commit graph

17197 commits

Author SHA1 Message Date
Colin Darie
a2f8ab37bc
style(instructeurs): fix dropdown visibility when table height is short 2022-12-14 18:57:34 +01:00
Colin Darie
ae296e70ed
style(instructeurs): table dossiers in full width in a fluid container 2022-12-14 18:57:33 +01:00
Paul Chavard
232245ffed
Merge pull request #8283 from tchak/feat-more-lax-parser
fix(tags): relax parser roules
2022-12-14 18:16:47 +01:00
Paul Chavard
59bdd4bd92 fix(tags): relax parser roules 2022-12-14 17:53:36 +01:00
Paul Chavard
f970347c93
Merge pull request #8272 from tchak/feat-procedure-change-brouillon-rebase
feat(revision): allow more dossiers to rebase
2022-12-14 17:51:54 +01:00
Paul Chavard
9149e0fcd7 feat(revision): allow more dossiers to rebase 2022-12-14 17:42:27 +01:00
Paul Chavard
5dfb96383a fix(types_de_champ): ensure we always reset dossier after demarche changes 2022-12-14 17:42:27 +01:00
Paul Chavard
1f54986ab8 clean(admin): remove unused code from old controller 2022-12-14 17:42:27 +01:00
Colin Darie
495b4988d2
Merge pull request #8271 from colinux/pj-en-construction-replace
Replace mandatory attachments when dossier is "en construction"
2022-12-14 17:07:04 +01:00
Colin Darie
3a9a71079a
Merge branch 'main' into pj-en-construction-replace 2022-12-14 16:59:48 +01:00
Paul Chavard
47e03a1785
Merge pull request #8276 from demarches-simplifiees/fix-prefilled-default
fix(schema): champs.prefilled default
2022-12-14 16:52:18 +01:00
sebastiencarceles
4e1dff0dce fix schema about prefilled default 2022-12-14 15:44:27 +01:00
Paul Chavard
ba34b73437
Merge pull request #8101 from tchak/refactor-nested-champs-attributes
refactor(dossier): flatten champ attributes
2022-12-14 13:11:41 +01:00
Paul Chavard
1b95809f14 refactor(dossier): flatten champ attributes 2022-12-14 13:03:06 +01:00
Paul Chavard
4ef06217b2
Merge pull request #8278 from demarches-simplifiees/dependabot/bundler/rails-html-sanitizer-1.4.4
chore(deps): bump rails-html-sanitizer from 1.4.3 to 1.4.4
2022-12-14 12:52:07 +01:00
dependabot[bot]
5af5747aa9
chore(deps): bump rails-html-sanitizer from 1.4.3 to 1.4.4
Bumps [rails-html-sanitizer](https://github.com/rails/rails-html-sanitizer) from 1.4.3 to 1.4.4.
- [Release notes](https://github.com/rails/rails-html-sanitizer/releases)
- [Changelog](https://github.com/rails/rails-html-sanitizer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/rails-html-sanitizer/compare/v1.4.3...v1.4.4)

---
updated-dependencies:
- dependency-name: rails-html-sanitizer
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 10:43:51 +00:00
Colin Darie
ab1bde25f0
Merge pull request #8273 from demarches-simplifiees/dependabot/bundler/loofah-2.19.1
chore(deps): bump loofah from 2.19.0 to 2.19.1
2022-12-14 11:43:12 +01:00
dependabot[bot]
3fc641da48 chore(deps): bump loofah from 2.19.0 to 2.19.1
Bumps [loofah](https://github.com/flavorjones/loofah) from 2.19.0 to 2.19.1.
- [Release notes](https://github.com/flavorjones/loofah/releases)
- [Changelog](https://github.com/flavorjones/loofah/blob/main/CHANGELOG.md)
- [Commits](https://github.com/flavorjones/loofah/compare/v2.19.0...v2.19.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 11:36:03 +01:00
Paul Chavard
55b6fdcc7f
Merge pull request #8277 from tchak/revert-conditions-repetitions
Revert "Merge pull request #7907 from tchak/feat-cond-repetitions"
2022-12-14 11:32:52 +01:00
Paul Chavard
0d10d36cb0 Revert "Merge pull request #7907 from tchak/feat-cond-repetitions"
This reverts commit 1900f8ff4c, reversing
changes made to febffc2d64.

# Conflicts:
#	app/models/dossier.rb
2022-12-14 11:25:45 +01:00
Paul Chavard
b740c75f09
Merge pull request #8270 from tchak/fix-improuve-batch-dossiers-query
refactor(dossier): improuve dossiers_safe_scope on batch operation
2022-12-14 10:01:23 +01:00
Colin Darie
a3425f5074
chore(i18n): translate missing attachments titles keys 2022-12-14 09:58:15 +01:00
Colin Darie
013a05f24a
feat(piece_justificative): replace with multiple attachments for dossier en_construction 2022-12-14 09:58:15 +01:00
Colin Darie
4049240c2c
feat(piece_justificative): allow user to replace a PJ for dossier en_construction 2022-12-14 09:58:15 +01:00
Paul Chavard
ece70efbea refactor(dossier): improuve dossiers_safe_scope on batch operation 2022-12-14 09:45:53 +01:00
Paul Chavard
9510142cd8 fix(dossier): parent_dossiers is really cloned_dossiers 2022-12-14 09:44:19 +01:00
Paul Chavard
22a36c18ff
Merge pull request #8243 from tchak/fix-back-links
fix(admin): go to the right tab when click on breadcrumb link
2022-12-13 23:52:03 +01:00
Paul Chavard
8c173e45bf fix(admin): go to the right tab when click on breadcrumb link 2022-12-13 15:55:10 +01:00
Colin Darie
93de4cf821
Merge pull request #8221 from colinux/attachments-downloadable
feat: attachments viewable after upload (dossier en brouillon)
2022-12-08 21:13:53 +01:00
Colin Darie
c93eba38ea chore(turbo-poll): convert to setInterval, turbo morph compatible.
Interval is not exponential anymore, so increase max checks.
2022-12-08 20:36:15 +01:00
Colin Darie
4824363879 refactor(attachment): rename user_can_download -> explicit view_as
- link: shows a simple link to open attachment
- download: shows complete DSFR download UI
2022-12-08 20:36:15 +01:00
Colin Darie
7c5d27d8e9 feat(attachment): allow user to "view" a file without the complete download UI 2022-12-08 20:36:15 +01:00
Colin Darie
7719ce1865 chore(attachment): increase poll antivirus timeout and make it clear it's not blocker 2022-12-08 20:36:15 +01:00
Paul Chavard
169d701a03
Merge pull request #8218 from tchak/clean-remove-legacy-token-code
clean(api_token): remove administrateur token support
2022-12-08 17:42:36 +01:00
Paul Chavard
7929b7d0d7 clean(api_token): remove administrateur token support 2022-12-08 17:35:21 +01:00
Paul Chavard
d489419220
Merge pull request #8234 from mfo/US/enhance-procedure-email-card-component
amelioration(administrateur/carte-email): la carte des emails affiche en permanence à configurer
2022-12-08 17:30:23 +01:00
Martin
e018d2975d amelioration(administrateur/carte-email): la carte des emails affichait toujours 'A configurer'. Desormais si les 5 mail configurable on ete modifiés, on affiche 'Validé' + on affiche le nombre de mail personnalisé 2022-12-08 16:25:08 +01:00
LeSim
811e5a9eea
Merge pull request #8230 from demarches-simplifiees/add_missing_team_attribute_2
fix(schema): add missing team_account attribute
2022-12-08 15:50:35 +01:00
simon lehericey
e1f63f0148 fix(schema): add missing team_account attribute 2022-12-08 15:42:14 +01:00
Paul Chavard
f7deb5d7f3
Merge pull request #8145 from demarches-simplifiees/new-prefilled-dossier
feat(dossier): prefill dossier from query params
2022-12-08 15:37:55 +01:00
sebastiencarceles
38894fc853 review: prefilled has no default value 2022-12-08 15:27:39 +01:00
sebastiencarceles
bfdba0c513 review: system spec 2022-12-08 15:27:39 +01:00
sebastiencarceles
69d61913f5 review: unauthorize complex champs 2022-12-08 15:27:39 +01:00
sebastiencarceles
cdd790e3d3 review: document prefilling with json or array injection 2022-12-08 15:27:39 +01:00
sebastiencarceles
bf03e3b35a review: prefix typed ids with 'champ_' 2022-12-08 15:27:39 +01:00
sebastiencarceles
11fed2c934 review: champs exist because stable ids exist 2022-12-08 15:27:39 +01:00
sebastiencarceles
a5c1c68a91 review: style 2022-12-08 15:27:39 +01:00
Sébastien Carceles
9dfb498806 review: prefer if to unless
Co-authored-by: LeSim <mail@simon.lehericey.net>
2022-12-08 15:27:39 +01:00
Damien Le Thiec
006a1257b5 Refacto prefill_params construction (remove merge) 2022-12-08 15:27:39 +01:00
sebastiencarceles
373e8aeadb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00