venture
|
a34220bf2d
|
release 1.1.0 : sync V2 (upload, download, purge, placements, rétention, groupes)
Release / release-apk (push) Successful in 9m25s
Release / release-docker (push) Successful in 33s
CI / docker (push) Successful in 7s
CI / lint-backend (push) Successful in 1m29s
CI / lint-mobile (push) Failing after 7m46s
CI / test-backend (push) Successful in 1m30s
CI / test-mobile (push) Successful in 9m27s
CI / build-backend (push) Successful in 47s
|
2026-09-25 20:27:14 +02:00 |
|
venture
|
a91ddf7aa8
|
V2-4 : placements multi-device (report_bytes, tables 000015, copies UI)
|
2026-09-25 19:45:33 +02:00 |
|
venture
|
c642763035
|
api use
CI / lint-backend (push) Successful in 1m24s
CI / lint-mobile (push) Failing after 7m28s
CI / test-backend (push) Successful in 1m25s
CI / test-mobile (push) Successful in 9m9s
CI / build-backend (push) Successful in 45s
CI / docker (push) Successful in 33s
|
2026-09-25 17:34:35 +02:00 |
|
venture
|
b869f70922
|
streaming d'un fichier
|
2026-09-25 15:34:28 +02:00 |
|
m
|
a6b7f2002b
|
fix backend audit findings (auth, upload, sync, data, ocr, contract)
CI / lint-backend (push) Failing after 1m39s
CI / lint-mobile (push) Canceled after 11m8s
CI / test-backend (push) Canceled after 0s
CI / test-mobile (push) Canceled after 0s
CI / build-backend (push) Canceled after 0s
CI / docker (push) Canceled after 0s
|
2026-09-21 19:59:52 +02:00 |
|
m
|
f29a3c3617
|
replace vault by kasier
|
2026-09-17 07:59:21 +02:00 |
|
m
|
cd4f0179fc
|
add gitlab ci
|
2026-09-16 14:47:10 +02:00 |
|
m
|
339d55d92f
|
add version and translate all pages
|
2026-09-15 13:57:57 +02:00 |
|
m
|
e9c85febca
|
share folders and files
|
2026-09-14 14:09:41 +02:00 |
|
m
|
5578e4a354
|
add tests
|
2026-09-13 19:24:58 +02:00 |
|
m
|
c2c7dddba6
|
feat(api): identité user-first — login/password, ownership user, fin du token device
- 000006 : users.username/username_normalized/password_hash/is_admin, index
unique partiel sur username_normalized, DROP idx_users_email (unicité V1 =
username, jamais email) ; 000007 destructif : resources.owner_id→user_id
(FK→users, reset base dev), l'unicité racine devient par user
- pkg/passwd : argon2id (t=1,m=64MiB,p=4,k=32), comparaison constant-time,
VerifyTimedEqual (délai égalisé dummy-hash) ; pkg/auth : subject=user_id +
claim device_id, TTL 7 j sans refresh
- repository : Users (count/get/resolve-exact/create/update-password/
mark-deleted), Devices.MarkUser (user_id INFORMATIF uniquement)
- handlers : POST /devices sans token, POST /auth/login (401 indistinguable
user inconnu/mauvais mdp, device requis), PATCH /users/me/password
(current_password, tokens non révoqués — limite V1), GET /users/resolve
(exact lowercase, jamais email/is_admin) ; middleware RequireAuth
(user authorisant, device porté) ; tout le scoping ressources passe user
- bootstrap admin : users vide + ADMIN_* absents → refus de démarrer ;
.env.example ; docs/api-v1.md §2/§3/§7/§8
- tests : migrations 000006/000007 (up/down), pkg/auth Identity, handlers
login/password/resolve, helpers refactorés registerAndLogin, repo tests
scopés user — suite backend verte
|
2026-09-10 21:21:36 +02:00 |
|
m
|
14c058fddb
|
feat(api): CRUD files/folders + upload multipart réels (scope owner, soft-delete, conteurs d'erreurs)
- repository.Resources (insert/list/get/soft-delete scoping owner_id, UNIQUE(parent_id,name) → NAME_CONFLICT) + Devices.Upsert au register
- service.Resources : DTOs {id,name,size,mimeType,folderId,createdAt,updatedAt}, upload → UPLOAD_DIR/<device>/<id>.<ext> (nettoyage si métadonnée échoue)
- handlers : files list/get/delete/upload + folders racines ; routes consolidées dans handlers.RegisterRoutes
- dbtest package : test DB jetée par repo (open+reset+migrate, skip si PG down) ; tests repository + handlers end-to-end (register→token→CRUD, scoping cross-device, FILE_TOO_LARGE, NAME_CONFLICT)
- docs: /devices persiste le device, layout UPLOAD_DIR par device, codes NAME_CONFLICT/SERVICE_UNAVAILABLE
|
2026-09-10 07:44:55 +02:00 |
|