memos/internal
boojack 26f4b73cb9 feat(filter): standard CEL now variable, time accessors, set ops
Replace the custom now() function with an idiomatic `now` timestamp variable (host-injected, frozen once per compile) and retype created_ts/updated_ts/create_time to CEL timestamp. Filters now use standard timestamp/duration arithmetic, e.g. `created_ts >= now - duration("24h")` and `timestamp("2025-01-01T00:00:00Z")`.

Add standard CEL surface that compiles to SQL across SQLite/MySQL/Postgres: timestamp accessors (getFullYear/getMonth/getDate/getDayOfWeek/..., with 0-based month and weekday normalized), ext.Sets() (sets.contains/intersects/equivalent over tags), tags.exists_one(), size() on string fields, and division/modulo folding. A frozen clock is injectable for deterministic tests.

BREAKING CHANGE: now() is removed (use the `now` variable) and time fields are timestamps, so bare-epoch comparisons need timestamp(<epoch>). Existing saved shortcuts using the old syntax must be updated.
2026-06-22 22:42:44 +08:00
..
ai refactor: split STT and Audio-LLM into separate interfaces (#5928) 2026-05-03 00:21:58 +08:00
base fix: user resource names can be uuidv4 from idp sub claim (#5856) 2026-04-19 13:05:08 +08:00
cron refactor: move plugin packages under internal 2026-04-06 11:10:32 +08:00
email feat(notification): add smtp email settings 2026-05-01 18:48:21 +08:00
filter feat(filter): standard CEL now variable, time accessors, set ops 2026-06-22 22:42:44 +08:00
httpgetter fix: support <meta name=description> in link previews (#6000) 2026-06-02 23:02:21 +08:00
idp feat: redesign account and SSO management (#5886) 2026-04-24 09:08:58 +08:00
markdown fix(markdown): ignore tags inside links 2026-06-06 00:01:28 +08:00
motionphoto feat(attachments): add Live Photo and Motion Photo support (#5810) 2026-04-06 10:47:01 +08:00
profile chore(settings): show build commit in version info 2026-04-27 08:51:11 +08:00
scheduler refactor: move plugin packages under internal 2026-04-06 11:10:32 +08:00
storage/s3 refactor: move plugin packages under internal 2026-04-06 11:10:32 +08:00
testutil feat(attachments): add Live Photo and Motion Photo support (#5810) 2026-04-06 10:47:01 +08:00
util feat: update gomark dependency and refactor markdown parsing logic 2025-09-17 21:09:30 +08:00
version fix(release): inject build version into artifacts 2026-04-19 12:02:32 +08:00
webhook fix(webhook): fail loud on malformed signing secret and add tests 2026-06-09 22:58:10 +08:00