Add the ability to configure server actions when using the entire quota

Offen
#742 1 Kommentar 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
haskell
Bereich
backend

Rechercherichtung

Start by locating the config-file handling and the server path that enforces the media-upload quota threshold. Trace how old media retention and upload errors are currently handled; done means the new setting selects deletion of old media or rejection of new files while preserving the configured maximum retention period.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Add a setting to the config file: delete old files when using the entire quota for uploading media?
If the administrator sets "on", the old media will be deleted when the threshold value is reached.
If the administrator sets "off", then the server, if the threshold value is reached, will return the error "it is impossible to send a file" and each file will be stored for its maximum period (specified in the config)

Vorherrschende Sprache
Haskell
Sterne
865
Forks
125
Ø Merge
1 T. 20 Std.
Gemergte PRs (30 T.)
64

Entwicklungsumgebung

  • Enthält ein Dockerfile oder eine Docker-Compose-Datei
  • Keine Pull-Request-Vorlage
  • Beitragsleitfaden lesen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus simplex-chat/simplexmq

Alle Issues in simplex-chat/simplexmq

Ähnliche Issues

Weitere Issues zu Haskell

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.