Commit Graph

20954 Commits

Author SHA1 Message Date
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
Guangcong Luo
6ceaed0002 Fix TypeScript error
It seems every other week TypeScript does an update that affects
whether or not this line needs a cast.

This should probably have been refactored to `typeof` ages ago, because
that one way more reliably doesn't need a cast.
2020-12-12 19:44:54 +00:00
Guangcong Luo
50d24998a9 Revert /tour forcepublic text change 2020-12-12 19:44:54 +00:00
The Immortal
2d99f58542
Move Linoone, Polteageist, Slurpuff, and Sharpedo to NUBL 2020-12-12 11:02:40 +04:00
MacChaeger
7d6da41e34
Factory sets: Add more EV validation (#7790) 2020-12-12 10:48:20 +04:00
Adam Tran
a278b38d7d
Fix future move failure hint (#7795) 2020-12-12 10:23:15 +04:00
Annika
37daf55014
Chatlog: Increase PM timeout to 1 hour 2020-12-11 20:47:09 -08:00
Mia
f9c4f8d4bc
Chatlog: Refactor FS/ripgrep handling and support battle logs (#7775) 2020-12-11 16:51:42 -08:00
Adam Tran
f63e7e4a8d
Add Heal Block independent fail message (#7785) 2020-12-11 19:38:52 -05:00
MacChaeger
0c6cfbd213
Metronome Battle: Ban Steel Memory (#7791) 2020-12-12 01:42:59 +04:00
Mia
3fb5f20321
Youtube: Track current video time in groupwatch (#7767) 2020-12-11 11:39:23 +04:00
Mia
f2e879320f
Tournaments: Use CommandContext#requireGame (#7778) 2020-12-11 11:35:34 +04:00
Kris Johnson
5df9c77dfc
Prevent /tour forcepublic spamming rooms (#7777) 2020-12-11 11:34:17 +04:00
The Immortal
bce1267fae Improve randoms generator 2020-12-10 15:33:08 +04:00
Plato
6ef1ba640c
Add Italian translations for repeats (#7783) 2020-12-10 14:15:49 +04:00
Guangcong Luo
ea58695f0f Revert "CC/HC: Fix level balancing formula (#7773)"
This change was controversial. pyuk agreed to revert in preparation for
Random Battles Team Tour 4 as mentioned in:

https://www.smogon.com/forums/threads/revert-the-level-changes-to-hackmons-cup.3674551/

This reversion should not be interpreted as taking a side in whether
the level formula should be changed after the tour.

This reverts commit b6bf805a1a.
2020-12-09 23:18:41 +00:00
Guangcong Luo
013851359c Support using avatars from username history
Now you can use `/avatar` for any private avatar you have access to
from your username history, without needing to change name every time.
2020-12-09 23:18:17 +00:00
Guangcong Luo
53c6b9103a Remove #chatfilter from PunishType
PunishType is currently only used for proxy detection markers, which
this should make clearer.

Chatfilters now use the regular punishment system (setting user.locked
to the user ID).
2020-12-09 23:18:17 +00:00
The Immortal
9965288bd2 Gen 5 Random: Fix Monotype Normal teams
Closes #7782
2020-12-09 22:12:30 +04:00
Annika
ab9cb3a825 Battlesearch: Increase PM timeout to 3 hours 2020-12-09 09:14:21 -08:00
The Immortal
682d647a75 Add new ND Monotype thread 2020-12-09 10:53:14 +04:00
The Immortal
2bb8a45968 Random Battle updates 2020-12-09 10:51:44 +04:00
Annika
43b5070724 Trivia: Fix bug
THe order of the object keys matters, apparently. Why?
2020-12-08 18:10:59 -08:00