Commit graph

545 commits

Author SHA1 Message Date
Gabe Kangas
439da013d8
chore(go): update to go 1.22 (#3708)
* chore(go): update to go 1.22

* fix: install go before running codeql to fix autobild

* chore(test): explicitly set base crosscompile image

* fix(test): do not point at image with incorrect version of Go
2024-04-22 13:23:52 -07:00
renovate[bot]
4ac08252c1
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.23 2024-04-18 10:18:31 +00:00
Gabe Kangas
a450e62397
Optionally disable chat rate limiter and add optional chat slur/language filter (#3681)
* feat(chat): basic profanity filter. For #3139

* feat(chat): add setting for disabling chat spam protection. Closes #3523

* feat(chat): wire up the new chat slur filter to admin and chat. Closes #3139
2024-04-09 22:25:41 -07:00
renovate[bot]
a06db37cd9
fix(deps): update module golang.org/x/mod to v0.17.0 2024-04-09 16:18:22 +00:00
renovate[bot]
2d03ea5691
fix(deps): update module golang.org/x/net to v0.24.0 2024-04-09 13:52:36 +00:00
renovate[bot]
9c973f3d5b
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.17 2024-04-09 10:14:48 +00:00
renovate[bot]
f4cae0f1dd
fix(deps): update module github.com/shirou/gopsutil/v3 to v3.24.3 2024-04-09 06:39:54 +00:00
renovate[bot]
fd271c23f0
fix(deps): update module github.com/yuin/goldmark to v1.7.1 2024-04-08 22:54:43 +00:00
dependabot[bot]
cda2178fe6
Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#3629)
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 13:13:43 -07:00
renovate[bot]
99ac8ed6a7
fix(deps): update module gopkg.in/evanphx/json-patch.v5 to v5.9.0 2024-03-08 07:05:23 +00:00
renovate[bot]
bf3194fddb
fix(deps): update module golang.org/x/net to v0.22.0 2024-03-07 13:21:55 +00:00
renovate[bot]
b6b7f1a8d5
fix(deps): update module golang.org/x/mod to v0.16.0 2024-03-07 09:43:50 +00:00
renovate[bot]
564a48e600
fix(deps): update module github.com/shirou/gopsutil/v3 to v3.24.2 2024-03-07 02:15:50 +00:00
renovate[bot]
34f5fd0114
fix(deps): update module github.com/aws/aws-sdk-go to v1.50.33 2024-03-06 23:03:56 +00:00
renovate[bot]
90895ac68f
fix(deps): update module mvdan.cc/xurls to v2 (#3621)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 15:02:57 -08:00
renovate[bot]
a7f7ce1d65
fix(deps): update module github.com/stretchr/testify to v1.9.0 2024-03-01 18:01:55 +00:00
renovate[bot]
446ee8e27a
fix(deps): update module github.com/prometheus/client_golang to v1.19.0 2024-03-01 16:34:40 +00:00
renovate[bot]
28f1094b4b fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.22 2024-03-01 16:32:58 +00:00
renovate[bot]
06dedec90a
fix(deps): update module github.com/aws/aws-sdk-go to v1.50.29 2024-03-01 06:59:27 +00:00
renovate[bot]
76515246d9
fix(deps): update module github.com/jellydator/ttlcache/v3 to v3.2.0 (#3591)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-19 16:34:08 -08:00
renovate[bot]
cbb839c0bf
fix(deps): update module golang.org/x/net to v0.21.0 2024-02-17 07:37:48 +00:00
renovate[bot]
2333c7539d
fix(deps): update module golang.org/x/mod to v0.15.0 2024-02-17 01:23:53 +00:00
renovate[bot]
851805af6b
fix(deps): update module github.com/yuin/goldmark to v1.7.0 2024-02-16 22:59:51 +00:00
Gabe Kangas
7399bee276
Gek/cache bot search page (#3530)
* feat: add general purpose key/val caching layer

* feat: cache bot/metadata response page for 10 seconds
2024-01-21 17:18:47 -08:00
dependabot[bot]
9763a1a549
Bump golang.org/x/crypto from 0.16.0 to 0.17.0 (#3502)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-30 08:45:46 -08:00
renovate[bot]
68a09f41e0
fix(deps): update module golang.org/x/time to v0.5.0 2023-12-21 02:59:00 +00:00
renovate[bot]
2f5a372138
fix(deps): update module golang.org/x/net to v0.19.0 2023-12-20 19:37:19 +00:00
renovate[bot]
8f03437a05
fix(deps): update module github.com/aws/aws-sdk-go to v1.49.6 2023-12-20 18:39:04 +00:00
renovate[bot]
6f52bec22f
fix(deps): update module github.com/shirou/gopsutil/v3 to v3.23.11 2023-12-20 11:18:57 +00:00
renovate[bot]
2c7dd3a59b
fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.19 2023-12-20 06:07:08 +00:00
renovate[bot]
6486bd2039
fix(deps): update module github.com/gorilla/websocket to v1.5.1 2023-12-20 04:55:33 +00:00
Gabe Kangas
bb7de347c5
chore: reverting the current implementation of http response caching 2023-12-19 18:27:42 -08:00
dependabot[bot]
ff3949278d
Bump golang.org/x/crypto from 0.15.0 to 0.17.0 (#3485)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.15.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 17:33:32 -08:00
Gabe Kangas
2217f0614a
feat(api): add server-side caching for requests that could benefit (#3463)
* feat(api): add server-side caching for requests that could benefit for them

* fix(tests): do not cache responses while in tests

* fix: remove commented out leftover code

* chore(deps): update dependency html-webpack-plugin to v5.5.4

* Bundle embedded web app

* fix: remove caching for web app assets under test

* chore(tests): re-enable temporarily disabled test

* chore(deps): update dependency typescript to v5.3.3

* Bundle embedded web app

* chore(deps): update dependency npm to v10.2.5

* Bundle embedded web app

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Owncast <owncast@owncast.online>
2023-12-09 16:31:50 -08:00
renovate[bot]
b24d160685
fix(deps): update module mvdan.cc/xurls to v2 (#3420)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 20:48:15 -08:00
renovate[bot]
316b9fff96
fix(deps): update module golang.org/x/time to v0.4.0 2023-11-12 18:52:25 +00:00
renovate[bot]
c17a762067
fix(deps): update module golang.org/x/net to v0.18.0 2023-11-12 13:46:42 +00:00
renovate[bot]
0908eb8cd8
fix(deps): update module golang.org/x/mod to v0.14.0 2023-11-12 01:48:48 +00:00
renovate[bot]
08a95661bf
fix(deps): update module github.com/aws/aws-sdk-go to v1.47.9 2023-11-11 19:14:17 +00:00
renovate[bot]
153c536dc3
fix(deps): update module github.com/shirou/gopsutil/v3 to v3.23.10 2023-11-10 08:03:02 +00:00
renovate[bot]
33ad53891f
fix(deps): update module mvdan.cc/xurls to v2 (#3369)
* fix(deps): update module mvdan.cc/xurls to v2

* chore: go mod tidy

* Commit updated API documentation

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: Owncast <owncast@owncast.online>
2023-11-09 21:18:48 -08:00
renovate[bot]
2b6c68b85f
fix(deps): update module github.com/yuin/goldmark to v1.6.0 (#3403)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-29 16:56:15 -07:00
renovate[bot]
cb135d6ca3
fix(deps): update module github.com/aws/aws-sdk-go to v1.46.6 2023-10-29 12:36:57 +00:00
renovate[bot]
39827872ac
fix(deps): update module golang.org/x/mod to v0.13.0 2023-10-18 04:26:38 +00:00
renovate[bot]
f7aabe2173
fix(deps): update module github.com/microcosm-cc/bluemonday to v1.0.26 (#3356)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 19:01:51 -07:00
Gabe Kangas
6aa758501d
chore(go): bump project version number to 1.21 2023-10-17 18:33:05 -07:00
renovate[bot]
ef6902695e
fix(deps): update module github.com/aws/aws-sdk-go to v1.45.27 2023-10-17 23:21:24 +00:00
renovate[bot]
415d0299b0
fix(deps): update module mvdan.cc/xurls to v2 (#3363)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 00:22:05 -07:00
Gabe Kangas
650d66a0a1
chore: downgrade x/mod to silence go 1.21 toolchain error 2023-10-15 21:06:34 -07:00
renovate[bot]
00b90bcd56
fix(deps): update module golang.org/x/net to v0.17.0 [security] 2023-10-11 23:21:30 +00:00
renovate[bot]
d1159fbdfe
fix(deps): update module gopkg.in/evanphx/json-patch.v5 to v5.7.0 2023-10-10 18:49:06 +00:00
renovate[bot]
d96e3d425a
fix(deps): update module golang.org/x/mod to v0.13.0 2023-10-10 15:59:38 +00:00
renovate[bot]
4fc15115d5
fix(deps): update module github.com/sherclockholmes/webpush-go to v1.3.0 2023-10-10 12:25:19 +00:00
renovate[bot]
44606c697f
fix(deps): update module github.com/prometheus/client_golang to v1.17.0 2023-10-10 10:20:50 +00:00
renovate[bot]
294b29d4e2
fix(deps): update module github.com/shirou/gopsutil/v3 to v3.23.9 2023-10-10 06:41:24 +00:00
renovate[bot]
14ac527772
fix(deps): update module github.com/aws/aws-sdk-go to v1.45.24 2023-10-09 23:05:39 +00:00
renovate[bot]
3b4611e3c9
fix(deps): update module golang.org/x/net to v0.16.0 2023-10-06 12:18:42 +00:00
renovate[bot]
06be1d8d6f
fix(deps): update module github.com/aws/aws-sdk-go to v1.45.14 2023-09-22 02:18:13 +00:00
renovate[bot]
0eecd1a5f4
fix(deps): update module github.com/cafxx/httpcompression to v0.0.9 2023-09-07 06:52:18 +00:00
renovate[bot]
2b0fd5df7a fix(deps): update module github.com/aws/aws-sdk-go to v1.44.334 2023-08-30 09:44:19 +00:00
renovate[bot]
c298f276c1
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.332 2023-08-26 19:57:42 +00:00
renovate[bot]
ef75730aa7
fix(deps): update module golang.org/x/net to v0.14.0 2023-08-19 13:07:59 +00:00
renovate[bot]
759796d81e
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.327 2023-08-19 01:02:02 +00:00
renovate[bot]
146f8a9ae5
fix(deps): update module github.com/shirou/gopsutil/v3 to v3.23.7 2023-08-18 17:27:52 +00:00
renovate[bot]
981411029c
fix(deps): update module github.com/yuin/goldmark to v1.5.6 2023-08-18 15:38:12 +00:00
Gabe Kangas
1e57cff3e0
fix: use lightweight bot/scraper html responses. Fixes #3253 2023-08-16 18:19:09 -07:00
renovate[bot]
ee856a4f7a
fix(deps): update module github.com/yuin/goldmark to v1.5.5 2023-07-31 19:43:14 +00:00
renovate[bot]
6327011cb4 fix(deps): update github.com/teris-io/shortid digest to 6c56cef 2023-07-23 21:32:59 +00:00
renovate[bot]
2001c944a1 fix(deps): update github.com/teris-io/shortid digest to 71ec9f2 2023-07-22 19:45:24 +00:00
renovate[bot]
9e92ae46f3
fix(deps): update github.com/teris-io/shortid digest to 6c56cef 2023-07-21 09:29:40 +00:00
renovate[bot]
8eb5b5bb04
fix(deps): update github.com/teris-io/shortid digest to 71ec9f2 2023-07-20 11:39:25 +00:00
renovate[bot]
ed981cc99a
fix(deps): update github.com/teris-io/shortid digest to 6c56cef 2023-07-19 15:46:30 +00:00
renovate[bot]
265f1cfea7
fix(deps): update module github.com/microcosm-cc/bluemonday to v1.0.25 2023-07-18 14:46:32 +00:00
renovate[bot]
cc75be1c00
fix(deps): update module golang.org/x/net to v0.12.0 2023-07-06 07:24:48 +00:00
renovate[bot]
08a97d0cf0
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.296 (#3145)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-06 00:23:58 -07:00
renovate[bot]
e20f467fbb
fix(deps): update module golang.org/x/mod to v0.12.0 2023-07-06 04:48:02 +00:00
John Regan
46ca5223f9
Chat wire protocol (#3125)
* core: remove file extension from emoji name

* web: transform emotes to labels when sending

* chat: replace br with line break

* core: implement emoji cache

* chat: send shortcodes for custom emoji

* chat: correct esling errors

* core: move emoji injection into dedicated function

* emoji: integrate emoji into markdown renderer, fix formatting

* chat protocol: correct golangci-lint findings

* chat field: specify that the contentEditable is an HTMLElement

* admin: mention that emoji should have unique names

* Prettified Code!

* regenerate pack-lock

* chat: correct the emphasis tag, provide fallback for other elements

---------

Co-authored-by: jprjr <jprjr@users.noreply.github.com>
2023-07-05 17:25:47 -07:00
renovate[bot]
68ebf0a4aa
fix(deps): update module github.com/shirou/gopsutil/v3 to v3.23.6 2023-07-04 11:30:48 +00:00
renovate[bot]
cadc2e3f48
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.295 2023-07-04 08:05:46 +00:00
renovate[bot]
0ab883ae09
fix(deps): update module golang.org/x/net to v0.11.0 2023-06-21 21:47:25 +00:00
renovate[bot]
c27553f758
fix(deps): update module golang.org/x/mod to v0.11.0 2023-06-21 17:16:05 +00:00
renovate[bot]
bc9327e679
fix(deps): update module github.com/prometheus/client_golang to v1.16.0 2023-06-21 13:27:51 +00:00
renovate[bot]
a68cd77135
fix(deps): update module github.com/oschwald/geoip2-golang to v1.9.0 2023-06-21 10:05:41 +00:00
renovate[bot]
683f73c379
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.286 2023-06-20 21:07:28 +00:00
renovate[bot]
4806af0025
fix(deps): update module github.com/shirou/gopsutil/v3 to v3.23.5 2023-06-20 18:21:12 +00:00
renovate[bot]
6474751a5a
fix(deps): update module github.com/sirupsen/logrus to v1.9.3 2023-06-03 22:53:36 +00:00
renovate[bot]
1da838e815
fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.17 2023-06-01 04:58:13 +00:00
renovate[bot]
d7425bfeb4
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.273 2023-06-01 01:07:10 +00:00
Gabe Kangas
85e7af3d5f
Update to Go 1.20 + run better align (#2927)
* chore(go): update go version to 1.20. Closes #2185

* chore(go): run better align against project

To optimize struct field order. Closes #2870

* chore(go): update CI jobs to use Go 1.20

* fix(go): linter warnings for Go 1.20 update
2023-05-30 10:31:43 -07:00
Gabe Kangas
24c51c831e
Update to Go 1.20. Closes #2185 2023-05-28 12:38:49 -07:00
renovate[bot]
b80fa15fba
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.271 2023-05-27 05:44:10 +00:00
renovate[bot]
7fdfb46b4a
fix(deps): update module github.com/microcosm-cc/bluemonday to v1.0.24 2023-05-20 07:12:46 +00:00
renovate[bot]
d675713e2c
fix(deps): update module golang.org/x/net to v0.10.0 2023-05-18 10:25:31 +00:00
renovate[bot]
e7c14e384e
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.264 2023-05-18 07:20:34 +00:00
renovate[bot]
18207fb0dd
fix(deps): update module github.com/sirupsen/logrus to v1.9.2 2023-05-17 19:14:33 +00:00
renovate[bot]
6911708fad
fix(deps): update module github.com/prometheus/client_golang to v1.15.1 2023-05-06 09:27:19 +00:00
renovate[bot]
a023337455
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.258 2023-05-06 07:08:03 +00:00
renovate[bot]
cbba33a53c
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.248 (#2939)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-23 14:17:26 -07:00
renovate[bot]
cdb4798401
fix(deps): update module github.com/andybalholm/cascadia to v1.3.2 2023-04-19 20:44:43 +00:00
renovate[bot]
ea738f612d
fix(deps): update module golang.org/x/net to v0.9.0 2023-04-18 01:01:11 +00:00