Commit graph

290 commits

Author SHA1 Message Date
Meisam
f7d0bd1b1f fix chat message pagination (#278) 2021-08-14 12:22:05 -07:00
Gabe Kangas
1e436bdb67 Only show online client count if we are online. closes https://github.com/owncast/owncast/issues/1306 2021-08-12 23:51:13 -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
Gabe Kangas
3e5f99cf19 Display client count in title. Closes https://github.com/owncast/owncast/issues/1242 2021-07-22 15:18:20 -07:00
Gabe Kangas
f8521d33d5 Cleanup 2021-07-21 17:28:56 -07:00
Gabe Kangas
06793078f6 Remove the chat client table from the viewers page since that all exists on the chat page now 2021-07-21 17:13:04 -07:00
Gabe Kangas
4a5badcd1f Set initialValue for welcome mesage. Closes https://github.com/owncast/owncast/issues/1236 2021-07-21 16:05:29 -07:00
Meisam
3b98bc01c2 rm username and message count from viewer-info (#258) 2021-07-21 10:03: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
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
Thilo Billerbeck
51b3fc1f76 rework stream info box in offline notice to conform more with the overall design (#196)
* rework stream info field to conform with the offline page layout

* moved offline notice css to separate file

* used ant design bold text option
2021-05-27 15:58:31 -07:00
Gabe Kangas
aa7f7f58dd Show RTMP port on home page. Closes https://github.com/owncast/owncast/issues/1049 2021-05-24 22:23:44 -07: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
gabek
8b8bf3127b Prettified Code! 2021-04-20 01:25:52 +00:00
Gabe Kangas
3989f7d49f Remove collapse and shrink text a bit since it can be too big on longer urls 2021-04-19 18:24:04 -07:00
Gabe Kangas
95e3a1d4c5 Fix layout of checkboxes in modals. Closes https://github.com/owncast/owncast/issues/945 2021-04-19 17:59:04 -07:00
Gabe Kangas
2a5d8d37d0 Layout and text around codec selection 2021-04-13 13:54:58 -07:00
Gabe Kangas
f04f385f2b Start codec selection in admin 2021-04-13 13:54:57 -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
6ebe52c5f4 Experiment with colapsing details 2021-04-08 20:57:50 -07:00
Thilo Billerbeck
2e2b730b85 added stream conneciton info box to offline notice (#107) 2021-04-08 19:22:46 -07:00
Gabe Kangas
190b15e592 Limit icon size. Closes https://github.com/owncast/owncast/issues/890 2021-04-04 20:06:26 -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
3fc7619367 Clear actions modal on save 2021-03-31 21:34:55 -07:00
Gabe Kangas
aefe884daf Stop leaking instances via links. Closes https://github.com/owncast/owncast/issues/822 2021-03-22 20:43:58 -07:00
Gabe Kangas
2f27f516dc Only allow SSLed urls for external actions. Closes https://github.com/owncast/owncast/issues/833 2021-03-17 21:26:27 -07: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
Gabe Kangas
174a4891fd Fix typo 2021-03-07 23:00:23 -08:00
Gabe Kangas
4232ff52b0 Fix text style breaking build 2021-03-07 15:52:58 -08:00
gabek
5ff5665652 Prettified Code! 2021-03-05 09:02:10 +00:00
Gabe Kangas
582b234528 Add a link to adding geo details about viewers 2021-03-05 01:01:31 -08:00
gabek
98b038e426 Prettified Code! 2021-03-04 08:54:26 +00:00
Gabe Kangas
f64699b379 Add source param to documentation links 2021-03-04 00:53:50 -08:00
Bradley Hilton
5f1cacf093 Add targets to most of the doc links (#50)
* Add targets to most of the doc links. Should fix #49

* Prettified Code!

Co-authored-by: graywolf336 <graywolf336@users.noreply.github.com>
2021-02-26 12:38:55 -08:00
gabek
69d194f20d Prettified Code! 2021-02-17 19:41:04 +00:00
Gabe Kangas
e3472226d2 Add offline homepage info box about the directory if it's disabled 2021-02-17 11:40:22 -08:00
Gabe Kangas
8bd7c77a11 Fix linter suggestions 2021-02-16 11:41:24 -08:00
Gabe Kangas
07c110cedc Shorten help page section titles. Closes https://github.com/owncast/owncast/issues/730 2021-02-16 10:38:09 -08:00
gingervitis
dd1cfb64db - add <Col>s to areas with <Row>s for consitency
- give main content a fixed width so really wide forms dont look that funny
- fix to make markdown editor preview text black to address https://github.com/owncast/owncast/issues/726
2021-02-15 21:22:17 -08:00
gabek
259ac676ff Prettified Code! 2021-02-15 22:09:34 +00:00
Gabe Kangas
ee5e462c59 Update hint texts and add links to documentation 2021-02-15 14:08:53 -08:00
gingervitis
97187f5541 lint for passing builds 2021-02-15 00:36:06 -08:00
gingervitis
8d5411a0d6 hella cleanup - index page items; use more Row/Cols to reduce custom css layout 2021-02-14 22:20:25 -08:00
gingervitis
6d83992ff0 style adjustments 2021-02-14 19:04:38 -08:00
gingervitis
220c48432f clean up video config forms and styling 2021-02-14 18:46:34 -08:00
gingervitis
c5d4851296 add logo preview 2021-02-14 16:52:31 -08:00
gingervitis
682ddf96c3 more cleanup 2021-02-14 01:45:08 -08:00
gingervitis
d55e4dfe29 misc cleanup 2021-02-14 01:30:42 -08:00