Commit Graph

2518 Commits

Author SHA1 Message Date
Mia
bd38434a2b Punishments: Don't count custom room punishments toward PunishmentMonitor 2021-10-24 20:02:17 -05:00
Guangcong Luo
104fbdaa71 Revert "Rooms: Clarify error"
This reverts commit 528cd01017.
2021-10-24 17:29:12 -04:00
Annika
9c08822cff Revert Multi Battle changes 2021-10-24 17:13:10 -04:00
Mia
62eb51aee0 Fix crash 2021-10-24 16:09:30 -05:00
Mia
ce6adc6b42 Ladders: Clear teammates after matchmaking 2021-10-24 16:03:11 -05:00
Mia
528cd01017 Rooms: Clarify error 2021-10-24 15:53:56 -05:00
Mia
2b5692a787 Punishments: Fix crash 2021-10-24 15:25:12 -05:00
Mia
88ef7fdf1f
Support marksharing ranges (#8498) 2021-10-24 12:44:46 -07:00
Mia
0f5c9c133b
Support searching multi formats (#8172) 2021-10-24 12:04:57 -07:00
PartMan
94ab2a8ef6
Datasearch: Refactor maxgen (#8462) 2021-10-23 23:29:18 -07:00
Volco
f96762b185
Fix crash in room promotions (#8500) 2021-10-23 23:25:56 -07: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
c318dec368 Friends: Reorder 'not autoconfirmed' error message for clarity 2021-10-22 21:07:27 -05:00
Mia
e32df455f5
Helptickets: Ensure battle links from tickets aren't duplicated 2021-10-22 12:01:28 -05:00
Kris Johnson
48f9e13b8a Sample Teams: More QoL improvements 2021-10-22 00:13:37 -06:00
Kris Johnson
3625c9e9ca Sample Teams: Make more improvements 2021-10-21 23:13:10 -06:00
Kris Johnson
922a7880a0 Sample Teams: Fine-tune /sampleteams [format] 2021-10-21 22:33:30 -06:00
Kris Johnson
df1036baf3 Sample Teams: Fix viewing whitelist 2021-10-21 21:48:11 -06:00
Kris Johnson
5a257049b3 Sample Teams: Fix another crash 2021-10-21 21:30:45 -06:00
Kris Johnson
51f9cbcb9d Sample Teams: Fix crash 2021-10-21 21:24:49 -06:00
FeluciaPS
f3aaba2dd4
Specify Global for global promotion messages (#8499) 2021-10-21 20:12:58 -07:00
Kris Johnson
17c5748c5d
Add a chat-plugin for handling sample teams (#8482) 2021-10-21 20:10:36 -07:00
Mia
d45590816b
/noforcerename: Use Utils.splitFirst
This makes it so we don't accidentally allow guest names (since it no longer does users.get)
2021-10-21 08:26:48 -05:00
Mia
78b1e2d963
Helptickets: Fix crash 2021-10-21 08:04:49 -05:00
Mia
10bf74fe17 Helptickets: Don't wrongly close open text tickets
This was making it so people could open new tickets while the existing one had not been closed.
2021-10-20 19:02:33 -05:00
Mia
2ab03d2e30 Helptickets: Ensure at least one valid replay is sent for Battle Harassment 2021-10-20 09:41:58 -05:00
Mia
05072216a2 /ipsearchall: Check full user.ips array 2021-10-19 11:11:26 -05:00
Mia
e5ad25fad4 Fix build 2021-10-18 21:56:26 -05:00
Mia
ced4f26d00 Helptickets: Add punish buttons to Inappropriate Pokemon Names tickets 2021-10-18 21:46:47 -05:00
Mia
3372e6368b Punishments: Sanitize name whitelist data 2021-10-12 10:46:38 -05:00
Kris Johnson
8bfc2a4e92
/uspage: Escape usernames later into page generation 2021-10-11 18:55:23 -06:00
Mia
8a06826bfa Add /noforcerename
Requested by Aeonic. This makes it so the Punishments.namefilterwhitelist now makes users outright immune to FRs, instead of just having it logged / immune to one FR. If they're on the namefilter whitelist, they have to be taken off before they can be renamed, as opposed to just being able to log onto the acc anyway. It also ensures only US can add / remove to that list.
2021-10-11 19:19:29 -05:00
Mia
5c7a513f47 Helptickets: Add a ticket submit handler 2021-10-09 20:50:45 -05:00
Mia
30e3475f30 Helptickets: Fix identifying opponents
Using playerTable keys should be more accurate, since the user is unlinked after the game ends.
2021-10-09 20:25:25 -05:00
HoeenHero
70ae6d93ce Github: Dont create a hook if Config is not set 2021-10-08 21:39:28 -04:00
Guangcong Luo
09e7c8f1ea Improve documentation of uploadReplay
Closes #8480
2021-10-08 17:04:22 -04:00
PartMan
6666ba247d
Tournaments: Improve help (#8464) 2021-10-07 22:03:45 -07:00
Kris Johnson
2848166461 Tournaments: Properly fix setting autostart to 1 2021-10-07 22:08:02 -06:00
fart
82fb80d32f
Tournament options: fix /tour autostart 1 (#8490) 2021-10-07 21:01:39 -07:00
Mia
f80c066434 Moderation: Properly modlog ips for yearlocks 2021-10-06 16:07:00 -05:00
Mia
8581a534d6 Helptickets: Don't refresh IP-Appeals after unlocking IPs 2021-10-06 12:50:59 -05:00
Mia
87a552a3fd Helptickets: Make ticketbans take the duration of the user's longest punishment
This is done where applicable (where the duration of a punishment is more than the default ticketban time would be). Approved / requested by Aeo.
2021-10-04 19:31:26 -05:00
Mia
a0227dfaeb /whois: Privatize more punishments to global staff
Roomstaff have no use for these. (Wob said this was OK).
2021-10-04 08:21:58 -05:00
Mia
83ccd6b0ee Helptickets: Strip HTML from ticket title attributes
This fucked up a bunch of HTML.
2021-10-03 19:11:37 -05:00
Mia
2d49d9642e Room-battle: Don't count clauses in the tiername when logging battles 2021-10-03 12:45:46 -05:00
Mia
3643e94ff7 Helptickets: Add commands to privatize/publicize ticket logs 2021-10-02 15:03:34 -05:00
Mia
c3a829cb3c Helptickets: Make inappropriate name tickets no longer list-only
It had little benefit. Weren't enough tickets to make it work.
2021-10-01 16:33:54 -05:00
Mia
149d5d70ac Helptickets: Fix text ticket button display 2021-10-01 08:58:36 -05:00