Commit graph

34 commits

Author SHA1 Message Date
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
Gabe Kangas
4b62583a25 config-path -> config_path 2021-10-13 19:26:12 -07:00
Gabe Kangas
5b2d215c52 Update eslint workflow. Set nextjs default rules. 2021-10-13 18:21:51 -07:00
Gabe Kangas
577ec61913 Split up linter and formatter 2021-10-12 13:51:33 -07:00
Gabe Kangas
31ebe58dde Try using ref instead of head_ref in checkout action to maybe fix fork linter failures. 2021-09-21 13:52:06 -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
Gabe Kangas
df353cd3a1 Update prettier workflow action 2021-07-05 17:45:28 -07:00
Gabe Kangas
90d4f4be3e Try and fix the workflow failing 2021-07-05 17:37:44 -07:00
Gabe Kangas
e930481cc8 Don't annoy us about patch updates to types 2021-06-27 19:38:40 -07:00
Gabe Kangas
894cc2403e Calm down excessive dependabot updates 2021-06-23 18:16:05 -07:00
Gabe Kangas
0583a99148 Copy over stalebot config from core repo 2021-06-21 09:47:55 -07:00
Gabe Kangas
8437a6fb78 Remove checkout ref 2021-05-24 16:19:33 -07:00
Gabe Kangas
8eeea83aa5 Removing from dependabot reviews 2021-04-26 23:30:12 -07:00
Gabe Kangas
34e1dcfc52 Update linter.yml 2021-04-23 08:49:19 -07:00
Gabe Kangas
3bfd0fd700 Don't run code formatting for dependabot 2021-04-20 23:51:48 -07:00
Gabe Kangas
6966d13940 pull_request -> pull_request_target 2021-04-19 23:12:35 -07:00
Gabe Kangas
bf819c3804 Update linter.yml 2021-04-19 18:00:45 -07:00
Gabe Kangas
c5109b7daa branch name is no longer supported in config 2021-04-19 10:01:10 -07:00
Gabe Kangas
1dc802fb08 Update linter.yml 2021-04-19 09:53:05 -07:00
Gabe Kangas
ec53040edc Fix admin lint/prettier workflow 2021-03-27 17:58:44 -07:00
Gabe Kangas
ec3fe3d505 Specify checkout ref for prettier. Reorder jobs 2021-03-14 11:31:03 -07:00
Gabe Kangas
2d65b5ee18 Add prettier to linter file 2021-03-11 01:08:33 -08:00
Gabe Kangas
96bbe37869 Moving prettier run into the linter file 2021-03-11 01:07:29 -08:00
Gabe Kangas
d54c8336b7 Add nebunez to dependabot alerts 2021-03-10 16:47:16 -08:00
Gabe Kangas
b706b7eb2e Merge remote-tracking branch 'origin' into 0.0.6 2021-02-13 00:26:12 -08:00
gingervitis
a122ee6c42 Admin css overhaul pt2 (#19)
* 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>
2021-02-12 23:55:59 -08:00
Gabe Kangas
685b2c6f3d Add dependabot config 2021-02-12 16:08:25 -08:00
Gabe Kangas
cbe1dd0e0a Support prettier running on styles 2021-02-07 01:01:06 -08:00
Gabe Kangas
da2fb45d21 Configure eslint action 2021-02-06 19:13:04 -08:00
Gabe Kangas
900a07f948 Configure eslint action 2021-02-06 18:38:31 -08:00
Gabe Kangas
269505d3bf Run linter on push 2021-02-04 23:59:48 -08:00
Gabe Kangas
75c1134cad Format code on push 2021-02-04 23:28:36 -08:00
Gabe Kangas
a4f3d43a7a Force build on any branch 2021-01-31 20:04:41 -08:00
Gabe Kangas
a0bfe6ac9a Verify the admin web app builds 2020-11-13 10:09:20 -08:00