]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
8 years agoMerge pull request #21128 from owncloud/dav-fopen-non-existing
Thomas Müller [Fri, 11 Dec 2015 09:48:22 +0000 (10:48 +0100)]
Merge pull request #21128 from owncloud/dav-fopen-non-existing

Dont do a seperate request to check if a file exists when downloading a file from dav external storage

8 years agoMerge pull request #21131 from owncloud/update-public-api
Thomas Müller [Fri, 11 Dec 2015 09:46:46 +0000 (10:46 +0100)]
Merge pull request #21131 from owncloud/update-public-api

IMemcacheTTL was backported to 8.2.2

8 years agoMerge pull request #21137 from owncloud/update-issue-template.md
Thomas Müller [Fri, 11 Dec 2015 09:46:03 +0000 (10:46 +0100)]
Merge pull request #21137 from owncloud/update-issue-template.md

Update issue template.md

8 years agoRemove steps for ownCloud 6
Joas Schilling [Fri, 11 Dec 2015 08:59:38 +0000 (09:59 +0100)]
Remove steps for ownCloud 6

8 years agoFix the sample occ config call
Joas Schilling [Fri, 11 Dec 2015 08:56:24 +0000 (09:56 +0100)]
Fix the sample occ config call

8 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 11 Dec 2015 06:55:44 +0000 (01:55 -0500)]
[tx-robot] updated from transifex

8 years agoIMemcacheTTL was backported to 8.2.2
Morris Jobke [Thu, 10 Dec 2015 18:00:07 +0000 (19:00 +0100)]
IMemcacheTTL was backported to 8.2.2

see #21113

8 years agoMerge pull request #21123 from owncloud/remove-db-locking-performance-warning-master
Thomas Müller [Thu, 10 Dec 2015 16:24:43 +0000 (17:24 +0100)]
Merge pull request #21123 from owncloud/remove-db-locking-performance-warning-master

Remove info about database locking performance

8 years agoDont do a seperate request to check if a file exists for dav->fopen
Robin Appelman [Thu, 10 Dec 2015 16:13:02 +0000 (17:13 +0100)]
Dont do a seperate request to check if a file exists for dav->fopen

8 years agoMerge pull request #21119 from owncloud/make-appconfig-more-robust
Thomas Müller [Thu, 10 Dec 2015 15:44:40 +0000 (16:44 +0100)]
Merge pull request #21119 from owncloud/make-appconfig-more-robust

Make AppManager->checkAppForUser more robust

8 years agoMerge pull request #21114 from owncloud/group-propagation-tests
Thomas Müller [Thu, 10 Dec 2015 15:16:20 +0000 (16:16 +0100)]
Merge pull request #21114 from owncloud/group-propagation-tests

Add test case for group share propagation

8 years agoMerge pull request #21086 from owncloud/storage-nocheckavailforgetowner
Thomas Müller [Thu, 10 Dec 2015 15:15:52 +0000 (16:15 +0100)]
Merge pull request #21086 from owncloud/storage-nocheckavailforgetowner

Do not check storage availability for getOwner

8 years agoRemove info about database locking performance
Thomas Müller [Thu, 10 Dec 2015 15:10:45 +0000 (16:10 +0100)]
Remove info about database locking performance

8 years agoMake AppManager->checkAppForUser more robust
Morris Jobke [Thu, 10 Dec 2015 13:53:34 +0000 (14:53 +0100)]
Make AppManager->checkAppForUser more robust

* if the JSON that is stored in the DB is corrupt an error was thrown
* with this change it is properly handled and the app is disabled

8 years agoAdd test case for group share propagation
Robin Appelman [Thu, 10 Dec 2015 12:36:43 +0000 (13:36 +0100)]
Add test case for group share propagation

8 years agoMerge pull request #21072 from owncloud/db-lock-ttl
Thomas Müller [Thu, 10 Dec 2015 12:51:18 +0000 (13:51 +0100)]
Merge pull request #21072 from owncloud/db-lock-ttl

Remove all locks after ttl from the db

8 years agoMerge pull request #21073 from owncloud/memcache-lock-ttl
Thomas Müller [Thu, 10 Dec 2015 12:51:01 +0000 (13:51 +0100)]
Merge pull request #21073 from owncloud/memcache-lock-ttl

Add ttl for redis based locking

