Commit Graph

1374 Commits

Author SHA1 Message Date
Mia
49f6a6592b Add a command for getting chat messages out of a battle 2021-11-06 23:11:49 -05:00
Mia
76d0238a38 Modlog: Deprecate ModlogSearch#anyField 2021-11-06 22:52:23 -05:00
Kris Johnson
efdaa93f6b Wi-Fi: Fix various bugs 2021-11-05 15:40:44 -06:00
Mia
c3bffaae56 Wifi: Stop command parsing if LotteryGiveaway.splitTarget fails
Previously, just returning context.parse([help cmd]) didn't actually stop the running, so it caused crashes since the results were undefined.
2021-11-05 14:19:17 -05:00
Kris Johnson
931801bf9b Wi-Fi: Fix typo 2021-11-05 09:02:51 -06:00
Guangcong Luo
54aef4e564 Wi-Fi: Fix some bugs 2021-11-05 00:53:25 -04:00
Kris Johnson
350c3ff0a6 Wi-Fi: Give users a way to submit giveaways 2021-11-04 21:30:10 -06:00
Kris Johnson
28ec736dee Wi-Fi: Properly fix permissions 2021-11-04 21:22:57 -06:00
Kris Johnson
68db092bf5 Wi-Fi: Fix bug with submitting giveaways 2021-11-04 21:18:55 -06:00
Annika
4c900512e1 Wi-Fi: Fix bug 2021-11-04 23:05:16 -04:00
Kris Johnson
b70865eb2e
Wi-Fi: Refactor giveaways (#8514) 2021-11-04 18:05:45 -07:00
Mia
12db1bd96d /linecount: Fix default search values 2021-11-03 10:27:59 -05:00
Mia
d44aff7eea Fix other crash 2021-11-03 08:28:10 -05:00
Mia
f8f5af2c31
Fix crash 2021-11-03 08:23:47 -05:00
Mia
cf7b3177c9
Sample teams: Fix removing teams
Previously, it treated a string as an ID, even though it was a name instead, and compared it against IDs. This confused a lot of people.
2021-11-03 08:06:20 -05:00
Mia
32fd8a788a /linecount: Support new search syntax
This brings it to the same syntax as modlog, which means you can make more varied searches while also getting defaults on values. Before, if you wanted to search a user, you had to enter everything. Now, you can just /linecount user=mia, for example.
2021-11-02 14:42:38 -05:00
Kris Johnson
5b9bbde2d7
Sample Teams: Change /help sampleteams 2021-11-01 15:40:23 -06:00
Mia
6dbb855b8a Helptickets: Adjust battle/replay regexes to check word boundaries
This fixes a bug where the regex would see 'battle-gen8monotyperandombattle-numbers-pw' and would extract 2 urls; the 'battle-gen8monotyperandombattle-numbers-pw' and the 'battle-numbers-pw' from the end. The word boundary ensures it won't match within the format.
2021-11-01 09:15:20 -05:00
Mia
172be74482 Helptickets: Display previous names for namelocked guests 2021-10-31 16:31:56 -05:00
Mia
02cd7f7319 Sample teams: Fix crash
Caused by the whitelist for that formatid being undefined. Since there's no whitelist, I felt it made the most sense to have it say you needed admin.
2021-10-28 08:39:31 -05:00
Mia
0ed095820e Helptickets: Properly show set names in inap mon name tickets 2021-10-26 14:28:51 -05:00
Mia
9e7a6f7c8e Searchlog: Standardize argument delimiters 2021-10-26 14:03:59 -05:00
Slayer95
f58e74ca96
Make friend login notification clickable (#8506) 2021-10-25 20:27:05 -05:00
Mia
00eeea1892 Punishments: Fix unmarksharing ranges 2021-10-25 14:41:21 -05:00
Mia
becb5b74c6 Wifi: Convert giveaway ban addition to new format
Oops.
2021-10-24 20:05:22 -05:00
Mia
bd38434a2b Punishments: Don't count custom room punishments toward PunishmentMonitor 2021-10-24 20:02:17 -05:00
Mia
88ef7fdf1f
Support marksharing ranges (#8498) 2021-10-24 12:44:46 -07:00
PartMan
94ab2a8ef6
Datasearch: Refactor maxgen (#8462) 2021-10-23 23:29:18 -07: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
Kris Johnson
17c5748c5d
Add a chat-plugin for handling sample teams (#8482) 2021-10-21 20:10:36 -07: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
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
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
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
83ccd6b0ee Helptickets: Strip HTML from ticket title attributes
This fucked up a bunch of HTML.
2021-10-03 19:11:37 -05:00