Vincent Petry
804ee11803
Merge pull request #31029 from nextcloud/expose-extra-emails-in-dav
...
Expose additional emails in {DAV:}alternate-URI-set
2022-06-10 16:56:37 +02:00
Joas Schilling
8e3b30f388
Don't spam the log with fatals when maintenance mode is enabled or an upgrade has to be done
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-10 00:36:52 +02:00
Carl Schwan
1b426eda44
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>
2022-06-01 10:59:04 +02:00
Carl Schwan
3ada267a02
Fix return type and make type stricter
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-24 12:05:17 +02:00
Thomas Citharel
190a71ecf9
Expose additional emails in {DAV:}alternate-URI-set
...
This allows iMip invitations to be send with an alternative email as
"Reply-To" field.
Closes #27201
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-17 15:11:36 +02:00
Carl Schwan
f7be76125f
Fix more psalm issues
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-16 11:05:54 +02:00
Carl Schwan
829490ab7a
Cleanup dav
...
- Remove unused class AppEnabledPlugin
- Add more type hinting when possible
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-05 22:03:59 +02:00
Louis
7ccfddbe64
Merge pull request #31963 from nextcloud/feat/use_setting_in_dav_search
...
Use share setting in DAV search
2022-05-04 13:38:03 +02:00
Côme Chilliet
e2531f8503
Migrate dav application from ILogger to LoggerInterface
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-02 10:52:43 +02:00
Robin Appelman
54ac585bc5
add logging of failed quota info
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-22 15:29:30 +02:00
Louis Chemineau
e8ab298d2c
Use email settings in DAV search
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-04-19 16:23:08 +02:00
Louis Chemineau
70c56b411e
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-04-19 12:51:57 +02:00
Vincent Petry
0824f440f0
Merge pull request #31886 from nextcloud/bugfix/noid/principal-search-case-insensitive-dn
...
Principal search by display name case insensitive
2022-04-14 15:07:25 +02:00
Carl Schwan
1c7ecfc544
Fix an issue with the search backend update
...
And update autoloader
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-14 12:11:02 +02:00
Carl Schwan
7817845538
Add a metadata service to store file metadata
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-13 14:06:29 +02:00
Vincent Petry
1bac5e2cbe
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-08 10:20:24 +02:00
blizzz
fb7f65a687
Merge pull request #25747 from nextcloud/XAccelBuffering
...
Add X-Accel-Buffering header to downloads
2022-04-07 15:08:21 +02:00
Robin Appelman
5e69f98c16
sh
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-06 18:08:13 +02:00
Robin Appelman
ae7205f550
use existing node in SharesPlugin
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-06 15:46:50 +02:00
Robin Appelman
151c800397
allow reusing known folder info when getting directory contents
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-06 14:40:34 +02:00
Robin Appelman
9b1abd6fac
save filesystem node in dav node
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-06 14:40:31 +02:00
John Molakvoæ
47cc5a9405
Merge pull request #29510 from nextcloud/backport/27378/master
2022-04-04 22:15:01 +02:00
Robin Appelman
ff666e648a
Add dav plugin to trigger recalculating of checksums
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-31 07:44:13 +00:00
Robin Appelman
5ae6cefd57
dont re-query fileinfo when getting dav quota
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-28 15:57:28 +02:00
Robin Appelman
a617e1e711
fix check if dav root is folder
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:52 +01:00
Robin Appelman
c80ba69b7a
dont setup full fs after dav auth
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:00:57 +01:00
Julien Veyssier
71a9ebc754
add optional WebDav propfind properties to show number of folders/files inside a folder
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-03-19 21:22:56 +01:00
Robin Appelman
8b22a463e9
Merge pull request #31266 from nextcloud/root-setup-mountprovider
...
move root mount setup to mountproviders
2022-03-04 13:44:05 +00:00
Christopher Ng
67ec9813e3
Make Sabre File exception messages translatable
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-01 23:29:33 +00:00
Robin Appelman
ec15020777
also handle expired pre-write shared lock on dav upload when not using part files
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-25 16:33:27 +01:00
Louis Chemineau
bc2c02f451
Wrap S3 multipart upload exception
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-16 14:56:14 +01:00
Thomas Citharel
46e9f6d0c5
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-14 20:58:29 +01:00
Robin Appelman
c712987878
send request id in response header
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-01 14:24:01 +01:00
Unpublished
854890a734
Add X-Accel-Buffering header to downloads
...
Signed-off-by: Unpublished <unpublished@gmx.net>
2022-01-17 08:17:12 +00:00
Louis Chemineau
69b8044b8f
Set the file's mtime from the headers in bulk upload
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:10:14 +01:00
John Molakvoæ
66ca9baed2
Merge pull request #29948 from nextcloud/enh/webdav-creationdate
2021-12-28 10:13:38 +01:00
John Molakvoæ
5223b0b611
Prevent writing invalid mtime
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-07 09:40:23 +01:00
Julius Härtl
01be1447be
Expose DAV:creationdate for propfind/proppatch
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-29 11:25:48 +01:00
Vincent Petry
99f600270e
Merge pull request #29864 from nextcloud/bugfix/noid/dav-propfind-ctime
...
Allow to fetch the creation time of folders
2021-11-24 11:20:12 +01:00
Julius Härtl
a632ce35f5
Allow to fetch the creation time of folders
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-23 16:55:33 +01:00
Côme Chilliet
5cd5245ca8
Fix dav application tests and code for PHP 8.1
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:29:01 +01: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