]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
9 years agoAdd mapping for a broken varchar type. Fixes #14247
Victor Dubiniuk [Tue, 17 Feb 2015 20:22:57 +0000 (23:22 +0300)]
Add mapping for a broken varchar type. Fixes #14247

9 years agoMerge pull request #14266 from owncloud/encodeUriComponentPerDefault
Clark Tomlinson [Tue, 17 Feb 2015 15:37:06 +0000 (10:37 -0500)]
Merge pull request #14266 from owncloud/encodeUriComponentPerDefault

Encode parameters in `OC.generateUrl` by itself

9 years agoMerge pull request #14289 from owncloud/remove-null-byte-check
Lukas Reschke [Tue, 17 Feb 2015 13:47:27 +0000 (14:47 +0100)]
Merge pull request #14289 from owncloud/remove-null-byte-check

Remove Null Byte Check

9 years agoEncode parameters in `OC.generateUrl` by itself
Lukas Reschke [Mon, 16 Feb 2015 19:07:45 +0000 (20:07 +0100)]
Encode parameters in `OC.generateUrl` by itself

This function is often used in a wrong and potential dangerous way... Thus we should escape the URL per default and offer developers to disable the automatic escaping via an option parameter if they really want that behaviour.

Might break some things, however, those things are then easy to fix and we really have a ton of bugs caused by this...

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

9 years agoRemove Null Byte Check
Lukas Reschke [Tue, 17 Feb 2015 13:19:20 +0000 (14:19 +0100)]
Remove Null Byte Check

This is not relevant anymore since we require PHP 5.4

9 years agoMerge pull request #14056 from owncloud/refactor/13976
Lukas Reschke [Tue, 17 Feb 2015 12:17:04 +0000 (13:17 +0100)]
Merge pull request #14056 from owncloud/refactor/13976

Refactor OC_Request into TrustedDomainHelper and IRequest

9 years agoMerge pull request #13866 from rullzer/avatar_share_dialog
Vincent Petry [Tue, 17 Feb 2015 09:17:36 +0000 (10:17 +0100)]
Merge pull request #13866 from rullzer/avatar_share_dialog

Avatars in share dialog

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 17 Feb 2015 06:56:23 +0000 (01:56 -0500)]
[tx-robot] updated from transifex

9 years agoIncorporate review changes
Lukas Reschke [Mon, 16 Feb 2015 21:12:47 +0000 (22:12 +0100)]
Incorporate review changes

9 years agoAdd blackmagic due to cyclic dependency :see_no_evil:
Lukas Reschke [Mon, 16 Feb 2015 15:26:02 +0000 (16:26 +0100)]
Add blackmagic due to cyclic dependency :see_no_evil:

9 years agoMake scrutinizer happy
Lukas Reschke [Mon, 16 Feb 2015 13:01:15 +0000 (14:01 +0100)]
Make scrutinizer happy

9 years agoRefactor OC_Request into TrustedDomainHelper and IRequest
Lukas Reschke [Tue, 10 Feb 2015 12:02:48 +0000 (13:02 +0100)]
Refactor OC_Request into TrustedDomainHelper and IRequest

This changeset removes the static class `OC_Request` and moves the functions either into `IRequest` which is accessible via `\OC::$server::->getRequest()` or into a separated `TrustedDomainHelper` class for some helper methods which should not be publicly exposed.

This changes only internal methods and nothing on the public API. Some public functions in `util.php` have been deprecated though in favour of the new non-static functions.

Unfortunately some part of this code uses things like `__DIR__` and thus is not completely unit-testable. Where tests where possible they ahve been added though.

Fixes https://github.com/owncloud/core/issues/13976 which was requested in https://github.com/owncloud/core/pull/13973#issuecomment-73492969

9 years agoMerge pull request #14261 from owncloud/fix-last-login-master
Lukas Reschke [Mon, 16 Feb 2015 19:22:47 +0000 (20:22 +0100)]
Merge pull request #14261 from owncloud/fix-last-login-master

Return milliseconds instead of seconds for lastLogin - refs #14005

