Dragory
d2a505f838
Remove mute_role config requirement from ModActions
2018-12-22 13:55:24 +02:00
Dragory
1a0bf1a525
Bold username on 'note added' mod action confirmation
2018-12-22 13:25:17 +02:00
Dragory
8d59420579
Add case number to mod action confirmations
2018-12-22 13:22:16 +02:00
Dragory
9f7970efba
Fix kick logs with !kick
2018-12-22 12:26:54 +02:00
Dragory
52c2bfa0b2
Move canActOn to ZeppelinPlugin base class
2018-12-15 17:24:09 +02:00
Dragory
7154c006dc
Fix error in unban
2018-12-14 08:54:15 +02:00
Dragory
2e30a3b9e7
Use actions/events for plugin interoperability. Move base case and mute functionality to their own plugins.
2018-11-25 17:04:26 +02:00
Dragory
40a20f94c1
ModActions: fix errors when listing too many cases
2018-11-24 19:14:12 +02:00
Dragory
f9c16263ae
Switch from Knex to TypeORM. Update Knub.
2018-10-26 06:41:20 +03:00
Dragory
86f7d268db
fix(ModActions): don't create duplicate logs/cases for massbans; add more code comments
2018-08-18 13:34:57 +03:00
Dragory
1f4b89700c
Add massban command
2018-08-16 20:07:43 +03:00
Dragory
741118d877
!mutes fixes
2018-08-05 01:43:31 +03:00
Dragory
ff9db47c7a
ModActions: don't re-message on overlapping mute, update old case instead; allow specifying an unmute time
2018-08-05 00:58:03 +03:00
Dragory
7a372533ec
Add case_id to mutes. Add !mutes command to list mutes.
2018-08-05 00:18:50 +03:00
Dragory
ebd25b13c2
Don't ask
2018-08-02 03:04:16 +03:00
Dragory
9769e38f17
Add optional 'expanded' param to !cases
2018-08-02 03:01:22 +03:00
Dragory
93c512c402
Cap !cases reason previews to 80-ish characters
2018-08-02 02:46:57 +03:00
Dragory
1ef88b61f7
Add colours for new case types, and tweak the old colours
2018-08-02 01:15:05 +03:00
Dragory
a0f5114f62
Add softban command. Mod action fixes and tweaks.
2018-08-02 00:51:25 +03:00
Dragory
f77e70d4d2
fix: percentage signs in mod action reasons causing crashes
...
This is an issue with audit log reasons that are sent as an HTML header.
Eris tries to decodeURI these before sending them, which throws an error
if you have an invalid percent encoding in the reason (e.g. "100%").
See eris/issues/276 and RequestHandler.js#L74
2018-08-01 00:52:44 +03:00
Dragory
5359d0d5fe
General fixes. Update Knub to 9.6.1. Add info and server commands.
2018-07-31 04:02:45 +03:00
Dragory
7ded84b924
Add spam plugin. Add clean commands. Update Knub to 9.6.0.
2018-07-31 02:42:45 +03:00
Dragory
e7734c558c
Add censor plugin. Various other fixes/features. Update Knub to 9.4.13.
2018-07-30 01:44:03 +03:00
Dragory
0c806f32fd
More work on logging and automatic mod actions
2018-07-29 23:30:24 +03:00
Dragory
724c30703f
feat: add logging for most events
2018-07-29 18:46:49 +03:00
Dragory
6bf865af77
Add unban, forceban, and addcase commands
2018-07-14 20:55:39 +03:00
Dragory
737a436e67
Separate unmute and mute expiry logs
2018-07-13 00:11:51 +03:00
Dragory
4a88dc10a9
Add unmute command
2018-07-13 00:11:19 +03:00
Dragory
498ebe8939
Allow JSON TS imports, fix errors from enabling esModuleInterop (required for JSON imports)
2018-07-12 02:58:34 +03:00
Dragory
e6f296381e
Rename ModActions to Cases
2018-07-12 02:53:26 +03:00
Dragory
b23a358631
Add kick and ban commands
2018-07-12 02:03:22 +03:00
Dragory
9256014907
Clarify mute function comments
2018-07-12 02:03:07 +03:00
Dragory
27a15ec81f
Save mute reasons to audit log
2018-07-12 02:02:15 +03:00
Dragory
68e2e7dd9b
ModActions: don't allow actions on self
2018-07-12 01:59:13 +03:00
Dragory
69224810cd
Change prettier line width from 80 to 100, reformat files
2018-07-12 01:45:26 +03:00
Dragory
5676cd427f
ModActions: fix tryToMessageUser returning false if neither message type is enabled
2018-07-12 01:43:11 +03:00
Dragory
7401cdb88c
ModActions: add helper function for checking if user can act on another
2018-07-12 01:42:18 +03:00
Dragory
22e2dbced1
Show how long mutes last in mute message/cmd response
2018-07-12 01:38:58 +03:00
Dragory
fcf682a039
ModActions: move user messaging to its own function
2018-07-12 01:20:20 +03:00
Dragory
38295e8aa7
Add logging to muting and mute expiring
2018-07-09 03:13:31 +03:00
Dragory
736b184646
Show message if mute cmd failed to message the muted user
2018-07-09 03:00:10 +03:00
Dragory
d938df75cd
Use formatTemplateString in mute command
2018-07-09 02:59:37 +03:00
Dragory
82daf87fbf
warn cmd: add logging; add verification if messaging fails. action log: do not auto-post automatic actions if set so in config
2018-07-09 02:51:34 +03:00
Dragory
15b7da82e8
Add warn and mute commands. General code clean-up.
2018-07-08 13:57:27 +03:00
Dragory
47f124c7d6
Set moment default timezone to UTC
...
This requires switching to the moment-timezone package.
This is for consistensy with knexfile, which already sets the DB timezone to UTC.
2018-07-07 15:39:56 +03:00
Dragory
e70f1baa27
Various small fixes
2018-07-01 04:31:24 +03:00
Dragory
23c78f2c9c
Initial commit in new repository
2018-07-01 03:35:51 +03:00