Граф коммитов

43 Коммитов

Автор SHA1 Сообщение Дата
Joas Schilling 4243adb5f1
Add events for delete/rename/change of a rooom
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-25 14:05:15 +02:00
Joas Schilling fc2e8645ec
Yeah... of course the password must be wrong to fail, not correct...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-22 16:16:05 +02:00
Joas Schilling 1eb766eb01
Hash the passwords
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-22 16:16:04 +02:00
Joas Schilling dcd8210027
Start implementing room passwords
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-22 16:16:04 +02:00
Joas Schilling 0c3fdb72b3
Add a dedicated exception for participants
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-22 14:32:07 +02:00
Joas Schilling dda5e48f42
Allow to deal with rooms based on session id
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-22 10:21:03 +02:00
Joas Schilling 18651b9d4f
Fix deleting of guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-19 16:46:54 +02:00
Joas Schilling b1be02d367
Dispatch event when participant list changes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-14 14:58:07 +02:00
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>
2017-08-07 13:00:01 +02:00
Joas Schilling 542e9dc64a Merge pull request #371 from nextcloud/oracle-support
Fix app to work on oracle
2017-08-07 12:50:55 +02:00
Joas Schilling f88b1766f5
Adjust method name
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-08-03 16:19:25 +02:00
Joas Schilling ac8732888c
Fix app to work on oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-07-25 15:55:23 +02:00
Joachim Bauch 1f33a389fc
Update "name" member on rename so "getName" returns updated name.
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2017-07-20 16:41:16 +02:00
Joas Schilling f0d41b548e
Also expose the participant type with the list
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-07-17 11:05:51 +02:00
Joas Schilling 86a3566e25
Endpoint to promote and demote moderators
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-07-17 11:05:51 +02:00
Joas Schilling 9d6d4f87e5
Restrict renaming, inviting and public/private to owner and moderators
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-07-17 11:05:51 +02:00
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>
2017-07-17 11:05:51 +02:00
Joas Schilling 04ee52564f
Allow logged in users to join public rooms again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-04-21 14:27:29 +02:00
Joas Schilling 40d90c3e19
Introduce a token column
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-03-24 11:18:46 +01:00
Joas Schilling 3d8d74a69f
Add a route to rename calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-01-10 19:56:26 +01:00
Ivan Sein 961e5ec769 Merge pull request #166 from nextcloud/issue-106-unique-session-garantee
Make sure that the session id is unique
2016-12-12 17:42:18 +01:00
Joas Schilling 45f4e2b30f
Fix getNumberOfParticipants()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-12-11 11:43:13 +01:00
Joas Schilling b62f33f119
Make sure that the session id is unique
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-12-06 14:14:03 +01:00
Joas Schilling c89ed27275 Kill guests that lost the connection
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-23 15:41:57 +01:00
Joas Schilling 84e0b26355 Make join room work for guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-23 15:41:57 +01:00
Joas Schilling 0099335347 Allow pings from guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-23 15:41:57 +01:00
Ivan Sein a2e2db0af7 Remove executable flag added by samba.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2016-11-23 15:32:01 +01:00
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>
2016-11-22 00:28:56 +01:00
Joas Schilling bb41d6bfba
Allow to make rooms public
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-17 17:18:51 +01:00
Joas Schilling c139e66af2
Stay in the same room and upgrade it instead
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-17 17:18:48 +01:00
Lukas Reschke 0255dffa4e
Fix adduser 2016-11-16 23:45:58 +01:00
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>
2016-11-16 23:39:00 +01:00
Ivan Sein 0cb5480a97 Fixed error on remove user DB query.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2016-11-16 11:02:37 +01:00
Joas Schilling 03c80d8ab4
Copyright and author
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-14 16:30:51 +01:00
Joas Schilling 6c50ac9ec7
Add endpoint to leave a room
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-14 16:30:51 +01:00
Joas Schilling 5906315245
Move pinging to the Room
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-14 16:30:50 +01:00
Joas Schilling a6e568f1bf
Get rooms from the manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-14 16:30:50 +01:00
Joas Schilling 1d9a0c3a7d
Get participant lists from the Room
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-14 16:30:50 +01:00
Joas Schilling 018a62bb41
Get participants from the room
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-14 16:30:50 +01:00
Joas Schilling dcfcdd1c4f
Add users to rooms via the object
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-14 16:30:50 +01:00
Joas Schilling 61d9335c73
Prepare notifications for group calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-14 16:30:50 +01:00
Ivan Sein 6cbe4c377c Added group calls type. 2016-11-09 16:11:35 +01:00
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>
2016-10-19 12:13:30 +02:00