Commit graph

15123 commits

Author SHA1 Message Date
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
Martin
7fcf566382 sentry(3002560608): some Dossier ready to be purged are missing the hidden_by_reason 2022-05-16 21:18:13 +02:00
LeSim
6e35ce9943
Merge pull request #7311 from betagouv/improve_compare_spec
Refactor(Revision Spec) : detailles les tests de comparaison entre les versions
2022-05-16 16:57:21 +02:00
simon lehericey
10fff77d69 spec: split cases 2022-05-16 16:51:49 +02:00
simon lehericey
a26a662df4 spec: move one level up 2022-05-16 16:51:49 +02:00
LeSim
80f0497a37
Merge pull request #7312 from betagouv/bump_gems
Bump gems
2022-05-16 16:14:06 +02:00
simon lehericey
faae2f55d8 Flipper: remove deprecated conf
https://github.com/jnunemaker/flipper/pull/523
2022-05-16 16:10:35 +02:00
simon lehericey
05ebeefb7d bump delayed_job 2022-05-16 16:10:35 +02:00
simon lehericey
00618b8c9a bump sinatra 2022-05-16 16:10:35 +02:00
simon lehericey
9af2c14f3e bump flipper 2022-05-16 16:10:35 +02:00
mfo
dac94546e6
Merge pull request #7322 from betagouv/fix/search-pagination-rendered-in-loop
fix(recherche#index): move paginate outside of table row loop
2022-05-16 16:02:59 +02:00
Martin
595491fb44 tech(Gemfile): unlock versions for kaminari and delayed_job_web 2022-05-16 16:02:36 +02:00
Martin
bb96d49743 fix(recherche#index): move paginate outside of table row loop 2022-05-16 15:56:02 +02:00
Paul Chavard
6336033978
Merge pull request #7320 from tchak/fix-autosave-on-detached-champs
fix(autosave): prevent autosave if current champ is detached from the form
2022-05-16 14:11:08 +02:00
Paul Chavard
6d0b3d93ed fix(autosave): prevent autosave if current champ is detached from the form 2022-05-16 14:07:02 +02:00
mfo
438c80d849
Merge pull request #7318 from betagouv/sentry/3139111475
fix(sentry/3139111475): clean up some "corrupted" data, some dossier still have depose_at nil while en_construction_at is set
2022-05-16 14:02:46 +02:00
Martin
9798e268df fix(sentry/3139111475): clean up some "corrupted" data, some dossier still have depose_at nil while en_construction_at is set 2022-05-16 13:58:50 +02:00
Paul Chavard
1434224dd0
Merge pull request #7321 from tchak/fix-search-action-button
fix(recherche): expert actions should be a menu-button
2022-05-16 13:18:20 +02:00
Paul Chavard
246db0e1cf fix(menu-button): should be a button 2022-05-16 09:44:30 +02:00
Paul Chavard
e193c652e7 fix(recherche): expert actions should be a menu-button 2022-05-16 09:44:10 +02:00