Commit Graph

23714 Commits

Author SHA1 Message Date
Ocean-ey
5c34d6997b
Update Instruct's longdesc (#7272) 2020-09-05 17:17:28 -04:00
Annika
13d1a4fa6d
Allow users to see their own hidden games in /whois (#7315) 2020-09-05 13:57:54 -07:00
Annika
83e8262d12
Users: Fix bug with IP handling (#7305) 2020-09-05 08:18:42 -07:00
Annika
08818294a8
Log viewer: Escape usernames (#7309) 2020-09-05 08:16:29 -07:00
Mia
7222b7280b
Support week roombans (#7311) 2020-09-05 08:13:21 -07:00
Kris Johnson
8656d633ac
Format volatiles consistently (#7314) 2020-09-05 08:12:24 -07:00
Guangcong Luo
acb851f857 Add a new command: /yearlockip
/yearlockip works like /lockip, but lasts for a year. It's intended to
be used to punish users who troll over a long term, but from a static
IP.

I've also separated strings out in a way that should make them slightly
easier to translate in the future.
2020-09-04 21:16:25 -07:00
Kris Johnson
c5d68ce16c
Megamax: Add newest updates (#7313)
https://www.smogon.com/forums/threads/megamax-pet-mod-of-the-season-ladder-tour-post-408.3658623/page-16#post-8571322
2020-09-04 21:44:42 -04:00
Kris Johnson
8c870e448b
Gen 5 2v2 Doubles: Add Accuracy Moves Clause (#7312)
https://www.smogon.com/forums/threads/old-gen-2v2-doubles-megathread.3663858/page-3#post-8588275
2020-09-04 21:44:19 -04:00
Kris Johnson
2e15b58e71
AAA: Ban Magearna (#7310)
https://www.smogon.com/forums/threads/ss-almost-any-ability-magearna-voting.3669814/#post-8588305
2020-09-05 03:16:15 +04:00
Mia
6b671e9526
Searchlogs: Improve handling of date not found errors (#7308) 2020-09-03 17:52:20 -07:00
Mia
73e5284db3
Searchlogs: Fix crash in date parsing (#7307) 2020-09-03 17:24:47 -07:00
Lusamine
19355641f0
Remove Anubis from Credits (#7306) 2020-09-03 17:06:54 -07:00
Kirk Scheibelhut
afdbcd355e Update credits 2020-09-03 13:29:41 -07:00
HoeenHero
6dab83d6c4 Remove unneeded canTalk check
mia asked me to push this since keeping this check will result
in a ghost message if a match is found.
2020-09-02 23:29:57 -04:00
Guangcong Luo
1217457b06 Fix /updateserver
This adds a bunch of minor fixes to /updateserver. The big one is that
we no longer stash untracked files, which should fix the problem where
it sometimes takes forever to update.

However, it seems like conflicting untracked files sometimes corrupts
the Git system?

    zarel@cytosine ~/W/psserver (master)> git rebase FETCH_HEAD
    Created autostash: abc06bdca
    First, rewinding head to replay your work on top of it...
    error: The following untracked working tree files would be overwritten by checkout:
        server/chat-plugins/help.ts
    Please move or remove them before you switch branches.
    Aborting
    fatal: Could not detach HEAD

    zarel@cytosine ~/W/psserver (master|AM/REBASE)> git rebase --abort
    error: could not read '.git/rebase-apply/head-name': No such file or directory

I couldn't reliably reproduce this, unfortunately, but I've switched to
`git rebase --no-autostash FETCH_HEAD` to be safe. File conflicts
are really rare in general, so I don't think that needs to be a
blocker.
2020-09-02 20:14:07 -07:00
Annika
c5833d637a
Thing of the Day: Fix crash (#7301) 2020-09-02 21:35:31 -04:00
Mia
3a8bd28a6f
Help: Fix vulnerabilities (#7300) 2020-09-02 21:31:37 -04:00
Kris Johnson
391d022d50
Move Chansey to UU (#7299)
https://www.smogon.com/forums/threads/np-ss-uu-stage-6-lucky-star-jirachi-banned-chansey-unbanned.3668911/page-3#post-8586804
2020-09-03 03:31:11 +04:00
Kris Johnson
fb36d5275d
Remove Gen 7 Mix and Mega (#7298) 2020-09-03 01:15:59 +04:00
Annika
8bc416730e
Trivia: Reformat help and don't use module.exports (#7292) 2020-09-02 12:07:24 -07:00
Annika
94a6f14e48
Remove trusted user check in /hidetext (#7282) 2020-09-02 09:51:05 -07:00
The Immortal
d25ec1cbca BF/CAP 1v1: Move sets loading outside constructor 2020-09-02 15:44:34 +04:00
The Immortal
78d85c6790 Gen 3: Fix Lightning Rod rating 2020-09-02 12:43:12 +04:00
Kris Johnson
51a1a1325e
Fix typo (#7297) 2020-09-02 01:16:17 -04:00
Instruct
ae471abb84
RU: Ban Heracross (#7296)
https://www.smogon.com/forums/threads/np-ru-stage-2-lights-out-september-shifts-heracross-banned.3666733/page-5#post-8586090
2020-09-02 07:57:07 +04:00
Kris Johnson
b417b85e77
National Dex usage updates (#7293)
* National Dex usage updates

* Mega Gardevoir was JUST banned

* Update links
2020-09-02 01:23:19 +04:00
Kris Johnson
adad8ab9cc
350 Cup: Ban Abra and Gastly (#7294)
https://www.smogon.com/forums/threads/350-cup-leaders-choice.3656554/#post-8585930
2020-09-02 01:02:28 +04:00
Kirk Scheibelhut
ec84d31d38 Update deps to get newest smogon for set-import 2020-09-01 12:01:35 -07:00
The Immortal
99f292f681 Move Turtonator and Sigilyph to NUBL 2020-09-01 22:37:46 +04:00
The Immortal
dcef3f0a5b Implement NU unbans 2020-09-01 19:35:48 +04:00
The Immortal
12bd69fa36 September tier update 2020-09-01 19:33:36 +04:00
The Immortal
5f93b4bd28 Random Battle improvements 2020-09-01 17:16:52 +04:00
The Immortal
bc89d070c6 Fix 350 Cup 2020-09-01 17:16:03 +04:00
The Immortal
444990014d Fix BW 2v2
And make the formats ordering consistent across gens.
2020-09-01 17:10:46 +04:00
Kris Johnson
a0611e774a
Add September 2020 RoA Spotlight formats (#7291) 2020-09-01 16:24:00 +04:00
Kris Johnson
5535b7405f
Move Jirachi to UUBL (#7289) 2020-09-01 03:07:56 +04:00
TheMezStrikes
94b3e6f96f
Update CAP samples link to gen 8 (#7288) 2020-09-01 02:26:30 +04:00
The Immortal
1ee33f4ba2 Add September OMotMs 2020-09-01 01:31:44 +04:00
The Immortal
0ab31bc395 Doubles OU: Ban Volcarona 2020-09-01 01:22:39 +04:00
Mia
2e5bd14bbe
Help: Disable if a room is not configured (#7287) 2020-08-31 16:21:28 -04:00
Mia
42ba4b87d2
Youtube: Fix crash (#7280) 2020-08-31 06:45:35 -07:00
Guangcong Luo
9664f139ee
Update PROTOCOL to recommend HTTPS 2020-08-31 06:43:53 -07:00
The Immortal
0a5b2e2ed9 Remove expired suspect notices 2020-08-31 17:26:47 +04:00
Annika
1cbab7162c
Filter Pokémon nicknames after team validation (#7283)
This will prevent the staff room from getting spammed when people do things like nickname their Pokémon 10,000 n-slurs in a row.
2020-08-31 06:21:58 -07:00
Mia
9a0f1ed11e
Fix regex replacing (#7265) 2020-08-31 06:19:04 -07:00
Mia
1d450461e2
Chat: Show the full command in nonexistent errors (#7286) 2020-08-31 04:13:47 -07:00
Kris Johnson
420676698c
ZU: Ban Swoobat (#7285)
https://www.smogon.com/forums/threads/np-zu-stage-2-turn-it-again-swoobat-quick-banned-42.3668115/page-2#post-8584032
2020-08-31 05:07:09 +04:00
Kirk Scheibelhut
8744adaeca Consistently use this.dex in TeamValidator
Additionally allows Dex to optionally be provided as a constructor
arg for clients which do not rely on a global Dex object
2020-08-29 22:51:54 -07:00
Annika
c9fa3fc389
Refactor User#prevNames and User#ips to arrays (#7267) 2020-08-29 10:27:03 -07:00