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

449 Коммитов

Автор SHA1 Сообщение Дата
Joas Schilling aae60f02c7
Publish the list of participants via the API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-17 11:43:47 +01:00
Lukas Reschke 35f441472b
Refactor logic
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-11-17 04:12:20 +01:00
Roeland Jago Douma 0c52c1a848
Make sure there are no undefined index warnings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-17 00:54:31 +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
Lukas Reschke 000b2259b7
Set timeout to 30 seconds and use JS for disconnecting
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-11-16 17:38:11 +01:00
Lukas Reschke 0686929b28
Make signalling great again
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-11-16 15:16:08 +01:00
Joas Schilling 892de037af
Leave rooms when deleting a user
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-14 16:30:51 +01:00
Joas Schilling 17cd89e8d0
Add the last ping of the current user as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-14 16:30:51 +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 46db7203cf
Add id and type to the returned array
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-14 16:30:51 +01:00
Joas Schilling 66a06f1aa6
Make sure user always can see the room
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-14 16:30:51 +01:00
Joas Schilling a82000efa7
Use ampersand instead fo "and"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-14 16:30:51 +01:00
Joas Schilling 3a5bfc32c3
Don't leak rooms the user is not part of
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-14 16:30:51 +01:00
Joas Schilling ff39859bc1
Add endpoint to add a user to a call
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 25e208a1fa
Empty ping should not be allowed
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 7f5ae6b668
Get the one2one Room from the manager
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 4aebf75101
Group call handling via the manager
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
Jan-Christoph Borchardt d1cd236e86 remove counter & ellipsize participants list
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2016-11-14 14:30:08 +01:00
Ivan Sein 330c5ae3b7 Show 'You' when current user is the only participant in a group call room. 2016-11-11 15:31:34 +01:00
Ivan Sein b8cd4148e8 Show groups and allow group calls creation. 2016-11-11 14:25:30 +01:00
Ivan Sein c2f7defd36 Check room type on get PrivateChatRoomForUsers function. 2016-11-09 16:36:27 +01:00
Ivan Sein 6cbe4c377c Added group calls type. 2016-11-09 16:11:35 +01:00
Ivan Sein f861d5dcdd Return STATUS_OK when OneToOne room already exists. Then user will be joined to that room even if he selects it from drop-down list and it already exists. 2016-11-09 15:53:25 +01:00
Joas Schilling 24b2f86980
Kill notifications when the user enters a room
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-09 15:19:30 +01:00
Joas Schilling d985c7f58c
Start notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-09 15:18:58 +01:00
Lukas Reschke 3bb0e5b302 Merge pull request #72 from nextcloud/oneToOne-rooms-creation
Fixed getPrivateChatRoomForUsers SQL query.
2016-10-25 18:50:01 +02:00
Robin Appelman 8a257c130f properly build queries 2016-10-25 16:29:12 +02:00
Ivan Sein 841bbad6b3 Fixed getPrivateChatRoomForUsers SQL query. 2016-10-21 19:04:55 +02:00
Lukas Reschke 45179de86d
Only show displayname 2016-10-19 14:06:04 +02:00
Lukas Reschke 5f88596868
Add displaynames to sidebar 2016-10-19 14:03:53 +02:00
Lukas Reschke a2f9e8f885
Properly calculate the key
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-19 12:40:05 +02: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
Christoph Wurst f1ec1f7e25
downgrade marionette, create room via backbone sync
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2016-10-18 16:10:16 +02:00
Lukas Reschke e620e508ca
Strict comparison 2016-10-17 11:38:17 +02:00
Lukas Reschke 60e8d535d1 Merge pull request #47 from nextcloud/duplicate_roomnames
Prevent duplicate room names.
2016-10-14 13:27:42 +02:00
Joachim Bauch c872e752ef Return non-200 status if user tries to create room that already exists. 2016-10-13 17:51:55 +02:00
Joachim Bauch e51d236bae Prevent duplicate room names. 2016-10-11 14:44:46 +02:00
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).
2016-10-11 12:14:11 +02:00
Lukas Reschke b0a0097d5f
Add video to empty view 2016-09-21 16:39:14 +02:00
Lukas Reschke 50b8fc6f5c
Rename appid to spreed
Fixes #1
2016-09-19 23:21:15 +02:00
Lukas Reschke 65ffc79ce0
Also allow blob 2016-09-19 22:52:53 +02:00
Lukas Reschke 41b0ae0c9a
Initial import 2016-09-04 23:54:11 +02:00