Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
AgeCommit message (Collapse)Author
2018-07-11Fix the behat version to 3.3.*Joas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-06-29Check all paths for own files and sharesDaniel Calviño Sánchez
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-29Fix filenames in sharing integration testsDaniel Calviño Sánchez
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-05-28Limit Sinon version to 5.0.7 at mostDaniel Calviño Sánchez
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-03-02backport of #8355 to stable13Arthur Schiwon
test creating comments with numeric user ids Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> fix creating comments when file is accessible to users with numeric ids Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> tests for systemtags related to numeric user ids Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> fix systemtags event with numeric user ids Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-02-08Remove old perl script to update l10n filesMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-01-10Fix CI after Code of Conduct mergeRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-01-03Merge pull request #7533 from ↵Morris Jobke
nextcloud/oc-28545-handle-oc-total-length-in-new-chunking [oc] Handle OC-Total-Length in new chunking
2017-12-15Add integration tests for length header on new chunkingThomas Müller
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-12-14Add unit tests for the navigation bar slide gestureDaniel Calviño Sánchez
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-08Some tests for the remote cloud apiRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-11-27Merge pull request #6437 from nextcloud/support-mail-send-in-shareMorris Jobke
Add support for `\OCP\Share\IShare::getMailSend` back
2017-11-27Federation actually sends an email via Share 2.0Morris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-11-27Harden phan checks to catch more errorsMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-11-20Merge pull request #7047 from ↵Björn Schießle
nextcloud/add-support-for-files-with-no-permissions Add support for files with no permissions
2017-11-07Remove brackets for invalid mail addresses when updating the license headerJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-11-06Change @georgehrke's emailMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-11-06Update license headersMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-11-02Return whether the file is readable or not in the DAV permissionsDaniel Calviño Sánchez
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-10-24Update phan configRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-10-24DAV AutoloaderRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-10-24Comments AutoloaderRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-10-24Admin Audit autoloaderRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-10-17Ignore composer stuff in phanRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-10-17Update autoload checkerRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-10-16Phan is moved to a new repoRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-09-18show diff in autoload checkerRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-07-25No more root fileJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-07-24Move image-optimization.sh to build dirRoeland Jago Douma
* We should not ship this! Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-07-20Add Phan plugin to check for SQL injectionsLukas Reschke
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-19Add workaround for https://github.com/etsy/phan/issues/1033Lukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-07-19Run phan over code baseLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-07-12Add test to check if new files are added to the root of the repositoryMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-06-13Prevent sending second WWW-Authenticate headerLukas Reschke
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-05-18Bearer comes first on the new endpointLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-05-18Adjust realm from SabreDAV to NextcloudLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-05-18Make legacy DAV backend use the BearerAuth backend as wellLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-05-18Add additional test for accessing DAV using Bearer AuthLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-05-18Use a standardized Bearer nowLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-05-18Add app to autoenabled provisioning API scenarioLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-05-09Extract app name and navigation entries for l10nMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-05-02Split up sharing-v1-part2.feature to avoid timeoutsMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-04-26Fix forbidden backslash DAV integration testsVincent Petry
2017-04-26Added test cases from core 16825Sergio Bertolin
2017-04-26Simplified new endpoint move testVincent Petry
2017-04-26Added case when final chunk move must not change file idVincent Petry
2017-04-26Added test about checking file id after a moveSergio Bertolin
2017-04-25Merge pull request #4494 from nextcloud/fix-jsunitMorris Jobke
Fix JS unit failure because of Jasmine 2.6 and the phantomjs launcher
2017-04-25Fix JS unit failure because of Jasmine 2.6 and the phantomjs launcherMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-04-25Loop over the apps directory and add the taskJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>