Commit Graph

303 Commits (f2808c0b0444bc8264f57a9f8cf304b9cc4a2340)

Author SHA1 Message Date
Dragory 4fd0929106 Fix typo 2018-03-13 08:01:50 +02:00
Dragory 4c244b15b9 2.8.0 2018-03-13 08:01:00 +02:00
Dragory 0b36977a83 Document !version 2018-03-13 08:00:44 +02:00
Dragory 9c322a5af3 Add !version command 2018-03-13 07:59:27 +02:00
Dragory c5a40e2f7a Document 2.7.0 2018-03-13 07:46:21 +02:00
Dragory 233a7b4cd3 2.7.0 2018-03-13 07:45:39 +02:00
Dragory ab3d70008a Move more code from main.js to individual module files. Rename plugins -> modules. Remove some obsolete comments. 2018-03-13 07:45:31 +02:00
Dragory 1431ab8c4e Document 2.6.0 in CHANGELOG 2018-03-13 07:30:02 +02:00
Dragory 58e0d0834d 2.6.0 2018-03-13 07:28:12 +02:00
Dragory 5717bf83fd Make !close time parser stricter and allow 'd' for days. Format close time better in the confirmation message. Add additional start-up info for missing dependencies. 2018-03-13 07:27:59 +02:00
Dragory 5b2bfc6073 2.5.3 2018-03-13 06:23:45 +02:00
Dragory 434dab59ee Fix some inconsistencies between DB drivers, also fixing scheduled closes on MySQL/MariaDB (again) 2018-03-13 06:23:32 +02:00
Dragory 7ae8d375b1 2.5.2 2018-03-11 23:21:06 +02:00
Dragory 07c0336f72 Also add that fix to the third place where it's needed 2018-03-11 23:20:59 +02:00
Dragory fa93dd03fb 2.5.1 2018-03-11 23:19:52 +02:00
Dragory 2251cabe86 Additional fix for scheduling in MySQL/MariaDB 2018-03-11 23:19:45 +02:00
Dragory 619c10fc08 2.5.0 2018-03-11 23:17:18 +02:00
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