]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
8 years agoSet default expiration date if none given on share creation
Roeland Jago Douma [Thu, 25 Feb 2016 13:21:46 +0000 (14:21 +0100)]
Set default expiration date if none given on share creation

When we create a share for the first time we should set the default
expiration date. If none is given.

Fixes #22642

8 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 25 Feb 2016 06:58:06 +0000 (01:58 -0500)]
[tx-robot] updated from transifex

8 years agoMerge pull request #22593 from owncloud/swift-docker-fix
Thomas Müller [Wed, 24 Feb 2016 11:17:58 +0000 (12:17 +0100)]
Merge pull request #22593 from owncloud/swift-docker-fix

Enable upstream entrypoint changes with Ceph Docker

8 years agoMerge pull request #22612 from owncloud/davclient-update-headers
Thomas Müller [Wed, 24 Feb 2016 11:16:38 +0000 (12:16 +0100)]
Merge pull request #22612 from owncloud/davclient-update-headers

Update davclient.js for headers fix

8 years agoMerge pull request #22592 from owncloud/fix-response-header
Thomas Müller [Wed, 24 Feb 2016 11:15:32 +0000 (12:15 +0100)]
Merge pull request #22592 from owncloud/fix-response-header

Add header for attachment disposition only once

8 years agoMerge pull request #22573 from owncloud/issue-22568-allow-string-object-ids
Thomas Müller [Wed, 24 Feb 2016 11:15:23 +0000 (12:15 +0100)]
Merge pull request #22573 from owncloud/issue-22568-allow-string-object-ids

Make sure we can store strings as per the interface

8 years agoMerge pull request #22565 from owncloud/avoid-scanning-root-storage
Thomas Müller [Wed, 24 Feb 2016 11:14:39 +0000 (12:14 +0100)]
Merge pull request #22565 from owncloud/avoid-scanning-root-storage

Avoids scanning the root storage

8 years agoMerge pull request #22549 from owncloud/issue-20470-yellow-warning-for-user-and-group...
Thomas Müller [Wed, 24 Feb 2016 11:14:22 +0000 (12:14 +0100)]
Merge pull request #22549 from owncloud/issue-20470-yellow-warning-for-user-and-group-errors

Use the notification instead of the disruptive popup for settings/users errors

8 years agoUpdate davclient.js for headers fix
Vincent Petry [Wed, 24 Feb 2016 09:09:54 +0000 (10:09 +0100)]
Update davclient.js for headers fix

8 years agoMerge pull request #20876 from owncloud/reproducing-test-for-20686
Thomas Müller [Tue, 23 Feb 2016 15:08:14 +0000 (16:08 +0100)]
Merge pull request #20876 from owncloud/reproducing-test-for-20686

Behat test for update of a shared file

8 years agoMerge pull request #22569 from owncloud/issue-22566-too-much-mapping-entries
Thomas Müller [Tue, 23 Feb 2016 14:02:08 +0000 (15:02 +0100)]
Merge pull request #22569 from owncloud/issue-22566-too-much-mapping-entries

Allow defining a limit and offset for getObjectIdsForTags

8 years agoDrop unneeded use statements
Morris Jobke [Tue, 23 Feb 2016 13:53:12 +0000 (14:53 +0100)]
Drop unneeded use statements

8 years agoAdd a test that reproduces #20686
Morris Jobke [Tue, 1 Dec 2015 15:49:40 +0000 (16:49 +0100)]
Add a test that reproduces #20686

* user with a quota of 0 gets a file shared and can't update this file
  because the wrong quota is used to verify if the update is allowed

8 years agoEnable upstream entrypoint changes with Ceph Docker
Robin McCorkell [Tue, 23 Feb 2016 11:52:05 +0000 (11:52 +0000)]
Enable upstream entrypoint changes with Ceph Docker

8 years agoAdd header for attachment disposition only once
Lukas Reschke [Tue, 23 Feb 2016 10:54:22 +0000 (11:54 +0100)]
Add header for attachment disposition only once

