Tom Moor and Claude Opus 5.5
00b124d03c
chore: Rename APIContext to Context and flatten its fields ( #14684 )
...
* chore: Rename APIContext to Context and flatten its fields
Auth and transaction now live directly on the context instead of in
ctx.state and a nested ctx.context, and model helpers read them directly.
APIContext remains as a deprecated alias.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_016MJXFeUxvU46KyvKnP8sXf
* chore: Remove deprecated APIContext alias
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_016MJXFeUxvU46KyvKnP8sXf
* fix: Read auth from context in OAuth provider callbacks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_016MJXFeUxvU46KyvKnP8sXf
* chore: Add withUser and withTransaction context helpers
Replaces manual createContext rebuilds that copy fields from an existing context.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_016MJXFeUxvU46KyvKnP8sXf
* chore: Remove arbitrary property access from Koa context types
AppContext and Context no longer inherit the any index signature from
Koa's DefaultContext, custom fields are declared explicitly, and importing
Koa's loose Context type is disallowed by lint.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_016MJXFeUxvU46KyvKnP8sXf
---------
Co-authored-by: Claude <noreply@anthropic.com >
2026-11-23 23:17:06 -05:00
Tom Moor
086bd9e9e4
chore: Replace deprecated koa-router with @koa/router v15 ( #14042 )
...
* chore: Replace deprecated koa-router with @koa/router v15
* fix: Run optional authentication on all auth provider routes
2026-10-11 16:47:26 -04:00
Tom Moor and Claude Opus 4.8
8cd23e40bf
fix: Vertically center empty state in notifications popover ( #12764 )
...
* fix: Vertically center empty state in notifications popover
The empty state relied on percentage heights to center, but the
height chain was broken by the outer container only setting min/max
height. Switch to flexbox growth so the scroll region fills the
available space and the empty message centers reliably.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01J7kMKxnH5gfziT5GNgsXZW
* chore: Add development util to create test notifs
---------
Co-authored-by: Claude <noreply@anthropic.com >
2026-06-20 21:42:18 -04:00
Tom Moor
9b8acf3efb
Remove unnecessary default parameter values from function signatures ( #12617 )
...
* Fix remaining no-useless-default-assignment lint warnings
* Promote no-useless-default-assignment lint rule to error
2026-06-07 15:46:01 -04:00
Tom Moor
c758f0d93a
chore: Upgrade Zod to version 4 ( #11465 )
2026-02-15 22:54:50 -05:00
Tom Moor
bf45e97641
chore: Enforce type import consistency ( #10968 )
...
* Update types
* fix circular dep
* type imports
* lint type imports and --fix
2025-12-19 23:07:02 -05:00
Tom Moor
cc591ebc66
Conversion of User to event system ( #9741 )
...
* Conversion of User to event system
* fix
* warning
* fixes
* Skip lastActiveAt in changeset
* fix: Skip count in view changeset
* refactor: Remove userDestroyer
* refactor: Remove userSuspender
* refactor: Remove userUnsuspender
* tests
2025-07-27 13:15:21 -04:00
Tom Moor
772eb2f1d4
fix: randomstring dep does not work in browser with rolldown-vite ( #9624 )
...
* fix: randomstring dep does not work in browser with rolldown-vite
* fix: Last usage of randomstring, docs
* feedback
2025-07-13 09:33:16 -04:00
Tom Moor
428b3c9553
chore: Ensure comment data is validated before persisting ( #6322 )
...
Fix flash on render of comment create
2023-12-28 10:46:50 -08:00
Apoorv Mishra
9987c15daf
chore: req validation for api/developer ( #5482 )
2023-06-26 19:20:22 +05:30