Commit graph

4972 commits

Author SHA1 Message Date
Hazelnoot
73cc50fe90 fix user list API schema, access checks, and caching 2025-11-05 19:42:31 -05:00
Hazelnoot
2a948b7710 fix job ID for poll end jobs 2025-11-05 19:42:31 -05:00
Hazelnoot
4d98a8fddc fix broken fetchers in userListMembershipsCache/listUserMembershipsCache 2025-11-05 19:42:31 -05:00
Hazelnoot
24e565780e fix broken query in /emojis endpoint 2025-11-05 19:42:31 -05:00
Hazelnoot
15e76806ff fix rate limit in /emojis endpoint 2025-11-05 19:42:31 -05:00
Hazelnoot
3baebd82db add missing await in EmojiEntityService.packSimpleMany 2025-11-05 19:42:30 -05:00
Hazelnoot
edf9a44d8b fix typo in "Updating emoji" log 2025-11-05 19:42:30 -05:00
Hazelnoot
72d9086de6 update sfm-js to version 0.26.1 2025-11-05 19:42:30 -05:00
Hazelnoot
1f3c6e1dc7 update emoji-regex.ts and remove dependency on @twemoji/parser 2025-11-05 19:42:30 -05:00
Hazelnoot
5807b33e04 fix additional references to loadConfig and createPostgresDataSource that were hiding in .JS files 2025-11-05 19:42:30 -05:00
Hazelnoot
e75558735b fix promise tracker not working in production 2025-11-05 19:42:30 -05:00
Hazelnoot
86ca3921c9 use platform services in startup routines 2025-11-05 19:42:30 -05:00
Hazelnoot
b751f9c96d fix wrong import in check_connect.js 2025-11-05 19:42:30 -05:00
Hazelnoot
d59e16244e fix module imports 2025-11-05 19:42:30 -05:00
Hazelnoot
a1bff0e0fe fix startup crash when calling check_connect.js 2025-11-05 19:42:30 -05:00
Hazelnoot
e4c29e7aa0 fix QuantumKVCache.callFetchMaybe 2025-11-05 19:42:30 -05:00
Hazelnoot
29154b99d8 remove unused template from jest.config.e2e.ts 2025-11-05 19:42:30 -05:00
Hazelnoot
14db6444b1 fix test errors about event emitter 2025-11-05 19:42:30 -05:00
Hazelnoot
5478dcce41 fix rebase errors 2025-11-05 19:42:30 -05:00
Hazelnoot
effdea5658 update unit tests and mocks 2025-11-05 19:42:30 -05:00
Hazelnoot
9b843181f8 remove unused (and broken) logger.verbose config option 2025-11-05 19:42:30 -05:00
Hazelnoot
f63a2578cc fix DI.console being impossible to mock 2025-11-05 19:42:30 -05:00
Hazelnoot
9b99e8eba8 add new Console global DI to abstract the node.js console 2025-11-05 19:42:30 -05:00
Hazelnoot
8059515db4 move dependency version stuff from EnvService to DependencyService 2025-11-05 19:42:30 -05:00
Hazelnoot
f103d98099 expose mapped envOptions from EnvService 2025-11-05 19:42:30 -05:00
Hazelnoot
21a8cfef65 make envOptions dynamic 2025-11-05 19:42:30 -05:00
Hazelnoot
6e36462c80 update SkRateLimiterServiceTests.ts to use standard mocks and fakes 2025-11-05 19:42:30 -05:00
Hazelnoot
48984908e7 implement multi() in MockRedis 2025-11-05 19:42:30 -05:00
Hazelnoot
a55649e89a move global services to "global" directory 2025-11-05 19:42:28 -05:00
Hazelnoot
00b216c83c remove InternalEventService from CoreModule 2025-11-05 19:41:09 -05:00
Hazelnoot
8e000ae313 implement MockEnvService and fix tests 2025-11-05 19:41:09 -05:00
Hazelnoot
f83a403106 implement EnvService.getDependencyVersion 2025-11-05 19:41:09 -05:00
Hazelnoot
3d5d84e75c run root build-pre from CI 2025-11-05 19:41:09 -05:00
Hazelnoot
d2c49d8608 fix test-server eslint excluding all the files 2025-11-05 19:41:09 -05:00
Hazelnoot
2b3fb2ef9f fix crash caused by wrong property name in SystemAccountService.ts 2025-11-05 19:41:08 -05:00
Hazelnoot
75776103a4 add build:pre script for backend 2025-11-05 19:41:08 -05:00
Hazelnoot
05be2596ea update backend to the new templates 2025-11-05 19:41:08 -05:00
Hazelnoot
b25eb703ea strip unsupported anyOf, oneOf, and allOf from param definitions 2025-11-05 19:41:08 -05:00
Hazelnoot
ed2feda974 validate "required" property when generating schemas 2025-11-05 19:41:08 -05:00
Hazelnoot
efb84e226d noEmit from scripts tsconfigs 2025-11-05 19:41:08 -05:00
Hazelnoot
9beeca5942 modernize backend to target the same ES and TS standards as the rest of the app 2025-11-05 19:40:49 -05:00
Hazelnoot
1b98ed0e06 fix sporraddic test failures due to Postgres deadlock 2025-11-05 19:40:48 -05:00
Hazelnoot
2bbd5be646 fix type errors (again) 2025-11-05 19:40:48 -05:00
Hazelnoot
542b99244a fix backend unit tests: migrate delete({}) to deleteAll() 2025-11-05 19:40:48 -05:00
Hazelnoot
4e7b2be730 add eslint rule to ban .delete({}) and .update({}, {...}) 2025-11-05 19:40:48 -05:00
Hazelnoot
86a8614ef8 fix backend ESLint 2025-11-05 19:40:45 -05:00
Hazelnoot
3fc17fd0ee use cache in NotificationEntityService 2025-11-05 19:40:10 -05:00
Hazelnoot
b3b08e2315 fix type errors in test/utils.ts 2025-11-05 19:40:10 -05:00
Hazelnoot
0f2ae5e3dc fix type of "body" in test/e2e/reversi-game.ts 2025-11-05 19:40:07 -05:00
Hazelnoot
8cc3b8dd1e fix TypeORM error "Empty criteria(s) are not allowed for the delete method."
- https://github.com/typeorm/typeorm/issues/11455
- https://github.com/typeorm/typeorm/pull/11459
2025-11-05 19:38:06 -05:00