]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
6 years agoAdd default theming into accessibility compiler 10689/head
John Molakvoæ (skjnldsv) [Wed, 15 Aug 2018 05:25:31 +0000 (07:25 +0200)]
Add default theming into accessibility compiler

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 15 Aug 2018 00:13:40 +0000 (00:13 +0000)]
[tx-robot] updated from transifex

6 years agoMerge pull request #8855 from nextcloud/feature/noid/ldap-integration-autotests
blizzz [Tue, 14 Aug 2018 12:14:22 +0000 (14:14 +0200)]
Merge pull request #8855 from nextcloud/feature/noid/ldap-integration-autotests

behat integration tests for LDAP

6 years agoMerge pull request #10680 from nextcloud/fix/noid/update_lockdownmanagerscope
Roeland Jago Douma [Tue, 14 Aug 2018 11:13:49 +0000 (13:13 +0200)]
Merge pull request #10680 from nextcloud/fix/noid/update_lockdownmanagerscope

Update the scope of the lockdownmanager

6 years agoUpdate the scope of the lockdownmanager 10680/head
Roeland Jago Douma [Tue, 14 Aug 2018 07:45:52 +0000 (09:45 +0200)]
Update the scope of the lockdownmanager

We have the token anyway. So better the scope as well.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMerge pull request #10679 from nextcloud/fix/10667/dialog-button-layout
Roeland Jago Douma [Tue, 14 Aug 2018 07:20:25 +0000 (09:20 +0200)]
Merge pull request #10679 from nextcloud/fix/10667/dialog-button-layout

switches the oc dialog button row to flex

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 14 Aug 2018 00:12:05 +0000 (00:12 +0000)]
[tx-robot] updated from transifex

6 years agoMerge pull request #10660 from danielkesselberg/bugfix/noid/fix-warning-signoff-checker
Julius Härtl [Mon, 13 Aug 2018 20:51:43 +0000 (22:51 +0200)]
Merge pull request #10660 from danielkesselberg/bugfix/noid/fix-warning-signoff-checker

Pass HttpHeader as array

6 years agoswitches the oc dialog button row to flex 10679/head
Michael Weimann [Mon, 13 Aug 2018 19:51:58 +0000 (21:51 +0200)]
switches the oc dialog button row to flex

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
6 years agoMerge pull request #10621 from nextcloud/feature/noid/add-tos-to-enterprise-bundle
blizzz [Mon, 13 Aug 2018 13:47:15 +0000 (15:47 +0200)]
Merge pull request #10621 from nextcloud/feature/noid/add-tos-to-enterprise-bundle

Add the ToS app to the enterprise bundle

6 years agoMerge pull request #10592 from nextcloud/allow-external-actions-userslist
Roeland Jago Douma [Mon, 13 Aug 2018 13:39:22 +0000 (15:39 +0200)]
Merge pull request #10592 from nextcloud/allow-external-actions-userslist

Allow external actions to users list

6 years agoMerge pull request #10659 from danielkesselberg/feature/noid/remove-xcache
Roeland Jago Douma [Mon, 13 Aug 2018 11:55:26 +0000 (13:55 +0200)]
Merge pull request #10659 from danielkesselberg/feature/noid/remove-xcache

Drop support for xcache

6 years agoAllow external actions to users list 10592/head
John Molakvoæ (skjnldsv) [Wed, 8 Aug 2018 17:17:55 +0000 (19:17 +0200)]
Allow external actions to users list
+ Created fix

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 years agoMerge pull request #10666 from nextcloud/update/crl2
Roeland Jago Douma [Mon, 13 Aug 2018 09:31:03 +0000 (11:31 +0200)]
Merge pull request #10666 from nextcloud/update/crl2

Another CRL bump

6 years agoAnother CRL bump 10666/head
Roeland Jago Douma [Mon, 13 Aug 2018 08:28:23 +0000 (10:28 +0200)]
Another CRL bump

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMerge pull request #10664 from nextcloud/update/crl
Roeland Jago Douma [Mon, 13 Aug 2018 08:19:05 +0000 (10:19 +0200)]
Merge pull request #10664 from nextcloud/update/crl

Update CRL

6 years agoUpdate CRL 10664/head
Roeland Jago Douma [Mon, 13 Aug 2018 07:53:19 +0000 (09:53 +0200)]
Update CRL

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 13 Aug 2018 00:12:09 +0000 (00:12 +0000)]
[tx-robot] updated from transifex

