]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
8 years agoMerge pull request #21864 from owncloud/sync-certificates-with-upstream-81
Morris Jobke [Mon, 25 Jan 2016 07:24:02 +0000 (08:24 +0100)]
Merge pull request #21864 from owncloud/sync-certificates-with-upstream-81

[stable8.1] Sync certificates with upstream

8 years agoSync certificates with upstream
Lukas Reschke [Fri, 22 Jan 2016 21:12:21 +0000 (22:12 +0100)]
Sync certificates with upstream

8 years agoMerge pull request #21748 from owncloud/stable8.1-backport-20927
Thomas Müller [Mon, 18 Jan 2016 13:16:09 +0000 (14:16 +0100)]
Merge pull request #21748 from owncloud/stable8.1-backport-20927

[stable8.1] Handle return code of streamCopy in WebDAV put

8 years agoHandle return code of streamCopy in WebDAV put
Morris Jobke [Thu, 3 Dec 2015 14:27:56 +0000 (15:27 +0100)]
Handle return code of streamCopy in WebDAV put

* throw a different exception if streamCopy failed

8 years agoMerge pull request #21694 from owncloud/stable8.1-users-scrolltop
Thomas Müller [Fri, 15 Jan 2016 12:19:16 +0000 (13:19 +0100)]
Merge pull request #21694 from owncloud/stable8.1-users-scrolltop

[stable8.1] Keep scroll position in users page when sorting

8 years agoKeep scroll position in users page when sorting
Vincent Petry [Thu, 7 Jan 2016 14:48:59 +0000 (15:48 +0100)]
Keep scroll position in users page when sorting

When sorting, some browsers like Chrome will lose the scroll position,
possibly because the sorting code is touching the DOM elements.

This fix saves the scroll position before sorting and sets it back
afterwards.

8 years agoMerge pull request #21665 from owncloud/smb-statcache-cap-81
Vincent Petry [Wed, 13 Jan 2016 09:45:16 +0000 (10:45 +0100)]
Merge pull request #21665 from owncloud/smb-statcache-cap-81

[8.1] cap the number of entries we cache in smb's statcache

8 years agocap the number of entries we cache in smb's statcache
Robin Appelman [Tue, 12 Jan 2016 12:14:04 +0000 (13:14 +0100)]
cap the number of entries we cache in smb's statcache

8 years agoMerge pull request #21632 from owncloud/backport-17924-stable8.1
Morris Jobke [Tue, 12 Jan 2016 09:31:45 +0000 (10:31 +0100)]
Merge pull request #21632 from owncloud/backport-17924-stable8.1

[backport] [stable8.1] always use an LDAP URL when connecting to LDAP

8 years agoalways use an LDAP URL when connecting to LDAP
Arthur Schiwon [Tue, 28 Jul 2015 10:14:05 +0000 (12:14 +0200)]
always use an LDAP URL when connecting to LDAP

8 years agoMerge pull request #21564 from owncloud/ext-smb-dep-stable8.1
Morris Jobke [Mon, 11 Jan 2016 10:33:47 +0000 (11:33 +0100)]
Merge pull request #21564 from owncloud/ext-smb-dep-stable8.1

[stable8.1] Check libsmbclient-php as well as smbclient binary

8 years agoCheck libsmbclient-php as well as smbclient binary
Robin McCorkell [Wed, 6 Jan 2016 11:51:56 +0000 (11:51 +0000)]
Check libsmbclient-php as well as smbclient binary

8 years agoMerge pull request #21314 from owncloud/scanner-skip-not-available-81
Vincent Petry [Fri, 8 Jan 2016 11:22:19 +0000 (12:22 +0100)]
Merge pull request #21314 from owncloud/scanner-skip-not-available-81

[8.1] Skip unavailable storages in scanner

8 years agoalso log exception
Robin Appelman [Fri, 27 Nov 2015 13:28:15 +0000 (14:28 +0100)]
also log exception

8 years agoSkip unavailable storages in scanner
Robin Appelman [Fri, 27 Nov 2015 13:02:50 +0000 (14:02 +0100)]
Skip unavailable storages in scanner

8 years agoMerge pull request #21463 from owncloud/stable8.1-fix-callable-ajax-scan
Morris Jobke [Tue, 5 Jan 2016 15:02:22 +0000 (16:02 +0100)]
Merge pull request #21463 from owncloud/stable8.1-fix-callable-ajax-scan

listen() requires a callable and not an array

