Commit Graph

23 Commits

Author SHA1 Message Date
John Livingston
5c0b274f39
Builtin Prosody: adding the prosody-room-type settings to allow rooms to be per channel or per video. WIP. 2021-08-05 15:41:49 +02:00
John Livingston
3ca97fcf0e
Fix #63: On some old Peertube installations, there can be usernames with upper-case letters. Adding a toLowerCase() for the XMPP jid. 2021-08-05 11:51:16 +02:00
John Livingston
a526feac19 Diagnostic tool: testing API communication from Prosody to Peertube. 2021-06-22 12:57:24 +02:00
John Livingston
385a0074c1 Chat can be enabled in video properties. 2021-06-08 18:08:58 +02:00
John Livingston
d0b44c3486 Replacing old settings by chat-type. 2021-06-03 11:46:11 +02:00
John Livingston
228a60ca3a Remove backward compatibility (peertubeHelpers.user.getAuthUser always available). 2021-06-02 14:07:12 +02:00
John Livingston
f590cf2c7b Builtin Prosody: use Peertube domain instead of localhost. 2021-05-06 13:31:55 +02:00
John Livingston
6b77c3585d Protecting some APIs with an APIKEY. 2021-05-05 17:06:19 +02:00
John Livingston
787fed19d0 Peertube 3.2.0 will provide user.Account.name. 2021-05-05 16:30:18 +02:00
John Livingston
3658ee797a getAuthUser becomes async. 2021-05-05 15:55:38 +02:00
John Livingston
07353bd327 Prosody: instance moderators and administrators are automatically owner of rooms. 2021-05-05 15:22:37 +02:00
John Livingston
ad2d7742e9 Prosody: use the user nickname. 2021-05-04 16:33:32 +02:00
John Livingston
76adc7124f Prosody auth, first working code:
* generated password on an api call
* use this password to authenticate on prosody
* using helper getAuthUser when available, else fallback to custom code
2021-05-04 13:00:44 +02:00
John Livingston
4a4ffaae2d Prosody auth WIP. 2021-05-03 20:37:23 +02:00
John Livingston
d2e36344af Adding asyncMiddleware. 2021-05-03 20:06:36 +02:00
John Livingston
75bbfc9159 mod_muc_http_defaults WIP. 2021-05-02 14:35:58 +02:00
John Livingston
b225148dfb 403 status when video invalid. 2021-05-01 19:01:31 +02:00
John Livingston
ef05583fba Adding a Shared folder:
* init some shared functions (videoHasWebchat, parseConfigUUIDs)
* api/room: checking that video has live enabled
* fix promise handling in initChat function
* removing some 'use strict' that are no more necessary in typescript
2021-05-01 18:30:21 +02:00
John Livingston
0cc57dfc12 Prosody: the first user will not be granted owner rights. 2021-05-01 10:30:41 +02:00
John Livingston
fefcf1f08a Fix room config result. 2021-05-01 10:22:06 +02:00
John Livingston
a25ef24237 WIP. 2021-04-30 18:03:12 +02:00
John Livingston
fbfd86aab0 WIP. 2021-04-30 16:48:16 +02:00
John Livingston
c19035c0b7 mod_muc_http_defaults WIP. 2021-04-29 18:31:48 +02:00