8 years agoMerge pull request #21109 from owncloud/proper-version-expire-dedup
Morris Jobke [Thu, 10 Dec 2015 12:29:28 +0000 (13:29 +0100)]
Merge pull request #21109 from owncloud/proper-version-expire-dedup

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 #21105 from owncloud/fix-risky-test-comments
Thomas Müller [Thu, 10 Dec 2015 10:02:27 +0000 (11:02 +0100)]
Merge pull request #21105 from owncloud/fix-risky-test-comments

Add assertion to test

8 years agoMerge pull request #21071 from owncloud/fix-swift-unit-test-execution-master
Thomas Müller [Thu, 10 Dec 2015 09:59:58 +0000 (10:59 +0100)]
Merge pull request #21071 from owncloud/fix-swift-unit-test-execution-master

Looks like ceph requires more time to come up ....

8 years agoMerge pull request #20893 from owncloud/test_sharing_file_by_multiple_channels
Thomas Müller [Thu, 10 Dec 2015 09:36:12 +0000 (10:36 +0100)]
Merge pull request #20893 from owncloud/test_sharing_file_by_multiple_channels

Added shared by multiple channels test

8 years agoMerge pull request #20984 from owncloud/fix-mysql-setup-unix-socket-master
Thomas Müller [Thu, 10 Dec 2015 09:13:49 +0000 (10:13 +0100)]
Merge pull request #20984 from owncloud/fix-mysql-setup-unix-socket-master

Add unix_socket support for mysql during initial installation - fixes…

8 years agoMerge pull request #21104 from owncloud/make-compatible-with-phpunit-5-1
Thomas Müller [Thu, 10 Dec 2015 09:01:49 +0000 (10:01 +0100)]
Merge pull request #21104 from owncloud/make-compatible-with-phpunit-5-1

Make compatible with PHPUnit 5.1

8 years agoAdd assertion to test
Lukas Reschke [Thu, 10 Dec 2015 08:29:24 +0000 (09:29 +0100)]
Add assertion to test

This seems to be missing on that test.

8 years agoMake compatible with PHPUnit 5.1
Lukas Reschke [Thu, 10 Dec 2015 08:22:41 +0000 (09:22 +0100)]
Make compatible with PHPUnit 5.1

`addWarning` needs to be defined as well for it:

```
➜  master git:(master) ✗ bash autotest.sh sqlite
Using PHP executable /usr/local/opt/php56/bin/php
Parsing all files in lib/public for the presence of @since or @deprecated on each method...

Using database oc_autotest
Setup environment for sqlite testing on local storage ...
Installing ....
ownCloud is not installed - only a limited number of commands are available
Mac OS X is not supported and ownCloud will not work properly on this platform. Use it at your own risk!
 -> For the best results, please consider using a GNU/Linux server instead.
creating sqlite db
ownCloud was successfully installed
Testing with sqlite ...
No coverage
/usr/local/bin/phpunit --configuration phpunit-autotest.xml --log-junit autotest-results-sqlite.xml
PHP Notice:  Constant PHPUNIT_RUN already defined in /Users/lukasreschke/Documents/Programming/master/apps/firstrunwizard/tests/bootstrap.php on line 6
PHP Stack trace:
PHP   1. {main}() /usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar:0
PHP   2. PHPUnit_TextUI_Command::main() /usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar:514
PHP   3. PHPUnit_TextUI_Command->run() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/TextUI/Command.php:106
PHP   4. PHPUnit_TextUI_Command->handleArguments() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/TextUI/Command.php:117
PHP   5. PHPUnit_Util_Configuration->getTestSuiteConfiguration() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/TextUI/Command.php:663
PHP   6. PHPUnit_Util_Configuration->getTestSuite() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/Util/Configuration.php:796
PHP   7. PHPUnit_Framework_TestSuite->addTestFile() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/Util/Configuration.php:926
PHP   8. PHPUnit_Util_Fileloader::checkAndLoad() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/Framework/TestSuite.php:335
PHP   9. PHPUnit_Util_Fileloader::load() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/Util/Fileloader.php:38
PHP  10. include_once() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/Util/Fileloader.php:56
PHP  11. loadDirectory() /Users/lukasreschke/Documents/Programming/master/tests/apps.php:42
PHP  12. require_once() /Users/lukasreschke/Documents/Programming/master/tests/apps.php:20
PHP  13. define() /Users/lukasreschke/Documents/Programming/master/apps/firstrunwizard/tests/bootstrap.php:6
PHP Fatal error:  Class StartSessionListener contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPUnit_Framework_TestListener::addWarning) in /Users/lukasreschke/Documents/Programming/master/tests/startsessionlistener.php on line 47
PHP Stack trace:
PHP   1. {main}() /usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar:0
PHP   2. PHPUnit_TextUI_Command::main() /usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar:514
PHP   3. PHPUnit_TextUI_Command->run() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/TextUI/Command.php:106
PHP   4. PHPUnit_TextUI_TestRunner->doRun() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/TextUI/Command.php:155
PHP   5. PHPUnit_TextUI_TestRunner->handleConfiguration() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/TextUI/TestRunner.php:153
PHP   6. require_once() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/TextUI/TestRunner.php:805
```

