Commit Graph

872 Commits

Author SHA1 Message Date
Roeland Jago Douma c5b0efed3b
Merge pull request #11982 from nextcloud/bugfix-stable13/noid/forbid_freebusy_but_allow_local_delivery
[stable13] allow local delivery of schedule message while prohibiting FreeBusy requests
2018-10-23 21:15:08 +02:00
Morris Jobke c3919b844b
Merge pull request #11997 from nextcloud/assemblly-stream-lazy-13
lazy open first source stream in assemblystream
2018-10-23 19:19:51 +02:00
Robin Appelman 13317da19a
lazy open first source stream in assemblystream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-10-23 17:46:09 +02:00
Georg Ehrke aa94064cf5
move disableFreeBusy check from User principal backend to Scheduling Outbox collection. This allows to keep local delivery of scheduling messages while prohibiting FreeBusy requests
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-10-23 10:07:31 +02:00
Roeland Jago Douma 998b646f97
Do not emit preHooks twice on non-part-storage
The old code would emit the hooks twice. Thus having the version written
twice. Which is not very performant as it is first read twice as well.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-21 13:59:00 +02:00
Morris Jobke 48d359ccb6
Merge pull request #11437 from nextcloud/assemblystream-eof-13
[13] AssemblyStream is also eof if we have no more source stream
2018-09-28 17:31:42 +02:00
Robin Appelman eae523eb56
AssemblyStream is also eof if we have no more source stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-09-28 15:41:53 +02:00
Roeland Jago Douma 0d8c0215d0
Merge pull request #10911 from nextcloud/customproperties-ignored-list-13
[13] use the same ignored properties list for both CustomerPropertiesBackends
2018-09-03 09:04:55 +02:00
Robin Appelman 8a3f6a816b
use the same ignored properties list for both CustomerPropertiesBackends
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-08-28 18:34:04 +02:00
Christian ed5224cd46
cast timestamps older than unix epoch to 0
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-08-28 16:57:42 +02:00
Roeland Jago Douma 1a016f21e6
Merge pull request #10837 from nextcloud/dav-search-no-negative-mtime-13
[13] disallow negative mtime in dav search
2018-08-24 17:46:52 +02:00
Robin Appelman d69234e339
disallow negative mtime in dav search
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-08-24 16:25:35 +02:00
Morris Jobke 389b981aa5
Merge pull request #10285 from nextcloud/anonymous-options-13
[13] Add sabre plugin to allow anonymous options requests to the dav root
2018-08-23 16:05:56 +02:00
Thomas Müller 32701e261b
Adding test for table schedulingobjects and fixing postgres LOB
(cherry picked from commit afd4ebf0404e8bcd7cba0bec2dce177e97632f8a)

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-08-06 17:20:49 +02:00
Robin Appelman 1a1b7b1d33
adjust to older library version
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-07-18 16:01:56 +02:00
Robin Appelman 94a367910e
Fix lazy search backend
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-07-18 16:01:02 +02:00
Robin Appelman 821d658ec3
Fix search related results in OPTIONS requests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-07-18 15:32:58 +02:00
Robin Appelman 01413281db
Add sabre plugin to allow anonymous options requests to the dav root
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-07-18 15:20:15 +02:00
Joas Schilling 77f7a95699
Correctly parse the subject parameters for link (un)shares of calendars
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-07-11 09:45:10 +02:00
Robin Appelman 6d68d34f2f
Improved logging of smb connection errors
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-07-03 18:12:31 +02:00
Robin Appelman 547177b482
properly lock the target file on dav upload when not using part files
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-06-25 12:18:18 +02:00
Georg Ehrke fa0c51d1dd
enable caldav for webdav subtree public-calendars
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-06-11 09:15:26 +02:00
Morris Jobke 271bbaa809
Merge pull request #9610 from nextcloud/bugfix-stable13/3830/invitations_for_shared_calendars
[stable13] send invitations for shared calendars
2018-06-01 12:37:07 +02:00
Morris Jobke 5c92da2269
Merge pull request #9707 from nextcloud/bugfix-stable13/noid/override_freebusy_sharing_rules
[stable13] allow admins to override FreeBusy capabilities without modifying ShareAPI capabilities
2018-06-01 12:01:43 +02:00
Georg Ehrke 08ad45e40b
allow admins to override FreeBusy capabilities without modifying ShareAPI capabilities
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-05-31 18:55:55 +02:00
Morris Jobke fa41a4cc21
Remove type hints for PHP 5.6
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-05-31 17:16:47 +02:00
Roeland Jago Douma 4fae9bedc9
Move repairstep to a custom command
People that have issues can run it manually

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-30 13:27:52 +02:00
Roeland Jago Douma 1ea356cd6a
Adding repair step which cleans shares of invalid principals
edacf22fbc

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-30 13:27:51 +02:00
Roeland Jago Douma 0f88f3f00e
CalDAV and CardDAV plugins need to be registered for the principals collection as well
9f2e6431b8

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-30 13:27:51 +02:00
Roeland Jago Douma 3a133b151f
When sharing calendars and addressbooks the principal has to be verified to be valid
d3fb8fcdd3

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-30 13:27:51 +02:00
Roeland Jago Douma ed0069b8e6
Do not load calendar/addressbook plugins if not needed
Fixes #6711
Based on f0fb21cf35

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-30 13:27:51 +02:00
Georg Ehrke f1108b9d26
send invitations for shared calendars
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-05-25 20:47:02 +02:00
Robin Appelman 187acecff7
only allow a single concurrent dav write to a file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-05-04 15:08:56 +02:00
Morris Jobke 5262685e57
Merge pull request #9236 from nextcloud/13-8996
[stable13] Fix webdav support for OneNote clients
2018-04-18 22:46:26 +02:00
Brandon Kirsch 78a6e94b52
Fix webdav support for OneNote clients 2018-04-18 17:40:36 +02:00
Roeland Jago Douma de70df0031
Use multibyte substring
Fixes #7661

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-04-18 17:35:09 +02:00
John Molakvoæ d45a889fe2
Merge pull request #8779 from nextcloud/backport/8255/show-group-display-names
[stable13] Show group display names
2018-04-06 15:14:12 +02:00
Roeland Jago Douma df09b65ee9
Do not treat is-encrypted as customer property
fixes #8977

