Commit graph

12 commits

Author SHA1 Message Date
Dragory
16111bbe84 Reorganize project. Add folder for shared code between backend/dashboard. Switch from jest to ava for tests. 2019-11-02 22:11:26 +02:00
Dragory
d54897acdd Split BaseRepository into non-guild and guild
BaseRepository includes all the non-guild-specific functionality,
such as with() and getRelations().
BaseGuildRepository includes guild-specific functionality, such as
getInstance().
2019-05-25 21:25:34 +03:00
Dragory
fe88766f02 Notify user for spam detection mutes. Add notification status ('user notified in DMs' etc.) to the case. Log case updates. Add 'unmuted immediately' to the case for unmutes without a time. 2019-04-13 17:35:02 +03:00
Miikka
d0f8ec2b57
Fix buggy mute cases 2018-12-23 01:00:56 +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
ba2ad8a528 Add MessageSaver plugin. Fix some buggy queries. 2018-11-24 14:01:06 +02:00
Dragory
f9c16263ae Switch from Knex to TypeORM. Update Knub. 2018-10-26 06:41:20 +03:00
Dragory
7a372533ec Add case_id to mutes. Add !mutes command to list mutes. 2018-08-05 00:18:50 +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
15b7da82e8 Add warn and mute commands. General code clean-up. 2018-07-08 13:57:27 +03:00
Dragory
2ac8984792 Add repository+model for mutes 2018-07-07 17:03:13 +03:00