Commit Graph

1065 Commits

Author SHA1 Message Date
Guangcong Luo
800dbadd53 Use new HTML-room API for modlog 2017-11-23 05:25:14 -06:00
Charlie Kobayashi
a3b049077d Checkpunishment: Show punishments for offline users (#4168) 2017-11-20 18:31:36 -06:00
Ben Davies
063cf68be3 Trivia: fix crash in category access 2017-11-17 17:12:06 -04:00
Ben Davies
1efe9525f0 Check for ENOENT error codes where MODULE_NOT_FOUND is checked 2017-11-17 13:19:18 +00:00
Guangcong Luo
340e61682b
Safe FS writing (#4145)
Writing program state to a file is fairly hard to do safely, especially
with Node's async FS writing. PS previously reimplemented in several
places the code necessary to do it safely. FS().writeUpdate now
consolidates that code so anyone can easily safely update a file.
2017-11-14 02:09:18 -06:00
Ben Davies
29b42fee6e Trivia: broadcast top 5 players on answer, start moving to Typescript 2017-11-13 20:02:51 -04:00
Guangcong Luo
a61a96b1c0 Add Users.PLAYER_SYMBOL constant
No longer will you have to look up the Unicode value for the Player
symbol!
2017-11-12 23:34:28 -06:00
Charlie Kobayashi
bd7d65c9d9 Scavengers: Improve status display (#4138) 2017-11-12 19:57:45 -06:00
Kris Johnson
86fbb45acc Standardize formatting of OM restrictions (#4129)
* Standardize formatting of OM restrictions

Since I've already started adding and changing all of the OM banlists to
allow them to be viewable though `/om`, I figured that I'd take the
final step and standardize all OM banlists and restrictions. It's
understandable if you want things like 1v1's banlist and ruleset to
remain the same as before; I'll happily revert that part.

* Remove unnecessary space

* Unban Blazikenite from 1v1

* Revert 1v1 banlist to original state

* Re add new lines at end of file
2017-11-09 23:36:24 +08:00
Bär Halberkamp
f981fbfa4f Wifi: update help for breeding contest commands 2017-11-08 22:50:44 +01:00
Bär Halberkamp
250171635d Wifi: add links to breeding contests 2017-11-08 21:16:17 +01:00
Bär Halberkamp
6609761d41 Wifi: add commands for breeding contests 2017-11-07 21:29:54 +01:00
Charlie Kobayashi
1e3998e39b Scavengers: Add new queue functions (#4130) 2017-11-06 18:53:40 -08:00
CheeseMuffin
218d35aa3d Scavengers: Update status command for hosts (#3944) 2017-11-06 18:53:18 -08:00
Kris Johnson
fc977a33b4 Modify AAA's validation code (#4125) 2017-11-04 23:50:27 -07:00
Guangcong Luo
bb5761c9a1 Fix chat plugins using old checkLearnset 2017-11-02 13:51:20 -04:00
Spandan Punwatkar
bcdff7f5f6 Fix build; fix /coverage (#4117) 2017-11-02 10:19:55 -04:00
Spandan Punwatkar
a9fd7da4a8 Support mod parameter for /weak and /coverage (#4112) 2017-11-02 00:42:27 -05:00
Kris Johnson
e6bad3bc7a Make the formatting of all smogon links consistent (#4095) 2017-11-02 00:21:21 -05:00
Guangcong Luo
0e728281e6 Move team-validator to sim/team-validator 2017-11-01 05:22:37 -05:00
Insist
fb2a8b1e3a Dexsearch Help: Fix spelling (#4106) 2017-11-01 04:34:21 -05:00
Guangcong Luo
39b52e7dda Rename Chat.parseText -> Chat.formatText
(And move it to its own file, chat-formatter.js)
2017-10-30 21:41:59 -05:00
MacChaeger
86bbf874b0 /itemsearch: Fix using the 'all' parameter (#4091)
Previously, the command allowed users to broadcast with ', all'
I removed the ',all' option because the command doesn't support separating words with just a comma anyway.
2017-10-29 13:21:41 -05:00
Bär Halberkamp
9fd88de6c1 Wifi: disallow overwriting other punishments with giveaway bans 2017-10-29 16:06:52 +01:00
Bär Halberkamp
23b4c8ad4c Roomfaq: display aliases for roomfaqs when ROs use /roomfaq 2017-10-29 02:33:57 +01:00
Guangcong Luo
21c9063588 Fix syntax error 2017-10-28 11:51:08 -05:00
Kris Johnson
703882d41d Update /ds and /ms descriptions (#4089) 2017-10-28 11:11:15 -05:00
HoeenHero
79e0db93e3 Allow ipsearch to search specific rooms (#4075) 2017-10-22 16:01:33 -05:00
Bär Halberkamp
ad07705bf5 Wifi: remove another unnecessary HTML escape (#4071) 2017-10-19 16:46:59 +02:00
QuiteQuiet
398c7b66fe Fix inconsistent indentation (#4060) 2017-10-15 05:43:19 -05:00
Charlie Kobayashi
da0242a3f4 Scavenger games: fix timer (#4058)
- return the value of the timer duration in a scav game so it does not end up as ``undefined``
2017-10-15 01:38:01 -05:00
Charlie Kobayashi
7ed94ad3c4 Fix ending hunts within a parent game (#4056) 2017-10-14 21:22:06 -05:00
Jeremy Piemonte
c2b0b48795 Modchat: Remove unnecessary curly brackets (#4057) 2017-10-14 21:21:41 -05:00
whales
35c42de6f6 tcg: update to use https, fix error with bulba (#4053)
seems like bulbapedia requires https now, which was breaking ptcg requests
2017-10-13 05:38:46 +02:00
urkerab
83dc4b07d9 /ds<N> single result details should be for gen<N> (#4051) 2017-10-11 19:15:19 -05:00
Bär Halberkamp
8e4ce924b7 Wifi: Fix formatting in popups 2017-10-11 23:09:23 +02:00
Guangcong Luo
be486bfb1e Standardize on/off commands 2017-10-11 03:08:56 -05:00
Kris Johnson
2b67af932b Don't send people to HTTPS links on smogon (#4050)
Smogon doesn't support HTTPS.
2017-10-10 23:32:06 -05:00
Kris Johnson
33445f19e6 Don't send people with HTTPS pages with /smogdex (#4049)
People have reported getting errors like https://i.gyazo.com/778739472cf16b75377bef1c506a493d.png when using `/smogdex`. While this is a smogon-side issue, this is a temporary fix to that error.
2017-10-10 22:43:56 -05:00
Guangcong Luo
7503275208 Rename user.ioNext -> user.inviteOnlyNextBattle 2017-10-10 19:36:41 -05:00
Guangcong Luo
b0611ecdfe Implement /ionext
Sets your next battle as invite-only.
2017-10-10 19:34:52 -05:00
Guangcong Luo
ccac3add6e Make eslint rules stricter 2017-10-08 04:41:11 -05:00
Guangcong Luo
839e9d1a83 Force linebreaks at the ends of files 2017-10-08 03:05:29 -05:00
Guangcong Luo
cf2244d8ad Fix whitespace in HF chat plugin 2017-10-07 23:30:12 -05:00
Spherical Ice
46634c5382 Properly format the word Pokémon in datasearch (#4043) 2017-10-07 16:23:43 -05:00
asgdf
a25da567ad Modlog: fix result count display being off by one (#4044) 2017-10-07 16:20:00 -05:00
CheeseMuffin
f46b9bb338 Trivia: Delete questions by ID (#4042) 2017-10-06 00:44:46 -05:00
Bär Halberkamp
d3b8a00dd9 Wifi: add help for /giveaway count 2017-10-03 18:43:11 +02:00
Bär Halberkamp
8c0f3ee8ad Wifi: fix typo 2017-10-03 18:39:11 +02:00
Bär Halberkamp
a9c4f0c22a Wifi: change syntax error message to use pipes instead of commas 2017-10-03 18:37:14 +02:00