Commit graph

23231 commits

Author SHA1 Message Date
Mathieu Magnin
2222b6ff2d
[#10921] Extend error handling to cover new error codes 2024-10-11 16:16:17 +02:00
Eric Leroy-Terquem
ba330bfa98
Merge pull request #10797 from demarches-simplifiees/gallery_v2
ETQ instructeur je vois la provenance des pièces jointes ainsi que leur date d'ajout ou de mise à jour
2024-10-11 11:23:19 +00:00
Eric Leroy-Terquem
3b054c5369
refactor(views): do not use instance variable in views 2024-10-11 13:14:20 +02:00
Eric Leroy-Terquem
3397beb71d
refactor(gallery test): use freeze_time instead of Timecop 2024-10-11 13:14:19 +02:00
Eric Leroy-Terquem
72ae654ce7
style(pieces jointes): update UI 2024-10-11 11:20:47 +02:00
Eric Leroy-Terquem
bca2b79c70
refactor(dossier): use dossier method to set dossier 2024-10-11 11:20:47 +02:00
Eric Leroy-Terquem
838dc0a9e3
perf(dossier): cache gallery attachments 2024-10-11 11:20:47 +02:00
Eric Leroy-Terquem
c6ab05dcc5
fix(gallery): display pieces_jointes tab if any attachments 2024-10-11 11:20:46 +02:00
Eric Leroy-Terquem
4f42e00f4e
refactor(gallery): move methods in private 2024-10-11 11:20:46 +02:00
Eric Leroy-Terquem
3bc232e81e
feat(gallery): update gallery item badge class after seen 2024-10-11 11:20:46 +02:00
Eric Leroy-Terquem
d9f604e8ce
feat(gallery): notify instructeur if pieces jointes updates 2024-10-11 11:20:46 +02:00
Eric Leroy-Terquem
5153b9a3ff
db(migration): add pieces_jointes_seen_at to follows 2024-10-11 11:20:46 +02:00
Eric Leroy-Terquem
0006b6f504
db(migration): add pieces jointes updates to dossiers 2024-10-11 10:41:05 +02:00
Eric Leroy-Terquem
bc237152e7
feat(gallery): add origin tag to gallery item 2024-10-11 10:41:05 +02:00
Eric Leroy-Terquem
df08617387
feat(gallery): add badge for date of created_at or updated_at 2024-10-11 10:41:04 +02:00
Eric Leroy-Terquem
3560d73b58
refactor(gallery): use gallery component in gallery demande 2024-10-11 10:41:04 +02:00
Eric Leroy-Terquem
664ef63e74
refactor(gallery): extract gallery_link method 2024-10-11 10:41:04 +02:00
Eric Leroy-Terquem
2882af43aa
refactor(gallery): extract representation_url_for method 2024-10-11 10:41:04 +02:00
Eric Leroy-Terquem
bae752f1aa
refactor(gallery): add attachment_gallery_item component 2024-10-11 10:41:03 +02:00
Colin Darie
6b1c6a796a
Merge pull request #10909 from mfo/US/expires-dossiers-by-night
ETQ tech, je souhaite que les jobs asynchrone expirant les dossiers terminés se fassent en pleine nuit
2024-10-11 07:22:18 +00:00
Colin Darie
6f336f52a6
Merge pull request #10891 from demarches-simplifiees/dependabot/npm_and_yarn/sentry/browser-8.33.0
chore(deps): bump @sentry/browser from 8.20.0 to 8.33.0
2024-10-11 07:20:47 +00:00
mfo
7c84937c8c
ETQ tech, je souhaite que les jobs asynchrone expirés les dossiers terminés se fassent en pleinne nuit 2024-10-10 18:09:04 +02:00
Colin Darie
111ebbf20a
Merge pull request #10910 from colinux/fix-image-process-job-queue
ETQ opérateur, je ne veux pas que la génération de vignettes et filigranes impactent trop d'autres jobs
2024-10-10 15:24:12 +00:00
mfo
a13297f499
Merge pull request #10911 from colinux/fix-non-critical-mail-queue
ETQ opérateur, les mails non critiques devraient être envoyés sous ~15min et pas potentiellement des heures
2024-10-10 15:22:22 +00:00
dependabot[bot]
0a60114e4c
chore(deps): bump @sentry/browser from 8.20.0 to 8.33.0
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 8.20.0 to 8.33.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/8.20.0...8.33.0)

