Commit graph

1470 commits

Author SHA1 Message Date
Gabe Kangas
5968aa49d2 Fix initial creation of logging directory 2021-07-11 17:08:51 -07:00
Meisam
d042fd70d1
Cache the custom emoji list (#1175)
* use emojiCache

* add emojiCacheTimestamp

* add function description

* better logging
2021-07-11 15:34:56 -07:00
Meisam
08b6c4e3cf
Better handling of os.Stat() errors (#1173) 2021-07-09 18:31:43 -07:00
Meisam
7361578412
style fix for error checking (#1170)
+additional linting
2021-07-09 11:16:44 -07:00
Meisam
a13e1e75e2
proper cleanup and permission check for the hls directory (#1167)
* check error on hls cleanup

* rm HLS directories before creating new ones

* don't mask the variable

* mv cleanupDirectory() to utils

* add user-friendly error messages
2021-07-08 12:35:53 -07:00
dependabot[bot]
0e0199aa98
Bump github.com/microcosm-cc/bluemonday from 1.0.14 to 1.0.15 (#1168)
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.14...v1.0.15)

---
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-07-08 10:56:28 -07:00
Rohan Sharma
8fe28dc941
remove the unnecessary websocket connection from the embed player (#1165) 2021-07-06 17:46:52 -07:00
dependabot[bot]
2aff63d73f
Bump github.com/aws/aws-sdk-go from 1.38.66 to 1.39.0 (#1161)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.66 to 1.39.0.
- [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.66...v1.39.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  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-07-05 11:07:20 -07:00
dependabot[bot]
b4596a508d
Bump github.com/yuin/goldmark from 1.3.9 to 1.4.0 (#1162)
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.3.9 to 1.4.0.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.3.9...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
  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-07-05 11:06:13 -07:00
Jannik
3f9f4a151c
refactor: use io.Pipe and ffmpeg's stdin (#1148)
This removes the usage of `syscall.Mkfifo` which was previously used and
won't work on Windows systems and opens the door for other processes on
the computer to interfere in the rtmp stream (dumping bad content in the
fifo, removing the file, blocking the file in offline status).
Instead, this patch introduces an `io.Pipe` which pipes the RTMP stream
to the ffmpeg command while staying in Owncast.

Further links:
* ffmpeg on using `pipe:0` as an input: https://ffmpeg.org/ffmpeg-protocols.html#pipe
2021-07-03 12:28:25 -07:00
dependabot[bot]
0858e2ed52
Bump video.js from 7.12.3 to 7.13.3 in /build/javascript (#1145)
* Bump video.js from 7.12.3 to 7.13.3 in /build/javascript

Bumps [video.js](https://github.com/videojs/video.js) from 7.12.3 to 7.13.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.12.3...v7.13.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>

* Copy library over

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2021-07-01 18:31:48 -07:00
Jannik
edc777ae1b
🐛 use currentBroadcast for playlist overwrites (#1149)
Fixes #1147 since it looks into currentBroadcast and does not use the configuration of the next stream.
2021-07-01 18:27:56 -07:00
Meisam
3b6ef78ff7
fix video variant sorting (#1150) 2021-07-01 18:17:50 -07:00
dependabot[bot]
1f05923545
Bump github.com/shirou/gopsutil (#1146)
Bumps [github.com/shirou/gopsutil](https://github.com/shirou/gopsutil) from 3.21.5+incompatible to 3.21.6+incompatible.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.21.5...v3.21.6)

---
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-07-01 09:01:50 -07:00
Gabe Kangas
0802a20f4f Do not save invalid disconnect time 2021-06-29 11:38:13 -07:00
Gabe Kangas
12104978e8 Some linter cleanup 2021-06-29 10:21:00 -07:00
Gabe Kangas
ab3bbd59bf Cleanup the persisted disconnected time 2021-06-29 10:04:26 -07:00
dependabot[bot]
516e4e89c0
Bump github.com/yuin/goldmark from 1.3.8 to 1.3.9 (#1141)
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.3.8 to 1.3.9.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.3.8...v1.3.9)

---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
  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-29 08:22:59 -07:00
Gabe Kangas
199e70fade Fix the passed in version number not being used due to an incorrect var 2021-06-28 16:01:01 -07:00
Gabe Kangas
d28c4b96f3 Fix invalid nil time being returned 2021-06-28 13:59:23 -07:00
Gabe Kangas
2c2736aef9
Use full path to dependency 2021-06-23 18:20:46 -07:00
dependabot[bot]
43b37e84db
Bump github.com/aws/aws-sdk-go from 1.38.65 to 1.38.66 (#1136)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.65 to 1.38.66.
- [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.65...v1.38.66)

---
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-23 18:20:13 -07:00
Gabe Kangas
610a3ef834 Calm down excessive dependabot updates 2021-06-23 18:17:13 -07:00
dependabot[bot]
b37edfe7fe
Bump @videojs/http-streaming from 2.9.0 to 2.9.1 in /build/javascript (#1134)
Bumps [@videojs/http-streaming](https://github.com/videojs/http-streaming) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/videojs/http-streaming/releases)
- [Changelog](https://github.com/videojs/http-streaming/blob/main/CHANGELOG.md)
- [Commits](https://github.com/videojs/http-streaming/compare/v2.9.0...v2.9.1)

---
updated-dependencies:
- dependency-name: "@videojs/http-streaming"
  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-23 11:00:07 -07:00
dependabot[bot]
8ccef737ef
Bump color-string from 1.5.4 to 1.5.5 in /build/javascript (#1131)
Bumps [color-string](https://github.com/Qix-/color-string) from 1.5.4 to 1.5.5.
- [Release notes](https://github.com/Qix-/color-string/releases)
- [Changelog](https://github.com/Qix-/color-string/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Qix-/color-string/compare/1.5.4...1.5.5)

---
updated-dependencies:
- dependency-name: color-string
  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-22 08:09:55 -07:00
dependabot[bot]
acb0bbe702
Bump github.com/aws/aws-sdk-go from 1.38.64 to 1.38.65 (#1130)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.64 to 1.38.65.
- [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.64...v1.38.65)

---
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-22 08:03:54 -07:00
Gabe Kangas
010bdeaffd Fix incorrect error message 2021-06-21 20:16:57 -07:00
Gabe Kangas
6f11351840 Remove unused property 2021-06-21 20:16:44 -07:00
Gabe Kangas
1586d80a32 Wire up blocked chat username controller 2021-06-21 20:16:21 -07:00
Gabe Kangas
99d04c8e69
Customize stalebot to close stale PRs 2021-06-21 09:46:32 -07:00
Gabe Kangas
20c272ff3d Guard against invalid last disconnect time 2021-06-20 20:16:27 -07:00
Gabe Kangas
e61b83c5ed Fix missing space in viewer count 2021-06-20 20:15:08 -07:00
Gabe Kangas
bb8aea6446 Revert "Consolidate the ping and status request APIs"
This reverts commit b96cd2e93e.
2021-06-20 20:11:21 -07:00
Gabe Kangas
f2b2e5c61c Revert "Remove ping requests now that it has been consolidated with status requests"
This reverts commit d9a6be2ac6.
2021-06-20 20:11:21 -07:00
gabek
2aa8b70ead Prettified Code! 2021-06-21 00:24:12 +00:00
Gabe Kangas
57674206b2
Fix + update external modal (#1106)
* Update external action modal. Uses Micromodal. Closes #1020

* refactor modal handling to isolate loading in modal component

* modal style cleanup

* Remove log

Co-authored-by: Ginger Wong <omqmail@gmail.com>
2021-06-20 17:23:39 -07:00
gabek
c848c029d5 Prettified Code! 2021-06-21 00:16:30 +00:00
gingervitis
3b08b50ce0
add a send button on chat for touch screen devices (#1127)
* add a send button on chat for touch screen devices

* cleanup
2021-06-20 17:15:52 -07:00
Gabe Kangas
89dfcfb047 Fix buggy saving of lastDisconnectTime now used for #1111 2021-06-20 11:30:29 -07:00
gabek
b19fa76cd0 Prettified Code! 2021-06-20 17:49:54 +00:00
gingervitis
c45e43c378
display last online time (#1125)
* - if offline calculate and display last online time to address https://github.com/owncast/owncast/issues/1111
- clean up status bar styles

* clean up console
2021-06-20 10:49:16 -07:00
gabek
d19ecab90c Prettified Code! 2021-06-20 01:13:03 +00:00
Timur Zhigmytov
1b5f8b9f1d
Remove div container when action buttons is empty (#1124)
Co-authored-by: Timur Zhigmytov <timur.zhigmytov@mediamonks.com>
2021-06-19 18:12:28 -07:00
dependabot[bot]
2bc9b4b7e7
Bump github.com/aws/aws-sdk-go from 1.38.62 to 1.38.64 (#1121)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.62 to 1.38.64.
- [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.62...v1.38.64)

---
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-18 08:20:55 -07:00
Aaron Ogle
b502849184
Consolidate Dockerfile into root and consolidate version into config (#1118)
* Consolidate Dockerfile into root and consolidate version into config

* Correct the build args here
2021-06-17 19:27:17 -07:00
dependabot[bot]
1e72fc8e93
Bump github.com/schollz/sqlite3dump from 1.2.4 to 1.3.0 (#1115)
Bumps [github.com/schollz/sqlite3dump](https://github.com/schollz/sqlite3dump) from 1.2.4 to 1.3.0.
- [Release notes](https://github.com/schollz/sqlite3dump/releases)
- [Commits](https://github.com/schollz/sqlite3dump/compare/v1.2.4...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/schollz/sqlite3dump
  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-17 13:48:15 -07:00
dependabot[bot]
d18932a825
Bump github.com/yuin/goldmark from 1.3.7 to 1.3.8 (#1113)
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.3.7 to 1.3.8.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.3.7...v1.3.8)

---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
  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-17 08:26:22 -07:00
dependabot[bot]
67e57e9647
Bump github.com/microcosm-cc/bluemonday from 1.0.10 to 1.0.14 (#1114)
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.10 to 1.0.14.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.10...v1.0.14)

---
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-17 08:26:04 -07:00
dependabot[bot]
dc5d5a10ec
Bump postcss from 8.3.4 to 8.3.5 in /build/javascript (#1112)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.4 to 8.3.5.
- [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.4...8.3.5)

---
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-17 08:24:41 -07:00
dependabot[bot]
164fabb967
Bump github.com/aws/aws-sdk-go from 1.38.61 to 1.38.62 (#1107)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.61 to 1.38.62.
- [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.61...v1.38.62)

---
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-15 23:00:07 -07:00