Joas Schilling
1eb766eb01
Hash the passwords
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
dcd8210027
Start implementing room passwords
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
0c3fdb72b3
Add a dedicated exception for participants
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
dda5e48f42
Allow to deal with rooms based on session id
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
18651b9d4f
Fix deleting of guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
b1be02d367
Dispatch event when participant list changes
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
e69cc66c16
Fix self-joining of users to a public room and remove them on making it private
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
f88b1766f5
Adjust method name
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
ac8732888c
Fix app to work on oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joachim Bauch
1f33a389fc
Update "name" member on rename so "getName" returns updated name.
Signed-off-by: Joachim Bauch <bauch@struktur.de>
8 years ago
Joas Schilling
f0d41b548e
Also expose the participant type with the list
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
86a3566e25
Endpoint to promote and demote moderators
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
9d6d4f87e5
Restrict renaming, inviting and public/private to owner and moderators
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
8a3dd6757c
Add participant types
* one2one calls have two owners
* for group and public calls the creator is the owner
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
04ee52564f
Allow logged in users to join public rooms again
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
40d90c3e19
Introduce a token column
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
3d8d74a69f
Add a route to rename calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
45f4e2b30f
Fix getNumberOfParticipants()
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
b62f33f119
Make sure that the session id is unique
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Ivan Sein
b1a8302b6c
Ping the room when joining that room.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
9 years ago
Ivan Sein
9c460a5c44
Update lastPing when adding current user to a room.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
9 years ago
Joas Schilling
c89ed27275
Kill guests that lost the connection
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
84e0b26355
Make join room work for guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
0099335347
Allow pings from guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Ivan Sein
a2e2db0af7
Remove executable flag added by samba.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
9 years ago
Lukas Reschke
5c1fb10839
Return 0 if element does not exists
This can return an empty result set in which case this spams the error log every second with a horrible amount of errors such as the following:
> Undefined index: num_participants at /media/psf/stable9/apps/spreed/lib/Room.php#195
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
9 years ago
Joas Schilling
bb41d6bfba
Allow to make rooms public
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
c139e66af2
Stay in the same room and upgrade it instead
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Lukas Reschke
0255dffa4e
Fix adduser
9 years ago
Lukas Reschke
d735c2a008
Use unique session IDs and some more patches
- Uses displayname instead of UID
- Uses unique session ID so we can reconnect and change rooms
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
9 years ago
Ivan Sein
0cb5480a97
Fixed error on remove user DB query.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
9 years ago
Joas Schilling
03c80d8ab4
Copyright and author
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
6c50ac9ec7
Add endpoint to leave a room
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
5906315245
Move pinging to the Room
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
a6e568f1bf
Get rooms from the manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
1d9a0c3a7d
Get participant lists from the Room
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
018a62bb41
Get participants from the room
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
dcfcdd1c4f
Add users to rooms via the object
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
61d9335c73
Prepare notifications for group calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Ivan Sein
6cbe4c377c
Added group calls type.
9 years ago
Lukas Reschke
519c862d28
Add person selector
This adds a person selector as well as avatars so that initiating a call will be more intuitive.
Fixes https://github.com/nextcloud/spreed/issues/25
Fixes https://github.com/nextcloud/spreed/issues/11
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
9 years ago
Christoph Wurst
108ca00c16
add karma/jasmine config for js unit testing
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
9 years ago
Christoph Wurst
286c13fb3f
create js spreed app and use it for initialization code
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
9 years ago
Joachim Bauch
b33d59de10
Make STUN server configurable through settings.
This change adds a new section "Spreed" to the "Additional settings" where you
can configure the STUN server (#2 ).
9 years ago
Jan-Christoph Borchardt
948e866408
add app to menu, fix #3
9 years ago