aboutsummaryrefslogtreecommitdiffstats
path: root/packages/shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* i18n: Enable ukrainian language (#1195)Denys Dovhan2025-04-051-0/+1
|
* feat: Allow storing assets in a separate directory. Fixes #1091Mohamed Bassem2025-03-292-1/+4
|
* feat(workers): Add CRAWLER_SCREENSHOT_TIMEOUT_SEC (#1155)Chang-Yen Tseng2025-03-271-0/+2
|
* feat(workers): Adds publisher and author og:meta tags to Bookmark (#1141)erik-nilcoast2025-03-222-0/+8
|
* deps: Upgrade vitestMohamed Bassem2025-03-221-1/+1
|
* feat(auth): Added env variable for OAuth timeout (#1136)Kaio Cesar2025-03-221-0/+2
| | | | | | | * feat(auth): add configurable OAuth timeout option * fix(config): change OAUTH_TIMEOUT to use z.coerce.number for better type handling * docs: Added instructions for OAUTH_TIMEOUT flag
* feat(workers): allows videoWorker to use ytdlp command line arguments ↵erik-nilcoast2025-03-161-0/+5
| | | | specified in the config. Fixes #775 #792 (#1117)
* i18n: Enable new languagesMohamed Bassem2025-03-161-1/+5
|
* feat: Add endpoints for whoami and user stats. Fixes #1113Mohamed Bassem2025-03-111-0/+15
|
* fix: Revert the accidental upgrade of deps. #1107Mohamed Bassem2025-03-101-1/+1
|
* build(deps-dev): bump vitest from 1.3.1 to 1.6.1 (#1104)dependabot[bot]2025-03-091-1/+1
| | | | | | | | | | | | | | Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 1.3.1 to 1.6.1. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v1.6.1/packages/vitest) --- updated-dependencies: - dependency-name: vitest dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: Harden getBookmarks endpoint against inconsistent bookmarks. Fixes #1094Mohamed Bassem2025-03-091-2/+2
|
* feat: Add support for 'ai tagged' as a webhook trigger. Fixes #1092Mohamed Bassem2025-03-072-2/+7
|
* fix: Move away from JSON outputs to structured outputs. Fixes #1047Mohamed Bassem2025-03-023-12/+27
|
* feat: Add PDF screenshot generation and display (#995)Ahmad Mujahid2025-02-173-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Updated pdf2json to 3.1.5 * Extract and store a screenshot from PDF files using pdf2pic * Installing graphicsmagick and ghostscript * Generate Missing PDF screenshot with tidyAssets worker for backward support * Display PDF screenshot instead of the PDF in web if it exists. * Display PDF screenshot in mobile app if exists. * Updated pnpm-lock.yaml * Removed console.log * Revert the unnecessary changes in package.json * Revert pnpm-lock changes * Prevent rendering PDF files if the screenshot is not generated * refactor: replace useEffect with useMemo for section initialization * feat: show PDF file download button and handle large PDFs by defaulting to screenshot view * feat: add file size to openapi spec * feature: Add Assets preprocessing in fix mode to admin actions * i18n: add reprocess_assets_fix_mode translation * i18n: Add missing ar translations * A bunch of fixes * Fix openspec schema --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
* fix: custom fetch wrapper for ollama inference. Fixes #656 (#1032)Gavin Mogan2025-02-163-0/+17
| | | | | | | | | | | | | | | | * Add configurable fetch timeout for Ollama client * Worker service needs access to the .env file * repair typescript types * Update customFetch.ts * update the config docs --------- Co-authored-by: sbarbett <shane@barbetta.me> Co-authored-by: Mohamed Bassem <me@mbassem.com>
* fix: Loosen the restriction about the browser address env variable. Fixes #1000Mohamed Bassem2025-02-091-2/+2
|
* feat(web): bulk tag deletion. Fixes #872 (#900)lexafaxine2025-02-091-0/+6
| | | | | | | | | | | | | | | * feat(web): #872 bulk tag deletion * revert lock file change * change bulk tag action type def and fix small issue * fix prettier * minor fixes --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
* feat(i18n): add Arabic language support (#983)Ahmad Mujahid2025-02-091-0/+1
|
* i18n: Enable the Hungarian translationMohamed Bassem2025-02-021-0/+1
|
* fix: Dont rearchive singlefile uploads and consider them as archivesMohamed Bassem2025-02-021-0/+1
|
* feat: Change default max upload size to 50MB up from 4MBMohamed Bassem2025-02-021-1/+1
|
* feat(api): Expose the modifiedAt date in the bookmarks APIMohamed Bassem2025-02-011-0/+1
|
* fix: Fix search query parsing to allow and/or to be identifiers. Fixes #935Mohamed Bassem2025-02-012-4/+15
|
* fix: Fix missing handling for AbortSignal in inference clientMohamed Bassem2025-02-011-28/+53
|
* fix: Abort all IO when workers timeout instead of detaching. Fixes #742Mohamed Bassem2025-02-012-13/+38
|
* deps: Upgrade typescript to 5.7Mohamed Bassem2025-02-012-3/+6
|
* i18n: Fix spanish language code. Fixes #925Mohamed Bassem2025-02-011-1/+1
|
* feat: Change webhooks to be configurable by usersMohamed Bassem2025-01-193-12/+34
|
* feat(webhook): Implement webhook functionality for bookmark events (#852)玄猫2025-01-192-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | * feat(webhook): Implement webhook functionality for bookmark events - Added WebhookWorker to handle webhook requests. - Integrated webhook triggering in crawlerWorker after video processing. - Updated main worker initialization to include WebhookWorker. - Enhanced configuration to support webhook URLs, token, and timeout. - Documented webhook configuration options in the documentation. - Introduced zWebhookRequestSchema for validating webhook requests. * feat(webhook): Update webhook handling and configuration - Changed webhook operation type from "create" to "crawled" in crawlerWorker and documentation. - Enhanced webhook retry logic in WebhookWorker to support multiple attempts. - Updated Docker configuration to include new webhook environment variables. - Improved validation for webhook configuration in shared config. - Adjusted zWebhookRequestSchema to reflect the new operation type. - Updated documentation to clarify webhook configuration options and usage. * minor modifications --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
* fix: Limit concurrency of bulk actions. Fix #773Mohamed Bassem2025-01-122-0/+226
|
* feat: Add ability to filter by bookmark typeMohamed Bassem2025-01-123-0/+97
|
* feat: Add Bookmark Sorting Feature (#812)Daksh Pareek2025-01-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: add bookmark sorting by creation date - Add sort order toggle in GlobalActions component - Implement ascending/descending sort functionality - Update translations for sorting feature in all languages - Add sort order icons and dropdown menu - Maintain sort preference in URL params * feat: add bookmark sorting by creation date - Add sort order toggle in GlobalActions component - Implement ascending/descending sort functionality - Update translations for sorting feature in all languages - Add sort order icons and dropdown menu - Maintain sort preference in URL params during session Note: Sort order resets to default on page refresh, server-side persistence can be implemented in future enhancement * feat: Add global sort by date feature with shared sort order state - Implement global sort order functionality using a shared Zustand store (`useSortOrder` hook). - Update `getBookmarks` and `searchBookmarks` endpoints to accept a `sortOrder` parameter. - Refactor code to import `ZSortOrder` from shared types (`bookmarks.ts`), ensuring consistency across the codebase. - Update components (`UpdatableBookmarksGrid`, `bookmark-search`) to use the shared `useSortOrder` hook. - Remove unused `zSortBy` definition from `packages/shared/types/bookmarks.ts` to avoid confusion. - Ensure consistent naming conventions by prefixing Zod inferred types with `Z`. - Clean up code and address previous PR feedback comments. * tiny fixes and fixing TS errors --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
* feat: Support customizing the summarization prompt. Fixes #731Mohamed Bassem2025-01-122-2/+11
|
* feat: Add support for singlefile extension uploads. #172Mohamed Bassem2025-01-112-1/+13
|
* refactor: Implement file streaming for asset route. Fixes #818Mohamed Bassem (aider)2025-01-051-0/+19
|
* i18n: Enable the new translated languagesMohamed Bassem2025-01-051-4/+11
|
* feat: Expose the search functionality in the REST APIMohamed Bassem2025-01-051-0/+12
|
* Revert "ci: Run tests on push (#807)" (#808)Mohamed Bassem2025-01-021-2/+1
| | | This reverts commit 39358b1517a06b90b9886a648ce1c595d1556c8e.
* ci: Run tests on push (#807)Mohamed Bassem2025-01-021-1/+2
| | | | | | | * 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-021-17/+65
| | | | | | | | | | | | | | | | | | | * 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>
* feat: Add support for searching for tagged and listed itemsMohamed Bassem2024-12-313-0/+56
|
* feat: Add support for negative search termsMohamed Bassem2024-12-313-44/+132
|
* chore: add format:fix and lint:fix scripts to all packagesMohamed Bassem (aider)2024-12-311-0/+2
|
* feat: Introduce advanced search capabilities (#753)Mohamed Bassem2024-12-315-2/+717
| | | | | | | | | | | | | | | | | | | | | | | | | * feat: Implement search filtering in the backend * feat: Implement search language parser * rename matcher name * Add ability to interleve text * More fixes * be more tolerable to parsing errors * Add a search query explainer widget * Handle date parsing gracefully * Fix the lockfile * Encode query search param * Fix table body error * Fix error when writing quotes
* i18n: Added Croatian translation (#788)Jaksa1012024-12-301-0/+1
| | | | | * Added Croatian translation * Update translation.json
* feat: Add support for embeddings in the inference interface (#403)Mohammed Farghal2024-12-292-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * support embeddings generation in inference.ts (cherry picked from commit 9ae8773ad13ed87af8f72f167bdd56e02ea66f15) * make AI worker generate embeddings for text bookmark * make AI worker generate embeddings for text bookmark * fix unintentional change -- inference image model * support embeddings for PDF bookmarks * Upgrade drizzle-kit Existing version is not working with the upgraded version of drizzle-orm. I removed the "driver" to the match the new schema of the Config. Quoting from their Config: * `driver` - optional param that is responsible for explicitly providing a driver to use when accessing a database * *Possible values*: `aws-data-api`, `d1-http`, `expo`, `turso`, `pglite` * If you don't use AWS Data API, D1, Turso or Expo - ypu don't need this driver. You can check a driver strategy choice here: https://orm. * fix formatting and lint * add comments about truncate content * Revert "Upgrade drizzle-kit" This reverts commit 08a02c8df4ea403de65986ed1265940c6c994a20. * revert keep alive field in Ollama * change the interface to accept multiple inputs * docs --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
* fix: Coerce createdAt in the bookmark create/update APIsMohamed Bassem2024-12-281-2/+2
|
* i18n: Added Turkish translation (#781)Buğra Canata2024-12-281-0/+1
|
* feat: Implement the all highlights page. Fixes #620Mohamed Bassem2024-12-281-0/+10
|