dependabot[bot]
b2e7598554
Bump ws from 7.4.5 to 7.4.6 ( #593 )
...
Bumps [ws](https://github.com/websockets/ws ) from 7.4.5 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/7.4.5...7.4.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-23 23:01:41 -03:00
Edward Jones
b467e7d915
Upgrade deps as of 2021-04-24 ( #590 )
...
* Bump discord.js to 12.5.3
* Bump commander to ^7.2.0
* Bump simple-markdown to ^0.7.3
* Bump @babel dependencies to ^7.13
* Bump cross-env to ^7.0.3
(Nothing relevant; just went to maintenance-only mode)
* Bump lodash to ^4.17.21
* Bump eslint dependencies
* Bump test dependencies (chai, mocha, sinon, sinon-chai)
* Replace babel-eslint with @babel/eslint-parser
* Bump sub-dependencies
2021-04-24 02:23:24 -03:00
Edward Jones
e21b174fe1
Add support for Node 15, 16 ( #589 )
2021-04-24 00:36:26 -03:00
Edward Jones
f2ea354717
Drop support for Node 13 ( #588 )
...
EOL since June 2020.
2021-04-24 00:31:03 -03:00
dependabot[bot]
fd27afb8f1
Bump y18n from 4.0.0 to 4.0.3 ( #587 )
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.3.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/y18n-v4.0.3/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/compare/v4.0.0...y18n-v4.0.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-24 00:26:56 -03:00
Edward Jones
feac4c792a
Use node-version for coveralls flag-name key ( #586 )
...
Should fix coveralls reporting, hopefully
2021-04-24 00:24:04 -03:00
Nick McCurdy
4d31ecd4eb
Remove Travis badge
...
We're using GitHub Actions now.
2021-01-22 19:04:52 -05:00
Nick McCurdy
fa83071b5c
Change default branch to main
2021-01-22 18:59:59 -05:00
Nick McCurdy
4f449954e0
Replace discordapp.com with discord.com ( #567 )
2020-11-09 20:33:03 -03:00
Edward Jones
d646ba149f
2.9.0
2020-10-03 16:47:42 -03:00
Edward Jones
6f89730ea8
Update changelog for 2.9.0
2020-10-03 16:47:28 -03:00
Edward Jones
e0f2edf2d4
Add retryLimit of 3 to the Discord client ( #565 )
...
Intended to avoid issues with 500 errors returned
from Discord, as in #461 .
2020-10-03 16:35:16 -03:00
Edward Jones
3908e00d16
Upgrade discord.js to v12.3.1 ( #564 )
2020-10-03 16:30:42 -03:00
dependabot[bot]
328fe0b44e
Bump node-fetch from 2.6.0 to 2.6.1 ( #562 )
...
Bumps [node-fetch](https://github.com/bitinn/node-fetch ) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases )
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-13 11:43:58 -03:00
KWeaver87
5b01e7639f
Add customizable IRC nick colors in config ( #561 )
...
Co-authored-by: TJ22 <tacojet42@yahoo.com>
2020-09-05 12:41:00 -03:00
Mikaela Szekely
56d1c84147
Fix parsing when the same user is mentioned more than once ( #541 )
...
Before, the parser would only replace the first instance of a mention
for any given user in a message.
2020-08-14 21:35:48 -03:00
Edward Jones
5af02c16c6
Add 2.9.0-alpha to CHANGELOG
2020-08-09 02:17:32 -03:00
Edward Jones
f047ce0224
Upgrade discord.js to 12.2.0 ( #555 )
...
* Upgrade discord.js to 12.2.0
* Use cache accessors in Discord client
* Replace sendMessage with send
* Use avatarURL method
* Update test stubs for discord.js 12
* Disconnect clients at end of tests
* Fix disabling webhook mentions when bot lacks permissions
2020-08-09 02:07:09 -03:00
Edward Jones
ee2d70fac1
Fix winston logging to be primarily single-line ( #554 )
2020-08-08 23:32:21 -03:00
Edward Jones
91ad0b12d2
Update regular dependencies for 2020-08-08 ( #553 )
...
* Upgrade irc-upd to 0.11.0
* Bump lodash to ^4.17.19 in package.json
* Upgrade simple-markdown to ^0.7.2
* Upgrade strip-json-comments to ^3.1.1
* Upgrade winston to ^3.3.3
* Upgrade commander to ^5.1.0
* Upgrade commander to ^6.0.0
2020-08-08 22:18:36 -03:00
Edward Jones
8a1378f864
Inline check-env dependency ( #552 )
2020-08-08 21:53:04 -03:00
Edward Jones
8084ed42a7
Update devDependencies for 2020-08-08 ( #551 )
...
* Update eslint dependencies for eslint ^7.6.0
* Upgrade nyc dependencies for nyc ^15.1.0
* Upgrade sinon-chai to ^3.5.0
* Upgrade sinon to ^9.0.2
* Upgrade cross-env to ^7.0.2
* Upgrade coveralls to ^3.1.0
* Upgrade mocha to ^7.2.0
* Upgrade mocha to ^8.1.1
2020-08-08 21:47:10 -03:00
Edward Jones
6df5da619c
Drop support for Node <12 ( #550 )
...
Upcoming updates to discord require us to update our
version of discord.js, which in turn requires Node >=12.
2020-08-08 21:18:52 -03:00
Edward Jones
7789bd6a24
Add testing for Node 14 ( #549 )
2020-08-08 21:12:42 -03:00
Edward Jones
1b7d3378aa
Update babel devDependencies to recent versions (minor) ( #548 )
2020-08-08 21:09:24 -03:00
dependabot[bot]
8c97037930
Bump lodash from 4.17.15 to 4.17.19 ( #544 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-08 20:39:19 -03:00
Edward Jones
8a02361758
Use NodeJS Action instead of TravisCI ( #547 )
...
* Create NodeJS Action
Looks like Travis is a bit broken, and I don't have admin access to the repo over there. For now, as I have admin access to this repo here, let's try out GitHub Actions to replace the old CI.
* Create save-coverage script for Coveralls
* Delete .travis.yml
* Add Docker Hub workflow
* Remove docker-deploy.sh
2020-08-08 20:35:58 -03:00
Edward Jones
41f8444d17
2.8.1
2020-03-16 22:10:55 -03:00
Edward Jones
eaf8b3d470
Update changelog for 2.8.1
2020-03-16 22:10:50 -03:00
Edward Jones
b3ebca5dcb
Use istanbul babel plugin only in tests ( #536 )
...
Prevents coverage instrumentation code from being
in the final package.
Fixes #535 .
2020-03-16 21:59:10 -03:00
dependabot[bot]
9585a70eb8
Bump acorn from 7.1.0 to 7.1.1 ( #534 )
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/7.1.0...7.1.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-16 21:53:04 -03:00
Edward Jones
4fe14837db
Fix webhooks for users with no avatars ( #530 )
...
* Consistently use this.bot in tests
Some tests were subtly testing broken behavior,
as this.addUser was not correctly adding a user
to the given bot's guild.
* Group up webhook tests in contexts
* Fix webhooks for users with no avatars
Fixes #529 .
2020-01-04 18:24:00 -03:00
Miosame
88fecf3aa1
Fix avatars not displaying via webhooks ( #511 )
...
* Fix avatars not displaying via webhooks
Avatars that were 2048x2048 would break webhooks displaying avatars, defaulting to 128x128 fixes that.
* travis-ci fix
* Fix null-checks
* Fix travis-ci tests for avatar size
2019-12-24 15:12:28 +01:00
Edward Jones
03d6ac2170
2.8.0
2019-12-14 17:42:52 -03:00
Edward Jones
c5ad1a6a6a
Upgrade eslint & commander (out of current ranges) ( #525 )
...
* Upgrade eslint-config-airbnb-base to ^14.0.0
* Upgrade eslint to ^6.7.2
* Upgrade commander to ^4.0.1
2019-12-14 17:21:01 -03:00
Edward Jones
33d12d7b38
Upgrade dependencies in compatible ranges ( #524 )
2019-12-14 16:56:02 -03:00
Edward Jones
97b0bf8669
Upgrade to Babel 7 ( #523 )
...
* Run npx babel-upgrade, removing unnecessary stage0 plugins
* Move from babel-preset-node6 to @babel/preset-env
* Update nyc to work with updated babel
2019-12-14 16:49:03 -03:00
Nick Savchenko
21985c6d97
Add ignoreUsers.discordIds option to ignore Discorders by ID ( #508 )
...
* Add option to ignore discord users by id
* Discord ids are strings. Add ignore by discord id example to README
2019-12-14 15:52:21 -03:00
Edward Jones
11a5347006
Support a basic image on Docker Hub ( #498 )
...
* Revert "Revert "Merge branch 'docker-test'""
This reverts commit 2b4bcb1136de97c723b60079d1ef05061ccf0b47.
* Use node 12 for docker image
* More thoroughly limit deploy to master pushes
* Use discordirc/discord-irc repo for Docker
* Tag git commit image for Docker hub
* Add .dockerignore
2019-12-14 15:36:36 -03:00
Edward Jones
5d31e2d16b
Upgrade simple-markdown per npm audit fix ( #522 )
2019-12-14 14:46:58 -03:00
Edward Jones
681cd40056
Add support for Node 13, drop automated testing for Node 6 ( #521 )
...
* Support Node 13
* Drop automated testing for Node 6
2019-12-14 14:35:26 -03:00
Edward Jones
8a6dec41c6
Rename ircPreventMention to parallelPingFix ( #520 )
2019-12-14 14:31:12 -03:00
dependabot[bot]
4e807ca34d
Bump eslint-utils from 1.3.1 to 1.4.3 ( #516 )
...
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils ) from 1.3.1 to 1.4.3.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases )
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-12-14 13:41:10 -03:00
Edward Jones
221d42a44b
Upgrade sinon to ^7.4.1, sinon-chai to ^3.3.0 ( #503 )
...
* Upgrade sinon to ^5.1.1 and sinon-chai to ^3.1.0
* Upgrade sinon to ^6.3.5
* Upgrade sinon to ^7.4.1
2019-08-08 13:03:05 -03:00
Doppins
c28151a30c
[Doppins] Upgrade dependency discord.js to 11.5.1 ( #488 )
...
* Upgrade dependency discord.js to 11.5.0
* Upgrade dependency discord.js to 11.5.1
* Update package-lock.json
2019-08-08 12:38:19 -03:00
Edward Jones
d528aedb6d
Add ircPreventMention ( #502 )
...
* Add ircPreventMention
(This adds a zero-width character to nicknames to prevent IRC-side pings.)
Original commits:
- Add ircPreventMention code
- Document ircPreventMention
- Make ircNickColor wrap the displayUsername
- Fix build errors
- Default ircPreventMention to false
* Correct that ircPreventMention is off by default
* Test ircPreventMention
Only tests turning it on; extant tests ensure it's off by default.
2019-08-08 12:06:07 -03:00
George
70e88498de
Add a customizable fallback URL for webhook avatars ( #419 )
...
Adds a format option for a default avatar URL to send if the user isn't found on IRC. Takes the user's nickname as an argument so it can be passed to a web service.
Fixes #383 .
2019-08-08 11:35:11 -03:00
Edward Jones
4f10b60c89
2.7.2
2019-08-08 11:14:52 -03:00
Edward Jones
a719185cc9
Bump lint config versions for eslint 5 ( #500 )
...
Fixes deprecation warning upon lint
2019-08-08 11:00:01 -03:00
Edward Jones
c9ccd7b473
Run all test/*.test.js files ( #501 )
...
Somehow, upgrading either mocha or nyc (?) appears to make
the current test command skip test/bot-events.test.js.
I do not know why, but quoting it (so mocha globs it
instead) seems to fix this.
(This happened between 2.7.0 and 2.7.1.)
2019-08-05 20:21:26 -03:00