9 years agoMerge pull request #14263 from owncloud/missing-visibility-activity-iextension
Thomas Müller [Mon, 16 Feb 2015 18:54:55 +0000 (19:54 +0100)]
Merge pull request #14263 from owncloud/missing-visibility-activity-iextension

Add visibility to interface to make scrutinizer 1 step happier

9 years agoMerge pull request #13879 from owncloud/add_debug_log_for_memcache_instantiation
Thomas Müller [Mon, 16 Feb 2015 18:51:40 +0000 (19:51 +0100)]
Merge pull request #13879 from owncloud/add_debug_log_for_memcache_instantiation

add debug log for memcache instantiation

9 years agofixing unit tests in UsersControllerTest
Thomas Müller [Mon, 16 Feb 2015 18:45:09 +0000 (19:45 +0100)]
fixing unit tests in UsersControllerTest

9 years agoadd debug log for memcache instantiation
Jörn Friedrich Dreyer [Wed, 4 Feb 2015 11:15:40 +0000 (12:15 +0100)]
add debug log for memcache instantiation

9 years agoAdd visibility to interface to make scrutinizer 1 step happier
Joas Schilling [Mon, 16 Feb 2015 16:46:43 +0000 (17:46 +0100)]
Add visibility to interface to make scrutinizer 1 step happier

9 years agoReturn milliseconds instead of seconds for lastLogin - refs #14005
Thomas Müller [Mon, 16 Feb 2015 16:41:44 +0000 (17:41 +0100)]
Return milliseconds instead of seconds for lastLogin - refs #14005

9 years agoMerge pull request #14128 from owncloud/drop-unused-methods
Morris Jobke [Mon, 16 Feb 2015 16:37:36 +0000 (17:37 +0100)]
Merge pull request #14128 from owncloud/drop-unused-methods

Remove unused function and correct PHPDoc

9 years agoMerge pull request #10673 from owncloud/smb-new
Morris Jobke [Mon, 16 Feb 2015 16:37:20 +0000 (17:37 +0100)]
Merge pull request #10673 from owncloud/smb-new

New SMB storage backend

9 years agoMerge pull request #13750 from owncloud/enhanced-code-checker
Thomas Müller [Mon, 16 Feb 2015 15:55:57 +0000 (16:55 +0100)]
Merge pull request #13750 from owncloud/enhanced-code-checker

Implement php code checker to detect usage of not allowed private ...

9 years agoMerge pull request #13269 from owncloud/issue/13211-cache-array-implementation
Joas Schilling [Mon, 16 Feb 2015 14:35:20 +0000 (15:35 +0100)]
Merge pull request #13269 from owncloud/issue/13211-cache-array-implementation

Add an array implementation of cache and use it if we are not debugging

9 years agoMerge pull request #14194 from owncloud/url-encode-logout-attribute
Thomas Müller [Mon, 16 Feb 2015 14:04:20 +0000 (15:04 +0100)]
Merge pull request #14194 from owncloud/url-encode-logout-attribute

URLEncode logout attribute

9 years agoAdd an array implementation of cache and use it if we are not debugging
Joas Schilling [Mon, 12 Jan 2015 12:48:07 +0000 (13:48 +0100)]
Add an array implementation of cache and use it if we are not debugging

9 years agoUpdate 3rdparty commit to master
Thomas Müller [Mon, 16 Feb 2015 13:53:16 +0000 (14:53 +0100)]
Update 3rdparty commit to master

9 years agoMerge pull request #13890 from owncloud/add-no-referrer
Lukas Reschke [Mon, 16 Feb 2015 13:36:44 +0000 (14:36 +0100)]
Merge pull request #13890 from owncloud/add-no-referrer

Add `rel="noreferrer"` where possible and switch to HTTPS

9 years agoMerge pull request #14243 from owncloud/console-execution-time-master
Morris Jobke [Mon, 16 Feb 2015 13:26:14 +0000 (14:26 +0100)]
Merge pull request #14243 from owncloud/console-execution-time-master

console commands shall not be limited with respect to execution time

9 years agoalso make sure we have a leading slash for the test root
Robin Appelman [Fri, 13 Feb 2015 14:27:05 +0000 (15:27 +0100)]
also make sure we have a leading slash for the test root

