Vincent Petry
d379b197d5
Fix forbidden backslash DAV integration tests
2017-04-26 15:47:59 +02:00
Sergio Bertolin
a761d4cce7
Added test cases from core 16825
2017-04-26 15:29:01 +02:00
Vincent Petry
9bff66e68d
Simplified new endpoint move test
2017-04-26 15:27:02 +02:00
Vincent Petry
c30feafaa2
Added case when final chunk move must not change file id
2017-04-26 15:26:15 +02:00
Sergio Bertolin
9ab17c95c0
Added test about checking file id after a move
2017-04-26 15:24:19 +02:00
Morris Jobke
51da0442d9
Merge pull request #4494 from nextcloud/fix-jsunit
...
Fix JS unit failure because of Jasmine 2.6 and the phantomjs launcher
2017-04-25 12:45:52 -03:00
Morris Jobke
dd5dbe3ebd
Fix JS unit failure because of Jasmine 2.6 and the phantomjs launcher
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-04-25 10:26:46 -03:00
Joas Schilling
7ea492b69a
Loop over the apps directory and add the task
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-04-25 14:35:51 +02:00
Joas Schilling
dee2c8d23b
Check whether we can json decode the translations
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-04-25 11:01:34 +02:00
Lukas Reschke
66835476b5
Add support for ratelimiting via annotations
...
This allows adding rate limiting via annotations to controllers, as one example:
```
@UserRateThrottle(limit=5, period=100)
@AnonRateThrottle(limit=1, period=100)
```
Would mean that logged-in users can access the page 5 times within 100 seconds, and anonymous users 1 time within 100 seconds. If only an AnonRateThrottle is specified that one will also be applied to logged-in users.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-04-13 12:00:16 +02:00
Morris Jobke
4cf4d2f27e
Favorites integration tests for shared files
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-04-12 11:44:57 -05:00
Joas Schilling
bd37021587
Fix casing of same origin frame option
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-04-12 12:37:32 +02:00
Vincent Petry
d1081e7940
Add integration test for trashbin
...
Add test for basic deletion.
Add test when deleting from shared folder as recipient.
Add test to check that metadata stays when moving out of shared folder
as recipient.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-04-11 14:59:21 -05:00
Lukas Reschke
4cf61481e5
Clear opcode cache after config change
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-04-11 18:57:40 +02:00
Lukas Reschke
b882f65fbb
Add integration tests
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-04-11 01:39:54 +02:00
Morris Jobke
4c60360bf7
Merge pull request #4221 from nextcloud/provisioning-api-for-account-info
...
Allow to change account info via provisioning api
2017-04-07 12:48:44 -05:00
Joas Schilling
3d628783d9
Allow to change account info via provisioning api
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-04-07 12:50:47 +02:00
Morris Jobke
b084ceec3d
Merge pull request #4224 from nextcloud/dont-list-on-public-calendar-endpoint
...
Don't list on public calendar endpoints
2017-04-05 20:55:39 -05:00
Lukas Reschke
63288ebc50
Don't list on public calendar endpoints
...
There is no need to allow listing here.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-04-05 22:43:05 +02:00
Lukas Reschke
1d3e391ad8
Add integration tests for token auth
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-04-05 17:58:33 +02:00
Roeland Jago Douma
04fc00fcdf
mergejs should print a newline between imports
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-03-31 17:06:38 +02:00
Robin Appelman
7d4c4224d1
fix setup of external storage integration tests
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-03-30 17:16:59 +02:00
Morris Jobke
f9bc53146d
Fix unit tests
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-28 21:00:12 -06:00
Morris Jobke
6901b28f07
Split long running features/sharing-v1.feature into two smaller parts
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-28 16:46:56 -06:00
Roeland Jago Douma
4821c00ea8
Merge pull request #4004 from nextcloud/backport-27172
...
Remove SharedCache::getNumericStorageId to let CacheWrapper do it
2017-03-28 21:56:44 +02:00
Vincent Petry
c54091d43b
Use authType BASIC for Sabre client in integration tests
...
This helps massively reduce the numerous useless 401 exceptions that
appears in the test log. These appear only because Sabre first connects
without any auth type to receive the challenge and then sends the
authentication data.
With this change it will directly use basic auth.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-24 12:40:14 -06:00
Lukas Reschke
f94bc6f8bb
Merge pull request #4013 from nextcloud/bundle_vendor_js
...
Bundle vendor js
2017-03-24 10:49:57 +01:00
Morris Jobke
9bd4c406e3
also install sinon
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-23 23:42:54 -06:00
Vincent Petry
46a32045d7
Update karma, use sinon from npm
...
Update karma library and use sinon JS library provided by
karma-jasmine-sinon instead of local file.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-23 23:35:41 -06:00
Morris Jobke
49d0507f5d
Merge pull request #3879 from nextcloud/downstream-26915
...
Added integration tests for sharees using v2.php
2017-03-23 16:12:24 -06:00
Morris Jobke
d2654c8aea
Merge pull request #3965 from nextcloud/downstream-27343
...
Providing --path option to transfer-ownership
2017-03-23 15:20:53 -06:00
Roeland Jago Douma
588f47d498
Add CI step to verify merged vendor js
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-03-23 13:40:30 +01:00
Roeland Jago Douma
eda98ed3df
Merge vendor js
...
There is a bunch of javascript we always load from vendors. This
combines this into 1 javascript file. Which reduces the number of
request by ~10.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-03-23 13:40:23 +01:00
Vincent Petry
89c42a76c3
Remove SharedCache::getNumericStorageId to let CacheWrapper do it
...
The CacheWrapper will properly forward the call to the wrapped cache.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-23 00:02:48 -06:00
Robin Appelman
1e707ef1db
add integration test to ensure that shares dont overwrite external storages
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-03-22 18:00:12 +01:00
Morris Jobke
209e3e39e2
Use proper bash test syntax
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-20 18:48:55 -06:00
Sujith H
f654f29532
Providing --path option to transfer-ownership
...
This will help user to selectively move the folders
specified using --path option, instead of moving
entire folder under files directory.
Signed-off-by: Sujith H <sharidasan@owncloud.com>
Update the integration test for transfer-ownership
Update the integration test for transfer-ownership
as the new option --path is introduced in the command.
Signed-off-by: Sujith H <sharidasan@owncloud.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-20 18:29:21 -06:00
Joas Schilling
ce302aea11
Fix warning
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-03-20 13:13:09 -06:00
Joas Schilling
a8e3168c17
200 is ok
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-03-20 13:13:09 -06:00
Joas Schilling
4157e7914a
Fix deletion of groups
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-03-20 13:13:09 -06:00
Joas Schilling
4626514a35
Strict comparisons
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-03-20 13:13:09 -06:00
Sergio Bertolin
8e99f19c28
Added tests using v2.php
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-20 13:13:08 -06:00
Joas Schilling
5cf6fc7e8d
Add integration tests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-03-20 10:45:27 +01:00
Sergio Bertolin
493b4c2f5c
Added logic and tests to remove everything inside a folder
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-20 02:19:04 -06:00
Sergio Bertolin
190ceba22f
Added functions to add files in local_storage
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-19 22:05:20 -06:00
Morris Jobke
4a9ce18ced
Revert "Add integration test for trashbin"
2017-03-17 12:06:16 -06:00
Roeland Jago Douma
3f331e02f9
Merge pull request #3893 from nextcloud/downstream-27069
...
Add integration test for trashbin
2017-03-17 10:10:00 +01:00
Joas Schilling
d504408efd
Merge pull request #3894 from nextcloud/downstream-27008
...
Integration test check download without saving file locally
2017-03-17 09:17:36 +01:00
Vincent Petry
3740f9bc26
Integration test check download without saving file locally
...
Use Guzzle stream mode to download the contents instead of using a
temporary local file.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-16 23:57:16 -06:00
Vincent Petry
659006c234
Add integration test for trashbin
...
Add test for basic deletion.
Add test when deleting from shared folder as recipient.
Add test to check that metadata stays when moving out of shared folder
as recipient.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-16 23:53:58 -06:00
Lukas Reschke
9e957d0ac9
Adjust integration test
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-03-16 20:51:40 +01:00
Roeland Jago Douma
e8ac348f47
Make intergration tests work again
...
The regex was to greedy
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-03-10 20:40:47 +01:00
Phil Davis
cbb735544a
Use clearer name setUpScenario
...
Signed-off-by: Phil Davis <phil.davis@inf.org>
2017-02-21 21:43:10 +05:45
Robert Scheck
25a2cb8c6e
Only request "IndexIgnore" if mod_autoindex is loaded
...
Signed-off-by: Robert Scheck <robert@fedoraproject.org>
2017-02-20 13:09:15 +01:00
Lukas Reschke
929648ce2c
Add integration tests for legacy DAV endpoints
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-02-10 16:18:04 +01:00
Arthur Schiwon
680fef76f8
remove outdated scenario
...
covered by "Delete a non-existing configuration"
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2017-01-20 23:41:20 +01:00
Arthur Schiwon
9ca4065ef5
LDAP PUT command now supports setting multiple keys at once
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2017-01-20 22:01:08 +01:00
Arthur Schiwon
08b31fcb7d
enable user_ldap app for tests
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2017-01-20 10:10:37 +01:00
Arthur Schiwon
1f7b08bd19
LDAP OCS Api for show config
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2017-01-19 15:19:20 +01:00
Arthur Schiwon
f2c9d04eac
test against OCS v2 instead
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2017-01-19 12:48:50 +01:00
Arthur Schiwon
01d469dfea
add LDAP OCS Api for modifying a configuration
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2017-01-19 11:09:04 +01:00
Arthur Schiwon
18a75bec0d
fix and extend behat tests
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2017-01-19 10:04:15 +01:00
Arthur Schiwon
a515de54e7
LDAP OCS Api for delete config
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2017-01-18 23:17:58 +01:00
Arthur Schiwon
689df9a843
LDAP OCS Api for create config
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2017-01-18 21:13:23 +01:00
Roeland Jago Douma
6347d97c7f
Merge pull request #2512 from nextcloud/cleanup-system-tag-usage
...
Only allow admins to delete tags
2017-01-06 16:17:09 +01:00
Morris Jobke
3ab22c2df5
Merge pull request #2948 from nextcloud/allow-global-composer-to-be-used
...
Allow to use a global composer instance
2017-01-06 15:31:24 +01:00
Roeland Jago Douma
ccab1168ce
Fix js tests
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-01-06 13:33:18 +01:00
Joas Schilling
1a8aaad0bc
Allow to use a global composer instance
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-01-05 11:01:59 +01:00
Christoph Wurst
02359c79fd
Test remember-me login
...
This adds a simple integration test that ensures that remembered
login works when the session cookies vanish.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-01-02 11:20:22 +01:00
Roeland Jago Douma
886341aca4
Merge pull request #2816 from nextcloud/changing_how_favorites_are_serialized
...
Return explicit values instead of boolean from sabre (#26654 )
2016-12-23 14:36:05 +01:00
Sergio Bertolin
aad088f3c0
Added phpdoc for getUserHome
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-23 12:25:20 +01:00
Sergio Bertolin
d1b8e58c86
Using propfind instead of accessing the file system
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-23 12:25:20 +01:00
Sergio Bertolin
456d4fce1e
Changed data directory for work one
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-23 12:25:20 +01:00
Sergio Bertolin
4480dca3e3
Added support for homes which doesn't have user's name
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-23 12:25:19 +01:00
Sergio Bertolin
b0a3b25724
Added functionaly for not shared elements
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-22 12:50:15 +01:00
Sergio Bertolin
fbbd833ed1
Added more favorites report cases
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-22 12:50:07 +01:00
Sergio Bertolin
e76732c03a
Added flexibility to properties
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-22 12:49:57 +01:00
Sergio Bertolin
02de82df91
Fixed failing problems
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-22 12:49:49 +01:00
Sergio Bertolin
b78dcae1d4
WIP commit, adding report support
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-22 12:49:39 +01:00
Sergio Bertolín
928f113361
Return explicit values instead of boolean from sabre ( #26654 )
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-22 10:10:29 +01:00
Lukas Reschke
591b60d11c
Merge pull request #2758 from nextcloud/only-one-dav-backend
...
Register only one dav backend
2016-12-21 13:03:48 +01:00
Vincent Petry
322b8ba138
Fix finding transferred folder in integration tests
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-19 17:41:11 +01:00
Lukas Reschke
29a1ebc362
Adjust integration test to Nextcloud branding
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-19 16:12:17 +01:00
Vincent Petry
734e55da95
Add test for duplicate 401 headers on DAV
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-19 15:47:25 +01:00
Lukas Reschke
7b5c28ab2a
Adjust to Nextcloud changes
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-19 14:10:13 +01:00
Vincent Petry
55bf9e3f71
Add transfer ownership integration tests ( #26543 )
...
* Add transfer ownership integration tests
* Added more transfer ownership tests and OCC checks
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-19 14:10:12 +01:00
Vincent Petry
553883a1f4
Add integration test for creating folder with colon
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-16 18:16:35 +01:00
Lukas Reschke
5b474e72d5
Merge pull request #2673 from nextcloud/shared-scanner-unmasked
...
use unmasked permissions in shared scanner
2016-12-15 15:54:32 +01:00
Robin Appelman
b8d44c21ca
Add integration tests for uploading files to a permission limited share
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-12-15 14:31:40 +01:00
Lukas Reschke
8a00638425
Don't set Content-Disposition header if one already exists
...
If a Content-Disposition header is already set by another plugin we don't need to set another one as this breaks clients.
Fixes https://github.com/nextcloud/server/issues/1992
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-14 17:35:27 +01:00
Roeland Jago Douma
60af938bf6
The hash can change so checking for it is kind of dangerous
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-12-13 12:07:07 +01:00
Joas Schilling
b8e9d255d3
Only allow admins to delete tags
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-12-06 16:30:21 +01:00
Roeland Jago Douma
4630ff536e
Add intergration tests
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-12-02 13:17:53 +01:00
Morris Jobke
951f7f5eaf
Add integration test for web based installer
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-11-21 22:00:16 +01:00
Lukas Reschke
d04ec9221c
Adjust integration test
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-11-21 11:30:02 +01:00
Roeland Jago Douma
b27b690fa9
Add intergration test
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-14 13:54:25 +01:00
Roeland Jago Douma
6a75296ccb
Merge pull request #1792 from nextcloud/bump_sabre
...
Bump sabre
2016-11-09 13:06:52 +01:00
Roeland Jago Douma
a8329947b4
Bump jstests deps
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-08 12:13:32 +01:00
Thomas Müller
c778b1bade
Update sabre dav to 3.2 ( #26115 )
...
* Update sabre/dav to 3.2.0
* Adjust code to work with sabre/dav 3.2.0 and it's dependencies
* Adding own CalDAV plugin to fix calendar home property
* Test if there is a user logged in when listing files home
* Update sabre version used by integration tests
* Disable unauthenticated DAV access
This is needed to make Sabre 3.2 behave like we did before.
Eventually we should integrate better with the ACL plugin which itself
should implement an auth failure when appropriate.
=====
* Fixed so cherry-pick was succesfull
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-04 13:35:10 +01:00
Roeland Jago Douma
d5665eb93b
Add sleep function
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-04 11:20:33 +01:00
Roeland Jago Douma
bcd7a9a034
Fix tests
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-04 08:44:35 +01:00
Morris Jobke
db65bc6fff
Remove unneeded behat method
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-11-02 22:51:13 +01:00
Sergio Bertolin
a642a40f3f
Adapted favorites and dav2 features
...
Adapted sharing and external features, random failures in sharing:857
Added weddav related feature
Removed forgotten leftovers
2016-11-02 22:49:44 +01:00
Lukas Reschke
88199f1cc1
Add .htaccess checker as CI step
...
Don't want anyone to commit invalid changes in that file again 🙈
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-11-02 20:11:30 +01:00
Morris Jobke
ffebc050d0
Merge pull request #1887 from nextcloud/downstream-26370
...
Added functions to check etag of elements - integration tests
2016-11-02 14:57:45 +01:00
Roeland Jago Douma
ea786a35a6
Fix intergration tests
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-02 08:49:58 +01:00
Sergio Bertolin
3135d3a7b2
Added test case about issue 26346
2016-11-02 08:49:58 +01:00
Sergio Bertolin
7d9e031abe
Changed description of variable
2016-11-02 08:49:58 +01:00
Sergio Bertolin
a3c3ec9dd7
Added functions to check etag of elements
2016-11-02 08:49:57 +01:00
Bjoern Schiessle
6d7520b1e2
unit tests updated and new added
...
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2016-11-01 19:54:41 +01:00
Morris Jobke
8dcef4fb59
remove unneeded steps
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-10-21 10:03:48 +02:00
Sergio Bertolín
0417cbafd0
Changed request to not add a prefix to the url ( #26256 )
...
* Changed request to not add a prefix to the url
* Expecting forbidden instead of service unavailable
* Handling login exceptions
2016-10-20 17:21:08 +02:00
Sergio Bertolin
f1c313b8bd
Added test for 26182
2016-10-10 13:48:14 +02:00
Sergio Bertolín
01393592eb
Adding type parameter because behat cannot ignore it
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-06 13:57:58 +02:00
Sergio Bertolín
7744cb5240
Orphaned shares test and some requirements
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-06 13:57:54 +02:00
Sergio Bertolin
09a90b4000
User was incorrect
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-05 08:19:43 +02:00
Sergio Bertolín
d81f4ea53c
Modifications to avoid old dav path
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-05 08:19:43 +02:00
Sergio Bertolin
88b0af4211
Added failing tests
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-05 08:19:43 +02:00
Roeland Jago Douma
554d0c58c3
Fix size
...
Nextcloud has a letter (byte) more than ownCloud. So update test
2016-10-02 21:18:20 +02:00
Sergio Bertolin
e011065a08
Added quota calculation test when a file is recieved
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-02 21:16:50 +02:00
Sergio Bertolin
7413e2a88c
Added test checking quota after usage
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-02 21:16:49 +02:00
Joas Schilling
a1e4b17ff4
Remove unused endpoint
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-30 10:21:08 +02:00
Lukas Reschke
b85b6abda8
Add codecov
...
Allows coverage tracking using codecov
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-28 21:08:17 +02:00
Lukas Reschke
3e843fcd82
Merge pull request #1538 from nextcloud/fix-integration-test-to-use-a-valid-url
...
Fix integration test to use a valid URL
2016-09-27 12:35:55 +02:00
Joas Schilling
eb8886851f
Fix integration test to use a valid URL
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-27 12:00:02 +02:00
Lukas Reschke
6a490106bc
Read repo name dynamically
...
This way apps can easily use this as well
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-26 21:20:01 +02:00
Lukas Reschke
0e74aaefe7
Rely solely on GitHub API output
...
This doesn't download the whole git repository again which saves roughly 90 seconds in execution time on the test.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-22 11:40:00 +02:00
Lukas Reschke
f9a4bb94f6
Add checker for signed off commits
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-22 09:08:21 +02:00
Roeland Jago Douma
e392f669c0
Make OCS intergration tests check for CSP
...
* Very hacky in simple test but at least we test
2016-09-15 13:11:36 +02:00
Thomas Müller
aa10231027
$this->blackListedClassNames is unknown
2016-09-07 22:09:08 +02:00
Roeland Jago Douma
19ecacd57e
Add basic osc intergration tests
2016-09-07 13:04:21 +02:00
Roeland Jago Douma
581a83c2a1
Fix AppTest and intergration test
2016-09-05 09:42:58 +02:00
Lukas Reschke
84c742b95e
Use "testing" instead of "user_ldap" as test app
2016-08-31 10:40:17 +02:00
Sergio Bertolín
81c18f5aa7
Creating the folder when the tests run
2016-08-30 17:23:56 +02:00
Sergio Bertolín
86cfcde5e9
Changed enabled/disabled app in provisioning api tests
2016-08-30 17:23:49 +02:00
Sergio Bertolín
7106129baa
External storage was not enabled and content was not deleted before scenarios
2016-08-30 17:23:26 +02:00
Sergio Bertolín
3a5d29fb59
Added local_storage folder
2016-08-30 17:23:22 +02:00
Sergio Bertolin
b7b0f4780c
Run as current user
2016-08-30 17:23:18 +02:00
Sergio Bertolin
b154c8fa39
Removed extra context added needed option and remove storage after external storage scenarios
2016-08-30 17:23:13 +02:00
Sergio Bertolin
85f00e2c01
Added feature and context, not working yet, option to allow sharing needs to be added
2016-08-30 17:23:08 +02:00
Sergio Bertolin
f72fea8d0e
Modified run.sh to mount a local storage
2016-08-30 17:23:04 +02:00
Sergio Bertolin
c16b15d52e
Added integration test
2016-08-29 14:13:26 +02:00
Joas Schilling
28c8469ade
Make sure to also detect their new copy right line
...
Ref owncloud/core#25518
2016-08-18 10:59:59 +02:00
Lukas Reschke
7cd4874112
Merge pull request #895 from nextcloud/autoloader_checker
...
Autoloader checker
2016-08-17 16:27:14 +02:00
Joas Schilling
027069cbae
Merge pull request #846 from nextcloud/provisioning_api_ocs
...
Move Provisioning API to the AppFramework
2016-08-17 10:23:13 +02:00
Roeland Jago Douma
b6fc62aeb2
Add autoload checker
2016-08-17 08:47:59 +02:00
Roeland Jago Douma
b5f61ba0e2
If there is no copyright notice print comment line
2016-08-15 14:51:09 +02:00
Roeland Jago Douma
08a71b176f
Do not licence composer stuff
2016-08-15 14:42:39 +02:00
Roeland Jago Douma
77542817d1
Fix intergration tests
...
* Set OCS-APIREQUEST: true
* PUT requires a body
2016-08-14 18:34:07 +02:00
Roeland Jago Douma
e7b515582a
Fix intergration test for admin_audit
2016-08-08 16:47:10 +02:00
Lukas Reschke
70eef2a82e
Merge pull request #445 from nextcloud/ocs_share_to_appframework
...
OCS Share API to appframework
2016-08-08 14:59:59 +02:00
Roeland Jago Douma
774ff433d7
Disbale failing intergration test for now
...
I have not been able to reproduce this failure locally yet.
But it seems to happen often on CI.
So disable for now.
2016-08-05 15:29:10 +02:00
Roeland Jago Douma
dd9f195afd
Add OCS-APIREQUEST header to intergration test calls
2016-08-05 14:17:32 +02:00
Vincent Petry
6d8d5f7bc5
Add integration tests for double shares with rename in between
2016-08-03 10:16:28 +02:00
Vincent Petry
573f6de6a0
Add integration tests for merging received shares
2016-08-03 10:16:28 +02:00
Roeland Jago Douma
1088870eb1
Add intergration test
2016-08-02 11:12:52 +02:00
Björn Schießle
6cf7bf111e
Merge pull request #648 from nextcloud/add-quotaplugin-v2-master
...
[upstream] Adding quota plugin to new dav endpoint
2016-07-29 11:44:34 +02:00
Thomas Müller
6f34c37cfb
Adding quota plugin to new dav endpoint ( #25615 )
...
* Adding quota plugin to new dav endpoint
* Added integrated test failing in old endpoint
* Added 0B quota test
2016-07-29 10:03:46 +02:00
Morris Jobke
0529caee7c
Add some integration test fixes
2016-07-29 08:55:56 +02:00
enoch85
b7ce4e1686
ownCloud --> Nextcloud
2016-07-28 20:50:23 +02:00
Joas Schilling
96d466475c
Add app to provisioning output
2016-07-26 16:39:04 +02:00
Roeland Jago Douma
67ce87dca7
Fix intergration tests
2016-07-22 13:37:32 +02:00
Morris Jobke
363ca21085
Merge pull request #505 from nextcloud/fix-license-script
...
Fix the license script
2016-07-21 23:48:31 +02:00
Joas Schilling
0215b004da
Update with robin
2016-07-21 18:13:58 +02:00
Bjoern Schiessle
b64c6d6993
only search the license header for @copyright statements
2016-07-21 18:06:31 +02:00
Joas Schilling
c98de829c4
Fix the license script
2016-07-21 18:06:31 +02:00
Lukas Reschke
ba4f12baa0
Implement brute force protection
...
Class Throttler implements the bruteforce protection for security actions in
Nextcloud.
It is working by logging invalid login attempts to the database and slowing
down all login attempts from the same subnet. The max delay is 30 seconds and
the starting delay are 200 milliseconds. (after the first failed login)
2016-07-20 22:08:56 +02:00
Lukas Reschke
813b58ab94
Merge pull request #398 from nextcloud/issue-388-fix-hidden-file-list-master
...
Fix hidden file list master
2016-07-14 15:37:42 +02:00
Joas Schilling
268e65730a
Add a new integration test for CREATE only shares
2016-07-14 14:33:28 +02:00
Joas Schilling
f72f819086
Make sure the update was successful
2016-07-14 14:32:51 +02:00
Bjoern Schiessle
762d76f0c3
- keep copyright notice and only update the authors list
...
- check if all changes to a file happened after the fork, this allows the authors to check if the file can be relicensed to AGPLv3 or later
2016-07-13 20:31:16 +02:00
Morris Jobke
ba16fd0d33
Merge branch 'master' into sync-master
2016-07-07 11:29:46 +02:00
Vincent Petry
17297d4db1
Add integration test for sharing with group, then user in group
...
Add integration test for the use case where a group share exists and
then the same owner creates a direct share to a user in that group.
2016-07-05 11:16:39 +02:00
Thomas Pulzer
90b7f74da7
Changed name of default logfile from owncloud.log to nextcloud.log.
2016-07-04 11:50:32 +02:00
Lukas Reschke
b32b296ed7
Add integration tests
2016-06-30 12:21:01 +02:00
Morris Jobke
b6397ef73a
Merge pull request #236 from nextcloud/master-sync-upstream
...
[Master] sync upstream
2016-06-28 09:02:03 +02:00
Lukas Reschke
6670d37658
Merge remote-tracking branch 'upstream/master' into master-sync-upstream
2016-06-27 18:23:00 +02:00
Lukas Reschke
b7e91c5c3a
Adjust integration test
...
The app is now enabled by default
2016-06-27 10:26:23 +02:00
Vincent Petry
955635c7aa
Add explicit delete permission to link shares
...
Link shares always allowed deletion, however internally the permissions
were stored as 7 which lacked delete permissions. This created an
inconsistency in the Webdav permissions.
This fix makes sure we include delete permissions in the share
permissions, which now become 15.
In case a client is still passing 7 for legacy reasons, it gets
converted automatically to 15.
2016-06-24 09:48:48 +02:00
Lukas Reschke
2b493e2f9d
Merge remote-tracking branch 'upstream/master' into master-sync-upstream
2016-06-21 11:18:22 +02:00
Sergio Bertolín
491e2654eb
Added test with new endpoint ( #23934 )
...
* Added test with new endpoint
* Moved all scenarios using new dav endpoint to a new feature file
* Removed extra slash in welcome.txt
* some fixes
* Incorrect user while downloading with range
* Fixed Content-disposition
2016-06-17 14:10:43 +02:00
Sergio Bertolín
19b7ae673a
Added unfavoriting tests and some rewording
2016-06-15 14:21:59 +02:00
Sergio Bertolín
4232458652
Fixing the tests
2016-06-15 14:21:59 +02:00
David Toledo
39a56c7bc1
Added favorites integration tests
2016-06-15 14:21:59 +02:00
Morris Jobke
553bd71c9b
fix integration tests for new admin_audit app
2016-06-14 16:33:24 +02:00
Morris Jobke
859ca1f9bb
Add integration tests
2016-06-14 16:03:59 +02:00
Thomas Müller
d0a2515e2b
Us an explicit version of sabre/dav to allow caching on the jenkins slaves - fixes #25087 ( #25088 )
2016-06-14 09:53:30 +02:00
Arthur Schiwon
ae02685e6f
Merge branch 'master' of https://github.com/owncloud/core into downstream-160614
2016-06-14 01:06:25 +02:00
Morris Jobke
c64c723027
Use proper PhantomJS library and run the tests as separate step
...
* add dependency for phantomjs
2016-06-13 14:04:25 +02:00
Stefan Weil
f7c41fa4e6
Fix typo (found by codespell) ( #25073 )
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-06-13 08:23:33 +02:00
Arthur Schiwon
42c66efea5
Merge branch 'master' of https://github.com/owncloud/core into downstream-160611
2016-06-11 15:34:43 +02:00
Arthur Schiwon
a636e4ff28
Downstream 2016-06-09
...
Merge branch 'master' of https://github.com/owncloud/core into downstream-160609
2016-06-09 18:45:12 +02:00
blizzz
51fd2602a7
Revert "Downstream 2016-06-08"
2016-06-09 17:41:57 +02:00
Vincent Petry
1399e87d57
DAV now returns file name with Content-Disposition header
...
Fixes issue where Chrome would append ".txt" to XML files when
downloaded in the web UI
2016-06-09 15:51:41 +02:00
Sergio Bertolin
44f72412bf
Get a range from several chunks
2016-06-09 13:50:28 +02:00
Sergio Bertolin
8de206c7ed
Added another case about overwriting folder using old chunking
2016-06-09 13:50:28 +02:00
Sergio Bertolin
57444b045b
Added same test using old chunking
2016-06-09 13:50:28 +02:00
Sergio Bertolin
a2c7b2e4b7
userUploadsChunkFileOfWithToWithChecksum has chunking-42 hardcoded
2016-06-09 13:50:28 +02:00
Sergio Bertolin
dbaeedc234
add overwriting using chunking but failing
2016-06-09 13:50:28 +02:00
Sergio Bertolin
91082578ab
Added tests about overwriting files and folders as recipient
2016-06-09 13:50:28 +02:00
Bjoern Schiessle
a41c579f63
no more CLA and switch to AGPLv3 or later
2016-06-06 19:18:24 +02:00
Sergio Bertolin
118050dcd0
Get a range from several chunks
2016-05-31 10:41:38 +02:00
Sergio Bertolin
a7167409e7
Added another case about overwriting folder using old chunking
2016-05-31 10:41:38 +02:00
Sergio Bertolin
dc05f979c2
Added same test using old chunking
2016-05-31 10:41:38 +02:00
Sergio Bertolin
f2bf75d3b7
userUploadsChunkFileOfWithToWithChecksum has chunking-42 hardcoded
2016-05-31 10:41:38 +02:00
Sergio Bertolin
a626aa21b1
add overwriting using chunking but failing
2016-05-31 10:41:38 +02:00
Sergio Bertolin
c6a5a43009
Added tests about overwriting files and folders as recipient
2016-05-31 10:41:38 +02:00
Vincent Petry
d288eb062e
Update integration tests for system tags with groups
2016-05-20 17:56:02 +02:00
Christoph Wurst
46bdf6ea2b
fix PHPDoc and other minor issues
2016-05-11 13:36:46 +02:00
Christoph Wurst
bfed02b038
add auth integration tests
2016-05-11 13:36:46 +02:00
Christoph Wurst
aa85edd224
increase token column width
...
add some range to time() assertions
2016-05-11 13:36:46 +02:00
Sergio Bertolin
661ab1a8c5
Modified expected output according to rullzer
2016-05-02 09:31:22 +02:00
Sergio Bertolín
271ba6da63
Added integration tests directly in the code PR
2016-05-02 09:31:22 +02:00
Thomas Müller
0eed6b5189
Integration test for a disabled user
2016-05-02 09:31:22 +02:00
Roeland Jago Douma
27c9d8a690
Not logged in is original calculated target
2016-04-30 10:40:45 +02:00
Thomas Müller
2ab4b1ce04
Merge pull request #23942 from owncloud/fix-behat
...
Use baseUrl as provided
2016-04-27 10:01:32 +02:00
Lukas Reschke
2625d8fc71
Merge pull request #23978 from owncloud/integration-test-remaining-from-qa-26
...
Added test case about downloading a file inside a folder with range
2016-04-16 23:34:53 +02:00
Lukas Reschke
e2946f7b80
Merge pull request #24030 from owncloud/integration-tests-improved-resharing
...
Added test case for QA-94
2016-04-16 23:28:28 +02:00
Lukas Reschke
95e62180ce
Merge pull request #23939 from owncloud/stricter-csp-for-dav-backend
...
Employ a stricter Content Security Policy on remote.php
2016-04-16 23:15:23 +02:00
Sergio Bertolin
5b34dcc099
Added test case for QA-94
2016-04-15 13:12:34 +00:00
Roeland Jago Douma
0cebb16e7c
Move share-permissions property namespace
...
Fixes https://github.com/owncloud/core/issues/23741
2016-04-15 10:22:18 +02:00
Roeland Douma
411fac892a
On mount make sure multiple shares with same target map to unique ones ( #23937 )
...
Scenario:
user0 shares a folder 'foo' with user2
user1 shares a folder 'foo' with user2
user2 logs in
Before: show only the 'foo' from user1
After: show both.
* Added intergration tests
2016-04-14 11:50:27 +02:00
Sergio Bertolin
ab40ec6494
Added test case about downloading a file inside a folder with range
2016-04-13 14:43:55 +00:00
Thomas Müller
3c0a1d4241
Merge pull request #20118 from owncloud/chunked-upload-dav
...
Initial implementation of the new chunked upload
2016-04-13 14:37:10 +02:00
Björn Schießle
499d131a09
always return the complete permissions the file was shared with
2016-04-12 17:56:56 +02:00
Thomas Müller
68a92d36ec
Use baseUrl as provided
2016-04-12 14:42:29 +02:00
Lukas Reschke
0cba1ba7f9
Employ a stricter Content Security Policy on remote.php
...
Items sent by remote.php have not to be interpreted by browsers in any way.
2016-04-12 13:30:37 +02:00
Roeland Jago Douma
629bc1812e
Add intergration tests for new chunking
...
The same intergration tests as for the old endpoint.
But now using the new chunking.
We upload 3 chunks in different order and the result should be the same
in all three.
2016-04-12 12:33:05 +02:00
Roeland Jago Douma
ab034f0593
Add intergration tests
2016-04-04 19:35:01 +02:00
Roeland Jago Douma
8c0ef4c4bd
Add sharePermissions webdav property
...
This property can be queries by the clients so they know the max
permissions they can use to share a file with. This will improve the UX.
The oc:permissions proptery is not enough since mountpoints have
different permissions (delete + move by default).
By making it a new property the clients can just request it. On older
servers it will just return a 404 for that property (and thus they know
they have to fall back to their hacky work arounds). But if the property
is returned the client can show proper info.
* unit tests
* intergration test
2016-03-31 20:12:34 +02:00
Roeland Jago Douma
6719f8ca60
Add intergration tests
...
* Only for sharees right now
* Sharing intergration tests fail due to the test setup we have right
now
2016-03-22 17:13:34 +01:00
Roeland Jago Douma
85f363ba2c
Add intergration tests
...
Intergration tests to ensure the share-types property is set correctly.
* Unshared item
* Shared with user
* Shared with group
* Shared by link
* Shared with user & group & link
2016-03-17 16:54:54 +01:00
Thomas Müller
8b5a1bbe3e
Merge pull request #23258 from owncloud/sharee-tests
...
Add integration tests for sharee endpoint
2016-03-16 21:54:20 +01:00
Joas Schilling
cb56dfec6b
Split the context so we don't reset the config on each test
2016-03-15 14:53:16 +01:00
Joas Schilling
c4b0a1cdfd
Add tests for user enumeration and sharing in group only
2016-03-15 14:24:51 +01:00
Joas Schilling
4e9c3b3d64
Always use the admin when putting poeple in a group
2016-03-15 14:24:21 +01:00
Joas Schilling
8eb9638490
Make the app config code ready for reuse
2016-03-15 14:23:41 +01:00
Joas Schilling
928138f11c
Deduplicate the existing background
2016-03-14 17:16:09 +01:00
Joas Schilling
f62a7b2447
Only match LOCAL and REMOTE as servers, correctly make use of the sharer server from the command
2016-03-14 10:55:52 +01:00
Thomas Müller
101e446577
Merge pull request #23091 from owncloud/issue-23085-csae-insensitive-group-search
...
Return the correct group casing in sharee api
2016-03-13 19:51:07 +01:00
Thomas Müller
c874ebf425
Merge pull request #23141 from owncloud/behat-code-style
...
Fix all the yellow, orange and red errors in integration tests
2016-03-11 14:56:44 +01:00
Joas Schilling
722188e503
Add integration tests for the "anti user iteration"
2016-03-11 14:15:09 +01:00
Joas Schilling
ab39be1d11
Add integration tests for sharee API
2016-03-11 14:08:12 +01:00
Joas Schilling
6d80efc2a4
Fix WebDav
2016-03-11 13:59:20 +01:00
Joas Schilling
6ff3d23b24
Fix docs of Tags
2016-03-11 13:59:19 +01:00
Joas Schilling
957a13d879
Remove unnecessary imports
2016-03-11 13:59:19 +01:00
Joas Schilling
d78357c210
Fix comments
2016-03-11 13:59:19 +01:00
Joas Schilling
c604046e3e
Fix checksumsContext
2016-03-11 13:59:19 +01:00
Joas Schilling
2faf520504
Fix issues in CardDav
2016-03-11 13:59:19 +01:00
Joas Schilling
b4affa4d27
Add docs for CalDavContext
2016-03-11 13:59:19 +01:00
Joas Schilling
0f214017d2
Docs for BasicStructure
2016-03-11 13:59:19 +01:00
Joas Schilling
6381c22a7d
Remove trailing spaces
2016-03-11 13:59:19 +01:00
Joas Schilling
cdc5470f7e
Fix the use of traits
2016-03-11 13:59:19 +01:00
Joas Schilling
26e974d859
Fix inheritance of members
2016-03-11 13:59:19 +01:00
Joas Schilling
62b77d8ed0
API version needs to be on basic because we use it there
2016-03-11 13:59:19 +01:00
Joas Schilling
5f7502de6c
Fix type in class name
2016-03-11 13:59:19 +01:00
Joas Schilling
95a7518653
Remove hardcoded api versions
2016-03-11 13:59:19 +01:00
Joas Schilling
985b11876f
asCreatingAShareWith has no return
2016-03-11 13:59:18 +01:00
Joas Schilling
9be7f4d19d
Fix docs
2016-03-11 13:59:18 +01:00
Sergio Bertolin
c153a27ce5
Change resharing to local instead of remote because of a deadlock
2016-03-11 08:49:26 +00:00
Sergio Bertolín
44da5fe1ab
Adding new tests for federation sharing
2016-03-11 08:49:26 +00:00
Roeland Jago Douma
ca2a24d286
Add intergration tests
2016-03-10 20:12:58 +01:00
Thomas Müller
0cc53ee06d
Merge pull request #22602 from owncloud/fix_slow_chunkcheck
...
Do not check all chunks of a chunked upload if we do not need to
2016-03-09 15:06:44 +01:00
Roeland Jago Douma
0b4ff1a9e3
Fix capabilities intergration tests
...
Split the array element selection and the member selection.
2016-03-08 15:13:15 +01:00
Roeland Jago Douma
7301b43eb6
Added tests
...
* Unit tests for OC_Filechunking to verify the isComplete function
* Intergration tests to show that shuffling chunks is all fine
2016-03-07 21:20:13 +01:00
Lukas Reschke
947720b800
Adjust OCS test
2016-03-04 18:00:23 +01:00
Lukas Reschke
3067367ff3
Add new apps
2016-03-01 17:52:32 +01:00
Lukas Reschke
c353d51810
Remove Scrutinizer Auto Fixer
2016-03-01 17:48:23 +01:00
Roeland Jago Douma
03d0fa012f
Checksum intergration test
...
* Upload file with checksum
* Chunked upload with checksum
* Copy file with checksum should also copy the checksum
* Moving a file with checksum should also move the checksum
* Uploading a file with checksum and overwriting it with a file without cheksum should remove the checksum
2016-03-01 11:37:16 +01:00
Thomas Müller
1652541150
Merge pull request #22700 from owncloud/only_1_linkshare
...
For now only allow 1 link share per file/folder
2016-03-01 09:22:39 +01:00
Thomas Müller
25a4571dcd
Merge pull request #22731 from owncloud/hide-nodes-from-listening
...
Hides nodes from listing that the user has no access to
2016-03-01 09:22:08 +01:00
Thomas Müller
fd4742d430
Merge pull request #22613 from owncloud/quota-changedavreturnvaluewhennoquotaset
...
Don't return quota when none set
2016-03-01 08:30:58 +01:00
Roeland Jago Douma
0dd0adf69f
Intergration tests
2016-03-01 08:29:15 +01:00
Lukas Reschke
d04edfaf0d
Hides nodes from listing that the user has no access to
2016-02-29 20:53:38 +01:00
Roeland Jago Douma
8924b0a0dc
Check correct permissions when resharing
...
Fixes #22675
Since we only get a share id we do not know the path for the sharer.
Now if we edit a share we start searching for shares for that user of
that node. And deduce the permissions that way.
* Intergration test added
* Fix unit tests
2016-02-29 19:30:14 +01:00
Vincent Petry
11215f4e27
Return -3 for unlimited quota
...
Returns -3 for unlimited quota in Webdav response.
Also adjusted personal page to show unlimited quota when set.
2016-02-29 14:36:20 +01:00
Roeland Jago Douma
b116e80c56
Relax rootfolder check
...
* Updated unit tests
* Added intergration test
2016-02-26 16:05:32 +01:00
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
Sergio Bertolin
69ca3a70d6
Added webdav test to check range downloads
2015-11-30 14:07:02 +00:00
Sergio Bertolin
52f6592991
Making propfinds, having depth in mind and checking it in gherkin description
2015-11-30 12:20:05 +00:00
Vincent Petry
40172e252b
Use depth 1 and valid properties to get a list
2015-11-27 15:38:45 +01:00
Sergio Bertolin
b99bd7f4fc
Added sabre dav in webdav, modified skeleton to have parent and child folders
2015-11-27 12:55:48 +00:00
Sergio Bertolin
9d44576819
Restructured FeatureContext to reuse some parts and run two servers in parallel
2015-11-26 17:03:17 +01:00
Sergio Bertolin
094a1bc7cb
Added test case about a user without a share requesting it
2015-11-26 13:19:49 +00:00
Sergio Bertolin
69a03c2e60
Added test case about trying to reshare a file with more permissions
2015-11-20 11:56:05 +00:00
Sergio Bertolin
a2938385f9
Making webdav path configurable
2015-11-20 11:26:52 +00:00
Sergio Bertolin
dd10e1d538
modified makedavrequest to return response
2015-11-20 09:17:48 +00:00
Sergio Bertolin
ee4a18a16c
added test about resharing
2015-11-19 14:17:56 +00:00
Sergio Bertolin
81e0a3ea22
Added test and logic for deleting all group shares
2015-11-19 12:45:13 +00:00
Sergio Bertolin
630ba2fd09
Added test for shared_with_me parameter
2015-11-19 12:45:12 +00:00
Sergio Bertolin
a990e0ac1d
Added some requirements for first test case
2015-11-19 12:45:12 +00:00
Joas Schilling
90b020cf88
Delete when it is a directory...
2015-11-18 12:53:36 +01:00
Joas Schilling
fbcdf17089
Fix doc blocks
2015-11-18 12:53:20 +01:00
Sergio Bertolin
ce8435530b
Modified test to PUT only 1 parameter with each update
2015-11-12 10:36:17 +00:00
Sergio Bertolin
eb6a13c231
Added a test including all the fields of the share update and checking output
2015-11-11 17:29:38 +00:00
Sergio Bertolin
7aeda7c99a
Added a test and logic for checking answer of public shares
2015-11-11 14:21:10 +00:00
Sergio Bertolin
7aa6e9b643
Added test to get info of a specific share id
...
Check fields of the share response
Added missing fields to check if their values are numbers
2015-11-10 16:25:34 +01:00
Sergio Bertolin
e34872141e
Added tests about getting shares of a file and a test for deleting a user from a group which doesn't exist
2015-11-06 11:57:02 +01:00
Sergio Bertolin
1a51d4c4c7
Added changes in the verification of sharing get responses
2015-11-05 09:10:46 +00:00
Sergio Bertolin
3b7690f842
added test for deleting a share
2015-11-04 13:42:14 +00:00
Sergio Bertolin
0593381522
Added general function to create shares in preconditions.
2015-11-04 12:16:00 +00:00