Recent refactorings have resulted in the header being added twice, this makes browsers ignore the header which removes any security gains.

This changeset adds the header only once and adds integration tests ensuring the correct header in future.

https://github.com/owncloud/core/issues/22577

8 years agoMerge pull request #22582 from owncloud/case-insensitive-contact-search
Thomas Müller [Tue, 23 Feb 2016 09:48:38 +0000 (10:48 +0100)]
Merge pull request #22582 from owncloud/case-insensitive-contact-search

Case insensitive contact search

8 years agoMerge pull request #22586 from owncloud/be-verbose-when-something-fails-on-ci
Thomas Müller [Tue, 23 Feb 2016 09:47:55 +0000 (10:47 +0100)]
Merge pull request #22586 from owncloud/be-verbose-when-something-fails-on-ci

Add verbose flag to occ commands of autotest*

8 years agoMerge pull request #22516 from owncloud/core-cumulativenotifications
Thomas Müller [Tue, 23 Feb 2016 09:36:34 +0000 (10:36 +0100)]
Merge pull request #22516 from owncloud/core-cumulativenotifications

Accumulate notifications instead of blinking

8 years agoMerge pull request #22551 from owncloud/make-exceptions-easier-to-debug
Thomas Müller [Tue, 23 Feb 2016 09:23:03 +0000 (10:23 +0100)]
Merge pull request #22551 from owncloud/make-exceptions-easier-to-debug

Throw normal exceptions instead of eating them

8 years agoAdd verbose flag to occ commands of autotest*
Joas Schilling [Tue, 23 Feb 2016 08:27:52 +0000 (09:27 +0100)]
Add verbose flag to occ commands of autotest*

8 years agoFix dav unit tests
Joas Schilling [Mon, 22 Feb 2016 14:47:23 +0000 (15:47 +0100)]
Fix dav unit tests

8 years agoAllow defining a limit and offset for getObjectIdsForTags
Joas Schilling [Mon, 22 Feb 2016 14:19:09 +0000 (15:19 +0100)]
Allow defining a limit and offset for getObjectIdsForTags

8 years agoMake sure we don't quote column names twice
Joas Schilling [Tue, 23 Feb 2016 07:50:52 +0000 (08:50 +0100)]
Make sure we don't quote column names twice

8 years agoMerge pull request #22581 from owncloud/fix_interface
Thomas Müller [Mon, 22 Feb 2016 19:20:33 +0000 (20:20 +0100)]
Merge pull request #22581 from owncloud/fix_interface

since 9.0 we have a additional parameter $position used for integrity…

8 years agoCase insensitive search in contacts - fixes #22575
Thomas Müller [Mon, 22 Feb 2016 18:47:10 +0000 (19:47 +0100)]
Case insensitive search in contacts - fixes #22575

8 years agoAdd ILIKE support to querybuilder
Thomas Müller [Mon, 22 Feb 2016 18:46:37 +0000 (19:46 +0100)]
Add ILIKE support to querybuilder

8 years agoMerge pull request #22570 from owncloud/make-method-non-public
Thomas Müller [Mon, 22 Feb 2016 17:39:10 +0000 (18:39 +0100)]
Merge pull request #22570 from owncloud/make-method-non-public

Make FilesReportPlugin::processFilterRules non-public

8 years agosince 9.0 we have a additional parameter $position used for integrity checks
Bjoern Schiessle [Mon, 22 Feb 2016 17:24:54 +0000 (18:24 +0100)]
since 9.0 we have a additional parameter $position used for integrity checks

8 years agoRemove unused update-notification style
Vincent Petry [Mon, 22 Feb 2016 16:25:16 +0000 (17:25 +0100)]
Remove unused update-notification style

8 years agoFix unit tests affected by side effects
Vincent Petry [Mon, 22 Feb 2016 16:19:08 +0000 (17:19 +0100)]
Fix unit tests affected by side effects

