]>
source.dussan.org Git - nextcloud-server.git/log
Robin Appelman [Fri, 11 Dec 2015 12:52:04 +0000 (13:52 +0100)]
Check if user isset in $_REQUEST first
Jenkins for ownCloud [Sun, 13 Dec 2015 06:54:51 +0000 (01:54 -0500)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 12 Dec 2015 06:55:39 +0000 (01:55 -0500)]
[tx-robot] updated from transifex
Thomas Müller [Fri, 11 Dec 2015 15:04:06 +0000 (16:04 +0100)]
Merge pull request #21153 from owncloud/files-deleteactiontext
Bring back file delete action text to be based on context
Morris Jobke [Fri, 11 Dec 2015 14:55:50 +0000 (15:55 +0100)]
Merge pull request #20081 from owncloud/trashbin-loggedout
Fix trashbin wrapper when no user is loggedin
Vincent Petry [Fri, 11 Dec 2015 14:14:30 +0000 (15:14 +0100)]
Bring back file delete action text to be based on context
For received shares, the delete action becomes "Unshare" and for
personal mounts it becomes "Disconnect storage".
This also makes it possible from now on to pass a function to a file
action's "displayName" attribute.
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
Robin Appelman [Tue, 27 Oct 2015 11:10:23 +0000 (12:10 +0100)]
Fix thrashbin wrapper when no user is loggedin
Thomas Müller [Fri, 11 Dec 2015 11:15:01 +0000 (12:15 +0100)]
Merge pull request #20978 from owncloud/fix-dont-show-unsaved-values-in-usermgmt
reset mailadress/displayname on blur
Thomas Müller [Fri, 11 Dec 2015 10:46:37 +0000 (11:46 +0100)]
Merge pull request #20878 from owncloud/proper-htaccess-support-in-code-signing-checker
Also run .htaccess routine when installing on another system than Apache
Thomas Müller [Fri, 11 Dec 2015 10:44:43 +0000 (11:44 +0100)]
Merge pull request #21144 from owncloud/dav-auth-checkduplicateheader
Properly check X-Requested-With header in case of multiple values
Thomas Müller [Fri, 11 Dec 2015 10:40:51 +0000 (11:40 +0100)]
Merge pull request #21135 from owncloud/add-polyfill
Add polyfills for PHP55, PHP56 and PHP70 functionalities
Thomas Müller [Fri, 11 Dec 2015 10:40:32 +0000 (11:40 +0100)]
Merge pull request #21020 from owncloud/add-directory-slash-to-setup-code
Add DirectorySlash to dynamic .htaccess write
Thomas Müller [Fri, 11 Dec 2015 10:39:25 +0000 (11:39 +0100)]
Merge pull request #21045 from owncloud/scrutinizer-patch-1
Scrutinizer Auto-Fixes
Vincent Petry [Fri, 11 Dec 2015 10:22:38 +0000 (11:22 +0100)]
Properly check X-Requested-With header in case of multiple values
Saw this happening in IE8...
Thomas Müller [Fri, 11 Dec 2015 09:48:54 +0000 (10:48 +0100)]
Merge pull request #21087 from owncloud/catchexceptionindirectdownloadurl
Catch exception when querying direct download link
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
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
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
Lukas Reschke [Fri, 11 Dec 2015 09:20:01 +0000 (10:20 +0100)]
Adjust third-party reference
Joas Schilling [Fri, 11 Dec 2015 08:59:38 +0000 (09:59 +0100)]
Remove steps for ownCloud 6
Joas Schilling [Fri, 11 Dec 2015 08:56:24 +0000 (09:56 +0100)]
Fix the sample occ config call
Lukas Reschke [Fri, 11 Dec 2015 05:17:47 +0000 (06:17 +0100)]
Use PHP polyfills
Jenkins for ownCloud [Fri, 11 Dec 2015 06:55:44 +0000 (01:55 -0500)]
[tx-robot] updated from transifex
Morris Jobke [Thu, 10 Dec 2015 18:00:07 +0000 (19:00 +0100)]
IMemcacheTTL was backported to 8.2.2
see #21113
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
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
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
Thomas Müller [Thu, 10 Dec 2015 15:43:10 +0000 (16:43 +0100)]
adjust PHPDoc
Scrutinizer Auto-Fixer [Tue, 8 Dec 2015 15:01:20 +0000 (15:01 +0000)]
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Vincent Petry [Wed, 9 Dec 2015 16:31:14 +0000 (17:31 +0100)]
Catch exception when querying direct download link
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
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
Thomas Müller [Thu, 10 Dec 2015 15:10:45 +0000 (16:10 +0100)]
Remove info about database locking performance
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
Robin Appelman [Thu, 10 Dec 2015 12:36:43 +0000 (13:36 +0100)]
Add test case for group share propagation
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
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
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
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
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
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 ....
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
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…
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
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.
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
```
Sergio Bertolin [Wed, 9 Dec 2015 12:56:03 +0000 (12:56 +0000)]
Added check for /textfile0.txt
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
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
Jenkins for ownCloud [Thu, 10 Dec 2015 06:55:17 +0000 (01:55 -0500)]
[tx-robot] updated from transifex
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
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
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.
Arthur Schiwon [Wed, 9 Dec 2015 15:55:07 +0000 (16:55 +0100)]
use expectedException annotation, not via method call, for consistency
Arthur Schiwon [Wed, 9 Dec 2015 15:33:34 +0000 (16:33 +0100)]
use getLastInsertId from query builder for convenience
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
Arthur Schiwon [Wed, 9 Dec 2015 15:25:42 +0000 (16:25 +0100)]
remove unused use statement
Arthur Schiwon [Wed, 9 Dec 2015 15:25:31 +0000 (16:25 +0100)]
php < 5.5 compatible
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
Robin Appelman [Wed, 9 Dec 2015 14:38:49 +0000 (15:38 +0100)]
Let doctrine generate index names
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
Robin Appelman [Wed, 9 Dec 2015 13:13:05 +0000 (14:13 +0100)]
Remove all locks after ttl from the db
Robin Appelman [Wed, 9 Dec 2015 13:45:08 +0000 (14:45 +0100)]
add since
Robin Appelman [Wed, 9 Dec 2015 13:41:15 +0000 (14:41 +0100)]
ttl for memcache locking backends that support it
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
Arthur Schiwon [Wed, 9 Dec 2015 13:38:01 +0000 (14:38 +0100)]
adjust test's fakemanager to interface change
Arthur Schiwon [Tue, 8 Dec 2015 13:58:18 +0000 (14:58 +0100)]
improve PHP doc and remove superflous by reference indicator
Arthur Schiwon [Tue, 8 Dec 2015 13:57:55 +0000 (14:57 +0100)]
anounce CommentsManager getter in public server interface
Arthur Schiwon [Fri, 4 Dec 2015 10:13:39 +0000 (11:13 +0100)]
hardening, add some checks for whitespace-only strings
Arthur Schiwon [Fri, 4 Dec 2015 09:57:31 +0000 (10:57 +0100)]
fix phpdoc
Arthur Schiwon [Thu, 3 Dec 2015 20:53:58 +0000 (21:53 +0100)]
rework test about overwriting default comments manager
Arthur Schiwon [Thu, 3 Dec 2015 16:23:22 +0000 (17:23 +0100)]
namespaces for tests
Arthur Schiwon [Thu, 3 Dec 2015 16:20:40 +0000 (17:20 +0100)]
fix php doc
Arthur Schiwon [Thu, 3 Dec 2015 16:19:40 +0000 (17:19 +0100)]
OC not oc
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
Arthur Schiwon [Thu, 3 Dec 2015 16:13:18 +0000 (17:13 +0100)]
fix usage of empty
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.
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
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
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
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
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
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
Thomas Müller [Wed, 9 Dec 2015 11:18:51 +0000 (12:18 +0100)]
Use default timeout on connection test
Thomas Müller [Wed, 9 Dec 2015 11:10:12 +0000 (12:10 +0100)]
remove deprecated strict setting
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
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…
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
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
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…
Victor Dubiniuk [Mon, 7 Dec 2015 22:24:28 +0000 (01:24 +0300)]
Add occ command to get app path
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
Joas Schilling [Wed, 9 Dec 2015 10:09:02 +0000 (11:09 +0100)]
Do not quote the table name for lastInsertId()
Morris Jobke [Wed, 9 Dec 2015 09:49:54 +0000 (10:49 +0100)]
Allow occ install on OS X - same behaviour as web setup
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
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
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
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
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