Commit graph

60 commits

Author SHA1 Message Date
benji7425 4fe1f35e92 Update defauly NeDB compaction schedule to hourly 2018-01-27 00:42:36 +00:00
benji7425 90eeddfc32 Remove auto-restart
It was a work around to reset memory usage, but as I hope mongodb support fixes that, I shall remove it. Hopefully I won't need to revert this commit and put it back!
2018-01-27 00:41:58 +00:00
benji7425 64a69af4e0 Update camo to use my fork
Increases MongoDB compatibility and adds it's own method for compacting NeDB data files
2018-01-27 00:37:17 +00:00
benji7425 80c8f6accd Update data deletion to require a reset command instead of guildDelete
guildDelete apparently gets called whenever Discord has an outage - we don't want to delete server data whenever there is a temporary outage!
2018-01-27 00:03:51 +00:00
benji7425 9c1252cfd8 Update formatting; convert tabs to 4x spaces
I believe this is the accepted method and should increase default editor compatibility
2018-01-26 23:48:07 +00:00
benji7425 b9ae3b5b26 v3.5.0-b2
Fix a couple of script errors
2018-01-26 00:35:41 +00:00
benji7425 388d6c6305 Update core client to support mongodb in addition to nedb 2018-01-25 23:02:46 +00:00
benji7425 eae08f526e Install mongodb 2018-01-25 22:29:51 +00:00
benji7425 c4d1247be3 Update naming and formatting for core .js files 2018-01-25 21:41:17 +00:00
benji7425 4a8c90bf7d git subrepo push discord-bot-core
subrepo:
  subdir:   "discord-bot-core"
  merged:   "693a761"
upstream:
  origin:   "git@github.com:benji7425/discord-bot-core.git"
  branch:   "master"
  commit:   "693a761"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2018-01-23 23:55:07 +00:00
benji7425 9b37c3b5cd Update default NeDB compaction schedule to once per minute 2018-01-23 23:19:33 +00:00
benji7425 87016a6fb9 git subrepo push --force discord-bot-core
subrepo:
  subdir:   "discord-bot-core"
  merged:   "109848a"
upstream:
  origin:   "git@github.com:benji7425/discord-bot-core.git"
  branch:   "master"
  commit:   "109848a"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2018-01-23 00:53:44 +00:00
benji7425 1816433f19 git subrepo pull (merge) discord-bot-core
subrepo:
  subdir:   "discord-bot-core"
  merged:   "71586d6"
upstream:
  origin:   "git@github.com:benji7425/discord-bot-core.git"
  branch:   "master"
  commit:   "a0387b3"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2018-01-23 00:52:11 +00:00
benji7425 614bdab462 Disable a few unused websocket events
Hopefully will improve memory usage somewhat
2018-01-23 00:32:33 +00:00
benji7425 a77c9e22f5 Add daily auto restart 2018-01-23 00:30:10 +00:00
benji7425 027d320e34 git subrepo push discord-bot-core
subrepo:
  subdir:   "discord-bot-core"
  merged:   "429a85c"
upstream:
  origin:   "git@github.com:benji7425/discord-bot-core.git"
  branch:   "master"
  commit:   "429a85c"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2018-01-14 20:12:32 +00:00
benji7425 9373980f94 Remove some unnecessary stuff in Client.js
- Remove message sweeping - shouldn't be needed with max cache size
- Remove console spam about db compaction
2018-01-14 19:48:40 +00:00
benji7425 7d5ab21292 git subrepo push discord-bot-core
subrepo:
  subdir:   "discord-bot-core"
  merged:   "4bfcf1b"
upstream:
  origin:   "git@github.com:benji7425/discord-bot-core.git"
  branch:   "master"
  commit:   "4bfcf1b"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2018-01-07 23:53:26 +00:00
benji7425 cb718dea41 3.2.2
asdf
2018-01-07 23:48:29 +00:00
benji7425 05da2d694e git subrepo push discord-bot-core
subrepo:
  subdir:   "discord-bot-core"
  merged:   "70b150f"
upstream:
  origin:   "git@github.com:benji7425/discord-bot-core.git"
  branch:   "master"
  commit:   "70b150f"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2018-01-03 01:47:02 +00:00
benji7425 6f5ccb5eca Update d.js message caching settings 2018-01-03 01:45:47 +00:00
benji7425 355bc92717 git subrepo push discord-bot-core
subrepo:
  subdir:   "discord-bot-core"
  merged:   "0bab27a"
upstream:
  origin:   "git@github.com:benji7425/discord-bot-core.git"
  branch:   "master"
  commit:   "0bab27a"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2017-12-11 01:06:10 +00:00
benji7425 4dd6171549 Refactor for efficiency and improved readability 2017-12-11 01:05:43 +00:00
benji7425 556971f3b2 git subrepo pull (merge) discord-bot-core
subrepo:
  subdir:   "discord-bot-core"
  merged:   "cf92dea"
upstream:
  origin:   "git@github.com:benji7425/discord-bot-core.git"
  branch:   "master"
  commit:   "b19d4b2"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2017-12-09 05:39:04 +00:00