8 years agoAdded check for /textfile0.txt
Sergio Bertolin [Wed, 9 Dec 2015 12:56:03 +0000 (12:56 +0000)]
Added check for /textfile0.txt

8 years agoFolder depth needs to be at least 3 for all tests to pass
Roeland Jago Douma [Mon, 7 Dec 2015 14:03:40 +0000 (15:03 +0100)]
Folder depth needs to be at least 3 for all tests to pass

8 years agoAdded shared by multiple channels test
Sergio Bertolin [Wed, 2 Dec 2015 11:44:03 +0000 (11:44 +0000)]
Added shared by multiple channels test

* Small changes plus check of the file using propfind
* Restaured line removed accidentally

8 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 10 Dec 2015 06:55:17 +0000 (01:55 -0500)]
[tx-robot] updated from transifex

8 years agoMerge pull request #21077 from owncloud/external-index-names
Thomas Müller [Wed, 9 Dec 2015 17:22:55 +0000 (18:22 +0100)]
Merge pull request #21077 from owncloud/external-index-names

Let doctrine generate index names for files_external

8 years agoMerge pull request #20775 from owncloud/comments-manager
Thomas Müller [Wed, 9 Dec 2015 16:44:40 +0000 (17:44 +0100)]
Merge pull request #20775 from owncloud/comments-manager

add icommentsmanger and icomment implementation

8 years agoDo not check storage availability for getOwner
Vincent Petry [Wed, 9 Dec 2015 16:31:14 +0000 (17:31 +0100)]
Do not check storage availability for getOwner

Because the owner is always known thanks to the file cache and other
places, we don't need the remote storage to be actually available.

8 years agouse expectedException annotation, not via method call, for consistency
Arthur Schiwon [Wed, 9 Dec 2015 15:55:07 +0000 (16:55 +0100)]
use expectedException annotation, not via method call, for consistency

8 years agouse getLastInsertId from query builder for convenience
Arthur Schiwon [Wed, 9 Dec 2015 15:33:34 +0000 (16:33 +0100)]
use getLastInsertId from query builder for convenience

8 years agoMerge pull request #21076 from owncloud/occ-shall-not-fail-hard-in-maintenance-mode
Thomas Müller [Wed, 9 Dec 2015 15:26:24 +0000 (16:26 +0100)]
Merge pull request #21076 from owncloud/occ-shall-not-fail-hard-in-maintenance-mode

Don't load commands of apps when in maintenance mode

8 years agoremove unused use statement
Arthur Schiwon [Wed, 9 Dec 2015 15:25:42 +0000 (16:25 +0100)]
remove unused use statement

8 years agophp < 5.5 compatible
Arthur Schiwon [Wed, 9 Dec 2015 15:25:31 +0000 (16:25 +0100)]
php < 5.5 compatible

8 years agoLooks like ceph requires more time to come up ....
Thomas Müller [Wed, 9 Dec 2015 13:10:46 +0000 (14:10 +0100)]
Looks like ceph requires more time to come up ....

Use sed - not replace

apply btrfs hack

8 years agoLet doctrine generate index names
Robin Appelman [Wed, 9 Dec 2015 14:38:49 +0000 (15:38 +0100)]
Let doctrine generate index names

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 agoRemove all locks after ttl from the db
Robin Appelman [Wed, 9 Dec 2015 13:13:05 +0000 (14:13 +0100)]
Remove all locks after ttl from the db

8 years agoadd since
Robin Appelman [Wed, 9 Dec 2015 13:45:08 +0000 (14:45 +0100)]
add since

8 years agottl for memcache locking backends that support it
Robin Appelman [Wed, 9 Dec 2015 13:41:15 +0000 (14:41 +0100)]
ttl for memcache locking backends that support it

