diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-01 20:14:19 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-01 20:14:19 +0300 |
| commit | 74c2e0982f336ab135d8b63d26fa49bcd58e57a9 (patch) | |
| tree | 689b764fadd7d6ca35598c131d0552b3d9374e3d /web/css | |
| parent | 4e35889c33491be33f8d557affb1c9d822372e7a (diff) | |
service: split media.go (745 lines) into 5 focused files
Split the monolithic media.go into cohesive files to fix KISS/SRP violation:
- media_access.go: permission verification helpers (verifyAccess, verifyModifyAccess, verifySetModifyAccess)
- media_browse.go: browsing, listing, streaming, thumbnails, set cover, tags and favorites
- media_write.go: upload, create, soft-delete, restore
- media_share.go: share token creation, validation, revocation, streaming via token
- media_notes.go: note get/upsert/delete
The shared mediaService struct, NewMediaService constructor, and common helpers
(supported extensions, type guessing, thumbnail generation) remain in media.go.
No functional changes — all tests pass.
Diffstat (limited to 'web/css')
0 files changed, 0 insertions, 0 deletions
