Commit Graph

1851 Commits

Author SHA1 Message Date
Rory& edbb6048c1 Delete messages when deleting webhook 2026-06-17 22:51:39 +02:00
Rory& 9915727ccd Routes: reduce scope of api imports to api/util 2026-06-17 02:34:50 +02:00
Rory& 4aceae2bed Clean up some imports to make API work again 2026-06-17 02:17:59 +02:00
Rory& 4c25f84431 extensions/String: use custom exception type 2026-06-17 01:48:23 +02:00
Rory& 9bb2c437cf Authentication: allow - in webhook token 2026-06-16 17:59:23 +02:00
Rory& fa4ca953b8 Fix random string code 2026-06-16 17:27:33 +02:00
Rory& e97c1820b7 Fix import 2026-06-16 03:33:11 +02:00
Rory& 6e0f571b35 Signify some imports more explicitly 2026-06-16 02:47:03 +02:00
Rory& 92f4099b82 Move random string to Random class in extensions 2026-06-16 02:39:15 +02:00
Rory& 4b27ee46d6 Dont fetch roles if role id set is empty 2026-06-16 01:09:56 +02:00
Rory& 89d81432d3 Dont fetch roles for non-guild mesages 2026-06-16 01:03:20 +02:00
Rory& e1de08a4d4 Account for channel id when deleting messages 2026-06-16 00:29:47 +02:00
Rory& 42406c1838 Replace APIRole with schema 2026-06-13 20:37:26 +02:00
Rory& 6995aa7f74 Split config/response voice regions, remove APIVoiceRegion alias 2026-06-13 01:57:19 +02:00
Rory& 92f25c3a22 HACKHACK: Migrate to typeorm v1.0.0, still work to do in actually updating all the queries properly 2026-06-13 01:10:59 +02:00
Rory& 9459bb4226 Fix import path for initial migration 2026-06-12 17:58:18 +02:00
Rory& 1c815ef27c Bundle: drop unused index.ts, avoid re-exporting all other components 2026-06-12 17:58:18 +02:00
Rory& a437f0a64e api/widget: dont import the entirety of the CDN server 2026-06-12 17:58:18 +02:00
Rory& fb7199f27a CDN: unify imports layout 2026-06-12 17:58:18 +02:00
Rory& 03ecae4348 Move more extensions to extensions 2026-06-12 17:58:18 +02:00
Rory& 83e60464ad Move migrations to database 2026-06-12 17:58:18 +02:00
Rory& 0b5d2a576d Fix recursive import in database 2026-06-12 17:58:18 +02:00
Rory& c77d00e243 Move entities to database 2026-06-12 17:58:18 +02:00
Rory& 6821fe0513 Move database to toplevel 2026-06-12 17:58:18 +02:00
Rory& 72d496cf05 Remove extraneous export 2026-06-12 17:58:18 +02:00
Rory& 2c1be0fa53 Use subpath imports for lambert-server, fix openapi.js 2026-06-12 17:58:18 +02:00
Rory& d84b8707ee Allow subpath imports, move extensions to separate module 2026-06-12 17:58:18 +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& 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& 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& 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& 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& 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& 0d6824d285 Process lifecycle scripts 2026-05-28 17:27:07 +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