Commit Graph
3050 Commits
Author SHA1 Message Date
gabekandGitHub Action 9b7926963f Prettified Code! 2021-07-26 05:27:02 +00:00
MeisamandGitHub 10456b0a01 Remove user's own name from the autocomplete suggestions (#1258)
* remove the username from list

* fix updateAuthorList returns
2021-07-25 22:26:27 -07:00
Gabe Kangas 45af1f5135 Apdate admin bundle 2021-07-25 22:16:31 -07:00
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
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
c7937c2311 Bump chart.js from 3.4.1 to 3.5.0 (#262)
Bumps [chart.js](https://github.com/chartjs/Chart.js) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/chartjs/Chart.js/releases)
- [Commits](https://github.com/chartjs/Chart.js/compare/v3.4.1...v3.5.0)

---
updated-dependencies:
- dependency-name: chart.js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-25 20:47:26 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
f9545594c5 Bump sass from 1.35.2 to 1.36.0 (#261)
Bumps [sass](https://github.com/sass/dart-sass) from 1.35.2 to 1.36.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.35.2...1.36.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-25 20:44:48 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
31fa4a7226 Bump date-fns from 2.22.1 to 2.23.0 (#263)
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.22.1 to 2.23.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.22.1...v2.23.0)

---
updated-dependencies:
- dependency-name: date-fns
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-25 20:43:19 -07:00
Christian MuehlhaeuserandGitHub 35a0c6fa14 Improve performance of retrieving chat history by avoiding double-sort and outer join (#1261) 2021-07-25 09:54:24 -07:00
Christian MuehlhaeuserandGitHub 261fe56bad Don't specify the linter version, as it's not required any longer (#1262) 2021-07-24 23:19:46 -07:00
gabekandGitHub Action 5f7cc6a327 Prettified Code! 2021-07-24 17:26:17 +00:00
MeisamandGitHub 7526b5305c add emoji to the caret position (#1253) 2021-07-24 10:25:40 -07:00
gabekandGitHub Action 93f682d526 Prettified Code! 2021-07-23 21:16:13 +00:00
MeisamandGitHub bb09c0d187 Autocomplete emoji names (#1250)
* generalize autoComplete function

* autocomplete emoji names

* isolate the state of each token

* minor fix

* save emojiNames in state
2021-07-23 14:15:25 -07:00
gabekandGitHub Action 377bf529ad Prettified Code! 2021-07-23 18:21:30 +00:00
MeisamandGitHub 7867260b9c getCaretPosition considering all html elements (#1246) 2021-07-23 11:20:59 -07:00
MeisamandGitHub e1c4b452e6 test emoji title and alt tag sanitization (#1244) 2021-07-23 11:01:30 -07:00
MeisamandGitHub a8e93de134 Prevent remote image injection with /img/emoji/ in url (#1245)
* test remote img blocking with /img/emoji/ in url

* fix emoji filter

prevent injection of remote img with /img/emoji in url
2021-07-23 11:00:04 -07:00
Gabe Kangas ae78283caf Remove extra log from displaying 2021-07-22 23:34:51 -07:00
Gabe Kangas 484098afda Some migration fixes and database optimizations 2021-07-22 23:30:25 -07:00
MeisamandGitHub c4c1ecfc7b Allow alt and title tags in chat emojis (#1241)
* allow alt and title on chat imgs

* enforce non-empty alt&title tags for emojis
2021-07-22 22:22:33 -07:00
Gabe Kangas a366923797 Update admin bundle 2021-07-22 18:42:19 -07:00
Gabe Kangas 3dc3ad75f6 Cleanup errors that are not fatal during filesystem cleanup 2021-07-22 16:50:30 -07:00
Gabe Kangas c3e8e78dad Centralize chan closure to be done in the client, not the server. Set chan size to max message size. 2021-07-22 15:27:12 -07:00
Gabe Kangas f782e82909 Fix potential concurrent access condition 2021-07-22 15:27:12 -07:00
Gabe Kangas ca050d7990 Fallback to displaying full user-agent string if a pretty version cannot be determined 2021-07-22 15:18:38 -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
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3c6fcb0de5 Bump postcss from 8.3.5 to 8.3.6 in /build/javascript (#1240)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.5 to 8.3.6.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.5...8.3.6)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-22 09:42:25 -07:00
MeisamandGitHub 9e2746fb52 rm chat disable btn from server settings page (#260) 2021-07-22 09:42:07 -07:00
Gabe Kangas c1dd1b9bf3 fix exception 2021-07-21 23:19:33 -07:00
Gabe Kangas e7e1758fa4 Force history messages to always be at the front of the messages array 2021-07-21 22:23:24 -07:00
Gabe Kangas 1d7b7727d2 Update admin bundle 2021-07-21 17:32:49 -07:00
Gabe Kangas f8521d33d5 Cleanup 2021-07-21 17:28:56 -07:00
Owncast e38aa5935b Commit updated API documentation 2021-07-22 00:20:22 +00:00
Gabe Kangas a839d7250b Update url route to specify it is chat clients being returned 2021-07-21 17:19:31 -07:00
Gabe Kangas 2cf761a3f1 Clarify in routes and names that it is chat clients being returned 2021-07-21 17:19:15 -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
Gabe Kangas 5f322c84f6 Update admin bundle 2021-07-21 10:05:05 -07:00
MeisamandGitHub 3b98bc01c2 rm username and message count from viewer-info (#258) 2021-07-21 10:03:07 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e63703f670 Bump cssnano from 5.0.6 to 5.0.7 in /build/javascript (#1235)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.6 to 5.0.7.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.6...cssnano@5.0.7)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-21 09:56:33 -07:00
Gabe Kangas 96993435d8 Add missing space. Closes #1231 2021-07-20 23:25:23 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dcd10cba43 Bump eslint from 7.30.0 to 7.31.0 (#257)
Bumps [eslint](https://github.com/eslint/eslint) from 7.30.0 to 7.31.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.30.0...v7.31.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-20 18:07:16 -07:00
Owncast 11b59fbb31 Commit updated Javascript packages 2021-07-20 20:28:01 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1b575d6fdf Bump @videojs/http-streaming from 2.9.2 to 2.9.3 in /build/javascript (#1227)
Bumps [@videojs/http-streaming](https://github.com/videojs/http-streaming) from 2.9.2 to 2.9.3.
- [Release notes](https://github.com/videojs/http-streaming/releases)
- [Changelog](https://github.com/videojs/http-streaming/blob/main/CHANGELOG.md)
- [Commits](https://github.com/videojs/http-streaming/compare/v2.9.2...v2.9.3)

---
updated-dependencies:
- dependency-name: "@videojs/http-streaming"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-20 13:27:01 -07:00
Gabe KangasandGitHub 4715598d7e Override default protocol if one is set in settings (#1226)
* Default to http but use the protocol set in settings if available

* Add missing instance of the protocol
2021-07-20 10:34:59 -07:00
Gabe Kangas 44d6a36b77 Cleanup linter warnings 2021-07-19 23:49:16 -07:00
Owncast 4d64539b07 Commit updated API documentation 2021-07-20 05:53:46 +00:00
Gabe Kangas b59d348adc Update api spec 2021-07-19 22:53:02 -07:00
Gabe Kangas af0c6c0cb3 Update admin bundle 2021-07-19 22:04:11 -07:00
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