Commit graph

14862 commits

Author SHA1 Message Date
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
Paul Chavard
72e5adc694
Merge pull request #7316 from tchak/refactor-dossier-change-state
refactor(dossier): change state with turbo
2022-05-13 17:45:38 +02:00
Paul Chavard
95bd13872b refactor(dossier): change state with turbo 2022-05-13 17:38:09 +02:00
Paul Chavard
90ef2aed56
Merge pull request #7300 from tchak/reapply-rollback-revisions
Reapply improvements on procedure_revision
2022-05-13 17:21:26 +02:00
Paul Chavard
8d9929aa9f fix(revision): (re)move child type de champ should clone parent for now 2022-05-13 17:17:24 +02:00
Paul Chavard
85c20784a2 refactor(revision): delete unused code 2022-05-13 17:17:23 +02:00
Paul Chavard
d7678c4389 Revert "Merge pull request #7295 from tchak/rollback-attempt"
This reverts commit 24b37c230d, reversing
changes made to 08b90b9173.
2022-05-13 17:17:23 +02:00
Paul Chavard
cd7e22a780
Merge pull request #7315 from tchak/fix-form-in-ie
fix(turbo): avoid crashing IE 11 with non get/post methods
2022-05-13 17:03:07 +02:00
Paul Chavard
e160a04ebf fix(turbo): avoid crashing IE 11 with non get/post methods 2022-05-13 16:58:21 +02:00
mfo
3c3a05b6ed
Merge pull request #7306 from betagouv/US/add-link-to-solidarite-numerique
add link to solidarite-numerique
2022-05-13 15:28:46 +02:00
Martin
a7bb6f1627 feat(links): add link to www.solidarite-numerique.fr 2022-05-13 15:25:04 +02:00
mfo
79972ba6a1
Merge pull request #7313 from betagouv/sentry/3270418045
fix(commencer#commencer): broken due to missing interpolated variable in i18n
2022-05-13 13:28:53 +02:00