Anna Larch
05f2dc68fc
[WIP] Add logging to Scheduling Plugin
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-01-04 16:58:00 +07:00
Pawel Boguslawski
b1716b0ef0
Added parameter to disallow calendar subscription via link
...
Added calendar application config parameter `dav.allow_calendar_link_subscriptions` to disallow calendar
subscription via link (i.e. for internal Nextcloud setups). Use
```
occ config:app:set dav allow_calendar_link_subscriptions --value 'yes'
```
to allow (default if not set) and
```
occ config:app:set dav allow_calendar_link_subscriptions --value 'no'
```
to disallow calendar subscription via link.
Author-Change-Id: IB#1126265
Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
2022-11-02 09:36:25 +07:00
Côme Chilliet
b3cd9b5573
Move Dav fileid and permissions logic into OCP\Util to be able to use it for BulkUpload
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-29 13:55:08 +07:00
Vincent Petry
2ee659e547
Fix view-only code after code review comments
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-28 16:53:24 +07:00
Vincent Petry
a95c19e14b
Add share attributes + prevent download permission
...
Makes it possible to store download permission
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-28 16:53:22 +07: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 +07:00
Julien Veyssier
af8b7835b8
remove leading minus which thankfully crashes because this operand does not apply to PsrLoggerAdapter
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-05-04 10:51:23 +07:00
Côme Chilliet
3f132d5678
Fix use of $logger from another scope in apps/dav/lib/Server.php
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-02 10:52:44 +07: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 +07:00
John Molakvoæ
47cc5a9405
Merge pull request #29510 from nextcloud/backport/27378/master
2022-04-04 22:15:01 +07:00
Carl Schwan
7d272c54d0
Add a built-in profiler inside Nextcloud
...
The webui is provided by a seperate application named profiler
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-04 10:28:26 +07: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 +07:00
Julius Härtl
f13c150a56
Add logging around dav exec
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-02-28 11:24:41 +07:00
Thomas Citharel
f695b3af9a
Remove setting defaultUsernamePath dynamically
...
Since Sabre 3.0.6 this is no longer possible.
@see https://github.com/sabre-io/dav/pull/582
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-02-14 19:40:31 +07:00
Robin Appelman
c712987878
send request id in response header
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-01 14:24:01 +07:00
John Molakvoæ
d6a26b2536
Revert "add dav plugin to trigger recalculating of checksums"
2021-11-01 11:26:17 +07:00
John Molakvoæ
e1bf5c1cd3
Merge pull request #27378 from nextcloud/dav-recalc-checksum
2021-11-01 11:25:21 +07:00
Louis Chemineau
def983dc7e
Clean BulkUpload plugin
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-10-16 09:42:07 +07:00
Louis Chemineau
fc6e07705a
Add BulkUpload DAV plugin
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-10-15 11:54:01 +07: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 +07:00
John Molakvoæ
97976746b8
Merge pull request #28084 from nextcloud/bugfix/noid/dav-user-id
...
Make sure that the dav propfind plugins always use the proper user id
2021-07-23 08:31:41 +07: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 +07:00
Daniel Kesselberg
dedf51b6e6
QuotaPlugin expect 1 parameter
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-07-21 17:06:03 +07:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +07:00
Christoph Wurst
f1444eac5d
Export the CalDAV trash bin retention duration as property
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-02 18:10:07 +07:00
Christoph Wurst
d6d8e9215c
Add a trashbin for calendars and calendar objects
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-31 07:49:19 +07:00
Christoph Wurst
d89a75be0b
Update all license headers for Nextcloud 21
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-16 18:48:22 +07:00
Roeland Jago Douma
c5e0ef1972
Don't overwrite the event if we use it later
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-28 13:24:17 +07:00
Roeland Jago Douma
46ce7277c7
Also run the SabreAuthInitEvent for the main server
...
else for example trusted servers breaks
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-27 15:23:27 +07:00
Georg Ehrke
14755d85d6
Add ability to limit sharing to owner
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-18 13:18:00 +07:00
Roeland Jago Douma
7b6b946470
Allow for compression of the PROPFIND responses
...
For now it just gzip and only for propfind (the 99% case). Already saves
a bunch since the propfinds compress so nicely.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-06-06 15:55:04 +07:00
Morris Jobke
ecbc009e2f
Translate the maintenance mode message in webdav
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-05-06 18:11:54 +07:00
Christoph Wurst
cb057829f7
Update license headers for 19
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-29 11:57:22 +07:00
Thomas Citharel
ebdf66b706
Provide dav setting for user's default calendar
...
And add tests to handle schedule-default-calendar-URL
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-04-13 15:07:42 +07:00
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
...
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.
This also removes and empty lines from method/function bodies at the
beginning and end.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 14:19:56 +07:00
Christoph Wurst
afbd9c4e6e
Unify function spacing to PSR2 recommendation
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 13:54:22 +07:00
Georg Ehrke
52ba75f644
Sabre/DAV 4.0: beforeMethod is now beforeMethod:*
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-03-27 12:53:44 +07:00
Christoph Wurst
5bf3d1bb38
Update license headers
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-05 15:38:45 +07:00
Georg Ehrke
fb89bc3931
Add refresh-interval to exported calendars
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-11-27 14:51:17 +07:00
Roeland Jago Douma
68748d4f85
Some php-cs fixes
...
* Order the imports
* No leading slash on imports
* Empty line before namespace
* One line per import
* Empty after imports
* Emmpty line at bottom of file
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-22 20:52:10 +07:00
Roeland Jago Douma
01a4644cad
Use the proxymapper to obtain valid proxy data
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-08-15 15:41:27 +07:00
Morris Jobke
389c2095a6
Use dependency injection for app manager
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-13 00:42:39 +07:00
John Molakvoæ (skjnldsv)
cea53d0a07
Add HasPhoto DAV plugin
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-02-27 09:04:01 +07:00
Georg Ehrke
16fec60e8f
Add Apple Provisioning profile
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-01-30 19:50:02 +07:00
John Molakvoæ (skjnldsv)
1d2d7fd60d
Log failure on parsing
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-01-04 20:04:13 +07:00
Georg Ehrke
30d13bb760
cache webcal calendars on server
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-11-07 13:25:14 +07:00
John Molakvoæ (skjnldsv)
60d8b56856
Added multi-get vcf download plugin
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-04 20:01:49 +07:00
Morris Jobke
79f16f9d46
Merge pull request #10037 from nextcloud/dav-options-search
...
Fix search related results in OPTIONS requests
2018-06-29 09:36:12 +07:00
Robin Appelman
b21bec5c73
Fix search related results in OPTIONS requests
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-06-28 14:54:46 +07:00
Georg Ehrke
2da510af0b
add resource / room principals
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-06-25 04:58:07 +07:00