gabek
a791d9c910
Prettified Code!
2021-07-31 23:22:00 +00:00
Meisam
7e6f53c846
Add standalone chat with ability to send messages ( #1270 )
...
* properly pass the messagesOnly to chat
* use actual username if embed is not messageonly
* mv embed chat to chat-overlay
* add new embed chat page
* fix router
* secure random number for non-secure application!
* add chat enable/disable functionality
* add username form
add customStyles
* mv overlay css
* add style for embed chat
style cleanup
* rm username form from chat overlay
* refactoring
* css cleanup
css adjust
* minor cleanup
* mark the embed chats as readonly and readwrite
* replace 301 redirects with 307
* add redirect for the cached address
* set insatnce name in chat
2021-07-31 16:21:30 -07:00
Meisam
41a7e8b896
check the return value of os.Rename ( #1288 )
2021-07-31 14:59:02 -07:00
Gabe Kangas
12cbe529de
Fix incorrect handling of messages array. Closes #1287
2021-07-31 12:48:42 -07:00
Christian
cb7a9b89ea
safely generate the thumbnail.jpg & preview.gif ( #1279 )
2021-07-28 14:21:02 -07:00
Gabe Kangas
e72b0c640c
Update error message
2021-07-28 13:00:20 -07:00
Gabe Kangas
810b0cd5da
Explicitly add CORS wildcard on all OPTIONS requests
2021-07-28 12:47:15 -07:00
Gabe Kangas
509c658080
Add OPTIONS preflight support for 3rd party auth.
...
- Explicitly add wildcard CORS header within the middleware.
- Accept all OPTIONS preflight requests within the middlware.
- Add success tests for the OPTIONS request.
- Add failure tests for GET requests.
2021-07-28 12:40:55 -07:00
Gabe Kangas
031a848b7a
No need to publicly log this
2021-07-28 12:37:26 -07:00
Gabe Kangas
8f32c13ca6
Fix incorrect controller method. Remove wildcard cors from /api/chat
2021-07-28 12:36:48 -07:00
Meisam
2ff9186ee2
fix updateAuthorList ( #1276 )
2021-07-27 16:55:19 -07:00
Gabe Kangas
41cfe33b8d
Fix typo of missing colon
2021-07-27 15:33:57 -07:00
Meisam
109d2669ab
better chat message sanitization ( #1266 )
...
* strip <p> in chat sanitization, keep the content
* update sanitization tests
* update tests
* rm <p></p> comparison for empty messages
2021-07-27 15:26:27 -07:00
gabek
92284f6ca1
Prettified Code!
2021-07-27 22:26:04 +00:00
Gabe Kangas
10f50a03e7
Hide external actions row if there are zero actions. Closes https://github.com/owncast/owncast/issues/1119
2021-07-27 15:25:19 -07:00
Gabe Kangas
b5bb28b396
Dependabot does not have access to commit
2021-07-27 13:02:14 -07:00
Owncast
fe7e9b24ff
Commit updated Javascript packages
2021-07-27 17:47:35 +00:00
dependabot[bot]
3eb1158ed4
Bump video.js from 7.13.3 to 7.14.3 in /build/javascript ( #1271 )
...
Bumps [video.js](https://github.com/videojs/video.js ) from 7.13.3 to 7.14.3.
- [Release notes](https://github.com/videojs/video.js/releases )
- [Changelog](https://github.com/videojs/video.js/blob/main/CHANGELOG.md )
- [Commits](https://github.com/videojs/video.js/compare/v7.13.3...v7.14.3 )
---
updated-dependencies:
- dependency-name: video.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-27 10:46:32 -07:00
Meisam
44f406caf0
reject user messages when offline ( #1269 )
2021-07-27 10:42:05 -07:00
Gabe Kangas
fac06257ad
Add in the optimization where multiple websocket events can exist within a single message
2021-07-26 19:23:15 -07:00
Gabe Kangas
8b2747e4d7
Add some sqlite optimizations
2021-07-26 17:35:23 -07:00
Gabe Kangas
f20aa4478d
Add a simple caching of chat history as an optimization
2021-07-26 17:35:04 -07:00
Gabe Kangas
f85b54cfeb
Pass along just the client id instead a reference to the entire client when unregistering the client
2021-07-26 17:34:50 -07:00
Meisam
f07c9e2e00
consider <p></p> as an empty message ( #1264 )
2021-07-26 09:21:48 -07:00
Ginger Wong
0b333dd6b6
update message link color to address #1251
2021-07-25 23:15:31 -07:00
Ginger Wong
f8c06b3da6
Merge branch 'develop' of https://github.com/gabek/owncast into develop
2021-07-25 23:04:12 -07:00
Ginger Wong
d02d25a140
tweak svg bounding box to address #1259
2021-07-25 23:03:23 -07:00
gabek
8c5f7be05c
Prettified Code!
2021-07-26 05:41:48 +00:00
Gabe Kangas
f23a1202cc
Do not set title text for users without data. Closes #1249
2021-07-25 22:41:15 -07:00
gabek
9b7926963f
Prettified Code!
2021-07-26 05:27:02 +00:00
Meisam
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
Christian Muehlhaeuser
35a0c6fa14
Improve performance of retrieving chat history by avoiding double-sort and outer join ( #1261 )
2021-07-25 09:54:24 -07:00
Christian Muehlhaeuser
261fe56bad
Don't specify the linter version, as it's not required any longer ( #1262 )
2021-07-24 23:19:46 -07:00
gabek
5f7cc6a327
Prettified Code!
2021-07-24 17:26:17 +00:00
Meisam
7526b5305c
add emoji to the caret position ( #1253 )
2021-07-24 10:25:40 -07:00
gabek
93f682d526
Prettified Code!
2021-07-23 21:16:13 +00:00
Meisam
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
gabek
377bf529ad
Prettified Code!
2021-07-23 18:21:30 +00:00
Meisam
7867260b9c
getCaretPosition considering all html elements ( #1246 )
2021-07-23 11:20:59 -07:00
Meisam
e1c4b452e6
test emoji title and alt tag sanitization ( #1244 )
2021-07-23 11:01:30 -07:00
Meisam
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
Meisam
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
dependabot[bot]
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