Commit Graph
100 Commits
Author SHA1 Message Date
gingervitisandGitHub 3b08b50ce0 add a send button on chat for touch screen devices (#1127)
* add a send button on chat for touch screen devices

* cleanup
2021-06-20 17:15:52 -07:00
gingervitisandGitHub c45e43c378 display last online time (#1125)
* - if offline calculate and display last online time to address https://github.com/owncast/owncast/issues/1111
- clean up status bar styles

* clean up console
2021-06-20 10:49:16 -07:00
Ginger Wong e89e65e1f5 Resolve issue https://github.com/owncast/owncast/issues/1044
- use built-in videojs font icon instead
- remove button clickhandler override to make button work on mobile
2021-05-29 14:20:37 -07:00
Ginger Wong c08744c3c4 - A fix for https://github.com/owncast/owncast/issues/1007. Hide app container when configdata is loading
- Also, disable global CSS transition animations for now. If we want to add transitions onto anything, we can target specific elements and add styles individually intead.
2021-05-29 13:08:10 -07:00
Ginger Wong 40264bec8c use passed in player to access controlbar instead for airplay 2021-03-13 19:47:03 -08:00
Ginger Wong e3375ae8c0 fix username form size on mobile views when stream title name is long 2021-02-27 16:39:19 -08:00
gingervitisandGitHub 9e44c261fa be able to pick multiple emojis ; move up picker div to see emojis inputted into textfield; restore focus into textfield after picker closes; address #612 (#614) 2021-01-09 18:26:56 -08:00
Ginger Wong 3719dd04f5 add rel=me to social icon link; address #511 2021-01-09 16:40:38 -08:00
Ginger Wong cd52e5b0a3 rename socialhandles to platformlogos in case of adblockers 2021-01-09 16:36:07 -08:00
Ginger Wong ce3a47d5f4 add keyoxide logo; adjust icon css to fit non-svg imgs 2021-01-09 16:32:07 -08:00
8a74af202d Update chat message visibility for moderation (#524)
* update message viz in db

* create admin endpoint to update message visibility

* convert UpdateMessageVisibility api to take in an array of IDs to change visibility on instead

* Support requesting filtered or unfiltered chat messages

* Handle UPDATE chat events on front and backend for toggling messages

* Return entire message with UPDATE events

* Remove the UPDATE message type

* Revert "Remove the UPDATE message type"

This reverts commit 3a83df3d492f7ecf2bab65e845aa2b0365d3a7f6.

* update -> visibility update

* completely remove messages when they turn hidden on VISIBILITY-UPDATEs, and insert them if they turn visible

* Explicitly set visibility

* Fix multi-id sql updates

* increate scroll buffer a bit so chat scrolls when new large messages come in

* Add automated test around chat moderation

* Add new chat admin APIs to api spec

* Commit updated API documentation

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: Owncast <owncast@owncast.online>
2020-12-29 13:35:33 -08:00
gingervitisandGitHub 51f344f8e0 misc issue fixes (#496)
* rename social-icons to prevent adblockers from blocking scripts, fix for #491

* hide viewer count when stream is off, fixes #428

* show a notice in document title of num messages if window is blurred, #426

* display indicator when stream has gone onlnie or offline when window is blurred
2020-12-22 17:43:35 -08:00
Ginger Wong 8774551838 wrap tags so they extend off the view, fixes #500 2020-12-22 10:07:11 -08:00
Ginger Wong 121b80143a display username change form better on small screen 2020-12-12 11:38:08 -08:00
Ginger Wong d4f5162505 prevent header from hiding when keyboard is active on mobile for username change 2020-12-12 11:08:23 -08:00
gingervitisandGitHub 0062896b7d chat fixes and optimizations (#431)
* - format messages on didMount instead of didUpdate. will also prevent bad setSTate loops when message is blank;
- convert message.js to functional comp
- prevent extra rerenders in messages and chat with shouldComponentUpdate checks

* revert chat test

* more concise returns;
2020-12-06 21:01:52 -08:00
Ginger Wong defa13e218 Merge branch 'master' of https://github.com/gabek/owncast 2020-12-04 00:00:58 -08:00
Ginger Wong 26c066b454 overflow hidden on message so word forces break; decrease maxlength of username to 60 chars. fix #417 2020-12-04 00:00:50 -08:00
Ginger Wong 5e41dab92c revert chat test 2020-12-03 22:51:11 -08:00
Ginger Wong 5fe36f37bd fix for #411 2020-12-03 22:43:31 -08:00
Ginger Wong 0bf8cf1dba make emoji search text more legible; break long user name change messages 2020-12-03 22:28:16 -08:00
gingervitisandGitHub f8d94c2dc2 jump to bottom of list when the DOM observes that a new message node has been added (#369) 2020-11-17 16:59:27 -08:00
01f16aeddf Simplify Logo requirement from users. (#373)
* Simplify Logo requirement from users.
- Only require 1 logo file, instead of a `small` and `large` one.  Just require `logo`.
- Update frontend sso that primary header logo will ALWAYS be owncast logo.
- User's logo will remain in "user content" area.

* Commit updated API documentation

Co-authored-by: Owncast <owncast@owncast.online>
2020-11-17 15:12:54 -08:00
gingervitisandGitHub c87a7f8564 Merge pull request #309 from bgildson/issue307
Something like `62 days 12:34:55` might look a bit funny, but I don't a lot of folks will be seeing multiple-day streams anyway. But this works for me, thanks for doing this @bgildson !


changed duration format to also represent days
2020-10-29 18:29:25 -07:00
gingervitisandGitHub 120bfb56e3 Merge pull request #264 from owncast/gek/update-chat-styling
Update chat styling
Look great.
2020-10-17 19:22:53 -07:00
Ginger Wong 03a6eb3cee optmized lines 2020-10-17 19:21:43 -07:00
gingervitisandGitHub 57f2e4b567 Merge pull request #241 from jeyemwey/jv-119-remove-avatars
Remove Chat Avatars
Thanks for the cleanup! Looks great.
2020-10-14 11:16:58 -07:00
gingervitisandGitHub 25ef2fc66e Merge pull request #231 from owncast/gek/remove-status-bar-values
Remove additional viewer counts from status bar.
2020-10-08 21:44:27 -07:00
gingervitisandGitHub d500f32f5b Merge pull request #219 from jeyemwey/fix-issue-202
Fix: Optional socialHandles and tags
2020-10-07 01:06:57 -07:00
gingervitisandGitHub 1eb7c1985b Merge pull request #228 from SoldierCorp/save-volume-settings
ADD: Save volume settings in localstorage
2020-10-06 22:54:57 -07:00
gingervitisandGitHub a36891c465 Merge pull request #226 from Pranav2612000/chat_count_fix
fix: prevents messages ending with spaces to exceed the msg limit
2020-10-06 13:46:07 -07:00
gingervitisandGitHub e7f39a0113 Merge pull request #213 from ahmadkarlam/add-title-chat
Add timestamp to title chat
2020-10-04 01:15:45 -07:00
Ginger Wong f30cfcf20f includes fix for #210
Merge branch 'gw/1003-firefoxscrollbars'
2020-10-03 13:51:52 -07:00
Ginger Wong ff3a50dc03 linty stuff 2020-10-03 13:50:08 -07:00
Ginger Wong ab1eb69fd1 apply scrollbar tricks to moz browser; make scroll colors on emoji picker easier to see; make emoji hover color easier to see 2020-10-03 13:42:48 -07:00
Ginger Wong 1a477de89a Merge branch 'master' of https://github.com/gabek/owncast 2020-09-27 23:04:51 -07:00
Ginger Wong 3add3897ac show play button when video is paused (issue #201) 2020-09-27 23:04:42 -07:00
gingervitisandGitHub fc27d73030 Merge pull request #171 from owncast/gek/remove-player-progress-bar
Remove player progress bar.  Closes #159
2020-09-27 22:03:40 -07:00
Ginger Wong 336a35e981 Merge branch 'master' of https://github.com/gabek/owncast 2020-09-22 17:10:06 -07:00
Ginger Wong 01f956d043 detect portrait mode on mobile so it doesnt go into two col layout when keyboard is up, (#178) 2020-09-22 17:09:55 -07:00
Ginger Wong 58570be302 disable chat when websocket disconnects, enable it when it connects 2020-09-22 01:38:43 -07:00
gingervitisandGitHub 661eedc03a chat fixes v3 or 5 or 123 (#168)
* only consider short-heights when not smallscreen; hide status bar when small screen, but leave shadow;

* fix max char counting bugs with paste, yet be still be able to use modifier keys even when max chars reached

* rmeove 'chat' button; move into textarea

* use image for emoji picker for sizing consitency

* cleanup unused things

* - totally unecessary emoji picker style improvements
- totally necessary doctype added to emoji picker so it shows up more stable-y on mobile views

* more stable layout positioning for chat panel without hacky margins, so that the bottom of the message list will always be on top of the form input, and not behind it at any point.

* hide header on touch screens when screns are small and screen height is short (possibly when keyboard is up), so that there's more visibliity to see messages. this only works on chrome, not ios safari right now, due to the position: fixed of things.

* move char counting to keyup instead

* address message text horiz overflow (#157)

* dont jumpToBottom if user has scrolled about 200px from the bottom (#101)

* scroll to bottom on resize too

* cleanup

* revert test bool

* typo

* re-readjust short-wide case again

* - add focus to input field after emoji is selected, put cursor at end
- instead of smooth scrolling to bottom, just jump there.
2020-09-21 20:11:09 -07:00
Ginger Wong 29ebe80ad0 remove test cruft so chat panel visibility is remembered 2020-09-20 15:49:52 -07:00
Ginger Wong 91590f95bb hide extra videojs video elements that dont have a src to address #165 2020-09-20 15:49:15 -07:00
gingervitisandGitHub 75db8c1edb Merge pull request #146 from owncast/gek/fix-disabled-chat
Fix chat not coming back after server comes back.
2020-09-12 18:57:09 -07:00
Ginger Wong 206d57e79e css hack for videojs that hides a duplicate video element 2020-09-03 03:29:55 -07:00
Ginger Wong 961e212cd7 update standalone chat styles 2020-09-03 02:44:50 -07:00
Ginger Wong 0a3d1145f6 use defaultvalue for username uncontrolled component, fixes #138) 2020-09-02 22:04:19 -07:00
Ginger Wong 09f6b62398 - show offline state when stream ends and video is not playing (#130)
- style fixes
2020-08-29 17:35:19 -07:00
Ginger Wong 0e6edf9ac0 fix max viewers display 2020-08-29 00:42:04 -07:00
Ginger Wong b37b871912 Merge branch 'master' of https://github.com/gabek/owncast 2020-08-27 12:32:20 -07:00
Ginger Wong 43e88ee81d fix youtube embed sizing and weird zindexing; fix single col video sizing inconsistency across other browsers 2020-08-27 12:25:46 -07:00
Ginger Wong b549b21257 add utils to help cleanup whitespaces from contenteditable output; removed forced chat enabling 2020-08-26 11:56:01 -07:00
Ginger Wong 2cffabf0fb - don't make emoji picker freak out by limiting transitions to just app container (#123)
- give width on youtube embed container (#122)
- give video a max height of less than current window height (#125)
-
2020-08-26 11:15:09 -07:00
gingervitisandGitHub 21c1de53c7 Merge pull request #120 from owncast/0809gw-messagemodule
frontend refactor with Preact
2020-08-26 01:03:40 -07:00
Ginger Wong cd5f71265a more tab cleanup 2020-08-26 00:57:15 -07:00
Ginger Wong b399fbba22 address MR comments 2020-08-26 00:51:40 -07:00
Ginger Wong 6457015406 cleanup 2020-08-24 12:34:36 -07:00
Ginger Wong 2a02b75e42 fix responsive styles 2020-08-24 03:30:42 -07:00
Ginger Wong 0b1f9db4ed update references to owncast site; enable scrolltobottom on new messages 2020-08-23 22:21:42 -07:00
Ginger Wong abf42f1a56 avatar\ change style update 2020-08-23 21:49:26 -07:00
Ginger Wong 940b6df86b use only unpkg/preact + htm consistently for all components 2020-08-23 21:41:02 -07:00
Ginger Wong 3d6e9feeaf Merge branch 'master' into 0809gw-messagemodule 2020-08-23 21:29:07 -07:00
Ginger Wong 22e16b67d7 start a video-only page; fix some styles 2020-08-23 21:23:16 -07:00
Ginger Wong a07ad8d693 rename standalone assets so they're easier to find 2020-08-23 19:38:58 -07:00
Ginger Wong d4c8c187fd fix some styles 2020-08-23 19:37:06 -07:00
Ginger Wong 4b28ed8f25 reorganize js files 2020-08-23 19:06:58 -07:00
Ginger Wong 786b4c04fa cleanup commented out styles 2020-08-23 18:33:19 -07:00
Ginger Wong 3d679a28fb Merge branch '0809gw-messagemodule' of https://github.com/gabek/owncast into 0809gw-messagemodule 2020-08-22 00:09:51 -07:00
Ginger Wong 9b4c07d3ba stylin' 2020-08-22 00:09:01 -07:00
Ginger Wong 13cfd112b7 - reduced custom styles, use mostly tailwind classes
- updated markdown css for extrausercontent
2020-08-21 23:44:10 -07:00
Ginger Wong 66dc2f84c9 fix placehodler style, fix chat panel cookieing 2020-08-21 15:55:52 -07:00
Ginger Wong 42a34df63e move consts over 2020-08-20 15:51:11 -07:00
Ginger Wong 60c04c02c4 update chat component to enable formfield via both streamstatus and socket status 2020-08-20 15:33:51 -07:00
Ginger Wong c3adfe7b7b preact app integration 2020-08-20 15:29:15 -07:00
Ginger Wong 3dc3e37751 Merge branch '0809gw-messagemodule' of https://github.com/gabek/owncast into 0809gw-messagemodule 2020-08-20 12:59:14 -07:00
Ginger Wong 136a575973 wip.. initial setup for preact integration into main app 2020-08-20 12:59:07 -07:00
Ginger WongandGabe Kangas 7aa7a70d43 update omq emojis 2020-08-20 09:40:15 -07:00
Ginger Wong 756311f03c style updates to message-only 2020-08-19 14:46:20 -07:00
Ginger Wong 0325af3ce7 styles for message only view 2020-08-19 00:47:41 -07:00
Ginger Wong d7b8058264 make edits for a messages-only view of the chat module 2020-08-19 00:16:35 -07:00
Ginger Wong ebc852b430 initial set up for styling updates; actually add files 2020-08-17 09:00:36 -07:00
Ginger Wong e5d8087979 rever commented out code 2020-08-17 01:14:05 -07:00
Ginger Wong 70f3d7e165 borrow react-ContentEditable component 2020-08-17 01:12:21 -07:00
Ginger Wong 979651a925 extract user names frm old message when they come in 2020-08-15 18:41:31 -07:00
Ginger Wong 703aa40271 move over other input field fxns to input component 2020-08-15 18:28:29 -07:00
Ginger Wong 63d7671fed progress wip. separated out chat input component and its respective methods. 2020-08-14 04:19:19 -07:00
Ginger Wong 3814c24cab set up websocket and emoji in chat component 2020-08-13 09:28:47 -07:00
Ginger Wong 7a1512ef6b breaking out styles into smaller files; break out chat helper functions into utils 2020-08-13 02:43:41 -07:00
Ginger Wong ab5f8df96e Merge branch 'master' into 0809gw-messagemodule 2020-08-13 02:14:26 -07:00
Ginger Wong e1e4365692 integrate message comp 2020-08-13 02:08:14 -07:00
Ginger Wong 64e7809c26 separate out message relate utils, create message component 2020-08-13 01:49:10 -07:00
Ginger Wong dad802f19a Initial setup for standalone chat with Preact.
- set up standalone static page and message related components
- start separating out css into smaller more manageable files
- start separating out utils into smaller modular files
- renaming some files for consistency
2020-08-13 01:28:25 -07:00
Ginger Wong 2c1bc52487 Merge branch '0809gw-editorconfig' 2020-08-09 23:46:14 -07:00
Ginger Wong fc42e11f8b add starter editorconfig file 2020-08-09 23:44:04 -07:00
gingervitisandGitHub 3d20ce9fd5 Merge pull request #98 from nforro/master
Add username tab completion
2020-08-08 01:06:53 -07:00
gingervitisandGitHub a692904516 Merge pull request #97 from nforro/master
Fix handling newlines in messages
2020-08-02 20:16:43 -07:00
Ginger Wong 90317c0c7f Merge branch 'gek/current-stream-duration' 2020-07-19 16:15:12 -07:00
Ginger Wong eb699f9790 use constants for message strings 2020-07-19 16:14:38 -07:00
Ginger Wong b66a80f11e add comments; use promise for fetching chat history for consistency 2020-07-19 16:11:29 -07:00