Commit Graph

18 Commits

Author SHA1 Message Date
Vacate
91d19f95d6 Minor wording fixes in /movesearch (#2551) 2016-05-08 03:05:26 +04:00
Guangcong Luo
4a995350bb Shim Array#includes
This also refactors everything to use Array#includes except data
and mods, which are large enough that I'll refactor them later
probably.
2016-05-04 02:55:18 -07:00
Ivo Julca
232785b1d1 DataSearch: handle exceptions in queries 2016-05-02 22:48:07 -05:00
Ivo Julca
22779102cc Lint: Add miscellaneous extra rules
Among the newly added rules, there are quite a few intended to enforce
compliance of CONTRIBUTING.md-blessed idioms, as well as ensure
safe usage of classes and constant bindings.

We are also now enforcing usage of early return in commands.js,
which has 100% compliance as of fd2c45c.
2016-04-25 21:52:21 -05:00
urkerab
7b292840aa Add contest conditions to move searches (#2519) 2016-04-17 06:37:09 -07:00
Caleb Young
4b50059d24 /dexsearch - Prevent LC Ubers being included in LC (#2506) 2016-04-14 04:30:14 +04:00
SolarisFox
e3b226f8f4 /dexsearch: improve tier seaches 2016-04-06 16:57:53 -07:00
Quinton Lee
0e12b8ae30 Dexsearch: fix input validation 2016-04-06 15:37:42 -05:00
SolarisFox
be8ab93e8a /dexsearch: improve input validation 2016-04-06 00:24:19 -07:00
SolarisFox
a9f67a3991 /dexsearch: add 'resists' parameter 2016-04-04 00:24:10 -07:00
Ivo Julca
10bb83bf3c Improvements to command broadcast API
- Method `this.runBroadcast()` has been split from `this.canBroadcast()`.
It's now the only method handling command-usage and intended as the main API
for synchronous commands. Async commands will execute both separately.
Note that the `suppressMessage` parameter is now passed to `runBroadcast`.

- The semantics of `broadcasting` have been similarly split.
`this,broadcastMessage` will be set to a truthy value when `this.canBroadcast` is run.
`this,broadcasting` will only be set to `true` once `this.runBroadcast` is executed.
2016-04-02 15:46:13 -05:00
Bär Halberkamp
84d6d328fc Fix another oversight in randpoke 2016-04-01 03:54:01 +02:00
Bär Halberkamp
a0caee2a07 Fix this.broadcasting not being set in the datasearch commands 2016-04-01 00:52:16 +02:00
Ivo Julca
87c982e2fe Fix misleading comment in datasearch header
The commands provided are never synchronous.
2016-03-31 16:53:09 -05:00
Ivo Julca
f901bfe31e Fix data load in informational plugins
- Single-process `datasearch` requires mods.
- `info` requires Gen 6 data.
2016-03-31 16:50:50 -05:00
Ivo Julca
bbb58d5a29 Add a test for old-gen /learn 2016-03-31 14:01:11 -05:00
Bär Halberkamp
4b326d75eb Fix /learn not working, and filter out more bogus input 2016-03-31 20:12:25 +02:00
Bär Halberkamp
0e206dcd42 Make /learn multiprocess using the same process as /ds 2016-03-31 15:59:36 +02:00