aboutsummaryrefslogtreecommitdiffstats
path: root/packages/api/utils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor: Extract quota logic into its own classMohamed Bassem2025-09-061-5/+6
|
* fix(security): Add CSP policies on asset serving pathMohamedBassem2025-08-231-2/+19
|
* fix: Dont attempt to remove uploaded tmp file if it's already removedMohamedBassem2025-08-221-1/+7
|
* fix: Sanitize uploaded file names. #1765MohamedBassem2025-08-221-1/+2
|
* feat: Add per user storage quotaMohamed Bassem2025-07-061-1/+16
|
* feat: Add support for S3 as an asset storage layer (#1703)Mohamed Bassem2025-07-042-3/+3
| | | | | | | | | * feat: Add support for S3 as an asset storage layer. Fixes #305 * some minor fixes * use bulk deletion api * stream the file to s3
* feat: Add support for public lists (#1511)Mohamed Bassem2025-06-011-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP: public lists * Drop viewing modes * Add the public endpoint for assets * regen the openapi spec * proper handling for different asset types * Add num bookmarks and a no bookmark banner * Correctly set page title * Add a not-found page * merge the RSS and public list endpoints * Add e2e tests for the public endpoints * Redesign the share list modal * Make NEXTAUTH_SECRET not required * propery render text bookmarks * rebase migration * fix public token tests * Add more tests
* feat: Generate RSS feeds from lists (#1507)Mohamed Bassem2025-05-311-0/+54
| | | | | | | | | | | * refactor: Move bookmark utils from shared-react to shared * Expose RSS feeds for lists * Add e2e tests * Slightly improve the look of the share dialog * allow specifying a limit in the rss endpoint
* refactor: Migrate from NextJs's API routes to Hono based routes for the API ↵Mohamed Bassem2025-05-183-0/+168
(#1432) * Setup Hono and migrate the highlights API there * Implement the tags and lists endpoint * Implement the bookmarks and users endpoints * Add the trpc error code adapter * Remove the old nextjs handlers * fix api key not found handling * Fix trpc error handling * Fix 204 handling * Fix search ordering * Implement the singlefile endpoint * Implement the asset serving endpoints * Implement webauth * Add hono as a catch all route under api * fix tests