Daniel Calviño Sánchez
3802174f06
Do not create folders with admin user
...
The admin user is not deleted after each integration test is run, so
folders created by the admin user in one test are still there when the
next tests run; tests should be independent one from each other, so a
regular user that is created and deleted for each test should be used
instead.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-06-27 15:27:30 +02:00
Christoph Wurst
409acf1131
Fix js l10n registration to also work with more than one bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-06-26 10:07:21 +02:00
Arthur Schiwon
437b33ff63
add LDAP integr. test for receiving share candidates with group limitation
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-06-14 06:23:58 +02:00
dependabot-preview[bot]
430f56a3a7
[Security] Bump tar from 2.2.1 to 2.2.2 in /build
...
Bumps [tar](https://github.com/npm/node-tar ) from 2.2.1 to 2.2.2. **This update includes security fixes.**
- [Release notes](https://github.com/npm/node-tar/releases )
- [Commits](https://github.com/npm/node-tar/compare/v2.2.1...v2.2.2 )
2019-05-24 23:26:19 +00:00
blizzz
755611866e
Merge pull request #15604 from nextcloud/fix/12682/fix-possible-override-of-uniquemember
...
fixes possible override of uniqueMember by autodetection
2019-05-22 19:09:28 +02:00
Arthur Schiwon
54299f4e66
set the ldapGroupMemberAssocAttr for group tests
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-05-22 12:48:12 +02:00
Morris Jobke
d3511f69f9
Merge pull request #15499 from nextcloud/app-update-script
...
Add scripts to update server & apps or apps only
2019-05-21 17:42:57 +02:00
dependabot[bot]
cb53a582e6
Bump jsdoc from 3.6.1 to 3.6.2 in /build
...
Bumps [jsdoc](https://github.com/jsdoc/jsdoc ) from 3.6.1 to 3.6.2.
- [Release notes](https://github.com/jsdoc/jsdoc/releases )
- [Changelog](https://github.com/jsdoc/jsdoc/blob/master/CHANGES.md )
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.1...3.6.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-19 01:13:24 +00:00
Jan-Christoph Borchardt
fa066da77c
Fix app update script for macOS
...
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-05-17 22:49:39 +02:00
Jan-Christoph Borchardt
8f0656aae9
Remove eduplicate git fetch from update scripts
...
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-05-17 22:49:39 +02:00
Jan-Christoph Borchardt
bc61b15e2f
Adjust script to remove branches which are deleted on GitHub
...
Co-Authored-By: Morris Jobke <hey@morrisjobke.de>
2019-05-17 22:49:39 +02:00
Jan-Christoph Borchardt
934924577a
Fix for update script when submodule is not initialized
...
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-05-17 22:49:39 +02:00
Jan-Christoph Borchardt
b403d72f51
Also add script to update both server and apps
...
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-05-17 22:49:38 +02:00
Jan-Christoph Borchardt
9f4ae034c1
Add script to update Nextcloud apps from latest git master, ref #15145
...
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-05-17 22:49:38 +02:00
Daniel Kesselberg
bc35b59fc7
Remove whitespace
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-05-15 20:37:06 +02:00
Daniel Kesselberg
941018cfe5
Use DRONE_SOURCE_BRANCH instead of DRONE_COMMIT_REFSPEC
...
Looks like DRONE_COMMIT_REFSPEC is not available anymore on Drone 1.x
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-05-15 19:56:20 +02:00
Daniel Kesselberg
3e9f9ea06b
Update regex to also match version/x.y.z
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-05-15 19:36:01 +02:00
dependabot[bot]
f0932344cb
Bump jsdoc from 3.6.0 to 3.6.1 in /build
...
Bumps [jsdoc](https://github.com/jsdoc/jsdoc ) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/jsdoc/jsdoc/releases )
- [Changelog](https://github.com/jsdoc/jsdoc/blob/master/CHANGES.md )
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.0...3.6.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-12 01:12:56 +00:00
Arthur Schiwon
3a5d4abdf1
use webpack to compile handlebars
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-05-10 14:50:40 +02:00
Arthur Schiwon
3ec5ee47fa
adjust paths to template location
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-05-10 13:15:49 +02:00
dependabot[bot]
927c040fe8
Bump jsdoc from 3.5.5 to 3.6.0 in /build
...
Bumps [jsdoc](https://github.com/jsdoc/jsdoc ) from 3.5.5 to 3.6.0.
- [Release notes](https://github.com/jsdoc/jsdoc/releases )
- [Changelog](https://github.com/jsdoc/jsdoc/blob/master/CHANGES.md )
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.5.5...3.6.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-05 01:12:46 +00:00
dependabot[bot]
fa96185efe
Bump node-sass from 4.11.0 to 4.12.0 in /build
...
Bumps [node-sass](https://github.com/sass/node-sass ) from 4.11.0 to 4.12.0.
- [Release notes](https://github.com/sass/node-sass/releases )
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sass/node-sass/compare/v4.11.0...v4.12.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-01 19:15:19 +00:00
Roeland Jago Douma
b222f66d46
Merge pull request #15090 from nextcloud/dependabot/npm_and_yarn/build/handlebars-4.1.2
...
Bump handlebars from 4.1.1 to 4.1.2 in /build
2019-04-17 22:56:14 +02:00
Julius Härtl
771ad85f85
Add integration tests for updating folder shares
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-16 15:03:52 +02:00
dependabot[bot]
2b41953686
Bump handlebars from 4.1.1 to 4.1.2 in /build
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.1...v4.1.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-15 07:13:24 +00:00
Roeland Jago Douma
d2f9366b39
Run less phan processes
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-09 22:04:31 +02:00
Roeland Jago Douma
9a5edbb923
Do not try to compile templates that are not there
...
Makes for a bit cleaner drone output.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-08 09:12:59 +02:00
dependabot[bot]
f410519da4
Bump handlebars from 4.1.0 to 4.1.1 in /build
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/wycats/handlebars.js/blob/v4.1.1/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.0...v4.1.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-23 02:12:57 +00:00
Arthur Schiwon
a692f28320
add an integration test that ensures deletion of LDAP users
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-03-14 15:21:52 +01:00
Morris Jobke
f6a12864a5
Disable failing federated sharing tests
...
Fails with:
* build/integration/federation_features/federated.feature:183
* build/integration/federation_features/federated.feature:232
* build/integration/federation_features/federated.feature:247
* build/integration/federation_features/federated.feature:263
<details><summary>Show full log</summary>
```
Scenario: Reshare a federated shared file # /drone/src/github.com/nextcloud/server/build/integration/federation_features/federated.feature:183
Given Using server "REMOTE" # FederationContext::usingServer()
And user "user1" exists # FederationContext::assureUserExists()
And user "user2" exists # FederationContext::assureUserExists()
And Using server "LOCAL" # FederationContext::usingServer()
And user "user0" exists # FederationContext::assureUserExists()
And User "user0" from server "LOCAL" shares "/textfile0.txt" with user "user1" from server "REMOTE" # FederationContext::federateSharing()
And User "user1" from server "REMOTE" accepts last pending share # FederationContext::acceptLastPendingShare()
And Using server "REMOTE" # FederationContext::usingServer()
And As an "user1" # FederationContext::asAn()
When creating a share with # FederationContext::creatingShare()
| path | /textfile0 (2).txt |
| shareType | 0 |
| shareWith | user2 |
| permissions | 19 |
Then the OCS status code should be "100" # FederationContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &000000007d8e0d3c00000000403fd08a (
0 => '404'
) matches expected '100'.
...
{"message":"Can not find share with ID: 8"}
Scenario: Overwrite a federated shared folder as recipient # /drone/src/github.com/nextcloud/server/build/integration/federation_features/federated.feature:232
Given Using server "REMOTE" # FederationContext::usingServer()
And user "user1" exists # FederationContext::assureUserExists()
And user "user2" exists # FederationContext::assureUserExists()
And Using server "LOCAL" # FederationContext::usingServer()
And user "user0" exists # FederationContext::assureUserExists()
And User "user0" from server "LOCAL" shares "/PARENT" with user "user1" from server "REMOTE" # FederationContext::federateSharing()
And User "user1" from server "REMOTE" accepts last pending share # FederationContext::acceptLastPendingShare()
And Using server "REMOTE" # FederationContext::usingServer()
And As an "user1" # FederationContext::asAn()
And User "user1" modifies text of "/textfile0.txt" with text "BLABLABLA" # FederationContext::modifyTextOfFile()
When User "user1" uploads file "../../data/user1/files/textfile0.txt" to "/PARENT (2)/textfile0.txt" # FederationContext::userUploadsAFileTo()
Client error: `PUT http://localhost:8180/remote.php/webdav/PARENT%20(2)/textfile0.txt ` resulted in a `404 Not Found` response:
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns ">
<s:exception>Sabre\DA (truncated...)
(GuzzleHttp\Exception\ClientException)
...
{"message":"Can not find share with ID: 10"}
Scenario: Overwrite a federated shared file as recipient using old chunking # /drone/src/github.com/nextcloud/server/build/integration/federation_features/federated.feature:247
Given Using server "REMOTE" # FederationContext::usingServer()
And user "user1" exists # FederationContext::assureUserExists()
And user "user2" exists # FederationContext::assureUserExists()
And Using server "LOCAL" # FederationContext::usingServer()
And user "user0" exists # FederationContext::assureUserExists()
And User "user0" from server "LOCAL" shares "/textfile0.txt" with user "user1" from server "REMOTE" # FederationContext::federateSharing()
And User "user1" from server "REMOTE" accepts last pending share # FederationContext::acceptLastPendingShare()
And Using server "REMOTE" # FederationContext::usingServer()
And As an "user1" # FederationContext::asAn()
And user "user1" uploads chunk file "1" of "3" with "AAAAA" to "/textfile0 (2).txt" # FederationContext::userUploadsChunkFileOfWithToWithChecksum()
Client error: `PUT http://localhost:8180/remote.php/webdav/textfile0%20(2).txt-chunking-42-3-0 ` resulted in a `404 Not Found` response:
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns ">
<s:exception>Sabre\DA (truncated...)
(GuzzleHttp\Exception\ClientException)
...
{"message":"Can not find share with ID: 11"}
Scenario: Overwrite a federated shared folder as recipient using old chunking # /drone/src/github.com/nextcloud/server/build/integration/federation_features/federated.feature:263
Given Using server "REMOTE" # FederationContext::usingServer()
And user "user1" exists # FederationContext::assureUserExists()
And user "user2" exists # FederationContext::assureUserExists()
And Using server "LOCAL" # FederationContext::usingServer()
And user "user0" exists # FederationContext::assureUserExists()
And User "user0" from server "LOCAL" shares "/PARENT" with user "user1" from server "REMOTE" # FederationContext::federateSharing()
And User "user1" from server "REMOTE" accepts last pending share # FederationContext::acceptLastPendingShare()
And Using server "REMOTE" # FederationContext::usingServer()
And As an "user1" # FederationContext::asAn()
And user "user1" uploads chunk file "1" of "3" with "AAAAA" to "/PARENT (2)/textfile0.txt" # FederationContext::userUploadsChunkFileOfWithToWithChecksum()
Client error: `PUT http://localhost:8180/remote.php/webdav/PARENT%20(2)/textfile0.txt-chunking-42-3-0 ` resulted in a `404 Not Found` response:
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns ">
<s:exception>Sabre\DA (truncated...)
(GuzzleHttp\Exception\ClientException)
...
{"message":"Can not find share with ID: 12"}
```
</details>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-13 18:01:24 +01:00
blizzz
3af7f2c2ea
Merge pull request #14464 from nextcloud/fix/noid/ldap-nested-group-filter
...
resolve user and groups in nested groups first before filtering the results
2019-03-07 22:31:51 +01:00
Arthur Schiwon
987db8e6c5
add missing config bits to integration tests
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-03-06 00:09:23 +01:00
Arthur Schiwon
dfc7007242
with LDAP server set offline, config cannot be controlled via ocs anymore
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-03-05 23:13:49 +01:00
Daniel Kesselberg
75337ff621
DRONE_BRANCH is the target branch. DRONE_COMMIT_REFSPEC should work.
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-03-05 15:20:47 +01:00
Morris Jobke
2bbef58153
Add test for updated CA bundle
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-05 15:10:33 +01:00
Arthur Schiwon
5dd2207c95
fix nested group retrieval also for 2 other cases
...
and also consolidate logic in one method
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-03-05 11:07:40 +01:00
Morris Jobke
f7de518ec0
Exclude Makefile from check
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-02-25 15:49:29 +01:00
Daniel Kesselberg
75b7d6ae4e
Add install logic for enable command
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-19 21:03:06 +01:00
Daniel Kesselberg
76b5f44f05
Strict Types, Return Types
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-19 21:03:06 +01:00
Joas Schilling
a1b87bc81e
Update PHP-Parser for 7.1 compatibility
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-14 20:04:17 +01:00
Roeland Jago Douma
51194a7901
Update expected file list
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-13 09:03:12 +01:00
dependabot[bot]
c7543247ed
Bump handlebars from 4.0.12 to 4.1.0 in /build
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.0.12 to 4.1.0.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/wycats/handlebars.js/blob/v4.1.0/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.12...v4.1.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-11 09:56:11 +00:00
Roeland Jago Douma
b40603d250
Merge pull request #13702 from nextcloud/feature/6717/rename-app-passwords
...
Make it possible to rename app passwords
2019-02-08 08:34:54 +01:00
Daniel Kesselberg
4532ed356d
Mock name for integration test
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-04 17:12:59 +01:00
Roeland Jago Douma
1b27c25dce
Remove from build file
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-04 10:56:54 +01:00
Arthur Schiwon
4bd3916445
integration test: pages search scenario with multiple bases
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-01-28 14:20:03 +01:00
Arthur Schiwon
91b30ada8e
typo
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-01-28 14:19:31 +01:00
dependabot[bot]
fdd4b11a1a
Bump karma-viewport from 1.0.3 to 1.0.4 in /build
...
Bumps [karma-viewport](https://github.com/squidfunk/karma-viewport ) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/squidfunk/karma-viewport/releases )
- [Changelog](https://github.com/squidfunk/karma-viewport/blob/master/CHANGELOG )
- [Commits](https://github.com/squidfunk/karma-viewport/compare/1.0.3...1.0.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-12 02:12:42 +00:00
Christoph Wurst
69410a4f1c
Adjust release file list
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-09 15:02:01 +01:00
Christoph Wurst
1e80259051
Remove core.js
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-09 15:02:00 +01:00
Christoph Wurst
6da13f82ff
Remove Bower
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-09 15:01:59 +01:00
Jan-Christoph Borchardt
1799d0fd11
Switch around syntax of scour command for SVG image optimization
...
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-01-08 17:03:33 +01:00
dependabot[bot]
462cf270bc
Bump karma-viewport from 1.0.2 to 1.0.3 in /build
...
Bumps [karma-viewport](https://github.com/squidfunk/karma-viewport ) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/squidfunk/karma-viewport/releases )
- [Changelog](https://github.com/squidfunk/karma-viewport/blob/master/CHANGELOG )
- [Commits](https://github.com/squidfunk/karma-viewport/compare/1.0.2...1.0.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-31 02:22:56 +00:00
dependabot[bot]
c27d2ace47
Bump karma from 3.1.3 to 3.1.4 in /build
...
Bumps [karma](https://github.com/karma-runner/karma ) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/karma-runner/karma/releases )
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md )
- [Commits](https://github.com/karma-runner/karma/compare/v3.1.3...v3.1.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-18 16:00:28 +00:00
dependabot[bot]
4124e1fc54
Bump node-sass from 4.10.0 to 4.11.0 in /build
...
Bumps [node-sass](https://github.com/sass/node-sass ) from 4.10.0 to 4.11.0.
- [Release notes](https://github.com/sass/node-sass/releases )
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sass/node-sass/compare/v4.10.0...v4.11.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-09 14:08:00 +00:00
dependabot[bot]
97e5fa5120
Bump karma from 3.1.1 to 3.1.3 in /build
...
Bumps [karma](https://github.com/karma-runner/karma ) from 3.1.1 to 3.1.3.
- [Release notes](https://github.com/karma-runner/karma/releases )
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md )
- [Commits](https://github.com/karma-runner/karma/compare/v3.1.1...v3.1.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-03 02:16:14 +00:00
dependabot[bot]
47462064ca
Bump node-sass from 4.9.4 to 4.10.0 in /build
...
Bumps [node-sass](https://github.com/sass/node-sass ) from 4.9.4 to 4.10.0.
- [Release notes](https://github.com/sass/node-sass/releases )
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sass/node-sass/compare/v4.9.4...v4.10.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-05 08:27:57 +00:00
Roeland Jago Douma
e94ee7cbca
Fix tests
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-11-01 11:31:41 +01:00
Morris Jobke
b28a0c10bf
Merge pull request #11946 from nextcloud/bugfix/11945/fix-js-namespace-of-files-external
...
Fix JS namespace of files_external app
2018-10-30 14:57:57 +01:00
Joas Schilling
9645e545b3
Fix JS namespace of files_external app
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-10-30 09:43:26 +01:00
dependabot[bot]
3ca384cfcc
Bump karma from 2.0.4 to 3.1.1 in /build
...
Bumps [karma](https://github.com/karma-runner/karma ) from 2.0.4 to 3.1.1.
- [Release notes](https://github.com/karma-runner/karma/releases )
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md )
- [Commits](https://github.com/karma-runner/karma/compare/v2.0.4...v3.1.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-25 13:51:04 +00:00
Julius Härtl
b09f7ad822
Remove buildjsdocs.sh from files checker
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-10-25 14:33:52 +02:00
Julius Härtl
5d888984a0
Fix jsdocs build on server repo
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-10-24 15:41:08 +02:00
Roeland Jago Douma
97ad1ba381
Merge pull request #11985 from nextcloud/dependabot/npm_and_yarn/build/node-sass-4.9.4
...
Bump node-sass from 4.9.3 to 4.9.4 in /build
2018-10-23 20:06:19 +02:00
dependabot[bot]
4367df4e56
Bump node-sass from 4.9.3 to 4.9.4 in /build
...
Bumps [node-sass](https://github.com/sass/node-sass ) from 4.9.3 to 4.9.4.
- [Release notes](https://github.com/sass/node-sass/releases )
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sass/node-sass/compare/v4.9.3...v4.9.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-22 18:25:52 +00:00
dependabot[bot]
5480227525
Update sabre/dav requirement from 3.2.2 to 3.2.3 in /build/integration
...
Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav ) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases )
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sabre-io/dav/commits/3.2.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-22 17:11:57 +00:00
Roeland Jago Douma
c43e0d6e28
Move files_external to compiled handlebars
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-19 08:41:01 +02:00
Roeland Jago Douma
bee5bbbf0e
Move files_drop to compiled handlebars
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-16 08:27:06 +02:00
Roeland Jago Douma
3797b8e7e3
Merge pull request #11834 from nextcloud/csp/federationmenu
...
Compile federationscope menu handlebars template
2018-10-15 21:23:19 +02:00
Roeland Jago Douma
8c4c4b700f
Move workflowengine to compiled handlebars
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-15 14:55:25 +02:00
Roeland Jago Douma
d65438f931
Compile federationscope menu handlebars template
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-15 10:44:24 +02:00
Christoph Wurst
08b005fb0e
Move GitHub files to .github directory
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-09 11:35:46 +02:00
Christoph Wurst
c62b9c7e70
Remove unused HHVM test executor
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-09 10:00:43 +02:00
Roeland Jago Douma
b574d1c814
Move files_versions to compiled handlebars templates
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-04 09:53:45 +02:00
Roeland Jago Douma
b0fd31496b
Move OC.Share to compiled handlebars
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-04 09:53:45 +02:00
Roeland Jago Douma
cd7c17482e
Move systemtags to compiled handlebars
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-04 09:53:44 +02:00
Roeland Jago Douma
d281f2625d
Move Comments to compiled handlebars
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-04 09:53:44 +02:00
John Molakvoæ (skjnldsv)
b7d82e9262
Bump check script
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-10-02 17:26:07 +02:00
Roeland Jago Douma
335efcc43b
Move to 1 template file for files
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-01 17:15:07 +02:00
Roeland Jago Douma
4f13430a95
Add drone step
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-28 21:15:46 +02:00
Roeland Jago Douma
f4a15f7f42
Add script to compile handlebars templates
...
For now it is small and there is no real standard yet. But it is better
to start with something.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-28 21:00:23 +02:00
Morris Jobke
d867f9f091
Merge pull request #11037 from nextcloud/trash-webui-dav
...
Use trashbin dav endpoint to list trash in webui
2018-09-28 16:03:24 +02:00
Arthur Schiwon
108a8d6c4c
extend integration tests with users with numerical IDs
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-09-28 11:19:48 +02:00
Robin Appelman
d890cd6a4c
fix sharing trashbin integration tests
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-09-20 17:03:59 +02:00
Robin Appelman
d4087811e5
more trashbin integration tests
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-09-20 17:03:53 +02:00
Robin Appelman
8491c9bdc6
fix trashbin integration tests and add a few more
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-09-20 17:03:50 +02:00
Robin Appelman
26e2957aea
quote paths in behat.yml
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-09-20 17:03:47 +02:00
Robin Appelman
a623e09868
remove old trashbin endpoint
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-09-20 17:03:36 +02:00
dependabot[bot]
5d8a750463
Bump node-sass from 4.9.2 to 4.9.3 in /build
...
Bumps [node-sass](https://github.com/sass/node-sass ) from 4.9.2 to 4.9.3.
- [Release notes](https://github.com/sass/node-sass/releases )
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sass/node-sass/compare/v4.9.2...v4.9.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-03 07:12:34 +00:00
Morris Jobke
a6fb5c5dba
Merge pull request #10663 from nextcloud/dependabot/composer/build/integration/behat/behat-approx-3.5.0
...
Update behat/behat requirement from ~3.3.0 to ~3.5.0 in /build/integration
2018-08-20 17:09:04 +02:00
blizzz
d05c815796
Merge pull request #8855 from nextcloud/feature/noid/ldap-integration-autotests
...
behat integration tests for LDAP
2018-08-14 14:14:22 +02:00
dependabot[bot]
9fc47bf66e
Update behat/behat requirement from ~3.3.0 to ~3.5.0 in /build/integration
...
Updates the requirements on [behat/behat](https://github.com/Behat/Behat ) to permit the latest version.
- [Release notes](https://github.com/Behat/Behat/releases )
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Behat/Behat/commits/v3.5.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-08-13 01:14:46 +00:00
Arthur Schiwon
24ef41454c
don't add new LDAP configs if one is already present
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-08-12 23:49:59 +02:00
Arthur Schiwon
919c7b8531
improve fail info and disable cache for a case
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-08-12 22:45:22 +02:00
Daniel Kesselberg
58106b0a73
Pass HttpHeader as array
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-08-12 18:21:38 +02:00
Arthur Schiwon
96f5210fc4
Phpunit changed, use proper Assert class
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-08-12 14:46:22 +02:00
Arthur Schiwon
59e35e3bf7
tests for user storage location
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-08-10 00:28:44 +02:00
Arthur Schiwon
b069b13226
convert pagination tests
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-08-09 23:45:12 +02:00
Arthur Schiwon
0f6d98eed2
convert connection tests
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-08-09 23:45:12 +02:00
Arthur Schiwon
f1cd4bc0c2
fix prov tests
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-08-09 23:45:12 +02:00
Arthur Schiwon
8808da816d
simplify tests and move some out to a new feature as we need a pristine
...
database for them
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-08-09 23:45:12 +02:00
Arthur Schiwon
eaf352b8d1
integration test to ensure entries without displayname don't cause trouble
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-08-09 23:45:11 +02:00
Arthur Schiwon
d1a8a909de
login does not save the response
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-08-09 23:45:11 +02:00
Arthur Schiwon
4e8db8aa11
convert LDAP offline and backup server integration tests
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-08-09 23:45:11 +02:00
Arthur Schiwon
3450ed4536
integration test checking the group filter
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-08-09 23:45:10 +02:00
Arthur Schiwon
b4eeb9eff5
check user details
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-08-09 23:45:10 +02:00
Arthur Schiwon
86d145f069
behat integration tests for LDAP, basic setup
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-08-09 23:45:04 +02:00
Daniel Calviño Sánchez
de403f2f3d
Add integration test for creating room shares when Talk is not enabled
...
The test just ensures that the controller will gracefully reject the
creation instead of failing miserably; the integration tests when Talk
is enabled are in the Talk repository.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-08 14:25:43 +02:00
Daniel Calviño Sánchez
1e16f7ecd9
Add integration tests for searching files by comments
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-25 18:53:45 +02:00
Daniel Calviño Sánchez
b7474ed482
Fix transfering ownership of a share to user with same id as receiver
...
When the ownership of a user share is transfered to the receiver the
share is removed, as the receiver now owns the original file. However,
due to a missing condition, any share with a group, link or remote with
the same id as the user was removed, not only the user shares.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-24 15:05:42 +02:00
John Molakvoæ (skjnldsv)
4877cd050b
Bump karma config
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-07-20 23:38:04 +02:00
Bjoern Schiessle
0c09f566c2
add some integration tests
...
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-07-11 10:11:49 +02:00
Joas Schilling
e3b5ed602c
Fix the behat version to 3.3.*
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-07-09 11:10:25 +02:00
Morris Jobke
021bd261bc
Fix integration tests for Federation 2.0
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-07-04 11:23:39 +02:00
Bjoern Schiessle
34c4527cc4
add ocm-provider to the list of expected files
...
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-07-02 11:29:29 +02:00
Daniel Calviño Sánchez
d523777843
Extend integration tests to get the info of a group share as a sharee
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-06-29 08:20:19 +02:00
Daniel Calviño Sánchez
b506ec1c89
Check all paths for own files and shares
...
Add "PARENT (2)" and its subdirectories to the paths to be checked, as
before only the own "PARENT" folder was being checked, but not the
shared one.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-06-28 16:45:42 +02:00
Daniel Calviño Sánchez
e1c28c403d
Fix filenames in sharing integration tests
...
When a file is shared and the receiver of the share already has a file
with the same name that file is left untouched, and "(2)" is appended to
the name of the shared file.
As "textfile0.txt" is included in the user folder skeleton all the users
in the integration test have that file, so when it is shared the
receiver sees the share as "/textfile0 (2).txt", and her own file as
"/textfile0.txt".
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-06-28 16:36:19 +02:00
John Molakvoæ (skjnldsv)
a23a6004a5
Fix integration tests
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-25 17:12:27 +02:00
John Molakvoæ (skjnldsv)
49d0f0c499
Fixed phpunit Test class
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-13 07:24:41 +02:00
dependabot[bot]
9a32592aca
Update phpunit/phpunit requirement to ~6.5 in /build/integration
...
Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit ) to permit the latest version.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases )
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-6.5.md )
- [Commits](https://github.com/sebastianbergmann/phpunit/commits/6.5.8 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-13 07:24:40 +02:00
John Molakvoæ (skjnldsv)
885b6be733
Fixed tests
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-12 11:13:24 +02:00
John Molakvoæ (skjnldsv)
62667914a0
Copyright fix, changed vue settings output name and fixes template name
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-12 10:26:53 +02:00
John Molakvoæ (skjnldsv)
fd147cc3fd
Bump updatenotification
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-07 09:28:06 +02:00
John Molakvoæ (skjnldsv)
14cb805cf1
Bump settings config
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-07 08:35:02 +02:00
John Molakvoæ (skjnldsv)
62e29abc5b
Add vue apps build tests
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-07 08:35:02 +02:00
Julius Härtl
2dd49206c7
Merge pull request #9673 from nextcloud/dependabot/composer/build/integration/guzzlehttp/guzzle-6.3.3
...
Update guzzlehttp/guzzle requirement to 6.3.3 in /build/integration
2018-05-30 14:44:04 +02:00
John Molakvoæ
50f6015821
Merge pull request #9680 from nextcloud/dependabot/npm_and_yarn/build/karma-viewport-tw-1.0.2
...
Update karma-viewport requirement to ^1.0.2 in /build
2018-05-30 13:21:43 +02:00
dependabot[bot]
4d78f2e45b
Update karma-viewport requirement to ^1.0.2 in /build
...
Updates the requirements on [karma-viewport](https://github.com/squidfunk/karma-viewport ) to permit the latest version.
- [Release notes](https://github.com/squidfunk/karma-viewport/releases )
- [Changelog](https://github.com/squidfunk/karma-viewport/blob/master/CHANGELOG )
- [Commits](https://github.com/squidfunk/karma-viewport/commits/1.0.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-05-30 10:00:57 +00:00
dependabot[bot]
d7f725008f
Update karma requirement to ^2.0.2 in /build
...
Updates the requirements on [karma](https://github.com/karma-runner/karma ) to permit the latest version.
- [Release notes](https://github.com/karma-runner/karma/releases )
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md )
- [Commits](https://github.com/karma-runner/karma/commits/v2.0.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-05-30 10:00:50 +00:00
Julius Härtl
20b0658ff6
Merge pull request #9685 from nextcloud/dependabot/npm_and_yarn/build/node-sass-approx-4.9.0
...
Update node-sass requirement to ~4.9.0 in /build
2018-05-30 11:59:16 +02:00
Morris Jobke
69d633c403
Merge pull request #9679 from nextcloud/dependabot/npm_and_yarn/build/jsdoc-approx-3.5.5
...
Update jsdoc requirement to ~3.5.5 in /build
2018-05-30 11:35:28 +02:00
dependabot[bot]
81ccf33db4
Update guzzlehttp/guzzle requirement to 6.3.3 in /build/integration
...
Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle ) to permit the latest version.
- [Release notes](https://github.com/guzzle/guzzle/releases )
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md )
- [Commits](https://github.com/guzzle/guzzle/commits/6.3.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-05-30 09:34:25 +00:00
dependabot[bot]
04764cf568
Update node-sass requirement to ~4.9.0 in /build
...
Updates the requirements on [node-sass](https://github.com/sass/node-sass ) to permit the latest version.
- [Release notes](https://github.com/sass/node-sass/releases )
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sass/node-sass/commits/v4.9.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-05-30 08:23:54 +00:00
dependabot[bot]
fd107bc0e5
Update jsdoc requirement to ~3.5.5 in /build
...
Updates the requirements on [jsdoc](https://github.com/jsdoc3/jsdoc ) to permit the latest version.
- [Release notes](https://github.com/jsdoc3/jsdoc/releases )
- [Changelog](https://github.com/jsdoc3/jsdoc/blob/master/CHANGES.md )
- [Commits](https://github.com/jsdoc3/jsdoc/commits/3.5.5 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-05-30 08:23:35 +00:00
dependabot[bot]
354cac145c
Update sabre/dav requirement to 3.2.2 in /build/integration
...
Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav ) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases )
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sabre-io/dav/commits/3.2.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-05-30 08:23:11 +00:00
Daniel Calviño Sánchez
268a92731f
Limit Sinon version to 5.0.7 at most
...
When using fake servers with Sinon.JS, the JavaScript test framework,
the XHR objects are also fake. In Sinon 5.0.8 the "setRequestHeader" of
XMLHttpRequest was modified to normalize the header values (as requested
by the spec), but since then only string values are accepted; null or
integer values can no longer be passed to "setRequestHeader", as it
expects the "replace" function to be available in the object. However,
in the tests null and integer values are passed to "setRequestHeader",
which causes them to fail.
Both Firefox and Chromium accept passing non-string values to their
"setRequestHeader" implementation, and it is done, for example, in
davclient.js; it is not clear yet whether Sinon got too restrictive or
the code calling "setRequestHeader" was too loose. Given that
davclient.js is an external dependency, as a temporary measure Sinon
version is forced to be 5.0.7 at most until either Sinon or davclient.js
are updated.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-05-28 08:06:20 +02:00
Roeland Jago Douma
b3aec38e5e
Remove .lgtm file
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-23 14:49:22 +02:00
Morris Jobke
6d5f4432cd
Merge pull request #9313 from nextcloud/phan-check-php-doc
...
Check doc block signature to match the specified return type
2018-05-07 15:45:41 +02:00
Guillaume Boudreau
eb97035312
Resolves warnings in Chrome Dev Console:
...
"DevTools failed to parse SourceMap: .../core/vendor/..."
2018-04-29 09:29:56 -04:00
Morris Jobke
13b503a1a4
Check doc block signature to match the specified return type
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-04-26 14:35:24 +02:00
Lukas Reschke
3aaa2307e9
Improve phan config
...
* exclude routes
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-04-26 11:51:05 +02:00
Morris Jobke
1bc192fbd4
Merge pull request #9203 from nextcloud/declare-func-as-safe
...
Declare func() as safe method in phan
2018-04-17 13:45:27 +02:00
Morris Jobke
1f06bc246c
Declare func() as safe method in phan
...
We added a special `func()` method to the query builder, which is a plain text function by definition. It uses the string and does no escaping on purpose. It has the potential for an injection but requiring to add the "supress warning" to all surrounding code makes it harder to spot actual problems, that this plugin want to find. So it's better to only need to check the func() and not all the surrounding code as well.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-04-17 10:58:00 +02:00
John Molakvoæ (skjnldsv)
3e5ea9b0a9
Return proper boolean user enabled state api
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-04-16 15:17:02 +02:00
Morris Jobke
2c15f4003e
Add auth token to github requests
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-04-11 15:15:49 +02:00
Daniel Calviño Sánchez
1d7bf328f8
Make possible to provide "--tags=XXX" parameter to Behat
...
"--tags=XXX" limits the features or scenarios to be run to those
matching the tag filter expression.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-06 15:59:31 +02:00
Daniel Calviño Sánchez
65bc12960f
Add integration tests for zip32/zip64 boundaries of number of files
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-06 15:59:31 +02:00
Daniel Calviño Sánchez
6ee5469a03
Add integration tests for downloading basic zip files
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-06 15:59:31 +02:00
Daniel Calviño Sánchez
5a7986c25d
Fix use of data directory in integration tests
...
The data directory is not necessarily located at "../..". The proper
directory is now got by running "php console.php config:system:get
datadirectory".
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-06 15:59:30 +02:00
John Molakvoæ (skjnldsv)
762002ec2e
Fixed tests
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-04-05 17:11:41 +02:00
Morris Jobke
612e875f60
Merge pull request #8355 from nextcloud/fix-comments-num-index
...
Fix comments (and systemtags) when involving users with numerical ids
2018-02-26 17:12:57 +01:00
Morris Jobke
24f96513fd
Merge pull request #8259 from nextcloud/guzzle6
...
update guzzlehttp/guzzle to 6.3.0
2018-02-14 22:26:19 +01:00
Arthur Schiwon
011dab246d
tests for systemtags related to numeric user ids
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-02-14 17:02:35 +01:00
Arthur Schiwon
a5a0a938f2
test creating comments with numeric user ids
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-02-14 14:39:10 +01:00
Robin Appelman
a815185bb4
fix redundant namespace
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-02-12 15:41:23 +01:00
Robin Appelman
359ccbc023
Adjust integration tests to new guzzle
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-02-09 17:13:30 +01:00
Morris Jobke
23f9ef54e3
Remove old perl script to update l10n files
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-02-08 18:21:14 +01:00
Roeland Jago Douma
c715045749
Fix CI after Code of Conduct merge
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-01-10 11:03:12 +01:00
Morris Jobke
876238ce8b
Merge pull request #7533 from nextcloud/oc-28545-handle-oc-total-length-in-new-chunking
...
[oc] Handle OC-Total-Length in new chunking
2018-01-03 16:18:24 +01:00
Thomas Müller
74df27b7a7
Add integration tests for length header on new chunking
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-12-15 14:46:44 +01:00
Daniel Calviño Sánchez
173f28a09d
Add unit tests for the navigation bar slide gesture
...
The slide gesture is enabled or disabled depending on the width of the
browser window. In order to easily control that width the karma-viewport
plugin is now used in the unit tests.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-12-14 19:17:40 +01:00
Robin Appelman
74b5ce8fd4
Some tests for the remote cloud api
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-12-08 16:34:33 +01:00
Morris Jobke
4b73ddc9ce
Merge pull request #6437 from nextcloud/support-mail-send-in-share
...
Add support for `\OCP\Share\IShare::getMailSend` back
2017-11-27 11:29:38 +01:00
Morris Jobke
a51a8fbcaf
Federation actually sends an email via Share 2.0
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-11-27 10:54:40 +01:00
Morris Jobke
c930f70b52
Harden phan checks to catch more errors
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-11-27 07:53:56 +01:00
Björn Schießle
f347e2e4a6
Merge pull request #7047 from nextcloud/add-support-for-files-with-no-permissions
...
Add support for files with no permissions
2017-11-20 16:15:52 +01:00
Julius Härtl
7006b739b0
Remove brackets for invalid mail addresses when updating the license header
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-11-07 10:50:42 +01:00
Morris Jobke
31c5c2a592
Change @georgehrke's email
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-11-06 20:38:59 +01:00
Morris Jobke
0eebff152a
Update license headers
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-11-06 16:56:19 +01:00
Daniel Calviño Sánchez
555d582f35
Return whether the file is readable or not in the DAV permissions
...
Until now it was safe to assume that every file was readable by its
owner, so there was no need to return whether the file was readable or
not. However, with the introduction of end to end encryption that is no
longer the case, and it is now necessary to explicitly provide that
information.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-11-02 19:37:00 +01:00
Roeland Jago Douma
2f36744aff
Update phan config
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-10-24 20:40:14 +02:00
Roeland Jago Douma
ab20a64ed4
DAV Autoloader
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-10-24 20:40:11 +02:00
Roeland Jago Douma
112b0d57a8
Comments Autoloader
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-10-24 20:40:11 +02:00
Roeland Jago Douma
ce7c9dfe8a
Admin Audit autoloader
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-10-24 20:40:09 +02:00
Roeland Jago Douma
ff9f325677
Ignore composer stuff in phan
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-10-17 22:22:36 +02:00
Roeland Jago Douma
5d7d96dc45
Update autoload checker
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-10-17 21:55:06 +02:00
Roeland Jago Douma
17bd2fb268
Phan is moved to a new repo
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-10-16 16:23:55 +02:00
Robin Appelman
f0c7b8f264
show diff in autoload checker
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-09-18 17:20:08 +02:00
Joas Schilling
242c9ee06c
No more root file
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-07-25 12:47:39 +02:00
Roeland Jago Douma
02b9388fc6
Move image-optimization.sh to build dir
...
* We should not ship this!
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-07-24 08:08:18 +02:00
Lukas Reschke
3d2600b039
Add Phan plugin to check for SQL injections
...
This adds a phan plugin which checks for SQL injections on code using our QueryBuilder, while it isn't perfect it should already catch most potential issues.
As always, static analysis will sometimes have false positives and this is also here the case. So in some cases the analyzer just doesn't know if something is potential user input or not, thus I had to add some `@suppress SqlInjectionChecker` in front of those potential injections.
The Phan plugin hasn't the most awesome code but it works and I also added a file with test cases.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-07-20 22:48:13 +02:00
Lukas Reschke
591aaa4154
Add workaround for https://github.com/etsy/phan/issues/1033
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-07-19 11:08:43 +02:00
Lukas Reschke
d8ec399454
Run phan over code base
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-07-19 10:28:11 +02:00
Morris Jobke
844e7b03b4
Add test to check if new files are added to the root of the repository
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-07-12 11:52:42 +02:00
Lukas Reschke
633396001f
Prevent sending second WWW-Authenticate header
...
Overrides \Sabre\DAV\Auth\Backend\AbstractBearer::challenge to prevent sending a second WWW-Authenticate header which is standard-compliant but most DAV clients simply fail hard.
Fixes https://github.com/nextcloud/server/issues/5088
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-06-13 13:54:52 +02:00
Lukas Reschke
b8de3f40ee
Bearer comes first on the new endpoint
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-05-18 21:57:07 +02:00
Lukas Reschke
639ba526d0
Adjust realm from SabreDAV to Nextcloud
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-05-18 21:38:55 +02:00
Lukas Reschke
f93db724d7
Make legacy DAV backend use the BearerAuth backend as well
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-05-18 21:19:39 +02:00
Lukas Reschke
538112181f
Add additional test for accessing DAV using Bearer Auth
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-05-18 20:49:11 +02:00
Lukas Reschke
f2a01e1b08
Use a standardized Bearer now
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-05-18 20:49:10 +02:00
Lukas Reschke
a4116220cb
Add app to autoenabled provisioning API scenario
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-05-18 20:49:08 +02:00
Morris Jobke
692e056df9
Extract app name and navigation entries for l10n
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-05-08 23:24:28 -05:00
Morris Jobke
865cd487c4
Split up sharing-v1-part2.feature to avoid timeouts
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-05-02 12:55:29 -03:00
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