Commit Graph

168 Commits

Author SHA1 Message Date
Roeland Jago Douma 3387e5d00f
Add intergration test 2016-08-03 09:23:12 +02:00
Lukas Reschke 971f22edc5
[stable9] Adding quota plugin to new dav endpoint
Backport of https://github.com/nextcloud/server/pull/648
2016-07-29 12:41:53 +02:00
Joas Schilling 7177e31b96 Merge pull request #516 from nextcloud/run-le-script-9
[stable9] Run the license script
2016-07-22 11:41:34 +02:00
Joas Schilling ca6a7d9e6a
Run the license script 2016-07-22 09:48:05 +02:00
Bjoern Schiessle 70a1d5bc26
only search the license header for @copyright statements 2016-07-22 09:39:18 +02:00
Joas Schilling 5419b74ef0
Fix the license script 2016-07-22 09:39:07 +02:00
Bjoern Schiessle 4e52b845ea
- 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-22 09:38:56 +02:00
Bjoern Schiessle e685de8b5f
no more CLA and switch to AGPLv3 or later 2016-07-22 09:38:43 +02:00
Morris Jobke 11e834ea74
Merge branch 'stable9' into sync-stable9 2016-07-07 12:03:34 +02:00
Vincent Petry ffe1a8bffc
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:14:56 +02:00
Bjoern Schiessle 3cb7672b06
initial commit for the theming app 2016-06-30 17:26:03 +02:00
Bjoern Schiessle 3491400261
add some additonal permission checks to the webdav backend 2016-06-30 15:05:13 +02:00
Lukas Reschke dcb5f00461
Merge remote-tracking branch 'upstream/stable9' into stable9-upstream-sync 2016-06-26 12:48:19 +02:00
Roeland Douma b6192c39d8
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-06-23 14:27:51 +02:00
Lukas Reschke 851b277a8e
Adjust integration test 2016-06-20 22:28:13 +02:00
Thomas Müller 0934153ed2
Use an explicit version of sabre/dav to allow caching on the jenkins slaves - fixes #25087 (#25089) 2016-06-20 17:37:17 +02:00
Vincent Petry 3da5d06aa0 Merge pull request #25052 from owncloud/stable9-webdav-download-mimetype
[stable9] DAV now returns file name with Content-Disposition header
2016-06-15 15:27:36 +02:00
Morris Jobke bd278c2081
fix integration tests for new admin_audit app 2016-06-15 12:30:50 +02:00
Morris Jobke 97ae4d8b00
Add integration tests 2016-06-15 12:30:45 +02:00
Thomas Müller 3e846a4821 Use an explicit version of sabre/dav to allow caching on the jenkins slaves - fixes #25087 (#25089) 2016-06-14 12:11:35 +02:00
Morris Jobke 74a93290aa
Use proper PhantomJS library and run the tests as separate step
* add dependency for phantomjs
2016-06-13 14:20:20 +02:00
Vincent Petry 81761b87e4
DAV now returns file name with Content-Disposition header 2016-06-13 10:50:10 +02:00
Roeland Jago Douma 26deb0a897 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-18 11:37:56 +01:00
Thomas Müller 5a6b2956d8 Merge pull request #23022 from owncloud/stable9_backport_22602
[stable 9]   Do not check all chunks of a chunked upload if we do not need to
2016-03-15 12:15:45 +01:00
Joas Schilling 8e49a99896 Add integration tests for sharee API 2016-03-14 13:48:21 +01:00
Roeland Jago Douma 67c4759017 Add intergration tests 2016-03-10 21:20:49 +01:00
Roeland Jago Douma 91c7d293ca Added tests
* Unit tests for OC_Filechunking to verify the isComplete function
* Intergration tests to show that shuffling chunks is all fine
2016-03-09 14:48:42 +01:00
Lukas Reschke c9c85b8d4a Adjust OCS test 2016-03-04 17:59:57 +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