8 years agoAdd interface for memcache backends that support setting ttl on exisiting keys
Robin Appelman [Wed, 9 Dec 2015 13:39:12 +0000 (14:39 +0100)]
Add interface for memcache backends that support setting ttl on exisiting keys

8 years agoadjust test's fakemanager to interface change
Arthur Schiwon [Wed, 9 Dec 2015 13:38:01 +0000 (14:38 +0100)]
adjust test's fakemanager to interface change

8 years agoimprove PHP doc and remove superflous by reference indicator
Arthur Schiwon [Tue, 8 Dec 2015 13:58:18 +0000 (14:58 +0100)]
improve PHP doc and remove superflous by reference indicator

8 years agoanounce CommentsManager getter in public server interface
Arthur Schiwon [Tue, 8 Dec 2015 13:57:55 +0000 (14:57 +0100)]
anounce CommentsManager getter in public server interface

8 years agohardening, add some checks for whitespace-only strings
Arthur Schiwon [Fri, 4 Dec 2015 10:13:39 +0000 (11:13 +0100)]
hardening, add some checks for whitespace-only strings

8 years agofix phpdoc
Arthur Schiwon [Fri, 4 Dec 2015 09:57:31 +0000 (10:57 +0100)]
fix phpdoc

8 years agorework test about overwriting default comments manager
Arthur Schiwon [Thu, 3 Dec 2015 20:53:58 +0000 (21:53 +0100)]
rework test about overwriting default comments manager

8 years agonamespaces for tests
Arthur Schiwon [Thu, 3 Dec 2015 16:23:22 +0000 (17:23 +0100)]
namespaces for tests

8 years agofix php doc
Arthur Schiwon [Thu, 3 Dec 2015 16:20:40 +0000 (17:20 +0100)]
fix php doc

8 years agoOC not oc
Arthur Schiwon [Thu, 3 Dec 2015 16:19:40 +0000 (17:19 +0100)]
OC not oc

8 years agoparameter checks for setting actor and object to happen only in one place
Arthur Schiwon [Thu, 3 Dec 2015 16:16:51 +0000 (17:16 +0100)]
parameter checks for setting actor and object to happen only in one place

8 years agofix usage of empty
Arthur Schiwon [Thu, 3 Dec 2015 16:13:18 +0000 (17:13 +0100)]
fix usage of empty

8 years agodifferent strategy in cleaning up after user was deleted
Arthur Schiwon [Thu, 3 Dec 2015 15:35:57 +0000 (16:35 +0100)]
different strategy in cleaning up after user was deleted

we do not listen to deletion hooks anymore, because there is no guarantee that they
will be heard - requires that something fetches the CommentsManager first.

Instead, in the user deletion routine the clean up method will be called directly. Same way
as it happens for files, group memberships, config values.

8 years agoadd icommentsmanger and icomment implementation
Arthur Schiwon [Mon, 23 Nov 2015 22:53:55 +0000 (23:53 +0100)]
add icommentsmanger and icomment implementation

register CommentsManager service, allow override, document in config.sample.php

don't insert autoincrement ids in tests, because of dislikes from oracle and pgsql

specify timezone in null date

only accepts strings for ID parameter that can be converted to int

replace forgotten hardcoded IDs in tests

react on deleted users

react on file deletion

Postgresql compatibility

lastInsertId needs *PREFIX* with the table name

do not listen for file deletion, because it is not reliable (trashbin, external storages)

add runtime cache for comments

8 years agoMerge pull request #21060 from owncloud/support-for-read-only-config-dir
Thomas Müller [Wed, 9 Dec 2015 13:32:00 +0000 (14:32 +0100)]
Merge pull request #21060 from owncloud/support-for-read-only-config-dir

Add support for read only config dir

8 years agoMerge pull request #21019 from owncloud/occ-get-apppath
Thomas Müller [Wed, 9 Dec 2015 12:15:16 +0000 (13:15 +0100)]
Merge pull request #21019 from owncloud/occ-get-apppath

Add occ command to get app path

8 years agoMerge pull request #20989 from owncloud/fix_20769
Thomas Müller [Wed, 9 Dec 2015 12:07:57 +0000 (13:07 +0100)]
Merge pull request #20989 from owncloud/fix_20769

Update parent when moving share into recieved share

8 years agoMerge pull request #21059 from owncloud/remove-deaed-code-mount-config
Thomas Müller [Wed, 9 Dec 2015 12:05:14 +0000 (13:05 +0100)]
Merge pull request #21059 from owncloud/remove-deaed-code-mount-config

