Ivo Julca
c765fe4d1e
/modjoin now makes rooms private and sets modchat as well
2014-09-15 22:59:30 -05:00
sirDonovan
f0e7b86a52
Implement room aliases
2014-09-14 01:50:34 -05:00
The Immortal
08358870e0
Fix /modchat
...
/modchat with a space sets modchat to " " instead of showing /help
because it is a group. It should actually set modchat off because " " is
the regular users group.
2014-09-05 23:55:34 +04:00
Relados
a14351b77a
Prevent use of modnote while locked or muted
...
Like all other moderator commands, being locked or muted should prevent usage of modnote.
2014-08-29 22:29:57 -04:00
Guangcong Luo
971274c415
Support filtering battles server-side
2014-08-29 18:36:49 -04:00
Guangcong Luo
bf5d23f980
New bypassall permission
...
Apples to admins, makes it so admins aren't affected by bans.
I'll make it apply to mutes etc later.
2014-08-25 22:31:05 -04:00
Guangcong Luo
0df3befce3
/slowlockdown command
...
Like /lockdown, but doesn't tell existing battles to hurry up.
For use in smogtours, but I guess other servers can use it too.
2014-08-23 22:20:20 -04:00
macrarazy
71661afc38
Add modlog entries for roomdesc/roomintro
2014-08-21 21:07:17 -05:00
Guangcong Luo
4590deff58
Log ac accounts of locked/banned users
2014-08-11 18:11:56 -04:00
Guangcong Luo
af2026436a
More style fixes and Gulpfile updates
...
JSHint is now a fair bit stricter, and is now correctly checking
files in `mods/`.
The code has been fixed to match the new stricter standards.
JSHint has now caught its second actual bug: Gen 5 Pinap Berry
was Ice instead of Grass.
2014-08-10 20:43:53 -04:00
Guangcong Luo
12b673bb49
Fix style errors; update gulpfile
...
I used a hack to make the multiple declaration errors go away,
so all that remained in jsHint were actual errors, which I've
now mostly fixed.
All this linting ended up uncovering one actual bug: Uproar's
message not showing. It's a very minor bug in a move no one uses,
so I'm going to fold it into this commit.
2014-08-10 18:06:44 -04:00
小太
d296551067
Remove obselete /banword commands
2014-08-11 00:41:14 +10:00
Guangcong Luo
78f8857318
Admins can bypass modjoin
2014-08-09 02:26:06 -04:00
The Immortal
33b46762b2
Don't show room demotion popup if the user is not in the room
2014-07-31 20:57:16 +04:00
Robin Vandenbrande
fce87ad5e4
Fix /redir not working when not using room id
2014-07-30 13:03:24 +02:00
Guangcong Luo
a9b9567b47
Merge pull request #1026 from panpawn/patch-19
...
Alias for modnote
2014-07-22 02:46:33 -05:00
小太
32ad9318c1
Rename tournaments/middleend.js -> tournaments/index.js
2014-07-19 19:51:55 +10:00
Slayer95
328eb85775
Add command /lockdetails to check if a locked IP is in a DNSBL
2014-07-11 03:43:35 -05:00
小太
4bf80f4d43
Rename frontend.js to middleend.js
2014-07-09 01:58:50 +10:00
The Immortal
08afd0dc8b
Check if modchat is set when lockdown is used
2014-07-05 19:57:12 +04:00
The Immortal
60c0feaea7
Set modchat + in battles on lockdown
2014-07-05 19:44:38 +04:00
Guangcong Luo
5e2d0f1ed1
Revert 6155ac0f7f
2014-06-27 23:04:08 -04:00
The Immortal
6155ac0f7f
Only allow drivers and up to broadcast roomintro
2014-06-27 22:30:01 +04:00
小太
092bd984cd
Minor reordering of room commands
2014-06-27 18:11:24 +10:00
小太
f922632f59
Format /roomauth results v2
...
Update of #983
2014-06-27 16:56:15 +10:00
Guangcong Luo
b7ab7b390a
IPs are no longer visible to drivers/roommods
2014-06-26 23:13:31 -04:00
Guangcong Luo
73e3ffaf9a
Roomintro feature
2014-06-26 22:53:37 -04:00
Guangcong Luo
3fced9b0f5
Only admins can change roomdescs
2014-06-26 22:53:37 -04:00
Relados
f6240f36ca
Make alts show only to auth on mute, lock and ban
...
Alts shouldn't be publicly displayed when someone is muted, locked or banned. It would prevent spam and protect the privacy of users to make them appear only to authority.
2014-06-23 09:28:59 -05:00
panpawn
cb6d770b25
Alias for modnote
2014-06-21 15:28:11 -04:00
Guangcong Luo
03c72c5021
Merge pull request #1021 from Slayer95/roomban
...
Fixes for room bans
2014-06-19 16:24:30 -05:00
Slayer95
6b7f71df0f
Make sure that alts leave when a user is banned from a room
2014-06-19 15:48:51 -05:00
Guangcong Luo
26f05a831b
roomauth can use /modnote
2014-06-18 01:25:43 -04:00
Morfent
21575a2aea
/rb and /banip return if target is already banned
2014-06-13 22:24:24 -03:00
Slayer95
3ea6fe03cf
Friendlier error messages for /fr
2014-06-01 17:22:12 -05:00
The Immortal
10939bc0da
Merge pull request #969 from Morfent/patch-3
...
Add /unroomban alias
2014-06-01 03:01:05 -07:00
Morfent
b0044c831d
Add /roomunban alias /unroomban
...
Add /roomunban aliases /rub and /unroomban
Add /roomunban alias /unroomban
2014-06-01 00:12:18 -03:00
TalkTakesTime
13f5de86b1
Prevent mod actions when a user can't speak
2014-05-29 22:39:36 +12:00
Guangcong Luo
747b17641f
Fix typo 'ibans.txt'
2014-05-29 01:57:13 -04:00
Slayer95
86b7ddf9d6
Fix /fr failing to check prior name changes
2014-05-27 14:02:02 -05:00
Slayer95
4c009d79fb
Update /help
...
Added help for pick, htmlbox, roompromote, roomdemote commands.
Also linked /dice and /modnote to their respective help sections.
2014-05-27 13:54:07 -05:00
Morfent
0c83b70ee0
Fix /l and /unlock, uniform undef. target returns
...
If the target of /lock and /unlock doesn't exist, they return "User undefined not found."
Also made all the mod commands with targets that don't exist return the same message as /roomban does for consistency.
Bring back change from commit d1ed6f7
Actual d1ed6f7 , /unlock and /unban offline users
Fix /l and /unlock, uniform undef. target returns
2014-05-24 19:39:01 -03:00
Morfent
d1ed6f7517
Edit /unmute not muted message
...
Nitpicky. Makes it consistent with the other /un mod command messages
2014-05-24 01:59:41 -07:00
Slayer95
b025743d34
Global 'sanitize' is now 'escapeHTML' method of Tools
2014-05-12 20:52:29 -05:00
TalkTakesTime
4d5f32fd4c
Refactor unlinking code
2014-05-06 00:08:54 +12:00
The Immortal
da5c916e06
Remove aliases for /forfeit
2014-05-05 11:58:24 +04:00
Guangcong Luo
b0ee7517e2
Merge pull request #879 from Morfent/patch-3
...
/roomunban no longer unbans users not roombanned
2014-05-04 20:44:00 -05:00
TalkTakesTime
5eee04efed
Unlink most recent name of guests, not userid
...
Currently a user can send a link and log out quickly, resulting in the |unlink| never unlinking their message (instead it unlinks the guest### messages, which don't exist). This unlinks the current name of a user, or their most recent one if they aren't named
2014-05-01 18:24:46 +12:00
Guangcong Luo
5c7949c0b1
Revert "Merge pull request #824 from kotarou3/shadowban"
...
Its CPU usage is unacceptable for main.
This reverts commit cfc30d71b1 , reversing
changes made to 68b42fe6a7 .
2014-04-30 22:16:55 -04:00
Guangcong Luo
c4770be0cf
Fix crash in /memusage
2014-04-30 22:09:55 -04:00