Commit Graph

94 Commits

Author SHA1 Message Date
Gabe Kangas
62daceaa9b Cleanup to support next update 2021-12-06 18:01:30 -08:00
Gabe Kangas
59f0fce728 Storage -> S3 Storage. Closes https://github.com/owncast/owncast/issues/1459 2021-11-15 12:22:45 -08:00
Gabe Kangas
7a712a7ae3 Add friendly name and description for h264_omx. Fixes https://github.com/owncast/owncast/issues/1521 2021-11-11 14:53:15 -08:00
Gabe Kangas
81c159e265 Don't require using next Image tag 2021-11-10 21:49:31 -08:00
Jannik
e2b0faa0dd Add a recommendation in the admin to add a second, lower quality if only one is set (#356)
*  add recommendation box if only one, high-quality video variant is set (#1491)

Related to: https://github.com/owncast/owncast/issues/1491

* Prettified Code!

* Tweak the alert text slightly

Co-authored-by: jeyemwey <jeyemwey@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2021-11-03 14:09:47 -07:00
Gabe Kangas
24cb1ed0f1 Add ability to set a user as a moderator via the admin (#355)
* Add moderators

* Remove passing unused prop

* Fix linter not running
2021-11-02 17:06:46 -07:00
gabek
c0c5784954 Prettified Code! 2021-10-29 00:34:07 +00:00
Artur Angiel
9b7835e71e #1495 Path-style S3 compatibile URLs implemented (#346)
* #1495 Path-style S3 compatibile URLs implemented

https://github.com/owncast/owncast/issues/1495

It gives ability to use S3 compatibile providers that doesn't
support virtual-host-style URLs (i.e. Oracle Cloud Object Storage)

* https://github.com/owncast/owncast/issues/1495 Renaming rest of 'pathBased' to 'forcePathStyle'
2021-10-28 17:33:32 -07:00
Joshua T
4661cb67aa Move offline-notice component to components dir (#331) 2021-10-13 18:44:07 -07:00
Sy Tran Dung
92c79ced92 Bump react-markdown from 6.0.3 to 7.0.1 (#313) 2021-09-21 13:46:40 -07:00
Meisam
9589c8e11a rename the "Disable chat" switch to a simple "Chat" (#286)
* change chat config lable

* reverse the chat enable UI

* add reversed to toggle switch props
2021-09-10 15:08:15 -07:00
Gabe Kangas
b7552d9bc1 Dedupe name list 2021-08-17 17:38:10 -07:00
Gabe Kangas
e3eda87719 Auto-expand utilities menu when upgrade is available. Closes https://github.com/owncast/owncast/issues/1299 2021-08-12 23:46:24 -07:00
Gabe Kangas
6ce927a854 Update the "Forbidden usernames" UI (#259)
* Add new component for adding/removing forbidden name strings. Closes https://github.com/owncast/owncast/issues/1230

* make editing string styling shareable and consistent with tag editor

* Prettified Code!

Co-authored-by: gingervitis <omqmail@gmail.com>
Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
2021-07-25 22:12:50 -07:00
Meisam
9e2746fb52 rm chat disable btn from server settings page (#260) 2021-07-22 09:42:07 -07:00
Gabe Kangas
b10ba1dcc2 Admin support for managing users (#245)
* First pass at displaying user data in admin

* Hide chat blurb on home page if chat is disabled

* Hide sidebar chat section if chat is disabled

* Block/unblock user interface for https://github.com/owncast/owncast/issues/1096

* Simplify past display name handling

* Updates to reflect the api access token change

* Update paths

* Clean up the new access token page

* Fix linter

* Update linter workflow action

* Cleanup

* Fix exception rendering table row

* Commit next-env file that seems to be required with next 11

* chat refactor - admin adjustments (#250)

* add useragent parser; clean up some html;

* some ui changes
- use modal instead of popover to confirm block/unblock user
- update styles, table styles for consistency
- rename some user/chat labels in nav and content

* format user info modal a bit

* add some sort of mild treatment and delay while processing ban of users

* rename button to 'ban'

* add some notes

* Prettified Code!

* fix disableChat toggle for nav bar

* Support sorting the disabled user list

* Fix linter error around table sorting

* No longer restoring messages on unban so change message prompt

* Standardize on forbiddenUsername terminology

* The linter broke the webhooks page. Fixed it. Linter is probably pissed.

* Move chat welcome message to chat config

* Other submenus don't have icons so remove these ones

Co-authored-by: gingervitis <omqmail@gmail.com>
Co-authored-by: gabek <gabek@users.noreply.github.com>
2021-07-19 22:02:02 -07:00
Jannik
be5243f5f8 Update Next to 11.0.1 (including lint & import fixes) (#248)
* Bump next from 10.2.3 to 11.0.1

Bumps [next](https://github.com/vercel/next.js) from 10.2.3 to 11.0.1.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v10.2.3...v11.0.1)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* 🚨 apply automatic linting

* 🎨 remove unused imports

* 🔇 allow console.* to give more debugging options

* 🎨 move stuff around to reduce linter messages

* 🚨 use destructuring so lint won't complain

* 📌 link Chartkick and Chart.js

Commit uses the linking code which was previously imported with
`import "chartkick/chart.js" [1]. Next did not like the import path,
but this does works now. ¯\_(ツ)_/¯

[1]: https://github.com/ankane/chartkick.js/blob/master/chart.js/chart.esm.js

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-09 11:42:01 -07:00
gabek
7a3f4f6dbb Prettified Code! 2021-07-03 20:53:12 +00:00
Meisam
7a1f9dcd9a Don't allow people to set their instance name to an empty string (or only whitespace) (#240)
* make server name required

* prevent space-only instance name

* add useTrimLead to TextFieldProps
2021-07-03 13:52:37 -07:00
gabek
bcd46cee61 Prettified Code! 2021-07-02 23:07:40 +00:00
Meisam
a84aa72ee4 fix save button enable for acl/serving_endpoint (#239) 2021-07-02 16:07:11 -07:00
gabek
5676b38b98 Prettified Code! 2021-07-01 19:09:44 +00:00
Meisam
f64d06279d Collapse news content in the admin home page (#236)
* use Collapse for news feed

* set url as the Panel key
2021-07-01 12:09:06 -07:00
gabek
c804fdc538 Prettified Code! 2021-06-22 03:20:17 +00:00
Gabe Kangas
caa170e4ef Start new chat config sections 2021-06-21 20:19:20 -07:00
gabek
5371559c74 Prettified Code! 2021-05-23 06:28:21 +00:00
gingervitis
d0eb1446f3 fixes for various admin issues (#181)
* up max char count for variant name to fix https://github.com/owncast/owncast/issues/1037

* max widthing the line chart canvas size so it scales with the page.
fixes
- https://github.com/owncast/owncast/issues/842
- https://github.com/owncast/owncast/issues/1024

* A fix to make Storage Endpoint URL validation have better feedback.

- give the field a type of "url"
- give the field a pattern to check
- have native browser handle the validation
- if the field is invalid, use :invalid selector to turn the text red on blur.

fixes: https://github.com/owncast/owncast/issues/1000

* a fix for https://github.com/owncast/owncast/issues/874

* - fixes for https://github.com/owncast/owncast/issues/972
Add optional prop to text field to trim() whitespaces from field. Apply logic to mostly url fields.

- move textfield blur if invalid turn red to globaal

* - a fix for bug:  https://github.com/owncast/owncast/issues/998
don't return null if platform name not found because its custom.

- clean up react key problem on socialhandles table

* fix react key issue on Actions table

* fix for https://github.com/owncast/owncast/issues/1008 to display 'other' field when editing an item not in predefined social list

* clean up other potential react key warnings

* Prettified Code!

Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
2021-05-22 23:27:51 -07:00
controlfreak
ad3552f683 added seconds format for log (#158)
tested with stream connect disconnect all good
2021-05-06 17:02:17 -07:00
Gabe Kangas
9150fba317 Tweak latency message 2021-05-05 18:22:17 -07:00
gabek
158da79821 Prettified Code! 2021-05-06 00:19:53 +00:00
Gabe Kangas
7254a8ee09 Update latency levels 2021-05-05 17:19:12 -07:00
Gabe Kangas
d2145b5b62 Point to web page doc in css component 2021-04-16 12:03:49 -07:00
Gabe Kangas
01f3ab9a27 Add confirmation popup for codec selection. Closes https://github.com/owncast/owncast/issues/891 2021-04-13 13:54:58 -07:00
Gabe Kangas
2a5d8d37d0 Layout and text around codec selection 2021-04-13 13:54:58 -07:00
Gabe Kangas
cad99d9cb3 Tweak latency setting text 2021-04-13 13:54:58 -07:00
Gabe Kangas
dba1654807 Fix links 2021-04-13 13:54:58 -07:00
Gabe Kangas
f04f385f2b Start codec selection in admin 2021-04-13 13:54:57 -07:00
Gabe Kangas
4794339b8a Update charting libraries 2021-04-12 19:56:37 -07:00
gingervitis
0efc09bb72 add textarea field for custom css (#113)
* add textarea field for custom css

* Prettified Code!

Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
2021-04-12 00:07:08 -07:00
Gabe Kangas
810a8a7e3f allow empty and/or missing news 2021-04-11 23:56:41 -07:00
Gabe Kangas
e87358aa5b Force logo to re-load after uploading new image. Closes https://github.com/owncast/owncast/issues/894 2021-04-07 22:51:27 -07:00
Gabe Kangas
70f33b624f Show loading spinner for news component 2021-04-04 18:43:55 -07:00
Gabe Kangas
a6fa16c1bf Add key to ArticleItem list 2021-04-04 18:30:38 -07:00
gingervitis
2c86fa34fd add news feed (#99)
* add news feed

* Prettified Code!

Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
2021-04-03 21:25:21 -07:00
Gabe Kangas
9602538098 Truncate url and limit width of social content (#89)
* Truncate and limit width of social list. closes https://github.com/owncast/owncast/issues/845

* Remove new class and allow text to wrap in existing css class
2021-03-27 16:38:27 -07:00
Gabe Kangas
e244111bbb Fix broken urls. Closes https://github.com/owncast/owncast/issues/798 2021-03-25 20:43:50 -07:00
Gabe Kangas
ea1ed11e72 Changing server url was resetting other updated fields (#86)
* changing url was resetting other fields. Closes https://github.com/owncast/owncast/issues/854

* specify config path for various instanceDetails fields instead

* fix react warning

Co-authored-by: gingervitis <omqmail@gmail.com>
2021-03-24 14:12:22 -07:00
nebunez
3031f8144e Upload logo (#54)
* add upload component for logo

* - move upload logo functionlity to its own component
- style upload logo component
- display current logo from server
- implement submit button on logo updater, to submit new logo to api after update
- add some submit status indicator

* update edit-logo component

Logo now posts correctly to owncast api endpoint. This update includes file type
validation and removes the submit button, since the ant.d Upload component
already handles the post logic.

* remove submit-button style for logo upload

Co-authored-by: gingervitis <omqmail@gmail.com>
2021-03-21 19:07:12 -04:00
Gabe Kangas
195ac23bb2 Admin support for creating 3rd party external link actions (#72)
* WIP external actions

* Add comment

* Add support for external actions icons and colors
2021-03-15 15:27:19 -07:00
nebunez
b1256bcd08 implement custom welcome message (#65) 2021-03-14 21:55:01 -07:00