aboutsummaryrefslogtreecommitdiffstats
path: root/packages/db/schema.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor: Start tracking bookmark assets in the assets tableMohamedBassem2024-10-061-5/+13
|
* refactor: Include userId in the assets tableMohamedBassem2024-10-061-0/+4
|
* feature: Persevere the source URL of clipped texts from the extension.MohamedBassem2024-10-051-0/+1
| | | | Fixes #448
* feature(web): Add the ability to customize the inference prompts. Fixes #170MohamedBassem2024-09-291-0/+21
|
* chore: added a new table to store the config in the database (#279)kamtschatka2024-07-081-0/+5
|
* refactor: added the bookmark type to the database (#256)kamtschatka2024-07-011-0/+5
| | | | | | | | | | | | | | | | | * refactoring asset types Extracted out functions to silently delete assets and to update them after crawling Generalized the mapping of assets to bookmark fields to make extending them easier * Added the bookmark type to the database Introduced an enum to have better type safety cleaned up the code and based some code on the type directly * add BookmarkType.UNKNWON * lint and remove unused function --------- Co-authored-by: MohamedBassem <me@mbassem.com>
* refactor: extract assets into their own database table. #215 (#220)kamtschatka2024-06-231-3/+37
| | | | | | | | | | | | | | | | | | | * Allow downloading more content from a webpage and index it #215 added a new table that contains the information about assets for link bookmarks created migration code that transfers the existing data into the new table * Allow downloading more content from a webpage and index it #215 removed the old asset columns from the database updated the UI to use the data from the linkBookmarkAssets array * generalize the assets table to not be linked in particular to links * fix migrations post merge * fix missing asset ids in the getBookmarks call --------- Co-authored-by: MohamedBassem <me@mbassem.com>
* feature: add support for PDF links. Fixes #28 (#216)kamtschatka2024-06-221-28/+35
| | | | | | | | | | | | | | | | | * feature request: pdf support #28 Added a new sourceUrl column to the asset bookmarks Added transforming a link bookmark pointing at a pdf to an asset bookmark made sure the "View Original" link is also shown for asset bookmarks that have a sourceURL updated gitignore for IDEA * remove pdf parsing from the crawler * extract the http logic into its own function to avoid duplicating the post-processing actions (openai/index) * Add 5s timeout to the content type fetch --------- Co-authored-by: MohamedBassem <me@mbassem.com>
* feature: Full page archival with monolith. Fixes #132MohamedBassem2024-05-261-0/+1
|
* feature: Dedup links on creation. Fixes #49MohamedBassem2024-05-061-0/+4
|
* feature: Download images and screenshotsMohamedBassem2024-04-201-0/+2
|
* feature: Nested lists (#110). Fixes #62Mohamed Bassem2024-04-191-1/+7
| | | | | * feature: Add support for nested lists * prevent moving the parent to a subtree
* feature: Add title to bookmarks and allow editing them. Fixes #27MohamedBassem2024-04-151-0/+1
|
* feature: Recrawl failed links from admin UI (#95)Ahmad Mujahid2024-04-111-0/+3
| | | | | * feature: Retry failed crawling URLs * fix: Enhancing visuals and some minor changes.
* feature: Add PDF support (#88)Ahmad Mujahid2024-04-111-1/+4
| | | | | | | | | | | | | | | | | | | * feature: Add PDF support * fix: PDF feature enhancements * fix: Freeze expo-share-intent version to prevent breaking changes * fix: set endOfLine to auto for cross-platform development * fix: Upgrading eslint/parser and eslint-plugin to 7.6.0 to solve the linting issues * fix: enhancing PDF feature * fix: Allowing null in fiename for backward compatibility * fix: update pnpm file with pnpm 9.0.0-alpha-8 * fix:(web): PDF Preview for web
* feature(web): Add support for attaching notes to bookmarksMohamedBassem2024-03-301-0/+1
|
* refactor: Change asset storage to be the filesystem instead of sqliteMohamedBassem2024-03-191-24/+1
|
* Feature: Add support for uploading images and automatically inferring their ↵Mohamed Bassem2024-03-191-27/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tags (#2) * feature: Experimental support for asset uploads * feature(web): Add new bookmark type asset * feature: Add support for automatically tagging images * fix: Add support for image assets in preview page * use next Image for fetching the images * Fix auth and error codes in the route handlers * Add support for image uploads on mobile * Fix typing of upload requests * Remove the ugly dragging box * Bump mobile version to 1.3 * Change the editor card placeholder to mention uploading images * Fix a typo * Change ios icon for photo library * Silence typescript error
* db: Create an index on bookmarks.createdAt field given the use in paginationMohamedBassem2024-03-171-0/+1
|
* db: Add missing indicies on dbMohamedBassem2024-03-161-1/+13
|
* feature: Store html content of links in the databaseMohamedBassem2024-03-051-0/+1
|
* feature: Show a loading indicator when tags are still being fetchedMohamedBassem2024-03-021-0/+3
|
* fix: Remove unique index on API key name as it was forcing the name to be ↵MohamedBassem2024-03-021-1/+1
| | | | unique globally
* feature: Store full link content and index themMohamedBassem2024-03-021-0/+1
|
* feature: Add an admin page showing server stats and actionsMohamedBassem2024-03-011-0/+1
|
* feature: Add support for creating and updating listsMohamedBassem2024-03-011-0/+63
|
* fix: Fix browser bookmarking input schemaMohamedBassem2024-02-291-8/+5
|
* fix: Fix API key authorizationMohamedBassem2024-02-291-0/+10
|
* feature: Add support for storing and previewing raw notesMohamedBassem2024-02-281-0/+13
|
* feature: Add support for adding/removing tagsMohamedBassem2024-02-261-1/+1
|
* db: Migrate from prisma to drizzleMohamedBassem2024-02-231-0/+208