The notification tests were not restoring the clock properly, but
indirectly helped other tests pass.

Since now we're restoring the clock properly, the other tests were fixed
to still work.

8 years agoAccumulate notifications instead of blinking
Vincent Petry [Fri, 19 Feb 2016 11:09:46 +0000 (12:09 +0100)]
Accumulate notifications instead of blinking

This makes it possible to display multiple notifications.
If the options.type is set to "error", it will also add a close button.

8 years agoAvoids scanning the root storage
Morris Jobke [Mon, 22 Feb 2016 13:30:32 +0000 (14:30 +0100)]
Avoids scanning the root storage

This check will skip the background scan for the root storage
because there is nothing in the root storage that isn't already
in another (mostly user-) storage.

Fixes #22501

8 years agoMake sure we can store strings as per the interface
Joas Schilling [Mon, 22 Feb 2016 14:41:21 +0000 (15:41 +0100)]
Make sure we can store strings as per the interface

8 years agoMake non-public-method protected
Joas Schilling [Mon, 22 Feb 2016 14:26:59 +0000 (15:26 +0100)]
Make non-public-method protected

8 years agoMerge pull request #22527 from wern/master
Thomas Müller [Mon, 22 Feb 2016 13:15:12 +0000 (14:15 +0100)]
Merge pull request #22527 from wern/master

Moved set -e option to enable executable checks again

8 years agoMerge pull request #22536 from owncloud/add-integration-tests-for-tags
Thomas Müller [Mon, 22 Feb 2016 13:14:51 +0000 (14:14 +0100)]
Merge pull request #22536 from owncloud/add-integration-tests-for-tags

Add integration tests for tags plus fix permissions

8 years agoMerge pull request #22552 from owncloud/fix-avconv-preview-parameters
Thomas Müller [Mon, 22 Feb 2016 13:14:35 +0000 (14:14 +0100)]
Merge pull request #22552 from owncloud/fix-avconv-preview-parameters

Move `-an` after the input arg because it is an output option

8 years agoMerge pull request #22554 from owncloud/fix_22550
Thomas Müller [Mon, 22 Feb 2016 13:14:15 +0000 (14:14 +0100)]
Merge pull request #22554 from owncloud/fix_22550

We should check for exceptions when trying to get the avatar

8 years agoMerge pull request #22555 from owncloud/jenkins-19978
Thomas Müller [Mon, 22 Feb 2016 13:13:59 +0000 (14:13 +0100)]
Merge pull request #22555 from owncloud/jenkins-19978

Show username when writing "Insufficient storage" into owncloud.log

8 years agoMerge pull request #22561 from owncloud/ie-publicpagefooter
Thomas Müller [Mon, 22 Feb 2016 13:13:42 +0000 (14:13 +0100)]
Merge pull request #22561 from owncloud/ie-publicpagefooter

Fix public page footer position in IE

8 years agoFix public page footer position in IE
Vincent Petry [Mon, 22 Feb 2016 10:26:50 +0000 (11:26 +0100)]
Fix public page footer position in IE

The content element needs hasLayout, so triggering it with a display
attribute.

Without this, the #content element's height would be as high as the
window's height instead of adjusting itself to its contents' height.

8 years agoMerge pull request #22548 from owncloud/fix-pagination-in-ie
Vincent Petry [Mon, 22 Feb 2016 09:29:10 +0000 (10:29 +0100)]
Merge pull request #22548 from owncloud/fix-pagination-in-ie

Fixes pagination in IE

8 years agoWe should check for exceptions when trying to get the avatar
Roeland Jago Douma [Mon, 22 Feb 2016 08:55:29 +0000 (09:55 +0100)]
We should check for exceptions when trying to get the avatar

Fixes #22550

* Updated phpdoc of avatatmanager
* Add unit test

