Commit Graph

1183 Commits

Author SHA1 Message Date
HoeenHero
1b0dca5d94 Helptickets: Add a shortcut command for appeals (#4409) 2018-02-09 09:24:24 +09:00
Bär Halberkamp
74270b27e8 Helptickets: Don't highlight users that aren't staff 2018-02-08 16:19:52 +01:00
Marty-D
9dbde332b2 Fix build error 2018-02-06 11:15:54 -05:00
Bär Halberkamp
ea6f61fa97 OTD: make prenoms persist after hotpatches and restarts 2018-02-06 16:39:14 +01:00
Guangcong Luo
f0dfc02a4b Fix past-gen /learn 2018-01-31 21:53:10 -06:00
CheeseMuffin
7f82b76ea6 Dexsearch: Add LC Uber to help (#4385) 2018-01-30 10:09:10 -06:00
Charlie Kobayashi
1ef018c93b COMMANDS.md: Reflect modlog changes (#4322) 2018-01-30 09:38:03 -06:00
Guangcong Luo
de7c58aad7 Validator: Fix egg move checking 2018-01-28 15:37:18 -05:00
Guangcong Luo
06bc0651b9 Fix room detection for doubles tier /data 2018-01-28 15:36:58 -05:00
Guangcong Luo
4f64074b6c Improve evolution move validation
This is specifically made to fix Nasty Plot + Surf Raichu.

Specifically, prevo moves are no longer compatible with evo event
moves.

Other incompatibilities (specifically, modern prevo moves with old-gen
evo moves) will be harder to fix, unfortunately.
2018-01-28 10:37:43 -06:00
Marty-D
878060795f
Update modlog permission check 2018-01-27 22:12:46 +00:00
Bär Halberkamp
9d8bb36081 Wifi: update wording 2018-01-27 00:49:55 +01:00
Guangcong Luo
2874492f94 Don't overwrite tier 2018-01-26 14:24:54 -06:00
KrisXV
aefa8c986a Add doublesTier (#4339) 2018-01-26 14:23:38 -06:00
Lycanium-Z
7ff401439c Block making polls in battles (#4375) 2018-01-25 08:43:16 -06:00
Guangcong Luo
4ef1c58606 Refactor various files for modern string standards 2018-01-24 15:47:18 -06:00
KrisXV
ebd832a91c Dexsearch: Fix "!weak" (#4374) 2018-01-24 15:12:57 -06:00
Bär Halberkamp
1656ef5429 TOTD: fix automatic ending of nominations 2018-01-24 16:40:19 +01:00
Bär Halberkamp
25d593debf TOTD: correctly reset voting to false 2018-01-24 16:29:38 +01:00
KrisXV
43c209155c Dexsearch: Add "weak" parameter (#4370) 2018-01-23 19:27:08 -06:00
HoeenHero
cba84970ed Fix crash in thing-of-the-day (#4371) 2018-01-23 20:25:00 -05:00
Marty-D
9a029f43f3
Fix /ipsearch 2018-01-23 20:19:28 +00:00
Bär Halberkamp
90498f0328 TOTD: compare ids of the command namespace
This keeps things like /AOTD from crashing the plugin
2018-01-23 20:18:56 +01:00
Bär Halberkamp
d44deff94a TOTD: fix spelling 2018-01-23 19:51:55 +01:00
Bär Halberkamp
99bd44eec6 TOTD: fix typo 2018-01-23 19:48:02 +01:00
Bär Halberkamp
0ce1dc9fcf Rewrite the studio's plugin, and add versions for the tvbf room 2018-01-23 19:37:51 +01:00
Guangcong Luo
e3a955b678 Fix mistaken const 2018-01-20 15:43:38 -06:00
Guangcong Luo
6677950e9b Deprecate chatContext.splitTargetText
chatContext.splitOne already exists and is less of a hack.
2018-01-20 14:34:52 -06:00
Guangcong Luo
691ee5a5c2 Make !report work in PMs 2018-01-19 12:33:50 -06:00
Guangcong Luo
66269d8e96 Fix Modlog maxLines passing 2018-01-18 20:39:44 -06:00
HoeenHero
631f64d66c Fix typo in room settings (#4354) 2018-01-19 05:06:31 +08:00
Bär Halberkamp
b9e960def2 Wifi: fix typo 2018-01-18 19:52:20 +01:00
HoeenHero
f9fbe1f2f1 Help Tickets: Add confirmation button (#4346) 2018-01-18 07:57:40 -06:00
Guangcong Luo
8132ab5981 Use PM.isParentProcess to detect parent/child process 2018-01-18 04:24:49 -06:00
Guangcong Luo
6ae6a8daf2 Remove debug code 2018-01-18 03:45:41 -06:00
Guangcong Luo
094d6ed677 Improve /report
Closes #4351
2018-01-18 03:40:32 -06:00
Guangcong Luo
ab1f995daa Rewrite Process Manager
Process Manager is now lib/process-manager.js

It's been entirely rewritten to reflect what I think a process manager
API should look like.

In particular, there are now two Process Managers, QueryProcessManager
and StreamProcessManager.

Pass QueryProcessManager a pure-ish query function (sync or async) that
takes a JSON value and returns a JSON value, and PM.query() will
execute that function in a subprocess, and return a Promise for its
return value.

StreamProcessManager is the same idea: Pass it a function to create an
ObjectReadWriteStream, and PM.createStream() will create a stream in a
subprocess and return a stream connected to it.
2018-01-18 03:34:16 -06:00
Guangcong Luo
8f3bed7e59 Make fsPath.read() return a string by default
This is an update to match how Streams work: .read() returns a string,
and .readBuffer() returns a Buffer.

Being able to statically predict what type .read() will return is
really useful to TypeScript, in addition to being generally useful for
readability.

As a side benefit, readTextIfExists() is renamed readIfExists().
2018-01-18 03:31:13 -06:00
urkerab
297af3b111 Allow formats to override checkLearnset (#4341) 2018-01-16 04:16:48 -06:00
Charlie Kobayashi
0df8118366 Update helptickets.js (#4317) 2018-01-09 13:18:23 -06:00
Charlie Kobayashi
5156af6b66 Help: Recreated tickets should have ticketban button (#4318) 2018-01-09 13:17:19 -06:00
Charlie Kobayashi
8706d257f2 Scavengers: change official time colours (#4323) 2018-01-09 13:16:16 -06:00
Bär Halberkamp
ac0ea3a91b Wifi: better modlog labeling 2018-01-09 17:27:27 +01:00
Charlie Kobayashi
331af4e794 Refactor Modlog Formatting (#3972) 2018-01-08 15:18:24 -06:00
urkerab
ff3ecccab0 Restricted makes more sense than banned in some cases (#4311) 2018-01-06 11:37:47 +08:00
Jeremy Piemonte
7ba4eb62d1 Datasearch: Consistently capitalize Gen in UI (#4309) 2018-01-05 10:05:33 -06:00
Kris Johnson
b197bc59e2 Check for Arceus and Silvally formes in /mnm (#4295) 2018-01-02 22:58:18 +08:00
Bär Halberkamp
1403128056 Wifi: Fix modlog entries for GTS giveaways 2017-12-31 00:29:56 +01:00
Bär Halberkamp
ebe418ba93 Hangman: Fix a mistake caused by the for...of refactor
To anyone else doing these refactors, for...of loops do NOT allow you to edit the element in place
2017-12-30 23:28:13 +01:00
Bär Halberkamp
e1c496915f Wifi: pretty much revert my last commit because I didn't use my brain 2017-12-30 00:59:48 +01:00