9 years agoMerge pull request #14076 from owncloud/autotest-external-ftp
Thomas Müller [Mon, 16 Feb 2015 12:56:40 +0000 (13:56 +0100)]
Merge pull request #14076 from owncloud/autotest-external-ftp

[files_external] ftp tests

9 years agomake sure the root has a trailing slash
Robin Appelman [Fri, 13 Feb 2015 13:51:56 +0000 (14:51 +0100)]
make sure the root has a trailing slash

9 years agoremove outdated test
Robin Appelman [Thu, 13 Nov 2014 16:37:00 +0000 (17:37 +0100)]
remove outdated test

9 years agohandle deleting non existing files
Robin Appelman [Mon, 9 Feb 2015 12:13:39 +0000 (13:13 +0100)]
handle deleting non existing files

9 years agoUse better way to check for the existence of smbclient
Robin Appelman [Fri, 6 Feb 2015 13:18:36 +0000 (14:18 +0100)]
Use better way to check for the existence of smbclient

9 years agoNew SMB storage backend
Robin Appelman [Tue, 26 Aug 2014 16:46:07 +0000 (18:46 +0200)]
New SMB storage backend

9 years agoRemove unused function and correct PHPDoc
Lukas Reschke [Wed, 11 Feb 2015 23:11:38 +0000 (00:11 +0100)]
Remove unused function and correct PHPDoc

9 years agoAdd noreferrer to footer URI
Lukas Reschke [Mon, 16 Feb 2015 12:37:54 +0000 (13:37 +0100)]
Add noreferrer to footer URI

9 years agoMerge pull request #14201 from owncloud/propagator-dont-decrease-mtime
Thomas Müller [Mon, 16 Feb 2015 10:32:17 +0000 (11:32 +0100)]
Merge pull request #14201 from owncloud/propagator-dont-decrease-mtime

Dont lower the mtime of a folder when propagating changes

9 years agoMerge pull request #13809 from owncloud/fix-autoloader-message
Thomas Müller [Mon, 16 Feb 2015 09:41:24 +0000 (10:41 +0100)]
Merge pull request #13809 from owncloud/fix-autoloader-message

Properly show the warning about the missing composer autoloader

9 years agoMerge pull request #13922 from owncloud/smb-autotest-external
Thomas Müller [Mon, 16 Feb 2015 09:27:55 +0000 (10:27 +0100)]
Merge pull request #13922 from owncloud/smb-autotest-external

[files_external] add SMB autotest

9 years agoMerge pull request #14138 from owncloud/fix-image-flip-php53
Thomas Müller [Mon, 16 Feb 2015 09:26:56 +0000 (10:26 +0100)]
Merge pull request #14138 from owncloud/fix-image-flip-php53

Don't flip image in PHP 5.4

9 years agoconsole commands shall not be limited with respect to execution time - fixes #14156
Thomas Müller [Mon, 16 Feb 2015 08:16:32 +0000 (09:16 +0100)]
console commands shall not be limited with respect to execution time - fixes #14156

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 16 Feb 2015 06:54:30 +0000 (01:54 -0500)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 15 Feb 2015 06:54:31 +0000 (01:54 -0500)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 14 Feb 2015 06:54:42 +0000 (01:54 -0500)]
[tx-robot] updated from transifex

9 years agoMerge pull request #14206 from owncloud/issue/14204-revert-14171
Thomas Müller [Fri, 13 Feb 2015 15:06:34 +0000 (16:06 +0100)]
Merge pull request #14206 from owncloud/issue/14204-revert-14171

Issue/14204 revert #14171

9 years agoUpdate version to a higher one then before
Joas Schilling [Fri, 13 Feb 2015 14:24:53 +0000 (15:24 +0100)]
Update version to a higher one then before

9 years agoRevert "Improve: Index for file_map"
Joas Schilling [Fri, 13 Feb 2015 14:15:28 +0000 (15:15 +0100)]
Revert "Improve: Index for file_map"

This reverts commit c9b56084051ad33f15ad8a1a7fee95d38ba0d954.

9 years agoRevert "Incorporate review changes"
Joas Schilling [Fri, 13 Feb 2015 14:15:10 +0000 (15:15 +0100)]
Revert "Incorporate review changes"

