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
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
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
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
b27b690fa9
Add intergration test
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-14 13:54:25 +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
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
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
f1c313b8bd
Added test for 26182
2016-10-10 13:48:14 +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
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
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
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
Morris Jobke
0529caee7c
Add some integration test fixes
2016-07-29 08:55:56 +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
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
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
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
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
Roeland Jago Douma
27c9d8a690
Not logged in is original calculated target
2016-04-30 10:40:45 +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
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
Björn Schießle
499d131a09
always return the complete permissions the file was shared with
2016-04-12 17:56:56 +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
ca2a24d286
Add intergration tests
2016-03-10 20:12:58 +01:00
Roeland Jago Douma
0dd0adf69f
Intergration tests
2016-03-01 08:29:15 +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
Roeland Jago Douma
b116e80c56
Relax rootfolder check
...
* Updated unit tests
* Added intergration test
2016-02-26 16:05:32 +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
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
Roeland Jago Douma
b50edf3222
Add intergration test
2016-02-05 10:54:32 +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
Roeland Jago Douma
e081c86691
Fix integration tests
2016-01-13 22:15:19 +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
Sergio Bertolin
93f4524a91
Added check for /textfile0.txt
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
2c6e0da8f5
Change from with of
2015-11-30 14:49:35 +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