8 years agoSolution for Proposal #19974
Pierre Jochem [Thu, 22 Oct 2015 13:46:33 +0000 (15:46 +0200)]
Solution for Proposal #19974

Show username when writing into owncloud.log

8 years agoThrow normal exceptions instead of eating them
Lukas Reschke [Mon, 22 Feb 2016 08:41:56 +0000 (09:41 +0100)]
Throw normal exceptions instead of eating them

Partially addresses https://github.com/owncloud/core/issues/22550

Replaces https://github.com/owncloud/core/pull/20185

8 years agoMove `-an` after the input arg because it is an output option
Joas Schilling [Mon, 22 Feb 2016 08:40:46 +0000 (09:40 +0100)]
Move `-an` after the input arg because it is an output option

8 years agoUse the notification instead of the disruptive popup
Joas Schilling [Mon, 22 Feb 2016 08:17:59 +0000 (09:17 +0100)]
Use the notification instead of the disruptive popup

8 years agoFixes pagination in IE
Morris Jobke [Mon, 22 Feb 2016 07:55:20 +0000 (08:55 +0100)]
Fixes pagination in IE

* tested in Firefox, Chrome, Safari, IE and Edge with folder and file shares
* fixes #20044

8 years agoMerge pull request #22526 from owncloud/fix-english-texts
Thomas Müller [Sat, 20 Feb 2016 23:03:22 +0000 (00:03 +0100)]
Merge pull request #22526 from owncloud/fix-english-texts

Fix error in source language strings

8 years agoCheck if user has permission to create such a tag
Lukas Reschke [Fri, 19 Feb 2016 18:45:03 +0000 (19:45 +0100)]
Check if user has permission to create such a tag

Fixes https://github.com/owncloud/core/issues/22512

8 years agoAdd integration tests for tags
Lukas Reschke [Fri, 19 Feb 2016 17:08:21 +0000 (18:08 +0100)]
Add integration tests for tags

8 years agoMerge pull request #22511 from owncloud/add-integration-tests-for-comments
Lukas Reschke [Fri, 19 Feb 2016 17:10:30 +0000 (18:10 +0100)]
Merge pull request #22511 from owncloud/add-integration-tests-for-comments

Add integration tests for comments

8 years agoAdd integration tests for comments
Lukas Reschke [Thu, 18 Feb 2016 22:07:41 +0000 (23:07 +0100)]
Add integration tests for comments

This adds integration tests for the comments. Especially with regard to the permission handling, didn't find any problem in it.

Fixes https://github.com/owncloud/core/issues/22367

8 years agoMerge pull request #22529 from owncloud/tags-style
Thomas Müller [Fri, 19 Feb 2016 15:17:37 +0000 (16:17 +0100)]
Merge pull request #22529 from owncloud/tags-style

improve tags interface styling

8 years agoMerge pull request #22503 from owncloud/issue_22500
Thomas Müller [Fri, 19 Feb 2016 15:07:43 +0000 (16:07 +0100)]
Merge pull request #22503 from owncloud/issue_22500

When (re-)sharing an incomming federated share set the corrent owner

8 years agoMerge pull request #22518 from owncloud/checkdeletebeforecopyinsteadofrename
Thomas Müller [Fri, 19 Feb 2016 15:06:55 +0000 (16:06 +0100)]
Merge pull request #22518 from owncloud/checkdeletebeforecopyinsteadofrename

Check delete permission before attemping copy+delete

8 years agoMerge pull request #22410 from owncloud/fix_22119
Thomas Müller [Fri, 19 Feb 2016 15:06:40 +0000 (16:06 +0100)]
Merge pull request #22410 from owncloud/fix_22119

Do not copy skeleton on avatar access

8 years agoimprove tags interface styling
Jan-Christoph Borchardt [Fri, 19 Feb 2016 14:40:10 +0000 (15:40 +0100)]
improve tags interface styling

