Commit Graph

998 Commits

Author SHA1 Message Date
Guangcong Luo
f6f79459db Fix datasearch constructor crash 2017-09-05 05:40:45 -04:00
panpawn
f95d78c3c5 Whois: Show locked users' private rooms to staff (#3953) 2017-09-05 03:44:58 -04:00
Charlie Kobayashi
6e176a5d17 UNO: fix playing 2 cards during UNO (#3949)
Add a new "uno" state (that does absolutely nothing except define what is going on), so that the previous player can't play their last card during the 750ms grace period for the player to slap the UNO button.

Credits to PS user "Java SE Runtime" for catching this
2017-09-03 09:38:36 +04:00
CheeseMuffin
c086bb4887 Trivia: rename wl to wlink (#3943) 2017-09-02 03:52:07 -04:00
panpawn
fb63b334b8 Trivia: Remove weeklock alias from trivia command (#3941) 2017-09-02 02:42:49 +04:00
CheeseMuffin
7ba80db59e Trivia: New game, general improvements (#3784) 2017-09-01 05:28:35 -04:00
asgdf
81a8e0672d Fix crash in /viewbanlist (#3932) 2017-08-31 06:59:41 -04:00
MacChaeger
b113cc9a57 Add command /viewbanlist (#3914)
This command is intended to be a quick-access option for checking banlists and rulesets for formats as well as descriptions of the rules that would get listed in case the user has questions.
2017-08-31 04:51:45 -04:00
CheeseMuffin
ae894c5947 Dexsearch: Add Ubers alias (#3902) 2017-08-30 08:57:30 -04:00
asgdf
1ef2c6ba94 Modlog: Fix user search for usernames containing certain non-alphanum characters (#3919) 2017-08-26 12:59:16 -07:00
panpawn
74b1230f4f Whois: Only show AC if showAll is true (#3907) 2017-08-22 17:57:09 -07:00
panpawn
d2853ac9d6 Whois: Display if a user is autoconfirmed (#3903)
This will tell if the server considers a user to be autoconfirmed or not.
2017-08-22 15:45:27 -07:00
Marty-D
be279f3703 Show unreleased status of moves and items in /details 2017-08-21 10:15:56 -04:00
ZestOfLife
9e66e298f2 UNO: Fix passing when choosing color (#3900)
The issue was players passing after they played a wild card and did not choose a color.
2017-08-19 15:02:15 -07:00
Ben Davies
8a4415f59f Trivia: fix game pause on player connect/disconnect 2017-08-19 03:44:33 -03:00
CheeseMuffin
2ae3ad7c11 Dexsearch: Fix types, and randmove (#3879) 2017-08-12 17:30:06 -07:00
panpawn
f292b556a3 Hangman: Split guesshelp into more lines (#3870) 2017-08-09 02:45:04 -05:00
CheeseMuffin
0a206452cc Dexsearch: Add CAP LC and CAP NFE as tiers (#3865) 2017-08-07 21:05:57 -05:00
asgdf
b0e3ced5cc Modlog: fix various small issues (#3853)
* Don't show "More..." button if the amount of results is already less than the max
* Properly pass on whether an exact search was performed to the prettifying function
* Improve phrasing in reaction to whether an exact search was performed
* Allow "More..." button to do a literal modlog query instead of always doing a username search
* Reorder some lines pertaining to the line count so they're not needlessly scattered all over the place
2017-08-07 03:46:41 -05:00
Marty-D
d1aa17251b Fix movesearch bugs 2017-08-05 17:02:48 -04:00
CheeseMuffin
745c196603 Dexsearch: minor improvements (#3755) 2017-08-02 19:36:13 -04:00
CheeseMuffin
aaf68f092e Dexsearch: fix CAP tiering (#3851) 2017-08-01 22:43:15 -04:00
panpawn
5a2dba75e8 Modlog: Don't hardcode LINES_SEPARATOR length (#3849) 2017-07-31 16:19:25 -04:00
panpawn
236c65aeca Modlog: Fix typo in help command (#3845) 2017-07-29 15:46:50 -04:00
jumbowhales
4e84ab8ced Uno: Fix syntax error (#3841) 2017-07-28 22:26:52 -04:00
panpawn
048ee759ff Modlog: Refactor line specification (#3820)
Before, if you wanted to specify how many results you wanted from a modlog search:
1. You could not search for any text
2. It was capped at 100 results

Now, we drop support for the old means of specifying lines, and instead we have a "More results..." button in modlog's UI.

We also support an undocumented means of specifying lines in the form of: /modlog [roomid], [search] [lines=integer], where integer is the number of lines of results you would like to see.
NOTE: We purposely are not documenting this behavior, as it is mostly made use of in the UI

We also update the help command here to reflect these changes.
2017-07-28 14:32:28 -04:00
HoeenHero
e25653b86a Escape HTML in punishment info (#3835) 2017-07-28 14:07:54 -04:00
Shashwat Chandra
33c7330ea5 Add lowers filter for /movesearch (#3811) 2017-07-26 15:09:12 -04:00
asgdf
e9e66afa0c Fix priority shorthand parameter in movesearch (#3828)
'priority+' now includes priority +1, and 'priority-' includes -1
2017-07-24 15:33:27 -07:00
Charlie Kobayashi
8a70763a76 UNO: make uno less subtle, allow player to uno before next player plays. (#3822) 2017-07-23 22:24:28 -07:00
panpawn
f724b355f4 Modlog: Enable command in private messages (#3817)
When dealing with reports, especially when in single panel mode, this can be useful
2017-07-22 14:00:44 -07:00
Spandan Punwatkar
597416d3b2 Move /othermetas to othermetas.js (#3812) 2017-07-21 11:36:17 -05:00
Charlie Kobayashi
4b10453f02 Roomevents: Split 'add' into 'add' and 'edit' (#3804) 2017-07-20 17:00:55 -05:00
Guangcong Luo
2b1d7b2cc3 Properly fix crash in /learn 2017-07-20 16:33:40 -05:00
Guangcong Luo
6c40884426 Make modlog non-modal 2017-07-20 12:50:41 -05:00
HoeenHero
341648c8ea Modlog: Use a popup for no results (#3807) 2017-07-20 11:22:03 -05:00
Charlie Kobayashi
d20ec7e322 Scavengers: fix/enhance queue, hunt ending, status box (#3805) 2017-07-19 23:45:13 -05:00
panpawn
daf6a95fd9 Modlog: Use connection.send for sending popup (#3797) 2017-07-17 18:47:34 -05:00
HoeenHero
49d569f85f Modlog: Fix modal issue (#3796) 2017-07-17 16:55:19 -05:00
Charlie Kobayashi
377b999ea9 Scavengers: prevent setting points to +/- Infinity (#3742) 2017-07-17 16:17:14 -05:00
Bär Halberkamp
c80fe808b3 Add more usage for Chat.parseText() (#3669) 2017-07-17 15:59:08 -05:00
Konrad Borowski
6758b6b31f Change Scavengers multiple answer separator to a semicolon (#3792)
* Change Scavengers multiple answer separator to a semicolon

Commas turned out to be problematic for many reasons, in particular
list answers where users could have submitted answers with commas as
separators - and if staff member didn't notice the commas, the hunt
could be easily started with wrong answer to frustration of a room.
This is the reason why this commit entirely disallows commas.

During the policy discussion with room staff, it was decided that
`;` was the best alternative separator. The other options that were
voted for were `/`, `\` and `,,`, but they weren't anywhere near
as popular as a semicolon.

Also for consistency with answers, list of hosts was changed to
also allow `;` as separator. However, there is no real reason to
stop accepting `,` here. Neither of `;` and `,` is allowed in
usernames so there is no problem with accepting both.

The error message was provided by Flerovium from Scavengers room,
thanks a lot :).

* Questions should be trimmed too
2017-07-17 09:15:41 -05:00
Ben Davies
32c9bf8ae9 Trivia: make game API more flexible 2017-07-17 05:41:51 -03:00
Lionyx
7be5ec4ab6 Update /bugs (#3790)
This should lower the number of reports in the thread that just turn out to be misunderstood uncommon mechanics, and hopefully will lessen the number of reports in Dev
2017-07-16 19:40:55 -05:00
Bär Halberkamp
6bdf00d5c6 Wifi: fix permission check 2017-07-16 19:42:29 -04:00
panpawn
5ae05456d9 Modlog: Make popup modal (#3783)
This will prevent the classic waiting for modlog and accidentally clicking it away
2017-07-15 06:03:39 -05:00
Quinton Lee
d54582d132 Check for name changes in /checkchallenges 2017-07-14 15:55:25 -05:00
Bär Halberkamp
8007caeae1 Wifi: add missing <br /> 2017-07-14 10:49:29 -04:00
Kris Johnson
e8f3088f4d Fix more error messages in /mnm (#3775)
without `&& !template.isMega`, it still gave uber megas in the first argument the error message about them not being able to mega evolve non natively even though they cant be used in real play at all
2017-07-13 12:13:31 +09:00
Kris Johnson
cc370c804c Add error in /mnm for fake items/Pokemon (#3770) 2017-07-12 15:52:19 +09:00