Commit Graph
9 Commits
Author SHA1 Message Date
翅膀 372c8522c0 fix(filter): validate executable condition trees
Malformed trees and unsupported patterns must not silently turn an
exclude rule into a pass. Validate the shape and only the patterns
the evaluator actually executes.
2026-10-23 23:21:26 +08:00
翅膀 1b6b30066f fix(filter): read only own payload properties
Inherited object properties are not webhook payload data.
Read own properties only so JSONPath cannot traverse prototypes.
2026-10-23 23:21:25 +08:00
翅膀 900962e003 fix(filter): read each event branch correctly
Deployment and check branches live in event-specific nested fields.
Read those fields and remove only the actual leading ref prefix.
2026-10-23 23:21:21 +08:00
翅膀 125d5eee1f fix(filter): use isolated linear-time patterns
Backtracking patterns can exhaust worker CPU on untrusted payloads.
Use linear-time matching and separate bounded cache namespaces so
glob and regex entries cannot corrupt each other.
2026-10-23 23:21:20 +08:00
github-actions[bot] df16dc94f7 chore: auto-fix lint & formatting [skip ci] 2026-08-24 14:52:59 +00:00
RhenCloud c090281cb2 feat(filters): JSONPath field filters, operators, AST groups, fragments, and test-match
Add a field filter type reading any payload value by JSONPath with array expansion, 12 comparison operators (eq/ne/contains/startsWith/endsWith/regex/gt/gte/lt/lte/in/exists), a visual AST builder (all/any/not) in the route editor, chip-based multi-value input, a stateless POST /admin/api/test-match dry-run, and named filter fragments stored in D1 (d1_fragments, migration 0010) inlined into route ASTs on insert.
2026-08-24 22:51:20 +08:00
RhenCloud 2470bd786d feat(config): valibot schemas, schema version, migrations, filter AST 2026-08-15 17:03:42 +08:00
RhenCloud cc3ccadc24 feat(filters): unified glob (*/?) and //-regex matching for all filter types 2026-08-13 18:44:13 +08:00
RhenCloud b139712a91 feat: migrate to Nuxt 4 (Nitro) and Tailwind CSS v3 2026-08-13 17:43:33 +08:00