8 years agomoved set -e after executable checking with which as old position off set -e stopped...
Andreas Schubert [Fri, 19 Feb 2016 14:16:04 +0000 (15:16 +0100)]
moved set -e after executable checking with which as old position off set -e stopped the script at this point without any error message

8 years agoFix error ins source language strings
Thomas Müller [Fri, 19 Feb 2016 14:04:16 +0000 (15:04 +0100)]
Fix error ins source language strings
https://www.transifex.com/owncloud-org/owncloud/translate/#en_GB/core/50786279
https://www.transifex.com/owncloud-org/owncloud/translate/#en_GB/settings-1/50555028

8 years agoMerge pull request #22509 from owncloud/add-filesplugin-to-new-webdav-endpoint
Thomas Müller [Fri, 19 Feb 2016 13:44:02 +0000 (14:44 +0100)]
Merge pull request #22509 from owncloud/add-filesplugin-to-new-webdav-endpoint

Add FilesPlugin

8 years agoMerge pull request #22521 from owncloud/mssql-is-not-support-since-ages
Thomas Müller [Fri, 19 Feb 2016 12:35:32 +0000 (13:35 +0100)]
Merge pull request #22521 from owncloud/mssql-is-not-support-since-ages

Remove old adapter - mssql is not supported

8 years agoMerge pull request #22348 from owncloud/issue-21812-calendar-old-caldav-url
Thomas Müller [Fri, 19 Feb 2016 12:33:16 +0000 (13:33 +0100)]
Merge pull request #22348 from owncloud/issue-21812-calendar-old-caldav-url

Fix old calendar dav urls

8 years agoMerge pull request #22218 from owncloud/occ-no-extra-messages
Thomas Müller [Fri, 19 Feb 2016 12:32:52 +0000 (13:32 +0100)]
Merge pull request #22218 from owncloud/occ-no-extra-messages

Add global --no-warnings option to occ…

8 years agoRemove old adapter - mssql is not supported
Joas Schilling [Fri, 19 Feb 2016 12:16:43 +0000 (13:16 +0100)]
Remove old adapter - mssql is not supported

8 years agomake sure that the file name doesn't end with a trailing slash. Can for example happe...
Bjoern Schiessle [Fri, 19 Feb 2016 12:15:09 +0000 (13:15 +0100)]
make sure that the file name doesn't end with a trailing slash. Can for example happen single files shared across servers

8 years agoCheck delete permission before attemping copy+delete
Vincent Petry [Fri, 19 Feb 2016 11:59:10 +0000 (12:59 +0100)]
Check delete permission before attemping copy+delete

Some move operations when cross-storage will be replaced by copy and
delete. Before attempting this, first check whether the source storage
has delete permissions.

This also prevents renaming system-wide external storages.

8 years agoWhen (re-)sharing an incomming federated share set the corrent owner
Roeland Jago Douma [Thu, 18 Feb 2016 12:38:38 +0000 (13:38 +0100)]
When (re-)sharing an incomming federated share set the corrent owner

Incomming federated shares are a special kind. We mount them as normal
webdav shares but we do supply owner info with the federated cloud id of
the share owner.

Since we do not yet have the new resharing behaviour on federated shares
we need to set the correct owner. Which will allow sharing and proper
mounting for other users.

fixes #22500

8 years agoAdd FilesPlugin - fixes #22507
Thomas Müller [Thu, 18 Feb 2016 19:11:59 +0000 (20:11 +0100)]
Add FilesPlugin - fixes #22507

8 years agoMerge pull request #22515 from owncloud/webdav_checksum_only_for_files
Thomas Müller [Fri, 19 Feb 2016 11:36:56 +0000 (12:36 +0100)]
Merge pull request #22515 from owncloud/webdav_checksum_only_for_files

Only add checksum headers for 'real' files

8 years agoMerge pull request #22487 from owncloud/hidden-text-for-information
Thomas Müller [Fri, 19 Feb 2016 11:36:21 +0000 (12:36 +0100)]
Merge pull request #22487 from owncloud/hidden-text-for-information

