Mia
677ed08d16
Fix crash
2022-01-04 20:48:33 -06:00
Mia
451afe26e0
Fix checks
...
Also fixes this functionality as a whole.
2022-01-04 20:41:29 -06:00
Mia
a5de947b8a
Helptickets: Support viewing responses for a specific ticket type
...
Requested since the clutter on the unfiltered command gets to be a lot.
2022-01-04 16:27:44 -06:00
Mia
7037bdfff5
Chat: Add a hook for ladder searches
2022-01-04 16:15:03 -06:00
Mia
4ddf3e1961
Revert accidental retyping
2022-01-04 15:02:35 -06:00
Mia
2f0541c79f
Chat: Fix more handler types
2022-01-04 15:00:52 -06:00
Mia
6429937906
Admin: Make /bash broadcastable
...
Convenience.
2022-01-04 14:30:20 -06:00
Mia
fc1063227e
Chat: Update some hook types
2022-01-04 14:30:13 -06:00
Mia
27d71e9011
Core: Make /help work on command aliases
...
At the moment, if you do /help alias, it returns not found (even if the base command has help).
2022-01-04 09:29:31 -06:00
Mia
50d3e4a59e
Abuse-monitor: Fix setting scores to maximum
2022-01-02 19:13:59 -06:00
Mia
ae34349ece
Abuse-monitor: Give a more detailed stat breakdown
2022-01-02 18:50:22 -06:00
Annika
686515f951
/helpticket removeresponse: Fix help
2021-12-30 17:51:33 -08:00
Mia
51ce8737f8
Helptickets: Support adding custom response buttons to text tickets ( #8579 )
...
Requested by staff.
2021-12-30 17:42:39 -08:00
Mia
0be9ac7ec6
Abuse-monitor: Validate score inputs properlyn
2021-12-30 17:11:35 -06:00
Mia
40f59a9e71
Abuse-monitor: Fix setting scores to maximum
2021-12-30 14:53:21 -06:00
Mia
57911c5ed8
Abuse-monitor: Properly redisplay to staff after deleting expired tickets
2021-12-30 14:52:48 -06:00
FeluciaPS
cf572aff45
Extend /repeat multiline pattern for all commands ( #8593 )
2021-12-29 21:18:57 -08:00
FeluciaPS
9ab15060cf
Use |uhtml| for repeats to prevent flooding ( #8594 )
2021-12-29 21:17:52 -08:00
Mia
f50d634660
Wifi: Fix stored giveaway start buttons
2021-12-27 13:46:49 -06:00
Mia
0db8fc33a7
Wifi: Allow staff to store giveaways for other users
2021-12-27 13:19:37 -06:00
Mia
6e03fa3042
Wifi: Fix deleting stored giveaways
2021-12-26 13:37:58 -06:00
Mia
8267564fd8
Abuse-monitor: Whitelist forcerenaming as a nojoinpunish command
...
Requested by staff.
2021-12-25 19:23:59 -06:00
Mia
0a0bbe795c
Abuse-monitor: Fix resolving tickets
2021-12-23 19:44:19 -06:00
Mia
d62abda98c
Abuse-monitor: Fix resolving tickets
2021-12-23 19:24:05 -06:00
Mia
cee8f5a12c
Abuse-monitor: Support tracking stats ( #8575 )
2021-12-23 15:56:25 -08:00
Mia
8047dcb5d3
Abuse-monitor: Don't default to staff room when using /am nojoinpunish
...
Also bumps the expire timer for the room on 'ticket' claim, so that it doesn't expire in the middle of review.
2021-12-22 11:12:58 -06:00
Mia
fa4710877a
Wifi: Support claiming submitted giveaways ( #8578 )
...
* Wifi: Support claiming submitted giveaways
Requested by Wi-Fi staff.
Those who review before Kris, please just approve - he said he wanted to be able to review. If you review after Kris, merge away.
* Apply suggestions from code review
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2021-12-21 23:34:08 -07:00
Mia
f5754ac8fc
Revert previous commit
...
Meant to PR. Tabbed accidentally.
2021-12-20 11:03:26 -06:00
Mia
d1a5780aec
Helptickets: Support adding custom response buttons to text tickets
...
Requested by staff.
2021-12-20 11:01:59 -06:00
Mia
72691acb44
Abuse-monitor: Run on FFA
2021-12-20 09:45:11 -06:00
Mia
bf26d1deb4
Wifi: Fix giveaway deletions from pages
2021-12-19 17:56:39 -06:00
Mia
84f1ad3985
Wifi: Adjust giver name formatting on giveaway displays
...
Requested.
2021-12-19 17:46:46 -06:00
Mia
74e1ca63f0
Wifi: Limit the page tabs non-staff can see ( #8577 )
2021-12-19 15:08:02 -08:00
Mia
8222c0cf18
Wifi: Fix bug with multiple guesses
...
Without the parenthesis, the nullish coalescing returned 1 if they had one guess, which is truthy, and so it blocked more guesses.
2021-12-19 10:24:50 -06:00
Mia
75527e3d27
Wifi: Only send one ping for question giveaways
...
Requested by WiFi staff.
2021-12-19 10:07:07 -06:00
Mia
82fae98024
Wifi: Fix lottery giveaway ending logs
...
[17:03:19] *Swiffix: prize is showing as "object object"
2021-12-18 17:05:06 -06:00
Mia
b9bca1252e
Chat: Allow unregistered users to PM themselves
...
Oversight.
2021-12-18 16:15:59 -06:00
Annika
d83ce39382
/setodds: Fix Hidden Power
2021-12-18 00:19:09 -08:00
Mia
79fddd6162
Abuse-monitor: Display unclaimed 'ticket' count
2021-12-16 14:41:36 -06:00
Mia
cfb6d4d274
Abuse-monitor: Skip certain message prefixes in display
...
Requested to reduce clutter.
2021-12-15 20:56:07 -06:00
Mia
e7d57baa1e
Abuse-monitor: Don't log to staff room
2021-12-15 20:36:38 -06:00
Guangcong Luo
a1b7a49788
Accept strings in Monitor.crashlog
2021-12-15 20:14:08 -06:00
Mia
e4dfc45dcd
Abuse-monitor: Notify staff less often
2021-12-15 20:07:00 -06:00
Mia
e08789002c
Abuse-monitor: Notify staff room of active flagged rooms
...
Modeled after help tickets.
2021-12-15 19:36:12 -06:00
Kris Johnson
de9c894990
Update /calc
2021-12-15 17:45:18 -07:00
Mia
0ab796e632
Abuse-monitor: Auto-update when rooms are destroyed
2021-12-15 12:07:15 -06:00
Mia
51f782a21e
Abuse-monitor: Fix bug with unclaiming
...
Other users leaving (who are not the ones who claimed it) should not be marking it as unclaimed.
2021-12-15 08:01:14 -06:00
Mia
7a8ca0f8a5
Abuse-monitor: Give more explicit error messages on /am view
2021-12-14 20:29:55 -06:00
Karthik
d37b223cf3
Avatars: Fix setting avatars on side servers ( #8570 )
2021-12-14 18:27:53 -08:00
Guangcong Luo
8642abcd12
Avatar manager ( #8563 )
2021-12-14 10:21:02 -08:00
Mia
47fc69351b
Abuse-monitor: Properly handle dark mode
2021-12-14 09:06:39 -06:00
Mia
3fcdc4abe4
Abuse-monitor: Make the review page colourblind-friendly
...
This highlights names the same way helptickets does, using borrowed code (ideally, we could import it, but importing helptickets imports a series of other plugins, like YouTube, that basically all crash the child process. Making them not do this is uglier than just copying over the code - plus, then the code is more easily modified for future uses.
2021-12-14 09:02:18 -06:00
Mia
72abb6a0f2
/help: Move /report to the front of the commands list
...
Requested to make it more visible.
2021-12-13 21:43:34 -06:00
Mia
273c69bae9
Abuse-monitor: Clarify 'ticket' list buttons
2021-12-13 19:11:25 -06:00
Mia
b8bae6ae75
Abuse-monitor: Adjust permissions
2021-12-13 19:01:37 -06:00
Mia
3971742d97
GitHub: Handle review request removals
2021-12-13 10:51:18 -06:00
Annika
66cc209240
Trivia: Fix crash in merging leaderboard entries
2021-12-12 12:03:07 -08:00
Annika
6c8db6446f
Trivia: Show up to 500 users in /trivia rank
2021-12-11 20:47:56 -08:00
Annika
01864d0277
Trivia: Fix leaderboard enum
2021-12-11 20:32:01 -08:00
Annika
57f19246a8
Trivia: Support a cycle-specific leaderboard
2021-12-11 18:13:20 -08:00
Annika
b3839dec66
/evalsql: Properly log to <<upperstaff>>
...
Previously it just logged `[object Object]`.
2021-12-10 19:21:15 -08:00
Annika
63e7d70e17
Trivia: Fix question order in officials
2021-12-10 19:21:15 -08:00
Mia
4ad7ac15e0
Abuse-monitor: Request more attributes by default
2021-12-10 20:23:27 -06:00
Mia
33c40be879
Abuse-monitor: Make /am test more verbose
...
Useful for me so I don't have to go into a REPL or /eval access Chat.plugins to see raw scores.
2021-12-10 20:18:25 -06:00
Mia
3638223967
Modlog: Error out if invalid roomids are provided without a prefix
...
This fixes the issue where roomstaff would use /modlog user and get access denied (since it assumes they were trying to search a room they can't access). Now, if they aren't gstaff, it searches to see if the room exists and allows it if so, sends them the help otherwise. It doesn't do this for gstaff since gstaff can read modlogs of deleted rooms.
2021-12-10 15:27:03 -06:00
Mia
7863aa325e
Abuse-monitor: Improve UX
...
Modlog buttons are added for each of the users, and the main list page will now refocus upon resolving 'tickets'.
2021-12-10 11:34:38 -06:00
Distrib
6c49eb77f3
Moderation: Enable /htmldeclare for Room Owners ( #8562 )
...
PR for https://www.smogon.com/forums/threads/enable-htmldeclare-for-room-owners.3694127/
2021-12-09 13:07:06 -08:00
Mia
7b22cf96ba
Roomfaqs: Escape newlines out of HTML faqs
2021-12-09 10:44:29 -06:00
Mia
71d5f4c790
Punishments: Don't load invalid/empty IPs
2021-12-09 10:27:34 -06:00
Mia
4bf497293b
Chat: Always respect bypassRoomCheck
2021-12-08 17:41:57 -06:00
Mia
35193be6d1
Abuse-monitor: Don't split reasons in /am nojoinpunish
2021-12-08 13:04:52 -06:00
Mia
27ee2cf3fd
Restore abuse-monitor ( #8557 )
2021-12-08 12:49:03 -06:00
Guangcong Luo
343fb8d356
Remove abuse-monitor
...
Apparently it was merged with no throttle.
2021-12-06 14:35:04 -05:00
Guangcong Luo
fb8a370cfb
Fix incorrect command in /viewfaq
...
Fixes #8555
2021-12-06 12:28:21 -05:00
Annika
cc54cf88e0
/randombattlesetprobabilities: Fix crash
2021-12-05 17:01:28 -08:00
Mia
ebf288964b
Abuse-monitor: Add hyperlink to battles to the view page
2021-12-05 13:31:50 -06:00
Mia
1a37dc0d95
Abuse-monitor: Improve UX
...
This adjusts display of roomids in 'ticket' pages, as well as adds an explicit command to join / punish, to remove the hack with sending several commands. Also closes the ticket page on resolve.
2021-12-05 12:29:54 -06:00
Mia
07d8bb0530
Abuse-monitor: Don't show battle passwords in page titles
2021-12-04 21:07:47 -06:00
Annika
99b60ddaf4
Fix interpolation when translations aren't loaded
2021-12-04 18:10:38 -08:00
Annika
da01092857
Fix grammar
2021-12-04 18:10:37 -08:00
Mia
6289cce4ea
Abuse-monitor: Ignore request timeout errors
...
Error on our end, not theirs. Shouldn't keep constantly crashing. No notif is needed because slow requests that hit this timeout will log to slowlog.
2021-12-04 15:01:34 -06:00
Mia
901a603fdf
Abuse-monitor: Run chatfilter dead last
2021-12-04 14:59:35 -06:00
Mia
e02c849d17
Abuse-monitor: Overhaul display
2021-12-04 14:57:21 -06:00
Guangcong Luo
84094b61ee
Fix definition for <username> in JSX
...
(Apparently `children` is defined elsewhere...)
2021-12-03 18:29:40 -05:00
Mia
430ccb3a18
Abuse-monitor: Allow for setting a 0 minimum score
2021-12-03 16:55:16 -06:00
Mia
43ec4d2671
Abuse-monitor: Sort user displays by number of chat messages
2021-12-03 16:36:00 -06:00
Mia
4778931a5d
Abuse-monitor: Fix chat display
2021-12-03 16:32:58 -06:00
Mia
d9784d0ee8
Abuse-monitor: Don't convert categories into IDs
2021-12-03 16:20:48 -06:00
Mia
8d24dc2eac
Abuse-Monitor: Increase request timeout
2021-12-03 11:24:10 -06:00
Mia
dd0c0176aa
Abuse-Monitor: Ignore commands
2021-12-03 10:54:01 -06:00
Mia
fbeb719fea
Abuse-Monitor: Decrease cache size
2021-12-03 09:13:16 -06:00
Mia
3a5e901444
Abuse-Monitor: Fix grammatical error
2021-12-03 09:03:19 -06:00
Mia
ec7938612b
Abuse-Monitor: Run filter last
...
This is to avoid interference with other chatfilters.
2021-12-03 09:02:24 -06:00
Mia
956bd57e60
Abuse-Monitor: Better label some displays
2021-12-03 08:31:30 -06:00
Mia
e42cbc7505
Abuse-Monitor: Fix /help
2021-12-03 08:28:16 -06:00
Mia
fb61bcd17b
Abuse-Monitor: Fix /am toggle messages
2021-12-03 08:27:36 -06:00
Mia
9318a83e9a
Abuse-Monitor: Use parseFloat() in /am editmin
2021-12-03 08:23:37 -06:00
Mia
ab62e1af43
Add a plugin to use Perspective for monitoring battles ( #8541 )
2021-12-03 07:52:26 -06:00
FeluciaPS
1449cd0a76
Modlog: Extend punishment types with missing entries ( #8524 )
2021-12-02 09:29:23 -08: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
651dcb1bd2
Helptickets: Adjust namecolors to be dark-mode friendly
2021-12-02 08:03:19 -06:00
Kris Johnson
4fb21c9289
Fix bugs with BDSP CAP
2021-12-02 00:06:36 -07:00
Mia
906a037dcd
Helptickets: Make reported usernames colorblind-friendly
2021-11-30 20:17:42 -06:00
Mia
a19968ff04
Tickets: Move IP-Appeal data collection to run on submit
2021-11-30 15:06:26 -06:00
Mia
1ad100926e
Helptickets: Fix 'punish opponent' display
2021-11-30 14:54:49 -06:00
Annika
45fd60d864
Random Battle: Allow calculating set probabilities
...
Requested by randbats staff.
2021-11-29 19:34:44 -08:00
AeonicX7
dc463cf1bd
Allow global warns in adminlog ( #8544 )
2021-11-29 11:35:23 -08:00
Annika
ced5e7fc81
Fixes for private code
2021-11-26 16:16:48 -08:00
pyuk-bot
5f60e3d247
Use the room's default dex for /ds and /ms ( #8543 )
2021-11-25 23:20:32 -08:00
Mia
c92d334ebd
Chat: Ensure database has at least one child process
2021-11-25 16:55:32 -06:00
Annika
93661e1d53
/randbats: Fully support BDSP
2021-11-23 20:22:54 -08:00
Mia
52d826f8f1
Searchlog: Fix "View more" buttons
...
These had the old argument syntax.
2021-11-20 06:14:53 -06:00
Mia
4c9ccd29ca
Handle Typescript 4.5.2
2021-11-18 19:11:21 -06:00
Kris Johnson
ff4b7bed31
Add BDSP data and formats ( #8530 )
2021-11-18 18:00:10 -06:00
Mia
b2c15106f3
Helptickets: Ignore report targets if a user reports themselves
2021-11-16 12:56:05 -06:00
Mia
fc1fe5f21b
Chat: Remove Chat.html polyfill
...
Chat.html is now used for Preact.
2021-11-16 09:55:35 -06:00
Mia
784acab74c
Helptickets: Fix extra escaping in /ht logs
2021-11-16 08:40:32 -06:00
Guangcong Luo
afeda0ccec
Sample-teams: Suppress crashes from outdated rooms
2021-11-15 19:12:01 -05:00
Mia
8020862dcb
Moderation: Fix /noforcerename
...
Previously, since target was whitelisted, it counted the reason as part of the whitelisted name.
2021-11-15 11:53:37 -06:00
Mia
7c4a6a1917
Helptickets: Improve detection of reported opponents in battle tickets
2021-11-14 17:58:49 -06:00
Mia
19fe946945
Moderation: Support warning users with no user object
...
We already had support for this, it just had an unnecessary gate on 'is there a user object?'.
2021-11-13 16:37:07 -06:00
Guangcong Luo
48df7f19bf
Refactor re-saving replays at battle end
...
Previously, if saving a replay failed the first time around, it's
not re-saved at battle end. Commit 028abd6377 fixes that.
This commit just rewrites the implementation to be much less redundant.
2021-11-13 13:54:05 -05:00
Guangcong Luo
2f0b1bec59
Log crashes when GitHub hook fails
...
(Also rewrite the loader to be less redundant.)
2021-11-13 13:45:05 -05:00
Mia
530138b9e5
GitHub: Respect PS loglevel unless set explicitly not to
2021-11-13 01:01:51 -06:00
Mia
f608496938
Support JSX in HTML pages ( #8523 )
...
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2021-11-12 22:06:26 -08:00
Guangcong Luo
be0cee5a33
Refactor getIdentity not to take roomids ( #8528 )
2021-11-12 22:05:59 -08:00
Mia
46bc0f312c
Modlog-viewer: Remove references to 'any'
2021-11-12 23:20:47 -06:00
Mia
028abd6377
Helptickets: Ensure reported battles have replays saved upon ending
...
This is relevant since future staff may want the full log, and we don't want cases where only half the replay is saved.
2021-11-12 20:31:24 -06:00
Mia
5dff5de194
Helptickets: Properly ban a ticketbanned user's previousIDs
2021-11-12 11:27:10 -06:00
Mia
8aadf432ab
Usersearch: Don't make a table if no online users are found
2021-11-12 08:13:46 -06:00
Mia
48aaec0cd3
Roomfaqs: Allow people with the addfaq permission to view sources
...
the 'rfaq' perm is inconsistent: /addfaq perms make more sense and are what we check for the source in the page.
2021-11-11 10:51:16 -06:00
Kris Johnson
ffa50344b2
Wi-Fi: Fix index validation for /ga delete
2021-11-10 20:31:23 -07:00
Mia
09be6e8439
Moderation: Add the alias weekroomban to /roomban
...
Requested for clarity.
2021-11-10 09:27:46 -06:00
Guangcong Luo
a2c18b9a93
Improve date validation in chatlog
2021-11-10 00:25:54 -05:00
Guangcong Luo
4efd6a2232
Fix month validation in chatlog
2021-11-09 23:59:47 -05:00
Mia
bc5cf934aa
Fix build
2021-11-08 14:01:57 -06:00
Mia
c2023bf75b
Chatlog: Make /gbc broadcastable in Staff room
2021-11-08 12:00:06 -06:00
Mia
7521ac50e0
Helptickets: Remove language display from tickets
2021-11-08 11:54:37 -06:00
Mia
4540ff0627
Wifi: Fix crash in lottery drawing
...
Previously, the room was destroyed before adding the message that it was forcibly ended. destroying nulls the room, though, so this would always crash.
2021-11-07 20:17:44 -06:00
Mia
86743690e4
Modlog-viewer: Remove note about deprecated unspecified param handling
2021-11-07 12:06:20 -06:00
Mia
3df46681c1
Fix using /ml with no arguments
2021-11-07 12:01:46 -06:00
Mia
c5726289c1
Fix HTML
2021-11-06 23:37:47 -05:00
Mia
a1c6efb59f
/gbc: implement suggestions
2021-11-06 23:36:15 -05:00
Mia
923f1f1d2b
/gbc: Default to current room if none given
2021-11-06 23:17:28 -05:00
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
182ed60221
CRQ: Default to undefined on some userdetails data to save bandwidth
...
Per https://github.com/smogon/pokemon-showdown/pull/8512/files#r743947584
2021-11-05 16:38:10 -05: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
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