aboutsummaryrefslogtreecommitdiffstats
path: root/packages/db (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor: Start tracking bookmark assets in the assets tableMohamedBassem2024-10-064-5/+1254
|
* refactor: Include userId in the assets tableMohamedBassem2024-10-064-0/+1225
|
* feature: Persevere the source URL of clipped texts from the extension.MohamedBassem2024-10-054-0/+1182
| | | | Fixes #448
* feature(web): Add the ability to customize the inference prompts. Fixes #170MohamedBassem2024-09-294-0/+1205
|
* deps: Upgrade drizzle-kitMohamedBassem2024-09-2829-2169/+2195
|
* deps: Upgrade drizzle and next auth drizzle adapterMohamedBassem2024-09-151-1/+1
|
* chore: added a new table to store the config in the database (#279)kamtschatka2024-07-084-0/+1106
|
* refactor: added the bookmark type to the database (#256)kamtschatka2024-07-014-0/+1090
| | | | | | | | | | | | | | | | | * 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: remove redundant code from crawler worker and refactor handling of ↵kamtschatka2024-06-291-0/+14
| | | | | | | | | | | | | asset types (#253) * 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 * revert silentDeleteAsset and hide better-sqlite3 --------- Co-authored-by: MohamedBassem <me@mbassem.com>
* refactor: extract assets into their own database table. #215 (#220)kamtschatka2024-06-234-3/+1135
| | | | | | | | | | | | | | | | | | | * 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-224-28/+1065
| | | | | | | | | | | | | | | | | * 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-264-0/+1024
|
* fix: Add the missing bookmark URL index migrationMohamedBassem2024-05-183-0/+1016
|
* feature: Dedup links on creation. Fixes #49MohamedBassem2024-05-061-0/+4
|
* feature: Download images and screenshotsMohamedBassem2024-04-204-0/+1011
|
* feature: Nested lists (#110). Fixes #62Mohamed Bassem2024-04-194-1/+1002
| | | | | * 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-154-0/+983
|
* feature: Recrawl failed links from admin UI (#95)Ahmad Mujahid2024-04-114-0/+980
| | | | | * feature: Retry failed crawling URLs * fix: Enhancing visuals and some minor changes.
* feature: Add PDF support (#88)Ahmad Mujahid2024-04-116-1/+1941
| | | | | | | | | | | | | | | | | | | * 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-304-0/+947
|
* refactor: Validate env variables using zodMohamedBassem2024-03-272-2/+4
|
* refactor: Change asset storage to be the filesystem instead of sqliteMohamedBassem2024-03-196-24/+1889
|
* Feature: Add support for uploading images and automatically inferring their ↵Mohamed Bassem2024-03-196-27/+2077
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-174-0/+896
|
* db: Add missing indicies on dbMohamedBassem2024-03-164-1/+910
|
* docker: Fix dockerfiles to adapt to the new repo structureMohamedBassem2024-03-141-1/+0
|
* structure: Create apps dir and copy tooling dir from t3-turbo repoMohamedBassem2024-03-142-5/+15
|
* build: Fix the web buildMohamedBassem2024-03-051-5/+3
|
* breaking: Using DATA_DIR env variable instead of DATABASE_URLMohamedBassem2024-03-052-2/+11
|
* feature: Store html content of links in the databaseMohamedBassem2024-03-054-0/+816
|
* feature: Show a loading indicator when tags are still being fetchedMohamedBassem2024-03-024-0/+813
|
* dev: Disable db query logging given that it's very noisyMohamedBassem2024-03-021-12/+1
|
* fix: Remove unique index on API key name as it was forcing the name to be ↵MohamedBassem2024-03-024-1/+801
| | | | unique globally
* feature: Store full link content and index themMohamedBassem2024-03-024-0/+808
|
* feature: Add an admin page showing server stats and actionsMohamedBassem2024-03-014-0/+801
|
* feature: Add support for creating and updating listsMohamedBassem2024-03-014-0/+873
|
* fix: Disable query logging in productionMohamedBassem2024-02-291-4/+4
|
* 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-285-3/+681
|
* fix: Fix drizzle logging params in prodMohamedBassem2024-02-281-1/+12
|
* tests: Add tests for the bookmarks routesMohamedBassem2024-02-281-0/+11
|
* docker: Run db migrations on web app startupMohamedBassem2024-02-272-0/+14
|
* build: Migrate from yarn to pnpmMohamedBassem2024-02-261-1/+1
|
* feature: Add support for adding/removing tagsMohamedBassem2024-02-261-1/+1
|
* db: Migrate from prisma to drizzleMohamedBassem2024-02-2320-400/+909
|
* feature: Add support for credentials registration and sign inMohamedBassem2024-02-223-2/+28
|
* branding: Rename app to HoarderMohamedBassem2024-02-201-1/+1
|
* build: Optimizing the docker image sizes a bitMohamedBassem2024-02-181-1/+3
|
* fix: Fix the uniquness constraint on tag nameMohamedBassem2024-02-142-2/+14
|