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
ea9993fcec
Update max reason length for moderation commands
2021-11-04 11:48:45 -05:00
Mia
e26de3d931
Chat: Support '' as default handlers for pages
2021-11-04 09:08:52 -05:00
Mia
706ed51cb9
Punishments: Fix checkName only acting on the first punishment the user has
...
This created some bugs where a gbanned user wasn't disconnected if they switched IPs, since this previously only checked the first punishment. If they had a lock, or something similar, it would only run that, and not the gban. This runs everything, fixing that.
2021-11-03 20:18:14 -05: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
singiamtel
a7cdf95c5a
CRQ: Don't send your own friend status in userdetails
2021-11-02 12:05:20 -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
6b3b4df6fa
Fix build
2021-10-27 09:23:38 -05:00
Mia
78291269bb
Punishments: Fix markshared IP storage
2021-10-27 08:02:49 -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
Mia
899549667d
Fix build
2021-10-25 20:32:12 -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
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
FeluciaPS
a032accccf
Add html pages to multiline commands ( #8483 )
2021-09-30 16:44:39 -05:00
Mia
c6804aa827
Helptickets: Stop double-escaping some HTML
2021-09-30 13:15:12 -05:00
Mia
0c2ed8724c
Rooms: Support detecting when users join rooms
2021-09-30 08:09:59 -05:00
Mia
6e2d9644d7
Room-battle: Add some useful battle hooks
2021-09-30 08:06:00 -05:00
Mia
f2c9483496
Chat: Fix handling of default commands
...
This didn't handle command targets accurately - it still counted the first chunk (split by spaces) as part of the command, even though the handler defaulted to the provided default function. No one ever noticed this because no one used the 'default' name functionality.
2021-09-29 17:21:12 -05:00
Mia
c80cfb531b
Support /friend [name]
2021-09-29 16:59:34 -05:00
Mia
217b7b9e0d
Chat: Add '' as a default command override option
...
Nobody expects default, but everyone uses '' and gets surprised when /namespace [target] errors out with 'the command /namespace [target]' doesn't exist. This makes it so that now works.
2021-09-29 15:14:14 -05:00
Mia
7ec57bad4c
Helptickets: Properly escape newlines in context
...
This is probably stupid but it works and doesn't have any other screwups (joining on html is dumb _but_ we escape all HTML out by that point so it's guaranteed to be unique at least)
2021-09-29 14:59:36 -05:00
Mia
6bb5c4ae7b
Helptickets: Add /ht submit (and aliases) to the multiline whitelist
2021-09-29 14:25:59 -05:00
Mia
e5323e758a
Chat: Make privateGlobalModAction not log to Staff room twice when used in Staff
2021-09-27 19:52:29 -05:00
Kris Johnson
c48eabfe1e
FIx build
2021-09-27 17:43:06 -06:00
Mia
9abb4f7b72
Chat: Clarify 'you are locked and cannot chat' messages for proxy locked users
2021-09-27 17:23:20 -05:00
Mia
3e472301f8
Helptickets: Improve IP-Appeal directions
2021-09-27 17:18:18 -05:00
Mia
41877078d2
Moderation: Update offline warn phrasing
2021-09-27 11:35:20 -05:00
Mia
77d81b33c9
Moderation: Have /namelock tempban names after the lock expires
...
Requested by DaWoblefet (for consistency, since namelocking a name and not having it tempbanned is confusingly inconsistent).
2021-09-27 11:08:11 -05:00
Mia
e685689a3b
Usersearch: Fix duplicates in name list
...
also fixes some bugs with 'mia added 0 term to the usersearch name list', etc.
2021-09-26 12:40:47 -05:00
Kris Johnson
5788d395ca
Fix build
2021-09-26 11:26:49 -06:00
Mia
5587455b7f
Helptickets: Show full names for inappropriate username tickets
...
Requested since sometimes people use symbols / etc that get removed otherwise (that might change the meaning).
2021-09-25 23:09:15 -05:00
Mia
2cc3eb122c
Usersearch: Escape HTML in names
2021-09-25 19:58:36 -05:00
Mia
f1011ffd7b
Add more help for chatlog commands
2021-09-23 12:48:29 -05:00
Mia
a7d27dde3a
Add help for all commands in server/chat-commands/
2021-09-23 12:11:55 -05:00
Mia
6cdfb14812
Fix build
2021-09-23 09:36:08 -05:00
Mia
8379e3923a
Validate data:image inputs for media commands
...
This gives explicit messages to ensure people don't try to /show it.
2021-09-23 08:31:11 -05:00
Mia
37dd21bced
Chat: Allow users to pm themselves through blockpms
2021-09-22 19:22:53 -05:00
Mia
d6415445d0
Improve offine forcerenames
...
This mostly just sets user.trackRename when the user tries to log in for the first time. Requested by DaWoblefet.
2021-09-22 19:13:07 -05:00
Mia
c19309c1ad
Moderation: Support year-locking names
...
Approved by Aeonic and Teclis.
2021-09-20 18:10:28 -05:00
Mia
55ced133b6
Punishments: Fix validation of ranges in sharedIpBlacklist
2021-09-20 08:42:33 -05:00
Mia
a53f5ae84a
Helptickets: Add better context messages for inapname tickets
2021-09-20 08:14:29 -05:00
Mia
24e1dcbe24
Ladders: Add timestamps to challenge notifications
2021-09-19 14:13:36 -05:00
PartMan
35a917d418
/help: Trim commands ( #8461 )
...
```
[09:45:39] @PartMan: !h status
Could not find help for '/status ' - displaying help for '/status' instead
/status [note] - Sets a short note as your status, visible when users click your username.
Use /clearstatus to clear your status message.
```
2021-09-18 15:54:42 -07:00
Mia
60998a00c9
Update /help automodchat
2021-09-18 11:58:21 -05:00
Mia
d3d2bacf10
Moderation: Make /modnote [userid] log the [userid] as the target user
...
Staff QoL. This will make notes of /mn [userid] show up under /mlid userid (or /ml user='username', etc).
2021-09-17 12:50:05 -05:00
Mia
6a1402a83e
Helptickets: Move list-only types to a singular button in notifications
2021-09-16 15:12:50 -05:00
Mia
14fda9ff8b
Helptickets: Properly block nomarkshared ranges from making IP-Appeal tickets
2021-09-16 14:10:40 -05:00
Mia
a2890bc7d1
Moderation: Log offline warns to Staff
2021-09-16 09:07:17 -05:00
Mia
c32ae39df3
Spotlights: Fix typo
2021-09-16 07:44:07 -05:00
Mia
038404a554
Rooms: Retain previous setting when automodchat is set
...
Also fixes a bug with the activation declaration saying it activated after 0 seconds.
2021-09-15 19:40:13 -05:00
Mia
c912e3bd45
Roomsettings: Fix /modjoin sync
...
This fixes https://www.smogon.com/forums/threads/bug-reports-v4-read-original-post-before-posting.3663703/post-8710045 . This changes /modjoin sync so that (if there's no modchat set) instead of looking for the lowest staff group (in order to set modchat), it looks for the lowest (non reg/whitelist) group that the user can set it to instead. Previously, it looked for the lowest group with the mute permission - bot, which regular users cannot set modchat to in battles.
2021-09-15 19:19:42 -05:00
Mia
6115f6928e
Helptickets: Add help for /ht note
2021-09-15 15:14:50 -05:00
Mia
b355909ef0
UNO: Improve error messages
...
Closes #6780 .
2021-09-15 14:46:35 -05:00
Mia
866722f70d
Roomlogs: Don't count certain protocol messages for Room#nthMessageHandlers
...
Previously, join/leave/userstats/etc would all count against the nthMessageHandlers (which is relevant for repeats), and this is most definitely incorrect behavior.
2021-09-15 12:56:39 -05:00
Mia
73696f5d71
Fix typo
2021-09-15 09:11:23 -05:00
Mia
5a0f196a43
Helptickets: Move Inappropriate Username tickets to a shared list
...
See WAIL. Teclis said I could do this now.
2021-09-15 09:00:10 -05:00
Kris Johnson
c2f5ccc106
Update /battlerules
2021-09-14 23:24:46 -06:00
Mia
ba916b7bf0
Ladder: Stop clearing User#mmrCache when rating updates time out
...
See comment as to why this behavior is now undesirable.
2021-09-14 19:31:52 -05:00
Mia
59c5c148af
Helptickets: Update password reset description
2021-09-14 09:07:01 -05:00
Kris Johnson
508c527207
Fix build
2021-09-13 21:49:29 -06:00
Kris Johnson
ff13a8d8a3
Usersearch: Exclude global banned users
2021-09-13 21:47:49 -06:00
Mia
2c6c9e4125
Chat: Don't count messages blocked by hightraffic in checking slowchat
2021-09-13 12:15:43 -05:00
Mia
9d4929dd9b
Usersearch: Specify what terms were added in /usnames add
2021-09-13 12:13:30 -05:00
Mia
b7bc2d7c32
Usersearch: Add help for /usnames and mention it in /help usersearch
2021-09-13 12:11:09 -05:00
Mia
9b435b2f0e
Moderation: Add hints about forcelock and forcenamelock
2021-09-12 20:10:42 -05:00
Annika
260fc6c176
Trivia: Fix question order
2021-09-12 12:16:38 -07:00
Mia
6ac4309b94
Moderation: Make /warn work in PMs
...
Useful functionality. Plus, people were confused why it worked for other punishments and not this. If necessary, Wob also approved of this.
2021-09-11 21:09:01 -05:00
Mia
bd828bcc5b
Usergroups: Allow admins to use commands in private rooms without being roomauth
2021-09-10 12:21:02 -05:00
Kris Johnson
fff385b42f
/hiderank: Fix typo
2021-09-08 17:42:41 -06:00
Kris Johnson
e1e7296b2e
/hiderank: Let higher rank SLs hiderank as SLs
2021-09-08 16:24:32 -06:00
PartMan
25173a4027
/details: Don't show G-Max moves in old gens ( #8463 )
2021-09-08 00:37:18 -06:00
Mia
39d690abe6
Chat: Prevent PMs to unregistered users
...
Suggested - matching behavior with locks as at the moment, a registered user can PM an unregistered user and have no idea why they aren't responding.
2021-09-07 13:25:50 -05:00
Mia
bb468391bb
Spotlights: Don't sort stored spotlight arrays
2021-09-07 09:49:39 -05:00
Mia
3573361e71
Add autoconfirmed bypass to PM limitations
2021-09-06 19:21:51 -05:00
Mia
b5f1d54a96
Chat: Only allow registered users to send PMs
...
Per WAIL. Aeo said it was cool to implement now.
2021-09-06 19:09:27 -05:00
Kris Johnson
11bf7b38a9
Room FAQs: Allow multiline with HTML FAQs
2021-09-06 17:07:09 -06:00
Kris Johnson
8151ffca2a
Room FAQs: Fix source code and repeats display
2021-09-06 17:01:23 -06:00
Annika
055a01ab89
Modlog: Minor fixes from smogtours conversion
2021-09-06 17:54:30 -04:00
Mia
a735d1fa54
Filters: Validate falsy terms
...
Apparently we did not do this before.
2021-09-06 14:08:20 -05:00
Mia
23fc47a471
Helptickets: Add more punishment options to Inappropriate Username tickets
2021-09-05 11:44:39 -05:00
Mia
80ffd2a7b3
Spotlights: Support sorting spotlights by most recent updates
2021-09-02 16:03:25 -05:00
AeonicX7
2e7fd45cd8
/groups: Document Section Leaders ( #8448 )
2021-09-02 13:59:52 -07:00
Mia
d32af4e357
Helptickets: Properly sort ticket logs
2021-09-01 16:36:54 -05:00
Mia
127c790e8d
Helptickets: Properly track duration for text tickets
2021-09-01 13:13:02 -05:00
Mia
9aff753999
Modlog: Allow drivers to use /mls
...
Aeo said this was cool.
2021-09-01 13:02:11 -05:00
Mia
26a8094c7f
Modlog: Fix user searches
2021-09-01 12:52:57 -05:00
Mia
a06b8e62d1
Spotlights: Broadcast removal of dailies to roomstaff
2021-09-01 12:18:24 -05:00
Mia
11ab3d83f8
Spotlights: Automatically refresh pages on spotlight change
2021-09-01 12:16:55 -05:00
Mia
7faacd38a7
Helptickets: Fix some grammar
2021-08-31 21:15:20 -05:00
Mia
679e8bfeb0
Modlog: Make multi-arguments use AND instea of OR
2021-08-31 10:30:28 -05:00
pacmanboss256
23b35498f6
Rename the "mystery" and "authentic" move flags ( #8445 )
...
* mystery -> allyanim
* authentic -> bypasssub
2021-08-30 23:07:50 -07: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
0e521deb02
Hosts: Add a way to view single-IP open proxies
...
Requested by DaWoblefet.
2021-08-27 22:14:31 -05:00
Mia
472f349799
Fix build
2021-08-27 22:04:20 -05:00
Mia
80f92a6954
Hosts: Log invalid IPs to US room
2021-08-25 22:38:38 -05:00
Mia
3ece2f9eef
/evalsql: Fix error handling
2021-08-22 19:47:20 -05:00
Kris Johnson
c364ae6545
Chat: Ban \u3164 from usernames
2021-08-20 19:25:33 -06:00
Annika
299c883ed0
Trivia: Fix 'all' and 'random' fishes
2021-08-20 18:08:04 -07:00
Mia
8cf1035ee2
SQL: Automatically prepare statements unless told otherwise ( #8439 )
2021-08-18 12:51:39 -07:00
Annika
222745920a
Fix CI
2021-08-16 12:03:05 -07:00
Annika
153f223e88
Trivia: Fix type error
2021-08-16 09:20:14 -07:00
Annika
d18993d3c3
Trivia: Attempt to make 'all' fishes work
...
I hate coding on crappy high school Chromebooks
2021-08-16 09:12:01 -07:00
Annika
62a6219395
Trivia database: Improve error checking
2021-08-15 20:07:17 -07:00
Mia
d858936d09
Chatlog: Fix all crashes, restore Chat import
2021-08-15 17:18:01 -05:00
Mia
140e023d05
Fix build
2021-08-15 16:51:15 -05:00
Mia
030b84b041
Chatlog: Fix crash
2021-08-15 16:32:39 -05:00
Mia
b0fec9f5e2
Chat: Don't setup DB until after processes are spawned
2021-08-15 16:24:25 -05:00
Mia
14d13015af
Import Dex in Chat
2021-08-15 15:48:25 -05:00
Mia
c8dc1adb9c
Chat: Actually spawn child processes
...
SQL() to be called in something instantiated directly in the file, or at the top level, or the PM will not work.
2021-08-15 15:42:58 -05:00
Mia
0a2ed42d13
SQL: Support turning SQL.Statements to JSON
2021-08-15 15:17:45 -05:00
Annika
caeb7e524e
Trivia: Don't crash if SQLite is disabled
...
should fix #8435
2021-08-15 11:36:44 -07:00
Annika
bb1ad48290
Modlog: Fix crash when reporting slow searches
2021-08-15 11:18:20 -07:00
Annika
7213dec936
Trivia: Add generic storage interface
2021-08-14 20:35:08 -07:00
Annika
0a33b52ad4
Trivia: Use transactions and split into a directory
2021-08-14 20:35:08 -07:00
Annika
3c78f183d0
Chat: Require chat plugins recursively
2021-08-14 20:35:08 -07:00
Annika
dcb96fa7ed
Trivia: Refactor to use SQLite as a storage backend
2021-08-14 20:35:08 -07:00
Annika
3288a1469e
Chat: Support accessing the chat-plugin database ( #8433 )
2021-08-14 18:25:50 -07:00
Mia
953da16164
Dexsearch: Remove dependence on the Chat global
2021-08-14 20:06:48 -05:00
Mia
77861ceae6
SQL: Use a QueryProcessManager subclass ( #8422 )
2021-08-14 17:45:51 -07:00
Leonard Craft III
903dd2c29d
GitHub: Fix commit ID styling
2021-08-13 14:21:34 -05:00
Mia
8365430016
Fix build
2021-08-13 12:25:20 -05:00
Mia
882c2dda06
Github: Shorten commit messages properly
2021-08-13 12:20:52 -05:00
Mia
23e4c8f534
Chat: Properly privatize the /help of private commands
...
This ensures only users who can use said private commands can view the help (and it's no longer a catch-all 'lock' perm)
2021-08-13 12:17:48 -05:00
Mia
f8c4132381
Github: Add gh short alias
2021-08-13 10:56:25 -05:00
Mia
01e5fc0709
Friends: Use getExact in connection notifications
2021-08-12 23:30:58 -05:00
Annika
33ad1a0a50
Move Modlog.formatArray to Utils
2021-08-12 16:38:14 -07:00
Mia
0bb65e8a18
GitHub: Restore /git alt to /opensource
2021-08-12 15:55:48 -05:00
Mia
d8b8e44f78
Friends: Ensure MAX_FRIENDS is respected
2021-08-12 15:30:56 -05:00
Mia
67d74f2418
Usergroups: Don't allow loading global auth with no userid
2021-08-12 15:24:16 -05:00
Mia
51880db89c
Punishments: Move punishments on room rename
2021-08-12 13:28:10 -05:00
Mia
a54ff93edb
Fix build
2021-08-12 13:18:59 -05:00
Mia
6c7ce161c0
Add a chat plugin for reporting GitHub actions ( #8414 )
2021-08-12 11:12:57 -07:00
Annika
6573a1c47f
/randomdoublesbattle: Display alternate formes
2021-08-12 11:03:41 -07:00
Mia
b9dd78559c
Helptickets: Destroy tickets of previous names on ticketban
...
This fixes a bug where ticketbanning a namelocked user doesn't destroy their old ticket.
2021-08-11 22:44:10 -05:00
Mia
8083af2255
User groups: Don't delete trusted users on restart
...
See the comment at line 347 for details on why this bug happened.
2021-08-09 21:55:48 -05:00
Annika
4a9983fade
Modlog: Fix exact note searches
2021-08-09 14:48:42 -07:00
Annika
d3ca242ff7
Modlog: Fix bug with note searches
2021-08-09 14:42:01 -07:00
Annika
599d7a677a
Modlog: Convert user searches to lowercase
...
I don't know why we do this (since modlog-viewer handles case) but it's something that was unit-tested for in the past so I might as well implement it.
2021-08-09 14:42:01 -07:00
Mia
e9f906e5f0
Chat: Allow src attribs to use single quotes again
2021-08-09 16:09:08 -05:00
Annika
633e061067
Modlog: Remove text logging code
2021-08-09 14:06:14 -07:00
Leonard Craft III
e8f874c18a
Modlog: Fix double spaces when no moderation found ( #8424 )
2021-08-08 17:21:17 -07:00
Leonard Craft III
dd45c2bf4b
Chat: Disallow HTTP images ( #8425 )
2021-08-08 17:18:44 -07:00
Mia
4c9e9fe042
Mafia: Fix crash in /mafia kill
2021-08-08 14:26:00 -05:00
ayiadvance
d3c0b61b5d
Mafia: Allow transitions between death states ( #8418 )
2021-08-05 12:49:56 -07:00
Annika
9762a8fe83
Modlog: Ensure the global room uses global entries
2021-08-04 18:54:49 -07:00
Mia
8229357586
Add some useful aliases to /yearlockname
2021-08-04 15:31:42 -05:00
Mia
953fcde2fa
Friends: Ensure the spectator list only includes battles with your friend as a player
2021-08-04 15:01:52 -05:00
Mia
ce15b9b416
Friends: Limit connection notifications to once every 15 minutes
2021-08-03 17:27:04 -05:00
Annika
521f7c3df6
Modlog viewer: Fix /modnotes bug
...
`/modnotes` should be more like `/punishlog` than `/mlid`
2021-08-02 13:25:48 -07: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
Annika
3ac44020ac
Modlog viewer: Improve help
2021-07-30 20:16:33 -07:00
Annika
237884ec16
Modlog viewer: Add /modnotes command
...
Requested by Ayia
2021-07-30 20:16:33 -07:00
ayiadvance
c30e53f51d
Remove the word "lynch" from Mafia code ( #8412 )
2021-07-30 18:43:07 -07:00
Mia
7639427cff
Friends: Allow locked users to toggle login notifications
2021-07-30 16:36:48 -05:00
Mia
52aeef992f
Helptickets: Notify staff room immediately upon editing notes
2021-07-29 20:43:08 -05:00
Mia
c7bbfd25f9
Friends: Fix spectate list & stop requiring settings to be on
2021-07-29 10:22:01 -05:00
Mia
83e77f9c93
Friends: Write last seen data on disconnect
2021-07-28 14:08:40 -05:00
Mia
de5bc2c419
Helptickets: Restrict modlog searches
2021-07-26 13:37:02 -05:00
Mia
a461c002bc
Helptickets: Fix modlog buttons
2021-07-26 13:35:50 -05:00
Mia
6c19c06c44
Chatlog: Fix /help searchlogs
2021-07-26 11:39:43 -05:00
Annika
cfb33eb53f
Modlog: Allow non-globalstaff to use modlogs
2021-07-25 15:42:46 -07:00
Annika
11caaf392f
Modlog: Improve support for multiple searches
2021-07-25 15:33:42 -07:00
Quinton Lee
b5130dfb57
Commands: Add feedback to /notifyuser ( #8411 )
2021-07-25 15:33:20 -07:00
Annika
577ef86003
Modlog: Fix punishments-only searches
2021-07-24 21:23:41 -07:00
Mia
f3856757a1
Users: default the display of friend login notifs to off
2021-07-23 22:29:06 -05:00
Annika
982c357f88
/evalsql: Fix bug
2021-07-23 15:27:10 -07:00
Annika
3a57576b30
Modlog: Improve logging of slow SQL queries
2021-07-23 14:19:09 -07:00
Annika
bcbe100c41
Modlog: Use SQLite for searches ( #8004 )
2021-07-23 13:47:49 -07:00
Mia
145f1c1740
Fix build
2021-07-22 23:41:29 -05:00
Mia
bdeb9c538a
Support /blockchallenges friends
2021-07-22 21:18:52 -05:00
Mia
6c166115f5
Friends: Strongly type getFriends
2021-07-22 21:17:20 -05:00
Mia
4dbee18695
Friends: Fix login notifications
2021-07-22 16:50:41 -05:00
Mia
a0b1fa1cc5
/crq: Inform the client if the user is friended
...
Necessary for upcoming changes.
2021-07-22 14:56:27 -05:00
Mia
d5bb0945ff
Moderation: Stop forcing /globalban on untrusted users
...
This caused issues with banning offline users, and while I was fixing it I started to question why this was necessary at all.
2021-07-22 02:22:52 -05:00
Mia
c5926158d8
Fix build
2021-07-21 21:58:38 -05:00
Mia
4fdab98c27
Chat: Simplify PM blocking code
2021-07-21 21:46:11 -05:00
Mia
e2108c8657
Fix /blockpms friends
2021-07-21 21:26:50 -05:00
Mia
285d084857
Friends: Update language in settings page
2021-07-21 20:25:42 -05:00
Mia
19af1945a2
Friends: Show public battles on the spectator list regardless of setting
2021-07-21 20:23:05 -05:00
Annika
19c6daf9f2
/evalsql: Make table scroll horizontally
2021-07-21 14:34:25 -07:00
Mia
96e4fe3af6
Friends: Fix /help and UHTML
2021-07-21 16:33:27 -05:00
Mia
879bb9dc18
/evalsql: Destroy DB after use
2021-07-21 15:06:14 -05:00
Mia
9ed2c0036f
Add a command for evaluating SQLite ( #8407 )
2021-07-21 13:05:02 -07:00
Mia
293c65303d
/searchlog: Escape HTML in search
2021-07-21 13:59:44 -05:00
Mia
ddd8205aa0
Chat-monitor: Upload replays for BattleMonitor mutes
2021-07-21 13:28:15 -05:00
Mia
b175d8b000
Friends: Use /migrations/friends for versioning
2021-07-19 20:49:47 -05:00
Mia
c20cee8b1a
Friends: Properly update spectator lists on battle end
2021-07-19 17:16:14 -05:00
Mia
48a71e82a8
Helptickets: Don't allow IP-Appeals from users who have a punishment matching their userid
2021-07-19 16:16:31 -05:00
Mia
f75f99f20a
Helptickets: Remove ISP-Appeals
2021-07-19 16:16:31 -05:00
Mia
ed34cc49b1
Friends: Add a page to spectate the battles of friends
2021-07-19 02:57:08 -05:00
Mia
eb9fd0e8e9
Friends: Use getExact in displaying singular pending requests
2021-07-17 18:33:36 -05:00
Mia
1cfead5d99
Friends: Fix single notifications
2021-07-16 23:53:26 -05:00
Mia
6949344351
Friends: Fix button
2021-07-16 22:50:09 -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
HoeenHero
06228119d0
Auth: Don't accidentally reduce a Section Leader's permissions
2021-07-16 17:56:47 -04:00
Annika
edf9d08a26
Fix blockpms after friends list addition
2021-07-16 17:50:10 -04: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
c9c5e7fbb3
Friends: Display sent list for users blocking requests
2021-07-16 15:31:37 -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
Kris Johnson
40e36c8f38
Make adjustments to Section Leaders ( #8387 )
2021-07-16 12:51:29 -07:00
PartMan
ddec31a24f
Add /notifyuser ( #8394 )
2021-07-16 12:50:45 -07:00
PartMan
29421ee145
Scavengers: Notify users on hint addition ( #8400 )
2021-07-16 12:50:34 -07:00
Mia
cee7d8290c
Youtube: Update TwitchStream display HTML
...
Requested by Felucia.
2021-07-15 23:43:12 -05:00
Mia
c57691e2a6
Fix build pt. 2
2021-07-15 17:59:11 -05:00
Mia
422ca25506
Fix build
2021-07-15 16:44:04 -05:00
Mia
cb72f8e42d
Usergroups: Block autoconfirmed & locked users from bypassing /blockpms ac
2021-07-15 15:19:03 -05:00
Mia
bb19c45448
Helptickets: Add extra state tracking, update messages
2021-07-15 15:16:40 -05:00
Annika
5b5c1a1646
Fix room privacy checks
...
Room.settings.isPrivate can be a boolean, undefined, or a string.
2021-07-15 13:13:55 -07:00
Karthik
8b911cbf12
Remove LC Uber as a valid tier in /ds help text ( #8399 )
2021-07-15 08:15:03 -07:00
Karthik
12abcd02c9
Fix bugs with Sucrase build process ( #8393 )
2021-07-14 09:50:01 -07:00
Annika
52a9378361
Trivia: Support combining multiple categories
2021-07-13 16:01:03 -07:00
Annika
6cc4ebe5d7
Trivia: Fix crash when no questions have been added
2021-07-13 15:43:38 -07:00
Mia
84bc3972a6
Helptickets: Add help for /ht removenote
...
Didn't get staged in my previous commit, unfortunately.
2021-07-11 22:20:58 -05:00
Mia
cdb910be4c
Helptickets: Support adding hover notes to tickets
2021-07-11 18:58:45 -05:00
Annika
c5f881b76f
More fixes for ts-node
2021-07-10 16:33:04 -04:00
PartMan
dfb246d40f
Datasearch: Minor refactor ( #8390 )
...
This fixes/changes a couple things:
a) Long dexsearch queries now reject with an error instead of blindly trimming and giving stuff like ``retur could not be found in any of the search categories``.
b) Maxgen now works properly (before this, the maxgen parameter only worked if it was either the first term or if there were no spaces after the preceding comma).
c) Mod now allows spaces around the equals sign (`mod = SSB`) instead of matching properly and failing on the split.
d) Gen0 no longer works in abilitysearch / itemsearch (not that relevant, but since current behaviour is to block Gen 1/2, seems a bit weird to allow 0).
e) Gen X and Maxgen X now work in abilitysearch / itemsearch (before this, they'd give a blank 'no results found').
f) Gen X and Maxgen X now support multi-digit generations (well in advance before Gen 10 releases, but doesn't hurt to be ready).
2021-07-10 04:19:03 -07:00
Mia
ba2a109311
Support viewing stats on the activity of rooms ( #8345 )
2021-07-09 20:01:15 -07:00
Annika
6ed55b6d1f
IPTools: Add sanity checks ( #8331 )
2021-07-09 19:59:45 -07:00
Annika
c134195915
Use ts-node instead of Sucrase ( #8369 )
2021-07-09 19:59:22 -07:00
Mia
c27cc7ae64
Helptickets: Properly link logs for text tickets in /ht list
2021-07-09 17:14:45 -05:00
Mia
aeac844ed1
Helptickets: Refresh text tickets on claim
2021-07-09 17:00:10 -05:00
TheSupervillain
1ef25735b9
Avatars: Change Duel Disk to Wonder Launcher ( #8380 )
2021-07-07 21:58:24 -07:00
Kris Johnson
598ac409e8
Rename Let's Go! mod to 'gen7letsgo'
2021-07-06 23:07:51 -06:00
Karthik
73eed0d40b
Show "Bypasses Protect" flag in /dt for ally-targeting moves ( #8384 )
2021-07-06 11:59:55 -07:00
FeluciaPS
ad406e37c6
Add htmlfaq to multi-line commands ( #8379 )
2021-07-04 15:57:47 -07:00
Guangcong Luo
a3eec79627
Update documentation for /avatarhelp
2021-07-04 17:05:01 -05:00
Annika
3403cc0d93
/whois: Fix formatting for punished previous names
2021-07-02 19:49:43 -07:00
Mia
5b4e2fe172
Spotlights: Check /setdaily permissions for viewing source instead of /daily
...
https://www.smogon.com/forums/threads/let-drivers-see-sourcecode-for-dailies-when-doing-daily.3687106/#post-8905412
2021-07-02 20:26:10 -05:00
Kris Johnson
876c86d236
Change type declaration formatting for Maps/Sets
2021-06-29 22:47:28 -06:00
Kris Johnson
61b72b687c
Wifi: Modernize code of Giveaway#getSprite
2021-06-29 22:45:53 -06:00
Annika
56754afb42
Punishments: Remove getPunishType functions
...
These are poorly designed as they only return one punishments, but users can now have several.
2021-06-29 17:55:45 -07:00
Mia
7fe886302c
/botmsg: Fix filter check
2021-06-29 00:45:29 -05:00
Mia
5430bf4365
Fix build
...
Unsure why ESLint did not throw this for me.
2021-06-28 21:50:56 -05:00
Mia
d829ceeff4
Chat: Validate command recursion
2021-06-28 21:28:30 -05:00
Kris Johnson
62eaf3f5fa
Room FAQs: Update help
2021-06-28 17:08:16 -06:00
Distrib
e9a5bc9332
/blockchallenges: Support allowing challenges from certain groups ( #8362 )
2021-06-26 17:28:03 -07:00
Mia
44ef659eb5
Helptickets: Better handle RG errors
...
Seriously, fuck ripgrepe error reporting.
2021-06-24 20:46:08 -05:00
Mia
d1b397bc7c
Helptickets: Fix crash
2021-06-24 20:39:11 -05:00
Mia
1176e393f0
Helptickets: Log text tickets ( #8352 )
2021-06-24 14:39:42 -07:00
Mia
59c404c8c4
Chat-monitor: Wrap autolocked messages in code formatting
2021-06-24 14:00:44 -05:00
Mia
3eeccb002e
Punishments: Make /unlock lift /yearlockname
2021-06-23 21:52:19 -05:00
Mia
817986de92
Moderation: Restrict seeing punishments for non-staff trusted users
2021-06-23 16:25:42 -05:00
Mia
558c4e3a4a
Moderation: Only allow non-staff trusted users to see locks and bans on /offlinewhois
...
Approved by Aeo.
2021-06-23 16:05:51 -05:00
Mia
7cad87035f
Roomfaqs: Actually fix crash
2021-06-22 23:20:57 -05:00
Mia
342ce89a38
Roomfaqs: Fix crash
2021-06-22 23:19:57 -05:00
Mia
cb0bb92ad3
Helptickets: Determine opponents from replays for battle harassment tickets
2021-06-22 23:13:25 -05:00
Mia
e02b358da5
Room FAQs: Support HTML ( #8343 )
2021-06-22 18:26:31 -07:00
PartMan
0d7159b12c
/botmsg: Permit ROs too ( #8370 )
...
(Bots become ROs of subroom groupchats if they create them.)
2021-06-22 15:52:54 -07:00
Mia
fe338a84f5
Support locking usernames for a year ( #8371 )
2021-06-22 15:10:16 -07:00
Karthik
5db9d39756
Support default format for randbats commands ( #8367 )
2021-06-22 12:06:02 -07:00
Mia
eedf54a01b
Helptickets: Hide punishment options on ticket close
2021-06-21 23:03:56 -05:00
Mia
45a2f8e125
Helptickets: Add autocompletes to the 'respond to reporter' tab
2021-06-17 11:39:26 -05:00
Mia
b0e839e1e8
Moderation: Only log /rangeban to Staff
2021-06-15 18:16:06 -05:00
Guangcong Luo
5c5b82931d
Don't break invites when renaming rooms
...
Fixes #8361
2021-06-15 12:46:15 -07:00
Mia
ce7bb61dd4
Helptickets: Update some grammar and behavior
2021-06-14 12:20:51 -05:00
Mia
197fe7b6b8
Spotlights: Add a refresh button to the dailies page
...
https://www.smogon.com/forums/threads/add-a-refresh-button-to-the-daily-spotlights-page.3686101/#post-8886206
2021-06-13 13:10:52 -05:00
Mia
e6ebcebc82
Helptickets: Update IP-Appeals to text and add new Appeal responses
2021-06-13 12:14:14 -05:00
Mia
d03ba1c25e
Punishments: Better handle custom punishments
2021-06-11 02:05:44 -05:00
Annika
264831e36a
/randombattles: Display sets for the battle format
2021-06-08 18:17:16 -07:00
Annika
c3d4f80b6e
Punishments: Remove unnecessary check
2021-06-08 14:14:58 -07:00
Annika
9d87d9bac2
Fix Punishments#ipSearch
2021-06-08 14:08:36 -07:00
PartMan
46a858f2be
Movesearch: Add defrost and reflectable aliases ( #8359 )
...
Added Magic Coat/Magic Bounce since those are intuitive terms to use while searching
2021-06-08 11:45:16 -04:00
Mia
6f6b564f7f
Hangman: Don't allow filtered words in guesses
2021-06-07 22:07:09 -05:00
Mia
6dac7566d8
Punishments: Check interactions on room punishments
2021-06-07 12:32:18 -05:00
Distrib
fad49102e0
Helptickets: Change password reset link ( #8358 )
2021-06-06 18:40:18 -07:00
Annika
b3b18465a4
Jeopardy improvements
...
- announce ability to buzz in via chat rather than via a colored square in HTML
- improve validation of integer arguments
- improve grammar
2021-06-03 17:01:13 -07:00
Mia
bdd08acecb
Info: Fix /regdate display for registration time
2021-06-03 13:46:14 -05:00
Mia
b32a397f72
Helptickets: Update punishment UI
2021-06-03 13:40:32 -05:00
Mia
f07855a2d0
Rooms: Fix automodchat
2021-06-03 13:40:31 -05:00
Annika
b712278fd0
Use global punishments instead of fake rooms ( #8350 )
2021-06-02 21:54:33 -07:00
Annika
613bf3243f
Jeopardy: More fixes
2021-06-02 14:42:56 -07:00
Mia
81af92da52
Helptickets: Make the 'punish reporter' button more distinct
2021-06-02 16:37:20 -05:00
Annika
343db5a762
Jeopardy: Fix crash
2021-06-02 13:49:44 -07:00
Mia
01a7132e0e
Fix alt display in /whois
2021-06-02 14:19:16 -05:00
Mia
59377f5a47
Info: Fix /show and /requestshow interaction error ( #7904 )
2021-06-02 11:03:00 -07:00
Mia
e987a01427
Rooms: Partially fix bug in automodchat
...
This should provide a temporary bandaid in that it won't spam rooms, and it will inform us of what the setting is so that we can proceed.
2021-06-01 19:18:52 -05:00
Mia
da8d9f0096
Chat: Don't block login if a plugin crashes during startup
2021-06-01 19:18:51 -05:00
Annika
c71e090153
Username prefixes: Fix bug in loading
2021-06-01 11:49:50 -07:00
Mia
94b5e5e898
Fix trusting users
2021-06-01 10:17:10 -05:00
Mia
ec7dfa203f
Prefix-Manager: Fix crash
2021-06-01 09:59:57 -05:00
Mia
eaacf70494
Punishments: Attempt to reduce RAM use
...
This is one of several possible causes I identified. Worst case, we can restore this later, but it isn't critical at any rate.
2021-06-01 08:53:24 -05:00
Mia
8fa02b73a4
Users: Automatically trust users in Staff room
2021-06-01 08:33:51 -05:00
Mia
607c645316
Punishments: Fix saving of several punishments
2021-06-01 08:28:36 -05:00
Guangcong Luo
a338dad78a
Fix challenge notifications
...
This is a temporary fix; the real fix is a decent margin more
complicated, unfortunately...
2021-05-31 20:05:47 -04:00
Guangcong Luo
7ac0e34183
Prevent getReadmoreBlock from getting too big
...
Fixes #8346
2021-05-31 20:05:47 -04:00
Annika
5eb01c8abb
Further improvements to the Jeopardy plugin
2021-05-31 15:00:51 -07:00
Mia
c237e18672
Fix previous names display in /whois
2021-05-31 14:25:26 -05:00
Mia
3d1c5b24f2
Fix room close page handling
2021-05-31 14:14:53 -05:00
Mia
6562a14385
Fix punishment reason displays in /whois
2021-05-31 13:16:31 -05:00
Mia
09e298f15b
Punishments: Support giving multiple punishments to one user ( #8265 )
2021-05-31 11:06:01 -07:00
Mia
dc6a7ea2e3
Chat: Properly load handler hooks
2021-05-31 11:27:04 -05:00
Mia
62a8471d80
Chat: Properly handle roomClose hooks
2021-05-31 11:27:04 -05:00
Annika
836a7a2a10
Improvements to the Jeopardy plugin
...
Requested by Trivia staff and approved by me
2021-05-30 20:55:22 -07:00
Mia
5f4671bb79
Fix build
2021-05-30 22:48:52 -05:00
Mia
e0ca414a89
Helptickets: Fix proof in PM Harassment tickets
2021-05-30 22:19:02 -05:00
fart
839075a166
Allow alternative parameters for dexsearches ( #7847 )
2021-05-30 16:13:39 -07:00
Annika
f0d142e621
Chat monitor: Fix bug in loading from JSON
2021-05-30 15:55:54 -07:00
Annika
652bbb1064
Jeopardy: Refactor to use Chat.ErrorMessage ( #8342 )
2021-05-30 02:35:39 -07:00
Mia
9000eebbef
Chatlog: Fix date validation
2021-05-30 01:43:17 -05:00
Mia
69990a6ddc
Chat-monitor: Fix crash
2021-05-30 01:40:14 -05:00
Mia
5f9072b2ba
Chat-monitor: Centralize functions and migrate to JSON ( #8328 )
2021-05-29 22:11:32 -07:00
Mia
487fc5e3fa
Fix comment
2021-05-29 21:02:16 -05:00
Mia
8ba56d3d03
Chatlog: Fix crash in date validation
2021-05-29 20:56:07 -05:00
Mia
d9109e64bc
Hangman: Allow creators to play in random hangman games
2021-05-29 20:11:48 -05:00
Annika
4e5939ecd6
Jeopardy: Improve message displayed on timeout
2021-05-29 17:55:36 -07:00
Annika
602c6af0af
GlobalAuth: Handle multiple usergroups.csv entries
...
I don't know why users get two sometimes (I think it's an old bug that got fixed?) but this handles it better.
2021-05-29 16:02:55 -07:00
Annika
8714bf36ce
/randbats: Use a <details> dropdown
2021-05-29 13:23:31 -07:00
Mia
fb1b5582cc
Helptickets: remove extra replay link HTML
2021-05-29 11:14:36 -05:00
Mia
7ae21cebf8
Chat: Support exporting custom handlers from plugins ( #8319 )
2021-05-28 23:13:01 -07:00
Mia
bf648598ec
Add modlog stats page ( #8339 )
2021-05-28 12:12:50 -07:00
Mia
a9c200baf1
Helptickets: Properly handle ticketbans in text tickets
2021-05-28 09:45:42 -05:00
Mia
3c6c560e36
Helptickets: Attempt to determine a reported user in battle harassment tickets
2021-05-28 09:30:44 -05:00
Mia
c29a9a1eb1
Moderation: Explicitly note if punishments are done with no user object
2021-05-27 21:29:59 -05:00
Annika
fd9b922e86
/sectionleader: Get user object exactly
2021-05-27 11:21:35 -07:00
Mia
248ce8b3b3
Helptickets: Display punishment list for reporters and add more punishments
2021-05-27 08:25:13 -05:00
Annika
83df279b1d
Add a chat plugin to manage username prefixes ( #8338 )
2021-05-26 14:39:13 -07:00
Guangcong Luo
74211859c9
Update to TypeScript 4.3
...
Changes relevant to our codebase:
- TypeScript now knows that `typeof id === 'string'`! A bunch of casts
on `User | ID` or `Room | RoomID` are no longer necessary!!!
- `override` will protect against certain typoes, and we'll adopt it
(and `--noImplicitOverride`) as soon as sucrase comes in
- `declare` is now required for properties we want to narrow the type
of without directly overwriting - a good thing to use going forward,
but very annoying to fix all our old code for
2021-05-26 14:16:54 -07:00
Distrib
0596c9ba6e
Datasearch: Increase in the number of pokemon generated in /randpoke ( #8317 )
2021-05-26 12:38:20 -07:00
Mia
2fe8cb44bb
Helptickets: Support fetching replay logs
2021-05-26 13:23:57 -05:00
Annika
0bd31705ab
Improve handling of legacy forced-public prefixes
2021-05-26 12:44:44 -04:00
Mia
817fe96134
Usersearch: Use tables in the page
2021-05-25 20:02:11 -05:00
Mia
5523cc5f96
Helptickets: Fix punishment proofs
2021-05-25 18:37:14 -05:00
Mia
66261e99d2
Admin: Support /eval in PMs ( #8249 )
2021-05-25 16:28:09 -07:00