Commit graph

1391 commits

Author SHA1 Message Date
Owncast
a8c0a6bf98 Commit updated Javascript packages 2021-08-18 19:09:13 +00:00
dependabot[bot]
1c45473942
Bump @videojs/http-streaming from 2.10.0 to 2.10.1 in /build/javascript (#1334)
Bumps [@videojs/http-streaming](https://github.com/videojs/http-streaming) from 2.10.0 to 2.10.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.10.0...v2.10.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-08-18 12:08:19 -07:00
Owncast
b560d31aee Commit updated Javascript packages 2021-08-18 19:00:23 +00:00
dependabot[bot]
49bdc9043f
Bump cssnano from 5.0.7 to 5.0.8 in /build/javascript (#1333)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.7 to 5.0.8.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.7...cssnano@5.0.8)

---
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-08-18 11:59:19 -07:00
dependabot[bot]
9e4bf2dc50
Bump golang.org/x/mod from 0.4.2 to 0.5.0 (#1326)
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.4.2 to 0.5.0.
- [Release notes](https://github.com/golang/mod/releases)
- [Commits](https://github.com/golang/mod/compare/v0.4.2...v0.5.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  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-08-16 12:47:07 -07:00
Meisam
4cd7b254da
keep the chat enabled on timer (#1313)
* keep the chat enabled on timer

* fix chat deactivation of stream stop

* simplify the chat status logic

* Use strict inequality

Co-authored-by: gingervitis <omqmail@gmail.com>

* Use strict inequality

Co-authored-by: gingervitis <omqmail@gmail.com>

Co-authored-by: gingervitis <omqmail@gmail.com>
2021-08-15 18:22:13 -07:00
Gabe Kangas
af7720a483
Use the same screenshot as the web site
It's fancier.
2021-08-14 20:24:54 -07:00
Meisam
31a8d81a42
Move emoji directory definition to config (#1317)
* mv emojiDir to config

* end comment with period
2021-08-14 12:48:04 -07:00
Gabe Kangas
04bb97bffc Fix build error on FreeBSD. Closes #1243 2021-08-13 15:34:00 -07:00
Gabe Kangas
a0a8257cb7 Bump version constant 2021-08-13 00:26:10 -07:00
Gabe Kangas
ea66ccfe3d Update admin bundle 2021-08-13 00:26:00 -07:00
Gabe Kangas
4ea416fdbe Update the user object name change time when changing name. Closes #1277 2021-08-13 00:05:22 -07:00
Gabe Kangas
a8c5267e18 Update micromodal 2021-08-13 00:05:22 -07:00
Gabe Kangas
17468f276a Update markjs 2021-08-13 00:05:22 -07:00
Gabe Kangas
e2f9ea5195 Update htm 2021-08-13 00:05:22 -07:00
Gabe Kangas
c791722d71 Update vhs 2021-08-13 00:05:22 -07:00
Gabe Kangas
bf17293e8b Add automated integration test for client list API.
- Connects via websocket
- Verifies user list exists
- If GeoIP data is available it will test that the geo property of a
  client is populated.
2021-08-13 08:52:36 +02:00
Gabe Kangas
6f57f570d2 Restore GeoIP support to now support chat users. Closes #1304 2021-08-13 08:52:36 +02:00
Gabe Kangas
5adf2cdecd
Pass along disconnect time to determine chat disable timer duration (#1310) 2021-08-12 23:24:43 -07:00
Gabe Kangas
6fb383d04b Only ignore messages 5min after disconnect. Part of fixing #1268 2021-08-12 22:40:10 -07:00
Gabe Kangas
f87d4f960a Add formatting 2021-08-12 22:39:12 -07:00
Gabe Kangas
a01fe638cc
Increase golangci-lint timeout 2021-08-12 21:33:11 -07:00
Gabe Kangas
cf87f53da3 Do not send empty type when its not apropriate 2021-08-12 21:20:06 -07:00
Gabe Kangas
9d0ae44c3c Give stream status webhooks an id and timestamp 2021-08-12 20:02:17 -07:00
Gabe Kangas
53d0e8653e Remove old unused function 2021-08-12 17:23:28 -07:00
dependabot[bot]
72653a4ada
Bump path-parse from 1.0.6 to 1.0.7 in /build/javascript (#1307)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-12 17:15:17 -07:00
Gabe Kangas
b966d32d77 Incorrect webhook event type is being sent on user joined. Fixes #1302 2021-08-12 13:19:09 -07:00
Owncast
bf164d80ce Commit updated Javascript packages 2021-08-12 06:06:46 +00:00
dependabot[bot]
e284f91134
Bump @videojs/http-streaming from 2.9.3 to 2.10.0 in /build/javascript (#1284)
Bumps [@videojs/http-streaming](https://github.com/videojs/http-streaming) from 2.9.3 to 2.10.0.
- [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.3...v2.10.0)

---
updated-dependencies:
- dependency-name: "@videojs/http-streaming"
  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-08-11 23:05:50 -07:00
dependabot[bot]
63eeefd36a
Bump github.com/shirou/gopsutil (#1289)
Bumps [github.com/shirou/gopsutil](https://github.com/shirou/gopsutil) from 3.21.6+incompatible to 3.21.7+incompatible.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.21.6...v3.21.7)

---
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-08-11 22:42:16 -07:00
Gabe Kangas
f5a045dedc Update admin bundle 2021-08-10 12:19:26 -07:00
Christian
d0b006d51b Using the full IP address for ClientID. 2021-08-07 12:35:02 -07:00
Gabe Kangas
784d10c1e9 Remove "Sent" being inserted incorrectly. Fixes #1252 2021-08-05 21:40:40 -07:00
Christian
521681e1b8
Sort after build variants index number, fix broken index for HLS path. (#1282)
* safely generate the thumbnail.jpg & preview.gif

* Sort after build variants index number, fix broken index for HLS path.

* Don't export VideoBitrate and IsVideoPassthrough

* Unused variables deleted

* Solution for sorting not working correctly.

* Rename StreamSortVariants to streamSortVariants
2021-08-04 11:34:02 -07:00
Gabe Kangas
dcc7a7c5c3 Support assigning nil as time instead of setting time as invalid. Fix typo that led to incorrect disconnect time. Maybe addresses #1268? 2021-08-03 17:47:16 -07:00
Yarmo Mackenbach
cab963f21c
Fix status code for options requests (#1290) 2021-08-03 12:23:20 -07:00
gabek
a791d9c910 Prettified Code! 2021-07-31 23:22:00 +00:00
Meisam
7e6f53c846
Add standalone chat with ability to send messages (#1270)
* properly pass the messagesOnly to chat

* use actual username if embed is not messageonly

* mv embed chat to chat-overlay

* add new embed chat page

* fix router

* secure random number for non-secure application!

* add chat enable/disable functionality

* add username form

add customStyles

* mv overlay css

* add style for embed chat

style cleanup

* rm username form from chat overlay

* refactoring

* css cleanup

css adjust

* minor cleanup

* mark the embed chats as readonly and readwrite

* replace 301 redirects with 307

* add redirect for the cached address

* set insatnce name in chat
2021-07-31 16:21:30 -07:00
Meisam
41a7e8b896
check the return value of os.Rename (#1288) 2021-07-31 14:59:02 -07:00
Gabe Kangas
12cbe529de Fix incorrect handling of messages array. Closes #1287 2021-07-31 12:48:42 -07:00
Christian
cb7a9b89ea
safely generate the thumbnail.jpg & preview.gif (#1279) 2021-07-28 14:21:02 -07:00
Gabe Kangas
e72b0c640c Update error message 2021-07-28 13:00:20 -07:00
Gabe Kangas
810b0cd5da Explicitly add CORS wildcard on all OPTIONS requests 2021-07-28 12:47:15 -07:00
Gabe Kangas
509c658080 Add OPTIONS preflight support for 3rd party auth.
- Explicitly add wildcard CORS header within the middleware.
- Accept all OPTIONS preflight requests within the middlware.
- Add success tests for the OPTIONS request.
- Add failure tests for GET requests.
2021-07-28 12:40:55 -07:00
Gabe Kangas
031a848b7a No need to publicly log this 2021-07-28 12:37:26 -07:00
Gabe Kangas
8f32c13ca6 Fix incorrect controller method. Remove wildcard cors from /api/chat 2021-07-28 12:36:48 -07:00
Meisam
2ff9186ee2
fix updateAuthorList (#1276) 2021-07-27 16:55:19 -07:00
Gabe Kangas
41cfe33b8d Fix typo of missing colon 2021-07-27 15:33:57 -07:00
Meisam
109d2669ab
better chat message sanitization (#1266)
* strip <p> in chat sanitization, keep the content

* update sanitization tests

* update tests

* rm <p></p> comparison for empty messages
2021-07-27 15:26:27 -07:00
gabek
92284f6ca1 Prettified Code! 2021-07-27 22:26:04 +00:00