Commit Graph

23714 Commits

Author SHA1 Message Date
Bär Halberkamp
62d29ec2d6 Roomfaqs: add previews 2016-10-13 17:57:13 +02:00
Bär Halberkamp
7439278f66 Roomfaqs: Allow other HTML formatting tags 2016-10-13 17:57:13 +02:00
Teremiare
7aa207e9f5 Fix incorrect character in /modlog (#2840) 2016-10-12 16:59:17 -07:00
Quinton Lee
55fa6c630e Rulesets: standardize types and names (#2838)
Rules that affect validation are now typed ValidatorRule and rule
names are no longer affected by Tools.getFormat input.
2016-10-12 14:24:53 -05:00
QuiteQuiet
e69fba2690 Team Validator: Validate Happiness when set (#2839) 2016-10-12 09:40:16 -07:00
Bär Halberkamp
08d4e622cb Fix mafia votes 2016-10-11 17:55:09 +02:00
Bär Halberkamp
b96b5025b4 Add a basic faq feature for rooms (#2825) 2016-10-11 05:42:02 -07:00
The Immortal
e8940e56a5 Fix validator crash for non-existent templates 2016-10-11 02:07:04 +04:00
Charlie Kobayashi
3aa3936477 Punishments: Fix Punishments.roomUnblacklistAll (#2829)
- should use Punishments.saveRoomPunishments() instead of the global version at the end of the Punishments.roomUnblacklistAll
- add an extra ignoreWrite argument to be passed to ``roomUnblacklist`` => ``roomUnpunish``.  That way, it doesn't try to write to the tsv file for each loop of the forEach called in roomUnblacklistAll
2016-10-10 13:57:41 -07:00
The Immortal
f81a4d221b Formats: Update descs 2016-10-11 00:28:09 +04:00
The Immortal
84802d425e AAA: Update bans 2016-10-11 00:25:23 +04:00
The Immortal
d97fbf66d0 Gifts of the Gods: Add new bans 2016-10-11 00:05:24 +04:00
The Immortal
95ab7f66f4 Random Battle updates
Fixes #2796
2016-10-10 23:55:51 +04:00
panpawn
8ab309ae74 Add missing linebreak in /opensource (#2833) 2016-10-10 03:21:54 +04:00
Hidden50
99723d6a24 change /modlog: support roomlog links for public room auth (#2831)
By default, only global auth see links to the logs in the modlog.
If Config.roomauthModlogLink is set, this is extended to public room
auth

escape \u2190

This character seems to break when committing with git on windows
2016-10-09 09:26:23 -07:00
The Immortal
59abacd785 Move Dugtrio to BL2 2016-10-09 16:14:14 +04:00
panpawn
76285471a0 Fix double errorReply while muted in some cases (#2830)
Due to the recent refactor that changed how `this.canTalk` works, if a user was muted in a room, and then tried to do a command that wasn't allowed to be used if they can't talk, it would send two replies: "You are muted and cannot talk in this room." AND "You cannot do this while unable to talk."

This makes it so that if you're using a command while muted that isn't allowed to be used if you can't talk, it will just use the "You are muted and cannot talk in this room." errorReply.
2016-10-08 20:58:16 -07:00
The Immortal
b25a0fa60c Ban Shadow Tag from Gifts of the Gods 2016-10-09 01:27:44 +04:00
Marty-D
039445f7f7 Add Kerfluffle's Hidden Ability 2016-10-08 13:39:30 -04:00
The Immortal
92c844d7f1 Tours: Log use of runautodq 2016-10-08 04:15:55 +04:00
The Immortal
9bd5504203 Remove RU suspect test 2016-10-07 12:58:44 +04:00
panpawn
dd8fcf6d7c Roomsettings: Don't use 'true' in UI (#2828)
This makes it more consistent with the rest of the UI, specifically for the respected changes of filtering capitals / stretching.
2016-10-06 21:49:13 -07:00
Marty-D
aac63d3e26 Fix various issues with Bide
Corrects all of the following
Gen 2: lasts 2-3 turns
Gen 3: can't hit Ghosts
Gen 4: can hit Ghosts, stops immediately when the user falls asleep or
becomes frozen
Gens 2-6: Stops immediately when the user is prevented from moving
2016-10-06 21:33:30 -04:00
panpawn
9803e2fe38 Tournaments: update enable/disable in /tour help (#2827) 2016-10-06 19:50:14 -05:00
panpawn
8744e94a2d Tournaments: Allow ROs to allow % and up to run tours (#2826)
This was requested several times, as a lot of rooms have bots to allow drivers to run tournaments for them.

Note: current room settings for tournaments will not change by default; if you had your room set to allow mods and up before, that will still be the case unless you change it; same for if you had tournaments disabled all together.

This changes the command syntax for `/tournament enable` to be: `/tournament enable [%/@]`.  The command syntax for `/tournament disable` has not changed. (disabling a tournament will make it so only # and up can run tournaments.)

This also re-arranges the roomsettings rank order UI for tournaments; it only makes sense that the ranks go in order of power least to greatest (left to right).
2016-10-06 00:49:53 -07:00
sirDonovan
7d16d7313d Tournaments: check unbanlists in /tour banlist 2016-10-05 18:58:26 -05:00
sirDonovan
db7ac77297 Validator: use unbanlists for supplementary unbans 2016-10-05 18:55:11 -05:00
sirDonovan
fb4066d476 Fix 056e1a0b23
It broke tier validation and didn't work correctly due to a typo.
2016-10-05 18:17:56 -05:00
urkerab
056e1a0b23 Allow formats to override inherited formats or rulesets (#2547) 2016-10-05 14:38:49 -07:00
The Immortal
b078676c35 Remove the Seasonal format 2016-10-05 23:07:35 +04:00
The Immortal
c4719698de Return'd: Ban Pinsirite 2016-10-05 23:03:39 +04:00
The Immortal
954bc98aba Remove Battle Spot Special 17 2016-10-05 22:39:13 +04:00
Ben Davies
71400a22be Performance: fix memory leak when destroying chatrooms (#2821)
The log writing stream was never closed when chatrooms were deleted.
2016-10-05 02:18:47 -07:00
panpawn
2de233e338 Fix broken permission with /showblacklist (#2822)
It would show access denied to those who can't mute in the room, and it would show nothing to say, drivers
2016-10-04 23:52:53 -07:00
panpawn
420e28ce91 Chat: Tell locked users their lock duration (#2823)
This also adds `Punishments#checkLockExpiration` - mostly for this, but also to remove some repetitive code in the whois command as well.
2016-10-04 23:52:19 -07:00
Ben Davies
1446ec6deb Trivia: implement /trivia search command (#2820)
Now users can search for questions/submissions without having to rummage
through the entire list of questions. Trivia data and its writer are exported
once more so edits can be made to it with /eval if necessary.
2016-10-04 20:53:39 -07:00
Rhythms
e8689c361b Tournaments: add /tour viewbanlist (#2819) 2016-10-04 21:28:40 -05:00
The Immortal
2b8f343909 STABmons: Ban Acupressure 2016-10-05 05:52:57 +04:00
panpawn
239e119962 Allow mods to use /stafftopic to not see source (#2817) 2016-10-04 20:47:28 -05:00
Ben Davies
54d0ff203a Performance: replace direct references to arguments with rest parametres (#2818)
Replacing direct references to the arguments object of functions with rest
parametres prevents the function from being deoptimized while still allowing
use of arbitrary arguments. This may also fix some minor memory leaks related
to mishandling the arguments object.
2016-10-04 16:29:14 -07:00
Bär Halberkamp
617f821291 Mafia: fix mistake 2016-10-05 00:49:39 +02:00
The Immortal
b95e57058a AAA: Unban Poison Heal 2016-10-05 01:39:41 +04:00
The Immortal
307eff64c3 Update VGC desc 2016-10-04 19:14:56 +04:00
panpawn
fc5511f6bc Add userlist command (#2814)
A lot of users have been asking for a userlists command, may it be for bot purposes or for battle room usage.
2016-10-03 20:50:56 -07:00
The Immortal
b1fa57b34a Add September tier shifts 2016-10-04 04:43:28 +04:00
panpawn
220fc070a0 Add Zong -> Bronzong alias (#2810)
Requested http://prntscr.com/cpbmoo
2016-10-03 13:24:03 -07:00
Guangcong Luo
4db67f3cca Report crashes in Dev
Currently, only crashes that require a server restart are reported
outside of the crash emailer and stdout. This makes it so all crashes
are reported.
2016-10-03 03:18:22 -07:00
Guangcong Luo
4aa39301dd Improve Tools commenting 2016-10-02 23:45:12 -07:00
panpawn
25da8f1dd0 README: Add Dex to Navigation section (#2785) 2016-10-02 22:08:16 -07:00
panpawn
7022704bf8 Add Dex repository to /opensource (#2809)
Apparently, a lot of people still don't know this is a thing, so this might be a good way of making people know it's actually a thing.
2016-10-02 22:04:58 -07:00