Remove dead code

8 years agoMerge pull request #21068 from owncloud/fix-exit-code-autotest-external
Thomas Müller [Wed, 9 Dec 2015 12:02:25 +0000 (13:02 +0100)]
Merge pull request #21068 from owncloud/fix-exit-code-autotest-external

Fix exit code autotest external

8 years agoUse default timeout on connection test
Thomas Müller [Wed, 9 Dec 2015 11:18:51 +0000 (12:18 +0100)]
Use default timeout on connection test

8 years agoremove deprecated strict setting
Thomas Müller [Wed, 9 Dec 2015 11:10:12 +0000 (12:10 +0100)]
remove deprecated strict setting

8 years agoscript shall exit with error in case the start file has issues - fixes #20798
Thomas Müller [Wed, 9 Dec 2015 11:09:45 +0000 (12:09 +0100)]
script shall exit with error in case the start file has issues - fixes #20798

8 years agoMerge pull request #21061 from owncloud/fix-oracle-last-insert-id-test
Thomas Müller [Wed, 9 Dec 2015 10:53:43 +0000 (11:53 +0100)]
Merge pull request #21061 from owncloud/fix-oracle-last-insert-id-test

Fix the last insert id test by changing to an autoincremen…

8 years agoMerge pull request #21056 from owncloud/check-return
Thomas Müller [Wed, 9 Dec 2015 10:29:25 +0000 (11:29 +0100)]
Merge pull request #21056 from owncloud/check-return

Verify return type

8 years agoMerge pull request #21055 from owncloud/fix-php-docs-for-console
Thomas Müller [Wed, 9 Dec 2015 10:28:53 +0000 (11:28 +0100)]
Merge pull request #21055 from owncloud/fix-php-docs-for-console

Fix PHPDoc and check if path does exists

8 years agoMerge pull request #20995 from owncloud/fix-18734
Thomas Müller [Wed, 9 Dec 2015 10:27:46 +0000 (11:27 +0100)]
Merge pull request #20995 from owncloud/fix-18734

ensure multiselect always receives an array when setting its value, f…

8 years agoAdd occ command to get app path
Victor Dubiniuk [Mon, 7 Dec 2015 22:24:28 +0000 (01:24 +0300)]
Add occ command to get app path

8 years agoMerge pull request #21064 from owncloud/fix-occ-install-on-os-x
Thomas Müller [Wed, 9 Dec 2015 10:12:53 +0000 (11:12 +0100)]
Merge pull request #21064 from owncloud/fix-occ-install-on-os-x

Allow occ install on OS X - same behaviour as web setup

8 years agoDo not quote the table name for lastInsertId()
Joas Schilling [Wed, 9 Dec 2015 10:09:02 +0000 (11:09 +0100)]
Do not quote the table name for lastInsertId()

8 years agoAllow occ install on OS X - same behaviour as web setup
Morris Jobke [Wed, 9 Dec 2015 09:49:54 +0000 (10:49 +0100)]
Allow occ install on OS X - same behaviour as web setup

8 years agoMerge pull request #21003 from owncloud/personal-mount-mountid
Thomas Müller [Wed, 9 Dec 2015 09:05:36 +0000 (10:05 +0100)]
Merge pull request #21003 from owncloud/personal-mount-mountid

Dont set the string storage id to the numeric storage id for personal mounts

8 years agoMerge pull request #21005 from owncloud/verify_password_before_unshare
Thomas Müller [Wed, 9 Dec 2015 09:05:20 +0000 (10:05 +0100)]
Merge pull request #21005 from owncloud/verify_password_before_unshare

The ajax code path unshares a link share when updating the password

8 years agoMerge pull request #21038 from owncloud/share-computesharepermissions-notstore
Thomas Müller [Wed, 9 Dec 2015 09:04:56 +0000 (10:04 +0100)]
Merge pull request #21038 from owncloud/share-computesharepermissions-notstore

Fix (re)share permission checks in a few code paths

8 years agoMerge pull request #21043 from owncloud/add-php-doc
Thomas Müller [Wed, 9 Dec 2015 09:04:30 +0000 (10:04 +0100)]
Merge pull request #21043 from owncloud/add-php-doc

Add type description

8 years agoFix the last insert id test by changing to an autoincrement table
Joas Schilling [Wed, 9 Dec 2015 08:43:23 +0000 (09:43 +0100)]
Fix the last insert id test by changing to an autoincrement table

