Commit Graph

5574 Commits

Author SHA1 Message Date
Rory& fe1c390973 Allow subpath imports, move extensions to separate module 2026-06-11 18:07:50 +02:00
Rory& 758389d1f5 Allow subpath imports from module aliases 2026-06-11 16:31:54 +02:00
Rory& c28d14b861 Dont send guild_add for autojoin guilds on register, disable bcrypt workers as doing it in thread is slightly faster 2026-06-11 02:21:03 +02:00
Rory& 6a01e49c94 Deduplicate channel positions query 2026-06-11 00:38:43 +02:00
Rory& c4bc79bebc Assertions first, use exists rather than count/find 2026-06-11 00:20:41 +02:00
Rory& 6d9d3955bc Dont fetch entire channel for welcome message, dont fail if channel doesnt exist 2026-06-11 00:12:46 +02:00
Rory& 2270afa41f Handle welcome message as insert + update 2026-06-11 00:09:44 +02:00
Rory& e46c864f9d Bcrypt worker threads 2026-06-11 00:05:37 +02:00
Rory& 02d93d2a92 Trace registration 2026-06-11 00:04:10 +02:00
Rory& 51d5b65073 Clean up tests a little 2026-06-09 00:35:42 +02:00
Rory& 0573c394cf Use better permissions when handling webhook mentions 2026-06-05 22:59:33 +02:00
Rory& 79e5899dc1 Log silent attachment failures for webhooks 2026-06-05 22:42:59 +02:00
Rory& d109d871d7 Unit tests for webhooks 2026-06-05 22:42:33 +02:00
Rory& 46b73308b1 Return url on webhook create 2026-06-05 22:08:03 +02:00
Rory& c715b0c481 User: handle autojoin synchronously 2026-06-05 21:16:37 +02:00
Rory& 31ca17d536 Some basic unit tests 2026-06-05 15:48:02 +02:00
Rory& 2597118ba4 More C# models, split basic client SDK from client 2026-06-05 15:47:25 +02:00
Rory& 805f76d04b Clean up import in Monitoring, close webrtc connection on IPC failure, add LOG_API_ERRORS env var 2026-06-05 15:46:25 +02:00
Rory& 7ff0e02d0a HTTP: reblanace buckets to prefer smaller response times 2026-05-29 10:23:48 +02:00
Rory& a6e6be065e Nix: prometheus support 2026-05-28 18:52:45 +02:00
Rory& 153ecfd992 Add grafana dashboard 2026-05-28 17:58:58 +02:00
Rory& 94b3056cef Merge branch 'dev/monitoring' 2026-05-28 17:32:37 +02:00
Rory& d3e81007e5 IPC: shutdown hooks 2026-05-28 17:27:08 +02:00
Rory& 63fb0a93a2 IPC metrics 2026-05-28 17:27:08 +02:00
Rory& acc4a10f09 monitoring: add helper to register a metric without duplicating 2026-05-28 17:27:08 +02:00
Rory& 22b5ed4434 monitoring: ignore OPTIONS requests that dont have a route handler 2026-05-28 17:27:08 +02:00
Rory& 0df292e90d nixos tests: check metrics endpoints on TS services 2026-05-28 17:27:08 +02:00
Rory& 6712db6bce Monitoring: tag HTTP response rate histogram by route rather than request url 2026-05-28 17:27:08 +02:00
Rory& e2da753c2d */Server.ts: Handle metrics requests 2026-05-28 17:27:08 +02:00
Rory& 4a9c6cacc5 */Server.ts: Add monitoring init hook 2026-05-28 17:27:08 +02:00
Rory& d8fb6d2ee8 CodeOwners: claim /nix dir 2026-05-28 17:27:08 +02:00
Rory& 9f9c30186f Move why-is-node-running to dependencies 2026-05-28 17:27:07 +02:00
Rory& 0d6824d285 Process lifecycle scripts 2026-05-28 17:27:07 +02:00
Rory& 232b53bc2d CodeOwners: claim /nix dir 2026-05-28 16:18:30 +02:00
Rory& c76c9f69e3 Move why-is-node-running to dependencies 2026-05-28 13:53:30 +02:00
Rory& b1b73d45e7 Process lifecycle scripts
#Conflicts:
#	src/api/Server.ts
#	src/bundle/Server.ts
#	src/cdn/Server.ts
#	src/gateway/Server.ts
#	src/gateway/events/Connection.ts
#	src/util/util/ipc/listener/RabbitMqSingleListener.ts
#	src/util/util/ipc/listener/UnixSocketListener.ts
#	src/util/util/ipc/writer/UnixSocketWriter.ts
#	src/webrtc/Server.ts
2026-05-28 10:38:39 +02:00
Rory& ac3160e833 Concurrent identify stress script 2026-05-28 09:18:27 +02:00
Rory& ced707abc7 IPC: shutdown hooks
#Conflicts:
#	src/util/util/ipc/listener/UnixSocketListener.ts
2026-05-28 09:17:01 +02:00
Rory& b924a2ffe5 Gateway: send reconnect on shutdown 2026-05-28 09:12:25 +02:00
Rory& 693f58e9eb Fix some copyright headers 2026-05-26 07:48:10 +02:00
Rory& b8decc64da Break up bulk inserts for read states to avoid postgres parameter exhaustion 2026-05-26 07:48:10 +02:00
Rory& 1fa3d392fa Trace fillInMissingIDs 2026-05-26 07:48:10 +02:00
Rory& 6dda5bd401 Bulk insert missing ReadStates 2026-05-26 07:48:10 +02:00
Rory& bd55ec01e5 No longer handle mention_count == null since its no longer nullable 2026-05-26 07:48:10 +02:00
Rory& 6098a03be4 Use forEach rather than .map.forEach 2026-05-26 07:48:10 +02:00
Rory& 37e393dd60 Add full trace 2026-05-26 07:48:10 +02:00
Rory& 3e86c14539 Use sets for mention roles/users 2026-05-26 07:48:10 +02:00
Rory& 35d1d73f0d Simplify some queries for handling mentions 2026-05-26 07:48:10 +02:00
Rory& 558dc94489 User mentions: use user_id IN (...) rather than user_id = ... OR user_id = ... 2026-05-26 07:48:10 +02:00
Rory& 0304f68980 Move message mention handling to separate function 2026-05-26 07:48:10 +02:00