Add hidden text to issue templates

8 years agoMerge pull request #22472 from owncloud/scrutinizer-patch-1
Thomas Müller [Fri, 19 Feb 2016 11:36:11 +0000 (12:36 +0100)]
Merge pull request #22472 from owncloud/scrutinizer-patch-1

Scrutinizer Auto-Fixes

8 years agoAdd correct principals for the current user before ACL check
Joas Schilling [Mon, 15 Feb 2016 10:52:51 +0000 (11:52 +0100)]
Add correct principals for the current user before ACL check

8 years agoConvert the old principal to the new principal before getting calendars
Joas Schilling [Fri, 12 Feb 2016 13:38:43 +0000 (14:38 +0100)]
Convert the old principal to the new principal before getting calendars

8 years agoMerge pull request #22198 from owncloud/birthday-calendar
Thomas Müller [Fri, 19 Feb 2016 11:33:19 +0000 (12:33 +0100)]
Merge pull request #22198 from owncloud/birthday-calendar

Sync a users contacts birthday to the users birthday calendar

8 years agoOnly add checksum headers for files
Roeland Jago Douma [Fri, 19 Feb 2016 09:56:43 +0000 (10:56 +0100)]
Only add checksum headers for files

We can only add the checksum header for real ownCloud files (so we have
a fileinfo object etc).

8 years agoFix even more
Roeland Jago Douma [Fri, 19 Feb 2016 08:43:20 +0000 (09:43 +0100)]
Fix even more

8 years agoFix more things
Joas Schilling [Thu, 18 Feb 2016 09:50:00 +0000 (10:50 +0100)]
Fix more things

8 years agoFix PHPDoc
Thomas Müller [Wed, 17 Feb 2016 15:13:37 +0000 (16:13 +0100)]
Fix PHPDoc

8 years agoScrutinizer Auto-Fixes
Scrutinizer Auto-Fixer [Wed, 17 Feb 2016 13:21:07 +0000 (13:21 +0000)]
Scrutinizer Auto-Fixes

This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com

8 years agoMerge pull request #22405 from owncloud/gdrive-mimetype-and-office-fixes
Thomas Müller [Fri, 19 Feb 2016 08:13:35 +0000 (09:13 +0100)]
Merge pull request #22405 from owncloud/gdrive-mimetype-and-office-fixes

Fix GDrive handling of office files

8 years agoMerge pull request #22424 from owncloud/add-generic-csrf-protection-to-webdav
Thomas Müller [Fri, 19 Feb 2016 08:13:00 +0000 (09:13 +0100)]
Merge pull request #22424 from owncloud/add-generic-csrf-protection-to-webdav

Require CSRF token for non WebDAV authenticated requests

8 years agoAdd global --no-warning option to occ in order not to pollute output with warnings
Victor Dubiniuk [Wed, 17 Feb 2016 23:42:00 +0000 (02:42 +0300)]
Add global --no-warning option to occ in order not to pollute output with warnings

8 years ago9.0.0 beta 2 v9.0.0beta2
C Montero-Luque [Thu, 18 Feb 2016 19:39:05 +0000 (14:39 -0500)]
9.0.0 beta 2

8 years agoMerge pull request #22493 from owncloud/issue_22467
Thomas Müller [Thu, 18 Feb 2016 15:46:00 +0000 (16:46 +0100)]
Merge pull request #22493 from owncloud/issue_22467

getRootFolder should not setup the FS for any user

8 years agoMerge pull request #22482 from owncloud/getowner-cache
Thomas Müller [Thu, 18 Feb 2016 15:45:40 +0000 (16:45 +0100)]
Merge pull request #22482 from owncloud/getowner-cache

cache result for getowner

8 years agoMerge pull request #22444 from owncloud/fix-federated-share-delete
Thomas Müller [Thu, 18 Feb 2016 15:44:57 +0000 (16:44 +0100)]
Merge pull request #22444 from owncloud/fix-federated-share-delete

