Joas Schilling
9d6a7399a8
fix(dav): Abort requests with 429 instead of waiting
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-10 06:43:42 +02:00
Louis Chemineau
774bb42770
Do not check quota for non Node
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-24 15:31:44 +00:00
blizzz
dd4c3ddbd9
Merge pull request #35329 from nextcloud/backport/35232/stable23
...
[stable23] Check quota on file copy
2022-11-23 21:08:41 +01:00
Côme Chilliet
fe92aec4ca
Apply the same fix as on beforeCopy on beforeMove
...
Let’s be safe
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-22 13:22:33 +00:00
Robin Appelman
ca6ee2dad3
fix dirname usage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-22 13:22:22 +00:00
Côme Chilliet
9dade992ad
Fix psalm issues
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-22 13:22:16 +00:00
Côme Chilliet
6638b5411e
Check quota on file copy
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-22 13:22:13 +00:00
Richard Steinmetz
bc639175d5
Fix duplicate event email notifications
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-11-15 10:27:14 +01:00
Louis
6644b17527
Merge pull request #32322 from nextcloud/backport/stable22/share_search_tweaks
...
[stable23] Add share search tweaks
2022-06-23 17:35:14 +02:00
Carl Schwan
64288ae84c
Make X-HAS-{MD5/SHA256} opt-in
...
This is not always needed and slow down the upload
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
(cherry picked from commit 1b426eda44 )
2022-06-08 13:40:26 +02:00
Louis Chemineau
cb66d11a40
Use email settings in DAV search
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-07 11:37:26 +00:00
Louis Chemineau
77f7855892
Use share setting in DAV search
...
shareapi_restrict_user_enumeration_full_match_ignore_second_display_name was introduced to ignore second display name during search from the share panel. But this setting was not respected by search from the calendar application. This fix it.
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-07 11:37:25 +00:00
blizzz
64a912ea7b
Merge pull request #31976 from nextcloud/backport/31886/stable23
...
[stable23] Principal search by display name case insensitive
2022-05-16 12:20:05 +02:00
blizzz
24aae72e7e
Merge pull request #31641 from nextcloud/backport/31193/stable23
...
[stable23] Add optional WebDav propfind properties to count sub elements
2022-04-14 22:08:23 +02:00
Vincent Petry
0aa70b3d88
Principal search by display name case insensitive
...
Adjust principal search to be case insensitive even with exact match.
This aligns the behavior to how the search also works in
Collaborators/UserPlugin
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-04-14 13:11:04 +00:00
blizzz
ee9ac5bcfb
Merge pull request #31836 from nextcloud/backport/31734/stable23
...
[stable23] dont re-query fileinfo when getting dav quota
2022-04-14 13:39:47 +02:00
Julien Veyssier
6b1fbb4fb1
add optional WebDav propfind properties to show number of folders/files inside a folder
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-04-14 13:23:50 +02:00
Robin Appelman
3da45428b6
dont re-query fileinfo when getting dav quota
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-13 16:22:21 +02:00
Robin Appelman
b05c9fe369
also handle expired pre-write shared lock on dav upload when not using part files
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-10 17:17:21 +00:00
blizzz
4fdabd193d
Merge pull request #31392 from nextcloud/backport/30536/stable23
...
[stable23] Make Sabre File exception messages translatable
2022-03-10 12:11:49 +01:00
Vincent Petry
16ebf8546b
Merge pull request #31183 from nextcloud/backport/31178/stable23
...
[stable23] Fix typo in DAV namespace registration
2022-03-09 14:43:17 +01:00
Christopher Ng
21f1d43a01
PHP 7.3 compatibility
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-02 19:19:00 +00:00
Christopher Ng
ec50de5271
Make Sabre File exception messages translatable
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-02 00:14:12 +00:00
Louis Chemineau
5043a9dc6b
Wrap S3 multipart upload exception
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-21 14:25:54 +00:00
Thomas Citharel
3e0b7fb49e
Fix typo in DAV namespace registration
...
See b0afba6d65/sabre/dav/lib/DAV/Xml/Service.php (L43)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-02-17 13:19:00 +00:00
Louis Chemineau
bb81f7afd8
Set the file's mtime from the headers in bulk upload
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-12 11:00:50 +00:00
John Molakvoæ
36bacaa7af
Prevent writing invalid mtime
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-07 11:16:29 +00:00
Julius Härtl
3d8aa4e038
Allow to fetch the creation time of folders
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-24 10:23:30 +00:00
John Molakvoæ
d6a26b2536
Revert "add dav plugin to trigger recalculating of checksums"
2021-11-01 11:26:17 +01:00
John Molakvoæ
e1bf5c1cd3
Merge pull request #27378 from nextcloud/dav-recalc-checksum
2021-11-01 11:25:21 +01:00
Arthur Schiwon
27865d03c0
use specific email getter where necessary
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 19:23:05 +02:00
Robin Appelman
a334eb7ab1
always allow dav move for movable mount root
...
the root of a movable mountpoint can be moved even if it doesn't have update permissions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-08-27 16:02:45 +02:00
Robin Appelman
fd5e11a81a
Add dav plugin to trigger recalculating of checksums
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-08-23 15:38:58 +02:00
Thomas Citharel
a7b9b398a3
Expose user language through DAV
...
Introduces the '{http://nextcloud.com/ns }language' prop that gives the
user's language
Closes #28449
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-16 19:03:00 +02:00
Julius Härtl
6909ce6641
Make sure that the dav propfind plugins always use the proper user id
...
For old android versions it could happen that the requests are performed
with a login name instead of the actual user id, so before this change
the property methods used the wrong value for fetching their information
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-22 12:28:00 +02:00
Lukas Reschke
d6a2f00bef
Throttle on public DAV endpoint
...
We should throttle whenever an invalid request is sent to the public WebDAV endpoint.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-22 19:54:13 +02:00
acsfer
ae77289511
Header must contain a colon
2021-06-09 16:20:55 +02:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +02:00
Maxence Lange
11ad88e987
migration to Circles 22
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-05-29 10:04:26 -01:00
Valdnet
48d12b6441
l10n: Spelling unification
...
Spelling unification in Transifex.
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-05-04 09:38:46 +02:00
Christoph Wurst
1722044992
Only set copy etag if the destination source can be found
...
The etag is only set for files, but it's also possible that in edge
cases the copy destination node can't be found. In that case we don't
need to set any etag.
Required for #26083
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-04-23 10:53:24 +02:00
Christoph Wurst
8152189b09
Only write checksum if we have a valid file info
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-03-22 21:11:07 +01:00
Joas Schilling
5b53b6f977
Add a setting to restrict returning a full match unless in phonebook or same group
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 17:25:57 +01:00
Joas Schilling
236aa194e2
Restrict autocompletion also based on the phonebook known users
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 17:19:55 +01:00
Roeland Jago Douma
c40228a65a
Fix the SharesPlugin
...
Another attempt to fix all the typing and handling in the sharesplugin.
In short we should probably have a lot more type hinting in several
places.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 16:29:06 +01:00
dependabot-preview[bot]
eb502c02ff
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0
...
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard ) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/nextcloud/coding-standard/releases )
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-18 13:31:24 +01:00
Roeland Jago Douma
98c8cd5089
Merge pull request #25383 from nextcloud/bugfix/24893
...
Properly handle SMB ACL blocking scanning a directory
2021-01-29 15:52:14 +01:00
Christoph Wurst
65b6b45976
Merge pull request #25218 from nextcloud/fix/25213/do-no-remove-vali-dav-group-shares
...
do not remove valid group shares
2021-01-29 11:36:28 +01:00
Julius Härtl
e9ae943bba
Properly handle SMB ACL blocking scanning a directory
...
This makes sure that a possible ForbiddenException is properly passed
through the storage as a ForbiddenException and can be catched when
trying to fetch the quota info of a parent folder
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-29 11:26:22 +01:00
Vincent Petry
65da8bd76e
Catch NotFoundException when querying quota
...
Fixes parent folder that becomes inaccessible when it contains a
non-existing / broken entry because the quota check made the PROPFIND
on parent fail altogether.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-01-25 12:12:50 +01:00