aboutsummaryrefslogtreecommitdiffstats
path: root/packages/api/utils (unfollow)
Commit message (Collapse)AuthorFilesLines
2026-02-09Revert "refactor: move assetdb to shared-server"Mohamed Bassem2-2/+2
This reverts commit a04d3c35fc9082e529a713605a038d236bb072c7.
2026-02-09refactor: move assetdb to shared-serverMohamed Bassem2-2/+2
2025-12-27fix: reject spoofed content types on uploadsMohamed Bassem1-1/+11
2025-12-12fix!: changing default for includeContent to be false in the APIMohamed Bassem1-2/+1
2025-12-10fix: Add cache control header on asset endpointsMohamed Bassem1-0/+1
2025-09-06refactor: Extract quota logic into its own classMohamed Bassem1-5/+6
2025-08-23fix(security): Add CSP policies on asset serving pathMohamedBassem1-2/+19
2025-08-22fix: Dont attempt to remove uploaded tmp file if it's already removedMohamedBassem1-1/+7
2025-08-22fix: Sanitize uploaded file names. #1765MohamedBassem1-1/+2
2025-07-06feat: Add per user storage quotaMohamed Bassem1-1/+16
2025-07-04feat: Add support for S3 as an asset storage layer (#1703)Mohamed Bassem2-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
2025-06-01feat: Add support for public lists (#1511)Mohamed Bassem1-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
2025-05-31feat: Generate RSS feeds from lists (#1507)Mohamed Bassem1-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
2025-05-18refactor: Migrate from NextJs's API routes to Hono based routes for the API ↵Mohamed Bassem3-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