Commit graph

129 commits

Author SHA1 Message Date
Thomas Müller
62d7885c3b Merge pull request #22660 from owncloud/fix_22656
Do not allow sharing of the users root folder
2016-02-26 10:49:12 +01:00
Roeland Jago Douma
8213d5df4f Do not allow sharing of the root folder
Sharing of the users root folder should not be allowed as it is very
weird UX. Also many of our clients have no proper way of displaying
this.

Added unit test

Also added intergration tests to make sure we won't allow it in the
future.
2016-02-25 20:40:30 +01:00
Lukas Reschke
8b8dcca6c5 Fix typo 2016-02-25 19:55:28 +01:00
Lukas Reschke
5780ba611e Add integration test for CSRF protection on DAV
This adds the integration tests for the CSRF protection on the DAV backend introduced with 9.0.

Fixes https://github.com/owncloud/core/issues/22598
2016-02-25 17:54:27 +01:00
Thomas Müller
473cd97a45 Merge pull request #22592 from owncloud/fix-response-header
Add header for attachment disposition only once
2016-02-24 12:15:32 +01:00
Morris Jobke
45e247594a Add a test that reproduces #20686
* user with a quota of 0 gets a file shared and can't update this file
  because the wrong quota is used to verify if the update is allowed
2016-02-23 14:50:24 +01:00
Lukas Reschke
fc2c5fe414 Add header for attachment disposition only once
Recent refactorings have resulted in the header being added twice, this makes browsers ignore the header which removes any security gains.

This changeset adds the header only once and adds integration tests ensuring the correct header in future.

https://github.com/owncloud/core/issues/22577
2016-02-23 12:23:41 +01:00
Lukas Reschke
c13259cf9e Add integration tests for tags 2016-02-19 20:45:20 +01:00
Lukas Reschke
16be9af20a Add integration tests for comments
This adds integration tests for the comments. Especially with regard to the permission handling, didn't find any problem in it.

Fixes https://github.com/owncloud/core/issues/22367
2016-02-19 18:08:34 +01:00
Joas Schilling
100b357c68 Check the mailmap file of core as well 2016-02-17 08:47:25 +01:00
Joas Schilling
049e3473b2 Allow the script to run for different git roots 2016-02-17 08:47:25 +01:00
Thomas Müller
8c90fea7ba Add script to generate coverage badges 2016-02-16 10:07:00 +01:00
Lukas Reschke
abc675d87e Move update notification code into app
Moves the update notification code in a single app. This is required since we want to use SSO for the new updater and for this have some code running in ownCloud as well (and we don't want that in core neccessarily). This app can provide that in the future, right now it's only the update notification itself. Will continue working on the SSO right away but wanted to keep the PR small.

Furthermore also makes some more code unit-testable...
2016-02-09 18:05:51 +01:00
Roeland Jago Douma
6d211f96dc Fix intergration tests 2016-02-08 11:30:48 +01:00
Roeland Jago Douma
b50edf3222 Add intergration test 2016-02-05 10:54:32 +01:00
Vincent Petry
5e08f1df78 Add comments app to expected apps in test 2016-02-02 18:16:54 +01:00
Roeland Jago Douma
d8114d6ce6 Add intergration test 2016-01-29 15:36:37 +01:00
Roeland Jago Douma
247b2ee0aa Add intergration test for shared_with me and group shares 2016-01-21 15:56:44 +01:00
Roeland Jago Douma
01aa03341a Renable intergration test 2016-01-21 15:56:44 +01:00
Vincent Petry
38cacd9405 Fix app metadata/test issues for system tags app 2016-01-20 12:26:50 +01:00
Scrutinizer Auto-Fixer
83a8e75614 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2016-01-15 12:54:26 +00:00
Roeland Jago Douma
e081c86691 Fix integration tests 2016-01-13 22:15:19 +01:00
Sergio Bertolín
acc67a6d48 Added test case about deleting a group with special characters 2016-01-13 09:49:25 +01:00
Sergio Bertolín
fb3dbe24db Added test with spcial chars in group 2016-01-13 09:49:19 +01:00
Thomas Müller
60fbab4934 We have new apps .... 2016-01-12 14:39:31 +01:00
Thomas Müller
6a796ff3cc Merge pull request #21066 from owncloud/behat_capabilities_changing_server_configuration
Added new capabilities test with changes in server configuration
2016-01-07 17:07:29 +01:00
Roeland Jago Douma
114f6115c3 Skip one intergration test until we have fixed the getshares
The new sharing code handles things differently so there is no way for
create shares to handle this all properly.
2016-01-06 14:53:43 +01:00
Roeland Jago Douma
0f6d55063d Make sure to login at least once for the intergration tests
Else we run into race conditions with the skeleton code
2016-01-06 14:53:43 +01:00
Joas Schilling
671b06a86b Deduplicate the array 2015-12-11 16:25:35 +01:00
Joas Schilling
1959171d5d Speed up the tests by reseting the configs and app only when needed 2015-12-11 16:25:35 +01:00
Sergio Bertolin
17fcd84ee3 Prepare logic to handle nested elements and add pending test cases 2015-12-11 16:20:04 +01:00
Sergio Bertolin
5b895335df Added tests disabling options using testing app 2015-12-11 16:20:04 +01:00
Joas Schilling
7d3e40c065 Add an OCS app for testing instead of using sudo and exec 2015-12-11 16:20:04 +01:00
Sergio Bertolin
0449dc387b Added functionality to change server configuration 2015-12-11 16:20:04 +01:00
Sergio Bertolin
4338a741f2 Added functionality for changing server configuration 2015-12-11 16:20:04 +01:00
Scrutinizer Auto-Fixer
ffc49a24f0 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-12-10 16:43:37 +01:00
Sergio Bertolin
93f4524a91 Added check for /textfile0.txt 2015-12-10 08:10:23 +00:00
Roeland Jago Douma
1d7a2aa9f9 Folder depth needs to be at least 3 for all tests to pass 2015-12-10 08:10:23 +00:00
Sergio Bertolin
e72955c65d Added shared by multiple channels test
* Small changes plus check of the file using propfind
* Restaured line removed accidentally
2015-12-10 08:10:23 +00:00
Sergio Bertolin
5cca471e82 forgotten variable 2015-12-04 12:53:11 +00:00
Sergio Bertolin
48a91164e5 Controlled arguments for run script 2015-12-04 12:43:08 +00:00
Thomas Müller
7d99289ced Merge pull request #20907 from owncloud/integration_tests_for_capabilities
Added capabilities context and tests
2015-12-03 16:54:36 +01:00
Sergio Bertolin
c744b30b3b Changed fail for assertEquals and removed fields which weren't checked 2015-12-03 12:54:44 +00:00
Sergio Bertolin
b17553d921 Added test case about downloading by range a public shared file 2015-12-03 10:58:31 +01:00
Sergio Bertolin
e01e894b98 Added capabilities context and tests 2015-12-02 17:29:42 +00:00
Morris Jobke
6baed0c998 fix code style 2015-12-01 14:51:33 +01:00
Morris Jobke
e86c847df5 add parameter to call single behat tests 2015-12-01 14:51:33 +01:00
Morris Jobke
83432b3c25 add behat tests for 0 quota upload failure 2015-12-01 14:51:32 +01:00
Thomas Müller
21e063a9e7 tail the server log and exit with the exit code of behat 2015-12-01 10:16:46 +01:00
Sergio Bertolin
2c6e0da8f5 Change from with of 2015-11-30 14:49:35 +00:00