This reverts commit f6a452cabf02e4a8005f874a77754f68abbc8fa5.

9 years agoupdate test
Robin Appelman [Fri, 13 Feb 2015 14:01:05 +0000 (15:01 +0100)]
update test

9 years agoDont lower the mtime of a folder when propagating changes
Robin Appelman [Fri, 13 Feb 2015 13:30:05 +0000 (14:30 +0100)]
Dont lower the mtime of a folder when propagating changes

9 years agoMerge pull request #14178 from RealRancor/fix_config_sample
Morris Jobke [Fri, 13 Feb 2015 12:38:56 +0000 (13:38 +0100)]
Merge pull request #14178 from RealRancor/fix_config_sample

Removed anchor in config.sample.php

9 years agoMerge pull request #14197 from owncloud/ensure-that-passed-file-path-is-always-a...
Lukas Reschke [Fri, 13 Feb 2015 12:30:54 +0000 (13:30 +0100)]
Merge pull request #14197 from owncloud/ensure-that-passed-file-path-is-always-a-string

Ensure that passed argument is always a string

9 years agoExtended avatar unit tests
Roeland Jago Douma [Fri, 13 Feb 2015 11:57:24 +0000 (12:57 +0100)]
Extended avatar unit tests

9 years agoMerge pull request #14086 from hlop/master
Lukas Reschke [Fri, 13 Feb 2015 11:56:01 +0000 (12:56 +0100)]
Merge pull request #14086 from hlop/master

App install behind a Proxy

9 years agoEnsure that passed argument is always a string
Lukas Reschke [Fri, 13 Feb 2015 11:49:34 +0000 (12:49 +0100)]
Ensure that passed argument is always a string

Some code paths called the `normalizePath` functionality with types other than a string which resulted in unexpected behaviour.

Thus the function is now manually casting the type to a string and I corrected the usage in list.php as well.

9 years agoAdded config check
Roeland Jago Douma [Fri, 13 Feb 2015 11:08:14 +0000 (12:08 +0100)]
Added config check

9 years agoURLEncode logout attribute
Lukas Reschke [Fri, 13 Feb 2015 10:35:12 +0000 (11:35 +0100)]
URLEncode logout attribute

Otherwise logout can fail if the requesttoken contains a +

9 years agoMerge pull request #14171 from owncloud/fix/11639
Joas Schilling [Fri, 13 Feb 2015 09:55:21 +0000 (10:55 +0100)]
Merge pull request #14171 from owncloud/fix/11639

Improve: Index for file_map

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 13 Feb 2015 06:55:06 +0000 (01:55 -0500)]
[tx-robot] updated from transifex

9 years agoRemoved anchor in config.sample.php
RealRancor [Thu, 12 Feb 2015 21:00:24 +0000 (22:00 +0100)]
Removed anchor in config.sample.php

9 years agoIncorporate review changes
Lukas Reschke [Thu, 12 Feb 2015 18:11:14 +0000 (19:11 +0100)]
Incorporate review changes

9 years agoImprove: Index for file_map
windaishi [Fri, 17 Oct 2014 13:03:27 +0000 (15:03 +0200)]
Improve: Index for file_map

Added two indices for file_map, that improve syncing and uploading and deleting files

9 years agoMerge pull request #13771 from owncloud/fix-humanfileSize
Lukas Reschke [Thu, 12 Feb 2015 17:34:54 +0000 (18:34 +0100)]
Merge pull request #13771 from owncloud/fix-humanfileSize

generate valid human readable text for 0

9 years agoMerge pull request #13780 from owncloud/cmreflector-inheritance
Lukas Reschke [Thu, 12 Feb 2015 17:34:07 +0000 (18:34 +0100)]
Merge pull request #13780 from owncloud/cmreflector-inheritance

Additional controllermethodreflector inheritance tests

9 years agoMerge pull request #14145 from owncloud/no-whitespace-from-themes-master
Lukas Reschke [Thu, 12 Feb 2015 16:23:28 +0000 (17:23 +0100)]
Merge pull request #14145 from owncloud/no-whitespace-from-themes-master

catch any whitespaces which might get written to the output buffer while...

