Commit Graph

23714 Commits

Author SHA1 Message Date
The Immortal
baa7df1d8d Save IP of banned users in the modlog
This adds a second parameter to addModCommand which is shown in the
modlog but not in the room log.
2013-09-23 21:27:03 +04:00
Quinella
8d41e4fe8b Removed unused variable and updated protocol-doc.md for format columns 2013-09-23 18:48:49 +02:00
Quinella
38d7354c28 Adds the possibility to put sections in other columns
At the first one of each section, an integer `column` is needed if you want it in an other column than the first one
2013-09-23 18:40:18 +02:00
The Immortal
2a9d249074 Transform ignores Substitute in Gen 4 2013-09-23 14:34:49 +04:00
V4Victini
bff39c8be0 Remove VGC 2013 from !othermetas 2013-09-22 21:28:46 -04:00
Guangcong Luo
f3e1fdc9bc Merge pull request #351 from Quinella/modchat
Tells users on join that modchat is in effect if applicable
2013-09-22 16:45:06 -07:00
Guangcong Luo
4ad19bb333 Refactor: Rename some permissions functions
In particular, Development Staff has been renamed to System Operator.
2013-09-22 16:42:52 -07:00
Quinella
fd665e6a83 Tells users on join that modchat is in effect if applicable 2013-09-23 00:58:04 +02:00
Guangcong Luo
875e6d5988 Implement /modchat autoconfirmed 2013-09-22 00:11:56 -07:00
Guangcong Luo
435595254a UU suspect test enters second phase 2013-09-22 00:11:42 -07:00
Guangcong Luo
3fdd6c3e97 Fix crash with autoconfirmed setting 2013-09-22 00:11:19 -07:00
Guangcong Luo
b405eda34a Allow !dice to be used in the lobby 2013-09-22 00:10:55 -07:00
Guangcong Luo
47723b2e11 Support new autoconfirmed user status
Autoconfirmed users are users whose accounts existed for more than one
week and who have played at least one rated battle.
2013-09-21 21:17:45 -07:00
Guangcong Luo
983019a259 Merge pull request #349 from Quinella/chattime
Added |tc| and the like for correct time in replays
2013-09-21 17:47:16 -07:00
Quinella
fec8477438 Prunes logTimes together with log now 2013-09-22 02:44:27 +02:00
Quinella
677b808338 Fixed a lingering change which should have been removed earlier 2013-09-22 01:12:49 +02:00
Quinella
c36e8216be Added |tc| and the like for correct time in replays
It practically saves the time in a separate var for each log item in order to calculate the delta time
2013-09-22 01:02:02 +02:00
Guangcong Luo
6a2add8898 ipbans.txt now supports CIDR format
This introduces a new file cidr.js, which handles matching CIDR IP
blocks. It replaces our dependency on node-ip.

The old proxy IP system is also moved to cidr.js.
2013-09-21 14:15:11 -07:00
Guangcong Luo
597d7977b0 Fix crash in previous commit 2013-09-21 14:08:17 -07:00
Guangcong Luo
af6a52b399 Staff can now PM admins blocking PMs
Also improve error message when PMing admins with blockpm on.
2013-09-21 11:21:59 -07:00
Guangcong Luo
451f353d73 Merge pull request #348 from Quinella/master
Fixes Mirror Move so that it uses the target's last move instead of the battle's
2013-09-20 14:47:19 -07:00
The Immortal
be2c688080 Add new events
- Character Fair Jirachi
- Chilseok Jirachi
- VGC Nationals Junior Champion Do Heun's Hitmontop
- Summer Shiny Dialga
- VGC Nationals Senior Champion Seung Heon's Cresselia
- VGC Nationals Master Champion Sejun's Liepard
- Summer Shiny Palkia
- Chief Golgo's Sableye
- Summer Shiny Giratina
2013-09-20 20:44:06 +04:00
The Immortal
e9d11ecbb2 Revert "UU Suspect Test is over"
This reverts commit 56046cfd22.
2013-09-20 16:27:04 +04:00
Juanma Serrano
56046cfd22 UU Suspect Test is over
Re-activate resetted regular UU ladder and delete 
suspect ladder.
2013-09-20 12:27:02 +02:00
Juanma Serrano
df5f4df62d Improve Dice command
Make the command more compliant with DRY and PS style.
2013-09-20 09:40:05 +02:00
Guangcong Luo
8bdbcf49fb Merge pull request #345 from Cosym/patch-13
Dice/Roll command
2013-09-19 22:36:28 -07:00
Cosym
b7661a8a64 Dice/Roll command
Dice command to generate a number between 1 and 6 by default, or by 1 and the target if user specifies one.

