Commit Graph

1084 Commits

Author SHA1 Message Date
Chris Sexton aa7d377c08 counter: update model to reflect that the ID may be null 2022-07-17 14:46:09 -04:00
dependabot[bot] 3f7598e92c build(deps): bump github.com/slack-go/slack from 0.10.3 to 0.11.0
Bumps [github.com/slack-go/slack](https://github.com/slack-go/slack) from 0.10.3 to 0.11.0.
- [Release notes](https://github.com/slack-go/slack/releases)
- [Changelog](https://github.com/slack-go/slack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/slack-go/slack/compare/v0.10.3...v0.11.0)

---
updated-dependencies:
- dependency-name: github.com/slack-go/slack
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-14 09:34:23 -04:00
dependabot[bot] 13585c5fc5 build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.8.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-14 09:29:42 -04:00
dependabot[bot] 2a375303e7 build(deps): bump github.com/rs/zerolog from 1.26.1 to 1.27.0
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.26.1 to 1.27.0.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.26.1...v1.27.0)

---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-14 09:23:18 -04:00
dependabot[bot] 88205a2c0c build(deps): bump github.com/itchyny/gojq from 0.12.7 to 0.12.8
Bumps [github.com/itchyny/gojq](https://github.com/itchyny/gojq) from 0.12.7 to 0.12.8.
- [Release notes](https://github.com/itchyny/gojq/releases)
- [Changelog](https://github.com/itchyny/gojq/blob/main/CHANGELOG.md)
- [Commits](https://github.com/itchyny/gojq/compare/v0.12.7...v0.12.8)

---
updated-dependencies:
- dependency-name: github.com/itchyny/gojq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-14 09:20:12 -04:00
Chris Sexton 60678fcad2 add rate limit middleware 2022-07-07 11:28:22 -04:00
Chris Sexton 56120b168c emojy: add swap and disallow upload overwrites 2022-06-08 21:24:44 -04:00
Chris Sexton feb42b8293 emojy: allow creation and removal of emojy
- includes a web interface for uploading new images
- includes a web interface for viewing 'possible' images
2022-06-08 21:03:21 -04:00
Chris Sexton 2f8bf0edcb emojy: trim some characters here and there 2022-06-07 10:30:07 -04:00
Chris Sexton 61cdb66546 emojy: indicate if an emojy is on the server 2022-06-06 10:49:27 -04:00
Chris Sexton e8c7e1e07e emojy: make the web page nicer
- show custom emojy
- categorize by source type
- record emojy used in messages
2022-06-06 10:24:54 -04:00
Chris Sexton aa88ef44f5 emojy: redo database schema
- record emojy as timestamped log instead of a count
2022-06-02 11:03:45 -04:00
Chris Sexton 4e3cbbafad factoid: refactor and ignore reaction
- factoid is a mess, but I at least split it into a few parts
- need to move config values from factoid to fact
- need to rename the whole thing to fact
- probably need to go over it with a fine toothed comb
- 5 seconds, why 5 seconds? I still don't know
- added kind to the message type so we can filter reactions out
2022-05-31 11:27:34 -04:00
Chris Sexton 46e61f69d0 counter: use blank ID if none found
This fixes an issue where if the user hasn't spoken since the bot
restarted, the counter can't increment.
2022-05-30 19:15:17 -04:00
Chris Sexton bd3ba48bbe bot: log admin checks 2022-05-30 16:59:43 -04:00
Chris Sexton 1c22632a41 emojy: create plugin
- added reaction type and event for discord connectors
- added web page to view emojy usage
- added new table for counting emojy
2022-05-30 16:38:05 -04:00
Chris Sexton 104f48b1c3 meme: configify the default meme config 2022-05-25 15:16:26 -04:00
Chris Sexton 69cee328e7 twitch: fix web server 2022-05-20 17:16:31 -04:00
Chris Sexton a4108ecc82 twitch: change some names to match the API 2022-05-18 10:46:37 -04:00
Chris Sexton 39bb9d9237 Delete docker.yml
This is no longer a good idea now that the main server runs ARM
2022-05-16 20:05:56 -04:00
Chris Sexton 262d31ae37 Update docker.yml
IDK
2022-05-16 15:58:36 -04:00
Chris Sexton 36cdb55ea4 Update docker.yml 2022-05-16 14:46:04 -04:00
dependabot[bot] 73c9d3ccf0 build(deps): bump github.com/bwmarrin/discordgo from 0.24.0 to 0.25.0
Bumps [github.com/bwmarrin/discordgo](https://github.com/bwmarrin/discordgo) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/bwmarrin/discordgo/releases)
- [Commits](https://github.com/bwmarrin/discordgo/compare/v0.24.0...v0.25.0)

---
updated-dependencies:
- dependency-name: github.com/bwmarrin/discordgo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-05 18:33:03 -04:00
dependabot[bot] 6983cd196e build(deps): bump github.com/slack-go/slack from 0.10.2 to 0.10.3
Bumps [github.com/slack-go/slack](https://github.com/slack-go/slack) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/slack-go/slack/releases)
- [Changelog](https://github.com/slack-go/slack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/slack-go/slack/compare/v0.10.2...v0.10.3)

---
updated-dependencies:
- dependency-name: github.com/slack-go/slack
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-05 18:29:57 -04:00
dependabot[bot] 31ef0d08c0 build(deps): bump github.com/jmoiron/sqlx from 1.3.4 to 1.3.5
Bumps [github.com/jmoiron/sqlx](https://github.com/jmoiron/sqlx) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/jmoiron/sqlx/releases)
- [Commits](https://github.com/jmoiron/sqlx/compare/v1.3.4...v1.3.5)

---
updated-dependencies:
- dependency-name: github.com/jmoiron/sqlx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-05 18:26:33 -04:00
Chris Sexton 32cca1497a counter: add increment by N api 2022-05-05 18:15:38 -04:00
Chris Sexton 3964e1f4b2 meme: disable direct URL memes
GitHub noticed this is a security problem, so I am disabling it.
2022-03-22 20:30:07 -04:00
Chris Sexton 1f7ce69674 Create SECURITY.md 2022-03-22 10:02:52 -04:00
Chris Sexton 83d86982a5 Create codeql-analysis.yml 2022-03-22 09:54:11 -04:00
Chris Sexton 5d4b36564f discord: update for compatibility with new library version 2022-03-22 09:44:02 -04:00
dependabot[bot] d00139259f build(deps): bump github.com/bwmarrin/discordgo from 0.23.2 to 0.24.0
Bumps [github.com/bwmarrin/discordgo](https://github.com/bwmarrin/discordgo) from 0.23.2 to 0.24.0.
- [Release notes](https://github.com/bwmarrin/discordgo/releases)
- [Commits](https://github.com/bwmarrin/discordgo/compare/v0.23.2...v0.24.0)

---
updated-dependencies:
- dependency-name: github.com/bwmarrin/discordgo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-22 09:44:02 -04:00
dependabot[bot] 3e3182895d build(deps): bump github.com/google/uuid from 1.1.1 to 1.3.0
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.1.1 to 1.3.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Commits](https://github.com/google/uuid/compare/v1.1.1...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/google/uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-22 09:28:24 -04:00
dependabot[bot] c128a4fb57 build(deps): bump github.com/mmcdole/gofeed from 1.0.0-beta2 to 1.1.3
Bumps [github.com/mmcdole/gofeed](https://github.com/mmcdole/gofeed) from 1.0.0-beta2 to 1.1.3.
- [Release notes](https://github.com/mmcdole/gofeed/releases)
- [Commits](https://github.com/mmcdole/gofeed/compare/v1.0.0-beta2...v1.1.3)

---
updated-dependencies:
- dependency-name: github.com/mmcdole/gofeed
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-22 09:20:46 -04:00
dependabot[bot] df6b055fe8 build(deps): bump github.com/mattn/go-sqlite3
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.8 to 2.0.3+incompatible.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.8...v2.0.3)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-22 09:16:47 -04:00
dependabot[bot] 51060a9964 build(deps): bump github.com/PuerkitoBio/goquery from 1.5.0 to 1.8.0
Bumps [github.com/PuerkitoBio/goquery](https://github.com/PuerkitoBio/goquery) from 1.5.0 to 1.8.0.
- [Release notes](https://github.com/PuerkitoBio/goquery/releases)
- [Commits](https://github.com/PuerkitoBio/goquery/compare/v1.5.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/PuerkitoBio/goquery
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-22 09:07:29 -04:00
dependabot[bot] d9c6cdb074 build(deps): bump github.com/go-chi/chi/v5 from 5.0.3 to 5.0.7
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.0.3 to 5.0.7.
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-chi/chi/compare/v5.0.3...v5.0.7)

---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-22 09:02:26 -04:00
dependabot[bot] 2effa7fa39 build(deps): bump gopkg.in/go-playground/webhooks.v5
Bumps [gopkg.in/go-playground/webhooks.v5](https://github.com/go-playground/webhooks) from 5.13.0 to 5.17.0.
- [Release notes](https://github.com/go-playground/webhooks/releases)
- [Commits](https://github.com/go-playground/webhooks/compare/v5.13.0...v5.17.0)

---
updated-dependencies:
- dependency-name: gopkg.in/go-playground/webhooks.v5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-22 08:59:00 -04:00
dependabot[bot] a27e3475ae build(deps): bump github.com/jmoiron/sqlx from 1.2.0 to 1.3.4
Bumps [github.com/jmoiron/sqlx](https://github.com/jmoiron/sqlx) from 1.2.0 to 1.3.4.
- [Release notes](https://github.com/jmoiron/sqlx/releases)
- [Commits](https://github.com/jmoiron/sqlx/compare/v1.2.0...v1.3.4)

---
updated-dependencies:
- dependency-name: github.com/jmoiron/sqlx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-22 08:47:59 -04:00
dependabot[bot] 8a045f60eb build(deps): bump github.com/rs/zerolog from 1.15.0 to 1.26.1
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.15.0 to 1.26.1.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.15.0...v1.26.1)

---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-22 08:43:59 -04:00
dependabot[bot] 61e196634d build(deps): bump github.com/slack-go/slack from 0.9.4 to 0.10.2
Bumps [github.com/slack-go/slack](https://github.com/slack-go/slack) from 0.9.4 to 0.10.2.
- [Release notes](https://github.com/slack-go/slack/releases)
- [Changelog](https://github.com/slack-go/slack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/slack-go/slack/compare/v0.9.4...v0.10.2)

---
updated-dependencies:
- dependency-name: github.com/slack-go/slack
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-22 08:40:45 -04:00
dependabot[bot] 5dd4ddc5e8 build(deps): bump github.com/itchyny/gojq from 0.12.3 to 0.12.7
Bumps [github.com/itchyny/gojq](https://github.com/itchyny/gojq) from 0.12.3 to 0.12.7.
- [Release notes](https://github.com/itchyny/gojq/releases)
- [Changelog](https://github.com/itchyny/gojq/blob/main/CHANGELOG.md)
- [Commits](https://github.com/itchyny/gojq/compare/v0.12.3...v0.12.7)

---
updated-dependencies:
- dependency-name: github.com/itchyny/gojq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-22 08:34:17 -04:00
dependabot[bot] bcbcd526d3 build(deps): bump github.com/stretchr/testify from 1.4.0 to 1.7.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.4.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 22:25:55 -04:00
Chris Sexton df2704332f Create dependabot.yml 2022-03-21 22:22:30 -04:00
Chris Sexton 471c3ecff4 all: update to go1.18 and any interface 2022-03-21 21:36:04 -04:00
Chris Sexton 3af3633559 web: fix vue version references
3.x came out and @latest busted everything.
2022-02-18 07:20:02 -05:00
Chris Sexton 63c850f9ce beers: catbase more woke than you. bask in his virtue 2022-01-17 10:12:31 -05:00
Chris Sexton d036aacc0a mayi: add a should clause 2022-01-03 16:15:23 -05:00
Chris Sexton c5a13116fa roles: add help 2022-01-03 07:41:44 -05:00
Chris Sexton d89569cdc6 mayi: fix regex 2021-12-17 08:49:10 -05:00
Chris Sexton 9670e0e657 counter: reorder goal and count 2021-12-04 16:05:19 -05:00