Commit graph

17124 commits

Author SHA1 Message Date
Christophe Robillard
3a660349ad export all demarches 2022-12-16 15:51:49 +01:00
Christophe Robillard
cea92c0488 perf: remove n+1 queries to count admin 2022-12-16 15:51:49 +01:00
Christophe Robillard
d167a3ec71 fix: select distinct procedures 2022-12-16 15:51:49 +01:00
Colin Darie
3f34414145
Merge pull request #8290 from colinux/champ-commune-pdf
feat(pdf): list department with champ commune
2022-12-16 10:46:56 +01:00
Colin Darie
acb227bffe feat(pdf): list department with champ commune 2022-12-16 10:25:54 +01:00
Eric Leroy-Terquem
36bc1d200e
Merge pull request #8147 from E-L-T/feat-update-types-de-champ-select-elt
feat(type_de_champ) update wording and order in select
2022-12-16 09:52:17 +01:00
Eric Leroy-Terquem
2645ac85f7 update wording and order in types de champ select 2022-12-16 09:30:36 +01:00
Paul Chavard
e1cdbbda0b
Merge pull request #8280 from tchak/feat-enable-conditions-in-repetitions
Les conditions dans les répétitions sans le n+1 cette fois-ci :)
2022-12-15 19:16:18 +01:00
Paul Chavard
cb5b60ccda Revert "Revert "Merge pull request #7907 from tchak/feat-cond-repetitions""
This reverts commit 0d10d36cb0.

# Conflicts:
#	app/models/dossier.rb
#	app/models/dossier_preloader.rb
2022-12-15 19:09:25 +01:00
mfo
9b379dcabf
Merge pull request #8291 from demarches-simplifiees/US/poc-multiple-fix-displaying-checkbox
US/po-multiple (fix) Afficher les checkbox uniquement sur les pages des batchs
2022-12-15 14:59:19 +01:00
Lisa Durand
2fff6faed6 fix checkbox rendering in all pages 2022-12-15 14:46:05 +01:00
Paul Chavard
bcfa8ccc2f
Merge pull request #8287 from tchak/fix-fetchas-post
fix(fetch): always use post http method
2022-12-15 12:13:05 +01:00
Paul Chavard
17901d9be2 fix(fetch): always use post http method 2022-12-15 11:52:11 +01:00
Sébastien Carceles
b8ff0ba4a2
feat(demarche): sign up when prefilling a dossier (#8247)
* store prefill params in session

Instead of using query params on /dossier/new, we assume the user comes
from /commencer/:path, which is the new prefill link.

There, we store the prefill params in session, and use them to prefill
the dossier when creating it, in /dossiers/new.

* spec: cover the case

* review: serialize with json instead of yaml

* review: rename method

* review: store only query params

* review: comment why we dont override already stored params
2022-12-15 10:58:17 +01:00
mfo
663c13f819
Merge pull request #8268 from demarches-simplifiees/US/poc-multiple-accepter
Us/poc multiple passer en instruction
2022-12-15 10:34:29 +01:00
Lisa Durand
39a9660df6 remove redundant and failing test 2022-12-15 10:04:25 +01:00
Lisa Durand
eea42aad6b fix linter 2022-12-15 10:04:25 +01:00
Lisa Durand
ff7c1fef65 adapt button icons to bulk action 2022-12-15 10:04:25 +01:00
Lisa Durand
89730b485b add bulk action feature for 'passer_en_instruction' 2022-12-15 10:04:25 +01:00
Paul Chavard
2e072702ce
Merge pull request #8286 from colinux/instructeurs-table-dsfr
style(instructeurs): dossiers table with dropdown DSFR
2022-12-15 09:55:14 +01:00
Colin Darie
7ff04c1a05
style(instructeurs): human/i18n value for state filter 2022-12-15 09:34:10 +01:00
Colin Darie
7ff6455440
style(instructeurs): convert filters to DSFR tags 2022-12-15 09:34:10 +01:00
Colin Darie
84aabd4187
style(instructeurs): convert some dropdowns buttons to DSFR 2022-12-15 09:34:10 +01:00
mfo
74cd385b35
Merge pull request #8274 from tchak/fix-parent-dossiers
fix(dossier): parent_dossiers is really cloned_dossiers
2022-12-15 09:20:10 +01:00
Paul Chavard
b359b3aa9f
Merge pull request #8285 from tchak/fix-passer-automatiquement-en-instruction
fix(dossier): authorize passage en instruction if auto archive is on and is in the past
2022-12-14 23:34:07 +01:00
Paul Chavard
243a8301bb fix(dossier): authorize passage en instruction if auto archive is on and is in the past 2022-12-14 22:16:13 +01:00
Colin Darie
89df82f039
Merge pull request #8281 from colinux/instructeurs-table-fluid
style(instructeurs): table dossiers in full width in a fluid container
2022-12-14 19:04:57 +01:00
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