Gabe Kangas
5f3cecced5
Expand CSP
2021-09-17 02:22:43 -07:00
Christian
1c875243f3
Add hashes for standalone video/chat ( #1413 )
2021-09-17 02:08:19 -07:00
Owncast
44293ef7be
Commit updated Javascript packages
2021-09-16 20:02:34 +00:00
dependabot[bot]
34215eb558
Bump video.js from 7.14.3 to 7.15.4 in /build/javascript ( #1412 )
...
Bumps [video.js](https://github.com/videojs/video.js ) from 7.14.3 to 7.15.4.
- [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.14.3...v7.15.4 )
---
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-09-16 13:01:29 -07:00
Gabe Kangas
0b9ad4efdc
Update admin bundle
2021-09-13 18:51:05 -07:00
Paul Lindner
d411ab86dc
Adjust allowed bot list to allow for link previews in WhatsApp and Signal ( #1401 )
...
See signalapp/Signal-Android#10060 for how Signal uses their UA
Fixes #1392
2021-09-13 17:14:30 -07:00
dependabot[bot]
9e33a1bff2
Bump github.com/yuin/goldmark from 1.4.0 to 1.4.1 ( #1399 )
...
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/yuin/goldmark/releases )
- [Commits](https://github.com/yuin/goldmark/compare/v1.4.0...v1.4.1 )
---
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-09-13 14:18:09 -07:00
Paul Lindner
4a04ecddd7
Adjust error messages to conform to Go best practices ( #1400 )
...
https://github.com/golang/go/wiki/CodeReviewComments#error-strings
2021-09-13 14:08:10 -07:00
Owncast
3390385508
Commit updated API documentation
2021-09-13 08:27:08 +00:00
Ruffy
9c484efd36
Feature/oc 1316 add support for system message to single user ( #1351 )
...
* add public func to lookup a ChatClient by its clientId
* add facility to send a system message directly to a user
* add clientId field to UserEvent
* implement simple http endpoint to send a message to a user
* let mux handle new directSystemMessageToUser endpoint
* add ClientId to UserEvents across the codebase
* render body of system-message to client
* add clientId to Chat-Message
* add tests showing how url-parsing should work
* add simple rest endpoint helpers for parameter-parsing and easy routing
* use newly added rest-endpoint helper to rout to Client-Messaging controller
* use safe "ReadRestUrlParameter" to parse ClientId
* remove empty HandleFunc in router
* set Header directly to prevent built-in (platform-dependent) canonicalization to kick in
* fix typo in "Parameter" message
* remove debug-logging of HTTP headers in REST-helpers
* convert to uint32 to prevent overruns when converting to wraptype uint later on
* resolve linter-ouchies
* resolve linter potential nil-deref warning
* document the SendSystemMessageToClient endpoint in swaggerdoc
* remove clientId assignment causing potential nil dereference in userDisabledEvent-case
as the clientId isn't relevant here anyway
* make findClientById private, so its not accessible outside of core/chat
* remove redundant string type hint
* Update PR based on linter requirements
Co-authored-by: Raffael Rehberger <raffael@rtrace.io>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2021-09-13 01:26:28 -07:00
Gabe Kangas
608888317b
Have nightly build create a production build of tailwind
2021-09-13 00:06:10 -07:00
Gabe Kangas
1b053ffd1b
Simplify HLS storage paths ( #1393 )
...
* Remove private vs public HLS paths and add a HLS controller. Closes #875
* Use http.ServeFile instead
2021-09-12 11:32:42 -07:00
Gabe Kangas
b92ad00926
Reduce the production build of TailwindCSS from 2M to 12k
2021-09-12 01:20:13 -07:00
Gabe Kangas
c6c6f0233d
Expanded linting + fix warnings ( #1396 )
...
* Expand the linters and types of warnings to improve consistency and safety
* Fail lint workflow if there are errors
* golint has been replaced by revive
* Hand-pick some of the default exclude list
* Ignore error when trying to delete preview gif
* Ignore linter warning opening playlist path
* Rename user field Id -> ID
* A bunch of renames to address linter warnings
* Rename ChatClient -> Client per linter suggestion best practice
* Rename ChatServer -> Server per linter suggestion best practice
* More linter warning fixes
* Add missing comments to all exported functions and properties
2021-09-12 00:18:15 -07:00
Gabe Kangas
70e9f4945f
Simplify repo Readme and focus on building/running/contributing and less about features
2021-09-10 16:21:38 -07:00
Jannik
511805062e
Create CONTRIBUTING.md ( #1394 )
...
As requested by https://hacktoberfest.digitalocean.com/resources/maintainers .
2021-09-10 12:36:42 -07:00
Gabe Kangas
2cd358d367
Mark micromodal as vendored
2021-09-07 11:04:09 -07:00
Owncast
4c158ea588
Commit updated Javascript packages
2021-09-06 19:36:35 +00:00
dependabot[bot]
aa19d8a2c1
Bump @videojs/http-streaming from 2.10.2 to 2.10.3 in /build/javascript ( #1386 )
...
Bumps [@videojs/http-streaming](https://github.com/videojs/http-streaming ) from 2.10.2 to 2.10.3.
- [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.2...v2.10.3 )
---
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-09-06 12:35:31 -07:00
Halil İbrahim Kocaöz
d90b02e50b
fix moved transcoding error links ( #1381 )
2021-09-05 18:07:02 -07:00
ooa113y
efb80243d5
Fix Windows tests ( #1376 )
...
* Fix Windows tests
* Use filepath.Join
2021-09-04 21:17:15 -07:00
Gabe Kangas
37e787560e
Add svg to image list
2021-09-03 21:38:25 -07:00
Gabe Kangas
c7f8899b82
Add preview gif to the short short cache time
2021-09-03 21:37:29 -07:00
Gabe Kangas
31dbdb8746
Increase cache duration for static files
2021-09-03 21:08:44 -07:00
Meisam
ae1c2d89f0
Check for secret key before nightly builds ( #1375 )
2021-09-03 11:49:10 -07:00
dependabot[bot]
3197b22dbb
Bump github.com/shirou/gopsutil ( #1369 )
...
Bumps [github.com/shirou/gopsutil](https://github.com/shirou/gopsutil ) from 3.21.7+incompatible to 3.21.8+incompatible.
- [Release notes](https://github.com/shirou/gopsutil/releases )
- [Commits](https://github.com/shirou/gopsutil/compare/v3.21.7...v3.21.8 )
---
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-09-01 11:50:16 -07:00
Gabe Kangas
f85dada0cc
Add quicktime player (applecoremedia) to player useragent list
2021-08-31 15:04:29 -07:00
Meisam
965ad2854b
Improve no-JS landing page ( #1367 )
...
* improve landing page for no js
* update no js page
* update no js explanations
* Some text tweaks
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2021-08-31 14:53:21 -07:00
Meisam
e8e21ca45b
Add support for loading the owncast URL in mpv ( #1356 )
...
* redirect players to hls link
* add VLC to players list
2021-08-31 14:49:04 -07:00
Gabe Kangas
7278ce8f26
Merge pull request from GHSA-2hfj-cxw7-g45p
2021-08-30 19:43:28 -07:00
Gabe Kangas
663a7b5fe1
Update admin bundle
2021-08-30 18:24:28 -07:00
Gabe Kangas
5b14a8aa92
Update admin bundle
2021-08-29 18:55:05 -07:00
gabek
66259ed229
Prettified Code!
2021-08-29 23:59:14 +00:00
Gabe Kangas
4a34ccde05
Increase do not autoscroll buffer to fix chat not scrolling to bottom. Fixes #1324
2021-08-29 16:58:37 -07:00
nothub
d522e41d5c
do not exit after successful stream key change ( #1355 )
2021-08-28 10:39:42 -07:00
Gabe Kangas
15238bf9de
Add an endpoint for returning a most-compatible logo (non-svg) used in sharing and indexing. Closes #1286
2021-08-27 16:20:16 -07:00
Gabe Kangas
734e16203e
Attempt running tests under freebsd and openbsd vms
2021-08-27 15:34:22 -07:00
Gabe Kangas
ec89fb2def
Remove windows from test matrix. Filed TODO to fix tests for windows
2021-08-27 15:29:38 -07:00
Gabe Kangas
b50f1674a8
Add more test targets for GitHub tests
2021-08-27 15:24:21 -07:00
Gabe Kangas
e3b0af1b67
Expand upon flood detection and chat rate limiting. Closes #1349
2021-08-27 14:43:09 -07:00
Gabe Kangas
99a3aae843
Mark viewer as active when fetching playlist. Closes #1343
2021-08-27 13:43:39 -07:00
Owncast
cdbb6d9a44
Commit updated Javascript packages
2021-08-25 18:32:24 +00:00
dependabot[bot]
68c4d5a73e
Bump @videojs/http-streaming from 2.10.1 to 2.10.2 in /build/javascript ( #1346 )
...
Bumps [@videojs/http-streaming](https://github.com/videojs/http-streaming ) from 2.10.1 to 2.10.2.
- [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.1...v2.10.2 )
---
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-25 11:31:21 -07:00
Gabe Kangas
2094154917
Remove Linode todo
...
As they list the version as "latest" now.
2021-08-22 12:02:38 -07:00
Meisam
26041a0dc3
change admin 404 error log level to debug ( #1342 )
2021-08-21 18:16:27 -07:00
Gabe Kangas
9756c4c4d4
Update admin bundle
2021-08-18 18:25:05 -07:00
Gabe Kangas
1a1e2a3738
Revert "Update test to reflect the newline -> br tag change"
...
This reverts commit 3d09698355
.
2021-08-18 18:08:17 -07:00
Gabe Kangas
e5735b8d6d
Remove adding <br> tags to newlines
2021-08-18 18:08:07 -07:00
Ginger Wong
e463c5b1d9
Merge branch 'develop' of github.com:owncast/owncast into develop
2021-08-18 17:59:52 -07:00
Ginger Wong
81ecb9a379
convert new lines to empty <p> tags
2021-08-18 17:59:42 -07:00