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/tests
AgeCommit message (Collapse)Author
2019-12-13Update the unit test to dataProvidersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-09Move overwritehost check to isTrustedDomainJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-20Do not check for updates if we have no internetRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-22Add test case for existing user with token nullDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-10-22Return the disabled user mock instead of the existingDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-10-15adjust testsArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-10-11Correctly handle emtpy string in proxyuserpwd configScott Shambarger
As documented, the default value for config value proxyuserpwd is ''. However, that value results in the error: "cURL error 5: Unsupported proxy syntax in '@'". This patch handles the values of '' and null (the default in the code) the same for config values proxyuserpwd and proxy. Signed-off-by: Scott Shambarger <devel@shambarger.net>
2019-10-05fix updating and deleting authtokensSergej Nikolaev
Signed-off-by: Sergej Nikolaev <kinolaev@gmail.com>
2019-10-04Merge pull request #17282 from nextcloud/backport/17262/stable16Roeland Jago Douma
[stable16] dont delete cache entries if deleting an object from object store failed
2019-10-01adjust test expectationsArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-26dont delete cache entries if deleting an object from object store failedRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-09-26handle moveFromStorage within the same storage even when storage wrappers ↵Robin Appelman
are applied to the source storage the target storage doesn't need additional handling for wrappers as the wrappers implementation of moveFromStorage already deals with that Any storage based on local storage isn't affected by this as local storage already has it's own way of handling with this Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-09-16Don't send executionContexts for Clear-Site-DataDaniel Kesselberg
There are plans to remove executionContexts from the spec: https://github.com/w3c/webappsec-clear-site-data/issues/59 Firefox already removed it https://bugzilla.mozilla.org/show_bug.cgi?id=1548034 Chromium implementation is not finish: https://bugs.chromium.org/p/chromium/issues/detail?id=898503&q=clear-site-data&sort=-modified&colspec=ID%20Pri%20M%20Stars%20ReleaseBlock%20Component%20Status%20Owner%20Summary%20OS%20Modified Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-09adjust testsArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-08-28Only run integration tests when PHP was modifiedJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-27Mock client URL in new user mail testsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-29Check the if we can actually access the storage cache for recent filesJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-27Merge pull request #16561 from nextcloud/backport/16551/stable16Roeland Jago Douma
[stable16] supresses disclosing the userid for LDAP users in the welcome mail
2019-07-26treat sensitive config keys by patternArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-07-26supresses disclosing the userid for LDAP users in the welcome mailArthur Schiwon
The userid is not relevant here, and by default cannot be used to login with. Typically, there is a common type of login names in organizations (LDAP username or email most often) that does not need to be disclosed. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-07-25Lock SCSS so we only run 1 job at a timeRoeland Jago Douma
This is bit hacky but a start to lock the SCSS compiler properly Retry during 10s then give up Properly get error message Do not clear locks and properly debug scss caching Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-07-10Return first value from $usersDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-07-05Always set the display name for user sharesJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-03Unify the permission checking in one place onlyJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-03Better check reshare permissions when creating a shareJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-06-28Do not show a internet connectivity warning if internet access is disabledChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-06-25fix testsRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-05-28Check for free space on touchJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-05-24Check the actual status code for 204 and 304Roeland Jago Douma
The header is the full http header like: HTTP/1.1 304 Not Modified So comparing this to an int always yields false This also makes the 304 RFC compliant as the resulting content length should otherwise be the length of the message and not 0. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-05-22Fix l10n for SettingsManager by injecting the l10n factoryMorris Jobke
Fixes #10832 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-05-13Add interfaces to interact with subscription from support appMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-05-08Use non-absolute logout URL to fix wrong URL in reverse proxy scenarioMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-04-11Return true in the dummy backend for successful display name changeMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-04-11lib/private/User: do not change user properties if value has not changedLeon Klingele
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-04-10Add acceptance test for public folder navigationJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-03Adjust acceptance tests to changes of file names in file pickerDaniel Calviño Sánchez
File names are no longer shown directly in the ".filename" element, but split in two "span" elements inside a ".filename-parts" element, so now the texts in those span elements need to be concatenated to get the file name. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-04-01Revert "Temp disable bundle tests"Roeland Jago Douma
2019-03-25Merge pull request #14825 from marius-wieschollek/bugfix/11236Morris Jobke
Set parameter type in QBMapper
2019-03-25Fetch proper translationsRoeland Jago Douma
Fixes #14793 This is caused by the mess we have with OC\Settings mapping to settings and lib/private/Settings. Anyway this is the quick fix. Moving stuff around for 17 seems better. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-03-25[#11236] Set parameter type in QBMapperMarius David Wieschollek
Signed-off-by: Marius David Wieschollek <git.public@mdns.eu>
2019-03-22Properly inject EventDispatched in BackgroundRepairRoeland Jago Douma
Else it will just be null when called Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-03-21Remove unused member "util"Joas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-20Temp disable bundle testsRoeland Jago Douma
The bundle acceptance tests fails after #14578 sometimes. This is because of a race condition. not all apps have compatible 16 versions yet. So trying to enable them results in those apps doing :boom:. Because of #14578 we do show them now. So we try to enable them. However depending on which requests finishes first the disable button for the audit app either shows up or now. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-03-20Merge pull request #14578 from nextcloud/enh/force_enable_appsRoeland Jago Douma
Force enable apps
2019-03-20Revert "Where is your data?"Roeland Jago Douma
2019-03-20allow enforcing apps to ignore the max versionRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-03-18Improve startup speed of acceptance testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-18Adjust acceptance testsMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-15Merge pull request #14681 from nextcloud/forwardport/noid/fragile-testsMorris Jobke
Disable fragile tests - part 2
2019-03-14Disable failing files app test - act 4Morris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>