]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
5 years agoDo not return shares with the current user
Daniel Calviño Sánchez [Fri, 25 Oct 2019 09:15:02 +0000 (11:15 +0200)]
Do not return shares with the current user

Getting the shares of a file no longer returns shares with the current
user for consistency with the results when getting the shares including
subfiles.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
5 years agoExtract method to get all shares
Daniel Calviño Sánchez [Fri, 25 Oct 2019 08:45:49 +0000 (10:45 +0200)]
Extract method to get all shares

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
5 years agoAdd missing share types when getting shares of a file
Daniel Calviño Sánchez [Fri, 25 Oct 2019 08:40:11 +0000 (10:40 +0200)]
Add missing share types when getting shares of a file

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
5 years agoUnify share type sorting when getting shares of a file or with subfiles
Daniel Calviño Sánchez [Fri, 25 Oct 2019 08:20:32 +0000 (10:20 +0200)]
Unify share type sorting when getting shares of a file or with subfiles

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
5 years agoRemove unneeded calls to "ShareManager::shareProviderExists()"
Daniel Calviño Sánchez [Fri, 25 Oct 2019 08:15:50 +0000 (10:15 +0200)]
Remove unneeded calls to "ShareManager::shareProviderExists()"

"ShareManager::getSharesBy()" already checks if the share provider
exists before returning the shares and, if the provider does not exist,
it returns an empty array. Therefore it is not needed to explicitly
check if the provider exists or not.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
5 years agoAdd unit tests for getting shares of a file
Daniel Calviño Sánchez [Fri, 25 Oct 2019 08:02:06 +0000 (10:02 +0200)]
Add unit tests for getting shares of a file

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
5 years agoAdd unit tests for getting shares including subfiles
Daniel Calviño Sánchez [Fri, 25 Oct 2019 04:31:40 +0000 (06:31 +0200)]
Add unit tests for getting shares including subfiles

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
5 years agoAdd integration tests for getting shares including subfiles
Daniel Calviño Sánchez [Thu, 24 Oct 2019 23:54:17 +0000 (01:54 +0200)]
Add integration tests for getting shares including subfiles

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
5 years agoReplace fully qualified name with alias
Daniel Calviño Sánchez [Thu, 24 Oct 2019 23:13:23 +0000 (01:13 +0200)]
Replace fully qualified name with alias

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 24 Oct 2019 02:15:26 +0000 (02:15 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #17640 from nextcloud/refactor/new-browserslist-config-package
Roeland Jago Douma [Wed, 23 Oct 2019 17:51:51 +0000 (19:51 +0200)]
Merge pull request #17640 from nextcloud/refactor/new-browserslist-config-package

Use @nextcloud/browserslist-config

5 years agoMerge pull request #17616 from nextcloud/bug/15486/dont-fclose
Roeland Jago Douma [Wed, 23 Oct 2019 17:51:17 +0000 (19:51 +0200)]
Merge pull request #17616 from nextcloud/bug/15486/dont-fclose

Remove superfluous fclose

5 years agoMerge pull request #17482 from nextcloud/feature/noid/rich-workspace
Roeland Jago Douma [Wed, 23 Oct 2019 17:38:59 +0000 (19:38 +0200)]
Merge pull request #17482 from nextcloud/feature/noid/rich-workspace

Allow registering header/footer sections in the file lists

5 years agoAllow registering header sections in the file lists 17482/head
Julius Härtl [Mon, 19 Aug 2019 09:40:42 +0000 (11:40 +0200)]
Allow registering header sections in the file lists

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoMerge pull request #17645 from nextcloud/run-acceptance-tests-on-php7.3
Roeland Jago Douma [Wed, 23 Oct 2019 06:34:23 +0000 (08:34 +0200)]
Merge pull request #17645 from nextcloud/run-acceptance-tests-on-php7.3

Run acceptance tests on PHP 7.3

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 23 Oct 2019 02:15:24 +0000 (02:15 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #17646 from nextcloud/bugfix/noid/help-route
Roeland Jago Douma [Tue, 22 Oct 2019 20:04:41 +0000 (22:04 +0200)]
Merge pull request #17646 from nextcloud/bugfix/noid/help-route

Fix help route in navigation

5 years agoFix help route in navigation 17646/head
Julius Härtl [Tue, 22 Oct 2019 15:56:55 +0000 (17:56 +0200)]
Fix help route in navigation

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoRun acceptance tests on PHP 7.3 17645/head
Daniel Calviño Sánchez [Tue, 22 Oct 2019 14:48:55 +0000 (16:48 +0200)]
Run acceptance tests on PHP 7.3

There is no difference (as far as I know) between running the acceptance
tests on PHP 7.1 or on PHP 7.3; this is simply a preparatory step to be
ready when PHP 7.1 support is dropped in Nextcloud server.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
5 years agoUse @nextcloud/browserslist-config 17640/head
Christoph Wurst [Tue, 22 Oct 2019 14:00:58 +0000 (16:00 +0200)]
Use @nextcloud/browserslist-config

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 years agoMerge pull request #17639 from nextcloud/enhancement/entity-boolean-getter
Roeland Jago Douma [Tue, 22 Oct 2019 13:55:58 +0000 (15:55 +0200)]
Merge pull request #17639 from nextcloud/enhancement/entity-boolean-getter

Add isXXX getter to Entity

5 years agoMerge pull request #17628 from nextcloud/enh/14811/2fa_backup_chars
Roeland Jago Douma [Tue, 22 Oct 2019 13:40:38 +0000 (15:40 +0200)]
Merge pull request #17628 from nextcloud/enh/14811/2fa_backup_chars

Only human readbale backup chars

5 years agoAdd isXXX getter to Entity 17639/head
Christoph Wurst [Tue, 22 Oct 2019 12:54:21 +0000 (14:54 +0200)]
Add isXXX getter to Entity

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 years agoOnly human readbale backup chars 17628/head
Roeland Jago Douma [Mon, 21 Oct 2019 19:51:17 +0000 (21:51 +0200)]
Only human readbale backup chars

Fixes #14811
Only use humand readable chars (so no I and 1 etc)

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoFix browser back button (#17627)
John Molakvoæ [Tue, 22 Oct 2019 09:36:36 +0000 (11:36 +0200)]
Fix browser back button (#17627)

Fix browser back button

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 22 Oct 2019 02:15:41 +0000 (02:15 +0000)]
[tx-robot] updated from transifex

5 years agoFix browser back button 17627/head
Roeland Jago Douma [Mon, 21 Oct 2019 19:36:17 +0000 (21:36 +0200)]
Fix browser back button

Fixes #17108

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoMerge pull request #17568 from nextcloud/fix/noid/move-away-from-deprecated-event
blizzz [Mon, 21 Oct 2019 11:40:36 +0000 (13:40 +0200)]
Merge pull request #17568 from nextcloud/fix/noid/move-away-from-deprecated-event

use OCP\EventDispatcher\Event over Symfony's deprecated Event

5 years agoMerge pull request #17593 from nextcloud/ensure-valid-theming-image-route
Roeland Jago Douma [Mon, 21 Oct 2019 10:07:00 +0000 (12:07 +0200)]
Merge pull request #17593 from nextcloud/ensure-valid-theming-image-route

make sure that the urls for theming images are valid

5 years agoMerge pull request #17594 from nextcloud/dont-cache-notfound
Roeland Jago Douma [Mon, 21 Oct 2019 10:06:49 +0000 (12:06 +0200)]
Merge pull request #17594 from nextcloud/dont-cache-notfound

Dont cache empty url for not found routes

5 years agoMerge pull request #17595 from nextcloud/fix/noid/wrong-pwd-apple-open-dir
blizzz [Mon, 21 Oct 2019 09:55:51 +0000 (11:55 +0200)]
Merge pull request #17595 from nextcloud/fix/noid/wrong-pwd-apple-open-dir

treat LDAP error 50 as auth issue, prevents lost server connection errors

5 years agoMerge pull request #17450 from nextcloud/fix/17368/odd-group-numbers
blizzz [Mon, 21 Oct 2019 09:53:44 +0000 (11:53 +0200)]
Merge pull request #17450 from nextcloud/fix/17368/odd-group-numbers

hide strange Everyone and Disabled group numbers with LDAP

5 years agoRemove superfluous fclose 17616/head
Daniel Kesselberg [Mon, 21 Oct 2019 09:25:23 +0000 (11:25 +0200)]
Remove superfluous fclose

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 years agoMerge pull request #17577 from nextcloud/bugfix/noid/about-help
Roeland Jago Douma [Mon, 21 Oct 2019 09:15:04 +0000 (11:15 +0200)]
Merge pull request #17577 from nextcloud/bugfix/noid/about-help

Migrate help to a Controller

5 years agoMerge pull request #17547 from nextcloud/enh/noid/log-exception-json-escape
Roeland Jago Douma [Mon, 21 Oct 2019 09:14:03 +0000 (11:14 +0200)]
Merge pull request #17547 from nextcloud/enh/noid/log-exception-json-escape

Do not escape slashes for logged exceptions

5 years agoCompile assets 17450/head
npmbuildbot[bot] [Mon, 21 Oct 2019 08:11:49 +0000 (08:11 +0000)]
Compile assets

Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
5 years agowhen adding/removing users from groups don't touch counters if LDAP
Arthur Schiwon [Tue, 15 Oct 2019 16:19:23 +0000 (18:19 +0200)]
when adding/removing users from groups don't touch counters if LDAP

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
5 years agohide strange Everyone and Disabled group numbers with LDAP, fixes 17368
Arthur Schiwon [Mon, 7 Oct 2019 16:25:29 +0000 (18:25 +0200)]
hide strange Everyone and Disabled group numbers with LDAP, fixes 17368

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
5 years agoMerge pull request #17545 from nextcloud/bugfix/noid/workflow-catch
Roeland Jago Douma [Mon, 21 Oct 2019 07:25:46 +0000 (09:25 +0200)]
Merge pull request #17545 from nextcloud/bugfix/noid/workflow-catch

Ignore unavailable entity/operation classes

5 years agoMerge pull request #17603 from nextcloud/dependabot/npm_and_yarn/moment-timezone...
Roeland Jago Douma [Mon, 21 Oct 2019 07:25:05 +0000 (09:25 +0200)]
Merge pull request #17603 from nextcloud/dependabot/npm_and_yarn/moment-timezone-0.5.27

Bump moment-timezone from 0.5.26 to 0.5.27

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 21 Oct 2019 02:15:49 +0000 (02:15 +0000)]
[tx-robot] updated from transifex

5 years agoBump moment-timezone from 0.5.26 to 0.5.27 17603/head
dependabot-preview[bot] [Sun, 20 Oct 2019 12:18:08 +0000 (12:18 +0000)]
Bump moment-timezone from 0.5.26 to 0.5.27

Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.26 to 0.5.27.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.26...0.5.27)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
5 years agoMerge pull request #17601 from nextcloud/dependabot/npm_and_yarn/webpack-4.41.2
Roeland Jago Douma [Sun, 20 Oct 2019 12:15:27 +0000 (14:15 +0200)]
Merge pull request #17601 from nextcloud/dependabot/npm_and_yarn/webpack-4.41.2

Bump webpack from 4.41.1 to 4.41.2

5 years agoBump webpack from 4.41.1 to 4.41.2 17601/head
dependabot-preview[bot] [Sun, 20 Oct 2019 01:13:53 +0000 (01:13 +0000)]
Bump webpack from 4.41.1 to 4.41.2

Bumps [webpack](https://github.com/webpack/webpack) from 4.41.1 to 4.41.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.1...v4.41.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
5 years agoMerge pull request #17605 from nextcloud/dependabot/npm_and_yarn/browserslist-config...
Roeland Jago Douma [Sun, 20 Oct 2019 08:02:49 +0000 (10:02 +0200)]
Merge pull request #17605 from nextcloud/dependabot/npm_and_yarn/browserslist-config-nextcloud-0.1.0

Bump browserslist-config-nextcloud from 0.0.1 to 0.1.0

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 20 Oct 2019 02:16:43 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

5 years agoBump browserslist-config-nextcloud from 0.0.1 to 0.1.0 17605/head
dependabot-preview[bot] [Sun, 20 Oct 2019 01:15:56 +0000 (01:15 +0000)]
Bump browserslist-config-nextcloud from 0.0.1 to 0.1.0

Bumps browserslist-config-nextcloud from 0.0.1 to 0.1.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agoMerge pull request #17575 from nextcloud/include-the-share-in-the-files_sharing-loada...
Roeland Jago Douma [Sat, 19 Oct 2019 09:13:11 +0000 (11:13 +0200)]
Merge pull request #17575 from nextcloud/include-the-share-in-the-files_sharing-loadadditionalscripts-event

Include the share in the Files_Sharing::loadAdditionalScripts event

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 19 Oct 2019 02:15:42 +0000 (02:15 +0000)]
[tx-robot] updated from transifex

5 years agotreat LDAP error 50 as auth issue, prevents lost server connection errors 17595/head
Arthur Schiwon [Fri, 18 Oct 2019 16:55:10 +0000 (18:55 +0200)]
treat LDAP error 50 as auth issue, prevents lost server connection errors

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
5 years agoDont cache empty url for not found routes 17594/head
Robin Appelman [Fri, 18 Oct 2019 16:20:25 +0000 (18:20 +0200)]
Dont cache empty url for not found routes

Signed-off-by: Robin Appelman <robin@icewind.nl>
5 years agomake sure that the urls for theming images are valid 17593/head
Robin Appelman [Fri, 18 Oct 2019 16:11:34 +0000 (18:11 +0200)]
make sure that the urls for theming images are valid

In some circumstances the url generation seems to fail,
resulting in an empty image url which causes the browser to load the main
page multiple times, leading to issues with state tokens

Signed-off-by: Robin Appelman <robin@icewind.nl>
5 years agoadded documentation links on settings pages (#17585)
John Molakvoæ [Fri, 18 Oct 2019 10:06:42 +0000 (12:06 +0200)]
added documentation links on settings pages (#17585)

added documentation links on settings pages

5 years agoMerge pull request #17557 from nextcloud/build/webpack-single-modules
Roeland Jago Douma [Fri, 18 Oct 2019 08:49:02 +0000 (10:49 +0200)]
Merge pull request #17557 from nextcloud/build/webpack-single-modules

Allow building single webpack modules

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 18 Oct 2019 02:15:23 +0000 (02:15 +0000)]
[tx-robot] updated from transifex

5 years agoInclude the share in the Files_Sharing::loadAdditionalScripts event 17575/head
Daniel Calviño Sánchez [Thu, 17 Oct 2019 08:27:13 +0000 (10:27 +0200)]
Include the share in the Files_Sharing::loadAdditionalScripts event

This provides a better context for apps using the event, for example to
load one script or another depending on whether the share is a file or a
folder.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
5 years agoadded documentation links on settings pages 17585/head
Sascha Wiswedel [Thu, 17 Oct 2019 13:09:49 +0000 (15:09 +0200)]
added documentation links on settings pages

Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
5 years agouse OCP\EventDispatcher\Event over Symfony's deprecated Event 17568/head
Arthur Schiwon [Wed, 16 Oct 2019 10:36:03 +0000 (12:36 +0200)]
use OCP\EventDispatcher\Event over Symfony's deprecated Event

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
5 years agoMerge pull request #17576 from nextcloud/enhancement/occ/user-list-info
blizzz [Thu, 17 Oct 2019 11:08:33 +0000 (13:08 +0200)]
Merge pull request #17576 from nextcloud/enhancement/occ/user-list-info

Add detailed users listing in occ user:info command

5 years agoMove help to controller 17577/head
Julius Härtl [Thu, 17 Oct 2019 08:54:46 +0000 (10:54 +0200)]
Move help to controller

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoAdd detailed users listing in occ user:info command 17576/head
John Molakvoæ (skjnldsv) [Thu, 17 Oct 2019 08:38:53 +0000 (10:38 +0200)]
Add detailed users listing in occ user:info command

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years agoLet SCSS cleanup only run once (#17543)
John Molakvoæ [Thu, 17 Oct 2019 08:03:08 +0000 (10:03 +0200)]
Let SCSS cleanup only run once (#17543)

Let SCSS cleanup only run once

5 years agoMerge pull request #17569 from nextcloud/td/di/middleware
Roeland Jago Douma [Thu, 17 Oct 2019 07:43:57 +0000 (09:43 +0200)]
Merge pull request #17569 from nextcloud/td/di/middleware

Allow DI in middleware

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 17 Oct 2019 02:15:52 +0000 (02:15 +0000)]
[tx-robot] updated from transifex

5 years agoMerge all babelrc into one file (#17570)
John Molakvoæ [Wed, 16 Oct 2019 22:51:16 +0000 (00:51 +0200)]
Merge all babelrc into one file (#17570)

Merge all babelrc into one file

5 years agoMerge pull request #17548 from nextcloud/fix/saml/pass_on_direct
Roeland Jago Douma [Wed, 16 Oct 2019 22:24:20 +0000 (00:24 +0200)]
Merge pull request #17548 from nextcloud/fix/saml/pass_on_direct

Pass on direct query parameter during login

5 years agoMerge all babelrc into one file 17570/head
John Molakvoæ (skjnldsv) [Wed, 16 Oct 2019 21:24:00 +0000 (23:24 +0200)]
Merge all babelrc into one file

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years agoPass on direct query parameter during login 17548/head
Roeland Jago Douma [Tue, 15 Oct 2019 14:27:41 +0000 (16:27 +0200)]
Pass on direct query parameter during login

If direct is set we should forward it again.
This to make SAML direct login work again.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoMove over OCSShareAPIMIddleware to pure DI 17569/head
Roeland Jago Douma [Wed, 16 Oct 2019 20:53:09 +0000 (22:53 +0200)]
Move over OCSShareAPIMIddleware to pure DI

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoDo DI on registered middleware as well
Roeland Jago Douma [Wed, 16 Oct 2019 20:52:48 +0000 (22:52 +0200)]
Do DI on registered middleware as well

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoMerge pull request #17559 from nextcloud/deprecate/template-manager
Roeland Jago Douma [Wed, 16 Oct 2019 09:47:38 +0000 (11:47 +0200)]
Merge pull request #17559 from nextcloud/deprecate/template-manager

Deprecate TemplateManager

5 years agoDeprecate TemplateManager 17559/head
Julius Härtl [Wed, 16 Oct 2019 07:54:17 +0000 (09:54 +0200)]
Deprecate TemplateManager

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoAllow building single webpack modules 17557/head
Julius Härtl [Wed, 16 Oct 2019 07:05:16 +0000 (09:05 +0200)]
Allow building single webpack modules

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 16 Oct 2019 02:15:41 +0000 (02:15 +0000)]
[tx-robot] updated from transifex

5 years agoDo not escape slashes for logged exceptions 17547/head
Julius Härtl [Tue, 15 Oct 2019 14:09:23 +0000 (16:09 +0200)]
Do not escape slashes for logged exceptions

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoMake sure the cache is only reset once at a time 17543/head
Julius Härtl [Tue, 15 Oct 2019 09:56:27 +0000 (11:56 +0200)]
Make sure the cache is only reset once at a time

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoIgnore unavailable entity/operation classes 17545/head
Julius Härtl [Tue, 15 Oct 2019 10:54:22 +0000 (12:54 +0200)]
Ignore unavailable entity/operation classes

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoUse a distributed cache for the isCachedCache
Julius Härtl [Tue, 15 Oct 2019 09:56:02 +0000 (11:56 +0200)]
Use a distributed cache for the isCachedCache

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 15 Oct 2019 02:15:06 +0000 (02:15 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #17501 from nextcloud/bugfix/fad-48/list-share-downloads-under...
Roeland Jago Douma [Mon, 14 Oct 2019 22:21:54 +0000 (00:21 +0200)]
Merge pull request #17501 from nextcloud/bugfix/fad-48/list-share-downloads-under-sharing

List share download activity under sharing

5 years agoMerge pull request #17503 from nextcloud/fix/versions/download_filename
Roeland Jago Douma [Mon, 14 Oct 2019 20:27:32 +0000 (22:27 +0200)]
Merge pull request #17503 from nextcloud/fix/versions/download_filename

Set the proper filename for version downloads

5 years agoMerge pull request #17332 from nextcloud/bugfix/noid/mimetype-changes-on-renaming...
Roeland Jago Douma [Mon, 14 Oct 2019 19:38:33 +0000 (21:38 +0200)]
Merge pull request #17332 from nextcloud/bugfix/noid/mimetype-changes-on-renaming-a-folder

Only cache the mimetype if the file exists

5 years agoMerge pull request #17433 from nextcloud/bugfix/uncaught-promise-navigationduplicated
Roeland Jago Douma [Mon, 14 Oct 2019 19:27:32 +0000 (21:27 +0200)]
Merge pull request #17433 from nextcloud/bugfix/uncaught-promise-navigationduplicated

NavigationDuplicated: catch uncaught (in promise)

5 years agoMerge pull request #17535 from nextcloud/enh/noid/fileactions-cleanup
Roeland Jago Douma [Mon, 14 Oct 2019 19:25:28 +0000 (21:25 +0200)]
Merge pull request #17535 from nextcloud/enh/noid/fileactions-cleanup

Remove deprecated legacy file actions

5 years agoRemove deprecated legacy file actions 17535/head
Julius Härtl [Mon, 14 Oct 2019 17:19:16 +0000 (19:19 +0200)]
Remove deprecated legacy file actions

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoCatch uncaught (in promise) 17433/head
Daniel Kesselberg [Sun, 6 Oct 2019 19:00:10 +0000 (21:00 +0200)]
Catch uncaught (in promise)

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 years agoMerge pull request #17402 from nextcloud/td/js_deprecate/jstimezonedetect
Roeland Jago Douma [Mon, 14 Oct 2019 16:13:43 +0000 (18:13 +0200)]
Merge pull request #17402 from nextcloud/td/js_deprecate/jstimezonedetect

Deprecate a lot of global js

5 years agoMerge pull request #17382 from nextcloud/refactor/accessibility/initialstate
Roeland Jago Douma [Mon, 14 Oct 2019 16:00:30 +0000 (18:00 +0200)]
Merge pull request #17382 from nextcloud/refactor/accessibility/initialstate

Initial state for accessibility

5 years agoSet the proper filename for version downloads 17503/head
Roeland Jago Douma [Thu, 10 Oct 2019 10:51:24 +0000 (12:51 +0200)]
Set the proper filename for version downloads

Before it just used the internalid (timestamp often) which is not really
user friendly.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoMerge pull request #17522 from nextcloud/fix/noid/reflection-toString-deprecated
Roeland Jago Douma [Mon, 14 Oct 2019 09:08:15 +0000 (11:08 +0200)]
Merge pull request #17522 from nextcloud/fix/noid/reflection-toString-deprecated

Fix ReflectionType::__toString() is deprecated

5 years agoMove to generateOcsUrl 17382/head
John Molakvoæ (skjnldsv) [Sat, 12 Oct 2019 13:39:25 +0000 (15:39 +0200)]
Move to generateOcsUrl

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years agoInitial state for accessibility
John Molakvoæ (skjnldsv) [Thu, 3 Oct 2019 08:19:50 +0000 (10:19 +0200)]
Initial state for accessibility

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
5 years agoOnly cache the mimetype if the file exists 17332/head
Joas Schilling [Mon, 30 Sep 2019 09:39:50 +0000 (11:39 +0200)]
Only cache the mimetype if the file exists

Otherwise files access control will cache "application/octet-stream"
for all the target node on:
rename, move, copy and all other methods which create a new item

To check this:
1. Add an automated tagging rule which tags on mimetype NOT "httpd/unix-directory"
2. Add an access control rule which checks for any mimetype
3. Create a folder and rename it, the folder should not be tagged, but it is

Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years agoDeprecate js globals 17402/head
Roeland Jago Douma [Fri, 4 Oct 2019 09:40:35 +0000 (11:40 +0200)]
Deprecate js globals

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoAssume that getType is available 17522/head
Daniel Kesselberg [Sat, 12 Oct 2019 20:55:07 +0000 (22:55 +0200)]
Assume that getType is available

From PHP7 getType is always available. No need to check it nowdays.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 years agoFix ReflectionType::__toString() is deprecated
Daniel Kesselberg [Sat, 12 Oct 2019 20:40:03 +0000 (22:40 +0200)]
Fix ReflectionType::__toString() is deprecated

As of PHP 7.1.0, ReflectionType::__toString() is deprecated, and ReflectionParameter::getType() may return an instance of ReflectionNamedType. To get the name of the parameter type, ReflectionNamedType() is available in this case.

https://www.php.net/manual/en/reflectionparameter.gettype.php
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 years agoMerge pull request #17530 from nextcloud/dependabot/npm_and_yarn/babel/preset-env...
Roeland Jago Douma [Mon, 14 Oct 2019 07:47:44 +0000 (09:47 +0200)]
Merge pull request #17530 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.6.3

Bump @babel/preset-env from 7.6.2 to 7.6.3

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 14 Oct 2019 02:15:09 +0000 (02:15 +0000)]
[tx-robot] updated from transifex

5 years agoBump @babel/preset-env from 7.6.2 to 7.6.3 17530/head
dependabot-preview[bot] [Sun, 13 Oct 2019 19:06:04 +0000 (19:06 +0000)]
Bump @babel/preset-env from 7.6.2 to 7.6.3

Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.6.2 to 7.6.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.2...v7.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agoMerge pull request #17527 from nextcloud/dependabot/npm_and_yarn/babel/core-7.6.4
Roeland Jago Douma [Sun, 13 Oct 2019 19:04:01 +0000 (21:04 +0200)]
Merge pull request #17527 from nextcloud/dependabot/npm_and_yarn/babel/core-7.6.4

Bump @babel/core from 7.6.2 to 7.6.4