Commit Graph

173 Commits

Author SHA1 Message Date
Hector Garcia
e8b94f1978 Enforce intended alternatives limit in /ds 2015-12-21 00:36:39 +00:00
Guangcong Luo
0e9eb64193 Add help for /rules 2015-12-19 04:12:31 -05:00
Quinton Lee
58d85bec38 Info: Fix typo in /help dexsearch 2015-12-14 14:39:21 -06:00
Guangcong Luo
a659f6733f Don't require HTTPS for images
Most images are hosted in places that already support HTTPS, so all
we need to do is transparently rewrite them to be protocol-local.

For the rest, I don't care enough to enforce HTTPS on them. At
least wait for browsers to complain more about it...
2015-12-12 20:52:56 -06:00
Ivo Julca
303155bdf3 Require HTTPS for images 2015-12-11 21:55:41 -05:00
Guangcong Luo
332a65f9c0 Convert some Users tables to ES6 Maps
Specifically, Users.users, Users.connections, and Users.pastUsers
are now ES6 Maps. In theory, this should be a minor performance
upgrade, but we still need to profile to make sure.
2015-12-10 11:52:26 -05:00
MonoHearted
fe1796dcbf Update info.js 2015-11-26 07:03:35 -08:00
The Immortal
0650ce9701 Info: Update /om 2015-11-25 20:58:57 +04:00
Ivo Julca
4aeb6917a0 Fix /data for natures 2015-11-23 17:18:08 -05:00
Ivo Julca
e2b0bf61be Report inexact matches in Tools#dataSearch 2015-11-21 02:37:48 -05:00
Juanma Serrano
8de8cdfa31 Avoid infinite loops on itemsearch command
This command was causing infinite loops that caused PS to die several times.
It was adding new elements on an array that was being looped at the moment for some reason.
The command seems to work better now, even though the functionality may be faulty, but it's prefered to causing an infinite loop.
We may need to revisit this command and change it for one that doesn't tries to use natural language.
2015-11-20 14:20:01 +01:00
Nineage
c10743d4e1 Add /isearch as an alias for /itemsearch 2015-11-15 17:06:25 -08:00
Marty-D
945e41a3d2 Fix crash in dexsearch 2015-11-09 15:37:50 -05:00
Ivo Julca
8629883279 Smogdex: support Giratina-O and CAP 2015-11-08 13:04:45 -05:00
Guangcong Luo
a918812201 Remove some unused variables
This cuts down on the number of exceptions for eslint
2015-11-07 23:05:55 -06:00
Ivo Julca
7dddb66253 Migrate build system to ESLint
JSHint's ES6 support is shaky, and its development has stalled as of late.
Since ESLint can do by itself both JSHint and JSCS' jobs, this commit replaces them.
Gulp and its related dependencies are also hereby removed.
2015-11-07 21:36:49 -05:00
Ivo Julca
9a52fe337f Parse all numerical user input as base 10
Also took the chance to commit some style fixes missed in 90973d5 and 04c64c1.
2015-11-07 20:08:01 -05:00
Ivo Julca
ee74a5e71f Allow broadcasting searches in personal rooms 2015-11-07 12:14:13 -05:00
Juanma Serrano
c4ac8d6e2f Use strict mode and let and const instead of var
This commit also fixes some duplicated variable declarations.
2015-11-06 21:56:52 -05:00
Guangcong Luo
2080f85945 Drop outdated <a room="roomid"> syntax
We now automatically handle room links using <a href="/roomid">.
2015-11-06 16:35:22 -05:00
Bär Halberkamp
f33b1e3bac Fix some mistakes in the banned rooms feature 2015-10-20 04:08:15 +02:00
SolarisFox
3b43f78e4b /dexsearch: update /help dexsearch 2015-10-19 12:49:38 -07:00
SolarisFox
75f4db5951 /dexsearch: fix 'cap' not returning any pokemon 2015-10-19 11:36:15 -07:00
Bär Halberkamp
831900abb5 Allow roommods and globals to check what rooms a user is banned from 2015-10-16 09:34:30 +02:00
Slayer95
4302243bd6 Merge pull request #2204 from Rhythms88/master
Add /faq tiering in info.js
2015-10-11 21:56:13 -05:00
Rhythms
80ac2aca1e Add /faq tiering in info.js 2015-10-08 20:24:47 -06:00
SolarisFox
0ec869d3d7 /dexsearch: OR operator for parameters 2015-10-08 14:05:28 -07:00
Ben Davies
7364f8aabd /showimage: accept CSS height/width values
Users no longer have to do /showimage url,, to show an image at its
default dimensions. They may also use whatever values they want for the
height and width styles so long as they're valid.
2015-10-07 04:24:01 -03:00
Guangcong Luo
87023373a2 Document why image width/height is required 2015-10-07 02:13:23 -04:00
panpawn
1970e83784 Add /staffintro to /roomhelp
Room moderators now gain a new command (/staffintro), so we can list it in /roomhelp along with the others.
2015-10-04 00:12:35 -04:00
Guangcong Luo
94cfd2b492 Disallow images in personal rooms 2015-10-01 18:10:06 -04:00
Guangcong Luo
f71f883f75 Merge pull request #2188 from bumbadadabum/statcalcfix
Fix some serious oversights in /statcalc
2015-09-30 17:30:50 -05:00
Bär Halberkamp
5be272ed0f Fix some serious oversights in /statcalc 2015-10-01 00:19:59 +02:00
Bryan AA
b99c61be2e PS: Improve usage of 'this.errorReply' 2015-09-28 11:17:55 -06:00
Freigeist
28eb342ff2 Fix output of special chars in /dexsearch, /movesearch and /itemsearch 2015-09-28 02:18:51 +02:00
Guangcong Luo
1ea0e85706 Merge pull request #2178 from AustinXII/patch-5
Add Tournament Help in /roomhelp
2015-09-25 20:30:00 -05:00
Austin
66bb20363e Update info.js 2015-09-25 19:25:21 -06:00
Ivo Julca
530af9b1b5 Update Font-Awesome classes to 4.4 2015-09-25 18:25:49 -05:00
Austin
dc00c57650 Add Tournament Help in /roomhelp
Update info.js
2015-09-24 21:46:43 -06:00
Guangcong Luo
5a6125514e Merge pull request #2153 from bumbadadabum/master
Updated /statcalc to accept pokemon as well
2015-09-21 18:17:41 -05:00
Guangcong Luo
7d22fcee6e 'makeroom' permission can now see private rooms in /whoare 2015-09-18 21:20:29 -04:00
Bär Halberkamp
ca8ffde099 Update /statcalc to accept pokemon as well 2015-09-18 21:00:13 +02:00
Konrad Borowski
cd2e470276 Fix negation of boolean conditions in /ds
Previously, something like !ds !recovery didn't work, because the
existence search check assumed that the search cannot be called with
parameter false. However, boolean searches like recovery and priority
do simply use booleans.
2015-09-17 19:47:25 +02:00
Bär Halberkamp
a6bd40850d Add a /statcalc command 2015-09-16 16:19:43 +02:00
Juanma Serrano
c83f967d4f Add 'searchip' alias for 'ipsearch' command
Makes sense and it's a common mistake.
2015-09-16 11:56:54 +02:00
Juanma Serrano
379a7bba44 Merge pull request #2084 from Irraquated/patch-1
Add /roomdeauth to /roomhelp
2015-09-16 10:36:08 +02:00
Bryan AA
1dcf176466 Escape é in info.js 2015-09-04 12:29:23 -06:00
Konrad Borowski
395a48173c Correct Veekun nature link. 2015-08-24 10:08:14 +02:00
Rhythms
69c5266016 Add check in /veekun for real/fake abilities and moves 2015-08-23 00:50:38 -06:00
Konrad Borowski
45fdb8a431 Add /veekun command for checking Veekun Pokedex 2015-08-22 14:55:10 +02:00