8 years agoAdd support for read only config dir
Lukas Reschke [Wed, 9 Dec 2015 07:54:11 +0000 (08:54 +0100)]
Add support for read only config dir

We already support the `config_is_read_only` for the config file itself. However not for the whole directory (which is a bug).

This unifies the check in the checkServer routine with the one in base.php. Now one can enable a read only config folder so that ownCloud is not allowed to overwrite it's own source code.

To test this set the whole config folder to read only, clear your session, refresh, see it fails, add the new code, refresh, see it works. Also verify that setup still works fine. (obviously setup does not work with a read only config Also verify that setup still works fine. (obviously setup does not work with a read only config))

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

8 years agoRemove dead code
Lukas Reschke [Wed, 9 Dec 2015 06:53:09 +0000 (07:53 +0100)]
Remove dead code

Silences two other security warnings, also I cleaned up the PHPDoc a little bit.

8 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 9 Dec 2015 06:55:14 +0000 (01:55 -0500)]
[tx-robot] updated from transifex

8 years agoVerify return type
Lukas Reschke [Wed, 9 Dec 2015 06:32:19 +0000 (07:32 +0100)]
Verify return type

Can also be null. Silences another security warning...

8 years agoFix PHPDoc and check if path does exists
Lukas Reschke [Wed, 9 Dec 2015 05:50:47 +0000 (06:50 +0100)]
Fix PHPDoc and check if path does exists

Mutes another security warning of some static scanners.

8 years agoAdd tests
Robin Appelman [Tue, 8 Dec 2015 17:01:44 +0000 (18:01 +0100)]
Add tests

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 agoMerge pull request #21037 from owncloud/fix-irritating-ldap-log-entry
Thomas Müller [Tue, 8 Dec 2015 15:24:50 +0000 (16:24 +0100)]
Merge pull request #21037 from owncloud/fix-irritating-ldap-log-entry

passing an empty base in this diagnosis call will not result  in LDAP…

8 years agoAdd type description
Lukas Reschke [Wed, 2 Sep 2015 14:49:34 +0000 (16:49 +0200)]
Add type description

Allows IDEs and static code analyzers. Would have saved me some minutes today :)

8 years agoMerge pull request #21018 from owncloud/scrutinizer-patch-1
Thomas Müller [Tue, 8 Dec 2015 13:51:57 +0000 (14:51 +0100)]
Merge pull request #21018 from owncloud/scrutinizer-patch-1

Scrutinizer Auto-Fixes

8 years agoMerge pull request #21031 from owncloud/sanitize-findAppInDirectories
Thomas Müller [Tue, 8 Dec 2015 12:52:04 +0000 (13:52 +0100)]
Merge pull request #21031 from owncloud/sanitize-findAppInDirectories

Sanitize the appId passed to `findAppInDirectories`

8 years agoMerge pull request #21030 from owncloud/querybuilder-new-features
Thomas Müller [Tue, 8 Dec 2015 12:51:45 +0000 (13:51 +0100)]
Merge pull request #21030 from owncloud/querybuilder-new-features

Querybuilder new features

8 years agoMerge pull request #20786 from owncloud/systemtags-dav
Thomas Müller [Tue, 8 Dec 2015 12:51:25 +0000 (13:51 +0100)]
Merge pull request #20786 from owncloud/systemtags-dav

DAV endpoint for system tags

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 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 agoAdd a method to the get "to use" table and column name
Joas Schilling [Tue, 8 Dec 2015 08:57:38 +0000 (09:57 +0100)]
Add a method to the get "to use" table and column name

8 years agoMerge pull request #21022 from owncloud/get-rid-of-by-reference
Thomas Müller [Tue, 8 Dec 2015 10:04:25 +0000 (11:04 +0100)]
Merge pull request #21022 from owncloud/get-rid-of-by-reference

Get rid of by reference

8 years agoMerge pull request #20979 from owncloud/settings-groups-entry
Thomas Müller [Tue, 8 Dec 2015 10:04:09 +0000 (11:04 +0100)]
Merge pull request #20979 from owncloud/settings-groups-entry

Add 'my groups' anchor to the personal page sidebar

8 years agoMerge pull request #21025 from owncloud/remove-legacy-trusted-domain-support
Thomas Müller [Tue, 8 Dec 2015 10:03:33 +0000 (11:03 +0100)]
Merge pull request #21025 from owncloud/remove-legacy-trusted-domain-support

Remove legacy repair steps + do not cast trusted domains