Commit Graph

19 Commits

Author SHA1 Message Date
Mirco T
a149e2bb50
Added new endpoints to modify settings in-memory (#517)
* Added new endpoints to modify settings in-memory

* Added missing controllers
2020-12-29 14:03:57 -08:00
gingervitis
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
Gabe Kangas
6e7787369e Mark API as v0.0.4 2020-12-25 19:24:19 -08:00
Gabe Kangas
4ce139c0e0 Bump api spec version 2020-12-16 00:27:17 -08:00
Gabe Kangas
97ffe5e8ff Mark api doc as 0.0.3 2020-11-29 14:37:42 -08:00
gingervitis
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
Gabe Kangas
7fece6ff28 Update API documentation for new admin endpoint 2020-11-05 18:40:19 -08:00
Gabe Kangas
2131a203ed Add get log apis to doc 2020-10-29 18:41:21 -07:00
Gabe Kangas
ebed81c81e Test update of api doc 2020-10-21 22:41:57 -07:00
Gabe Kangas
0558f4f699 Mark APIs as pre-release 2020-10-21 22:38:02 -07:00
gingervitis
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
Gabe Kangas
64a85e68aa
Update extra page content API (#240)
* Mark change stream key api as pre-release

* Add API for changing extra page content. Renanme usercontent -> pagecontent. closes #236
2020-10-14 09:38:48 -07:00
Jannik Volkland
606ccb6c14 Remove message image from go code 2020-10-14 13:47:39 +02:00
Gabe Kangas
d7c3991b59
Render and sanitize chat messages server-side. (#237)
* Render and sanitize chat messages server-side. Closes #235

* Render content.md server-side and return it in the client config

* Remove showdown from web project

* Update api spec

* Move example user content file
2020-10-13 16:45:52 -07:00
Gabe Kangas
9eab6d7553 Specify that these APIs are for v0.0.3 2020-10-12 10:52:12 -07:00
Gabe Kangas
168ba9277e Do not use loopback as an example ip 2020-10-07 23:27:42 -07:00
Gabe Kangas
aac7fa2476 Show YP configuration in the config API 2020-10-07 22:42:14 -07:00
Gabe Kangas
06f8a01d5e Update our api definitions 2020-10-07 17:24:20 -07:00
John Hobbs
31c5f8241c
Inital OpenAPIv3 Spec (#223) 2020-10-04 18:59:43 -07:00