6 years agodon't add new LDAP configs if one is already present 8855/head
Arthur Schiwon [Sun, 12 Aug 2018 21:12:42 +0000 (23:12 +0200)]
don't add new LDAP configs if one is already present

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agoimprove fail info and disable cache for a case
Arthur Schiwon [Sun, 12 Aug 2018 20:45:22 +0000 (22:45 +0200)]
improve fail info and disable cache for a case

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agoUpdate autoloader 10659/head
Daniel Kesselberg [Sun, 12 Aug 2018 16:26:50 +0000 (18:26 +0200)]
Update autoloader

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
6 years agoPass HttpHeader as array 10660/head
Daniel Kesselberg [Sun, 12 Aug 2018 16:21:38 +0000 (18:21 +0200)]
Pass HttpHeader as array

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
6 years agoDrop support for xcache
Daniel Kesselberg [Sun, 12 Aug 2018 15:14:08 +0000 (17:14 +0200)]
Drop support for xcache

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
6 years agoPhpunit changed, use proper Assert class
Arthur Schiwon [Sun, 12 Aug 2018 12:46:22 +0000 (14:46 +0200)]
Phpunit changed, use proper Assert class

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 11 Aug 2018 00:12:30 +0000 (00:12 +0000)]
[tx-robot] updated from transifex

6 years agoMerge pull request #10610 from nextcloud/fix/noid/dontcountwithldap
Roeland Jago Douma [Fri, 10 Aug 2018 18:54:18 +0000 (20:54 +0200)]
Merge pull request #10610 from nextcloud/fix/noid/dontcountwithldap

do not trigger counting on LDAP

6 years agoMerge pull request #10639 from nextcloud/bugfix/10607/appsettings-fixes
Roeland Jago Douma [Fri, 10 Aug 2018 14:18:46 +0000 (16:18 +0200)]
Merge pull request #10639 from nextcloud/bugfix/10607/appsettings-fixes

Fix apps management sorting and app removal

6 years agoMerge pull request #10642 from nextcloud/bump/autoloaders
Roeland Jago Douma [Fri, 10 Aug 2018 14:18:00 +0000 (16:18 +0200)]
Merge pull request #10642 from nextcloud/bump/autoloaders

Bump autoloaders

6 years agodo not trigger counting on LDAP 10610/head
Arthur Schiwon [Thu, 9 Aug 2018 11:22:32 +0000 (13:22 +0200)]
do not trigger counting on LDAP

it's probably too many, degregading performance

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agoRecompile 10639/head
Roeland Jago Douma [Fri, 10 Aug 2018 13:22:53 +0000 (15:22 +0200)]
Recompile

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMerge pull request #10615 from nextcloud/fix-trashbin-actions
Roeland Jago Douma [Fri, 10 Aug 2018 13:09:28 +0000 (15:09 +0200)]
Merge pull request #10615 from nextcloud/fix-trashbin-actions

Fix trashbin file actions

6 years agoBump autoloaders 10642/head
Roeland Jago Douma [Fri, 10 Aug 2018 13:03:22 +0000 (15:03 +0200)]
Bump autoloaders

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMerge pull request #10543 from nextcloud/ignore-deactivated-users
Roeland Jago Douma [Fri, 10 Aug 2018 13:01:14 +0000 (15:01 +0200)]
Merge pull request #10543 from nextcloud/ignore-deactivated-users

Do not show deactivated users in sharees and contacts

6 years agoMerge pull request #10623 from nextcloud/bugfix/10622/mobile-header
Roeland Jago Douma [Fri, 10 Aug 2018 12:55:06 +0000 (14:55 +0200)]
Merge pull request #10623 from nextcloud/bugfix/10622/mobile-header

Apply flex-basis to right header

6 years agoBump bundled javascript from settings
Julius Härtl [Fri, 10 Aug 2018 11:56:52 +0000 (13:56 +0200)]
Bump bundled javascript from settings

Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years agoSort apps by a proper hierarchical order (active, update, name)
Julius Härtl [Fri, 10 Aug 2018 11:56:14 +0000 (13:56 +0200)]
Sort apps by a proper hierarchical order (active, update, name)

Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years agoFix removeing apps in the sidebar
Julius Härtl [Fri, 10 Aug 2018 11:38:06 +0000 (13:38 +0200)]
Fix removeing apps in the sidebar

Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years agoMerge pull request #10619 from nextcloud/bugfix/4550/redirect-page-update
Roeland Jago Douma [Fri, 10 Aug 2018 09:14:03 +0000 (11:14 +0200)]
Merge pull request #10619 from nextcloud/bugfix/4550/redirect-page-update

