Commit Graph

171 Commits

Author SHA1 Message Date
Rory&
47b2460dce fix: fall back to undefined in message create 2026-03-07 02:09:32 +01:00
Rory&
7001a4c382 [cherry/1518] Webhooks: respect thread_id parameter 2026-03-06 22:50:26 +01:00
whinis
3e7ecbc4a1 added clean_data to places after a member is created but not constructed to allow proper json creation. 2026-02-26 06:55:18 +01:00
Rory&
1926e8cf34 Fix message embeds not being nullable 2026-02-25 08:15:37 +01:00
Pablo Stebler
013c8d8e7a Add support for attachment:// urls
Closes #1551.
2026-02-25 07:14:30 +01:00
Rory&
49516f018c Fix read state type field - fixes #1559 2026-02-25 05:55:50 +01:00
Rory&
2775d5aa0b Faster pings 2026-02-23 06:53:08 +01:00
whinis
954a61f6b6 The ChainingOperator didn't work as expected. This fixes that. 2026-02-18 22:44:55 +01:00
whinis
b2c9c8309e Add some optional chaining to prevent issue with embeds 2026-02-18 14:19:15 +01:00
whinis
9bd8fc2c09 Add Decorators to clean classes before json serialization and remove invalid states. 2026-02-17 18:20:31 +01:00
Rory&
961cb9a7e2 API: request embeds in US english preferred
Some checks failed
Build docker images / build (cdn) (push) Failing after 1m17s
Build docker images / build (admin-api) (push) Failing after 4m16s
Style / build (24.x) (push) Failing after 1m22s
Build docker images / build (api) (push) Failing after 1m29s
Build docker images / build (default) (push) Failing after 54s
Build docker images / build (cdn-cs) (push) Failing after 1m17s
Build docker images / build (gateway) (push) Failing after 58s
Build docker images / build (gateway-offload) (push) Failing after 1m17s
Build / build (24.x) (push) Successful in 1m23s
Nix build / build-nix (push) Failing after 1m15s
2026-02-17 03:35:47 +01:00
Rory&
863f16f4f5 API: fix youtube embed 2026-02-17 03:21:09 +01:00
MathMan05
9c848a50c7 save channel 2026-02-11 10:06:44 +01:00
Rory&
a94177839a Save channel on message create 2026-02-08 03:55:39 +01:00
MathMan05
eaa2be281f some fixes 2026-02-04 03:25:48 +01:00
Rory&
b953291b99 Merge remote-tracking branch 'mathium05/threadFixes' 2026-02-04 00:19:51 +01:00
MathMan05
df20d6551e more changes 2026-02-03 17:09:33 -06:00
Rory&
98af6066a2 Assert req.params type as solely string (express update) 2026-02-01 03:49:51 +01:00
CyberL1
fd4dd5499e fix: find the user instead of creating it when replying to a message 2026-01-31 22:47:31 +01:00
MathMan05
cc15a5d219 initial recipients work 2026-01-28 21:46:45 +01:00
MathMan05
00b591abf0 thread API start 2026-01-28 21:46:24 +01:00
Rory&
31345651db Make openapi.js work offline - still needs conditionals fixed though 2026-01-22 21:34:21 +01:00
Rory&
6162fbd520 Deprecation: Use object-based relations for typeorm 2025-12-19 21:06:12 +01:00
Rory&
3636d615db ESLint: warn for deprecated constructs 2025-12-19 19:35:54 +01:00
CyberL1
c08765061c add TODO 2025-12-18 21:50:48 +01:00
CyberL1
3b34a0bf6d feat: add message forwards (normal messages only) 2025-12-18 21:31:43 +01:00
Rory&
915000ee40 Merge remote-tracking branch 'DEVTomatoCake/fix/getPublicUser-no-defaults' 2025-12-17 11:28:29 +01:00
Rory&
491c0de845 lintstagedrc: regenerate schemas/openapi if schemas changed 2025-12-17 11:01:27 +01:00
Rory&
5a3c1a3f53 Prettier u9 2025-12-17 09:25:41 +01:00
Rory&
1b178b5ac3 Prettier u5 2025-12-17 09:12:13 +01:00
Rory&
073bf7e0eb Prettier 8 2025-12-17 07:54:46 +01:00
Rory&
17579462d0 Prettier 5 2025-12-17 07:47:57 +01:00
Rory&
9963ea4527 Prettier 3 2025-12-17 07:44:04 +01:00
Rory&
e5b2f63f82 Remove ugly hack 2025-12-17 02:44:41 +01:00
Rory&
68d3cb70ac Cast ephemeral flag to number because lmao 2025-12-17 02:29:03 +01:00
Rory&
11a3a48731 Rename PRIVATE_ROUTE -> EPHEMERAL, fix typo 2025-12-17 02:21:56 +01:00
Rory&
0e0a205d88 Lower interval for cleaning up sessions 2025-12-16 11:48:19 +01:00
Rory&
e25e0587de Fix bad imports 2025-12-16 08:23:13 +01:00
Rory&
2a383c10a1 Expire old sessions, update last seen on gateway heartbeat 2025-12-16 08:19:56 +01:00
Rory&
938f59c944 Less debug logging, more useful? 2025-12-16 07:47:24 +01:00
Rory&
151f9aaa4f What does this even return 2025-12-16 07:40:37 +01:00
Rory&
03a966bfc4 Session fixes 2025-12-16 07:21:43 +01:00
Rory&
cad820d334 More maybe un-blowing-up 2025-12-16 06:46:51 +01:00
BrajamohanDas-afk
eb94dd4b16 Refactor: Replace getIpAddress with req.ip 2025-12-12 22:46:28 +01:00
Rory&
a149bd06d7 Clean up cloud attachment debug logs 2025-12-04 11:05:40 +01:00
Rory&
9445109bf0 Always use req.ip when calling getIpAddress 2025-12-03 20:06:13 +01:00
Rory&
8b10d85d29 Use IpDataClient in places 2025-12-02 16:46:08 +01:00
Rory&
65f5ef0392 Fix base64 avatar stuff for webhooks 2025-12-01 21:08:03 +01:00
Rory&
25f7c0de5d Drop node-fetch-commonjs, proxy-agent as deprecated 2025-12-01 20:19:14 +01:00
Rory&
2ebe2a57fb Cut down schemas by 90% 2025-11-29 22:22:41 +01:00