Jan-Philipp Litza
9348e3d2f6
dav: Fix handling of chunked WebDAV upload
...
When $data is null (which can happen when $request->getBodyAsStream() returns
null), the Exceptions says "copied bytes: 0, expected filesize: 0", which
sounds more like success...
2019-01-28 17:14:22 +01:00
John Molakvoæ
b1d4c3f50b
Merge pull request #13642 from nextcloud/contacts-menu-url-fix
...
Allow access to addressbook unique uri
2019-01-22 13:00:07 +01:00
John Molakvoæ (skjnldsv)
22112bf71d
Allow access to addressbook unique uri
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Co-Authored-By: Joas Schilling <coding@schilljs.com>
2019-01-22 10:03:56 +01:00
Nextcloud bot
af36746d7c
[tx-robot] updated from transifex
2019-01-22 01:12:25 +00:00
Nextcloud bot
f12b589d40
[tx-robot] updated from transifex
2019-01-19 01:12:22 +00:00
Nextcloud bot
ac6ee0b8b7
[tx-robot] updated from transifex
2019-01-17 01:12:15 +00:00
Morris Jobke
cec72536de
Merge pull request #13511 from nextcloud/bugfix/noid/remove-orphan-event-and-contact-data
...
Remove orphan event and contacts data
2019-01-16 22:54:40 +01:00
Thomas Citharel
3180ddd202
Handle moving calendar to an user who already has the share
...
Extra:
* Fix @ChristophWurst style remarks
* Add a Note that share links have changed when calendars has user shares (see #13603 )
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Fix forgotten test change
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-16 13:58:34 +01:00
Thomas Citharel
4864b1865b
Don't check group shares if shareWithGroupMembersOnly is false
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Remove the system user check
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-16 13:58:34 +01:00
Georg Ehrke
4a2238c75b
add list-calendars command
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Rebase and delete URI suggestion part
Invite to use occ dav:list-calendars instead
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Fix autoload
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Use injection & test everything
And rebase
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Add test for ListCalendars and refactoring
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Fix indentation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-16 13:58:33 +01:00
Thomas Citharel
943d48cb3e
Add command to move a calendar from an user to another
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Add a basic check for displaynames in case we fail to get calendar from uri and put some sf console styles & refactor a bit
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
basic Tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
add forgotten createNamedParameter()
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-16 13:58:33 +01:00
Nextcloud bot
e35a5ef387
[tx-robot] updated from transifex
2019-01-16 01:12:34 +00:00
Nextcloud bot
56ad07b85e
[tx-robot] updated from transifex
2019-01-15 01:12:14 +00:00
Joas Schilling
4149d428d3
Principals can be principal/user/<name> or principal/<name> from legacy installs
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-14 11:21:41 +01:00
Nextcloud bot
8edd9b0e33
[tx-robot] updated from transifex
2019-01-14 01:12:00 +00:00
Nextcloud bot
363c0c31f4
[tx-robot] updated from transifex
2019-01-13 01:12:53 +00:00
Nextcloud bot
ce89fe7f39
[tx-robot] updated from transifex
2019-01-12 01:11:54 +00:00
Joas Schilling
f88e7648d5
Remove orphan event and contacts data
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-11 13:03:53 +01:00
Roeland Jago Douma
12e24ed6e7
Check for no longer existing calendars
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-11 09:46:55 +01:00
Nextcloud bot
75b8e98f8e
[tx-robot] updated from transifex
2019-01-11 01:12:31 +00:00
Joas Schilling
7d9f12a29c
Prevent php info about missing index for old events
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-09 14:43:51 +01:00
Roeland Jago Douma
8593edd66d
Merge pull request #13430 from nextcloud/bugfix/13331/respect-classification-of-calendar-events-in-activity-stream
...
Respect classification of calendar events in activity stream
2019-01-09 10:03:23 +01:00
Joas Schilling
9f2d14447f
Add a repair step to remove sensitive event activity
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-08 18:39:40 +01:00
Joas Schilling
32d76c7c92
Correctly handle the classification of events in the activity stream
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-08 17:46:07 +01:00
Morris Jobke
2bd98daaa2
Merge pull request #12227 from nextcloud/bugfix/cleanu_upload_folders
...
Background job to cleanup leftover chunked uploads
2019-01-07 11:19:43 +01:00
Roeland Jago Douma
846d21e7f5
Merge pull request #13117 from nextcloud/vcard-avatar-fixes
...
Allow URI as data for vcard PHOTO
2019-01-04 21:33:59 +01:00
Morris Jobke
7f5c38bb60
Update apps/dav/lib/CardDAV/PhotoCache.php
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Co-Authored-By: skjnldsv <skjnldsv@users.noreply.github.com>
2019-01-04 20:04:13 +01:00
John Molakvoæ (skjnldsv)
1d2d7fd60d
Log failure on parsing
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-01-04 20:04:13 +01:00
John Molakvoæ (skjnldsv)
fa6c257084
Allow URI as data for vcard PHOTO
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-01-04 20:04:13 +01:00
Bastien Durel
4535cc50ad
check anonymous OPTIONS requests file in root (not in subdir)
...
Signed-off-by: Bastien Durel <bastien@durel.org>
2019-01-04 18:42:42 +00:00
Roeland Jago Douma
adb2b9a2f8
Add live repair step to cleanup old chunks
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-04 09:21:21 +01:00
Roeland Jago Douma
cb742e7045
Background job to cleanup leftover chunked uploads
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-04 09:21:21 +01:00
Nextcloud bot
8d5b74b6b6
[tx-robot] updated from transifex
2018-12-31 01:11:41 +00:00
Nextcloud bot
eeceb684e8
[tx-robot] updated from transifex
2018-12-30 01:12:41 +00:00
Nextcloud bot
aa00b2b277
[tx-robot] updated from transifex
2018-12-29 01:11:43 +00:00
Nextcloud bot
760c502f3c
[tx-robot] updated from transifex
2018-12-28 01:11:49 +00:00
Nextcloud bot
1c3f468d56
[tx-robot] updated from transifex
2018-12-27 01:11:41 +00:00
Nextcloud bot
3c83925f97
[tx-robot] updated from transifex
2018-12-26 01:11:56 +00:00
Nextcloud bot
e62be9e41e
[tx-robot] updated from transifex
2018-12-25 01:11:36 +00:00
Nextcloud bot
f5286bcb07
[tx-robot] updated from transifex
2018-12-23 01:12:27 +00:00
Nextcloud bot
c0a6ad0a72
[tx-robot] updated from transifex
2018-12-21 01:11:48 +00:00
Nextcloud bot
3d53398d07
[tx-robot] updated from transifex
2018-12-19 01:11:46 +00:00
blizzz
e7950a5bd6
Merge pull request #12693 from nextcloud/fix/11474/fix-first-ldap-login
...
fix exception on LDAP mapping during login
2018-12-17 13:07:21 +01:00
Nextcloud bot
ffd2410a7e
[tx-robot] updated from transifex
2018-12-17 01:11:33 +00:00
Nextcloud bot
3068f07ad9
[tx-robot] updated from transifex
2018-12-16 01:12:32 +00:00
Roeland Jago Douma
d41d3d8bf3
If the parent is not cached we should request the file
...
Else we ignore all incomming shares. Which basically does 💥
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-06 21:59:28 +01:00
Roeland Jago Douma
8ddc0de2f4
Merge pull request #12814 from nextcloud/fix/9058/no_user_enumartion_if_disabled
...
No user enumeration on DAV if disabled
2018-12-05 20:58:29 +01:00
Morris Jobke
d8314b102e
Merge pull request #12624 from nextcloud/bugfix/noid/validate-all-rich-objects
...
Validate all rich objects
2018-12-04 22:48:54 +01:00
Roeland Jago Douma
58ca6b1554
No DAV user enumeration if disabled
...
Fixes #9058
If the option to autocomplete users is disabled. We also should not
enumerate the users on this endpoint.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-04 15:33:07 +01:00
Morris Jobke
64716dd569
Merge pull request #12813 from nextcloud/fix/system_address_book
...
Fix the system address book
2018-12-04 15:19:49 +01:00
Roeland Jago Douma
29eff7b122
Fix the system address book
...
c23a66cda4
broke the system address book.
We now move the ACL rules for this special case up and all is good in
the world again.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-04 13:33:03 +01:00
Roeland Jago Douma
43cb51d374
Merge pull request #12808 from nextcloud/fix/12774/anonymous_options_only_anoynoums
...
Only run the AnonymousOptionsPlugion on Anonymous requests
2018-12-04 13:10:22 +01:00
Roeland Jago Douma
28474612e4
Only run the AnonymousOptionsPlugion on Anonymous requests
...
Fixes #12744
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-04 11:55:04 +01:00
Nextcloud bot
95d33cd889
[tx-robot] updated from transifex
2018-12-04 01:12:05 +00:00
Nextcloud bot
68f04686a0
[tx-robot] updated from transifex
2018-11-29 01:11:34 +00:00
Arthur Schiwon
ea283c0248
be careful with mixed return values even if it may look unsuspicious…
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-11-27 17:16:58 +01:00
Nextcloud bot
e8886fb63a
[tx-robot] updated from transifex
2018-11-27 01:11:34 +00:00
Robin Appelman
ffd7778040
extend anonymous options to work on every dav url
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-11-23 15:36:40 +01:00
Joas Schilling
99bcc1363e
Fix wrong used type
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-23 12:39:02 +01:00
Joas Schilling
1751c28c28
Bump versions of server and the requirements of apps
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-23 10:28:40 +01:00
Morris Jobke
8e65f08617
Merge pull request #12500 from nextcloud/swift-object-not-found
...
forward object not found error in swift as dav 404
2018-11-20 09:49:57 +01:00
Robin Appelman
35251928d5
forward object not found error in switch as dav 404
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-11-19 11:34:38 +01:00
Nextcloud bot
8bf7ec26e0
[tx-robot] updated from transifex
2018-11-18 01:12:58 +00:00
Morris Jobke
a4d81ba164
Merge pull request #12458 from nextcloud/bugfix/dav_shares_hickup
...
fixes dav share issue with owner
2018-11-15 13:32:54 +01:00
Georg Ehrke
7179ffe37b
fix caldav tests
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-11-15 12:35:05 +01:00
Morris Jobke
d70b010432
Merge pull request #12447 from nextcloud/bugfix/12446/fix-oracle-install-again
...
Shorten index name of calendar changes table
2018-11-15 10:47:51 +01:00
Nextcloud bot
10c9b37461
[tx-robot] updated from transifex
2018-11-15 01:12:14 +00:00
Georg Ehrke
c23a66cda4
fixes dav share issue with owner
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-11-14 21:49:00 +01:00
Julius Härtl
5a5d46b1b8
Load apps that have a dav type set before the dav server plugins
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-14 11:01:42 +01:00
Joas Schilling
aa88254f64
Shorten index name of calendar changes table
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-14 10:14:23 +01:00
Morris Jobke
3c5e43898e
Merge pull request #12275 from nextcloud/bugfix/11975/oracle_calendar_subscriptions_source
...
Fix Calendarsubscriptions source column change on Oracle
2018-11-13 16:34:32 +01:00
Georg Ehrke
071301bfb9
Fix Calendarsubscriptions source column change on Oracle
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-11-13 16:32:47 +01:00
Nextcloud bot
5e84824839
[tx-robot] updated from transifex
2018-11-13 01:12:40 +00:00
Morris Jobke
fd8eeccb15
Merge pull request #11942 from nextcloud/techdebt/noid/use-count-function
...
Use the defined func()->count() instead of manual counting
2018-11-12 17:43:56 +01:00
John Molakvoæ (skjnldsv)
e18548ce75
Fix displayName return of dav groups request
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-10 13:34:07 +01:00
Joas Schilling
bb352fb667
Use the defined func()->count() instead of manual counting
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-08 15:44:45 +01:00
Georg Ehrke
30d13bb760
cache webcal calendars on server
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-11-07 13:25:14 +01:00
Nextcloud bot
c26d847d19
[tx-robot] updated from transifex
2018-11-07 01:12:29 +00:00
Nextcloud bot
54a30a4b81
[tx-robot] updated from transifex
2018-11-06 01:12:39 +00:00
Roeland Jago Douma
665a6d2055
Allow writing an empty file with the new writeStream
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-11-05 17:00:04 +01:00
John Molakvoæ (skjnldsv)
68968a870b
Phpunit tests
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-05 13:15:21 +01:00
John Molakvoæ (skjnldsv)
b6d8c5ff2f
Add check for vCard uid
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-05 12:49:39 +01:00
John Molakvoæ
934d08b2e8
Merge pull request #12004 from nextcloud/dl-vcf-groups-plugin
...
Multi vcf download plugin
2018-11-05 10:16:30 +01:00
Roeland Jago Douma
dcddccb004
Merge pull request #12265 from nextcloud/dav-bump
...
bump dav version for migration
2018-11-05 09:05:32 +01:00
John Molakvoæ (skjnldsv)
a6c8fe099d
bump dav version for migration
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-05 08:11:31 +01: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 +01:00
Roeland Jago Douma
ab8c2b0719
Fix tests
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-11-04 13:55:49 +01:00
Roeland Jago Douma
5d3051ff62
Do not log FileLock as exception
...
There is no reason to log FileLock errors as exceptions to the log file.
Locks happen for very legit reasons and it is actually a sign of the
code doing its job.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-11-04 13:55:49 +01:00
Roeland Jago Douma
9d89f8bbac
Merge pull request #12071 from nextcloud/addressbook-uid-check-migration
...
Addressbook uid check migration
2018-11-02 19:37:48 +01:00
John Molakvoæ (skjnldsv)
66624cfe0a
Phpunit fix
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-02 14:20:53 +01:00
Roeland Jago Douma
7ba8700ba1
Merge pull request #12148 from nextcloud/suppress-wrong-audit-log-message
...
suppress wrong audit log messages about failed login attempts
2018-11-02 13:52:50 +01:00
Morris Jobke
7246f2ace5
Update PHPDoc to reflect the actual behaviour
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-11-01 15:02:50 +01:00
John Molakvoæ (skjnldsv)
d89edb28c4
move migration
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-01 15:02:50 +01:00
John Molakvoæ (skjnldsv)
9afff2fb20
Properly set uid and create and update
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-01 15:00:49 +01:00
Roeland Jago Douma
e94ee7cbca
Fix tests
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-11-01 11:31:41 +01:00
Robin Appelman
9b3cc72f7c
fix writeStream for jail wrapper
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-10-31 21:10:57 +01:00
Robin Appelman
4094a5e74a
update dav tests
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-10-31 21:10:54 +01:00
Robin Appelman
93de63777e
extend storage api to allow directly writing a stream to storage
...
this removes the need for temporary storages with some external storage backends.
The new method is added to a separate interface to maintain compatibility with
storage backends implementing the storage interface directly (without inheriting common)
Currently the interface is implemented for objectstorage based storages and local storage
and used by webdav uploads
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-10-31 21:10:44 +01:00
Bjoern Schiessle
0efd29f41f
first check if the user is already logged in and then try to authenticate via apache, this way we suppress wrong audit log messages about failed login attempts
...
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-10-30 22:14:52 +01:00
blizzz
1293affc84
Merge pull request #12020 from nextcloud/bugfix/11795/calendar_invitation_fallback_lang
...
Calendar invitation: use system default instead of sender's language as fallback
2018-10-30 22:05:20 +01:00