Commit Graph

23714 Commits

Author SHA1 Message Date
Kris Johnson
a1ccc6fe77 Gen 2 OU: Move Jynx/Golem to OU, Porygon2/Jolteon to UUBL (#5633)
https://www.smogon.com/forums/threads/3652655/
2019-07-19 22:20:10 -04:00
Guangcong Luo
3db1d9916c Deduplicate Template definition
It turns out Template is the only remotely-easy type to merge the class
and interface for.

The others all have a bunch of event methods which would need to be
redefined on the class.
2019-07-19 18:20:42 -05:00
Guangcong Luo
516084d6a2 Deprecate and remove canUseRandomTeam
`canUseRandomTeam` was a feature intended to allow random teams to be
generated in custom games. I never added a UI for it, and nowadays we
have more than one Random Battle format anyway, so this flag no longer
makes any sense.

The new plan is to support "random team" custom rules, which should be
easier to implement and easier for users to understand.
2019-07-19 13:52:44 -05:00
Kirk Scheibelhut
21cd5cf02c Actually ACTUALLY prevent Idle state from propagating 2019-07-19 09:31:19 -07:00
Kirk Scheibelhut
ba4e0254d8 Actually prevent Idle state from propagating 2019-07-19 09:03:27 -07:00
Jacob McLemore
293867eb1c Pokedex: Correct evolution condition for Happiny (#5632) 2019-07-19 10:51:27 -05:00
asgdf
97a42995db Add easy method of undoing /trustuser (#5631) 2019-07-19 10:40:19 -05:00
Kirk Scheibelhut
c43e2557f0 Prevent Idle state from propagating (#5630) 2019-07-18 21:12:39 -05:00
Marty-D
4c1ee02de6
Gen 3 OU: Move Moltres to OU and Raikou to UUBL
https://www.smogon.com/forums/threads/adv-tier-changes-moltres-raikou.3652636/
2019-07-18 19:27:36 -04:00
Kirk Scheibelhut
b0a7b61693 Include status message in helpticket messaging (#5626) 2019-07-18 13:51:26 -05:00
Jacob McLemore
ae1ac25398 Add tests for Psych Up (#5624) 2019-07-18 09:17:05 -07:00
Kirk Scheibelhut
875b02c816 Make Blitz/VGC Timer 'Rule' instead of 'ValidatorRule' 2019-07-17 12:14:35 -07:00
Kirk Scheibelhut
37ba36b2da Remove Idle popup (#5622)
This was originally added in the original design when we were
actively logging Idle users out of their account. Currently it
serves mostly to explain what Idle is, but mostly it just annoys
users.
2019-07-17 12:19:39 -05:00
Jacob McLemore
bd55178ee8 Moves: Fix Psych Up's interaction with Focus Energy and Laser Focus (#5621) 2019-07-17 09:22:53 -07:00
Jacob McLemore
ed4b027b5b Update ts-ignore comment in Dancer codepath in scripts.js (#5619) 2019-07-16 20:52:17 -07:00
whales
94bb4084d5 Typescript users (#5617) 2019-07-16 19:22:38 -07:00
Jacob McLemore
7e4ebe44aa Make moves called by Dancer target properly (#5616) 2019-07-16 21:15:05 -04:00
Guangcong Luo
0cc534092a Support timer rules 2019-07-16 16:03:02 -05:00
Guangcong Luo
bee09145e8 Fix Scuntorpe Problem in status monitor 2019-07-16 13:52:21 -05:00
Guangcong Luo
47f9372d2a Clear timer after battle end
This should fix the bug where timer messages would sometimes still
show up after the end of the game.
2019-07-16 11:10:53 -05:00
Guangcong Luo
6c3db44ee5 Implement OU (Blitz) format 2019-07-16 08:17:06 -04:00
Jacob McLemore
613f70dc29 Update CONTRIBUTING.md with TypeScript rules (#5615) 2019-07-16 03:48:21 -05:00
asgdf
1f2a17e5d1 Support ohko flag in movesearch, update helptext (#5614) 2019-07-15 22:17:23 -05:00
whales
45c0777ed6 Fix tour replacing for real (#5613) 2019-07-15 20:54:42 -05:00
fart
77e054d96c Fix /coverage bug (#5611) 2019-07-15 20:48:42 -05:00
whales
97cba5a732 Fix alt checking for tour subs (#5612) 2019-07-15 20:48:05 -05:00
Guangcong Luo
d209bcc8f3 Fix crashes in modlog 2019-07-15 21:47:09 -04:00
Kirk Scheibelhut
632de55431
Create Chat.statusfilter which also performs basic rank impersonation filtering (#5610) 2019-07-15 13:59:33 -07:00
Kirk Scheibelhut
8b82693168 Add /help documentation for /tour sub 2019-07-15 11:46:34 -07:00
Guangcong Luo
c2a35ff868 Optimize getIdentityWithStatus
Most of the return value is never used.

(Also fix bug with statuses containing `,`)
2019-07-15 12:33:21 -05:00
Kirk Scheibelhut
d8dc151859 Fix dei -> di Japanese alias romanization 2019-07-15 10:18:12 -07:00
whales
82a666cc0e Fix tour format reporting (#5609) 2019-07-15 11:22:13 -05:00
whales
551bc33b30 Stop status desyncing when joining rooms or renaming (#5608) 2019-07-15 10:12:23 -05:00
Guangcong Luo
b7e94c1da3 Fix crashes in chat commands 2019-07-15 10:58:09 -04:00
whales
257cea4d62 Fix status in userdetails (#5607) 2019-07-15 09:56:40 -05:00
whales
8ad6c9246f Don't report name after forcerename for namelocked users (#5583) 2019-07-15 00:57:29 -05:00
Guangcong Luo
22ca01123d Refactor tournaments for better prop names
- `tour.originalFormat` -> `tour.baseFormat`
- `tour.teambuilderFormat` -> `tour.fullFormat`

These should better reflect what they actually mean.
2019-07-15 00:35:31 -05:00
whales
9147863403 Tournaments: Support replacing players (#5600) 2019-07-15 00:07:37 -05:00
whales
e918287cd6 Allow starting tournaments with a custom name (#5604) 2019-07-15 00:04:49 -05:00
Guangcong Luo
cb858bce1b Add sonic.net to residential ISP list 2019-07-15 00:23:07 -04:00
Guangcong Luo
a2f9a9191e Add 'ok' to Help tickets content-free message list 2019-07-15 00:23:07 -04:00
Guangcong Luo
315dd3999f Disallow ties before turn 100 2019-07-15 00:23:07 -04:00
HoeenHero
2677443ba4 Prevent users from being added to battles they are already in 2019-07-14 23:57:54 -04:00
Guangcong Luo
c83cb5d092
Update Credits
- pre is now staff
- jumbowhales, Quinella, Austin, and DaWoblefet are now major contributors
- JetOU and McLemore are now contributors
2019-07-14 22:43:24 -05:00
Kirk Scheibelhut
951c582fe3 Add support to local /laddertop for restricting by user prefix (#5606) 2019-07-14 22:25:35 -05:00
Marty-D
80da1aa377
IPTools: Update proxy lists 2019-07-14 21:29:53 -04:00
Bär Halberkamp
49d4b5abd2 Refactor statuses into statusType and userMessage (#5597)
(and improve persistence)
2019-07-14 20:22:02 -05:00
Marty-D
cb07679b08
Datacenters: Update ranges 2019-07-14 18:57:48 -04:00
TheJetOU
3c8b4f6872 Tournaments: Fix crash in /tournament cap (#5605)
`note` in this.modlog expects a string.
2019-07-14 17:46:39 -04:00
Guangcong Luo
56565e9d21 Support treating a rank as another rank in battles
This adds a Config setting, `globalGroupInPersonalRoom`, which will
just straight-up let global drivers act as mods in battles and
groupchats.

Fixes #5564
2019-07-14 01:33:58 -05:00