Commit Graph

336 Commits

Author SHA1 Message Date
HoeenHero
66916aca5a Tickets: Fix bug with expiring ticket bans 2020-01-18 15:18:35 -05:00
whales
c4ae4cfdc3 Fix namemonitor message 2020-01-15 20:19:39 +10:30
Waleed Hassan
6714e14fc5 Fix max line length warnings (#6286) 2020-01-14 15:30:50 +04:00
whales
4818190b98 Always show shared battles button in helptickets 2020-01-14 12:29:27 +10:30
HoeenHero
56e850ff8e Remove leftover debug statement 2020-01-10 20:49:20 -05:00
HoeenHero
b1890bb343 Tickets: Only write on destory for open tickets 2020-01-08 08:58:35 -05:00
HoeenHero
86e3c81b8a Tickets: Ticket rooms expire and close after 40 minutes of inactivity 2020-01-01 20:45:17 -05:00
HoeenHero
913a3b456e Tickets: Improve ticketban detection 2020-01-01 20:45:16 -05:00
HoeenHero
4704288839 Tickets: Don't use date strings due to inconsitensies between node versions
Date strings can have inconsitensies between browsers and apparently node versions too.
sim3 uses a newer node version and as a result date calculations are off by one.
I have swapped to using individual date componets eg `new Date(2020, 0)` to fix this.
2020-01-01 20:45:15 -05:00
Kris Johnson
649ac8ea6b Typescript uno/othermetas/hangman (#6229) 2019-12-31 17:52:26 +09:00
SirMisterGit
10f034c798 Mafia: Don't show "partners" to traitor faction (#6205) 2019-12-30 20:37:39 -05:00
HoeenHero
427dc80346 Tickets: Add a dash to IP-Appeal 2019-12-29 19:26:42 -05:00
Claire238
744853cb89 Fix spelling for punishment list (#6199) 2019-12-23 09:49:46 +09:00
Leonard Craft III
d57cf6b518 Capitalize "Showdown" in IP-Appeal Help Ticket message (#6185) 2019-12-15 03:32:07 +09:00
HoeenHero
37600b7094 Helptickets: Require users to give input for IP-Appeal tickets 2019-12-13 20:58:53 -05:00
Ben Davies
a17b81ccf7 Trivia: nuke | 0 int flooring hack
Cool optimization bro, too bad numbers like -0 exist
2019-12-13 08:07:35 -04:00
Waleed Hassan
df14f875ec Add a RoomBattle#challengeType property (#5940)
This commit adds a `challengeType` property to `RoomBattle` of
type `rated | unrated | challenge | tour`.

Previously, there was no way to programatically differ an unrated
battle from a challenge, which is useful in places like filters.
2019-12-12 19:09:43 +09:00
Dragonmirror27262
128a3391f8 Fix roomevents help messages (#5800) 2019-12-12 00:20:35 +04:00
whales
82b4d95b8e Mafia: Allow setting an IDEA's rolelist as a theme (#6173) 2019-12-12 00:17:45 +04:00
Kris Johnson
8eaf19f882 Add past gen support for /mnm and /stone (#6177) 2019-12-12 00:13:47 +04:00
whales
fb6f7cb7dc Typescript mafia (#6145) 2019-12-09 22:17:09 +09:00
whales
0b9d8dd109 Support declarative roomsettings syntax (#6119) 2019-12-06 23:16:55 +09:00
Spandan Punwatkar
4876127f08 Update datasearch.js (#6144) 2019-12-05 18:04:01 +04:00
Spandan Punwatkar
530e382df1 Fix moves in /nds (#6138) 2019-12-04 15:24:50 +09:00
The Immortal
7c6364edaf Fix /mnm crash 2019-12-03 02:00:52 +04:00
whales
f98261d91f Mafia: Use a slightly better hack to allow hosts to broadcast (#6129) 2019-12-01 14:29:50 -05:00
whales
7446c65c93 Mafia updates
Fix Illusionist data, allow hosts to broadcast dt, fix error for joining a full game
2019-12-02 01:16:53 +10:30
The Immortal
f39b05fd1e Update /mnm
Update to gen 8 and remove unnecessary warnings.
2019-11-30 05:46:12 +04:00
Spandan Punwatkar
3deb1c69c4 Dexsearch: Allow searching national dex (#6106) 2019-11-28 12:40:30 -05:00
Spandan Punwatkar
d2ac1f1eb9 Dexsearch: Allow searching for some formes (#6103) 2019-11-28 23:17:23 +13:00
urkerab
09b66da216 Use Chat.html`` a bit more 2019-11-27 15:14:46 +01:00
Spandan Punwatkar
63694edf91 Some movesearch changes (#6071) 2019-11-27 22:28:03 +13:00
Astrid Halberkamp
aace3c4265 Spoiler racial slur evasion 2019-11-25 02:08:43 +04:00
asgdf
2650884341 Remove erroneous autolink escape formatting (#6047) 2019-11-22 01:11:29 +04:00
whales
841c028f12 Require a break on either side of evaded words (#5991) 2019-11-21 07:15:51 +13:00
420Blazeitt
57885ec588 Update /learn description to include /usumlearn (#6024) 2019-11-20 14:41:25 +13:00
TheMezStrikes
3136f4d785 Update datasearch for gen 8 (#5965) 2019-11-19 23:43:43 +04:00
fart
a8b5ef671f Limit MNM warnings to CAP stones (#6018)
Right now the /mnm command results in warnings that the mega stone is a CAP stone, even when it is not. This is because isNonstandard is now set to "Past" instead of undefined.
2019-11-19 20:21:52 +04:00
Lusamine
b0e649972b Update Wi-Fi GA message for Gen 8 (#6004) 2019-11-19 05:20:02 +04:00
whales
e36dda7b09 Add a few more characters to the evasion filter 2019-11-18 12:59:44 +10:30
asgdf
f1a714d426 Fix /ts command to use gen 7 tier data (#5971) 2019-11-17 09:09:04 +13:00
whales
0d7e473672 Allow viewing roomfaqs without showing source (#5944) 2019-11-16 00:12:26 +13:00
whales
28be861480 Don't use default property values in announcements 2019-11-15 16:14:00 +10:30
Guangcong Luo
23f9bfa1b7
Split up server/chat-commands/ (#5943)
`server/chat-commands.js` is now a directory. It's been split into
`core`, `moderation`, and `admin`. `info` and `roomsettings` from
`chat-plugins` have also moved to `chat-commands`.

Some cleanup:

- Bot commands for inserting HTML into rooms like `/adduhtml` have been
  moved from `info` into `admin`.

- `/a` has been renamed `/addline`, for clarity (and also moved from
  `info` into `admin`).

- Room management commands like `/createroom` and `/roomintro` were
  moved to `room-settings`

- `chat-commands/admin` has been TypeScripted
2019-11-15 11:12:54 +13:00
Lusamine
a591b639f7 Fix handling of locked and proxy connections (#5938) 2019-11-15 11:10:04 +13:00
Guangcong Luo
411afba392 TypeScript Announcements/Poll chat plugins 2019-11-11 02:13:48 +13:00
Guangcong Luo
c40a7d2fb2 Allow broadcastable commands in command console
Command consoles previously would silently fail if you used a
broadcastable command (like `/dt` or `/learn`). They are now let
through, although actually trying to broadcast (like `!dt`) will
still show an error message.
2019-11-11 02:13:48 +13:00
HoeenHero
6bf6c6596b Do not allow tickets to stay open for more than a day 2019-11-09 14:34:53 -05:00
HoeenHero
e78155766d Tickets: Automate & improve various tasks
- Automatically request PM logs from users when possible in PM harrasment tickets.
- Add a button to check a reported user's global modlog to all tickets.
- Add buttons for force-renaming/clearing the status of a user in inappropriate name/status tickets.
- Add a button for checking shared battles between a the reporter and reported user for battle harrasment tickets.
- Other minor improvements.
2019-11-06 10:27:59 -05:00
HoeenHero
d13a981fea Tickets: Don't active tickets when they are claimed 2019-11-06 10:27:58 -05:00