Commit Graph

21126 Commits

Author SHA1 Message Date
Kris Johnson
dbbb89bdc2 Fix help for /renameroom 2020-12-20 12:35:06 -07:00
The Immortal
0d306b9930 Ban illegal Zygarde-10% sets 2020-12-20 18:18:29 +04:00
The Immortal
85761cca5b Gen 4 Random: Fix Mono-Electric teams 2020-12-19 14:56:13 +04:00
Mia
c12108fa72
Fix spinlock in /nomarkshared view (#7821) 2020-12-18 13:16:02 -08:00
Annika
42bd7cb8f5 Trivia: Remove deprecated sliceCategory function 2020-12-18 12:56:24 -08:00
Kris Johnson
d9ed993064 Move Pheromosa to Uber 2020-12-18 07:27:03 -07:00
MacChaeger
4fe71c5907
Add G-Max move aliases (#7820) 2020-12-18 12:05:48 +04:00
Mia
075f96aca7 Fix /usersearch's listed permissions 2020-12-17 19:45:50 -06:00
The Immortal
23f7f2e185
Alphabet Cup: Restrict Belly Drum 2020-12-17 19:33:54 +04:00
Kris Johnson
aee7837af9 Update National Dex UU 2020-12-17 06:15:24 -07:00
fart
4e5e8c084b
Autoresponder: Fix bug with Refresh button (#7789)
* Fix Autoresponder Refresh button bug

Currently if you go into ``/autoresponder view`` and choose to view autoresponder Stats, it opens a menu where no date is specified and you can choose a date from there. If, however, you press the Refresh button (where no date is specified), it opens a new page called "view-autoresponder-room-stats-" (note the extra hyphen at the end). This is because the "refresh" function is called (on line 458) with [date], which would equal [""]. This is a truthy value, unlike [] and unlike "". This patch changes the conditional statement to look at the first item in the array's truthfulness - it is either an empty string (falsey) or a non-empty string (truthy) - instead of always being truthy.

* Fix failing test

* Fix failing test

Sorry if this isn't ideal, it's certainly not as elegant as it originally was.

* Update responder.ts

* Update responder.ts

* Update responder.ts
2020-12-16 12:33:38 -08:00
The Immortal
98e2a34ebb Revert "ZU: Ban Combusken"
This reverts commit 81939d02e3.
2020-12-16 23:48:47 +04:00
The Immortal
157e8a0f32 Random Battle improvements 2020-12-16 22:55:18 +04:00
The Immortal
81939d02e3 ZU: Ban Combusken 2020-12-16 22:54:01 +04:00
Kris Johnson
b1b9b9c2d1 Add December mid-month shifts 2020-12-16 10:32:32 -07:00
Leonard Craft III
653ca9d4ae Victory Star tests are Victory Star 2020-12-16 06:41:11 -06:00
Leonard Craft III
8fc481b65a Add Victory Star tests 2020-12-15 19:13:04 -06:00
urkerab
0cbfeeba09
Fix Snatch in Gen 3 (#7812) 2020-12-15 19:25:59 -05:00
Annika
412ca7d5bb Mastermind: Fix timeout properly 2020-12-15 16:10:46 -08:00
Annika
290d520ea7 Mastermind: Highlight users on round start 2020-12-15 16:10:46 -08:00
Annika
e78fff3d47 Mastermind: Add a command to kick users 2020-12-15 16:10:46 -08:00
Annika
20bda5e548 Mastermind: Take all tied players to finals 2020-12-15 16:10:46 -08:00
urkerab
74ae95a91c
Update accuracy calculation for latest Gen 7 research (#7806) 2020-12-15 18:37:24 -05:00
Annika
721a48ea38 Trivia: Number submissions from 1 2020-12-15 12:00:10 -08:00
Adam Tran
56258a08c7
Run checks for Gravity, Heal Block, Throat Chop on called moves (#7758) 2020-12-15 10:15:12 -05:00
ACakeWearingAHat
4fda00e8ac
Update Doubles/Gen 2 Random Battle (#7808) 2020-12-15 11:52:47 +04:00
zgeorgecsat
5d4529ebcf
Mafia: Support submitting night actions through script (#7749)
* Allows players to submit idles through script

* Added suggestions

Co-authored-by: Student <Student@MacBook-Air-5.hsd1.il.comcast.net>
2020-12-15 14:45:30 +10:30
Annika
4c1f8bb491 Trivia: Fix bugs with adding questions 2020-12-14 18:48:35 -08:00
Annika
04418fee99 Trivia: Fix bug with Mastermind 2020-12-14 16:20:51 -08:00
Annika
dab1008448 Trivia: Fix bug in /trivia removeleaderboardentry 2020-12-14 15:07:50 -08:00
Annika
7f3afbc74f
Mastermind: Reduce intermission to 0.5 seconds
As per the original doc from Aegii (https://pastebin.pl/view/cf5113e5), which I misunderstood originally.
2020-12-14 14:46:40 -08:00
Mia
f792cfe28e
Move FSPath#waitUntil to Utils (#7805) 2020-12-14 14:15:52 -08:00
Marty-D
9110419113
Gen III-IV: Stop suppressing weather when fainted 2020-12-14 17:07:26 -05:00
Annika
f2bfc82ca1
Chat monitor: Improve the handling of usernames (#7786)
* Chat monitor: Improve the handling of usernames

This PR ignores word boundaries in evasion regexes when filtering usernames, preventing the use of usernames with evasions of slurs in them.

* properly fix merge conflicts
2020-12-14 12:55:11 -08:00
The Immortal
3c0eed7ce8 Remove Dragon King Cup 2020-12-14 19:45:04 +04:00
Mia
755f930957
Add a page/command for viewing log access logs (#7794) 2020-12-14 01:38:56 -08:00
Marcell
3025eb79c6
Repeats: Update German translations (#7784)
* Update german repeat translations

I translated new lines for repeats.

* Update translations/german/repeats.ts

Co-authored-by: Annika <annika0uwu@gmail.com>

Co-authored-by: Annika <annika0uwu@gmail.com>
2020-12-14 00:01:32 -08:00
The Immortal
90f4e4a87e
Monotype: Ban Landorus-I 2020-12-14 11:50:26 +04:00
Annika
d742fbf1e4
Trivia: Use an Object for questions instead of a sorted array (#7800) 2020-12-13 23:17:10 -08:00
Mia
94fe9d838b
Fix userid search regexes for battlesearch/chatlog (#7801) 2020-12-13 23:12:14 -08:00
Annika
d858bed664
Enable incremental compilation in tsc (#7802)
This makes `npm test` faster.
2020-12-13 23:11:38 -08:00
Adam Tran
c7c5f4253b
Support generating sourceMaps for source debugging (#7797) 2020-12-13 19:42:19 -08:00
Annika
b7c3e6cff2 Chat monitor: Add Unicode support to regexes
This should fix the issues with the filter thinking that `🐺ℕ𝕚𝕟𝕖𝕥𝕒𝕝𝕖𝕤-𝔸𝕝𝕠𝕝𝕒🐺` was the T-slur.
2020-12-13 14:51:46 -08:00
The Immortal
4e0ae030fe
STABmons: Ban Mamoswine 2020-12-14 02:01:28 +04:00
Mia
9712f6ecf1
Modlog: Remove Rooms global in PM (#7799) 2020-12-13 12:52:52 -08:00
MacChaeger
da64d93765 Runners: Support 4P (and max games) (#7700) 2020-12-13 20:26:39 +00:00
Mia
14218b133d Youtube: Fix crash in /yt endwatch 2020-12-13 20:12:20 +00:00
Guangcong Luo
baaeb1e23b Release 0.11.4 to npm
This is mostly to publish a version with the Streams issue fixed.

Specifically, this commit: 8b68cdd736
2020-12-12 22:10:24 +00:00
Guangcong Luo
465d28171e Refactor PRNG for readability
Closes #7787
2020-12-12 21:56:03 +00:00
Mia
ceb7bfab8b
Battlelog: Run search in PM (#7796) 2020-12-12 13:44:54 -08:00