* Validate Content-Length on single-part upload route against user limit
* Check total expected size on chunked upload session creation
* Re-evaluate user limit at finalization to reject dynamic quota reductions
* Clean up temporary files on payload size rejection (413)
* Add 60-second polling interval for periodic fetching of messages and images
Root is a personal namespace per user, so duplicate checks must scope to the
current owner when uploading at root level. Subfolders keep their existing
uniqueness rules.
Also fixed folder creation at root with the same owner scope.
---------
Co-authored-by: xEsiah <[email protected]>
Reviewed-on: #15
Reviewed-by: Esiah <[email protected]>
Co-authored-by: Gitea Actions <-[email protected]>
Browsers applied heuristic caching to JSON API responses because no
Cache-Control header was set, serving stale file lists after delete or
upload even with a hard refresh. Force no-store on all /api/cloud/*
responses.
---------
Co-authored-by: xEsiah <[email protected]>
Reviewed-on: #14
Reviewed-by: Esiah <[email protected]>
Co-authored-by: Gitea Actions <-[email protected]>
The unread count compared message ids against COALESCE over a scalar
subquery with no fallback. When a user had never opened a discussion
there was no chat_reads row, so the subquery returned NULL and
`m.id > NULL` was never true: the folder never got a badge even though
messages from others were unread.
Give COALESCE an explicit 0 default so discussions that were never
opened count all of the others' messages as unread.
---------
Co-authored-by: xEsiah <[email protected]>
Reviewed-on: #10
Reviewed-by: Esiah <[email protected]>
Co-authored-by: Gitea Actions <-[email protected]>
- dump the database to ./backups before applying migrations
- run the one-shot migrate service on every deploy instead of relying only on
the api depends_on, so a migration is never skipped
- translate the workflow comments to English
---------
Co-authored-by: xEsiah <[email protected]>
Reviewed-on: #9
Reviewed-by: Esiah <[email protected]>
Co-authored-by: Gitea Actions <-[email protected]>
- chat: salon attache a un dossier, membres = comptes ayant acces au dossier
- securite: suppression du passage automatique admin sur fichiers/dossiers/
corbeille/recherche/galerie/chat ; l'admin n'accede qu'a ses partages
- favoris: tri en tete dans l'explorateur + page dediee (GET /favorites)
- ui: retrait des pastilles Systeme/Public sur la carte dossier
- migration 007_chat : table chat_messages
---------
Co-authored-by: xEsiah <[email protected]>
Reviewed-on: #8
Reviewed-by: Esiah <[email protected]>
Co-authored-by: Gitea Actions <-[email protected]>
/auth/me renvoie desormais has_avatar et avatar_updated_at (LEFT JOIN
user_avatars). Le header affiche l'avatar avec un cache-buster sur
updated_at, et retombe sur les initiales en cas d'absence ou d'echec.
Le profil rafraichit la session apres ajout/retrait de l'avatar pour que
le header se mette a jour immediatement.
---------
Co-authored-by: xEsiah <[email protected]>
Reviewed-on: #6
Reviewed-by: Esiah <[email protected]>
Co-authored-by: Gitea Actions <-[email protected]>
Le refactor a range cli.ts dans src/lib, donc tsc produisait
dist/lib/cli.js alors que Compose, le bin du package et la doc lancent
dist/cli.js : MODULE_NOT_FOUND, le service migrate sortait en 1 et l'API
(depends_on migrate) ne demarrait plus.
cli.ts revient a src/cli.ts, aux cotes de index.ts et admin.ts :
dist/cli.js est de nouveau produit. Imports ajustes en ./lib/...
---------
Co-authored-by: xEsiah <[email protected]>
Reviewed-on: #5
Reviewed-by: Esiah <[email protected]>
Co-authored-by: Gitea Actions <-[email protected]>
- logo embarque dans les e-mails (CID) et gabarit repense en mode sombre
- favicon multi-tailles + icone PNG, logo a gauche du titre (app et auth)
- modale de confirmation animee a la place de window.confirm
- bouton retour et fil d'ariane dans l'explorateur
---------
Co-authored-by: xEsiah <[email protected]>
Reviewed-on: #4
Reviewed-by: Esiah <[email protected]>
Co-authored-by: Gitea Actions <-[email protected]>