9 years agoMerge pull request #14159 from owncloud/remove-internal
Thomas Müller [Thu, 12 Feb 2015 16:07:59 +0000 (17:07 +0100)]
Merge pull request #14159 from owncloud/remove-internal

Remove internal annotation

9 years agoSmall unit test rewrite
Roeland Jago Douma [Thu, 12 Feb 2015 16:05:59 +0000 (17:05 +0100)]
Small unit test rewrite

9 years agoAdded unit test
Roeland Jago Douma [Thu, 12 Feb 2015 15:49:31 +0000 (16:49 +0100)]
Added unit test

9 years agoAdded dependancy for the JS unit tests
Roeland Jago Douma [Wed, 11 Feb 2015 18:43:54 +0000 (19:43 +0100)]
Added dependancy for the JS unit tests

Still not correct but it is a small step

9 years agoDisplay user avatar in share dialog
Roeland Jago Douma [Tue, 3 Feb 2015 16:22:24 +0000 (17:22 +0100)]
Display user avatar in share dialog

9 years agocatch any whitespaces which might get written to the output buffer while loading...
Thomas Müller [Thu, 12 Feb 2015 10:20:38 +0000 (11:20 +0100)]
catch any whitespaces which might get written to the output buffer while loading a theme

9 years agoRemove internal annotation
Lukas Reschke [Thu, 12 Feb 2015 15:35:47 +0000 (16:35 +0100)]
Remove internal annotation

PHPStorm complained about those functions being declared as Internal. I doubt that this is actually the case since they are even in the public API.

9 years agoMerge pull request #14121 from Zillode/app-favicon
Morris Jobke [Thu, 12 Feb 2015 12:19:07 +0000 (13:19 +0100)]
Merge pull request #14121 from Zillode/app-favicon

Disable application-specific favicons for non-user pages

9 years agoMerge pull request #9038 from owncloud/add_tag_file
Lukas Reschke [Thu, 12 Feb 2015 12:17:45 +0000 (13:17 +0100)]
Merge pull request #9038 from owncloud/add_tag_file

Add .tag file to make tar balls tracable

9 years agoMerge pull request #14071 from owncloud/add_timeout_for_post_requests
Björn Schießle [Thu, 12 Feb 2015 10:38:35 +0000 (11:38 +0100)]
Merge pull request #14071 from owncloud/add_timeout_for_post_requests

add timeout to curl request

9 years agoMerge pull request #13913 from rullzer/showusergroups
Lukas Reschke [Thu, 12 Feb 2015 10:21:40 +0000 (11:21 +0100)]
Merge pull request #13913 from rullzer/showusergroups

Added overview of groups a user is member of

9 years agoMerge pull request #14135 from cmeh/master
Morris Jobke [Thu, 12 Feb 2015 10:03:49 +0000 (11:03 +0100)]
Merge pull request #14135 from cmeh/master

Clean-up of messages (orthography, format)

9 years agoMerge pull request #10993 from owncloud/scanner-reuse-fileid
Morris Jobke [Thu, 12 Feb 2015 09:53:00 +0000 (10:53 +0100)]
Merge pull request #10993 from owncloud/scanner-reuse-fileid

Reuse known fileids and cache data in the scanner

9 years agoadd timeout to curl request
Bjoern Schiessle [Tue, 10 Feb 2015 19:34:51 +0000 (20:34 +0100)]
add timeout to curl request

9 years agoAdded overview of groups a user is a member of
Roeland Jago Douma [Wed, 4 Feb 2015 19:32:41 +0000 (20:32 +0100)]
Added overview of groups a user is a member of

9 years agoCheck if imageflip is available
Morris Jobke [Thu, 12 Feb 2015 07:59:47 +0000 (08:59 +0100)]
Check if imageflip is available

* imageflip() isn't available in PHP < 5.5
* fixes #14130

9 years agoMerge pull request #14129 from owncloud/deprecate-oc-json
Morris Jobke [Thu, 12 Feb 2015 09:05:30 +0000 (10:05 +0100)]
Merge pull request #14129 from owncloud/deprecate-oc-json

Deprecate `OC_JSON` and `OCP\JSON`

