]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
8 years agoUse Authorization headers for public webdav instead of URL
Vincent Petry [Mon, 14 Dec 2015 16:42:13 +0000 (17:42 +0100)]
Use Authorization headers for public webdav instead of URL

Instead of prepending the token as username in the URL, use the
Authorization header instead. This is because IE9 considers this a
cross-domain call and refuses to do it in the first place.

8 years agoMerge pull request #21181 from owncloud/files-fixsharedrootdetection
Thomas Müller [Mon, 14 Dec 2015 12:50:35 +0000 (13:50 +0100)]
Merge pull request #21181 from owncloud/files-fixsharedrootdetection

Fix mount type root detection in web UI

8 years agoMerge pull request #21148 from owncloud/resetpassword-user-issert
Thomas Müller [Mon, 14 Dec 2015 10:27:46 +0000 (11:27 +0100)]
Merge pull request #21148 from owncloud/resetpassword-user-issert

Check if user isset in $_REQUEST first

8 years agoFix mount type root detection
Vincent Petry [Mon, 14 Dec 2015 09:44:47 +0000 (10:44 +0100)]
Fix mount type root detection

Since Webdav doesn't contain that information, we need to rely on the
parent folder's mount type to find out whether a child item is a
shared/external root or not.

Fixed the mount type detection logic and added unit test.

Also added a fix that ignores detection if no parent folder exists (ex:
shared file list, favorites, etc)

8 years agoMerge pull request #21163 from owncloud/fix_20839
Thomas Müller [Mon, 14 Dec 2015 09:25:27 +0000 (10:25 +0100)]
Merge pull request #21163 from owncloud/fix_20839

Files can't have create permissions

8 years agoCheck if user isset in $_REQUEST first
Robin Appelman [Fri, 11 Dec 2015 12:52:04 +0000 (13:52 +0100)]
Check if user isset in $_REQUEST first

8 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 13 Dec 2015 06:54:51 +0000 (01:54 -0500)]
[tx-robot] updated from transifex

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

8 years agoFiles can't have create permissions
Roeland Jago Douma [Fri, 11 Dec 2015 21:28:26 +0000 (22:28 +0100)]
Files can't have create permissions

Fixes #20839

8 years agoMerge pull request #21153 from owncloud/files-deleteactiontext
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

8 years agoMerge pull request #20081 from owncloud/trashbin-loggedout
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

8 years agoBring back file delete action text to be based on context
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.

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 agoMerge pull request #20978 from owncloud/fix-dont-show-unsaved-values-in-usermgmt
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

8 years agoMerge pull request #20878 from owncloud/proper-htaccess-support-in-code-signing-checker
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

8 years agoMerge pull request #21144 from owncloud/dav-auth-checkduplicateheader
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

8 years agoMerge pull request #21135 from owncloud/add-polyfill
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

8 years agoMerge pull request #21020 from owncloud/add-directory-slash-to-setup-code
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

8 years agoMerge pull request #21045 from owncloud/scrutinizer-patch-1
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

8 years agoProperly check X-Requested-With header in case of multiple values
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...

8 years agoMerge pull request #21087 from owncloud/catchexceptionindirectdownloadurl
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

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 agoAdjust third-party reference
Lukas Reschke [Fri, 11 Dec 2015 09:20:01 +0000 (10:20 +0100)]
Adjust third-party reference

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 agoUse PHP polyfills
Lukas Reschke [Fri, 11 Dec 2015 05:17:47 +0000 (06:17 +0100)]
Use PHP polyfills

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 agoadjust PHPDoc
Thomas Müller [Thu, 10 Dec 2015 15:43:10 +0000 (16:43 +0100)]
adjust PHPDoc

8 years agoScrutinizer Auto-Fixes
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

8 years agoCatch exception when querying direct download link
Vincent Petry [Wed, 9 Dec 2015 16:31:14 +0000 (17:31 +0100)]
Catch exception when querying direct download link

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()