Commit graph

14603 commits

Author SHA1 Message Date
Paul Chavard
9414d499b8
Merge pull request #7102 from tchak/refactor-dossiers-by-statut
Improve dossiers presentation scopes
2022-04-05 09:49:18 +02:00
Paul Chavard
0daae815d8 refactor(dossier): use by_statut 2022-04-05 09:42:23 +02:00
Paul Chavard
6da54936b7 refactor(procedure_presentation): use internal reference to instructeur 2022-04-05 09:42:23 +02:00
Paul Chavard
f71c89aa91 refactor(procedure): cleanup tests 2022-04-05 09:42:23 +02:00
Paul Chavard
706c648be8 refactor(procedure): remove unused code 2022-04-05 09:42:23 +02:00
LeSim
ba79a65015
Merge pull request #7106 from betagouv/remove_old_per_dossier_zip_size_constraints
Supprime la restriction par taille d'export de pjs par dossier
2022-04-04 17:31:04 +02:00
simon lehericey
57f9e5bac3 always allow dossier pjs download (-9 queries) 2022-04-04 17:26:49 +02:00
mfo
c21eac0513
Merge pull request #7109 from betagouv/US/fix-counter-including-discarded-procedures
ETQ instructeur, les compteurs entre la synthese et les procedures ne sont pas synchro
2022-04-04 16:31:47 +02:00
Martin
ad4e5a8bc6 fix(instructeurs/procedures#index): counter not in sync 2022-04-04 16:28:25 +02:00
Martin
1d99e21a27 tech(bug): identify 2022-04-04 16:28:25 +02:00
mfo
09b730b992
Merge pull request #7104 from betagouv/US/fix-archive-write-append-binary-with-string
fix(parallel_download_queue): appending content to file in chunk leads to some corrupted files.
2022-04-01 18:26:32 +02:00
Martin
e765ef16fd fix(parallel_download_queue): appending content to file in those circumstances does not lead to good result. for now write response.body directly to the attachment [may lead to RAM overhead in case of big file... but i do not have another quick fix idea] 2022-04-01 18:22:28 +02:00
mfo
6a7a44dd07
Merge pull request #7103 from betagouv/faster_archive
Faster archive
2022-04-01 17:10:14 +02:00
simon lehericey
dca6e65f8d speed up commentaires 2022-04-01 15:51:43 +02:00
simon lehericey
0555ff68cd speed up pjs_for_champs * 10 2022-04-01 15:51:41 +02:00
Kara Diaby
0f83184859
Merge pull request #7101 from betagouv/feat/7097
ETQ Expert, je souhaite pouvoir supprimer un message envoyé
2022-04-01 14:41:17 +02:00
Kara Diaby
b2bcc34cfd tests 2022-03-31 15:48:18 +02:00
Kara Diaby
1646448629 routes 2022-03-31 15:48:18 +02:00
Kara Diaby
10aa9fa4be layout 2022-03-31 15:48:18 +02:00
Kara Diaby
e06215281a modify commentaire model 2022-03-31 15:48:17 +02:00
Kara Diaby
ec07ced968 modify avis controller 2022-03-31 15:48:17 +02:00
mfo
1c282d0100
Merge pull request #7092 from betagouv/US/archive-enhance-usage-understanding
feat(archive): extract archive status management within job to simplify the main service as well as to isolate this part for a merge with exports csv/xslx [maybe?]
2022-03-31 13:41:44 +02:00
Martin
dbcf21a555 feat(archive): extract archive status management within job to simplify the main service as well as to isolate this part for a merge with exports csv/xslx [maybe?]
Update app/dashboards/archive_dashboard.rb

Co-authored-by: LeSim <mail@simon.lehericey.net>
2022-03-31 13:35:49 +02:00
Paul Chavard
fc50ff8e49
Merge pull request #7095 from tchak/update-react
Update to React 18
2022-03-31 12:52:33 +02:00
Paul Chavard
cd4d7b5d36 refactor(react): useDeferredValue 2022-03-31 12:39:17 +02:00
Paul Chavard
4a7324951b refactor(react): useId 2022-03-31 12:39:17 +02:00
Paul Chavard
1a5d86a32a chore(npm): update react to v18 2022-03-31 12:39:17 +02:00
Paul Chavard
1db5503500
Merge pull request #7093 from tchak/fix-deleted-notifications
Corrige la visibilité des dossiers
2022-03-31 12:25:58 +02:00
Paul Chavard
6df18e1234 fix(dossier): only expire dossiers visible by user or administration 2022-03-31 12:17:24 +02:00
Paul Chavard
5bafc91220 fix(graphql): hide deleted dossiers 2022-03-31 12:17:24 +02:00
Paul Chavard
c2812a7633 fix(api): hide deleted dossiers 2022-03-31 12:17:24 +02:00
Paul Chavard
a171ebb772 fix(dossiers): exclude deleted dossiers from notifications 2022-03-31 12:17:24 +02:00
Paul Chavard
4ae88ac58d
Merge pull request #7098 from tchak/revert-vite
Revert "Merge pull request #6787 from tchak/use-vite"
2022-03-31 12:16:55 +02:00
Paul Chavard
44c64669e9 Revert "Merge pull request #6787 from tchak/use-vite"
This reverts commit 5d572727b5, reversing
changes made to 43be4482ee.
2022-03-31 12:07:52 +02:00
LeSim
8ec7b48757
Merge pull request #7096 from betagouv/dependabot/bundler/puma-5.6.4
build(deps): bump puma from 5.6.2 to 5.6.4
2022-03-31 10:16:01 +02:00
dependabot[bot]
8ee1913b85
build(deps): bump puma from 5.6.2 to 5.6.4
Bumps [puma](https://github.com/puma/puma) from 5.6.2 to 5.6.4.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v5.6.2...v5.6.4)

---
updated-dependencies:
- dependency-name: puma
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 22:21:24 +00:00
Kara Diaby
5931261cab
Merge pull request #7090 from betagouv/fix/7076
Fixe la typo lorsqu'un expert veut envoyer un message
2022-03-30 17:16:45 +02:00
Kara Diaby
4e4a70e1f8 Fixe la typo lorsqu'un expert veut envoyer un message 2022-03-30 16:55:37 +02:00
mfo
3b5b9a63c5
Merge pull request #7065 from betagouv/US/fix-conflicting-archive-file-name
fix(ProcedureArchiveService.zip_root_folder): should take archive instance otherwise when we generate many archive for the same procedure, errors may occures
2022-03-30 16:36:36 +02:00
Martin
ab2caaa5f7 fix(ProcedureArchiveService.zip_root_folder): should take archive instance otherwise when we generate many archive for the same procedure, errors may occures 2022-03-30 16:29:54 +02:00
mfo
f568b95067
Merge pull request #7068 from betagouv/US/feat-align-archive-threshold
feat(archive): prepare la prod a un plus gros usage des archives
2022-03-30 16:29:27 +02:00
Martin
ab0a172488 feat(Archive.prepare_broader_reach): activate by default the archive button in the export dropdown. add a call to action to contact our support to enable the feature. increase estimated file size limit up to 100.gigabytes 2022-03-30 16:21:07 +02:00
Martin
7ec1021e00 feat(Archive.prepare_broader_reach): activate by default the archive button in the export dropdown. add a call to action to contact our support to enable the feature. increase estimated file size limit up to 100.gigabytes 2022-03-30 16:21:07 +02:00
Paul Chavard
85c0b45000
Merge pull request #7091 from betagouv/dependabot/npm_and_yarn/minimist-1.2.6
build(deps): bump minimist from 1.2.5 to 1.2.6
2022-03-30 15:07:50 +02:00
dependabot[bot]
3dae32f52f
build(deps): bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 10:20:35 +00:00
Paul Chavard
5d572727b5
Merge pull request #6787 from tchak/use-vite
Use vite
2022-03-30 12:19:58 +02:00
simon lehericey
250b699664 remove duplicate csp 2022-03-29 16:27:08 +02:00
Paul Chavard
187e84a010 feat(assets): use vitejs to build javascript 2022-03-29 16:27:08 +02:00
Pierre de La Morinerie
43be4482ee
Merge pull request #7088 from betagouv/move-users-foreign-keys-part-4
Ajout de contraintes sur les colonnes des rôles en base, et suppression des colonnes `users.role_id`
2022-03-29 14:56:21 +02:00
Pierre de La Morinerie
79ea80c199 db: remove deprecated role columns on user 2022-03-29 14:52:38 +02:00