Commit Graph

54753 Commits

Author SHA1 Message Date
Robin Appelman edbda8411c
explicitly close source stream on upload without part file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-04-29 16:51:04 +02:00
Morris Jobke a3fb7914c5
Merge pull request #26825 from nextcloud/backport/26811/stable19
[stable19] Do not try to contact lookup server if not needed
2021-04-29 15:50:14 +02:00
Roeland Jago Douma ecab69d513
Merge pull request #26787 from nextcloud/backport/26718/stable19
[stable19] Fix ratelimit template
2021-04-29 10:10:54 +02:00
Roeland Jago Douma c022e923ff Do not try to contact lookup server if not needed
In some cases (for example you never send data to the lookup server)
there is no need for this job to even try.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-29 09:21:08 +02:00
Joas Schilling 43d6921772
429 template is NC20+ and fix getDelay for CLI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-29 08:44:53 +02:00
Roeland Jago Douma 4369d1cf1d
Merge pull request #26780 from nextcloud/backport/26765/stable19
[stable19] No longer add trusted servers on federated share creation
2021-04-29 08:19:44 +02:00
Nextcloud bot 88c1dd8d6e
[tx-robot] updated from transifex 2021-04-29 02:26:59 +00:00
Morris Jobke 3aabf5eca8
Merge pull request #26807 from nextcloud/backport/26647/stable19
[stable19] Fail when creating new files with an empty path
2021-04-28 20:26:55 +02:00
Julius Härtl 7c8d5fd3a2
Merge pull request #26810 from nextcloud/backport/25659/stable19
[stable19] catch notfound and forbidden exception in smb::getmetadata
2021-04-28 15:55:11 -01:00
Robin Appelman bbaf4ced3a catch notfound and forbidden exception in smb::getmetadata
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-04-28 11:53:12 +00:00
Roeland Jago Douma 6819208ad8 Bump composer
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-28 13:28:28 +02:00
Julius Härtl 5bbf281371 Fail when creating new files with an empty path
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-28 10:05:41 +00:00
Julius Härtl 435ce0d971
Merge pull request #26799 from nextcloud/backport/26785/stable19
[stable19] LDAP: do not bother to search after the last page
2021-04-28 08:46:35 -01:00
Joas Schilling f585fbc391
Fix Nextcloud19 compatibility
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-28 09:59:53 +02:00
Nextcloud bot 5eaa0973b7
[tx-robot] updated from transifex 2021-04-28 02:26:17 +00:00
Arthur Schiwon 6a3b483273 do not try to search after the last page
- saves an LDAP requests in these cases
- prevents a Protocol Error logged on < 7.3 API (for backports)

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-04-27 17:43:44 +00:00
Lukas Reschke 23d0c71877 Run cs:fix
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-04-27 16:21:00 +02:00
Roeland Jago Douma 771dfc8170 No longer add trusted servers on federated share creation
It was disabled by default for ages. And often resulted in unwanted
behavior. If admins want trusted servers they just have to do it
manually.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-27 15:54:16 +02:00
Joas Schilling aa178f9e25 Do not allow to overwrite some variables
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-27 13:39:52 +00:00
Joas Schilling 167a4c7a0a Fix ratelimit template
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-27 13:39:50 +00:00
Nextcloud bot d18aa63560
[tx-robot] updated from transifex 2021-04-27 02:26:05 +00:00
Roeland Jago Douma 9f8d16b6f1
Merge pull request #26772 from nextcloud/backport/26763/stable19
[stable19] Improve federated permission handling
2021-04-26 21:26:58 +02:00
Julius Härtl d5a2eafedc
Merge pull request #26769 from nextcloud/backport/26762/stable19 2021-04-26 16:16:22 -01:00
Roeland Jago Douma 3f6be3d791 Improve federated permission handling
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-26 15:29:04 +00:00
Joas Schilling 59ab20972d Log deprecation only as debug
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-26 15:17:12 +00:00
Joas Schilling e3e4bfb163 Respect the error level when logging
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-26 15:17:11 +00:00
Nextcloud bot 7028094ece
[tx-robot] updated from transifex 2021-04-26 02:25:07 +00:00
Nextcloud bot 44e37f211a
[tx-robot] updated from transifex 2021-04-25 02:25:23 +00:00
Nextcloud bot 354176e123
[tx-robot] updated from transifex 2021-04-24 02:27:06 +00:00
Nextcloud bot 739504bd10
[tx-robot] updated from transifex 2021-04-23 02:26:44 +00:00
Nextcloud bot f43c25dfe3
[tx-robot] updated from transifex 2021-04-22 02:26:53 +00:00
Morris Jobke d11ded9ef9
Merge pull request #26676 from nextcloud/backport/26658/stable19
[stable19] Do not stop directory listing when ACL is blocking access
2021-04-21 14:20:39 +02:00
Julius Härtl 5262bb97f7 Continue iterating over diretory contents and just hide file if denied by acl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-21 07:24:13 +00:00
Nextcloud bot e73034b95b
[tx-robot] updated from transifex 2021-04-21 02:26:35 +00:00
Roeland Jago Douma 418dab9b98
Merge pull request #26646 from nextcloud/backport/26625/stable19
[stable19] Fix empty password check for mail shares
2021-04-20 20:47:52 +02:00
Roeland Jago Douma 489ddb4d04
Merge pull request #26644 from nextcloud/backport/26639/stable19
[stable19] ensure redis returns bool for hasKey
2021-04-20 16:22:00 +02:00
Roeland Jago Douma 2cb71972b7
Merge pull request #26619 from nextcloud/backport/26614/stable19
[stable19] Update root.crl due to revoked news.crt
2021-04-20 15:10:00 +02:00
Morris Jobke d6c3fce82b
Merge pull request #26645 from nextcloud/backport/26633/stable19
[stable19] Make lookup search explicit
2021-04-20 14:08:40 +02:00
Roeland Jago Douma 3dac09a9d7 Make lookup search explicit
Speedsup sharee lookup quite a bit.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-20 08:39:32 +00:00
Arthur Schiwon 9d4a52e07c ensure redis returns bool for hasKey
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-04-20 08:39:30 +00:00
Vincent Petry 4b5a05cfee
Fix empty password check for mail shares
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-04-20 10:35:58 +02:00
Morris Jobke 6259ba779e
Merge pull request #26638 from nextcloud/backport/26615/stable19
[stable19] Require read permissions for federated shares
2021-04-20 09:06:46 +02:00
Nextcloud bot 16eed4a1ba
[tx-robot] updated from transifex 2021-04-20 02:26:29 +00:00
Roeland Jago Douma 46823e8f68 Require read permissions for federated shares
Else they end up as weird shares that can't be properly utilized by
other parties anyway.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-19 19:56:14 +00:00
Roeland Jago Douma 19fb6d7651
Merge pull request #26623 from nextcloud/backport/26613/stable19
[stable19] Do not allow adding file drop shares to your own cloud
2021-04-19 21:48:33 +02:00
Roeland Jago Douma 95c65f756e Do not allow adding file drop shares to your own cloud
There is no reason for this and you can't create such shares normally
anyway.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-19 13:03:04 +00:00
Morris Jobke 804431ec93 Update root.crl due to revoked news.crt
See https://github.com/nextcloud/app-certificate-requests/pull/382

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-04-19 12:13:56 +00:00
Roeland Jago Douma 9b86f5f674
Merge pull request #26603 from nextcloud/dependabot/npm_and_yarn/stable19/ssri-6.0.2
[Security] Bump ssri from 6.0.1 to 6.0.2
2021-04-19 12:43:47 +02:00
Nextcloud bot 69d60cbcaa
[tx-robot] updated from transifex 2021-04-19 02:26:35 +00:00
Nextcloud bot 6b7f09eacb
[tx-robot] updated from transifex 2021-04-18 02:24:37 +00:00