8 years agolisten() requires a callable and not an array
Morris Jobke [Tue, 5 Jan 2016 13:33:25 +0000 (14:33 +0100)]
listen() requires a callable and not an array

* fixes #21350
* fixes regression introduced with #20764

8 years agoMerge pull request #21296 from owncloud/stable8.1-prevent0bytedownloads
Morris Jobke [Tue, 5 Jan 2016 12:44:14 +0000 (13:44 +0100)]
Merge pull request #21296 from owncloud/stable8.1-prevent0bytedownloads

[stable8.1] prevent 0 byte downloads when storage returns false

8 years agoMerge pull request #21263 from owncloud/backport-21260-stable8.1
Vincent Petry [Thu, 24 Dec 2015 14:55:37 +0000 (15:55 +0100)]
Merge pull request #21263 from owncloud/backport-21260-stable8.1

[backport] [stable8.1] initialize l10n instance earlier, fixes an undefined var warning foll…

8 years agoMerge pull request #21340 from owncloud/fix-unit-tests
Thomas Müller [Wed, 23 Dec 2015 06:10:28 +0000 (07:10 +0100)]
Merge pull request #21340 from owncloud/fix-unit-tests

[stable8.1] Fix unit tests

8 years agoFix unit tests
Lukas Reschke [Tue, 22 Dec 2015 20:24:47 +0000 (21:24 +0100)]
Fix unit tests

8 years agoMerge pull request #21235 from owncloud/stable8.1-backport-21232
Morris Jobke [Tue, 22 Dec 2015 18:15:27 +0000 (19:15 +0100)]
Merge pull request #21235 from owncloud/stable8.1-backport-21232

[stable8.1] Use name of ICollection for exception message

8 years agoMerge pull request #21275 from owncloud/stable81_20884
Morris Jobke [Tue, 22 Dec 2015 18:13:15 +0000 (19:13 +0100)]
Merge pull request #21275 from owncloud/stable81_20884

[Stable 8.1] [Sharing] Respect disabled incoming federated shares

8 years agoMerge pull request #21294 from owncloud/backport-21255-stable8.1
Morris Jobke [Tue, 22 Dec 2015 18:11:53 +0000 (19:11 +0100)]
Merge pull request #21294 from owncloud/backport-21255-stable8.1

user management: show password error temporary (backport for stable8.1)

8 years ago8.1.5 v8.1.5
C Montero-Luque [Mon, 21 Dec 2015 12:23:26 +0000 (07:23 -0500)]
8.1.5

8 years ago8.1.5 RC2
C Montero-Luque [Fri, 18 Dec 2015 22:32:43 +0000 (17:32 -0500)]
8.1.5 RC2

8 years agoadd unit test
Robin Appelman [Wed, 16 Sep 2015 11:40:12 +0000 (13:40 +0200)]
add unit test

8 years agoprevent 0 byte downloads when storage returns false
Jörn Friedrich Dreyer [Wed, 16 Sep 2015 09:07:13 +0000 (11:07 +0200)]
prevent 0 byte downloads when storage returns false

8 years agoUpdate users.js
michag86 [Thu, 17 Dec 2015 11:43:44 +0000 (12:43 +0100)]
Update users.js

8 years ago[Sharing] Respect disabled incoming federated shares
Roeland Jago Douma [Wed, 2 Dec 2015 08:00:21 +0000 (09:00 +0100)]
[Sharing] Respect disabled incoming federated shares

Only fetch the incoming federated shares if incoming shares are actually
enabled.

Fixes #20713

8 years agoinitialize l10n instance earlier, fixes an undefined var warning followed by a php...
Arthur Schiwon [Thu, 17 Dec 2015 14:01:21 +0000 (15:01 +0100)]
initialize l10n instance earlier, fixes an undefined var warning followed by a php error

8 years agoadd unit test for #21230
Morris Jobke [Wed, 16 Dec 2015 14:03:50 +0000 (15:03 +0100)]
add unit test for #21230

8 years agoUse name of ICollection for exception message
Morris Jobke [Wed, 16 Dec 2015 13:44:28 +0000 (14:44 +0100)]
Use name of ICollection for exception message

* fixes #21230

8 years ago8.1.5 RC1 v8.1.5RC1
C Montero-Luque [Tue, 15 Dec 2015 21:07:51 +0000 (16:07 -0500)]
8.1.5 RC1

8 years agoMerge pull request #21207 from owncloud/backport-21133-stable8.1
Vincent Petry [Tue, 15 Dec 2015 17:43:47 +0000 (18:43 +0100)]
Merge pull request #21207 from owncloud/backport-21133-stable8.1