Else for all files in a folder we would launch off more queries.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-04-04 11:56:59 +02:00
Joas Schilling 2609b30df0
Fix group displaynames in activity
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-12 12:01:37 +01:00
Morris Jobke 0f1567d8fa
Merge pull request #8752 from nextcloud/13-8112
[stable13] Fix integer overflow in ChunkingPlugin
2018-03-09 11:23:28 +01:00
Morris Jobke ba7cc279e6
Fix integer overflow in ChunkingPlugin
Avoids errors when the size exceeds MAX_INT because of the cast to int. Better cast it to float to avoid this.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-03-09 10:27:41 +01:00
Robin Appelman 9342f97a28
emit pre-hooks earlier when not using part files
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-03-08 13:09:09 +01:00
Georg Ehrke 6171940717
generate different UIDs for Birthday, Anniversary and Death event
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-03-06 11:20:53 +01:00
Robin Appelman 38cb28db1f
keep previous exception when transforming to dav exception
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-02-07 14:44:11 +01:00
Roeland Jago Douma f924a6d7d9
Only handle encrypted property on folders
Exposing the encrypted property is required for E2E. However, there is
no need to expose this on files as then it is server side encryption
(which the clients don't care about).

Better to not confuse the output.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-01-30 21:56:32 +01:00
Joas Schilling 73a6717016
Make sure the arrays are arrays
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-18 15:56:24 +01:00
Joas Schilling ed999066e5
Fix the type hints of migrations and correctly inject the wrapped schema into migrations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-17 13:53:09 +01:00
Roeland Jago Douma e5cc8ebe7a
Return proper principal on the uploads collection listing
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-01-10 08:35:20 +01:00
Morris Jobke 876238ce8b
Merge pull request #7533 from nextcloud/oc-28545-handle-oc-total-length-in-new-chunking
[oc] Handle OC-Total-Length in new chunking
2018-01-03 16:18:24 +01:00
Morris Jobke 0b4d18673e
Do not log user errors as log level 4
* hides log entries for the case the parent folder does not exist

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-01-03 11:58:55 +01:00