Joas Schilling
a0d0edc754
Make non-public-method protected
2016-02-22 15:26:59 +01:00
Pierre Jochem
1a8a667863
Solution for Proposal #19974
...
Show username when writing into owncloud.log
2016-02-22 10:02:45 +01:00
Thomas Müller
66f0ba837f
Merge pull request #22348 from owncloud/issue-21812-calendar-old-caldav-url
...
Fix old calendar dav urls
2016-02-19 13:33:16 +01:00
Joas Schilling
b216be8cca
Add correct principals for the current user before ACL check
2016-02-19 12:35:33 +01:00
Roeland Jago Douma
751d3df469
Only add checksum headers for files
...
We can only add the checksum header for real ownCloud files (so we have
a fileinfo object etc).
2016-02-19 10:56:43 +01:00
Thomas Müller
f6e61a296f
Merge pull request #22424 from owncloud/add-generic-csrf-protection-to-webdav
...
Require CSRF token for non WebDAV authenticated requests
2016-02-19 09:13:00 +01:00
Lukas Reschke
9b3c4e8dc4
Require CSRF token for non WebDAV authenticated requests
2016-02-18 11:18:36 +01:00
Vincent Petry
53eff9792f
Check the quota on the actual file's storage in dav quota plugin
...
Fix quota plugin to use the correct file name when chunking
When chunking, the file name is the compound name, so need to convert it
to the correct final file name before doing the free space check.
This ensures that in the case of shared files, the correct storage is
used for the quota check.
2016-02-17 11:52:49 +01:00
Robin Appelman
c3e4ced64a
fix getNodeForPath for non existing part files
2016-02-11 17:22:40 +01:00
Thomas Müller
26939a2873
Merge pull request #22290 from owncloud/dav-upload-scan-in-lock
...
scan the file in the write lock when uploading over dav
2016-02-11 14:02:08 +01:00
Robin Appelman
bef70e9448
also fix lock order for chunked dav uploads
2016-02-10 16:31:32 +01:00
Robin Appelman
65554ec333
scan the file in the write lock when uploading over dav
2016-02-10 16:21:13 +01:00
Thomas Müller
c1d21cf873
Merge pull request #22263 from owncloud/fix-group-principals
...
Fix group principal
2016-02-10 14:22:18 +01:00
Thomas Müller
2e94d34dfd
Fix group principal
2016-02-10 10:43:32 +01:00
C. Montero Luque
f64dbc67c6
Merge pull request #20928 from owncloud/publicdav-check-permissions
...
Check that the owner of a link share still has share permissions on access
2016-02-09 22:01:08 +01:00
Robin Appelman
fd9166488b
Check that the owner of a link share still has share permissions on access
2016-02-09 15:02:34 +01:00
Joas Schilling
e8d9c288bc
Stop when a mid result is empty
2016-02-09 12:07:30 +01:00
Vincent Petry
3028684d89
Fix system tag filter AND condition
...
If one of the results is empty, no need to do array_intersect and return
an empty result directly.
2016-02-09 11:39:22 +01:00
Thomas Müller
98497aa423
Merge pull request #22199 from owncloud/multiple_checksums
...
Make checksum propfind future proof
2016-02-09 09:10:32 +01:00
Vincent Petry
2f1a60a64d
Add REPORT on files endpoint for filtering
...
For now only supports filtering by system tags
2016-02-08 21:04:53 +01:00
Roeland Jago Douma
5486a2b149
For possible future usage allow multiple checksums
...
Instead of returning
<oc:checksum>TYPE:CHECKSUM</oc:checksum>
Return
<oc:checksums>
<oc:checksum>TYPE:CHECKSUM</oc:checksum>
</oc:checksums>
This will allow us to expand in the future to multiple checksums.
Without doing just string concatenation.
And even for a single checksum it is now correct.
2016-02-08 11:55:07 +01:00
Thomas Müller
a67f7ad1f3
Remove calendar-proxy support - did this ever work?
2016-02-08 10:52:30 +01:00
Thomas Müller
cca2ade199
Adding pre oc 9.0 CardDAV endpoint for migration of old clients
2016-02-08 10:52:30 +01:00
Roeland Jago Douma
2035a179bc
Add store/retrieve checksums
...
* Add extra db column to filecache
* Bump version
* Update filecache code to actually handle checksum
* Webdav code to store/retrieve checksums
2016-02-03 09:03:51 +01:00
Arthur Schiwon
6dc793338a
url encode id
2016-01-29 13:28:17 +01:00
Arthur Schiwon
d2882b9021
Comments WebDAV adjustements
2016-01-29 13:08:02 +01:00
Lukas Reschke
b6ca05f9a0
Add fake locking support for OneNote 2013
...
Fixes https://github.com/owncloud/core/issues/21925
2016-01-26 17:32:52 +01:00
Thomas Müller
6cb95f4e42
Merge pull request #21853 from owncloud/tags-fixpropertyma
...
Fix oc:tags tag list serializer
2016-01-26 11:37:37 +01:00
Thomas Müller
9d36972e0f
Merge pull request #21401 from owncloud/dav-cache-getchildren
...
Put nodes from Directory->getChildren in the ObjectTree cache
2016-01-25 10:02:32 +01:00
Vincent Petry
2ef62b0115
Fix TagList serializer
2016-01-22 15:55:54 +01:00
Vincent Petry
2f3e62a27f
Fix oc:tags tag list serializer
...
Fixes propfind/proppatch of oc:tags
2016-01-22 14:07:26 +01:00
Thomas Müller
992ccc899a
Fix unit test - optimize code
2016-01-18 22:14:30 +01:00
Thomas Müller
8b8edc1f5d
Show group shared addressbooks
2016-01-18 22:14:30 +01:00
Robin Appelman
97a2fb8a54
Put nodes from Directory->getChildren in the ObjectTree cache
2016-01-17 09:33:05 +01:00
Thomas Müller
6a7be4d277
Merge pull request #20927 from owncloud/handle-return-code-on-webdav-put
...
Handle return code of streamCopy in WebDAV put
2016-01-15 13:33:01 +01:00
Robin Appelman
5fae07f422
add scanner interface
2016-01-14 12:54:42 +01:00
Joas Schilling
3bdcfef395
Remove the listener plugin
2016-01-13 10:33:08 +01:00
Thomas Müller
682821c71e
Happy new year!
2016-01-12 15:02:18 +01:00
Morris Jobke
43f5d8ab70
Handle return code of streamCopy in WebDAV put
...
* throw a different exception if streamCopy failed
2016-01-11 12:13:01 +01:00
Thomas Müller
1f21f0eb73
Merge pull request #21491 from owncloud/webdav_auth_no_basic_auth
...
Also allow 'only cookie' auth to webdav
2016-01-08 20:09:16 +01:00
Thomas Müller
f9c08112da
Adding group principals to new dav endpoint
2016-01-08 12:11:02 +01:00
Roeland Jago Douma
4a38793d11
Allow only cookie auth to webdav
2016-01-07 10:44:26 +01:00
Roeland Jago Douma
4f20e3bac0
Removed deprecated OC_Helper::getSecureMimeType
2015-12-18 13:42:59 +01:00
Morris Jobke
66c0f4eb59
Use name of ICollection for exception message
...
* fixes #21230
2015-12-16 14:44:28 +01:00
Thomas Müller
f799b27f0e
Merge pull request #21144 from owncloud/dav-auth-checkduplicateheader
...
Properly check X-Requested-With header in case of multiple values
2015-12-11 11:44:43 +01:00
Vincent Petry
13ec2bda2d
Properly check X-Requested-With header in case of multiple values
...
Saw this happening in IE8...
2015-12-11 11:22:38 +01:00
Vincent Petry
174f7599e5
Catch exception when querying direct download link
2015-12-10 16:17:44 +01:00
Vincent Petry
acdd106a24
Fix namespace XML output of files and tags dav
2015-12-03 15:55:10 +01:00
Thomas Müller
1d30f0fcdb
Merge pull request #20760 from owncloud/webdav-authredirectfix
...
Only reject ajax auth if user is really logged out
2015-11-27 13:16:01 +01:00
Vincent Petry
d02e0eaaf1
Only reject ajax auth if user is really logged out
2015-11-26 17:04:21 +01:00
Thomas Müller
80c43ffc6c
Merge pull request #20702 from owncloud/move-user-principal-into-subfolder
...
Users are available under it's own principal resource named 'principa…
2015-11-26 16:49:49 +01:00
Thomas Müller
b799e42b4e
Introduce \OCP\IUser::getEMailAddress()
2015-11-25 22:23:34 +01:00
Thomas Müller
c25a7cc4da
Users are available under it's own principal resource named 'principals/users' this will allow us to introduce e.g. groups as principals (one day) and system specific principals (needed for federation)
2015-11-25 22:23:34 +01:00
Robin Appelman
b025f07fb7
Make Cache\Updater per storage
2015-11-25 14:16:00 +01:00
Thomas Müller
ae36c01b95
Adjust sabre changes in core
2015-11-24 15:11:54 +01:00
Vincent Petry
055d58bfc3
Do not authenticate over ajax
...
This makes sure that whenever a Webdav call is done through Ajax, if the
session has expired, it will not send back a challenge but a simple 401
response. Without this fix, the default code would send back a challenge
and trigger the browser's basic auth dialog.
2015-11-23 09:44:30 +01:00
Thomas Müller
79bbda994b
Merge pull request #16902 from owncloud/jsocclient
...
Web UI uses Webdav instead of ajax/* calls
2015-11-23 09:38:01 +01:00
Vincent Petry
ce897f80e6
Send download token as cookie to tell the UI that it started
...
This used to be done in the ajax download code. Now that single file
downloads are going through Webdav, the token handling needs to be done
here too.
2015-11-22 16:05:51 +01:00
Scrutinizer Auto-Fixer
5573029485
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-11-20 15:42:34 +00:00
Thomas Müller
0f434e0b9b
Implement CSRF protection
2015-11-19 11:34:59 +01:00
Thomas Müller
3869db1290
Merge pull request #20537 from owncloud/add-internal-locking-to-new-webdav-endpoint
...
Add internal locking plugin
2015-11-19 10:55:07 +01:00
Vincent Petry
978303e03e
Add internal fileid to webdav response
...
Introduce a new property "oc:fileid" to return the internal file id.
This is because the original "oc:id" property is a compound and it is
not possible to extract the real id without knowing the instance id. The
instance id is not available to external clients.
2015-11-18 11:41:04 +01:00
Thomas Müller
aba119951e
Merge pull request #20494 from owncloud/storage-forbidden-exception
...
Allow storage wrappers to through a forbidden exception with retry information for clients
2015-11-18 09:13:45 +01:00
Thomas Müller
20c251a575
Merge pull request #20188 from owncloud/webdav-exposeshareowner
...
Expose share owner id and display name via files webdav
2015-11-17 13:40:25 +01:00
Joas Schilling
e2cfcd992c
Allow storage wrappers to through a forbidden exception with retry information
2015-11-17 10:39:52 +01:00
Thomas Müller
5fc414abfd
Add internal locking plugin - fixes #20502
2015-11-16 16:09:04 +01:00
Vincent Petry
d62f410f92
Add "owner-id" and "owner-display-name" Webdav properties
2015-11-16 15:31:41 +01:00
Lukas Reschke
a3fc40921b
Add fake locker plugin for WebDAVFS
...
WebDAVFS as used by Finder requires a Class 2 compatible WebDAV server. This change introduces a fake locking provider which will simply advertise Locking support when a request originates from WebDAVFS. It will also return successful LOCK and UNLOCK responses.
2015-11-13 23:31:08 +01:00
Thomas Müller
a394c1887f
Ensure the user folder exists
2015-11-10 10:07:46 +01:00
Vincent Petry
52e213f026
Fix TagList namespace in property map
2015-11-02 14:19:01 +01:00
Robin Appelman
c309193039
Merge pull request #17104 from owncloud/chunked-upload-locking
...
locking for chunked dav upload
2015-10-27 16:58:00 +01:00
Roeland Jago Douma
db17598a0e
Verify the src exists in webdav MOVE
...
* Unit test added
2015-10-27 09:22:33 +01:00
Lukas Reschke
cddc9abc06
Add tests for Sabre Auth plugin + make getCurrentUser compatible
2015-10-23 17:30:47 +02:00
Robin Appelman
283798a220
remove locking for chunks
2015-10-20 14:15:59 +02:00
Robin Appelman
ddc8749814
Adjust for wide locking
2015-10-20 14:14:56 +02:00
Robin Appelman
23eaf27a5b
locking for chunked dav upload
2015-10-20 14:14:56 +02:00
Roeland Jago Douma
ca27024fa2
Fix webdav access
...
* Correct namespace
* Pass the EventDispatcher to the webDAV server
2015-10-16 13:17:12 +02:00
Thomas Müller
2ff55560e2
Remove $ETagFunction - it was never used
2015-10-16 13:17:12 +02:00
Thomas Müller
f2889dc6e4
Consolidate webdav code - move all to one app
2015-10-16 13:17:12 +02:00