9 years agoOrthography: "Back-end" -> Backend (without hyphen) and correction of "users" to...
cmeh [Thu, 12 Feb 2015 07:18:24 +0000 (08:18 +0100)]
Orthography: "Back-end" -> Backend (without hyphen) and correction of "users" to the genitive "user's"

9 years agoAdding a missing space between value and unit
cmeh [Thu, 12 Feb 2015 07:14:12 +0000 (08:14 +0100)]
Adding a missing space between value and unit

Added the missing space between value and unit, as it is formatted in all other places across ownCloud.

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 12 Feb 2015 06:54:41 +0000 (01:54 -0500)]
[tx-robot] updated from transifex

9 years agoDeprecate `OC_JSON` and `OCP\JSON`
Lukas Reschke [Wed, 11 Feb 2015 23:56:13 +0000 (00:56 +0100)]
Deprecate `OC_JSON` and `OCP\JSON`

This deprecates – but not removes – those two classes and all functions in it. There is no reason that new developments should use those methods as with the AppFramework there is a replacement that allows testable code.

With the `@deprecated` annotation IDEs like PHPStorm will point out to the developer that a functionality is deprecated and that there is a better suited replacement.

9 years agoMerge pull request #14126 from owncloud/remove-that-old-thing
Lukas Reschke [Wed, 11 Feb 2015 22:59:00 +0000 (23:59 +0100)]
Merge pull request #14126 from owncloud/remove-that-old-thing

Remove unused file

9 years agointegrate code checker in the installer
Thomas Müller [Fri, 30 Jan 2015 16:31:51 +0000 (17:31 +0100)]
integrate code checker in the installer

9 years agoRemove unused file
Lukas Reschke [Wed, 11 Feb 2015 22:26:48 +0000 (23:26 +0100)]
Remove unused file

This file is unused and has been last modified two years ago. Furthermore it won't evne work anymore properly because it uses things  like `CONFIG_DATEFORMAT` which are gone a long time ago...

9 years agoDisable application-specific favicons for non-user pages
Lode Hoste [Wed, 11 Feb 2015 19:09:03 +0000 (20:09 +0100)]
Disable application-specific favicons for non-user pages

9 years agoMerge pull request #14097 from yanntech/fix/utf8-check
Thomas Müller [Wed, 11 Feb 2015 17:04:54 +0000 (18:04 +0100)]
Merge pull request #14097 from yanntech/fix/utf8-check

in some case charset can be in lower case.

9 years agoMerge pull request #13979 from owncloud/group-share-collition-wrong-type-in-post...
Vincent Petry [Wed, 11 Feb 2015 14:23:13 +0000 (15:23 +0100)]
Merge pull request #13979 from owncloud/group-share-collition-wrong-type-in-post-hook

Do not overwrite the shareType so the post hook is still correct

9 years agoMerge pull request #14105 from owncloud/second-parameter-is-optional
Thomas Müller [Wed, 11 Feb 2015 14:07:20 +0000 (15:07 +0100)]
Merge pull request #14105 from owncloud/second-parameter-is-optional

Second parameter is optional

9 years agoSecond parameter is optional
Lukas Reschke [Wed, 11 Feb 2015 13:01:22 +0000 (14:01 +0100)]
Second parameter is optional

Makes my IDE happier.

9 years agoonly read permissions once
Robin Appelman [Mon, 20 Oct 2014 14:53:06 +0000 (16:53 +0200)]
only read permissions once

9 years agoOnly try to scan the children of directories
Robin Appelman [Fri, 17 Oct 2014 15:06:37 +0000 (17:06 +0200)]
Only try to scan the children of directories

9 years agoCast mtimes and size to int
Robin Appelman [Wed, 10 Sep 2014 14:49:58 +0000 (16:49 +0200)]
Cast mtimes and size to int

9 years agoReuse cache data of existing files during scan
Robin Appelman [Wed, 10 Sep 2014 13:57:59 +0000 (15:57 +0200)]
Reuse cache data of existing files during scan

9 years agoin some case charset can be in lower case.
Yann VERRY [Wed, 11 Feb 2015 10:59:33 +0000 (11:59 +0100)]
in some case charset can be in lower case.
Add strtoupper() in UTF-8 check to avoid error message