Commit Graph

7 Commits

Author SHA1 Message Date
Jeff Emmett f600ceac14 feat: add MemoryCard model for knowledge cards in shared spaces
Lightweight card system for notes, ideas, tasks, references, and quotes
within SharedSpaces. Supports markdown body, tags, media attachments (M2M),
position ordering, and type filtering. REST API at /api/v1/cards/ with
full CRUD. Phase 2 stub for Docmost collaborative editing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 03:38:50 +00:00
Jeff Emmett 9c07471229 fix: add missing migration and encryptid.browser.js placeholder
- Add migration 0003 for visibility and owner_did fields on SharedSpace
  (fields were in model but migration was never created, causing 500s)
- Add placeholder encryptid.browser.js to fix staticfiles manifest error

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 15:15:20 -07:00
Jeff Emmett 284a73d3fa feat: enforce space visibility on uploads and API views
Add visibility and owner_did fields to SharedSpace model. Protect upload
endpoints with check_space_access(). Add SpacePermission DRF permission
class to MediaFileViewSet.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 11:54:15 -07:00
Jeff Emmett de38c8e1a3 Add migration for max_file_size_mb default change (100 → 0)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 16:13:49 +00:00
Jeff Emmett 8c53efe43d Remove file size limit
- Django upload limit raised to 10GB
- SharedSpace max_file_size_mb default changed to 0 (unlimited)
- Server-side and client-side checks skip when limit is 0
- Upload UI shows "No file size limit"

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 16:06:33 +00:00
Jeff Emmett e89060beab Add initial database migration for files app
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 16:01:55 +00:00
Jeff Emmett cf9cc22c58 Initial commit: rfiles.online standalone file sharing platform
Extracted from PKMN (personal-knowledge-management-network) into its own
repo with separate database, file storage, and Docker stack.

- files app: SharedSpace, MediaFile, PublicShare, FileAccessLog models
- portal app: Landing page, upload, file management, shared space views
- Host-based URL routing for subdomain shared spaces (*.rfiles.online)
- PWA with service worker and share target support
- Celery tasks for expired share cleanup and file processing
- Docker Compose for dev and production (Traefik + PostgreSQL + Redis)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 15:46:31 +00:00