Commit Graph

1125 Commits

Author SHA1 Message Date
Guangcong Luo
417a2aad51 Fix spacing for Ticketban button 2017-12-26 00:25:10 -06:00
Guangcong Luo
0053e88683 Help tickets: Refer password resets to adminrequests 2017-12-25 01:19:47 -05:00
Kris Johnson
4393b36914 /mnm: Remove redundant parts of warning messages (#4220) 2017-12-24 16:45:07 -05:00
Guangcong Luo
24da0d3bd3 Add Ticketban button 2017-12-23 23:28:00 -06:00
Guangcong Luo
322cfaae73 Notify Staff better for Help tickets 2017-12-23 05:00:11 -05:00
Kris Johnson
3ac1f17195 MnM: Ban Gengarite and Shadow Tag (#4273) 2017-12-22 13:02:39 +08:00
Guangcong Luo
176264d39f Improve Help ticket Staff-notification design 2017-12-21 05:54:26 -06:00
Guangcong Luo
3d85291ade Don't modlog routine Help ticket changes 2017-12-21 05:54:26 -06:00
Guangcong Luo
0bbda418bf Rename tickets.js -> helptickets.js 2017-12-20 21:19:09 -06:00
Guangcong Luo
87baef3230 Use less code duplication in Help Tickets 2017-12-20 21:18:48 -06:00
HoeenHero
b1d0cb3361 Tickets: Bug fixes and improve form (#4270) 2017-12-20 21:00:21 -06:00
Guangcong Luo
a5b49cd9c1 Help tickets: Prevent inconsistent state hotpatch crash 2017-12-20 20:57:36 -05:00
whales
cd9a39c5fe Tickets: Fix crash on escalation (#4268)
Tickets would store the user object of the staff that escalated it, which crashes when it tries to stringify it.
2017-12-20 16:17:00 -06:00
CheeseMuffin
510c6940b7 Fix generation params in /weak (#4269) 2017-12-20 16:16:08 -06:00
Guangcong Luo
c21586d87f Fix Help Tickets expire timer 2017-12-19 23:20:59 -05:00
HoeenHero
227f7b4741 Modlog: Fix search all rooms (#4266) 2017-12-19 15:13:56 -06:00
HoeenHero
44ec13b79d Tickets: Fix expriation (#4265) 2017-12-19 15:12:42 -06:00
Guangcong Luo
0d43204487 Change room log API
Interaction with room logs is changing to be more straightforward. This
is the first step of the change, which changes rooms.js.

- Rename: logEntry -> roomlog
- Rename: sendModCommand -> sendMods
- Rename: addLogMessage -> addByUser
- New function: sendModsByUser

The long-term plan is documented in:

https://github.com/Zarel/Pokemon-Showdown/pull/3972#issuecomment-352226219
2017-12-18 22:51:21 -06:00
Teremiare
c8fadb61c9 Dexsearch: don't show nfe pokemon as lc (#4262) 2017-12-18 15:33:06 -06:00
Quinton Lee
12d10c80d5
Fix !checkchallenges 2017-12-16 18:34:28 -06:00
Guangcong Luo
193e948592 Move crashlogger.js -> lib/crashlogger.js 2017-12-16 15:40:45 -06:00
Guangcong Luo
738c60ed8b Move repl.js -> lib/repl.js 2017-12-16 15:40:45 -06:00
Guangcong Luo
a9540917f5 Move fs.js -> lib/fs.js 2017-12-16 15:40:45 -06:00
Jeremy Piemonte
965b7f618b Help Tickets: Remove redundant |html| (#4252) 2017-12-14 14:11:57 -06:00
Guangcong Luo
c63e57f2e9 Defer joining restricted HTML rooms until login
This makes it so staff-only HTML rooms can defer rendering until the
user has logged in.

This also introduces a new constant `Rooms.RETRY_AFTER_LOGIN` which
makes it clearer what returning `null` means in context.
2017-12-13 23:33:33 -06:00
Guangcong Luo
e5a48cd8c1 Change help ticket claiming
Staff members no longer auto-claim their own tickets upon joining.

Closing a ticket claims it as well.
2017-12-13 16:12:04 -06:00
Guangcong Luo
9ee2c6f888 Redesign Help ticket list 2017-12-13 16:12:04 -06:00
Charlie Kobayashi
703393642e UNO: colour + UNO interaction, make UNO button easier to press (#4247) 2017-12-13 15:33:59 -06:00
Guangcong Luo
df6792a588 Support !requesthelp 2017-12-13 02:19:31 -06:00
Guangcong Luo
fcde94b026 Add /helprequest as alias of /requesthelp 2017-12-13 01:07:15 -06:00
Guangcong Luo
50266ae4d2 Redesign Help ticket notification 2017-12-13 01:07:01 -06:00
Guangcong Luo
f13093177b Rename help ticket roomids
`view-ticket-create` -> `view-help-request`
`view-ticket-list` -> `view-help-tickets`
2017-12-12 16:01:36 -06:00
HoeenHero
06c0fcce5d Dont notify staff about ticket bans (#4244) 2017-12-12 14:50:50 -06:00
Guangcong Luo
f403a5d3ea Refactor some forEach to for...of 2017-12-12 14:50:08 -06:00
HoeenHero
a4a3f85e9b Remove ticket alias (#4243) 2017-12-12 12:20:45 -06:00
HoeenHero
735e6e4d06 Help Tickets: Bug fixes & Improvements (#4242) 2017-12-12 11:15:32 -06:00
Guangcong Luo
32673acb59 Improve modlog link API 2017-12-12 04:26:11 -05:00
Guangcong Luo
6dfcb131ca Use new HTML-room system for Help tickets 2017-12-12 03:22:09 -06:00
Guangcong Luo
c8ad406de5 Use new HTML-room system for Modlog 2017-12-12 03:22:09 -06:00
Charlie Kobayashi
377ff30a18 Scavengers: Increase cooldown, show official times (#4235) 2017-12-10 22:44:37 -06:00
HoeenHero
85dffeb84f Make some ticket commands global (#4234) 2017-12-10 18:03:52 -06:00
Guangcong Luo
20e136c823
Help ticket system (#4199) 2017-12-09 21:07:58 -06:00
Kris Johnson
e221fc6336 Fix specifying formats in /smogdex (#4224) 2017-12-08 16:34:14 -06:00
Kris Johnson
37b84a021d Datasearch: Fix zboosts and add protect flag (#4225) 2017-12-08 16:03:32 -06:00
Lionyx
f82f078cf8 Update /roomhelp (#4227)
Some verbs were third-person and other were not, some lines had a capital letter at their beginning and some other didn't... This unifies it so that they all look the same~
2017-12-08 16:01:16 -06:00
Charlie Kobayashi
6fe28c1cf5 Scavengers: allow all finishers to view hunt (#4218) 2017-12-08 22:06:15 +08:00
Jeremy Piemonte
3bb4874276 Add privacy policy command (#4203) 2017-12-03 09:01:35 -06:00
urkerab
59a3e299e8 Allow OU dexsearch to find (OU) (#4209) 2017-12-03 08:54:35 -06:00
Kris Johnson
b31351c77b Formats: Remove OM analysis links (#4201)
* Formats: Remove OM analysis links

The Semi-Official Analysis project is no longer running, so these pages no longer exist.

* Remove main OM analysis forum link
2017-12-02 12:17:44 +08:00
Guangcong Luo
f4e535bbd6 Enforce consistent key spacing
This was previously not enforced because we used `:1` in too many
places, but those places seem to all be refactored out at this point.
2017-12-01 08:16:23 -06:00