openclaw/extensions/googlechat/src
Sid 4691aab019
fix(cron): guard against year-rollback in croner nextRun (#30777)
* fix(cron): guard against year-rollback in croner nextRun

Croner can return a past-year timestamp for some timezone/date
combinations (e.g. Asia/Shanghai).  When nextRun returns a value at or
before nowMs, retry from the next whole second and, if still stale,
from midnight-tomorrow UTC before giving up.

Closes #30351

* googlechat: guard API calls with SSRF-safe fetch

* test: fix hoisted plugin context mock setup

---------

Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
2026-03-01 22:22:59 -06:00
..
accounts.ts fix(channels): add optional defaultAccount routing 2026-03-02 04:03:46 +00:00
actions.ts refactor(extensions): dedupe connector helper usage 2026-02-16 14:59:30 +00:00
api.test.ts fix(googlechat): land #30965 thread reply option support (@novan) 2026-03-02 03:16:48 +00:00
api.ts fix(cron): guard against year-rollback in croner nextRun (#30777) 2026-03-01 22:22:59 -06:00
auth.ts fix: comprehensive BlueBubbles and channel cleanup (#11093) 2026-02-07 05:00:55 -08:00
channel.startup.test.ts fix: add googlechat lifecycle regression test (#27384) (thanks @junsuwhy) 2026-02-26 21:49:26 +00:00
channel.ts fix(googlechat): keep startAccount pending until abort to prevent restart loop 2026-02-26 21:49:26 +00:00
monitor.test.ts fix(security): make allowFrom id-only by default with dangerous name opt-in (#24907) 2026-02-24 01:01:51 +00:00
monitor.ts refactor(extensions): use scoped pairing helper 2026-02-26 21:57:52 +01:00
monitor.webhook-routing.test.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
onboarding.ts refactor(onboarding): reuse allowFrom merge helper in extensions 2026-02-16 23:47:57 +00:00
resolve-target.test.ts chore: Fix remaining extension test types, enable type checking for extension tests. 2026-02-17 10:14:01 +09:00
runtime.ts refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
targets.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
targets.ts chore: Lint extensions folder. 2026-01-31 22:42:45 +09:00
types.config.ts refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
types.ts feat: add beta googlechat channel 2026-01-24 23:30:45 +00:00