benji7425 30ed030b62 3.2.0-b2
Fix some issues with 3.2 upgrades
2017-12-08 22:54:45 +00:00
benji7425 bb86035a21 git subrepo push discord-bot-core
subrepo:
  subdir:   "discord-bot-core"
  merged:   "900f1f5"
upstream:
  origin:   "git@github.com:benji7425/discord-bot-core.git"
  branch:   "master"
  commit:   "900f1f5"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2017-12-08 00:54:42 +00:00
benji7425 20fa9d09af Update feed error handling 2017-12-08 00:29:16 +00:00
benji7425 da1edc57f0 Add removal of data on startup for guilds deleted during downtime 2017-12-08 00:09:07 +00:00
benji7425 8fdb13887f git subrepo push discord-bot-core
subrepo:
  subdir:   "discord-bot-core"
  merged:   "be39d24"
upstream:
  origin:   "git@github.com:benji7425/discord-bot-core.git"
  branch:   "master"
  commit:   "be39d24"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2017-12-07 22:27:54 +00:00
benji7425 72b7db32ab Fix various issues in core 2017-12-07 22:26:45 +00:00
benji7425 65d2745cdc Revert removal of restart on unhandled exception
Turns out maybe it is actually somewhat useful after all
2017-12-07 00:19:16 +00:00
benji7425 9c0602bbb6 git subrepo pull (merge) discord-bot-core
subrepo:
  subdir:   "discord-bot-core"
  merged:   "75f5044"
upstream:
  origin:   "git@github.com:benji7425/discord-bot-core.git"
  branch:   "master"
  commit:   "eca1499"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2017-12-07 00:11:14 +00:00
benji7425 695f42348a Tidy up some feed error spam 2017-12-03 16:04:15 +00:00
benji7425 f3ef44b76a git subrepo push discord-bot-core
subrepo:
  subdir:   "discord-bot-core"
  merged:   "a1a9b30"
upstream:
  origin:   "git@github.com:benji7425/discord-bot-core.git"
  branch:   "master"
  commit:   "a1a9b30"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2017-11-27 00:17:15 +00:00
benji7425 9901b3dc19 Housekeeping 2017-11-27 00:16:54 +00:00
benji7425 4c7d826b52 Add rudimentary pagination for viewing feeds 2017-11-27 00:02:39 +00:00
benji7425 863eac6375 Revert "Removed ignoring of certain debug message in debug.log"
This reverts commit 1e4016ffd4d78d3a85c9161ab702b97979155753 in discord-bot-core subrepo
2017-11-26 23:36:23 +00:00
benji7425 6da6d1256c git subrepo pull discord-bot-core
subrepo:
  subdir:   "discord-bot-core"
  merged:   "a25486f"
upstream:
  origin:   "git@github.com:benji7425/discord-bot-core.git"
  branch:   "master"
  commit:   "a25486f"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2017-11-26 23:29:16 +00:00
benji7425 4c557127d2 git subrepo push discord-bot-core
subrepo:
  subdir:   "discord-bot-core"
  merged:   "5c4a0b8"
upstream:
  origin:   "git@github.com:benji7425/discord-bot-core.git"
  branch:   "master"
  commit:   "5c4a0b8"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2017-11-12 20:01:35 +00:00
benji7425 9b23e70e87 Add removal of data on startup if the bot has left the guild 2017-11-12 19:44:19 +00:00
benji7425 014e19220b Add support for optional command parameters 2017-11-11 03:44:44 +00:00
benji7425 c1be0ff0e6 Add rss element content into posted message 2017-11-11 03:21:05 +00:00
benji7425 4bb676d136 Add removal of data when bot kicked from guild
Along with join/leave console messages
2017-11-11 01:28:38 +00:00
benji7425 3cfddd1f58 git subrepo pull (merge) discord-bot-core
subrepo:
  subdir:   "discord-bot-core"
  merged:   "5fd4a43"
upstream:
  origin:   "git@github.com:benji7425/discord-bot-core.git"
  branch:   "master"
  commit:   "5fd4a43"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2017-11-11 01:13:18 +00:00
benji7425 f8fc7d76ac git subrepo pull discord-bot-core
subrepo:
  subdir:   "discord-bot-core"
  merged:   "8efb033"
upstream:
  origin:   "git@github.com:benji7425/discord-bot-core.git"
  branch:   "master"
  commit:   "8efb033"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2017-10-19 00:14:01 +01:00
benji7425 f1f3b4a8df git subrepo push discord-bot-core
subrepo:
  subdir:   "discord-bot-core"
  merged:   "1ed6225"
upstream:
  origin:   "git@github.com:benji7425/discord-bot-core.git"
  branch:   "master"
  commit:   "1ed6225"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2017-10-02 00:20:31 +01:00
benji7425 71e61663e2 Fix exception if bot mentioned without a command 2017-10-02 00:18:05 +01:00
benji7425 ec8b165c96 Re-implement help message 2017-10-02 00:09:36 +01:00
benji7425 b3deb2a640 Refactor multiple areas for simplicity and readability
This is a squash commit of many commits
2017-10-01 23:20:06 +01:00
benji7425 5b2916bf77 I changed my mind, we're going back to promises
Require command invoke methods to return a promise
2017-09-24 22:46:58 +01:00