Redirect to the same page after an update

6 years agoMerge pull request #10636 from nextcloud/fix/2fa-enforced-backup-codes
blizzz [Fri, 10 Aug 2018 09:06:40 +0000 (11:06 +0200)]
Merge pull request #10636 from nextcloud/fix/2fa-enforced-backup-codes

Fix 2FA being enforced if only backup codes provider is active

6 years agoMerge pull request #10618 from nextcloud/mimetype-insert-if-not-exists
Roeland Jago Douma [Fri, 10 Aug 2018 08:31:55 +0000 (10:31 +0200)]
Merge pull request #10618 from nextcloud/mimetype-insert-if-not-exists

use insertIfNotExists to store new mimetypes.

6 years agoMerge pull request #10546 from nextcloud/popover-tokens
Christoph Wurst [Fri, 10 Aug 2018 07:38:27 +0000 (09:38 +0200)]
Merge pull request #10546 from nextcloud/popover-tokens

Popovermenu fix and token settings design fixes

6 years agoRemove unused import 10636/head
Christoph Wurst [Fri, 10 Aug 2018 07:30:17 +0000 (09:30 +0200)]
Remove unused import

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years agoFix 2FA being enforced if only backup codes provider is active
Christoph Wurst [Fri, 10 Aug 2018 07:26:40 +0000 (09:26 +0200)]
Fix 2FA being enforced if only backup codes provider is active

Fixes https://github.com/nextcloud/server/issues/10634.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 10 Aug 2018 00:12:26 +0000 (00:12 +0000)]
[tx-robot] updated from transifex

6 years agotests for user storage location
Arthur Schiwon [Tue, 22 May 2018 16:07:25 +0000 (18:07 +0200)]
tests for user storage location

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agoconvert pagination tests
Arthur Schiwon [Tue, 24 Apr 2018 10:04:29 +0000 (12:04 +0200)]
convert pagination tests

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agoconvert connection tests
Arthur Schiwon [Fri, 13 Apr 2018 14:43:02 +0000 (16:43 +0200)]
convert connection tests

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agofix prov tests
Arthur Schiwon [Fri, 13 Apr 2018 14:12:00 +0000 (16:12 +0200)]
fix prov tests

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agosimplify tests and move some out to a new feature as we need a pristine
Arthur Schiwon [Fri, 13 Apr 2018 13:39:12 +0000 (15:39 +0200)]
simplify tests and move some out to a new feature as we need a pristine
database for them

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agointegration test to ensure entries without displayname don't cause trouble
Arthur Schiwon [Thu, 12 Apr 2018 08:57:42 +0000 (10:57 +0200)]
integration test to ensure entries without displayname don't cause trouble

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agologin does not save the response
Arthur Schiwon [Wed, 11 Apr 2018 17:27:39 +0000 (19:27 +0200)]
login does not save the response

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agoconvert LDAP offline and backup server integration tests
Arthur Schiwon [Wed, 11 Apr 2018 16:14:28 +0000 (18:14 +0200)]
convert LDAP offline and backup server integration tests

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agoFIX: emit assignedUserId only for users
Arthur Schiwon [Wed, 11 Apr 2018 13:33:36 +0000 (15:33 +0200)]
FIX: emit assignedUserId only for users

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agointegration test checking the group filter
Arthur Schiwon [Tue, 10 Apr 2018 22:32:49 +0000 (00:32 +0200)]
integration test checking the group filter

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agocheck user details
Arthur Schiwon [Mon, 9 Apr 2018 10:27:36 +0000 (12:27 +0200)]
check user details

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agobehat integration tests for LDAP, basic setup
Arthur Schiwon [Thu, 15 Mar 2018 17:39:27 +0000 (18:39 +0100)]
behat integration tests for LDAP, basic setup

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years agoMerge pull request #10614 from nextcloud/bugfix/noid/fix_including_invalid_file
Roeland Jago Douma [Thu, 9 Aug 2018 17:49:47 +0000 (19:49 +0200)]
Merge pull request #10614 from nextcloud/bugfix/noid/fix_including_invalid_file

Do not use file as template parameter

6 years agoMerge pull request #10626 from nextcloud/bugfix/noid/quickaccess-spaces
Roeland Jago Douma [Thu, 9 Aug 2018 17:44:17 +0000 (19:44 +0200)]
Merge pull request #10626 from nextcloud/bugfix/noid/quickaccess-spaces

Fix quickaccess active indicator for folders with spaces