---
updated-dependencies:
- dependency-name: "@sentry/browser"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-10 17:18:39 +02:00
Colin Darie
0e5d77f15b
fix(job): image process => low queue 2024-10-10 17:14:57 +02:00
Colin Darie
7f18db6c91
fix(job): non crirtical mail must be sent into < 15min, not hours 2024-10-10 17:14:28 +02:00
Colin Darie
da5de8d97a
Merge pull request #10913 from colinux/ci-ubuntu-22
ETQ tech, la CI tourne sur ubuntu 22.04 et pas 24.04
2024-10-10 14:41:37 +00:00
Colin Darie
bae6f92f3a
ci: run on ubuntu 22.04 (latest is now 24.04) 2024-10-10 15:16:21 +02:00
mfo
eee9efd52e
Merge pull request #10907 from mfo/reschedule_dossier_operation_log_move_to_cold_storage_job
ETQ tech, je souhaite que les jobs asynchrone pour deplacer les objets dans le stockage à froid se fassent en pleinne nuit
2024-10-10 09:33:43 +00:00
Colin Darie
71d2f7a353
Merge pull request #10908 from colinux/fix-job-queues
ETQ opérateur, remplace les queues pour 2 autres jobs
2024-10-10 09:33:01 +00:00
Colin Darie
c48ad8c003
fix(job): missed changed queues 2024-10-10 11:24:01 +02:00
mfo
d729c2f193
tech(perf): reschedule this job at 4am when our workers does not do anything 2024-10-10 11:21:05 +02:00
mfo
fc37bbaa4a
Merge pull request #10906 from mfo/US/reword-queueing
amelioration : ETQ operateur j'aimerais simplifier/optimiser la gestion des tâches asynchrones
2024-10-10 07:47:59 +00:00
mfo
b8b727f06b
feat(default.queues): mailers that are not critical are low, otherwise critical. analysis is default, purge is low 2024-10-10 09:31:20 +02:00
Colin Darie
9ef445a4a1
Merge pull request #10905 from tchak/fix-api-entreprise-sentry-error
ETQ Usager, je veux pouvoir déposer mon dossier même si le service des SIRET n'est pas disponible
2024-10-09 14:13:47 +00:00
LeSim
163fa42007
Merge pull request #10869 from demarches-simplifiees/add_id_to_column_second_part
Tech: utilise les objets `SortedColumn`
2024-10-09 13:05:50 +00:00
Colin Darie
fbb9405e50
Merge pull request #10863 from colinux/maintenance-tasks-template
ETQ dev, je peux programmer des maintenance tasks à jouer lors de leur déploiement
2024-10-09 12:16:56 +00:00
mfo
c449892bbe
Merge pull request #10888 from demarches-simplifiees/US/exports-on-sidekiq
ETQ tech, on souhaite tout passer sur sidekiq
2024-10-09 12:15:38 +00:00
Colin Darie
da1bf573e3
chore(task): noop maintenance task verifying automatic run on deploy 2024-10-09 13:44:18 +02:00
Colin Darie
efa744c227
chore(task): deprecate after party tasks 2024-10-09 13:44:17 +02:00
Colin Darie
9eb9e80232
chore(doc): more information about many maintenance tasks 2024-10-09 13:44:17 +02:00
Colin Darie
0d5b0e81e7
chore(dev): on update, run maintenance tasks configured on deploy 2024-10-09 13:44:17 +02:00
Colin Darie
cae5d8afed
feat(task): task enqueueing a maintenance task runnable on deploy 2024-10-09 13:44:17 +02:00
Colin Darie
2127f8cef1
refactor: remove dead deploy code 2024-10-09 13:44:17 +02:00
Colin Darie
d0f77d0aab
feat(task): with_statement_timeout helper for long running collection or process query 2024-10-09 13:44:17 +02:00
Colin Darie
c0ae02f458
feat(tasks): use our task template, with example doc 2024-10-09 13:44:16 +02:00
Colin Darie
cbc13c4c5c
feat(tasks): prefix tasks with timestamp 2024-10-09 13:44:16 +02:00
Paul Chavard
668aba8986
fix(api-entreprise): do not raise an error when the service is unavailable 2024-10-09 12:47:26 +02:00
simon lehericey
34b0379203
procedure.find_column raise NotFound to fit AR interface 2024-10-09 09:23:06 +02:00