John Livingston
4840bd735a
Better default values for settings:
...
* Remove old Peertube 3.0.1 compatibility (default value for checkbox settings should be false)
2021-05-07 19:18:41 +02:00
John Livingston
73ed34a2fa
Fix: starting with Peertube 3.2.0, there is a header X-Frame-Options. Removing it on the iframe route.
2021-05-07 16:45:55 +02:00
John Livingston
5484947f51
Fix: if the video owner is already owner of the chatroom, he should not be downgraded to admin.
2021-05-06 21:05:46 +02:00
John Livingston
e91d378e5c
Fix: 2.1.0 was in fact correct... Did not work on my preprod env because of... a Livebox bug...
2021-05-06 21:00:42 +02:00
John Livingston
fec219a909
Revert getProsodyDomain. Broken when not on localhot.
2021-05-06 14:04:16 +02:00
John Livingston
6cca689ef7
Trying to fix for production.
2021-05-06 13:59:45 +02:00
John Livingston
f590cf2c7b
Builtin Prosody: use Peertube domain instead of localhost.
2021-05-06 13:31:55 +02:00
John Livingston
bda306b461
Dont add chat admin for remote videos.
2021-05-06 12:42:07 +02:00
John Livingston
27d8ab7fc6
Prosody: the video owner is admin for the room.
2021-05-05 18:00:03 +02:00
John Livingston
e5d5da4d07
Builtin Prosody: allow moderation operations.
2021-05-05 17:20:06 +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
5792b98376
Rewriting using Map.
2021-05-04 16:43:38 +02:00
John Livingston
ad2d7742e9
Prosody: use the user nickname.
2021-05-04 16:33:32 +02:00
John Livingston
deff34ab95
Fix.
2021-05-04 15:33:05 +02:00
John Livingston
96844d1662
carbon module
2021-05-04 13:16:59 +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
5575628e99
Moving the prosody virtualhost to anon.localhost.
2021-05-02 16:55:01 +02:00
John Livingston
f11fec7c97
Diagnostic: check prosody version.
2021-05-02 16:16:19 +02:00
John Livingston
e1b08ce025
Removing muc_create_api_auth, because Peertube will not allow an authorization header.
2021-05-02 15:22:08 +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
9c4cc64dcb
More precise MVideo type.
2021-04-30 18:03:04 +02:00
John Livingston
aa88870a49
Prosody: specifying storage=internal.
2021-04-30 18:00:21 +02:00
John Livingston
9dc0ce6383
Removing a hack:
...
* replacing loadByUrl by loadByIdOrUuid
* breaks compatibility with peertube 3.0.1
* simpler webchat route
* fix uuid escaping in iframe uri
2021-04-30 17:39:27 +02:00
John Livingston
fbfd86aab0
WIP.
2021-04-30 16:48:16 +02:00
John Livingston
1c0fbe743f
Rewriting the prosody config generator code.
2021-04-30 16:22:58 +02:00
John Livingston
c19035c0b7
mod_muc_http_defaults WIP.
2021-04-29 18:31:48 +02:00
John Livingston
a4d671bf50
Prosody log level debug for test environment.
2021-04-29 17:45:04 +02:00
John Livingston
62af899a50
Builtin Prosody modules:
...
* initialize prosody modules folder
* comment on prosody modules licensing
* use mod_muc_http_defaults to set rooms properties and prevent unauthorized room creation WIP
2021-04-29 16:50:30 +02:00
John Livingston
079332733a
Fix Peertube server crash when prosody is not installed.
2021-04-18 17:48:21 +02:00
John Livingston
8ddbb21c7f
Documentation.
2021-04-16 17:55:48 +02:00
John Livingston
9b5caacb28
Display prosody port.
2021-04-16 15:23:08 +02:00
John Livingston
295a55c9f6
Port configuration.
2021-04-16 15:13:46 +02:00
John Livingston
fce0e7c63c
Cleaning config file.
2021-04-16 14:39:25 +02:00
John Livingston
bd91abc5b8
Working prosody configuration.
2021-04-16 14:26:21 +02:00
John Livingston
48851d422a
Fix deprecated use of bodyParser.
2021-04-16 13:46:51 +02:00
John Livingston
9b4b17b326
Indentation.
2021-04-16 13:44:24 +02:00
John Livingston
6d63d42e88
Fix using express-http-bind as proxy for BOSH.
2021-04-16 13:42:07 +02:00
John Livingston
f1192e3da0
Using express-http-bind as proxy for BOSH. WIP
2021-04-15 15:21:58 +02:00
John Livingston
58b0a0cd69
Unloading http bind route.
2021-04-15 13:11:59 +02:00
John Livingston
af46ecc3a2
Refactoring getProsodyConfig stuffs. Preparing the http bind router.
2021-04-15 12:17:08 +02:00