6 years agoFix quickaccess active indicator for folders with spaces 10626/head
Julius Härtl [Thu, 9 Aug 2018 16:31:02 +0000 (18:31 +0200)]
Fix quickaccess active indicator for folders with spaces

Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years agoMerge pull request #10598 from schoonc/patch-1
Roeland Jago Douma [Thu, 9 Aug 2018 15:00:03 +0000 (17:00 +0200)]
Merge pull request #10598 from schoonc/patch-1

Removed unused variable isFile

6 years agoApply flex-basis to right header 10623/head
Julius Härtl [Thu, 9 Aug 2018 14:46:43 +0000 (16:46 +0200)]
Apply flex-basis to right header

Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years agoDo not use file as template parameter 10614/head
Roeland Jago Douma [Thu, 9 Aug 2018 12:27:20 +0000 (14:27 +0200)]
Do not use file as template parameter

Using file will overwrite the $file parameter in the template base.
Leading to trying to include a file that is the exception message. Which
will of course fail.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoAdd the ToS app to the enterprise bundle 10621/head
Joas Schilling [Thu, 9 Aug 2018 14:12:48 +0000 (16:12 +0200)]
Add the ToS app to the enterprise bundle

Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years agoMerge pull request #10611 from nextcloud/fix/2fa-provider-user-dao-duplicate-key
Roeland Jago Douma [Thu, 9 Aug 2018 13:52:51 +0000 (15:52 +0200)]
Merge pull request #10611 from nextcloud/fix/2fa-provider-user-dao-duplicate-key

Fix duplicate key violation in 2FA provider registry DAO

6 years agouse insertIfNotExists to store new mimetypes. 10618/head
Robin Appelman [Thu, 9 Aug 2018 13:19:23 +0000 (15:19 +0200)]
use insertIfNotExists to store new mimetypes.

Also throw an error if we can't find the mimetype after insert

Signed-off-by: Robin Appelman <robin@icewind.nl>
6 years agoRedirect to the same page after an update 10619/head
Julius Härtl [Thu, 9 Aug 2018 13:19:58 +0000 (15:19 +0200)]
Redirect to the same page after an update

Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years agoFix trashbin file actions 10615/head
Robin Appelman [Thu, 9 Aug 2018 12:31:02 +0000 (14:31 +0200)]
Fix trashbin file actions

Fixes #10491

Signed-off-by: Robin Appelman <robin@icewind.nl>
6 years agoFix double-inserts of the same provider state 10611/head
Christoph Wurst [Thu, 9 Aug 2018 11:56:04 +0000 (13:56 +0200)]
Fix double-inserts of the same provider state

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years agoAdd integration/unit test for the double-insert of same values
Christoph Wurst [Thu, 9 Aug 2018 11:43:00 +0000 (13:43 +0200)]
Add integration/unit test for the double-insert of same values

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years agoMerge pull request #10588 from nextcloud/fix/single-2fa-provider-login-redirect
Roeland Jago Douma [Thu, 9 Aug 2018 10:27:29 +0000 (12:27 +0200)]
Merge pull request #10588 from nextcloud/fix/single-2fa-provider-login-redirect

Fix login redirection if only one 2FA provider is active

6 years agoMerge pull request #10604 from nextcloud/release/14/beta3 v14.0.0beta3
Roeland Jago Douma [Thu, 9 Aug 2018 09:29:01 +0000 (11:29 +0200)]
Merge pull request #10604 from nextcloud/release/14/beta3

Nextcloud 14.0.0 beta3

6 years agoNextcloud 14.0.0 beta3 10604/head
Roeland Jago Douma [Thu, 9 Aug 2018 09:18:21 +0000 (11:18 +0200)]
Nextcloud 14.0.0 beta3

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMerge pull request #10255 from nextcloud/add-support-for-room-shares
Björn Schießle [Thu, 9 Aug 2018 08:44:11 +0000 (10:44 +0200)]
Merge pull request #10255 from nextcloud/add-support-for-room-shares

Add support for room shares

6 years agoMerge pull request #10537 from MartB/mselect_fix
Roeland Jago Douma [Thu, 9 Aug 2018 08:41:38 +0000 (10:41 +0200)]
Merge pull request #10537 from MartB/mselect_fix

Fix multiSelectMenu for public shares #10536

6 years agoMerge pull request #8690 from nextcloud/feature/8565/make-thunderbird-and-outlook...
Roeland Jago Douma [Thu, 9 Aug 2018 07:55:26 +0000 (09:55 +0200)]
Merge pull request #8690 from nextcloud/feature/8565/make-thunderbird-and-outlook-addons-identifyable

