aboutsummaryrefslogtreecommitdiffstats
path: root/packages/db (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* feat: Add support for singlefile extension uploads. #172Mohamed Bassem2025-01-111-0/+2
|
* Revert "ci: Run tests on push (#807)" (#808)Mohamed Bassem2025-01-021-1/+1
| | | This reverts commit 39358b1517a06b90b9886a648ce1c595d1556c8e.
* ci: Run tests on push (#807)Mohamed Bassem2025-01-021-1/+1
| | | | | | | * ci: Run tests on push * disable drizzle logging in tests * run db migrations in trpc tests
* feat: Add support for smart lists (#802)Mohamed Bassem2025-01-024-0/+1573
| | | | | | | | | | | | | | | | | | | * feat: Add support for smart lists * i18n * Fix update list endpoint * Add a test for smart lists * Add header to the query explainer * Hide remove from lists in the smart context list * Add proper validation to list form --------- Co-authored-by: Deepak Kapoor <41769111+orthdron@users.noreply.github.com>
* refactor: Migrate from the deprecated drizzle-orm schemaMohamed Bassem2025-01-012-61/+48
|
* deps: Upgrade drizzle-orm to 0.38.3Mohamed Bassem2024-12-291-1/+1
|
* feat: Implement highlights support for links. Fixes #620Mohamed Bassem2024-12-276-0/+3108
|
* feature: Store crawling status code and allow users to find broken links. ↵Mohamed Bassem2024-12-084-0/+1421
| | | | Fixes #169
* fix: Fix slow AllTags page because of misconfigured tagId index. Fixes #528Mohamed Bassem2024-11-084-1/+1414
|
* feature: Add support for subscribing to RSS feeds. Fixes #202Mohamed Bassem2024-11-034-0/+1482
|
* feature: Archive videos using yt-dlp. Fixes #215 (#525)kamtschatka2024-10-281-0/+2
| | | | | | | | | | | | | | | | | | | | | * Allow downloading more content from a webpage and index it #215 Added a worker that allows downloading videos depending on the environment variables refactored the code a bit added new video asset updated documentation * Some tweaks * Drop the dependency on the yt-dlp wrapper * Update openapi specs * Dont log an error when the url is not supported * Better handle supported websites that dont download anything --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
* feature: Add a summarize with AI button for linksMohamed Bassem2024-10-274-0/+1238
|
* deps: Upgrade nodejs to v22MohamedBassem2024-10-121-2/+2
|
* 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
|