Commit graph

10 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
ba3af1cb63 Add templateFormatter; migrate from formatTemplateString to templateFormatter 2019-03-16 15:42:55 +02:00
Dragory
429653c66d Add GuildArchives.getUrl for getting the archive entry URL 2019-01-15 04:03:04 +02:00
Dragory
ab71481b8f Allow making archives permanent. Make archives permanent when attached to a case. Add log file metadata dynamically when served (instead of in the body directly). Add missing index on archives.expires_at. 2019-01-13 17:29:26 +02:00
Dragory
ce0b7ded08 Message archive formatting tweaks and fixes; only emit deleteBulk event from SavedMessages if any messages were actually marked as deleted 2018-12-22 13:06:40 +02:00
Dragory
2bce771c59 Create archives from bulk deletes and cleans. Use GuildSavedMessages for cleans. 2018-11-24 18:39:17 +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
e3ff4cef45 Rename SpamLogs to Archives. Tweak spam archive format. 2018-08-18 19:51:51 +03:00