Robin Appelman
23e2baeb95
Add option to check share ACL's when listing directories
...
If a file or folder in a directory doesn't have read permissions they
will not be shown
Note that enabling this option incurs a performance penalty additional
requests need to be made to get all the acl.
Additionally the acl resolving logic is fairly primitive at the moment
and might not work correctly in all setups (it should error to showing
the entry)
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-21 16:26:12 +02:00
Roeland Jago Douma
8f650feede
Merge pull request #20114 from nextcloud/techdebt/noid/allow-some-apps-to-have-root-urls
...
Allow some apps to have root URLs in their own routing file
2020-04-21 16:00:34 +02:00
Arthur Schiwon
75c686d825
do not run paged results against ldap_read ops on PHP7.3+
...
- previously it was needed as the PHP LDAP handling of paged results was
strange
- but now the read operation would fail, e.g. with extra home dir attribute
set ("Home dir attribute can't be read from LDAP for uid: foobar"
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-04-21 15:47:49 +02:00
Roeland Jago Douma
613f0f2c0c
Merge pull request #20552 from liamjack/fix/20551/login_username_autocapitalize
...
Disable autocapitalize for username field on login / reset password pages
2020-04-21 15:43:46 +02:00
Julius Härtl
397ab1c3c5
Remove unneeded test since links have resharing permissions by default
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-21 14:35:29 +02:00
Julius Härtl
5646f7c761
Link shares have reshare permission if outgoing federated shares are enabled
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-21 14:35:29 +02:00
Julius Härtl
45c3ee7f36
Set proper share type when converting link shares to federated shares
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-21 14:35:28 +02:00
Daniel Kesselberg
0e925285b7
Add test that shares and tags are ignored for chunk files.
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-04-21 14:00:52 +02:00
Roeland Jago Douma
aa79f9ada2
Merge pull request #20577 from nextcloud/bugfix/noid/sabre4_aftermethod
...
Fix usages of afterMethod -> afterMethod:*
2020-04-21 13:26:13 +02:00
Morris Jobke
89bd8ea449
Merge pull request #20564 from go2sh/fix_fileinfo
...
Set fileInfo correctly for LegacyTabs
2020-04-21 12:24:54 +02:00
Roeland Jago Douma
8730cc6764
Use a proper upload file so propfinds return 404
...
Fixes #20235
By using an UploadFile we make sure that we don't need to have another
check everywhere for the path. But we just have ot check (which we have
to anyway) if it is a proper Connector/File (or directory).
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-21 10:33:28 +02:00
Georg Ehrke
effcd58e14
Fix usages of afterMethod -> afterMethod:*
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-04-21 10:19:06 +02:00
Roeland Jago Douma
4ee56689a8
Make sure that OC-ETag is set again
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-21 10:14:31 +02:00
John Molakvoæ (skjnldsv)
7eceba7dae
Fix Sharing recommendation user display
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-21 07:48:10 +00:00
Liam JACK
d71b93235d
Fix #20551 - Disable autocapitalize for username field on login / reset password pages
...
Signed-off-by: Liam JACK <1422590-liamjack@users.noreply.gitlab.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-21 07:07:11 +00:00
Roeland Jago Douma
46bfe383a7
Merge pull request #20557 from nextcloud/dependabot/npm_and_yarn/nextcloud/eslint-plugin-1.4.0
...
Bump @nextcloud/eslint-plugin from 1.1.0 to 1.4.0
2020-04-21 09:01:15 +02:00
Roeland Jago Douma
0c0397e923
Merge pull request #20554 from nextcloud/dependabot/composer/build/integration/guzzlehttp/guzzle-6.5.3
...
Update guzzlehttp/guzzle requirement from 6.5.2 to 6.5.3 in /build/integration
2020-04-21 08:59:55 +02:00
Nextcloud bot
f0c1041d2e
[tx-robot] updated from transifex
2020-04-21 02:16:40 +00:00
blizzz
7b493685dc
Merge pull request #20232 from nextcloud/storage-getdirectorycontent
...
Add method to storage backends to get directory content with metadata
2020-04-21 00:23:43 +02:00
Robin Appelman
9735b5d61f
Add method to storage backends to get directory content with metadata
...
Currently you need to use `opendir` and then call `getMetadata` for
every file, which adds overhead because most storage backends already
get the metadata when doing the `opendir`.
While storagebackends can (and do) use caching to relief this problem,
this adds cache invalidation dificulties and only a limited number of
items are generally cached (to prevent memory usage exploding when
scanning large storages)
With this new methods storage backends can use the child metadata they
got from listing the folder to return metadata without having to keep
seperate caches.
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-20 15:45:04 +02:00
Nextcloud bot
b1a90da347
[tx-robot] updated from transifex
2020-04-20 02:16:12 +00:00
Christoph Seitz
c9e0ea525b
Set fileInfo correctly for LegacyTabs
...
Watch for changes of the fileInfo prop and propagate it to,
the underlying component.
Fixes #20106 .
Signed-off-by: Christoph Seitz <christoph.seitz@posteo.de>
2020-04-19 22:56:30 +02:00
Roeland Jago Douma
039143e98e
Merge pull request #20561 from nextcloud/revert-20555-dependabot/npm_and_yarn/build/karma-coverage-2.0.2
...
Revert "Bump karma-coverage from 2.0.1 to 2.0.2 in /build"
2020-04-19 11:28:45 +02:00
Roeland Jago Douma
56a07009bb
Merge pull request #19214 from nextcloud/enh/preview_folder_tree
...
Move to subfolders for preview files
2020-04-19 11:22:25 +02:00
Roeland Jago Douma
792c520774
Revert "Bump karma-coverage from 2.0.1 to 2.0.2 in /build"
2020-04-19 11:21:48 +02:00
Roeland Jago Douma
399253a5cf
Merge pull request #20555 from nextcloud/dependabot/npm_and_yarn/build/karma-coverage-2.0.2
...
Bump karma-coverage from 2.0.1 to 2.0.2 in /build
2020-04-19 10:32:35 +02:00
Roeland Jago Douma
d861f668f7
Merge pull request #20560 from nextcloud/dependabot/npm_and_yarn/style-loader-1.1.4
...
Bump style-loader from 1.1.3 to 1.1.4
2020-04-19 10:31:46 +02:00
Roeland Jago Douma
6c603e8e7d
Move to subfolders for preview files
...
Else the number of files can grow very large very quickly in the preview
folder. Esp on large systems.
This generates the md5 of the fileid. And then creates folders of the
first 7 charts. In that folder is then a folder with the fileid. And
inside there are the previews.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-19 10:30:56 +02:00
Nextcloud bot
e9930aebc7
[tx-robot] updated from transifex
2020-04-19 02:16:10 +00:00
dependabot-preview[bot]
4afc22b22a
Bump style-loader from 1.1.3 to 1.1.4
...
Bumps [style-loader](https://github.com/webpack-contrib/style-loader ) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases )
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v1.1.3...v1.1.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-19 01:17:23 +00:00
dependabot-preview[bot]
56de60f276
Bump mochapack from 1.1.13 to 1.1.15
...
Bumps [mochapack](https://github.com/sysgears/mochapack ) from 1.1.13 to 1.1.15.
- [Release notes](https://github.com/sysgears/mochapack/releases )
- [Commits](https://github.com/sysgears/mochapack/compare/v1.1.13...v1.1.15 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-19 01:16:39 +00:00
dependabot-preview[bot]
e2df9e4d7e
Bump @nextcloud/eslint-plugin from 1.1.0 to 1.4.0
...
Bumps [@nextcloud/eslint-plugin](https://github.com/nextcloud/eslint-plugin ) from 1.1.0 to 1.4.0.
- [Release notes](https://github.com/nextcloud/eslint-plugin/releases )
- [Changelog](https://github.com/nextcloud/eslint-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nextcloud/eslint-plugin/compare/v1.1.0...v1.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-19 01:15:21 +00:00
dependabot-preview[bot]
a95d6463b4
Bump karma-coverage from 2.0.1 to 2.0.2 in /build
...
Bumps [karma-coverage](https://github.com/karma-runner/karma-coverage ) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/karma-runner/karma-coverage/releases )
- [Changelog](https://github.com/karma-runner/karma-coverage/blob/master/CHANGELOG.md )
- [Commits](https://github.com/karma-runner/karma-coverage/compare/v2.0.1...v2.0.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-19 01:13:43 +00:00
dependabot-preview[bot]
e650c6366f
Update guzzlehttp/guzzle requirement in /build/integration
...
Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle ) to permit the latest version.
- [Release notes](https://github.com/guzzle/guzzle/releases )
- [Changelog](https://github.com/guzzle/guzzle/blob/6.5.3/CHANGELOG.md )
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.2...6.5.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-19 01:13:23 +00:00
Joas Schilling
1b93d5f1db
PHP CS fixes
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Joas Schilling
685d7b0637
Directly use the class to get the service
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Joas Schilling
6332d7c0b3
Make sure the cloud_federation_api routes are loaded
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Joas Schilling
031b6656d1
Reduce noise in test output
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Joas Schilling
9654a924ab
Fix route definitions of cloud_federation_api
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Joas Schilling
e45c87cd2e
Fix creating the share controller
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Joas Schilling
708b4991d9
Fix legacy routes
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Joas Schilling
250467e842
Extend tests for root url
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Joas Schilling
f93d55eebd
PHP CS fixes
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Joas Schilling
aad16c8508
Fix creation of legacy routes
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Joas Schilling
3f8168b6e5
Allow some apps to have root URLs in their own routing file
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Roeland Jago Douma
64196ddd19
Merge pull request #20449 from liamjack/fix/19066/empty_file_versions
...
Array offset error due to empty file versions array
2020-04-18 10:54:19 +02:00
Roeland Jago Douma
ad603fd13a
Merge pull request #20540 from nextcloud/fix/mail-test
...
Fix mailer test
2020-04-18 10:34:04 +02:00
Roeland Jago Douma
2fc35d10e4
Added trailing space
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-18 10:26:35 +02:00
Nextcloud bot
148bdabd58
[tx-robot] updated from transifex
2020-04-18 02:16:28 +00:00
Robin Appelman
51c9fd4ece
Merge pull request #20537 from nextcloud/external-tests-allow-local-access
...
allow local remote access in external storage ci
2020-04-17 21:07:07 +00:00