Cannot be used in lobby, and specified target cannot be longer than 21 characters.
2013-09-19 16:33:35 +01:00
Quinella
613ce86b12 Fixes Mirror Move so that it uses the target's last move instead of the battle's. 2013-09-18 20:27:22 +02:00
小太
81f2622547 Merge branch 'tournaments' into tournaments-frontend 2013-09-18 16:01:57 +10:00
小太
f2ce7551b4 Fix problem with disqualification in elimination tournaments 2013-09-18 16:01:39 +10:00
Joimer
ec71aa13a2 Gen 6: Add Hidden Power Fairy support
With the blooming of gen 6 mods and the advent of gen 6, add support
for Fairy-type Hidden Power so it can be used in gen 6 or gen 5.5 mods.
hpTypes max at 15 on gen 2 calcs and gen 3+ calcs if the maxTypes var
is at 15, so adding Fairy-type to the types array is harmless.
2013-09-17 14:24:09 +02:00
小太
dba16848bf Merge branch 'tournaments' into tournaments-frontend 2013-09-17 19:39:03 +10:00
小太
0ba2e7e9a1 Include license for the minified closure library TreeNode file 2013-09-17 19:37:27 +10:00
Joimer
f5528f30e6 Fix crash in dexsearch command 2013-09-16 09:38:39 +02:00
小太
82873b42ac Improve tournament hotpatching and move to commands.js 2013-09-16 16:34:08 +10:00
小太
250aeb3260 Merge branch 'tournaments' into tournaments-frontend
Conflicts:
	app.js
2013-09-16 16:05:45 +10:00
小太
435460387d Merge remote-tracking branch 'upstream/master' into tournaments
Conflicts:
	package.json
2013-09-16 16:04:24 +10:00
小太
6d7fa2b7b4 Add elimination to available tournament generators 2013-09-16 16:02:14 +10:00
小太
72b7278088 Merge branch 'tournaments' into tournaments-frontend 2013-09-16 16:02:05 +10:00
小太
9ffbb4fb8a Fix quotes 2013-09-16 16:01:46 +10:00
小太
3abf381182 Add elimination tournaments 2013-09-16 16:00:56 +10:00
Guangcong Luo
975d5cf76a More detailed banned messages 2013-09-15 20:59:47 -07:00
小太
16c01ec456 Some small fixes 2013-09-15 22:21:45 +10:00
小太
9ac9c123c0 Add tree-type tournament support, command for changing tournament type and ability to pass arguments to the tournament generators 2013-09-15 18:58:12 +10:00
小太
b1111465b2 Update to match specs 2013-09-15 18:57:24 +10:00
小太
3ba46330c6 Merge branch 'tournaments' into tournaments-frontend 2013-09-15 18:51:13 +10:00
小太
3c4b65fdbf Update to changed spec 2013-09-15 18:51:01 +10:00
Guangcong Luo
0dba0d50cb Workaround fix for Mold Breaker Unaware 2013-09-14 16:50:42 -07:00
Guangcong Luo
ab3fd9721a Merge pull request #339 from piiiikachuuu/patch-1
If a command is unrecognized, send the error message to the correct room.
2013-09-14 15:28:16 -07:00
piiiikachuuu
a1f046cab8 If a command is unrecognized, send the error message to the correct room. 2013-09-14 17:48:18 -04:00