[backport] [stable8.1] Fix shared files of deleted users, detect DN change when checking for existence on LDAP

8 years agoMerge pull request #21210 from owncloud/stable8.1-handle-enforce-home-folder-rule...
Vincent Petry [Tue, 15 Dec 2015 17:43:05 +0000 (18:43 +0100)]
Merge pull request #21210 from owncloud/stable8.1-handle-enforce-home-folder-rule-setting

[stable8.1] Properly handle enforce home folder naming rule setting

8 years agoMerge pull request #21199 from owncloud/fix_20296_8.1
Björn Schießle [Tue, 15 Dec 2015 13:56:23 +0000 (14:56 +0100)]
Merge pull request #21199 from owncloud/fix_20296_8.1

[stable8.1] don't allow to create a federated share if source and target are the same

8 years agoFixed JS unit tests for fed owner display name
Vincent Petry [Mon, 14 Dec 2015 17:00:35 +0000 (18:00 +0100)]
Fixed JS unit tests for fed owner display name

8 years agoshow display name but internally use the user name
Björn Schießle [Mon, 14 Dec 2015 15:04:05 +0000 (16:04 +0100)]
show display name but internally use the user name

8 years agodon't allow to create a federated share if source and target server are the same
Björn Schießle [Wed, 9 Dec 2015 11:00:00 +0000 (12:00 +0100)]
don't allow to create a federated share if source and target server are the same

8 years agoProperly handle enforce home folder naming rule setting
Morris Jobke [Tue, 15 Dec 2015 09:10:53 +0000 (10:10 +0100)]
Properly handle enforce home folder naming rule setting

8 years agofix find DN by UUID for AD
Arthur Schiwon [Mon, 14 Dec 2015 21:42:27 +0000 (22:42 +0100)]
fix find DN by UUID for AD

8 years agounit test on getHome in combination with OfflineUser
Arthur Schiwon [Fri, 11 Dec 2015 16:25:57 +0000 (17:25 +0100)]
unit test on getHome in combination with OfflineUser

8 years agoadjust unit test
Arthur Schiwon [Fri, 11 Dec 2015 11:52:12 +0000 (12:52 +0100)]
adjust unit test

8 years agolook for DN changes before marking a user as deleted
Arthur Schiwon [Fri, 11 Dec 2015 00:56:53 +0000 (01:56 +0100)]
look for DN changes before marking a user as deleted

8 years agothrow NoUserException in getHome when the requested user does not exist anymore
Arthur Schiwon [Thu, 10 Dec 2015 23:12:41 +0000 (00:12 +0100)]
throw NoUserException in getHome when the requested user does not exist anymore

8 years agoMerge pull request #21151 from owncloud/backport-20978-stable8.1
Morris Jobke [Mon, 14 Dec 2015 16:31:57 +0000 (17:31 +0100)]
Merge pull request #21151 from owncloud/backport-20978-stable8.1

reset mailadress/displayname on blur (backport for stable8.1)

8 years agoMerge pull request #21193 from owncloud/preview-non-existing-81
Lukas Reschke [Mon, 14 Dec 2015 15:35:16 +0000 (16:35 +0100)]
Merge pull request #21193 from owncloud/preview-non-existing-81

[8.1] Handle non existing files in version previews

8 years agoHandle non existing files in version previews
Robin Appelman [Mon, 14 Dec 2015 14:59:36 +0000 (15:59 +0100)]
Handle non existing files in version previews

8 years agoMerge pull request #21156 from owncloud/trashbin-loggedout-81
Thomas Müller [Mon, 14 Dec 2015 11:27:18 +0000 (12:27 +0100)]
Merge pull request #21156 from owncloud/trashbin-loggedout-81

[8.1] Fix trashbin wrapper when no user is loggedin

8 years agoUse XMLWriter to generate response
Lukas Reschke [Mon, 30 Nov 2015 14:40:10 +0000 (15:40 +0100)]
Use XMLWriter to generate response

Gets rid of manual XML generation.

8 years agoskip test if we cant use the filesystem when not logged in
Robin Appelman [Fri, 11 Dec 2015 13:29:38 +0000 (14:29 +0100)]
skip test if we cant use the filesystem when not logged in

8 years agoFix thrashbin wrapper when no user is loggedin
Robin Appelman [Tue, 27 Oct 2015 11:10:23 +0000 (12:10 +0100)]
Fix thrashbin wrapper when no user is loggedin

