b10ba1dcc2
* 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>
55 lines
1.6 KiB
JSON
55 lines
1.6 KiB
JSON
{
|
|
"name": "owncast-admin",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build && next export",
|
|
"start": "next start",
|
|
"lint": "eslint --ext .js,.ts,.tsx types/ pages/ components/"
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/icons": "^4.6.2",
|
|
"antd": "^4.16.8",
|
|
"chart.js": "^3.4.1",
|
|
"chartkick": "^4.0.5",
|
|
"classnames": "^2.3.1",
|
|
"date-fns": "^2.22.1",
|
|
"markdown-it": "^12.1.0",
|
|
"next": "^11.0.1",
|
|
"prop-types": "^15.7.2",
|
|
"rc-util": "^5.13.2",
|
|
"react": "^17.0.2",
|
|
"react-chartkick": "^0.5.0",
|
|
"react-dom": "^17.0.2",
|
|
"react-linkify": "^1.0.0-alpha",
|
|
"react-markdown": "^6.0.2",
|
|
"react-markdown-editor-lite": "^1.3.0",
|
|
"sass": "^1.35.2",
|
|
"ua-parser-js": "^0.7.28"
|
|
},
|
|
"devDependencies": {
|
|
"@types/chart.js": "^2.9.32",
|
|
"@types/classnames": "^2.3.1",
|
|
"@types/markdown-it": "^12.0.2",
|
|
"@types/node": "^16.3.1",
|
|
"@types/prop-types": "^15.7.3",
|
|
"@types/react": "^17.0.11",
|
|
"@types/react-linkify": "^1.0.0",
|
|
"@types/ua-parser-js": "^0.7.36",
|
|
"@typescript-eslint/eslint-plugin": "^4.28.0",
|
|
"@typescript-eslint/parser": "^4.28.0",
|
|
"eslint": "^7.31.0",
|
|
"eslint-config-airbnb": "^18.2.1",
|
|
"eslint-config-next": "^11.0.1",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-import": "^2.23.4",
|
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
"eslint-plugin-prettier": "^3.4.0",
|
|
"eslint-plugin-react": "^7.24.0",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"prettier": "^2.3.2",
|
|
"typescript": "^4.3.4"
|
|
}
|
|
}
|