Joas Schilling
0be200e099
Update participant list also when not in call
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-21 15:15:54 +01:00
Ivan Sein
b0e70066d0
Merge pull request #710 from nextcloud/bugfix/414/guest-names
...
Store guest names
2018-03-21 10:08:16 +01:00
Joas Schilling
0ad6c51d1f
Merge pull request #720 from nextcloud/bugfix/noid/dont-check-for-password-when-there-is-no-room
...
Don't check for a password, when we didn't even find a room
2018-03-21 09:21:12 +01:00
Joas Schilling
ff5bc9589c
Merge pull request #719 from nextcloud/remove-unused-dependency
...
Remove unused dependency to logger
2018-03-21 09:20:29 +01:00
Morris Jobke
14f470490c
Remove unused dependency to logger
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-03-21 08:58:49 +01:00
Joas Schilling
f517b367da
Don't check for a password, when we didn't even find a room
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-21 08:46:07 +01:00
Morris Jobke
17243c0067
Provide the app to logger
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-03-21 08:37:41 +01:00
Joas Schilling
b09587d68b
Fix unit tests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-20 13:55:14 +01:00
Joas Schilling
ee2367f16c
Show guest names in the participant list
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-20 10:57:19 +01:00
Joas Schilling
afcd192587
Send a request to the server when a guest renames
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-20 10:30:22 +01:00
Joas Schilling
c2387c534e
Store guest names when they leave a comment
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-19 13:07:11 +01:00
Joas Schilling
fd2e5f3542
Merge pull request #500 from nextcloud/comradekingu-patch-2
...
Spelling: by a user that has since been deleted :)
2018-03-16 15:27:25 +01:00
Allan Nordhøy
c8f4a19675
Spelling: by a user that has since been deleted :)
2018-03-16 14:31:30 +01:00
Ivan Sein
7a1e6a4edf
Merge pull request #699 from nextcloud/bugfix/664/users-with-numerical-ids-show-as-guests
...
Make sure users with numerical user ids/display names still show as u…
2018-03-13 16:32:52 +01:00
Joas Schilling
9ae9924d04
Make sure users with numerical user ids/display names still show as users
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-12 15:24:23 +01:00
Joas Schilling
eab0a9059d
Make the methods public so the callables work
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-12 12:22:56 +01:00
Joas Schilling
b88394f265
Reset in call flag when a user timed out
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-09 15:49:59 +01:00
Ivan Sein
c563081393
Merge pull request #697 from nextcloud/bugfix/678/guests-should-not-block-deleting-a-room
...
Also delete rooms when the leaving user is the only non-guest
2018-03-09 15:17:22 +01:00
Joas Schilling
49942460ff
Add a background job to delete empty rooms
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-09 15:13:32 +01:00
Joas Schilling
d1237a4ba0
Also delete rooms when the leaving user is the only non-guest
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-09 14:09:32 +01:00
Ivan Sein
e31f8db9d3
Merge pull request #663 from nextcloud/userids-to-str
...
cast userids to string to avoid issues with numerical IDs
2018-03-08 16:07:58 +01:00
Arthur Schiwon
b48a555c5f
pass if no valid user object was returned
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-03-06 17:10:22 +01:00
Ivan Sein
b67c1824dd
Merge pull request #670 from nextcloud/bugfix/640/install-update-issue-with-old-activity-app
...
Fix update/install issue with old activity app
2018-02-20 14:49:43 +01:00
Joas Schilling
11185194be
Fix update/install issue with old activity app
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-02-20 12:19:18 +01:00
Arthur Schiwon
1c44ae7394
cast userids to string to avoid issues with numerical IDs
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-02-15 13:18:18 +01:00
Joas Schilling
7fa8a97371
Do not allow one2one calling yourself
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-02-13 18:26:27 +01:00
Joas Schilling
f394271681
Register capabilities and make them available for guests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-02-12 12:01:10 +01:00
Joas Schilling
f1be18edc0
Allow to create group rooms without inviting anyone
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-02-08 10:07:41 +01:00
Joas Schilling
95dfd7f1a8
Allow to get signaling settings as guests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-02-07 16:54:50 +01:00
Joachim Bauch
e3ef4d23b9
Return "DataResponse" to be OCS compatible.
...
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-02-02 11:43:00 +01:00
Joachim Bauch
9a39ed981a
Fix type in condition.
...
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-02-02 11:43:00 +01:00
Joachim Bauch
2b1bc06342
Add tests for "BackendNotifier".
...
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-02-02 11:43:00 +01:00
Joachim Bauch
8825193429
Add tests for the backend endpoint of "SignalingController".
...
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-02-02 11:43:00 +01:00
Joachim Bauch
b3c601a8cb
Split "room" from "call" when using the standalone signaling server.
...
Clients use the regular joinRoom/-Call API and get a Nextcloud session
id. No special handling for sessions from the standalone signaling
server are required.
The signaling server regularly "pings" active sessions to prevent them
from timing out (in case of guest users).
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-02-02 11:42:59 +01:00
Joachim Bauch
8214f22a31
Notify backend when "in-call" status of sessions changes.
...
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-02-02 11:42:59 +01:00
Joas Schilling
bf7cbcd5fc
Add docs for chat and fix the links on github
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-26 15:03:41 +01:00
Joas Schilling
5339f73ec0
TypeError: Argument 1 passed to OC\\Security\\Hasher::verify() must be of the type string, null given
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-26 14:54:17 +01:00
Joas Schilling
9374a6ca2f
Also set a token when it is null
...
Appearantly some rooms had null as a token in the past
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-26 12:20:49 +01:00
Joas Schilling
c572bad105
Fix migration type hints
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-26 12:20:48 +01:00
Joas Schilling
a6f6e7a87b
Use search input as room name for "New public call"
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-26 12:20:47 +01:00
Joas Schilling
b83c3fd760
Merge pull request #585 from nextcloud/feature/574/capabilities
...
Add capabilities
2018-01-12 17:02:52 +01:00
Joas Schilling
c3de7b6d5a
Add capabilities
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-12 16:40:23 +01:00
Joas Schilling
3031e1cba1
Fix typo
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-12 16:21:19 +01:00
Joas Schilling
c10e399d33
Doh
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-12 16:15:01 +01:00
Joas Schilling
9028d6ce6a
Make sure Postgres uses lowercase for the migration generated columns
...
The issue is that migrations always generate lowercase columns only.
So all columns that were created with database.xml are okay and cC.
But all intermediate columns the migrations create need to be
referenced as lowercase columns in the queries.
In the future we won't have this problem anymore because we switched
to under_score column names for 3.0
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-12 15:34:30 +01:00
Joas Schilling
c2f2cbf838
Allow postgres for update but not < 2.0.0
...
Actually it's not postgres having the problem, but migrations.
Postgres allows camelCased columns, but they need to be quoted.
They were quoted from the old database.xml file but this does
not work anymore in migrations. But that means it worked on
postgres in the past, it just didn't work in 2.9~ to install
since migrations where merged. So we are reverting the check
for postgres and only allow updating from 2.0.0 or later.
This makes sure that when newly installing the migration code
is not run.
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-12 15:17:45 +01:00
Joas Schilling
ce3b4952ea
Fix postgres issue when updating
...
Postgres could not be used in 12. It installed the tables with wrong names
so we need to ignore it on the update steps. The wrong tables will be
dropped and new tables will be created with further migrations.
But we shouldn't try to migrate data from the old and broken layout.
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-12 13:30:05 +01:00
Joas Schilling
63111646f5
Merge pull request #540 from nextcloud/follow/524/make-code-order-more-logical
...
First check the UID before using it
2018-01-05 10:51:06 +01:00
Joas Schilling
f5cc6cc114
First check the UID before using it
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-05 10:17:56 +01:00
Joas Schilling
42c400893b
Fix missing defaults
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-04 10:46:12 +01:00