]>
source.dussan.org Git - nextcloud-server.git/log
Roeland Jago Douma [Tue, 16 Jul 2019 17:10:09 +0000 (19:10 +0200)]
Do not keep searching for recent
If userA has a lot of recent files. But only shares 1 file with userB
(that has no files at all). We could keep searching until we run out of
recent files for userA.
Now assume the inactive userB has 20 incomming shares like that from
different users. getRecent then basically keeps consuming huge amounts
of resources and with each iteration the load on the DB increases
(because of the offset).
This makes sure we do not get more than 3 times the limit we search for
or more than 5 queries.
This means we might miss some recent entries but we should fix that
separatly. This is just to make sure the load on the DB stays sane.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Nextcloud bot [Wed, 17 Jul 2019 02:15:40 +0000 (02:15 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Tue, 16 Jul 2019 19:09:34 +0000 (21:09 +0200)]
Merge pull request #16425 from nextcloud/backport/16423/stable16
[stable16] Only prevent disabling encrytion via the API
Joas Schilling [Tue, 16 Jul 2019 12:24:47 +0000 (14:24 +0200)]
Only prevent disabling encrytion via the API
Signed-off-by: Joas Schilling <coding@schilljs.com>
Morris Jobke [Tue, 16 Jul 2019 11:34:08 +0000 (13:34 +0200)]
Merge pull request #16414 from nextcloud/backport/15606/stable16
[stable16] Add catch for RuntimeException
Morris Jobke [Mon, 15 Jul 2019 20:26:08 +0000 (22:26 +0200)]
Log RuntimeException in CleanupCardDAVPhotoCache
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Daniel Kesselberg [Fri, 17 May 2019 19:04:01 +0000 (21:04 +0200)]
Add catch for RuntimeException
getDirectoryListing can throw a NotFoundException or a RuntimeException.
The repair step should be skipped if the cache directory is missing so
a catch for both exceptions is required.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Nextcloud bot [Tue, 16 Jul 2019 02:14:56 +0000 (02:14 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Mon, 15 Jul 2019 08:19:17 +0000 (10:19 +0200)]
Merge pull request #16405 from nextcloud/backport/16400/stable16
[stable16] addsubtag should push to array
Maxence Lange [Sun, 14 Jul 2019 20:17:55 +0000 (19:17 -0100)]
addsubtag should push to array
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Nextcloud bot [Mon, 15 Jul 2019 02:14:38 +0000 (02:14 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 14 Jul 2019 02:15:14 +0000 (02:15 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 13 Jul 2019 02:14:26 +0000 (02:14 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Fri, 12 Jul 2019 02:15:09 +0000 (02:15 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Thu, 11 Jul 2019 10:53:14 +0000 (12:53 +0200)]
Merge pull request #16352 from nextcloud/dependabot/npm_and_yarn/stable16/lodash-4.17.13
[Security] Bump lodash from 4.17.11 to 4.17.13
dependabot-preview[bot] [Thu, 11 Jul 2019 09:21:02 +0000 (09:21 +0000)]
Merge pull request #16341 from nextcloud/dependabot/npm_and_yarn/stable16/lodash.merge-4.6.2
dependabot-preview[bot] [Thu, 11 Jul 2019 02:45:11 +0000 (02:45 +0000)]
[Security] Bump lodash from 4.17.11 to 4.17.13
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.13. **This update includes security fixes.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.13)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
dependabot-preview[bot] [Thu, 11 Jul 2019 06:48:46 +0000 (06:48 +0000)]
[Security] Bump lodash.merge from 4.6.1 to 4.6.2
Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2. **This update includes security fixes.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Roeland Jago Douma [Thu, 11 Jul 2019 06:47:21 +0000 (08:47 +0200)]
Merge pull request #16338 from nextcloud/dependabot/npm_and_yarn/stable16/lodash.mergewith-4.6.2
[Security] Bump lodash.mergewith from 4.6.1 to 4.6.2
Nextcloud bot [Thu, 11 Jul 2019 02:14:38 +0000 (02:14 +0000)]
[tx-robot] updated from transifex
dependabot-preview[bot] [Wed, 10 Jul 2019 22:24:46 +0000 (22:24 +0000)]
[Security] Bump lodash.mergewith from 4.6.1 to 4.6.2
Bumps [lodash.mergewith](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2. **This update includes security fixes.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Roeland Jago Douma [Wed, 10 Jul 2019 19:09:15 +0000 (21:09 +0200)]
Merge pull request #16330 from nextcloud/backport/16323/stable16
[stable16] Use HTTP1.1 to read S3 objects
Roeland Jago Douma [Wed, 10 Jul 2019 13:27:12 +0000 (15:27 +0200)]
Merge pull request #16325 from nextcloud/backport/16308/stable16
[stable16] Prevent undefined offset 0 in findByUserIdOrMail
Roeland Jago Douma [Wed, 10 Jul 2019 09:42:22 +0000 (11:42 +0200)]
Use HTTP1.1 to read S3 objects
Some of the READs otherwise use HTTP/1.0 which is not always supported
by all backends. HTTP/1.1 is there since 1999 way longer than S3 so safe
to assume it is always there IMO.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Daniel Kesselberg [Tue, 9 Jul 2019 09:58:14 +0000 (11:58 +0200)]
Return first value from $users
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Nextcloud bot [Wed, 10 Jul 2019 02:14:09 +0000 (02:14 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Tue, 9 Jul 2019 12:44:01 +0000 (14:44 +0200)]
Merge pull request #16254 from nextcloud/backport/16208/stable16
[stable16] Always set the display name for user shares
Morris Jobke [Tue, 9 Jul 2019 11:50:40 +0000 (13:50 +0200)]
Merge pull request #16303 from nextcloud/version/noid/16.0.3
16.0.3
Morris Jobke [Tue, 9 Jul 2019 07:53:08 +0000 (09:53 +0200)]
16.0.3
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Roeland Jago Douma [Tue, 9 Jul 2019 06:52:06 +0000 (08:52 +0200)]
Merge pull request #16297 from nextcloud/backport/16288/stable16
[stable16] Try to delete the cypress folder of the viewer app
Nextcloud bot [Tue, 9 Jul 2019 02:13:56 +0000 (02:13 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Mon, 8 Jul 2019 18:44:23 +0000 (20:44 +0200)]
Merge pull request #16249 from nextcloud/backport/16170/stable16
[stable16] fix permissions for drag-n-drop uploads
Morris Jobke [Mon, 8 Jul 2019 09:54:31 +0000 (11:54 +0200)]
Try to delete the cypress folder of the viewer app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
John Molakvoæ [Mon, 8 Jul 2019 07:38:45 +0000 (09:38 +0200)]
[stable16] Properly load permissions in showActions (#16282)
[stable16] Properly load permissions in showActions
Nextcloud bot [Mon, 8 Jul 2019 02:13:53 +0000 (02:13 +0000)]
[tx-robot] updated from transifex
Julius Härtl [Tue, 18 Jun 2019 10:34:04 +0000 (12:34 +0200)]
Properly load permissions in showActions
When setViewerMode(false) is called, the permissions should be fetched from the available dirInfo
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Nextcloud bot [Sun, 7 Jul 2019 02:14:21 +0000 (02:14 +0000)]
[tx-robot] updated from transifex
John Molakvoæ [Sat, 6 Jul 2019 06:48:58 +0000 (08:48 +0200)]
[stable16] dont use part files for dav writes when the target… (#16223)
[stable16] dont use part files for dav writes when the target folder doesn't have create permissions
Nextcloud bot [Sat, 6 Jul 2019 02:13:51 +0000 (02:13 +0000)]
[tx-robot] updated from transifex
Julius Härtl [Wed, 3 Jul 2019 09:31:25 +0000 (11:31 +0200)]
Always set the display name for user shares
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Roeland Jago Douma [Fri, 5 Jul 2019 12:42:55 +0000 (14:42 +0200)]
Merge pull request #16244 from nextcloud/backport/16241/stable16
[stable16] Fix redirect after rescanFailedIntegrityCheck to "Overview" page
Robin Appelman [Mon, 1 Jul 2019 09:58:13 +0000 (11:58 +0200)]
fix permissions for drag-n-drop uploads
Signed-off-by: Robin Appelman <robin@icewind.nl>
Sven Strickroth [Fri, 5 Jul 2019 06:56:17 +0000 (08:56 +0200)]
Fix redirect after rescanFailedIntegrityCheck to "Overview" page
The link of the rescanFailedIntegrityCheck link is on the sub page "Overview". After clicking the link, the user is, however, redirected to the "Basic settings" page.
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Nextcloud bot [Fri, 5 Jul 2019 02:14:17 +0000 (02:14 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Thu, 4 Jul 2019 10:23:02 +0000 (12:23 +0200)]
Merge pull request #16189 from nextcloud/backport/16183/stable16
[stable16] Do not fail hard on new user mail error
Roeland Jago Douma [Thu, 4 Jul 2019 06:47:21 +0000 (08:47 +0200)]
Merge pull request #16218 from nextcloud/version/noid/16.0.2
16.0.2
Nextcloud bot [Thu, 4 Jul 2019 02:13:56 +0000 (02:13 +0000)]
[tx-robot] updated from transifex
Robin Appelman [Thu, 13 Jun 2019 15:04:35 +0000 (17:04 +0200)]
add test for overwriting in non creatable directory
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Tue, 28 May 2019 11:52:32 +0000 (13:52 +0200)]
dont use part files for dav writes when the target folder doesn't have create permissions
Signed-off-by: Robin Appelman <robin@icewind.nl>
Morris Jobke [Wed, 3 Jul 2019 20:12:16 +0000 (22:12 +0200)]
16.0.2
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Morris Jobke [Wed, 3 Jul 2019 19:28:04 +0000 (21:28 +0200)]
Merge pull request #16211 from nextcloud/backport/16186/stable16
[stable16] Better check reshare permissions part2
Joas Schilling [Wed, 3 Jul 2019 14:34:14 +0000 (16:34 +0200)]
Remove duplicate tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Wed, 3 Jul 2019 14:32:45 +0000 (16:32 +0200)]
Unify the permission checking in one place only
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Tue, 2 Jul 2019 08:22:30 +0000 (10:22 +0200)]
Better check reshare permissions when creating a share
Signed-off-by: Joas Schilling <coding@schilljs.com>
Morris Jobke [Wed, 3 Jul 2019 07:59:26 +0000 (09:59 +0200)]
Merge pull request #16201 from nextcloud/backport/16199/stable16
[stable16] RefreshWebcalJob: replace ugly Regex with standard php utils
Nextcloud bot [Wed, 3 Jul 2019 02:13:51 +0000 (02:13 +0000)]
[tx-robot] updated from transifex
Georg Ehrke [Tue, 2 Jul 2019 16:11:05 +0000 (18:11 +0200)]
RefreshWebcalJob: replace ugly Regex with standard php utils
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
John Molakvoæ [Tue, 2 Jul 2019 13:54:21 +0000 (15:54 +0200)]
[stable16] Forward OCSException to initiator (#16191)
[stable16] Forward OCSException to initiator
Daniel Kesselberg [Thu, 20 Jun 2019 16:04:52 +0000 (18:04 +0200)]
Forward OCSException to initiator
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
John Molakvoæ (skjnldsv) [Tue, 2 Jul 2019 06:04:56 +0000 (08:04 +0200)]
Do not fail hard on new user mail error
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Nextcloud bot [Tue, 2 Jul 2019 02:13:49 +0000 (02:13 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Mon, 1 Jul 2019 18:00:35 +0000 (20:00 +0200)]
Merge pull request #16157 from richardhj/patch-1
Update Nextcloud version in docs link
Joas Schilling [Mon, 1 Jul 2019 15:33:21 +0000 (17:33 +0200)]
Merge pull request #16177 from nextcloud/backport/16175/stable16
[stable16] Allow apps to overwrite the maximum length when reading from database
Joas Schilling [Mon, 1 Jul 2019 13:48:26 +0000 (15:48 +0200)]
Allow apps to overwrite the maximum length when reading from database
Signed-off-by: Joas Schilling <coding@schilljs.com>
Nextcloud bot [Mon, 1 Jul 2019 02:13:42 +0000 (02:13 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 30 Jun 2019 02:14:15 +0000 (02:14 +0000)]
[tx-robot] updated from transifex
Richard Henkenjohann [Sat, 29 Jun 2019 17:07:01 +0000 (19:07 +0200)]
Update Nextcloud version in docs link
Signed-off-by: Richard Henkenjohann <richardhenkenjohann@googlemail.com>
Roeland Jago Douma [Sat, 29 Jun 2019 05:19:38 +0000 (07:19 +0200)]
Merge pull request #16064 from nextcloud/version/16.0.2/RC1
16.0.2 RC1
Nextcloud bot [Sat, 29 Jun 2019 02:13:39 +0000 (02:13 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Mon, 24 Jun 2019 19:39:19 +0000 (21:39 +0200)]
16.0.2 RC1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Roeland Jago Douma [Fri, 28 Jun 2019 13:19:24 +0000 (15:19 +0200)]
Merge pull request #16146 from nextcloud/backport/16070/stable16
[stable16] Do not show a internet connectivity warning if internet access is dis…
Christoph Wurst [Tue, 25 Jun 2019 11:37:31 +0000 (13:37 +0200)]
Do not show a internet connectivity warning if internet access is disabled
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Roeland Jago Douma [Fri, 28 Jun 2019 07:45:22 +0000 (09:45 +0200)]
Merge pull request #16133 from nextcloud/backport/16121/stable16
[stable16] Don't allow to disable encryption via the API
Nextcloud bot [Fri, 28 Jun 2019 02:13:54 +0000 (02:13 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Thu, 27 Jun 2019 20:19:45 +0000 (22:19 +0200)]
Merge pull request #16010 from nextcloud/backport/design/share-remove-autofocus
Remove auto focus of share input field on dialog open, fix #15261
Joas Schilling [Thu, 27 Jun 2019 12:54:28 +0000 (14:54 +0200)]
Don't allow to disable encryption via the API
Signed-off-by: Joas Schilling <coding@schilljs.com>
Roeland Jago Douma [Thu, 27 Jun 2019 20:14:11 +0000 (22:14 +0200)]
Merge pull request #16125 from nextcloud/backport/16114/stable16
[stable16] Fix download link included in public share page with hidden download
Roeland Jago Douma [Thu, 27 Jun 2019 20:12:10 +0000 (22:12 +0200)]
Merge pull request #16128 from nextcloud/backport/16107/stable16
[stable16] verify that paths are valid for recursive local move
Roeland Jago Douma [Thu, 27 Jun 2019 20:10:16 +0000 (22:10 +0200)]
Merge pull request #16127 from nextcloud/backport/16097/stable16
[stable16] Better check reshare permissions
Robin Appelman [Thu, 27 Jun 2019 09:10:08 +0000 (11:10 +0200)]
verify that paths are valid for recursive local move
Signed-off-by: Robin Appelman <robin@icewind.nl>
Roeland Jago Douma [Thu, 27 Jun 2019 13:27:21 +0000 (15:27 +0200)]
Fix sharing tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Daniel Calviño Sánchez [Fri, 21 Jun 2019 10:22:21 +0000 (12:22 +0200)]
Add integration test for increasing sub reshare permissions
The tests check an user share and a link share; there is a slight
difference in style between them as each one is based on the test above
it, which tests increasing reshare permissions.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Fri, 21 Jun 2019 10:16:27 +0000 (12:16 +0200)]
Do not create folders with admin user
The admin user is not deleted after each integration test is run, so
folders created by the admin user in one test are still there when the
next tests run; tests should be independent one from each other, so a
regular user that is created and deleted for each test should be used
instead.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Joas Schilling [Fri, 21 Jun 2019 07:22:06 +0000 (09:22 +0200)]
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>
Daniel Calviño Sánchez [Thu, 27 Jun 2019 10:14:27 +0000 (12:14 +0200)]
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>
Roeland Jago Douma [Thu, 27 Jun 2019 14:09:58 +0000 (16:09 +0200)]
Merge pull request #16112 from nextcloud/backport/16101/stable16
[stable16] invalidates user when plugin reported deletion success
Roeland Jago Douma [Thu, 27 Jun 2019 11:30:28 +0000 (13:30 +0200)]
Merge pull request #16105 from nextcloud/backport/16088/stable16
[stable16] Allow apps to store longer messages in the comments API
Arthur Schiwon [Thu, 27 Jun 2019 08:33:40 +0000 (10:33 +0200)]
Also invalidate groups after deletion
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Arthur Schiwon [Wed, 26 Jun 2019 12:18:28 +0000 (14:18 +0200)]
invalidates user when plugin reported deletion success
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Joas Schilling [Wed, 26 Jun 2019 08:11:46 +0000 (10:11 +0200)]
Allow apps to store longer messages in the comments API
Signed-off-by: Joas Schilling <coding@schilljs.com>
Nextcloud bot [Thu, 27 Jun 2019 02:14:17 +0000 (02:14 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Wed, 26 Jun 2019 16:38:25 +0000 (18:38 +0200)]
Merge pull request #16091 from nextcloud/backport/16027/stable16
[stable16] Check if uploading to lookup server is enabled before verifying
Roeland Jago Douma [Wed, 26 Jun 2019 13:49:12 +0000 (15:49 +0200)]
Merge pull request #16082 from nextcloud/backport/15832/stable16
[stable16] Fix full text search for groupfolders
Roeland Jago Douma [Wed, 26 Jun 2019 11:41:25 +0000 (13:41 +0200)]
Merge pull request #16089 from nextcloud/backport/16021/stable16
[stable16] Fall back to black for non-color values
Jan-Christoph Borchardt [Fri, 14 Jun 2019 12:07:57 +0000 (14:07 +0200)]
Remove auto focus of share input field on dialog open, fix #15261
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Joas Schilling [Fri, 21 Jun 2019 08:54:34 +0000 (10:54 +0200)]
Check if uploading to lookup server is enabled before verifying
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Thu, 20 Jun 2019 13:23:06 +0000 (15:23 +0200)]
Fall back to black for non-color values
Signed-off-by: Joas Schilling <coding@schilljs.com>
Nextcloud bot [Wed, 26 Jun 2019 02:14:06 +0000 (02:14 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Tue, 25 Jun 2019 21:38:52 +0000 (23:38 +0200)]
Merge pull request #16080 from nextcloud/backport/15956/stable16
[stable16] Fix appid argument for integrity:check-app
Roeland Jago Douma [Tue, 25 Jun 2019 19:48:34 +0000 (21:48 +0200)]
Merge pull request #16038 from nextcloud/backport/15889/stable16
[stable16] handle storage exceptions when trying to set mtime