Commit Graph

636 Commits (1df7ba3e64f515717d0d76b6b5c8c515fd499dc3)

Author SHA1 Message Date
Dragory 119faf1d37 Commands used in threads are now saved again. Refactor some of the code into plugins. 2018-03-11 23:17:14 +02:00
Dragory 860f348490 Extend latest entry in changelog 2018-03-11 22:49:24 +02:00
Dragory d4839b3a56 2.4.4 2018-03-11 22:49:02 +02:00
Dragory 38bb553588 Scheduling fix for MySQL/MariaDB version 3000 2018-03-11 22:48:53 +02:00
Dragory f1940ccaa7 2.4.3 2018-03-11 22:45:54 +02:00
Dragory 91bb245b59 Don't start scheduled close loop until after connecting to Discord 2018-03-11 22:45:43 +02:00
Dragory 78740cee47 2.4.2 2018-03-11 22:42:43 +02:00
Dragory 0b677d338e Actually fix scheduled closing on MySQL/MariaDB 2018-03-11 22:42:40 +02:00
Dragory 23a39dd335 2.4.1 2018-03-11 22:36:59 +02:00
Dragory 40e420a40d Fix scheduled closing on MySQL/MariaDB 2018-03-11 22:36:52 +02:00
Dragory bf80ce5531 2.4.0 2018-03-11 22:28:19 +02:00
Dragory b8a5021dd5 Add thread suspending 2018-03-11 22:27:52 +02:00
Dragory 11c4bc12da 2.3.2 2018-03-11 22:15:35 +02:00
Dragory dc44bdc103 Remove duplicate definition of threads.findById 2018-03-11 22:15:29 +02:00
Dragory 32260fd22c Auto-close threads if their inbox server channel is deleted 2018-03-11 22:15:16 +02:00
Dragory c3b702d7a7 Document fix in v2.3.1 2018-03-11 22:10:01 +02:00
Dragory c60b14dcb5 2.3.1 2018-03-11 22:09:32 +02:00
Dragory dcd9d94734 Fix incorrect mentionRole default 2018-03-11 22:08:59 +02:00
Dragory 772fd8cd35 Add an extra step to pre-Feb 24 upgrade instructions in README 2018-03-11 22:02:02 +02:00
Dragory 5ac36e1127 Clarify logChannelId description 2018-03-11 22:00:57 +02:00
Dragory a61a67d599 Fix typo 2018-03-11 22:00:32 +02:00
Dragory 7358d90b04 Move required logChannelId option to the top in README 2018-03-11 22:00:02 +02:00
Dragory cccbf966c1 Fix link in CHANGELOG 2018-03-11 21:59:00 +02:00
Dragory 2042f58fcf 2.3.0 2018-03-11 21:57:47 +02:00
Dragory 6767cd91f7 Change option in #59 to mentionRole, and extend functionality
The option now defaults to "here", and also accepts "everyone" as a value.
Can be set to null to disable these mentions entirely.
2018-03-11 21:55:47 +02:00
Dragory 4bad0d3f3b Merge branch 'pull59-master' 2018-03-11 21:42:43 +02:00
Dragory 4089e836d4 Merge branch 'master' of https://github.com/HaydenMeloche/modmailbot into pull59-master 2018-03-11 21:42:17 +02:00
Dragory ec2e79663f Update moment.js due to a security vulnerability
Versions of moment.js prior to 2.19.3 have a security vulnerability.
See CVE-2017-18214 for more details.
2018-03-11 21:40:21 +02:00
Dragory ff27a77180 2.2.0 2018-03-11 21:39:14 +02:00
Dragory 3279386ed3 Document scheduled closing 2018-03-11 21:39:10 +02:00
Dragory eea540b0fb Use moment.utc() over moment() since we're currently always dealing with UTC times 2018-03-11 21:34:41 +02:00
Dragory 751b18a12d Add scheduled thread closing
A thread can be scheduled to be closed by adding a time parameter to
the !close command. For example, !close 2m would automatically close
the thread in 2 minutes. The actual scheduling is implemented with a
loop that runs every 2 seconds, checking for threads that should be
closed.
2018-03-11 21:32:14 +02:00
Dragory 13a17efe4e Hide extra error info by npm to make error messages clearer to the user 2018-03-11 21:31:23 +02:00
HaydenMeloche 92508c7e3f Added user configurable mentions 2018-03-06 18:40:38 -05:00
Dragory e51b82e3f8 Fix pull request link 2018-02-24 23:22:57 +02:00
Dragory 9668837664 Mention pull request in the typing proxy CHANGELOG entry 2018-02-24 23:21:58 +02:00
Dragory 4e8f53847d Remove duplicate config entries in README 2018-02-24 23:19:58 +02:00
Dragory daf5937520 Document typing proxy 2018-02-24 23:19:19 +02:00
Dragory 96c011409b 2.1.0 2018-02-24 23:16:48 +02:00
Dragory f6ac84cb1a Merge branch 'judge2020-master' 2018-02-24 23:16:37 +02:00
Dragory 3f99cbd948 Fix merge conflicts 2018-02-24 23:16:28 +02:00
Dragory 3b56964c91 Document !loglink 2018-02-24 13:15:28 +02:00
Dragory 24a63e42a6 2.0.1 2018-02-24 13:14:49 +02:00
Dragory b2a102f82a A link to the current thread is no longer posted at the beginning of the thread 2018-02-24 13:14:40 +02:00
Dragory ac64e28d03 Update README and CHANGELOG for the 2.0.0 update 2018-02-24 13:09:07 +02:00
Dragory f2bfb7d8c9 Merge branch 'experimental' of github.com:Dragory/modmailbot into experimental 2018-02-24 13:03:02 +02:00
Dragory 5ab65a701e Save username + blocked by id with !block 2018-02-24 13:02:54 +02:00
Dragory 3e2954f4e3 legacyMigrator: set blocked_by in migrated blocks to null 2018-02-24 12:58:20 +02:00
Dragory c865eb9d56 legacyMigrator: don't consider log migration if the logs folder is empty 2018-02-24 12:46:02 +02:00
Miikka bd33606384
Fix accidental message checking not being case-insensitive 2018-02-20 12:57:34 +02:00