Marty-D
4680740f4f
Add Brumirage avatars
2022-03-02 15:34:54 -05:00
Mia
e3b9265d1c
Helptickets: Clarify Artemis rating messages
2022-03-02 09:03:49 -06:00
Annika
6e91e22740
Improve typing and fix build
2022-02-28 19:49:08 -08:00
Kalest3
c517ab57d3
UNO: Fix the disqualification system ( #8614 )
2022-02-28 17:27:16 -08:00
Mia
d9a6a85d5d
Auto-helptickets: Refactor pmharassment/battleharassment reasons
...
Discussed with Teclis. This provides just the URL for battleharassment / identity of the reporter for pmharassment as the reason, so that users can see themselves what they did. If they still have questions after that, they would end up talking to staff either way, so it doesn't hurt to do this, and provides a tradeoff of more transparency and less confusion.
2022-02-28 15:03:21 -06:00
Mia
836511b0e7
Auto-helptickets: Use |c| for log messages
2022-02-28 11:58:48 -06:00
Mia
143bfd32b2
Auto-helptickets: Ignore commands
...
This ignores both \!commands, and special command prefixes in messages like /log, /raw, etc.
2022-02-28 11:58:20 -06:00
Mia
5a61fd790b
Helptickets: Mandate rating recommendations before closing tickets
2022-02-27 15:25:38 -06:00
Mia
4963b15b50
Auto-helptickets: Show a record of all flags
2022-02-24 15:05:46 -06:00
Mia
c855b3b62f
Helptickets: Log Artemis recommendations to ticket logs
2022-02-24 14:52:19 -06:00
Mia
fc643f53f0
Auto-helptickets: Add a command to test messages
2022-02-24 14:48:24 -06:00
Mia
4cbbdf94d7
Fix typo
2022-02-24 13:46:01 -06:00
Mia
50fc2beaab
Auto-helptickets: Fix single message classification
2022-02-24 13:44:26 -06:00
Mia
1e157a01a9
Wifi: Support whitelisting users to make giveaways
...
Requested by Wi-Fi staff.
2022-02-24 12:30:40 -06:00
Mia
3a20d475cf
Auto-helptickets: Display links to inaccurate tickets on stats page
2022-02-24 07:48:03 -06:00
Kris Johnson
a0260b98e6
Userprefixes: Fix forcing battles to be public
2022-02-24 01:23:27 -07:00
Mia
c9f034784b
Helptickets: Support automatic punishments with Artemis ( #8669 )
2022-02-23 18:33:49 -08:00
Alexander B
03b7e40595
Fix /modjoin restrictions in battles ( #8674 )
2022-02-23 18:06:06 -08:00
Mia
481279db56
Fix conversion of Config.forcedprefixes
...
I had a misunderstanding here when looking at the actual value of the Config on main. The real issue is that the config isn't always converted.
2022-02-23 10:24:01 -06:00
Mia
1ae2ee8154
Fix crash in prefix manager
...
Config.forcedprefixes is no longer an array.
2022-02-23 10:16:44 -06:00
Kris Johnson
d5b5431cbf
Fix build
2022-02-23 01:55:30 -07:00
Annika
a799fcd9ce
Fix translations
2022-02-22 20:59:53 -05:00
Kris Johnson
758356a55d
Add a timeout for userprefixes ( #8667 )
2022-02-22 17:44:48 -08:00
Kris Johnson
30c895ad0f
Tournaments: Add /recenttours ( #8672 )
2022-02-22 17:43:56 -08:00
Annika
0ad8a0df80
Make shared IPs only avoid punishments on that IP
2022-02-21 16:03:15 -08:00
Mia
0c876ef163
Friends: Only spawn child process in main process
...
Same issue as 3b827f5307
2022-02-17 15:31:24 -06:00
Mia
3b827f5307
Artemis: Ensure processes are not spawned inside other child processes
...
PM.isParentProcess checks process.mainModule, so if a file with a child process is required inside of another child process, it will end up spawning more processes inside of the original child process. This is not good.
2022-02-17 14:25:37 -06:00
Mia
5afe9376eb
Artemis: Suppress some improper errors
...
The `downloading` message informing the user of the progress of the model install is printed to stderr for some reason. So, this should not be throwing.
2022-02-16 19:35:20 -06:00
Annika
96b365503e
Artemis: Improve install script
2022-02-15 20:44:29 -05:00
Kris Johnson
358080491a
Usersearch: Convert to TSX ( #8641 )
2022-02-15 17:19:17 -08:00
Mia
746c0742be
Support classifying message toxicity locally ( #8662 )
2022-02-15 17:18:50 -08:00
Mia
e0ca76c146
Abuse-monitor: Add month buttons to stats page
2022-02-15 08:34:43 -06:00
Mia
04d359da98
Chatlog: Make /gbc broadcastable everywhere
2022-02-13 16:24:17 -06:00
Mia
0159606e33
Modlog-viewer: Fix link in /mls
2022-02-12 15:11:47 -06:00
Mia
8e437a6f96
Fix typo
2022-02-09 13:30:05 -06:00
Mia
440ac6f3f0
Info: Include permanent punishments on /punishments
...
Requested by staff.
2022-02-09 12:08:11 -06:00
Mia
ef33618e03
Modlog-viewer: Add a table for punishments sorted by IP
...
Requested by staff.
2022-02-09 11:01:50 -06:00
Mia
b1c75c1a1b
Helptickets: Default to current ticket for /ht close
2022-02-08 20:42:55 -06:00
Mia
55413847d0
Roomsettings: Display high traffic correctly in /hightraffic
2022-02-08 20:36:34 -06:00
Mia
beeff7bdff
Add an option to set a vote cap on polls
...
https://www.smogon.com/forums/threads/option-for-polls-to-automatically-end-after-a-certain-number-of-total-votes-has-been-reached.3697348/#post-9118013
2022-02-08 09:19:11 -06:00
Hisuian Zoroark
fe683a8510
Editbattle: Fix HP editing ( #8646 )
2022-02-07 16:01:02 -07:00
Kris Johnson
49fa3edda3
Quotes: Make /viewquote broadcastable
2022-02-06 17:45:26 -07:00
Annika
640cdcab21
Fix bug in /trivia edit
2022-02-04 23:09:42 -05:00
Annika
eef1d718e5
Trivia: Don't select First as a random mode
2022-02-04 18:07:44 -08:00
Kris Johnson
f5983d20a5
Datasearch: Fix searching for fully evolved Pokemon
2022-02-01 18:28:18 -07:00
Leonard Craft III
9e3718b375
Update VGC/BSS to Series 12 ( #8648 )
2022-02-01 12:26:30 -07:00
pyuk-bot
32892af464
Fix National Dex Eviolite checks ( #8650 )
2022-02-01 13:51:04 -05:00
Leonard Craft III
24bfc49064
Prevent setting timer after a game has ended ( #8640 )
2022-01-30 14:51:42 -06:00
Mia
bbb82ffcf3
Abuse-monitor: Sort recommendations by user ( #8643 )
2022-01-28 18:20:47 -08:00
Mia
c277791ece
Info: Trim comments on /show
...
checkChat appears to trim comments, so atm any comment with spaces around it is treated like it's filtered.
2022-01-26 16:16:41 -06:00
Mia
4acf6f6d4a
Info: Filter comments in /show
2022-01-26 10:47:25 -06:00
FeluciaPS
eac92c72b8
Allow bots to receive private mod actions ( #8628 )
2022-01-25 13:11:46 -08:00
Mia
1fdcedca4f
Wifi: Restore accidentally removed linebreak
2022-01-24 16:24:42 -06:00
Mia
8f07ae28e1
Wifi: Restore old BDSP giveaway color
...
Requested.
2022-01-24 16:22:17 -06:00
Mia
951e23ebd3
Abuse-monitor: Add a UI for adding punishments
2022-01-24 15:13:36 -06:00
Mia
e5a0c2e665
Abuse-monitor: Add weeklock to available punishments
2022-01-24 10:12:36 -06:00
Mia
b413b6bc4f
Abuse-monitor: Refactor staffNotified to an array
2022-01-23 20:50:13 -06:00
Mia
3163072983
Fix checks
2022-01-23 20:02:46 -06:00
Mia
ca9797fd7e
Abuse-monitor: Fix bug with MAXIMUM thresholds
2022-01-23 19:59:26 -06:00
Mia
5d164453ea
Abuse-monitor: Support recommending punishments ( #8588 )
2022-01-23 17:56:47 -08:00
Mia
cfeb1303bb
Chat: Properly typecheck Chat.runHandlers arguments ( #8612 )
2022-01-23 17:55:19 -08:00
Kris Johnson
f61b4a1ad4
Wi-Fi: Convert to TSX ( #8620 )
2022-01-23 17:51:18 -08:00
Mia
8f21e24993
Avatars: Add /moveavatars ( #8631 )
2022-01-23 14:33:26 -08:00
Mia
bd256ea5f9
Abuse-monitor: Fix some leftover html
2022-01-21 20:12:29 -06:00
Mia
b4e41ab8fb
Abuse-monitor: Display stats without dead tickets
...
Gets in the way.
2022-01-21 17:17:37 -06:00
Mia
8bef5bee33
Abuse-monitor: Track dead tickets
2022-01-20 13:11:51 -06:00
Mia
62b3ae797d
Revert mishap
...
Git merge got botched.
2022-01-19 20:40:15 -06:00
Mia
4a85f0fb0f
Helptickets: Don't activate tickets for 1-2 char messages
2022-01-19 20:38:03 -06:00
Mia
e9fd76b40a
Chatlog: Fix older results buttons
2022-01-19 20:32:48 -06:00
Mia
99657a474c
Abuse-monitor: Properly handle battle renames
2022-01-19 09:25:33 -06:00
Mia
653d3ba00d
Chatlog: Fix older results buttons
2022-01-19 08:46:42 -06:00
Mia
87262e5961
Quotes: Add a command to view quotes by index
...
Per https://www.smogon.com/forums/threads/quote-suggestions.3696375/ .
2022-01-17 15:58:34 -06:00
Mia
faebf140af
JSX: Fix username element typing
2022-01-17 15:45:43 -06:00
Mia
ce5af83714
Abuse-monitor: Always prioritize flagged user in users list
2022-01-17 11:33:55 -06:00
Mia
9cf0eb32f3
Wifi: Handle sprites for mons with formes accurately
2022-01-16 15:06:49 -06:00
Mia
c4aa6a7750
Abuse-monitor: Support backing up settings
2022-01-15 16:45:03 -06:00
Annika
5be146e5f6
/trivia edit: Fix HTML escaping
2022-01-15 14:21:09 -08:00
Kris Johnson
7158628a13
/sectionleader: Fix error message
2022-01-15 14:33:46 -07:00
Annika
0ddf811763
Trivia: Remove debug print
2022-01-14 20:35:31 -08:00
Annika
17806788bf
Trivia: Add editing command
2022-01-14 20:32:45 -08:00
Mia
ccca367b13
Moderation: Require /weeknamelock to namelock a user with an exist lock longer than 2 days
...
This mistake keeps being made.
2022-01-13 21:35:09 -06:00
Mia
9da2cb7af4
Abuse-monitor: Use exact names in ticket display
...
Requested.
2022-01-13 11:00:28 -06:00
Mia
536f1148d5
Abuse-monitor: Add a command to help auditing misflags
2022-01-13 10:28:58 -06:00
Mia
8d9cbebb5f
Fix /ebat number parsing
...
https://www.smogon.com/forums/threads/bug-reports-v4-read-original-post-before-posting.3663703/page-69#post-9074782 .
Running toID() on negative numbers stripped out the negative.
2022-01-11 14:50:27 -06:00
Mia
ce20ad8255
Abuse-monitor: Overhaul settings interface
2022-01-11 14:17:55 -06:00
Kris Johnson
070d1a6ddb
BW PU/ZU: Add proper tiering ( #8621 )
2022-01-11 10:43:02 -05:00
Annika
d189206088
Trivia: Update help to reflect new ladder length
2022-01-10 11:46:26 -08:00
WeWuzNidokangz
7097a9ac75
Hackmons Cup: Support custom team bans/unbans ( #8607 )
2022-01-09 14:46:41 -08:00
Hisuian Zoroark
fa89d9da9a
Spotlights: Don't give an image parameter in source if no image was used ( #8615 )
2022-01-09 14:46:25 -08:00
Mia
c7ddd49e0e
Revert "Wi-Fi: Convert to TSX ( #8581 )" ( #8618 )
...
This reverts commit 2af0ae99c6 .
2022-01-08 13:41:43 -05:00
Mia
797f8be2f7
Abuse-monitor: Default threshold increment to null
2022-01-08 10:37:18 -06:00
Kris Johnson
2af0ae99c6
Wi-Fi: Convert to TSX ( #8581 )
2022-01-06 19:58:33 -08:00
Mia
60291ebecc
Abuse-monitor: Make the threshold increment optional
2022-01-06 09:56:52 -06:00
Mia
4ecef7c840
Abuse-monitor: Support scaling thresholds per-room ( #8606 )
2022-01-05 19:10:15 -08:00
Distrib
4835729270
/roomauth: Add a line that says bolded names are online ( #8609 )
2022-01-05 18:03:42 -08:00
Mia
fa8f7a3e50
SQL: Propagate errors to the parent process ( #8613 )
2022-01-05 17:56:52 -08:00
Annika
cb1104afc5
Trivia: Update help
2022-01-05 16:53:11 -08:00
Annika
a412bd8d88
Trivia: Display /trivia rank as a table
2022-01-05 16:51:09 -08:00
Annika
ad77c5d9ef
Trivia: Rename leaderboard commands
2022-01-05 15:45:18 -08:00
Mia
14460338fc
Chat: Require registration to talk in non-persistent rooms ( #8610 )
2022-01-05 12:47:29 -05:00
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