damencho
895c92217a
fix: Optimizes hot paths in prosody modules, string comparisons.
2020-11-06 13:33:14 -06:00
Andrei Bora
50997ae6ac
Stringify boolean values from jwt user context
2020-11-06 06:15:45 -06:00
Дамян Минков
9f65ae52f1
fix: Prosody modules - drop unused and duplicate code and drop chatty debug statements ( #8027 )
...
* chore: Updates mod_smacks.lua version to latest.
https://hg.prosody.im/prosody-modules/file/db75772afb28/mod_smacks/mod_smacks.lua
* Drop unused modules.
* Update docs.
* Move utility functions away from domain mapper.
* Remove some chatty debug log messages.
* Drops not needed patch for mod_websocket.
2020-11-04 08:25:03 -06:00
slauth
9742e90bb5
allow wildcard in token issuer verification
2020-11-03 10:45:47 -06:00
damencho
734631a7a4
fix: Avoids storing lobby room instance in the main room object.
...
We sometimes see "error Top-level error, please report:
/usr/lib/prosody/util/serialization.lua:38: Can't serialize table: table has multiple references".
This also slows down restarting prosody.
2020-10-30 12:52:08 -05:00
emrah
da33d8a033
fix: speakerstats_component, attempt to index (a nil value)
2020-10-20 07:48:23 -05:00
Saúl Ibarra Corretgé
35bea1a1d0
fix(misc) update update-ljm script commit message
2020-10-07 16:31:47 +02:00
Дамян Минков
8dcf04897a
feat: Throttle out call attempts to the max number per minute ( #7742 )
...
* feat: Make possible to reload config for filter rayo iq.
* feat: Throttle out call attempts to the max number per minute
* squash: Updates comment about config
2020-09-22 10:53:43 -05:00
damencho
0354dbe889
fix: Updates docs and verification to halt joining process.
...
When returning the error and showing to user not allowed screen we were not completely halting the prejoin operation when token verification fails on room join and the token is valid in general.
2020-09-10 10:07:30 -05:00
Andrei Bora
af71d80150
Fix call after timeout
2020-08-19 17:38:40 +03:00
Andrei Bora
b765adca75
Solve review issues and add retries for http call
2020-08-19 17:11:18 +03:00
Andrei Bora
92e6cf7618
Add pre and post validation for users that want to use their own public keys
2020-08-19 16:50:24 +03:00
Aaron van Meerten
c3329ec931
Merge pull request #7518 from jitsi/aaronkvanmeerten/jibri-queue-component-modules
...
FEAT: prosody jibri queue component module
2020-08-18 10:16:39 -05:00
damencho
25ae83bcf4
fix: Fixes #7514 when promoting new moderator and lobby is enabled.
2020-08-14 17:56:24 -05:00
Aaron van Meerten
82b1408454
FEAT: jibri queue clear asap cache for token util on config reload
2020-08-14 15:24:26 -05:00
Aaron van Meerten
36565f0c50
FIX: token util keyurl definition move to above callback definition
2020-08-14 15:23:54 -05:00
Aaron van Meerten
0c48e205d7
Merge branch 'master' into aaronkvanmeerten/jibri-queue-component-modules
2020-08-14 14:21:13 -05:00
Aaron van Meerten
5e35b69fc9
FIX: prosody token util handles race on timeout gracefully
2020-08-14 14:14:29 -05:00
Aaron van Meerten
3fd85720bc
FIX: prosody jibri queue component reloads configuration
2020-08-14 14:13:57 -05:00
Aaron van Meerten
e439d065b7
FEAT: token util better logging for timeouts, verification
2020-08-14 13:52:25 -05:00
Aaron van Meerten
d716665f27
FIX: jibri-queue module log improvements
2020-08-13 16:41:42 -05:00
Aaron van Meerten
d05fa32413
FIX: add flag to control whether to check room claim in JWT validation
...
jibri queue component stop checking room validation in token
Jibri queue component debug output when bad token is found
2020-08-12 14:43:34 -05:00
Aaron van Meerten
3da7798e9f
FIX: prosody: output string for time and position in jibri queue
2020-08-10 15:21:56 -05:00
Aaron van Meerten
6fc9606c0d
FEAT: support updating accepted issuer/aud for token lib
2020-08-10 15:21:31 -05:00
Aaron van Meerten
0bd100f027
FIX: prosody: comment on destroy_request
2020-08-07 13:16:17 -05:00
Aaron van Meerten
f14a595462
FIX: prosody: destroy_request check
2020-08-07 13:15:55 -05:00
Aaron van Meerten
c4155575f9
FIX: prosody: room validation on jibri-queue
...
The full room JID is now passed properly to verify_token
verify_token now also expects the correct jid for validation
2020-08-07 12:10:00 -05:00
Aaron van Meerten
11ee71a51c
FEAT: jwt pubkey cache inside object
...
Allows each module that does token validation to have its own cache
2020-08-07 11:51:44 -05:00
Aaron van Meerten
9b7e8c98ad
FEAT: default value for jibri queue region
2020-08-06 17:12:53 -05:00
Aaron van Meerten
ad44558153
FEAT: validate keys at specific URL for jibri queue
...
Provide region value in POST to jibri-queue service
2020-08-06 17:12:31 -05:00
Elliot Cooper
b814827df1
misc: replace certbot-auto with certbot
2020-07-24 16:35:52 +02:00
paweldomas
00b41dbb41
add mod_websocket patch for session event
...
It's to be used in docker-jitsi-meet to patch older
Prosody versions until this change becomes available.
2020-07-23 16:29:45 -05:00
damencho
ddc2b4f26e
fix: Adds display name to notifications about lobby operations.
...
Display name for lobby operations notifications are taken from the list of knocking participants which is available only to moderators. In case of not all moderators the notifications were broken.
2020-07-23 14:49:52 -05:00
Aaron van Meerten
d70f9d6fd6
FIX: use correct URL paths for jibri queue service
2020-07-22 16:24:08 -04:00
Aaron van Meerten
7858f12df2
FEATURE: proper outbound iq handler for REST requests
2020-07-20 12:51:07 -04:00
Aaron van Meerten
828e578af4
FIX: rename disco info component to correct name
...
FIX: reply to iq only on successful reply from queue server
2020-07-17 16:19:25 -04:00
Aaron van Meerten
4289b23135
feature: jibri queue authorization header handler
2020-07-16 22:48:52 -04:00
Aaron van Meerten
099820b6ac
prosody modules: jibri queue events for leave, room destroyed
2020-07-14 16:50:34 -04:00
Aaron van Meerten
25ded0bdeb
prosody modules: add util function for rewritesplit JID
2020-07-14 16:49:51 -04:00
Aaron van Meerten
51fd10278b
FIX: prosody jibri queue handle iq properly
2020-07-13 18:04:48 -04:00
abora8x8
5b89709483
Add hook for creating lobby before participants join ( #7273 )
...
* Add hook for create lobby
* Remove duplicated code
2020-07-13 11:29:35 -05:00
Saúl Ibarra Corretgé
546b0abe32
misc: add script to update LJM to the latest commit
2020-07-10 12:44:29 +02:00
Maxence Dalmais
4e1f42a665
Update mod_muc_poltergeist.lua
...
Add avatar to user context so it is picked by the web interface
2020-07-08 07:08:50 -05:00
damencho
f73e9947c0
fix: Uses room jids for the lobby notifications.
2020-07-06 09:56:01 -05:00
Дамян Минков
b3a2905849
feat: Sends json messages notifying for lobby actions. ( #7209 )
...
* feat: Sends json messages notifying for lobby actions.
* squash: Fixes quotes to be consistent.
* fix: Fixes attempt to call global 'formdecode' (a nil value).
2020-07-03 08:26:44 -05:00
damencho
6d3d15a64b
feat: Adds an option to validate a recording token.
2020-07-02 12:51:14 -05:00
Imre Faragó
bfd5db355d
prosody muc_size plugin, room get info error fix (Traceback[httpserver]: /usr/lib/prosody/util/async.lua:137: /prosody-plugins/mod_muc_size.lua:141: attempt to concatenate local 'subdomain' (a nil value)
2020-07-01 08:04:41 -05:00
Дамян Минков
a4ca247056
Lobby required displayname ( #7197 )
...
* ref: Rename jitsi_bosh_query_room to jitsi_web_query_room.
This is no longer bosh only and is available for both bosh and websocket sessions.
* feat: Adds feature to disco-info indicating that display name is required.
* feat: Adds option to disable checking whether display name is required.
* ref: Clears auth_token when verification fails.
* squash: Fixing comments.
* squash: Updates to latest lib-jitsi-meet.
2020-06-30 08:15:08 -05:00
Aaron Van Meerten
24c75b7332
FIX: better URL handler for jibri queue events
2020-06-29 18:46:15 -05:00
Aaron Van Meerten
2327a6d0b4
FEATURE: prosody: add http handler for jibri queue
2020-06-29 18:20:04 -05:00