aboutsummaryrefslogtreecommitdiffstats
path: root/packages/trpc/lib/__tests__ (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix: treat bookmark not found as a no-op in rule engine instead of a failure ↵Mohamed Bassem11 days1-11/+10
| | | | | | | | | | | (#2464) When a bookmark is deleted before the rule engine worker processes its event, the worker would throw an error, triggering failure metrics, error logging, and retries. This changes both the worker and RuleEngine.forBookmark to gracefully skip processing with an info log instead. Co-authored-by: Claude <noreply@anthropic.com>
* feat(rules): add "Title Contains" condition to Rule Engine (#1670) (#2354)Andrii Mokhovyk2026-01-181-0/+33
| | | | | | | | * feat(rules): add "Title Contains" condition to Rule Engine (#1670) * feat(rules): hide title conditions for bookmark created trigger * fix typecheck
* feat: add "URL Does Not Contain" condition to rule engine (#2280)Mohamed Bassem2025-12-301-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: add "URL Does Not Contain" condition to rule engine Add a new condition type `urlDoesNotContain` that allows users to create rules based on URLs that do NOT contain specific strings. This enables more flexible rule configurations, such as: - Automatically adding bookmarks to a "Read Later" list if the URL does not contain "reddit.com" or "youtube.com" Changes: - Added `urlDoesNotContain` condition type to Zod schema - Implemented evaluation logic in RuleEngine - Added UI support in ConditionBuilder component - Added translation key for new condition type - Added test coverage for the new condition Fixes #2259 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Mohamed Bassem <MohamedBassem@users.noreply.github.com> * fix type link --------- Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Mohamed Bassem <MohamedBassem@users.noreply.github.com>
* fix: Propagate group ids in queue calls (#2177)Mohamed Bassem2025-11-271-5/+10
| | | | | * fix: Propagate group ids * fix tests
* refactor: Move callsites to liteque to be behind a pluginMohamed Bassem2025-09-141-2/+2
|
* feat(search): add title search qualifier (#1940)Mohamed Bassem2025-09-131-1/+27
| | | | | | | * fix(search): include link titles in title matcher * docs(search): add title qualifier * docs: remove title qualifier from v0.27 guide
* Revert "fix: Fix smart lists not working in list search qualifiers". #1321Mohamed Bassem2025-04-281-69/+0
| | | | This reverts commit 6178736d64180f9bc8954099c90d54aa2f9f35f5.
* fix: Fix smart lists not working in list search qualifiers. Fixes #845Mohamed Bassem2025-04-271-0/+69
|
* feat: Implement generic rule engine (#1318)Mohamed Bassem2025-04-271-0/+664
| | | | | | | | | | | | | | | | | * Add schema for the new rule engine * Add rule engine backend logic * Implement the worker logic and event firing * Implement the UI changesfor the rule engine * Ensure that when a referenced list or tag are deleted, the corresponding event/action is * Dont show smart lists in rule engine events * Add privacy validations for attached tag and list ids * Move the rules logic into a models
* chore: Rename hoarder packages to karakeepMohamedBassem2025-04-121-4/+4
|
* feat: Add a search matcher for rss feed bookmarksMohamedBassem2025-04-061-0/+48
|
* fix: Fix url matcher not matching sourceUrl. Fixes #874Mohamed Bassem2025-01-131-1/+2
|
* feat: Add ability to filter by bookmark typeMohamed Bassem2025-01-121-0/+48
|
* feat: Add support for smart lists (#802)Mohamed Bassem2025-01-021-4/+10
| | | | | | | | | | | | | | | | | | | * 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-311-0/+24
|
* feat: Add support for negative search termsMohamed Bassem2024-12-311-7/+84
|
* test: Add tests for the search id queriesMohamed Bassem2024-12-311-0/+276