aboutsummaryrefslogtreecommitdiffstats
path: root/packages/trpc/routers/bookmarks.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor: Start tracking bookmark assets in the assets tableMohamedBassem2024-10-061-51/+105
|
* refactor: Include userId in the assets tableMohamedBassem2024-10-061-0/+1
|
* fix: Drop the usage of useCursorV2 from the serverMohamedBassem2024-10-051-17/+11
|
* feature: Persevere the source URL of clipped texts from the extension.MohamedBassem2024-10-051-2/+13
| | | | Fixes #448
* feature(web): Add ability to manually trigger full page archives. Fixes #398 ↵kamtschatka2024-09-301-1/+7
| | | | | | | | | | | | | (#418) * [Feature Request] Ability to select what to "crawl full page archive" #398 Added the ability to start a full page crawl for links and also in bulk operations added the ability to refresh links as a bulk operation as well * minor icon and wording changes --------- Co-authored-by: MohamedBassem <me@mbassem.com>
* fix(web):Add validation on updateTags request to ensure that an empty ↵kamtschatka2024-09-261-10/+24
| | | | | | | | | | | | tagName doesn't attach all tags to a bookmark #421 (#428) * [Bug Report] Importing bookmarks adds all tags to all bookmarks #421 fixed an issue that caused all existing tags to be assigned to a new bookmark * Add validation on the input of update tags to ensure that its not empty --------- Co-authored-by: MohamedBassem <me@mbassem.com>
* feature(web): Show attachments and allow users to manipulate them.MohamedBassem2024-09-221-7/+130
|
* feature(web): Preserve title, tags and createdAt when importing a netscape ↵MohamedBassem2024-09-211-0/+1
| | | | html. Fixes #401
* feature(cli): Allow updating tags/lists from CLI (#211)kamtschatka2024-07-271-12/+43
| | | | | | | | | | | | * Improve the CLI #209 added the possibility to assign tags to bookmarks while creating added the possibility to assign a newly created to a list right away added the possibility to add and remove tags from bookmarks * minor tweaks --------- Co-authored-by: MohamedBassem <me@mbassem.com>
* fix: async/await issues with the new queue (#319)kamtschatka2024-07-211-5/+5
|
* refactor: Replace the usage of bullMQ with the hoarder sqlite-based queue (#309)Mohamed Bassem2024-07-211-3/+3
|
* refactor: fixed typos in BookmarkTypes (#268)kamtschatka2024-07-011-3/+3
|
* fix: Fix duplicate bookmarks in links with assetsMohamedBassem2024-07-011-1/+5
|
* refactor: added the bookmark type to the database (#256)kamtschatka2024-07-011-45/+60
| | | | | | | | | | | | | | | | | * 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-33/+17
| | | | | | | | | | | | | 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-231-20/+65
| | | | | | | | | | | | | | | | | | | * 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-0/+2
| | | | | | | | | | | | | | | | | * 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>
* fix: Remove the bookmark update text limit (#244)Ahmad Mujahid2024-06-221-1/+1
|
* fix: Trigger search re-index on bookmark tag manual updates. Fixes #208 (#210)kamtschatka2024-06-091-17/+7
| | | | | | | | | | | | * re-index of database is not scanning all places when bookmark tags are changed. Manual indexing is working as workaround #208 introduced a new function to trigger a reindex to reduce copy/paste added missing reindexes when tags are deleted/bookmarks are updated * give functions a bit more descriptive name --------- Co-authored-by: kamtschatka <simon.schatka@gmx.at> Co-authored-by: MohamedBassem <me@mbassem.com>
* feature: Full page archival with monolith. Fixes #132MohamedBassem2024-05-261-0/+3
|
* fix: Fix missing bookmarks during pagination if they got created in the same ↵MohamedBassem2024-05-191-6/+31
| | | | second. Fixes #140
* feature: Dedup links on creation. Fixes #49MohamedBassem2024-05-061-95/+123
|
* feature: Download images and screenshotsMohamedBassem2024-04-201-4/+37
|
* refactor: Move the shared types to the shared packageMohamedBassem2024-04-181-6/+9
|
* feature: Add title to bookmarks and allow editing them. Fixes #27MohamedBassem2024-04-151-0/+1
|
* feature(web): Allow changing the bookmark grid layout (#98)Mohamed Bassem2024-04-141-0/+2
|
* feature: Add PDF support (#88)Ahmad Mujahid2024-04-111-0/+3
| | | | | | | | | | | | | | | | | | | * 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): Allow uploading directly into lists/tags. Fixes #69MohamedBassem2024-04-091-17/+39
|
* format: Add missing lint and format, and format the entire repoMohamedBassem2024-03-301-22/+22
|
* fix: Sort search results by relevanceMohamedBassem2024-03-301-0/+8
|
* feature(web): Add support for attaching notes to bookmarksMohamedBassem2024-03-301-0/+5
|
* feature(web): Add support for removing items from listsMohamedBassem2024-03-201-1/+1
|
* refactor: Change asset storage to be the filesystem instead of sqliteMohamedBassem2024-03-191-4/+18
|
* Feature: Add support for uploading images and automatically inferring their ↵Mohamed Bassem2024-03-191-2/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* feature: Implemente pagination supportMohamedBassem2024-03-171-50/+72
|
* refactor: Prepare for pagination by dropping querying bookmarks by idMohamedBassem2024-03-171-45/+110
|
* fix: Trim whitespaces from submitted URLsMohamedBassem2024-03-101-1/+1
|
* refactor: Extract trpc logic into its packageMohamedBassem2024-03-051-0/+454