[Part2] Make thunderbird and outlook addons identifyable

6 years agoMerge pull request #10597 from nextcloud/fix/10583/guest-icon-paths
Roeland Jago Douma [Thu, 9 Aug 2018 07:45:45 +0000 (09:45 +0200)]
Merge pull request #10597 from nextcloud/fix/10583/guest-icon-paths

Restores the guest icons

6 years agoMerge pull request #10599 from nextcloud/fix/app-code-checker-ignore-build-dir
Roeland Jago Douma [Thu, 9 Aug 2018 06:50:31 +0000 (08:50 +0200)]
Merge pull request #10599 from nextcloud/fix/app-code-checker-ignore-build-dir

Fix app code checker to ignore `build` directory

6 years agoMerge pull request #10600 from nextcloud/fix/info-xsd-out-of-sync
Julius Härtl [Thu, 9 Aug 2018 06:20:03 +0000 (08:20 +0200)]
Merge pull request #10600 from nextcloud/fix/info-xsd-out-of-sync

Fix info.xsd to sync with the appstore one

6 years agoFix info.xsd to sync with the appstore one 10600/head
Christoph Wurst [Thu, 9 Aug 2018 04:58:18 +0000 (06:58 +0200)]
Fix info.xsd to sync with the appstore one

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years agoFix app code checker to ignore `build` directory 10599/head
Christoph Wurst [Thu, 9 Aug 2018 04:44:52 +0000 (06:44 +0200)]
Fix app code checker to ignore `build` directory

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years agoRemoved unused variable isFile 10598/head
schoonc [Wed, 8 Aug 2018 21:30:42 +0000 (00:30 +0300)]
Removed unused variable isFile

6 years agoRestores the guest icons 10597/head
Michael Weimann [Wed, 8 Aug 2018 21:19:37 +0000 (23:19 +0200)]
Restores the guest icons

6 years agoRename providerset method to get primary providers 10588/head
Christoph Wurst [Wed, 8 Aug 2018 18:28:21 +0000 (20:28 +0200)]
Rename providerset method to get primary providers

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years agoMerge pull request #10548 from nextcloud/fix/10430/update_icewind_streams
Roeland Jago Douma [Wed, 8 Aug 2018 18:18:59 +0000 (20:18 +0200)]
Merge pull request #10548 from nextcloud/fix/10430/update_icewind_streams

Update icewind/streams

6 years agoMerge pull request #10397 from nextcloud/encryption-s3-fix
Björn Schießle [Wed, 8 Aug 2018 16:27:18 +0000 (18:27 +0200)]
Merge pull request #10397 from nextcloud/encryption-s3-fix

make file cache updates more robust

6 years agoFix login redirection if only one 2FA provider is active
Christoph Wurst [Wed, 8 Aug 2018 13:25:59 +0000 (15:25 +0200)]
Fix login redirection if only one 2FA provider is active

Fixes https://github.com/nextcloud/server/issues/10500.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years agoAdd support for tokens in room shares 10255/head
Daniel Calviño Sánchez [Wed, 1 Aug 2018 17:04:32 +0000 (19:04 +0200)]
Add support for tokens in room shares

Tokens will be used to give access to a share to guests in public rooms.
Although the token itself is created in the provider of room shares and
no changes are needed for that, due to the code structure it is
necessary to explicitly call the provider from the manager when getting
a room share by token.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoSuppress Phan warnings about calling undeclared class methods
Daniel Calviño Sánchez [Tue, 24 Jul 2018 09:57:52 +0000 (11:57 +0200)]
Suppress Phan warnings about calling undeclared class methods

The DeletedShareAPIController and ShareAPIController helpers for room
shares are defined in Talk, so the classes do not exist when Talk is not
installed. Due to this when the object returned by "getRoomShareHelper"
is used Phan complains that the class is not declared.

This is not a problem, though, because when the class is not available
"getRoomShareHelper" throws an exception, which is then caught where
that method was called. Therefore now those warnings from Phan are
suppressed (it would be better to use "@phan-suppress-next-line"
instead, but it is not yet available in our Phan version).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoAdd custom handling for room shares to the resharer information
Daniel Calviño Sánchez [Sun, 1 Jul 2018 15:50:57 +0000 (17:50 +0200)]
Add custom handling for room shares to the resharer information

