Commit Graph

1051 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& 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& a437f0a64e api/widget: dont import the entirety of the CDN server 2026-06-12 17:58:18 +02:00
Rory& 03ecae4348 Move more extensions to extensions 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& 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& 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& 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& 94b3056cef Merge branch 'dev/monitoring' 2026-05-28 17:32:37 +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
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
Rory& 829c8c436e */start.ts: unify import order for module-alias and dotenv 2026-05-24 06:09:16 +02:00
Rory& dd3b398fb2 Clean up erlpack types 2026-05-24 06:08:00 +02:00
Rory& 7e152be9dd Compliance: add user_id and user_settings to login response 2026-05-05 14:13:29 +02:00
Rory& 5c5e8d820e handle constraints on webhook delete 2026-05-03 10:50:22 +02:00
Rory& d9d339882b Register: cache blocked IPs 2026-04-28 03:53:45 +02:00
Rory& 895539e9e2 Document why ImageProxy.ts exists 2026-04-26 02:16:16 +02:00
Rory& 44ad24ac0d Constrain role name lengths 2026-04-24 05:01:26 +02:00
Rory& 528aa632fa Move email domain lists to assets 2026-04-24 02:32:27 +02:00