get the actual user instead of a federated cloud id

8 years agoMerge pull request #22496 from owncloud/jenkins-22355
Thomas Müller [Thu, 18 Feb 2016 15:44:27 +0000 (16:44 +0100)]
Merge pull request #22496 from owncloud/jenkins-22355

Fix on shared groups assignment.

8 years agoMerge pull request #22422 from owncloud/issue-17230-better-promotion-of-app-updates
Thomas Müller [Thu, 18 Feb 2016 15:44:01 +0000 (16:44 +0100)]
Merge pull request #22422 from owncloud/issue-17230-better-promotion-of-app-updates

Make app updates better visible (part1)

8 years agoMerge pull request #22489 from owncloud/bump-zipstreamer
Thomas Müller [Thu, 18 Feb 2016 15:43:36 +0000 (16:43 +0100)]
Merge pull request #22489 from owncloud/bump-zipstreamer

Bump Zipstreamer

8 years agoAdding cli command to sync birthday calendar
Thomas Müller [Thu, 18 Feb 2016 13:49:45 +0000 (14:49 +0100)]
Adding cli command to sync birthday calendar

8 years agoMerge pull request #21610 from owncloud/quota-sharedfile
Thomas Müller [Thu, 18 Feb 2016 13:25:32 +0000 (14:25 +0100)]
Merge pull request #21610 from owncloud/quota-sharedfile

Fix quota check for single shared files

8 years agoMake scrutinizer happy
Roeland Jago Douma [Thu, 18 Feb 2016 12:55:28 +0000 (13:55 +0100)]
Make scrutinizer happy

8 years agoMerge pull request #22498 from owncloud/fedshare-testremote-after-404
Thomas Müller [Thu, 18 Feb 2016 13:24:55 +0000 (14:24 +0100)]
Merge pull request #22498 from owncloud/fedshare-testremote-after-404

Properly trigger testRemote after getting a 404 from remote fed share

8 years agoMerge pull request #22497 from owncloud/fix-redirect-response
Thomas Müller [Thu, 18 Feb 2016 13:24:12 +0000 (14:24 +0100)]
Merge pull request #22497 from owncloud/fix-redirect-response

set correct http status code in redirect response

8 years agogetRootFolder should not setup the FS for any user
Roeland Jago Douma [Thu, 18 Feb 2016 08:21:32 +0000 (09:21 +0100)]
getRootFolder should not setup the FS for any user

Fixes #22467

This can go wrong when an app (take the ldap app) DIs something that
needs the rootFolder. This break if we use cookie auth since then we
know the user at that point and thus try to setup the fs for that user.

However if there are then incomming shares from an ldap user they will
fails since the user manager can't find them yet.

Now getRootFolder does not setup the fs for any user.

8 years agofix unit test
v1r0x [Thu, 18 Feb 2016 11:39:19 +0000 (12:39 +0100)]
fix unit test

8 years agoProperly trigger testRemote after getting a 404 from remote fed share
Vincent Petry [Thu, 18 Feb 2016 10:57:03 +0000 (11:57 +0100)]
Properly trigger testRemote after getting a 404 from remote fed share

Whenever a remote fed share's shareinfo call returns a 404, don't
directly assume the storage is not available by throwing
StorageNotAvailableException. We need to properly throw
NotFoundException to trigger the later logic that calls testRemote()
that verifies that the 404 is not from a broken server but really from
an obsolete share.

8 years agoset correct http status code
v1r0x [Thu, 18 Feb 2016 10:56:09 +0000 (11:56 +0100)]
set correct http status code

Was intended to respond with a 303 (See other) status code instead of 307 (Temporary Redirect).

8 years agoPrevent deletion of birthday calendar
Thomas Müller [Mon, 8 Feb 2016 11:46:09 +0000 (12:46 +0100)]
Prevent deletion of birthday calendar