Commit Graph

31 Commits

Author SHA1 Message Date
Mia
0c876ef163 Friends: Only spawn child process in main process
Same issue as 3b827f5307
2022-02-17 15:31:24 -06:00
Mia
62b3ae797d Revert mishap
Git merge got botched.
2022-01-19 20:40:15 -06:00
Mia
e9fd76b40a Chatlog: Fix older results buttons 2022-01-19 20:32:48 -06:00
Mia
7cd7b3ad7a
Fix typo 2021-12-02 11:28:29 -06:00
Mia
a41429018f
Friends: Add a checker for non-iterable db results 2021-12-02 11:27:23 -06:00
Mia
60d741b637
Update friends.ts 2021-10-23 09:23:18 -05:00
Mia
4b0b0685a2 Friends: Error out if malformed data is received
Related to my previous commit. This should tell us properly what the issue is, since on more inspection it appears to return a valid result - just with an undefined result property. This shouldn't happen, unless there's also an error property. The fact there isn't suggests a different bug, but more verbose errors will clear that up.
2021-10-22 22:50:52 -05:00
Mia
d8c89c5187 Friends: Fix crash on hotpatch
The actual issue seems to be a much more dense bug involving the query returning undefined immediately after a hotpatch. This suggests that it is somehow related to the process being killed, but I cannot find any reason for it to return undefined, so I'm putting this in as a bandage.
2021-10-22 22:42:28 -05:00
Mia
7811795344
Handle new TypeScript version (#8449)
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2021-08-30 20:11:44 -07:00
Mia
d8b8e44f78 Friends: Ensure MAX_FRIENDS is respected 2021-08-12 15:30:56 -05:00
Mia
039daff902 Friends: Ensure Config.usesqlite is respected 2021-07-31 21:24:16 -05:00
Mia
5634c50661 Friends: Better handle missing processes 2021-07-31 21:04:55 -05:00
Mia
145f1c1740 Fix build 2021-07-22 23:41:29 -05:00
Mia
6c166115f5 Friends: Strongly type getFriends 2021-07-22 21:17:20 -05:00
Mia
96e4fe3af6 Friends: Fix /help and UHTML 2021-07-21 16:33:27 -05:00
Mia
b175d8b000 Friends: Use /migrations/friends for versioning 2021-07-19 20:49:47 -05:00
Mia
ed34cc49b1 Friends: Add a page to spectate the battles of friends 2021-07-19 02:57:08 -05:00
Mia
48ef5e3758 Friends: Fix crash in hideLogins 2021-07-16 22:49:02 -05:00
Mia
20c795f8f4
Friends: Move caching to User#friends (#8404) 2021-07-16 20:33:07 -07:00
Mia
194a939cd6 Friends: Use /raw
ugh.
2021-07-16 22:23:37 -05:00
Mia
34f9e33116 Friends: Match behavior with online friend requests when only one request is pending 2021-07-16 22:22:14 -05:00
Mia
3316bf3ffb Friends: Fix 'no request pending' error 2021-07-16 21:01:39 -05:00
Mia
8e3b05b2bf Friends: Fix crash pt 2 2021-07-16 16:41:32 -05:00
Mia
7b52c4d1d0 Friends: Fix crash 2021-07-16 16:38:34 -05:00
Mia
3020298000 Friends: Fix accepting your own requests 2021-07-16 16:19:17 -05:00
Mia
1a2c3b2e72 Friends: Properly allow viewing lists while requests are blocked 2021-07-16 15:56:05 -05:00
Mia
9323fd2416 Friends: Use Users#getExact more 2021-07-16 15:53:24 -05:00
Mia
2c73519641 Friends: Revert to sending PMs from & 2021-07-16 15:41:27 -05:00
Mia
241804aa6b Friends: Send friend request messages from the friend instead of & 2021-07-16 15:26:40 -05:00
Mia
084af11c06 Friends: Properly handle blockpms 2021-07-16 15:16:10 -05:00
Mia
e5fbd64427
Support adding friends (#7333) 2021-07-16 12:56:34 -07:00