8 years agoreset mailadress/displayname on blur
michag86 [Mon, 7 Dec 2015 08:48:54 +0000 (09:48 +0100)]
reset mailadress/displayname on blur

8 years agoMerge pull request #21091 from owncloud/backport-20995-stable8.1
Vincent Petry [Thu, 10 Dec 2015 17:00:05 +0000 (18:00 +0100)]
Merge pull request #21091 from owncloud/backport-20995-stable8.1

[backport] [stable8.1] ensure multiselect always receives an array when setting its value, f…

8 years agoMerge pull request #21116 from owncloud/stable8.1-backport-21109
Vincent Petry [Thu, 10 Dec 2015 15:37:23 +0000 (16:37 +0100)]
Merge pull request #21116 from owncloud/stable8.1-backport-21109

[stable8.1] Deduplicate version expire jobs

8 years agoDeduplicate version expire jobs
Morris Jobke [Thu, 10 Dec 2015 10:21:28 +0000 (11:21 +0100)]
Deduplicate version expire jobs

* versionSize is calculated anyway in the expire job - > dropped
* offset/neededSpace was needed for expiry before the file is moved to the versions -> now this is included already in the currently used space because the expiry job is defered to a point in time after the version creation
* fixes #21108

8 years agoMerge pull request #21102 from owncloud/stable8.1_20989
Vincent Petry [Thu, 10 Dec 2015 12:44:05 +0000 (13:44 +0100)]
Merge pull request #21102 from owncloud/stable8.1_20989

[Stable8.1] Update parent when moving share into recieved share

8 years agoUpdate parent when moving share into recieved share
Roeland Jago Douma [Mon, 7 Dec 2015 12:24:16 +0000 (13:24 +0100)]
Update parent when moving share into recieved share

Fixes #20769

When I receive a share and move a share of myself into that share (which
is allowed currently) I effectively hand over ownership of the files I
move. So we need to update the share I move to have as a parent the
share I move it into. Else our mounting system gets confused.

8 years agoMerge pull request #21081 from owncloud/stable8.1-share-computesharepermissions-notstore
Morris Jobke [Thu, 10 Dec 2015 08:35:56 +0000 (09:35 +0100)]
Merge pull request #21081 from owncloud/stable8.1-share-computesharepermissions-notstore

[stable8.1] Fix (re)share permission checks in a few code paths

8 years agoensure multiselect always receives an array when setting its value, fixes #18734
Arthur Schiwon [Mon, 7 Dec 2015 14:14:49 +0000 (15:14 +0100)]
ensure multiselect always receives an array when setting its value, fixes #18734

8 years agoMerge pull request #21085 from owncloud/occ-shall-not-fail-hard-in-maintenance-mode...
Vincent Petry [Wed, 9 Dec 2015 18:57:33 +0000 (19:57 +0100)]
Merge pull request #21085 from owncloud/occ-shall-not-fail-hard-in-maintenance-mode-stable8.1

Don't load commands of apps when in maintenance mode

8 years agoDon't load commands of apps when in maintenance mode - fixes #20939
Thomas Müller [Wed, 9 Dec 2015 14:15:10 +0000 (15:15 +0100)]
Don't load commands of apps when in maintenance mode - fixes #20939

8 years agoAdd explicit check for groups excluded from sharing
Vincent Petry [Tue, 8 Dec 2015 15:48:33 +0000 (16:48 +0100)]
Add explicit check for groups excluded from sharing

Since isSharable() doesn't do the check for groups excluded from
sharing, adding an explicit check in the sharing code.

8 years agoFix more unit tests to pass a mock storage instead of null to FileInfo
Vincent Petry [Tue, 8 Dec 2015 15:33:39 +0000 (16:33 +0100)]
Fix more unit tests to pass a mock storage instead of null to FileInfo

8 years agoAdd reshare permission checks
Vincent Petry [Tue, 8 Dec 2015 12:02:57 +0000 (13:02 +0100)]
Add reshare permission checks

Added in isSharable() in incoming remote share.
Added in isSharable() in regular incoming share.
Added in FileInfo to make sure the proper attributes are returned to the
clients.

8 years agoCompute share permissions in the view
Vincent Petry [Tue, 8 Dec 2015 10:32:18 +0000 (11:32 +0100)]
Compute share permissions in the view

The share permissions are now computed in the View/FileInfo instead of
storing them directly/permanently on the storage

