* 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>
* 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>
* 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>
* 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>
* A fix for issue https://github.com/owncast/owncast/issues/770
- merge CPU slider functionality into main video variant form
- move slider constants into contants file for consistency and to reduce clutter on variant form file
* disable other forms and add a notice about vieo passthrough enabling
* Prettified Code!
* Tweak message text
* Prettified Code!
Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: gabek <gabek@users.noreply.github.com>
* tweaks to offline state in admin viewers page
If stream is offline, hide current viewers statistic and viewers table.
Also, change wording for describing max viewers.
* take out ant dark stylesheet, organize ant color overrides
* remove ant dark css; cleanup ant overrides; format public-detail page
* combine toggleswitch component style with textfield so layout can be shared
* fix toggleswitch status message placement
* - update styles for modals, collapses
- move reset dir into its own component
- assorted style cleanups ans consistencies
* hide entire advanced section for resetyp if no yp
* temp adjustments to video modal
* temp comment out toggle switch use for later'
* address PR comments
* lint
* update type
* allow warnings during lint
Co-authored-by: nebunez <uoj2y7wak869@opayq.net>