Commit graph

1215 commits

Author SHA1 Message Date
Meisam
e991199735
updates to backups directory (#1099)
* read BackupDirectory from command line flag

* Change the default backup directory

* mkdir BackupDirectory

* use config for backup file path

* migrateDatabase to the backup directory

* use DoesFileExists

change permission on the directory to 0700

* declare err

* generate backupFile  where needed

* style fix

* more style fixes

* more style fixes
2021-06-13 15:28:59 -07:00
Gabe Kangas
d9a6be2ac6 Remove ping requests now that it has been consolidated with status requests 2021-06-13 14:30:18 -07:00
dependabot[bot]
20236a6586
Bump github.com/microcosm-cc/bluemonday from 1.0.9 to 1.0.10 (#1098)
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.9 to 1.0.10.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.9...v1.0.10)

---
updated-dependencies:
- dependency-name: github.com/microcosm-cc/bluemonday
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-10 23:45:34 -07:00
dependabot[bot]
08274fbe21
Bump github.com/aws/aws-sdk-go from 1.38.58 to 1.38.59 (#1097)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.58 to 1.38.59.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.58...v1.38.59)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-10 23:45:02 -07:00
dependabot[bot]
a9e01ecb95
Bump cssnano from 5.0.5 to 5.0.6 in /build/javascript (#1095)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.5 to 5.0.6.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.5...cssnano@5.0.6)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-10 23:44:25 -07:00
dependabot[bot]
7fea5c0fca
Bump postcss from 8.3.1 to 8.3.2 in /build/javascript (#1094)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.1 to 8.3.2.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.1...8.3.2)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-10 22:43:36 -07:00
Gabe Kangas
b96cd2e93e Consolidate the ping and status request APIs 2021-06-10 22:07:56 -07:00
Gabe Kangas
ba4a4b0b13 Update admin bundle 2021-06-10 15:12:41 -07:00
dependabot[bot]
07235c0480
Bump postcss from 8.3.0 to 8.3.1 in /build/javascript (#1089)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.0 to 8.3.1.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.0...8.3.1)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-10 15:10:00 -07:00
Meisam
2659dc3646
Hide viewer count when offline (#1091)
* Hide viewer count when offline

* cleanup
2021-06-10 10:59:51 -07:00
dependabot[bot]
e396207c08
Bump github.com/aws/aws-sdk-go from 1.38.57 to 1.38.58 (#1090)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.57 to 1.38.58.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.57...v1.38.58)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-10 07:58:24 -07:00
dependabot[bot]
cef5c821d4
Bump github.com/aws/aws-sdk-go from 1.38.56 to 1.38.57 (#1087)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.56 to 1.38.57.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.56...v1.38.57)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 15:32:20 -07:00
dependabot[bot]
f6945be5b2
Bump github.com/aws/aws-sdk-go from 1.38.54 to 1.38.56 (#1086)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.54 to 1.38.56.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.54...v1.38.56)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 22:39:51 -07:00
Gabe Kangas
306a0066d1 Fix concurrency crash. Closes #1067 2021-06-07 21:59:43 -07:00
dependabot[bot]
62dfc5bea3
Bump glob-parent from 5.1.1 to 5.1.2 in /build/javascript (#1084)
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 19:16:48 -07:00
gabek
bb4fc6dae3 Prettified Code! 2021-06-08 00:37:20 +00:00
Gabe Kangas
e994412f4b Fix webapp not loading after youtube embed was removed in #1079 2021-06-07 17:36:43 -07:00
gabek
136fb2d943 Prettified Code! 2021-06-07 20:53:56 +00:00
Meisam
c77782cd35
inject custom style (#1083) 2021-06-07 13:53:25 -07:00
Pankaj Patil
4bee6408b4
Remove YouTube embedding in the chat (#1080)
* Remove YouTube embedding in the chat

* Remove youtube-lite dependency

* Implelment Feedback
2021-06-07 10:57:13 -07:00
Gabe Kangas
5e198bcec6 Add arm64 arch to build targets. Closes #1053 2021-06-05 00:02:34 -07:00
Jannik
fae2c58259
Fix rtmp secret validation to allow / (#1069) (#1070)
* Fix rtmp secret validation to allow `/` (#1069)

* add negative test cases for stuff before /live/

* simplify since Url.Path is already stripping the host

This means that we can simplify the code and make it much clearer.
Removes the tests that checked for the host and stuff between the host and /live/.
2021-06-04 20:09:43 -07:00
Gabe Kangas
dc70642892 Fix missing package.json for load tests 2021-06-04 20:03:11 -07:00
Gabe Kangas
a357cc7c09 Update admin bundle 2021-06-04 19:49:37 -07:00
Gabe Kangas
fc13f98102 Rebuild frontend js libs 2021-06-04 19:47:59 -07:00
dependabot[bot]
20a4e4c34c
Bump video.js from 7.11.8 to 7.12.3 in /build/javascript (#1073)
Bumps [video.js](https://github.com/videojs/video.js) from 7.11.8 to 7.12.3.
- [Release notes](https://github.com/videojs/video.js/releases)
- [Changelog](https://github.com/videojs/video.js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/videojs/video.js/compare/v7.11.8...v7.12.3)

---
updated-dependencies:
- dependency-name: video.js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-04 19:46:12 -07:00
dependabot[bot]
8f458549b6
Bump github.com/shirou/gopsutil (#1074)
Bumps [github.com/shirou/gopsutil](https://github.com/shirou/gopsutil) from 3.21.4+incompatible to 3.21.5+incompatible.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.21.4...v3.21.5)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-04 19:10:40 -07:00
dependabot[bot]
608b7c23ac
Bump github.com/aws/aws-sdk-go from 1.38.50 to 1.38.54 (#1078)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.50 to 1.38.54.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.50...v1.38.54)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-04 19:10:22 -07:00
dependabot[bot]
c211ffc2d4
Bump cssnano from 5.0.4 to 5.0.5 in /build/javascript (#1068)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.4 to 5.0.5.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.4...cssnano@5.0.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 10:33:32 -07:00
dependabot[bot]
fa1d1ff8cd
Bump ws from 7.4.0 to 7.4.6 in /test/automated (#1065)
Bumps [ws](https://github.com/websockets/ws) from 7.4.0 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.0...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-29 15:22:09 -07:00
Ginger Wong
e89e65e1f5 Resolve issue https://github.com/owncast/owncast/issues/1044
- use built-in videojs font icon instead
- remove button clickhandler override to make button work on mobile
2021-05-29 14:20:37 -07:00
Ginger Wong
c08744c3c4 - A fix for https://github.com/owncast/owncast/issues/1007. Hide app container when configdata is loading
- Also, disable global CSS transition animations for now. If we want to add transitions onto anything, we can target specific elements and add styles individually intead.
2021-05-29 13:08:10 -07:00
dependabot[bot]
c48f0dd9b0
Bump github.com/aws/aws-sdk-go from 1.38.49 to 1.38.50 (#1063)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.49 to 1.38.50.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.49...v1.38.50)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-28 12:26:38 -07:00
Thilo Billerbeck
6c7acf9a95
added emoji focus check to prevent triggering shortcuts (#1056) 2021-05-27 21:39:20 -07:00
Gabe Kangas
5ef1596d65 Remove extra references to config file 2021-05-27 19:59:33 -07:00
dependabot[bot]
3fd5f6c2c5
Bump github.com/aws/aws-sdk-go from 1.38.46 to 1.38.49 (#1057)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.46 to 1.38.49.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.46...v1.38.49)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-27 15:44:42 -07:00
Gabe Kangas
94136d4361 Demote log message 2021-05-24 21:43:13 -07:00
dependabot[bot]
38d3f67a57
Bump github.com/aws/aws-sdk-go from 1.38.44 to 1.38.46 (#1052)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.44 to 1.38.46.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.44...v1.38.46)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 16:39:31 -07:00
Gabe Kangas
0b40e4db7b Update admin bundle 2021-05-24 16:37:09 -07:00
dependabot[bot]
ddda4b7fa0
Bump browserslist from 4.14.5 to 4.16.6 in /build/javascript (#1051)
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.14.5 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.14.5...4.16.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 16:15:34 -07:00
leuc
5ab901bb36
Fix #981 Use -webserverip to set http listen address (#1032)
* Fix #981 Use -webserverip to set http listen address

* use 0.0.0.0 as default http listen address

* add Admin REST API for setting http listen address

* full input validation of port and IP
2021-05-24 16:13:49 -07:00
dependabot[bot]
dd8bf54f66
Bump cssnano from 5.0.3 to 5.0.4 in /build/javascript (#1050)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.3 to 5.0.4.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.3...cssnano@5.0.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 15:51:01 -07:00
Gabe Kangas
1a0beb1d0e Fix tests 2021-05-23 14:27:35 -07:00
Gabe Kangas
5cdb6c3417 Create+use logs dir within data dir for logging 2021-05-23 14:24:20 -07:00
Meisam
8b57ddcfb1
Remove config file migrator (#1045)
* rm migrator consts

* Delete migrator.go

* rm RunMigrations()
2021-05-23 13:36:34 -07:00
Fabian Fischer
d3696cd0aa
fix: avoid duplicate cache-control header (#1048) 2021-05-23 13:35:05 -07:00
Gabe Kangas
fd864acab1 Update admin bundle 2021-05-23 00:02:05 -07:00
Gabe Kangas
61e07bf945 API for setting a list of blocked usernames. For #782 2021-05-22 21:50:34 -07:00
Gabe Kangas
83ad6db394 If tag storage is an empty string return back an empty slice. Fixes #974 2021-05-22 21:32:56 -07:00
Gabe Kangas
381daaec9b Save owncast logs to log file. Closes #908 2021-05-22 19:25:54 -07:00