8 years agoMerge pull request #21042 from owncloud/backport-21037-stable8.1
Morris Jobke [Tue, 8 Dec 2015 16:34:43 +0000 (17:34 +0100)]
Merge pull request #21042 from owncloud/backport-21037-stable8.1

[backport][stable8.1] passing an empty base in this diagnosis call will not result  in LDAP…

8 years agopassing an empty base in this diagnosis call will not result in LDAP errors
Arthur Schiwon [Tue, 8 Dec 2015 11:31:58 +0000 (12:31 +0100)]
passing an empty base in this diagnosis call will not result  in LDAP errors

Neither in "Invalid DN syntax" nor in "Object not found"

8 years agoMerge pull request #20999 from owncloud/backport-20981-multiple-emails-for-sharelink-8.1
Morris Jobke [Mon, 7 Dec 2015 15:25:20 +0000 (16:25 +0100)]
Merge pull request #20999 from owncloud/backport-20981-multiple-emails-for-sharelink-8.1

[8.1] Allow sending a share email to multiple users

8 years agoMerge pull request #20986 from owncloud/use-proper-logexception-stable8.1
Thomas Müller [Mon, 7 Dec 2015 15:19:04 +0000 (16:19 +0100)]
Merge pull request #20986 from owncloud/use-proper-logexception-stable8.1

ILogger has no logException()

8 years agoAdd a unit test for single user case as well
Joas Schilling [Mon, 7 Dec 2015 11:01:02 +0000 (12:01 +0100)]
Add a unit test for single user case as well

8 years agoAllow sending a share email to multiple users
Joas Schilling [Mon, 7 Dec 2015 09:49:34 +0000 (10:49 +0100)]
Allow sending a share email to multiple users

8 years agoILogger has no logException() - fixes #20797
Thomas Müller [Mon, 7 Dec 2015 11:11:00 +0000 (12:11 +0100)]
ILogger has no logException() - fixes #20797

8 years agoMerge pull request #20795 from owncloud/stable8.1-backport-20790
Vincent Petry [Fri, 4 Dec 2015 16:45:24 +0000 (17:45 +0100)]
Merge pull request #20795 from owncloud/stable8.1-backport-20790

[stable8.1] Deduplicate queued trashbin expire jobs

8 years agoMerge pull request #20956 from owncloud/stable8.1-backport-20877
Morris Jobke [Fri, 4 Dec 2015 14:55:57 +0000 (15:55 +0100)]
Merge pull request #20956 from owncloud/stable8.1-backport-20877

[stable8.1] Check the expiration date for null

8 years agoCheck the expiration date for null
Morris Jobke [Tue, 1 Dec 2015 16:43:05 +0000 (17:43 +0100)]
Check the expiration date for null

* null is always less than any value -> expirationDate gets null
  which is "no date set"
* ref https://github.com/owncloud/core/issues/20590#issuecomment-158393075

8 years agoMerge pull request #20489 from owncloud/backport-20487-8.1
Vincent Petry [Thu, 3 Dec 2015 15:40:20 +0000 (16:40 +0100)]
Merge pull request #20489 from owncloud/backport-20487-8.1

[8.1] Activity oracle sql error for favorites

8 years agoMerge pull request #20831 from owncloud/catch-missing-route-81
Thomas Müller [Mon, 30 Nov 2015 21:46:11 +0000 (22:46 +0100)]
Merge pull request #20831 from owncloud/catch-missing-route-81

[8.1] Dont die when we're missing a route

8 years agoDont die when we're missing a route
Robin Appelman [Fri, 27 Nov 2015 12:51:20 +0000 (13:51 +0100)]
Dont die when we're missing a route

8 years agoDeduplicate queued trashbin expire jobs
Morris Jobke [Fri, 27 Nov 2015 13:01:03 +0000 (14:01 +0100)]
Deduplicate queued trashbin expire jobs

* fixes #20425
* this removes the argument trashbin size from the expire job - it is now
  calculated in the expire job
* the queue now detects properly that the job is already queue and doesn't
  add it again

8 years agoMerge pull request #20764 from owncloud/scan-eventsource-no-paths-81
Vincent Petry [Thu, 26 Nov 2015 15:40:03 +0000 (16:40 +0100)]
Merge pull request #20764 from owncloud/scan-eventsource-no-paths-81

[8.1] Dont output paths in scan.php

8 years agoDont output paths in scan.php
Robin Appelman [Wed, 25 Nov 2015 14:21:01 +0000 (15:21 +0100)]
Dont output paths in scan.php

