]>
source.dussan.org Git - nextcloud-server.git/log
Lukas Reschke [Tue, 23 Sep 2014 09:34:44 +0000 (11:34 +0200)]
Merge pull request #11032 from owncloud/harden-redirect
Do only follow HTTP and HTTPS redirects
Vincent Petry [Tue, 23 Sep 2014 08:33:50 +0000 (10:33 +0200)]
Merge pull request #11226 from owncloud/kill-postsetupcheck-master
remove post setup check
Lukas Reschke [Tue, 23 Sep 2014 08:13:58 +0000 (10:13 +0200)]
Merge pull request #11224 from owncloud/fix_recovery_admin_user
first check if a private key exists, if not it is always a recovery szenario
Lukas Reschke [Tue, 23 Sep 2014 08:13:03 +0000 (10:13 +0200)]
Merge pull request #11242 from owncloud/fix-10284
Use non-empty defaults for preview cmd line
Jenkins for ownCloud [Tue, 23 Sep 2014 06:05:45 +0000 (02:05 -0400)]
[tx-robot] updated from transifex
Thomas Müller [Tue, 23 Sep 2014 05:38:23 +0000 (07:38 +0200)]
Merge pull request #11227 from owncloud/fix-windows-path
fixing directory seperators
Thomas Müller [Tue, 23 Sep 2014 05:04:26 +0000 (07:04 +0200)]
Merge pull request #11221 from owncloud/fix-autotest
Fix autotest.sh for whitespace in paths
Morris Jobke [Mon, 22 Sep 2014 22:49:30 +0000 (00:49 +0200)]
Merge pull request #11215 from owncloud/dav-throwwhendeletefailed
WebDAV now throws 403 when deletion did not work
Morris Jobke [Mon, 22 Sep 2014 22:45:59 +0000 (00:45 +0200)]
Merge pull request #11211 from owncloud/previewProviderSwitch
Add a configuration switch for enabled preview mimetypes
Victor Dubiniuk [Mon, 22 Sep 2014 20:27:41 +0000 (23:27 +0300)]
Use non-empty defaults
Clark Tomlinson [Mon, 22 Sep 2014 18:13:30 +0000 (14:13 -0400)]
ignoring writedata test in windows.
Lukas Reschke [Thu, 11 Sep 2014 17:21:56 +0000 (19:21 +0200)]
Do only follow HTTP and HTTPS redirects
We do not want to follow redirects to other protocols since they might allow an adversary to bypass network restrictions. (i.e. a redirect to ftp:// might be used to access files of a FTP server which might be in a secure zone and not be reachable from the net but from the ownCloud server)
Get final redirect manually using get_headers()
Migrate to HTTPHelper class and add unit tests
Thomas Müller [Mon, 22 Sep 2014 17:43:55 +0000 (19:43 +0200)]
remove post setup check
Clark Tomlinson [Mon, 22 Sep 2014 17:38:46 +0000 (13:38 -0400)]
fixing cache routes
Morris Jobke [Mon, 22 Sep 2014 15:27:54 +0000 (17:27 +0200)]
Merge pull request #11228 from owncloud/drop-travis
Revert "Travis support"
Lukas Reschke [Mon, 22 Sep 2014 14:49:52 +0000 (16:49 +0200)]
Remove unneeded unit tests
Vincent Petry [Mon, 22 Sep 2014 14:36:23 +0000 (16:36 +0200)]
Merge pull request #11186 from owncloud/trash-fixdoubledeleteracecondition
Added extra check to avoid deleting key folders
Morris Jobke [Mon, 22 Sep 2014 14:34:50 +0000 (16:34 +0200)]
Revert "Travis support"
This reverts commit
472d896ce9aad4d526126a7aefa96127920585e6 .
Conflicts:
.travis.yml
Morris Jobke [Mon, 22 Sep 2014 14:30:19 +0000 (16:30 +0200)]
Merge pull request #11167 from owncloud/env-movetomountreenableproxy
Reenable file proxy when renaming between mount points
Morris Jobke [Mon, 22 Sep 2014 14:25:07 +0000 (16:25 +0200)]
Merge pull request #11204 from owncloud/fix_oc_stream_seek
Fix oc stream seek
Morris Jobke [Mon, 22 Sep 2014 14:23:27 +0000 (16:23 +0200)]
Merge pull request #11212 from owncloud/occ-catching-errors
Occ catching errors
Clark Tomlinson [Mon, 22 Sep 2014 14:13:46 +0000 (10:13 -0400)]
fixing directory seperators
Lukas Reschke [Fri, 19 Sep 2014 11:35:21 +0000 (13:35 +0200)]
Add a configuration switch for enabled preview mimetypes
Bjoern Schiessle [Mon, 22 Sep 2014 13:04:55 +0000 (15:04 +0200)]
first check if a private key exists, if not it is always a recovery szenario
Morris Jobke [Mon, 22 Sep 2014 12:04:20 +0000 (14:04 +0200)]
Merge pull request #11210 from owncloud/issue/11209
Also match routes without trailing slash for files app
Vincent Petry [Mon, 22 Sep 2014 10:19:34 +0000 (12:19 +0200)]
WebDAV now throws 403 when deletion did not work
Assume a permission issue whenever a file could not be deleted.
This is because some storages are not able to return permissions, so a
permission denied situation can only be triggered during direct
deletion.
Morris Jobke [Mon, 22 Sep 2014 11:03:43 +0000 (13:03 +0200)]
update 3rdparty submodule to its master commit
Robin McCorkell [Mon, 22 Sep 2014 11:03:25 +0000 (12:03 +0100)]
Fix autotest.sh for whitespace in paths
blizzz [Mon, 22 Sep 2014 10:13:15 +0000 (12:13 +0200)]
Merge pull request #9225 from voxsim/fix_displayNamesInGroup
fix in displayNamesInGroup
Thomas Müller [Mon, 22 Sep 2014 10:04:48 +0000 (12:04 +0200)]
no loner use deprecated class \OC_Config
Thomas Müller [Mon, 22 Sep 2014 10:00:22 +0000 (12:00 +0200)]
remove bootstrapping - occ can by definition only be executed if ownCloud is installed - base.php is required earlier already
Thomas Müller [Mon, 22 Sep 2014 09:59:13 +0000 (11:59 +0200)]
show upgrade errors as error in the console and report back that the upgrade process failed if it did
Jörn Friedrich Dreyer [Mon, 22 Sep 2014 09:35:42 +0000 (11:35 +0200)]
in quota wrapper use === instead of ! for better readability and as in other wrappers
Jörn Friedrich Dreyer [Mon, 22 Sep 2014 09:33:55 +0000 (11:33 +0200)]
return boolean in Ciose::stream_seek
Joas Schilling [Mon, 22 Sep 2014 08:59:12 +0000 (10:59 +0200)]
Also match routes without trailing slash
Fix #11209
Jörn Friedrich Dreyer [Sun, 21 Sep 2014 20:48:35 +0000 (22:48 +0200)]
return boolean in OC::stream_seek
Thomas Müller [Mon, 22 Sep 2014 08:04:02 +0000 (10:04 +0200)]
Merge pull request #10939 from owncloud/add-port-to-trusted-domain-wizard
Append port to trusted domain in case it's not 80 or 443
Thomas Müller [Mon, 22 Sep 2014 08:02:03 +0000 (10:02 +0200)]
Merge pull request #10499 from owncloud/mkcol-headers-afterbind
Use afterBind to send fileId header for files and directories
Volkan Gezer [Sun, 21 Sep 2014 15:32:37 +0000 (17:32 +0200)]
fix button text l10n
Jenkins for ownCloud [Mon, 22 Sep 2014 05:54:36 +0000 (01:54 -0400)]
[tx-robot] updated from transifex
Morris Jobke [Sun, 21 Sep 2014 21:07:17 +0000 (23:07 +0200)]
Merge pull request #11203 from owncloud/fix_broken_previews_on_public_page
files_sharing: add route for ajax/publicpreview
Morris Jobke [Sun, 21 Sep 2014 20:48:21 +0000 (22:48 +0200)]
Merge pull request #11199 from owncloud/delete_bogus_previews
Delete bogus cached previews while updating
Jörn Friedrich Dreyer [Sun, 21 Sep 2014 20:47:40 +0000 (22:47 +0200)]
add seek and tell to streamwrapper test
Morris Jobke [Sun, 21 Sep 2014 20:44:07 +0000 (22:44 +0200)]
Merge pull request #11200 from owncloud/preview_better_errorhandling
make sure preview prop is instanceof OC_Image before using it in showPreview
Georg Ehrke [Sun, 21 Sep 2014 16:21:42 +0000 (18:21 +0200)]
files_sharing: add route for ajax/publicpreview
Georg Ehrke [Sun, 21 Sep 2014 15:30:29 +0000 (17:30 +0200)]
make sure preview prop is instanceof OC_Image before using it in showPreview
Georg Ehrke [Sun, 21 Sep 2014 15:16:21 +0000 (17:16 +0200)]
delete old previews
Morris Jobke [Sun, 21 Sep 2014 09:13:58 +0000 (11:13 +0200)]
Merge pull request #11196 from owncloud/sqlite-migration-smallint-master
adding 'smallint unsigned' to type mapping for sqlite
Jenkins for ownCloud [Sun, 21 Sep 2014 05:54:29 +0000 (01:54 -0400)]
[tx-robot] updated from transifex
Thomas Müller [Sat, 20 Sep 2014 18:06:44 +0000 (20:06 +0200)]
adding 'smallint unsigned' to type mapping for sqlite
Jenkins for ownCloud [Sat, 20 Sep 2014 05:54:34 +0000 (01:54 -0400)]
[tx-robot] updated from transifex
Morris Jobke [Fri, 19 Sep 2014 19:39:30 +0000 (21:39 +0200)]
Merge pull request #11178 from owncloud/throw-error-on-preview-instead-in-the-contructor
Throw error in showPreview instead the constructor
Morris Jobke [Fri, 19 Sep 2014 19:39:03 +0000 (21:39 +0200)]
Merge pull request #11184 from owncloud/typo
fix typo. closes #11132
Vincent Petry [Fri, 19 Sep 2014 17:01:02 +0000 (19:01 +0200)]
Added extra check to avoid deleting key folders
Whenever a delete operation is called twice in a row, it could happen
that the first call already deleted the file.
The second call would return an empty $ownerPath because the file does
not exist. That empty $ownerPath would run the key deletion operation on
the wrong path.
This fix adds checks in many places to make sure we don't use $ownerPath
when it's empty or null.
Volkan Gezer [Fri, 19 Sep 2014 16:22:09 +0000 (18:22 +0200)]
fix typo
Vincent Petry [Fri, 19 Sep 2014 15:24:12 +0000 (17:24 +0200)]
Add myself as author
Lukas Reschke [Fri, 19 Sep 2014 14:50:56 +0000 (16:50 +0200)]
Merge pull request #10968 from owncloud/admin-groupsselect2
Use select2 for the groups excluded from sharing in admin page
Lukas Reschke [Fri, 19 Sep 2014 14:40:19 +0000 (16:40 +0200)]
Merge pull request #11104 from owncloud/enc_create_backup_on_recovery
[encryption] create backup from all keys before recovery
Lukas Reschke [Fri, 19 Sep 2014 14:04:29 +0000 (16:04 +0200)]
Merge pull request #11171 from owncloud/fix-route
Match more URL fragments
Lukas Reschke [Fri, 19 Sep 2014 11:39:13 +0000 (13:39 +0200)]
Merge pull request #11158 from owncloud/fix_basic_auth
Move BasicAuth check to isLoggedIn
Lukas Reschke [Fri, 19 Sep 2014 11:26:41 +0000 (13:26 +0200)]
Throw error in showPreview instead the constructor
This function is also used in a way such as:
```
$preview = new \OC\Preview(\OC_User::getUser(), 'files');
$info = \OC\Files\Filesystem::getFileInfo($file);
if (!$always and !$preview->isAvailable($info)) {
\OC_Response::setStatus(404);
} else {
$preview->setFile($file);
$preview->setMaxX($maxX);
$preview->setMaxY($maxY);
$preview->setScalingUp($scalingUp);
$preview->setKeepAspect($keepAspect);
}
```
Which won't work anymore since `setFile` is used instead of passing the file in the constructor. Fixes a regression in master.
Lukas Reschke [Fri, 19 Sep 2014 11:02:22 +0000 (13:02 +0200)]
Merge pull request #11142 from owncloud/fix-windows
Resolves cache tests failing if the directory length is longer than 64
Vincent Petry [Fri, 19 Sep 2014 10:23:42 +0000 (12:23 +0200)]
Merge pull request #11119 from owncloud/removeOldUpgradeRoutines
Remove old upgrade routines
Vincent Petry [Fri, 19 Sep 2014 10:20:22 +0000 (12:20 +0200)]
Merge pull request #11163 from owncloud/check-for-updates-between-major-versions
Prevent updates between multiple major versions
Robin Appelman [Fri, 19 Sep 2014 10:07:56 +0000 (12:07 +0200)]
Merge pull request #10958 from owncloud/db-ilike
Introduce cross-db ILIKE
Bjoern Schiessle [Wed, 17 Sep 2014 08:40:41 +0000 (10:40 +0200)]
make sure that we really catch the files folder only
Bjoern Schiessle [Tue, 16 Sep 2014 13:16:27 +0000 (15:16 +0200)]
create backup from all keys before recovery
Jenkins for ownCloud [Fri, 19 Sep 2014 05:55:44 +0000 (01:55 -0400)]
[tx-robot] updated from transifex
Lukas Reschke [Thu, 18 Sep 2014 21:18:07 +0000 (23:18 +0200)]
Match more URL fragments
Fixes https://github.com/owncloud/core/pull/11009#issuecomment-
56103341
Vincent Petry [Thu, 18 Sep 2014 17:21:04 +0000 (19:21 +0200)]
Reenable file proxy when renaming between mount points
When moving a folder into another mount point, $renamedFiles is empty
because that goes over a different mechanism.
In such case, this fix makes sure that the file proxy is reenable to
avoid breaking the subsequent files that are being moved.
Morris Jobke [Thu, 18 Sep 2014 16:19:53 +0000 (18:19 +0200)]
Merge pull request #11141 from owncloud/update_encrytionlink
update encryption doc link
Volkan Gezer [Wed, 17 Sep 2014 18:53:19 +0000 (20:53 +0200)]
update encryption doc link
I don't know how we missed to update this :/
update ldap doc link
Lukas Reschke [Thu, 18 Sep 2014 15:45:30 +0000 (17:45 +0200)]
Prevent updates between multiple major versions
Ref https://github.com/owncloud/core/issues/11078
voxsim [Thu, 18 Sep 2014 15:50:19 +0000 (17:50 +0200)]
1. remove sizeof($filteredUsers) > 0 as condition
2. use count instead of sizeof. Latter is an alias to first one, practically we stick to count everywhere. Having it consistent helps with readability.
3. move whitespace so we have $groupUsers[] = $filteredUser; instead of $groupUsers []= $filteredUser;
Lukas Reschke [Thu, 18 Sep 2014 14:02:18 +0000 (16:02 +0200)]
Move BasicAuth check to "isLoggedIn()"
Ensures that Basic Auth works properly for APIs and removes the need for some even uglier lines of code.
Lukas Reschke [Thu, 18 Sep 2014 13:42:36 +0000 (15:42 +0200)]
Merge pull request #11151 from owncloud/removeOverflowingFunction
Remove unused and overflowing function
Robin Appelman [Thu, 18 Sep 2014 13:09:57 +0000 (15:09 +0200)]
Fix ILIKE without wildcards for oracle
Lukas Reschke [Thu, 18 Sep 2014 12:40:42 +0000 (14:40 +0200)]
Merge pull request #11130 from owncloud/moveBasicAuthCheck
Move basic auth check
Lukas Reschke [Thu, 18 Sep 2014 08:21:28 +0000 (10:21 +0200)]
Remove unused and overflowing function
Resolves https://github.com/owncloud/core/issues/10991 failure 4
Morris Jobke [Thu, 18 Sep 2014 07:10:16 +0000 (09:10 +0200)]
Merge pull request #11143 from owncloud/improve-404
Make 404 page easier to understand
Morris Jobke [Thu, 18 Sep 2014 07:04:53 +0000 (09:04 +0200)]
Merge pull request #9541 from owncloud/force_loading_of_encryption_app
force loading of encryption app to show correct error
Jenkins for ownCloud [Thu, 18 Sep 2014 05:54:39 +0000 (01:54 -0400)]
[tx-robot] updated from transifex
Morris Jobke [Wed, 17 Sep 2014 21:55:53 +0000 (23:55 +0200)]
Merge pull request #11136 from owncloud/fix_body_id
Error needs to push body-id for new guest layout
Lukas Reschke [Wed, 17 Sep 2014 20:49:37 +0000 (22:49 +0200)]
Make 404 page easier to understand
Fixes https://github.com/owncloud/core/issues/11133
Clark Tomlinson [Wed, 17 Sep 2014 20:24:43 +0000 (16:24 -0400)]
Resolves cache tests failing if the directory length is longer than 64
Lukas Reschke [Wed, 17 Sep 2014 16:10:49 +0000 (18:10 +0200)]
Merge pull request #11105 from owncloud/jsunit-legacyfileactionsfix
Tentative fix for legacy file actions unit test side effect
Remco Brenninkmeijer [Wed, 17 Sep 2014 16:02:18 +0000 (18:02 +0200)]
Error needs to push body-id for new guest layout
Lukas Reschke [Wed, 17 Sep 2014 15:12:06 +0000 (17:12 +0200)]
force loading of encryption app
Lukas Reschke [Wed, 17 Sep 2014 15:05:47 +0000 (17:05 +0200)]
Merge pull request #9554 from owncloud/fix_preview_orientation
fix orientation in image-backend, not in preview system itself
Robin Appelman [Wed, 17 Sep 2014 14:12:54 +0000 (16:12 +0200)]
Use ILIKE in cache search
Lukas Reschke [Wed, 17 Sep 2014 14:04:12 +0000 (16:04 +0200)]
Move basic auth check
At the previous point not all apps were initialized. Now the basic auth check happens together at the same location as all others.
Fixes https://github.com/owncloud/core/issues/11129
Lukas Reschke [Wed, 17 Sep 2014 13:36:41 +0000 (15:36 +0200)]
Merge pull request #10622 from owncloud/recursive-delete-forbidden
Fix isDeletable
Robin Appelman [Wed, 17 Sep 2014 11:47:55 +0000 (13:47 +0200)]
Implement ILIKE for sqlite
Robin Appelman [Wed, 17 Sep 2014 11:47:33 +0000 (13:47 +0200)]
Make sqlite LIKE case sensitive on default
Morris Jobke [Wed, 17 Sep 2014 11:05:26 +0000 (13:05 +0200)]
Merge pull request #10932 from owncloud/issue/10926
Add a method to get the absolute url for a route
Lukas Reschke [Wed, 17 Sep 2014 09:36:08 +0000 (11:36 +0200)]
Fix mapping of relative paths
Robin Appelman [Mon, 25 Aug 2014 12:28:35 +0000 (14:28 +0200)]
Also check if the file itself is updatable
Robin Appelman [Mon, 25 Aug 2014 12:06:48 +0000 (14:06 +0200)]
Check if a folder is deletable before we try to recursively delete it
Robin Appelman [Mon, 25 Aug 2014 12:06:27 +0000 (14:06 +0200)]
Check if the parent is writable to check if a file is deletable
Lukas Reschke [Wed, 17 Sep 2014 08:35:50 +0000 (10:35 +0200)]
Merge pull request #11092 from owncloud/conceal_sabredav_version
Conceal or display SabreDAV version number.