Commit Graph
6 Commits
Author SHA1 Message Date
Esiah 293cd95ba6 fix(api): folder traversal for shared subfolders, rehome folders on user deletion
PR — Ouverture automatique / create-pr (push) Canceled after 0s
- GET /folders: allow listing children of intermediate folders leading to a
  shared descendant (canTraverse), filter children in application code since
  MariaDB forbids correlated recursive CTEs
- Admin user deletion: shared folders are transferred to their best permission
  holder (admin > write > read, oldest); unshared folders are soft-deleted
  with their subtree; a shared child whose parent disappears is moved to root;
  permissions and stars of the deleted account are cleaned up
- CI: label runners as [self-hosted, cohaise-cloud] to match the new dedicated
  gitea-runner
2026-10-19 12:08:23 +02:00
Gitea ActionsandEsiah 4d725d9a3b ci(deploy): back up before migrating and run migrations explicitly (#9)
CD — Deployment / deploy (push) Successful in 23s
- 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]>
2026-10-17 12:34:56 +00:00
Gitea ActionsandEsiah 9dd1ad72e0 feat: logo et favicon, confirmation modale, fil d'ariane, e-mails sombres (#4)
CD — Déploiement / deploy (push) Failing after 25s
- 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]>
2026-10-16 11:08:47 +00:00
Esiah 4c2b58df00 chore: host bind mounts for data and leaner deploy job
PR — Ouverture automatique / create-pr (push) Successful in 2s
Store MariaDB and media data on the host disk via CLOUD_DB_DIR and CLOUD_MEDIA_DIR (default ../db, ../media) instead of Docker named volumes, so they live on the big disk and survive 'down -v'. Drop the host 'make check' from the deploy job: the image builds already run tsc for every workspace, so no Node toolchain is needed on the runner.
2026-10-16 10:53:44 +02:00
Esiah 37e0b542ae ci: allow manual PR run and skip main as base
PR — Ouverture automatique / create-pr (push) Successful in 3s
CD — Déploiement / deploy (push) Failing after 1s
2026-10-14 15:48:08 +02:00
Esiah cc397e96d8 chore: initial import of CoHaiSe Cloud
PR — Ouverture automatique / create-pr (push) Failing after 1s
Standalone files & media application: React/Vite frontend with the @cohaise/ui design system, Hono + MariaDB backend, nginx reverse proxy, Docker Compose stack, migrations 000-006, and project docs.

Adds Gitea Actions workflows for deployment, automatic pull requests, and Renovate dependency updates.
2026-10-14 15:24:06 +02:00