Paul Chavard
72fad93c61
Merge pull request #7252 from tchak/fix-form-multipart
...
fix(dossier): annotations privées form
2022-05-05 12:49:02 +02:00
Paul Chavard
fa1bc0b88b
fix(dossier): annotations privées form
2022-05-05 12:42:58 +02:00
Paul Chavard
6cd5c07c42
Merge pull request #7250 from tchak/fix-old-edge
...
fix(js): prevent old Edge from crashing
2022-05-05 09:53:50 +02:00
Paul Chavard
4307445999
fix(js): prevent old Edge from crashing
2022-05-05 09:35:53 +02:00
Pierre de La Morinerie
998105b11f
Merge pull request #7248 from betagouv/fix-accuse-de-depot-dates
...
Usager : l'accusé de dépôt affiche la première date de dépôt du dossier
2022-05-04 17:46:44 +02:00
Pierre de La Morinerie
63b1ff9e2d
dossiers: fix wrong use of created_at in the deposit receipt
2022-05-04 17:41:21 +02:00
Pierre de La Morinerie
982a209e7d
dossiers: use the depose_at date in the deposit recepit
...
A dossier has several submission dates:
- `depose_at` is the first date at which the dossier was submitted
- `en_construction_at` is the last date at which the dossier was
submitted OR reverted from `en_instruction` to `en_construction`.
For now we prefer to display the earliest date:
- it gives more rights to the user,
- en_construction_at means the administration can reset at will the date
printed on deposit receipts (by moving the dossier `en_instruction`
and then back), which we don't want.
2022-05-04 17:41:21 +02:00
Pierre de La Morinerie
0dc249e781
Merge pull request #7247 from betagouv/dossier-vide-improvements
...
Usager : améliorations de l'affichage d'un dossier vide en PDF
2022-05-04 17:39:59 +02:00
Pierre de La Morinerie
0ffdbbdc6d
dossiers: display the procedure libelle properly on several lines
...
When the procedure libelle overflows on several lines, it should
push the next fields down (instead of overlapping them).
2022-05-04 17:34:13 +02:00
Pierre de La Morinerie
ff032fc5a7
dossiers: display a text box near an "Other" list field
2022-05-04 17:34:13 +02:00
Paul Chavard
3d91fe9132
Merge pull request #7215 from tchak/refactor-repetition-champ
...
Improuve repetition champ
2022-05-04 17:23:23 +02:00
Paul Chavard
1a9f2f0eef
refactor(champ): improuve repetition champ
2022-05-04 17:18:52 +02:00
Pierre de La Morinerie
196a9b9a98
Merge pull request #7246 from betagouv/fix-dossier-vide-generation
...
Usager : correction du PDF de dossier vide quand un champ "Autre" est présent.
2022-05-04 17:09:50 +02:00
Pierre de La Morinerie
59d8479b85
dossiers: fix dossier_vide with drop_down_list
...
Previously a drop-down list with an ["Autre", "__other__"] value crashed
the PDF generation.
2022-05-04 16:34:37 +02:00
Pierre de La Morinerie
0e60830102
specs: add a test for dossier_vide.pdf.prawn
2022-05-04 16:34:37 +02:00
Pierre de La Morinerie
137cb619d5
Merge pull request #7241 from tchak/fix-graphql-dossier-deleted-user
...
API : correction d'une exception sur les dossiers comportant des usagers supprimés
2022-05-04 16:23:23 +02:00
Paul Chavard
5f1fda1adc
fix(graphql): stop crashing on dossiers with deleted users
2022-05-04 16:16:47 +02:00
Pierre de La Morinerie
e75276727f
Merge pull request #7238 from betagouv/accuse-de-depot
...
Ajout d'un accusé de dépôt téléchargeable (derrière un feature-flag)
2022-05-04 16:13:23 +02:00
Pierre de La Morinerie
7109e2d4e6
views: add a link to the deposit receipt
2022-05-04 16:09:52 +02:00
Pierre de La Morinerie
9bc5364ca2
app: add controller and view to generate a deposit receipt
2022-05-04 16:09:52 +02:00
Pierre de La Morinerie
fe56b7bb68
config: add papertrail feature-flag
2022-05-04 16:09:52 +02:00
Pierre de La Morinerie
315a1c847b
Merge pull request #7244 from tchak/fix-annotations
...
Correction de l'enregistrement de blocs répétables dans les annotations privées
2022-05-04 16:01:48 +02:00
Paul Chavard
4523c0590c
fix(dossier): champs repetable in champs private
2022-05-04 15:57:25 +02:00
LeSim
19edbdbf6a
Merge pull request #7146 from betagouv/US/merge-old-user-with-instructeur-and-dossiers-operation-log-2
...
feat(user.merge): when user have an instructeur having dossier_opertions_logs containing instructeur_id
2022-05-04 14:30:37 +02:00
Martin
636f887698
fix(user.merge): when merging old_user having an instructeur with dossier_operation_logs containing the old_user.instructeur_id, should be able to merge to new instructeur
...
feat(user.merge): when user have an instructeur having dossier_opertions_logs containing instructeur_id
2022-05-04 14:24:11 +02:00
Paul Chavard
7e3a73ad18
Merge pull request #7239 from tchak/refactor-form-input
...
refactor form inputs to use turbo
2022-05-04 14:15:46 +02:00
Paul Chavard
f8e3397f82
refactor(turbo): password complexity check use turbo
2022-05-04 14:11:43 +02:00
Paul Chavard
2db892d876
refactor(turbo): champ siret and dossier_link use turbo
2022-05-04 14:11:43 +02:00
Paul Chavard
1c2bd5543f
refactor(turbo): champ carte use turbo
2022-05-04 14:11:43 +02:00
Paul Chavard
1500a1cf28
feat(turbo): add enable and disable mutations
2022-05-04 14:11:43 +02:00
Paul Chavard
cfb83bbdda
feat(turbo): add on
method to stimulus application controller
2022-05-04 14:11:43 +02:00
LeSim
2eaf486372
Merge pull request #7220 from betagouv/add_revision_de_champ
...
re introduce revision_types_de_champ
2022-05-04 13:21:41 +02:00
simon lehericey
1ef8d99e6e
simplify a bit more
2022-05-04 13:16:12 +02:00
simon lehericey
35ae011b59
remove duplicate test case (see tdc_0)
2022-05-04 13:16:12 +02:00
simon lehericey
96eec7e566
refactor spec
2022-05-04 13:16:12 +02:00
simon lehericey
37e01ea399
re introduce revision_types_de_champ
2022-05-04 13:16:12 +02:00
mfo
b6592c010f
Merge pull request #7233 from betagouv/tech/simplify-balancing
...
clean(SMTP.balancing): remove some env vars
2022-05-03 16:50:42 +02:00
Martin
a0df24b631
clean(SMTP.balancing): remove some env vars
2022-05-03 16:46:35 +02:00
Paul Chavard
529da2d80f
Merge pull request #7200 from tchak/custom-form-input-name
...
refactor(dossier): use champ id as champ attributes key
2022-05-03 16:29:28 +02:00
Paul Chavard
9b12178bbd
refactor(champ): simplify piece justificative champ
2022-05-03 16:14:54 +02:00
Paul Chavard
2d1370d123
refactor(champ): simplify repetition champ
2022-05-03 16:14:54 +02:00
Paul Chavard
39ecc669b1
refactor(champ): simplify dossier link champ
2022-05-03 16:14:54 +02:00
Paul Chavard
4604be0796
refactor(champ): simplify carte champ
2022-05-03 16:14:54 +02:00
Paul Chavard
3384b535c5
refactor(champ): simplify siret champ
2022-05-03 16:14:54 +02:00
Paul Chavard
edba12705b
feat(controller): add read_param_value helper
2022-05-03 16:14:54 +02:00
Paul Chavard
cfeef3bf5f
refactor(champ): fix drop_down_list champ
2022-05-03 16:14:54 +02:00
Paul Chavard
b94bc8fd8a
refactor(dossier): use champ id as champ attributes key
2022-05-03 16:14:54 +02:00
Paul Chavard
1126099e0b
Merge pull request #7216 from tchak/refactor-use-http-request
...
Use fetch everywhere
2022-05-03 15:16:35 +02:00
Paul Chavard
af363b721b
refactor(js): use httpRequest instead of getJSON and ajax
2022-05-03 15:09:30 +02:00
Paul Chavard
229eb1a775
feat(js): add httpRequest
2022-05-03 15:09:30 +02:00