8 years agoMerge pull request #20698 from owncloud/stable8.1-backport-19530
Morris Jobke [Wed, 25 Nov 2015 09:25:11 +0000 (10:25 +0100)]
Merge pull request #20698 from owncloud/stable8.1-backport-19530

[stable8.1] Make sure the share we found is for the same item

8 years agoAdd a unit test for "share a file inside a folder that is already shared"
Joas Schilling [Mon, 5 Oct 2015 10:36:16 +0000 (12:36 +0200)]
Add a unit test for "share a file inside a folder that is already shared"

8 years agoMake sure all variables are defined
Joas Schilling [Mon, 5 Oct 2015 10:03:36 +0000 (12:03 +0200)]
Make sure all variables are defined

8 years agoMake sure the share we found is for the same item
Joas Schilling [Fri, 2 Oct 2015 11:07:20 +0000 (13:07 +0200)]
Make sure the share we found is for the same item

8 years agoMerge pull request #20678 from owncloud/backport-joblist-fix-8.1
Morris Jobke [Mon, 23 Nov 2015 10:39:33 +0000 (11:39 +0100)]
Merge pull request #20678 from owncloud/backport-joblist-fix-8.1

[8.1] Make the JobList test more robust by sorting the result of getAll bef…

8 years agoMake the JobList test more robust by sorting the result of getAll before comparison
Joas Schilling [Thu, 19 Nov 2015 08:25:34 +0000 (09:25 +0100)]
Make the JobList test more robust by sorting the result of getAll before comparison

8 years agoMerge pull request #20637 from owncloud/cache-escape-like-81
Morris Jobke [Fri, 20 Nov 2015 15:46:46 +0000 (16:46 +0100)]
Merge pull request #20637 from owncloud/cache-escape-like-81

[8.1] Escape like parameter in cache operations

8 years agoescape like parameter in cache move
Robin Appelman [Tue, 10 Nov 2015 12:14:32 +0000 (13:14 +0100)]
escape like parameter in cache move

8 years agoAdd test for special character during move
Robin Appelman [Thu, 5 Nov 2015 15:29:25 +0000 (16:29 +0100)]
Add test for special character during move

8 years agodefine escape character for like statements on oracle
Robin Appelman [Fri, 29 May 2015 12:19:27 +0000 (14:19 +0200)]
define escape character for like statements on oracle

8 years agodefine escape character for like statements on sqlite
Robin Appelman [Thu, 28 May 2015 14:16:59 +0000 (16:16 +0200)]
define escape character for like statements on sqlite

8 years agoAdd a unit test that executes the query
Joas Schilling [Wed, 18 Nov 2015 09:32:29 +0000 (10:32 +0100)]
Add a unit test that executes the query

8 years agoOracle can not return statements but only values
Joas Schilling [Fri, 13 Nov 2015 09:32:45 +0000 (10:32 +0100)]
Oracle can not return statements but only values
So evaluate the condition directly and return 1 or 0

8 years agoMerge pull request #20307 from owncloud/stable8.1-backport-use-actual-mimetype-detect...
Morris Jobke [Tue, 10 Nov 2015 15:00:46 +0000 (16:00 +0100)]
Merge pull request #20307 from owncloud/stable8.1-backport-use-actual-mimetype-detection-instad-of-oath-1

[stable8.1] Use actual mimetype detection instead of extension

8 years agoUse actual mimetype detection instead of extension
Lukas Reschke [Fri, 30 Oct 2015 23:55:37 +0000 (00:55 +0100)]
Use actual mimetype detection instead of extension

We cannot rely on the extension as the file may also be a valid TAR or ZIP file without such content. Especially when getting resources from the ownCloud appstore.

8 years agoMerge pull request #20395 from owncloud/stable8.1-extstorage-gdrive-forceapproval
Morris Jobke [Mon, 9 Nov 2015 13:01:06 +0000 (14:01 +0100)]
Merge pull request #20395 from owncloud/stable8.1-extstorage-gdrive-forceapproval

[stable8.1] Force approval in GDrive oauth to get refresh_token

8 years agoForce approval in GDrive oauth to get refresh_token
Vincent Petry [Fri, 6 Nov 2015 11:35:28 +0000 (12:35 +0100)]
Force approval in GDrive oauth to get refresh_token

Forcing the approval of app permissions makes sure that the GDrive API
will always return a refresh_token.

In the case of apps that were already authorized for the current user/domain,
the API doesn't return the refresh_token which causes expiration issues.