Like done with group shares, received room shares are described as such
in the UI.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoAdd custom handling for room shares to the list of sharees
Daniel Calviño Sánchez [Sun, 1 Jul 2018 15:50:18 +0000 (17:50 +0200)]
Add custom handling for room shares to the list of sharees

Like done for other types of shares, room shares are now explicitly
described as such in the UI.

The avatar used is the image provided in the "shareWithAvatar" property
of the share. If none is given then the avatar is the first letter of
the display name of the room share with a coloured background seeded
from the room token. If the display name of the room is empty then no
letter is shown in the avatar; no special handling is done in that case.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoLog sharing and unsharing with a room in the auditing app
Daniel Calviño Sánchez [Sat, 30 Jun 2018 12:00:24 +0000 (14:00 +0200)]
Log sharing and unsharing with a room in the auditing app

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoTransfer room shares too with the "files:transfer-ownership" command
Daniel Calviño Sánchez [Sat, 30 Jun 2018 11:56:23 +0000 (13:56 +0200)]
Transfer room shares too with the "files:transfer-ownership" command

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoAdd room shares to DAV and recent files "share-types" property
Daniel Calviño Sánchez [Sat, 30 Jun 2018 11:45:23 +0000 (13:45 +0200)]
Add room shares to DAV and recent files "share-types" property

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoAdd support for room shares to the share owner updater
Daniel Calviño Sánchez [Fri, 29 Jun 2018 18:54:05 +0000 (20:54 +0200)]
Add support for room shares to the share owner updater

A user can move her own shares into a received share. When that happens
she is effectively handing over the ownership of the file, so the share
needs to be updated to reflect the new owner.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoAdd room shares to the MountProvider for shares
Daniel Calviño Sánchez [Fri, 29 Jun 2018 11:50:25 +0000 (13:50 +0200)]
Add room shares to the MountProvider for shares

The MountProvider for shares creates mount points for the files shared
with the user, which makes possible to use the received shared files and
folders as regular files and folders.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoAdd integration test for creating room shares when Talk is not enabled
Daniel Calviño Sánchez [Fri, 29 Jun 2018 11:35:17 +0000 (13:35 +0200)]
Add integration test for creating room shares when Talk is not enabled

The test just ensures that the controller will gracefully reject the
creation instead of failing miserably; the integration tests when Talk
is enabled are in the Talk repository.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoAdd support for room shares to DeletedShareAPIController
Daniel Calviño Sánchez [Sun, 15 Jul 2018 19:51:14 +0000 (21:51 +0200)]
Add support for room shares to DeletedShareAPIController

In some cases, the DeletedShareAPIController requires explicit handling
of each type of share (for example, to format a share for a
DataResponse). Room shares are implemented in an external app (Nextcloud
Talk), so in order to keep the controller as isolated as possible from
room share specifics all that explicit handling is done in a helper
class provided by the Talk app.

In other cases it is just enough to call the share manager specifying a
room share type; note that the share manager is guarded against share
types for which there is no provider, so it is not necessary to
explicitly check that before passing room shares to the share manager.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoAdd support for room shares to ShareAPIController
Daniel Calviño Sánchez [Fri, 29 Jun 2018 11:22:26 +0000 (13:22 +0200)]
Add support for room shares to ShareAPIController

In some cases, the ShareAPIController requires explicit handling of each
type of share (for example, to format a share for a DataResponse). Room
shares are implemented in an external app (Nextcloud Talk), so in order
to keep the controller as isolated as possible from room share specifics
all that explicit handling is done in a helper class provided by the
Talk app.

In other cases it is just enough to call the share manager specifying a
room share type; note that the share manager is guarded against share
types for which there is no provider, so it is not necessary to
explicitly check that before passing room shares to the share manager.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoAdd support for room shares to the share manager
Daniel Calviño Sánchez [Fri, 29 Jun 2018 08:40:02 +0000 (10:40 +0200)]
Add support for room shares to the share manager

Room shares are implemented in an external app (Nextcloud Talk), so in
order to keep the share manager as isolated as possible from room share
specifics all the validity checks are done in the provider of room
shares. However, due to the code structure it is necessary to explicitly
check for room shares in "generalCreateChecks" to prevent an exception
from being thrown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoAdd provider for room shares
Daniel Calviño Sánchez [Fri, 29 Jun 2018 08:10:58 +0000 (10:10 +0200)]
Add provider for room shares

The RoomShareProvider is provided by the Talk app, so it is necessary to
check whether the app is available or not, and also whether the class
itself exists or not (just in case an older version of the app that did
not have support yet for room shares is being used).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>