Christoph Wurst
384efc8958
Merge pull request #32519 from nextcloud/rename-webcal-user-agent
...
Rename user-agent used by the Webcal Refresh Service
2022-05-23 09:45:21 +02:00
Nextcloud bot
cb7c45b2d4
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-21 02:33:50 +00:00
Thomas Citharel
424fc1b736
Rename user-agent used by the Webcal Refresh Service
...
Some services don't like the "crawler" inside the previous user-agent.
Closes https://github.com/nextcloud/calendar/issues/4232
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-20 16:23:40 +02:00
blizzz
2c5d604a76
Merge pull request #32442 from nextcloud/debt/noid/hello-chunkperf
...
Bye Bye chunkperf.php 👋
2022-05-19 12:56:20 +02:00
Thomas Citharel
cf8b98bf5f
Make sure activities are not created when a deleted calendar object expires
...
Closes https://github.com/nextcloud/activity/issues/784
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-18 11:17:27 +02:00
Anna Larch
440f69bd69
Add email validation
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-05-18 07:54:30 +02:00
Daniel Kesselberg
33cd7bfacc
Remove chunkperf.php
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-05-17 17:25:10 +02:00
Daniel Kesselberg
6281c2da51
Make chunkperf.php work again
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-05-17 17:25:10 +02:00
Thomas Citharel
741c44385f
Increase loglevel of Webcal parsing errors and modernize code
...
Closes #31612
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-17 15:11:58 +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
Thomas Citharel
28b0da59ce
Fix a doctype in OCP for IAddressBook
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-17 15:09:49 +02:00
Thomas Citharel
060c8d7c4b
Add some typed properties
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-17 15:09:49 +02:00
Thomas Citharel
4bb31c021e
Remove all legacy event dispatchers from CalDAV & CardDAV backends
...
Move them to proper EventListeners and test them
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-17 15:09:46 +02:00
Carl Schwan
07c9bf1adf
Merge pull request #31943 from nextcloud/dav-cleanup
...
Cleanup dav
2022-05-17 14:59:59 +02:00
Nextcloud bot
67472b7167
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-17 02:29:30 +00:00
Thomas Citharel
bd8b2137e2
Allow DAV Object properties
...
The current implementation only saves them as string. It seems they can
be more complex than that, and that objects were saved directly.
You may find such objects saved in some production databases by
executing:
```sql
SELECT * from oc_properties where propertyvalue = 'Object';
```
This commit adds a repair job to clean all of these "broken" properties
values, adds a new database column to save the type of the property, and
handles converting from and to correct values.
Implementation is very similar to SabreDAV's own PDO backend: 4921806dfb/sabre/dav/lib/DAV/PropertyStorage/Backend/PDO.php
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-16 15:02:00 +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
e71db40492
Wrap multiple inserts inside a transation
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-12 21:02:53 +02:00
Carl Schwan
eef973e85b
Minor optimizations for saving user personal information
...
* Remove double hook: the OC_User::changeUser triggers an
OC\AccountManager::userUpdated and the app is already listening to this
signal in its Application definition
* Make createCard not check if an card exists if we already checked
previously. We also don't try to get the card if the user is disabled
as we don't use the card in this case
We this change we go from 100 DB requests to 80 DB requests when saving
an user email address.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
(cherry picked from commit c6fd482edf33214a9ad4787e4cac278f871fa7c8)
2022-05-12 21:02:52 +02:00
Thomas Citharel
a7b2e8a593
Refactor CalDAV\Schedule\PluginTest for depreciated phpunit methods
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-12 15:28:36 +02:00
Thomas Citharel
8d7154318f
Put calendar invites into the user's first available calendar
...
If there's no default calendar and we can't find anything with URI
'personal', instead of creating a new one, start by using the first
"real personal calendar" available.
If not, then we create the default one.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-12 15:28:36 +02:00
Nextcloud bot
9c42717216
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-06 02:28:40 +00: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
Nextcloud bot
c752405fff
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-05 02:28:30 +00:00
Carl Schwan
645bc022e2
Merge pull request #32262 from nextcloud/fix/noid/extra-leading-minus
...
Remove leading "minus"
2022-05-04 13:48:54 +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
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 +02:00
Nextcloud bot
8fecf3467f
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-04 02:30:36 +00:00
Côme Chilliet
0bceaee444
Merge pull request #31775 from nextcloud/fix/migrate-dav-away-from-ilogger
...
Migrate dav application from ILogger to LoggerInterface
2022-05-03 10:12:20 +02:00
Nextcloud bot
3197ae83a4
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-02 13:12:35 +00: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 +02:00
Côme Chilliet
771028dada
Add missing use for LoggerInterface
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-02 10:52:44 +02:00
Côme Chilliet
5fb9de6248
Migrate last instances of $server::getLogger() from dav
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-02 10:52:44 +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
Côme Chilliet
49b650c4a4
Fix namespace of RefreshWebcalServiceTest
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-02 10:52:43 +02:00
Côme Chilliet
1a55ba5e3b
Fix PublishingTest class name
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-02 10:52:43 +02:00
Côme Chilliet
1d5191b94d
Remove use of mixed type which is not available in PHP 7.4
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-02 10:52:37 +02:00
blizzz
8342964db0
Merge pull request #32191 from nextcloud/handle-calendar-reminders-with-infinite-recurrence
...
Handle processing reminders for calendar objects with an infinite number of recurrences
2022-04-28 13:01:13 +02:00
Thomas Citharel
5494dd736d
Handle processing reminders for calendar objects with an infinite number
...
of recurrences
Closes #29896
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-27 17:17:22 +02:00
Nextcloud bot
1958c1a1ee
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-25 02:27:51 +00:00
Nextcloud bot
20d7bf8a88
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-24 02:28:28 +00:00
Nextcloud bot
d36b3e5644
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-23 02:27:54 +00: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
Julius Härtl
a54fc45311
Add known dav properties to ignore list
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-21 17:01:42 +02:00
Christopher Ng
522cc891c7
Fix warning
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-20 04:47:58 +00:00
Christopher Ng
e7f293ba63
Update naming of address book exports
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-20 04:46:28 +00:00
Christopher Ng
e670f692cc
Fix export of shared calendars
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-20 04:43:30 +00:00
Nextcloud bot
1ea252fad5
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-20 02:28:42 +00: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
Nextcloud bot
6fa62e9266
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-17 02:26:47 +00:00
Nextcloud bot
6dd13ba827
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-15 02:27:18 +00:00
Joas Schilling
bd6182b791
Master is now 25
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-14 22:12:53 +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
Vincent Petry
3ca797129c
Merge pull request #31839 from nextcloud/feat/metadata-server
...
Add a metadata service to store file metadata
2022-04-14 13:39:31 +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
Nextcloud bot
45a156edd4
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-14 02:28:46 +00:00
Vincent Petry
78c8e57896
Fix migrators according to exceptions
...
Fixed syntax errors.
Removed if condition for copyToFolder since it's void now.
Change signature of setMigratorVersions to also be void.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-04-13 16:52:40 +02:00
Côme Chilliet
0fd72f4355
Adapt existing migrators to new API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-13 16:52:40 +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
Joas Schilling
c233acce14
Merge pull request #31942 from nextcloud/fix/dav-deprecated-warning
...
Fix warning about optional parameter before required one
2022-04-13 07:31:16 +02:00
Nextcloud bot
1ddb7aa457
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-13 02:28:25 +00:00
Côme Chilliet
2049a21348
Fix warning about optional parameter before required one
...
Fixes this warning:
PHP Deprecated: Required parameter $logger follows optional parameter $principalPrefix in /var/www/html/apps/dav/lib/CalDAV/CalendarRoot.php on line 37
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-12 14:26:24 +02:00
Valdnet
13b5118c76
l10n: Remove comma
...
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-04-12 10:15:10 +02:00
Côme Chilliet
dda51d49d7
Use Migrators id instead of class names
...
This will help with UI and means migrators can move in namespaces
without changing export format.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-11 13:59:27 +00:00
Vincent Petry
e36233dbab
Merge pull request #31911 from nextcloud/enh/extend-migrators
...
Extend migrators needed for implementation of the API
2022-04-11 10:24:20 +02:00
Nextcloud bot
6f9d726ccf
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-09 02:27:45 +00:00
Christopher Ng
e08b8c47a2
Extend calendar migrator
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-08 19:31:22 +00:00
Christopher Ng
d8eaae8217
Extend contacts migrator
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-08 19:31:22 +00: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
Nextcloud bot
69378e1534
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-08 02:28:23 +00:00
Vincent Petry
4bb8e9472e
Merge pull request #31673 from nextcloud/feat/contacts-migration
...
Contacts migration
2022-04-07 17:36:53 +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
Nextcloud bot
d2289519a3
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-06 02:27:52 +00:00
Nextcloud bot
34c9b572eb
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-05 02:28:03 +00:00
John Molakvoæ
47cc5a9405
Merge pull request #29510 from nextcloud/backport/27378/master
2022-04-04 22:15:01 +02:00
Robin Appelman
ccc3482468
Merge pull request #31734 from nextcloud/dav-quota-dont-query
...
dont re-query fileinfo when getting dav quota
2022-04-04 19:02:54 +00:00
Carl Schwan
135bdb3d58
Merge pull request #30823 from nextcloud/work/profiler
...
Built-in profiler
This adds the required API for collecting information about requests. This information
can then be displayed with the new 'profiler' app.
2022-04-04 12:56:37 +02: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 +02:00
Nextcloud bot
94004a7bd4
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-04 02:27:15 +00:00
Christoph Wurst
5f2afad84e
Merge pull request #30438 from nextcloud/fix/caldav-trash-bin-deleted-at-int
...
Fix column/property types in CalDAV
2022-04-01 17:05:53 +02:00
Nextcloud bot
770a434f39
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-01 02:28:13 +00:00
Christopher Ng
e3d967f732
Test metadata equality
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-31 18:23:02 +00: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
Christopher Ng
53c9edc64d
Output literal null string
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-30 18:28:49 +00:00
Christopher Ng
d3505a2ed0
Access by array key instead of destructuring
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-30 18:28:49 +00:00
Christopher Ng
1a34c7f240
Integration tests
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-30 18:28:49 +00:00
Christopher Ng
568393292a
Move calendar test asset files
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-30 18:28:49 +00:00
Christopher Ng
38d4c5290b
Contacts export and import
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-30 18:28:49 +00:00
Côme Chilliet
d84e87eab9
Build autoloader with new composer version
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-30 15:40:23 +02:00
Christopher Ng
cdb93e7f1d
Show filename in output message
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-29 23:12:52 +00:00
Christopher Ng
e4f1d4192a
Skip import of current calendar on error
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-29 23:12:52 +00:00
Côme Chilliet
765999f454
Merge pull request #31609 from nextcloud/fix/migrate-away-from-ilogger
...
Migrate from ILogger to LoggerInterface in lib/private
2022-03-29 09:39:38 +02:00
Joas Schilling
e1e003f569
Also comment out in test
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-28 17:17:29 +02:00
Vincent Petry
d31bc9fa34
Disable bulk upload by not advertising it
...
It has been reported broken on many instances.
Disable it for now until it can be fixed.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-03-28 17:17:22 +02: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