Commit graph

3520 commits

Author SHA1 Message Date
Gabe Kangas
12487011d2 Handle auth + cors 2020-10-03 23:07:37 -07:00
Gabe Kangas
bb9c788306 Support CORS+Basic auth together 2020-10-03 23:06:48 -07:00
Ginger Wong
43f861fcc0 initial files 2020-10-03 20:59:25 -07:00
Ahmad Karlam
29ef90e384 fix: check if date is invalid 2020-10-04 10:58:02 +07:00
Ahmad Karlam
8c380f118a refactor: declare format timestamp as variable for consistency 2020-10-04 10:57:45 +07:00
Ahmad Karlam
1c03e83c31 Typo 2020-10-04 09:08:40 +07:00
Ahmad Karlam
2abde9186c refactoring 2020-10-04 09:08:05 +07:00
Ahmad Karlam
d27d4a798f Remove moment js and use standard library date from javascript 2020-10-04 09:01:46 +07:00
Ginger Wong
11cae4de88 add gitignore 2020-10-03 16:12:21 -07:00
Gabe Kangas
922dfec77a
Remove custom paths and add constants (#216) 2020-10-03 14:35:03 -07:00
Ginger Wong
f30cfcf20f includes fix for #210
Merge branch 'gw/1003-firefoxscrollbars'
2020-10-03 13:51:52 -07:00
Ginger Wong
ff3a50dc03 linty stuff 2020-10-03 13:50:08 -07:00
Ginger Wong
ab1eb69fd1 apply scrollbar tricks to moz browser; make scroll colors on emoji picker easier to see; make emoji hover color easier to see 2020-10-03 13:42:48 -07:00
Ahmad Karlam
63a757ef23 Use moment js for diff and format date 2020-10-03 20:29:29 +07:00
Jannik
d6dadcabf8 Fix: Optional socialHandles and tags 2020-10-02 21:28:35 +02:00
Gabe Kangas
e042c85f88
Hardware status admin api (#218)
* Add metrics for disk usage

* Add admin API for hardware metrics

* Fix error message alert
2020-10-02 12:18:08 -07:00
Gabe Kangas
f4fdc6c951
Current broadcaster details admin api (#206)
* Add support for ending the inbound stream. Closes #191

* Add a simple success response to API requests

* Store inbound broadcast details for admin purposes

* Add /api/admin/broadcaster endpoint

* Reset broadcaster on disconnect

* Move controller to admin directory
2020-10-02 00:12:47 -07:00
Gabe Kangas
236f25b772
Viewer metrics api (#208)
* Add support for ending the inbound stream. Closes #191

* Add a simple success response to API requests

* Add viewers over time API

* Move controllers to admin directory
2020-10-02 00:06:14 -07:00
Gabe Kangas
d8c43d2c56
Add server config admin endpoint (#207)
* Add support for ending the inbound stream. Closes #191

* Add a simple success response to API requests

* Add server config admin endpoint
2020-10-02 00:02:42 -07:00
Gabe Kangas
9b7784634b
First pass at YP registration/configuration (#209)
* Spike: Ping YP service with instance details

* WIP: Add to the config to support YP

* Add YP response endpoint

* Handle YP errors. Use config. Off by default

* Show message about YP support on launch

* Add animated gif preview when generating thumb

* Increase quality of preview gif and only create it if YP is enabled

* Do not allow re-registration by clearing the key

* Make large and small logos actually structured

* Change log level

* Fix default YP service URL

* Point to default hostname

* Set default value for YP to false
2020-10-01 23:55:38 -07:00
Anoop
6946d4b3ea
Make video segment filename unique (#214)
* Make video segment filename unique

* fix typo

* Remove type casting function
2020-10-01 23:34:29 -07:00
Gabe Kangas
48c8cf5ed2 Admin API to change in-memory streaming key. Closes #212 2020-10-01 23:17:27 -07:00
Gabe Kangas
7b64fc7c30
Disconnect stream Admin API + HTTP Basic Auth (#204)
* Create http auth middleware

* Add support for ending the inbound stream. Closes #191

* Add a simple success response to API requests
2020-10-01 18:16:58 -07:00
Ahmad Karlam
334a69386d Add timestamp to title chat 2020-10-01 16:11:43 +07:00
Gabe Kangas
fe6c285b43 Add linting and code formatting 2020-09-30 18:47:18 -07:00
Gabe Kangas
9623513c9a Specify that the root of the web app is /admin 2020-09-30 18:04:50 -07:00
Gabe Kangas
f8068826ab Add script to build and bundle admin 2020-09-30 17:26:07 -07:00
Gabe Kangas
bcf9c34946 Build should expect /admin to be the root 2020-09-30 17:12:22 -07:00
Gabe Kangas
429b29cbb0 Add sass support for styling 2020-09-30 15:39:30 -07:00
Gabe Kangas
001da70bcf Update Readme 2020-09-30 15:22:44 -07:00
Gabe Kangas
0f74e1988f Bootstrap the admin project 2020-09-30 15:13:06 -07:00
Gabe Kangas
5b58ca8345 Initial commit from Create Next App 2020-09-30 15:13:06 -07:00
Gabe Kangas
76d281f35c Initial commit 2020-09-30 14:47:14 -07:00
Gabe Kangas
8aa5c33999
Update caching logic/headers (#184)
* Improve caching by adding etags and reducing the max-age

* Move caching into middleware. Set cache headers on segments
2020-09-30 14:14:39 -07:00
Gabe Kangas
6a0e8deae3 Use ISO date strings. Make random delays longer. 2020-09-28 21:39:56 -07:00
Ginger Wong
1a477de89a Merge branch 'master' of https://github.com/gabek/owncast 2020-09-27 23:04:51 -07:00
Ginger Wong
3add3897ac show play button when video is paused (issue #201) 2020-09-27 23:04:42 -07:00
gingervitis
fc27d73030
Merge pull request #171 from owncast/gek/remove-player-progress-bar
Remove player progress bar.  Closes #159
2020-09-27 22:03:40 -07:00
Gabe Kangas
ef3796a033 Use default video variants if none supplied. Fixes #199 2020-09-27 20:12:45 -07:00
Gabe Kangas
1c74b8aeca Use config-example instead of config in Docker build 2020-09-27 16:36:52 -07:00
Gabe Kangas
c9d6366b3b
Create release docker image without shipping source and go toolchain. (#188)
* Create release docker image without shipping source and go toolchain.
Closes #185

* Explicitly add ca-certificates to image

* Combine apk run commands

* Update scripts/Dockerfile-build

Co-authored-by: Aaron Ogle <geekgonecrazy@users.noreply.github.com>

Co-authored-by: Aaron Ogle <geekgonecrazy@users.noreply.github.com>
2020-09-26 00:44:43 -07:00
Gabe Kangas
ec9f8ba004 Stop using skypack CDN for emoji button and bump version. Address #141 2020-09-25 19:36:11 -07:00
Gabe Kangas
903a250526 Use the defaults to make the config file look simpler 2020-09-25 11:28:41 -07:00
Gabe Kangas
1a767fc2e8 Remove verbose logging from docker build 2020-09-25 11:08:53 -07:00
Gabe Kangas
63bb647990 Created a fake chat message generator script for testing 2020-09-24 23:52:54 -07:00
Gabe Kangas
519be9d3b4 Don't update viewer counts if a live stream session is not active. 2020-09-24 20:27:47 -07:00
Gabe Kangas
fc45645280 Reset session stats when we cleanup the session. Closes #180 2020-09-24 19:38:24 -07:00
Gabe Kangas
cb2794f68c Fix cleanup. ticker -> timer and stop reinstantiation 2020-09-23 21:35:27 -07:00
Gabe Kangas
0cb31644f4 Quiet, log. 2020-09-23 18:18:15 -07:00
Gabe Kangas
9b272d8d3c Make test script destination optional 2020-09-23 18:14:37 -07:00