Commit Graph

4138 Commits

Author SHA1 Message Date
Nextcloud bot 469da4ff0a
[tx-robot] updated from transifex 2019-07-25 02:14:55 +00:00
Nextcloud bot ba8804dba9
[tx-robot] updated from transifex 2019-07-21 02:15:24 +00:00
Nextcloud bot 654feeee6c
[tx-robot] updated from transifex 2019-07-15 02:14:44 +00:00
Nextcloud bot 2df9cf83d4
[tx-robot] updated from transifex 2019-07-14 02:15:20 +00:00
Nextcloud bot 5b1e5f26d5
[tx-robot] updated from transifex 2019-07-04 02:14:02 +00:00
Joas Schilling f3ad4636fc
Remove duplicate tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-03 21:31:47 +02:00
Joas Schilling 132902337e
Unify the permission checking in one place only
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-03 21:31:40 +02:00
Roeland Jago Douma 7dcd2a808c
Fix sharing tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-06-28 10:00:10 +02:00
Joas Schilling 38fe009444
Correctly check share permissions when updating a re-sub-share
Before this change the node you shared was checked for permissions.
This works when you reshare the folder that was shared with you.
However when you reshared a subfolder (e.g. as public link),
you could afterwards update the permissions and grant
create+update permissions although the share you receive was read-only.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-06-28 09:48:59 +02:00
Daniel Calviño Sánchez 8133ca056c Fix download link included in public share page with hidden download
The preview element in the public share page was always wrapped with a
link to download the file; now that link is included only if the "Hide
download" option of the share is not enabled.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-06-27 14:30:28 +00:00
Nextcloud bot 823206dd06
[tx-robot] updated from transifex 2019-06-14 02:14:42 +00:00
Nextcloud bot 70d87f6438
[tx-robot] updated from transifex 2019-05-29 02:13:58 +00:00
Nextcloud bot d527f75ddb
[tx-robot] updated from transifex 2019-05-28 02:13:55 +00:00
Nextcloud bot d6b2aa6847
[tx-robot] updated from transifex 2019-05-24 02:13:53 +00:00
Nextcloud bot 43ce838a08
[tx-robot] updated from transifex 2019-05-22 02:14:06 +00:00
Nextcloud bot 914c5edad0
[tx-robot] updated from transifex 2019-05-18 02:13:19 +00:00
Nextcloud bot 331261bf23
[tx-robot] updated from transifex 2019-05-07 00:13:08 +00:00
Nextcloud bot a11d6875fd
[tx-robot] updated from transifex 2019-05-01 00:12:53 +00:00
Nextcloud bot 61a0e4ed26
[tx-robot] updated from transifex 2019-04-26 00:12:43 +00:00
Nextcloud bot 2f7e305077
[tx-robot] updated from transifex 2019-04-25 00:12:51 +00:00
Nextcloud bot 8a6380ea30
[tx-robot] updated from transifex 2019-04-22 00:12:59 +00:00
Nextcloud bot 85004970c6
[tx-robot] updated from transifex 2019-04-19 00:12:57 +00:00
Nextcloud bot dbabcc5df7
[tx-robot] updated from transifex 2019-04-18 00:12:58 +00:00
Roeland Jago Douma 22d54078fc
Merge pull request #15128 from nextcloud/backport/15123/stable15
[stable15] Improve the share link password error feedback with a red border
2019-04-17 08:44:39 +02:00
Nextcloud bot 04d1177904
[tx-robot] updated from transifex 2019-04-17 00:13:00 +00:00
Christoph Wurst 3ba9f6bd6d
Improve the share link password error feedback with a red border
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-04-16 14:13:51 +02:00
Nextcloud bot 7398e6b018
[tx-robot] updated from transifex 2019-04-13 00:15:44 +00:00
Nextcloud bot 514d92b7a8
[tx-robot] updated from transifex 2019-04-11 00:13:13 +00:00
Nextcloud bot 2531679ebb
[tx-robot] updated from transifex 2019-04-10 00:13:03 +00:00
Nextcloud bot 24bc923323
[tx-robot] updated from transifex 2019-04-09 00:13:09 +00:00
Morris Jobke 4021e76368
Fix unnecessary boolean cast
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-04-08 15:55:03 +02:00
fretn 2e2e50ca4e
Fix for crashing occ files:scan
when $share === false then (int)$share['share_type'] will always be equal to (int)0

which results in following crash:

[root@server nextcloud] sudo -u apache php occ files:scan someuser
The current PHP memory limit is below the recommended value of 512MB.
Starting scan for user 1 out of 1 (someuser)
An unhandled exception has been thrown:
TypeError: Argument 1 passed to OC\OCS\DiscoveryService::discover() must be of the type string, null given, called in /var/www/html/nextcloud/apps/files_sharing/lib/External/Manager.php on line 382 and defined in /var/www/html/nextcloud/lib/private/OCS/DiscoveryService.php:65
Stack trace:
0 /var/www/html/nextcloud/apps/files_sharing/lib/External/Manager.php(382): OC\OCS\DiscoveryService->discover(NULL, 'FEDERATED_SHARI...')
1 /var/www/html/nextcloud/apps/files_sharing/lib/External/Manager.php(527): OCA\Files_Sharing\External\Manager->sendFeedbackToRemote(NULL, NULL, NULL, 'decline')
2 /var/www/html/nextcloud/apps/files_sharing/lib/External/Storage.php(216): OCA\Files_Sharing\External\Manager->removeShare('files/Someth...')
3 [internal function]: OCA\Files_Sharing\External\Storage->checkStorageAvailability()
4 /var/www/html/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(505): call_user_func_array(Array, Array)
5 [internal function]: OC\Files\Storage\Wrapper\Wrapper->__call('checkStorageAva...', Array)
6 /var/www/html/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(505): call_user_func_array(Array, Array)
7 /var/www/html/nextcloud/apps/files_sharing/lib/External/Scanner.php(89): OC\Files\Storage\Wrapper\Wrapper->__call('checkStorageAva...', Array)
8 /var/www/html/nextcloud/apps/files_sharing/lib/External/Scanner.php(44): OCA\Files_Sharing\External\Scanner->scanAll()
9 /var/www/html/nextcloud/lib/private/Files/Utils/Scanner.php(245): OCA\Files_Sharing\External\Scanner->scan('', true, 3)
10 /var/www/html/nextcloud/apps/files/lib/Command/Scan.php(172): OC\Files\Utils\Scanner->scan('/someuser', true, NULL)
11 /var/www/html/nextcloud/apps/files/lib/Command/Scan.php(249): OCA\Files\Command\Scan->scanFiles('someuser', '/someuser', false, Object(Symfony\Component\Console\Output\ConsoleOutput), false, true, false)
12 /var/www/html/nextcloud/3rdparty/symfony/console/Command/Command.php(251): OCA\Files\Command\Scan->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
13 /var/www/html/nextcloud/core/Command/Base.php(162): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
14 /var/www/html/nextcloud/3rdparty/symfony/console/Application.php(946): OC\Core\Command\Base->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
15 /var/www/html/nextcloud/3rdparty/symfony/console/Application.php(248): Symfony\Component\Console\Application->doRunCommand(Object(OCA\Files\Command\Scan), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
16 /var/www/html/nextcloud/3rdparty/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
17 /var/www/html/nextcloud/lib/private/Console/Application.php(213): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
18 /var/www/html/nextcloud/console.php(96): OC\Console\Application->run()
19 /var/www/html/nextcloud/occ(11): require_once('/var/www/html/n...')
20 {main}[root@server nextcloud]

Signed-off-by: fretn <frederikdelaere+github@gmail.com>
2019-04-08 15:55:03 +02:00
Nextcloud bot 0ef37a11c6
[tx-robot] updated from transifex 2019-04-08 00:14:29 +00:00
Nextcloud bot b1ed447dd7
[tx-robot] updated from transifex 2019-04-03 00:13:45 +00:00
Nextcloud bot 1410f39efc
[tx-robot] updated from transifex 2019-04-02 00:13:48 +00:00
Nextcloud bot 9f3158a098
[tx-robot] updated from transifex 2019-04-01 00:14:07 +00:00
Nextcloud bot 5acb5ccad8
[tx-robot] updated from transifex 2019-03-30 01:13:44 +00:00
Nextcloud bot aafedb9728
[tx-robot] updated from transifex 2019-03-29 01:12:59 +00:00
Nextcloud bot 528d5299c7
[tx-robot] updated from transifex 2019-03-28 01:13:33 +00:00
Nextcloud bot c1fa96596a
[tx-robot] updated from transifex 2019-03-27 12:06:38 +00:00
Nextcloud bot bca4a9ecbb
[tx-robot] updated from transifex 2019-03-26 10:41:42 +00:00
Nextcloud bot 2c7f1fd001
[tx-robot] updated from transifex 2019-03-21 01:14:06 +00:00
Nextcloud bot ce619b07ae
[tx-robot] updated from transifex 2019-03-20 01:12:57 +00:00
Nextcloud bot 3c76c0ce11
[tx-robot] updated from transifex 2019-03-19 01:12:52 +00:00
Nextcloud bot 590ea7c5fb
[tx-robot] updated from transifex 2019-03-18 01:12:37 +00:00
Nextcloud bot d33cec3d7d
[tx-robot] updated from transifex 2019-03-16 01:12:43 +00:00
Nextcloud bot 92634ec842
[tx-robot] updated from transifex 2019-03-14 16:08:44 +00:00
Nextcloud bot 068b754d31
[tx-robot] updated from transifex 2019-03-01 01:12:48 +00:00
John Molakvoæ (skjnldsv) 6d744ef4ee Fix grid toggle button on public page
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-02-25 20:20:12 +00:00
Nextcloud bot a7b322bd65
[tx-robot] updated from transifex 2019-02-25 01:12:29 +00:00