Commit graph

15192 commits

Author SHA1 Message Date
simon lehericey
1921661fad simplify children_of 2022-05-18 12:30:58 +02:00
LeSim
61c22e6324
Merge pull request #7344 from betagouv/remove_tdc_on_tdc
Refactor(revision): enleve l'usage de types_de_champ dans le modèle type_de_champ
2022-05-18 12:21:00 +02:00
simon lehericey
633f0d1ce5 remove_repetition 2022-05-18 12:12:25 +02:00
simon lehericey
4d97f6aa8c types_de_champ_for_revision 2022-05-18 11:40:34 +02:00
Paul Chavard
79fd90da75
Merge pull request #7345 from tchak/refactor-dossier-champs
refactor(dossier): champs order by coordinate
2022-05-18 11:32:31 +02:00
Paul Chavard
cdd597db19 refactor(dossier): fix champ repetition factories 2022-05-18 11:24:14 +02:00
Paul Chavard
6c2a3bafa4 refactor(dossier): champs order by coordinate 2022-05-18 11:20:50 +02:00
Paul Chavard
e59f7f2f87
Merge pull request #7343 from betagouv/remove_tdc_tdcs_in_manager
Refactor(revision) : retire l'utilisation de type_de_champ.types_de_champ dans le manager
2022-05-18 11:11:53 +02:00
simon lehericey
09744839f1 in manager dossier 2022-05-18 10:43:08 +02:00
LeSim
7f5876eb0d
Merge pull request #7302 from betagouv/add_champ_v2
Add champ v2
2022-05-18 10:35:42 +02:00
simon lehericey
be33c0ce7b extract coordinate_and_tdc 2022-05-18 10:11:31 +02:00
simon lehericey
0b90f4d30d is the order important ? 2022-05-18 10:11:31 +02:00
simon lehericey
ae86cdcf9e strange test 2022-05-18 10:11:31 +02:00
simon lehericey
5767c9b97e fix test 2022-05-18 10:11:31 +02:00
simon lehericey
7f23449f24 remove set_position 2022-05-18 10:11:31 +02:00
Paul Chavard
84d2e38494
Merge pull request #7339 from tchak/fix-add-back-export-all
feat(dossiers): bring back export all dossiers
2022-05-17 20:12:15 +02:00
Paul Chavard
0dfc015690 feat(dossiers): bring back export all dossiers 2022-05-17 18:34:00 +02:00
mfo
4fe6ae1b79
Merge pull request #7329 from betagouv/sentry/3255441683
clean(data): remove old cron UpdateAdministrateurUsageStatisticsJob from delayed job table
2022-05-17 17:03:28 +02:00
Martin
863358f389 clean(data): remove old cron UpdateAdministrateurUsageStatisticsJob from delayed job table 2022-05-17 16:57:55 +02:00
Paul Chavard
185f2acdea
Merge pull request #7266 from tchak/refactor-poll-controller
turbo poll controller
2022-05-17 16:25:36 +02:00
Paul Chavard
e33022ffc7 refactor(dossier): export to use turbo-poll 2022-05-17 16:08:47 +02:00
Paul Chavard
e9b02642c5 refactor(attachment): attachments controller to use turbo 2022-05-17 16:08:47 +02:00
Paul Chavard
32bd1b6d9f refactor(attachment): remove unused helpers 2022-05-17 16:08:47 +02:00
Paul Chavard
bc77390cfe refactor(attachment): use new components 2022-05-17 16:08:47 +02:00
Paul Chavard
2ce389d474 refactor(dossier): add Dossier::ExportComponent 2022-05-17 16:08:47 +02:00
Paul Chavard
7e1c793728 refactor(attachment): add Attachment::ShowComponent 2022-05-17 16:08:47 +02:00
Paul Chavard
d6384caf10 refactor(attachment): add Attachment::EditComponent 2022-05-17 16:08:47 +02:00
Paul Chavard
57c55107c0 feat(turbo): longer dely before hiding flash messages 2022-05-17 16:08:47 +02:00
Paul Chavard
dca4dda228 chore(view_component): enable global_output_buffer 2022-05-17 16:08:47 +02:00
Paul Chavard
df914d273f feat(turbo): add turbo-poll controller 2022-05-17 16:08:47 +02:00
Pierre de La Morinerie
144a086dce
Merge pull request #7333 from betagouv/fix-webpack-dev-server 2022-05-17 15:00:26 +02:00
Pierre de La Morinerie
03a16e2ee3 js: fix webpack-dev-server
Currently `bin/webpack-dev-server` raises an error:

> /rails_app/node_modules/webpack-cli/bin/utils/prompt-command.js:46
>    return func(...args);
>           ^
>
> TypeError: Class constructor ServeCommand cannot be invoked without 'new'

It seems this is because webpack-dev-server 4+ stopped being
compatible with webpack 5. So we have to downgrade to webpack-dev-server
3 to fix it.

See https://stackoverflow.com/questions/69046801/brand-new-rails-6-1-4-1-fails-with-webpack-error-typeerror-class-constructor
2022-05-17 14:56:47 +02:00
Paul Chavard
c933936aad
Merge pull request #7330 from tchak/fix-dossier-delete-redirect
fix(dossier): redirect on destroyed dossier -> NotFound
2022-05-17 11:46:33 +02:00
Paul Chavard
2eb7da5227 fix(dossier): redirect on not found dossiers 2022-05-17 11:42:10 +02:00
Martin
ad5c659f88 bug(instructeurs/dossiers#destroy): redirect on destroyed dossier -> NotFound 2022-05-17 11:42:10 +02:00
Paul Chavard
5aaef15c67
Merge pull request #7307 from tchak/refactor-type-de-champ-revision
refactor(revision): remove type_de_champ#revision_id
2022-05-17 11:37:35 +02:00
Paul Chavard
b6ea44f7e7 refactor(revision): remove type_de_champ#revision_id 2022-05-17 11:31:49 +02:00
Pierre de La Morinerie
484c9b0406
Merge pull request #7291 from betagouv/improve-new-service
Administrateur : amélioration de la vue "Nouveau service"
2022-05-17 10:51:29 +02:00
Pierre de La Morinerie
51512ff733 views: clarify why contact informations are important 2022-05-17 10:45:34 +02:00
Pierre de La Morinerie
c0b96bfecb views: improve Service breadcrumbs
- Make the procedure name shorter
- Capitalize the words
2022-05-17 10:45:34 +02:00
Paul Chavard
1415d1f2eb
Merge pull request #7319 from tchak/fix-parse-error-body-on-fetch
fix(fetch): prevent double parsing of fetch error messages
2022-05-17 10:42:06 +02:00
Paul Chavard
e8c875a461 fix(fetch): prevent double parsing of fetch error messages 2022-05-17 10:38:19 +02:00
Pierre de La Morinerie
526c270d58
Merge pull request #7283 from betagouv/email-deposit-receipt
Usager : l'attestation de dépôt est envoyée en pièce jointe dans l'email de notification de dépôt
2022-05-17 10:30:13 +02:00
Pierre de La Morinerie
0063b68689 mailers: add deposit receipt to initiated_mail
See #6146
2022-05-17 10:25:13 +02:00
Pierre de La Morinerie
e8b6731af8 spec: improve performances of notification_mailer_preview
The time to find the last dossier could be very long for large
procedures.
2022-05-17 10:25:13 +02:00
Pierre de La Morinerie
36f5a98b26 i18n: use consistent wording for "Attestation de dépôt" 2022-05-17 10:25:13 +02:00
Paul Chavard
688df8e59b
Merge pull request #7331 from tchak/fix-expiration-test
fix(spec): try fix dossier expiration spec
2022-05-17 10:24:29 +02:00
Paul Chavard
6909337500 fix(spec): try fix dossier expiration spec 2022-05-17 10:14:43 +02:00
mfo
b5871f72b0
Merge pull request #7326 from betagouv/US/unlock-kaminari
tech(Gemfile): unlock versions for kaminari and delayed_job_web
2022-05-17 06:02:37 +02:00
mfo
624c250982
Merge pull request #7328 from betagouv/sentry/3002560608
sentry(3002560608): some Dossier ready to be purged are missing the hidden_by_reason
2022-05-16 21:22:27 +02:00