summaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* Decouple remote wipe notifcation channels with eventsChristoph Wurst2019-06-275-0/+513
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #16055 from nextcloud/design/native-fontsJan-Christoph Borchardt2019-06-261-1/+1
|\ | | | | Use native font stack
| * Move font from Nunito to Noto SansJan-Christoph Borchardt2019-06-221-1/+1
| | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | Merge pull request #15870 from nextcloud/preview-provider-v2Roeland Jago Douma2019-06-252-4/+8
|\ \ | | | | | | Add new Provider interface for preview providers
| * | Add new Provider interface for preview providersRobin Appelman2019-06-172-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | the main difference is passing the `File` object to the provider instead of a `View` + path Old providers will still continue to work as before Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #15777 from nextcloud/feature/ocp-event-dispatcherRoeland Jago Douma2019-06-251-4/+3
|\ \ \ | | | | | | | | Add event dispatcher to OCP
| * | | Add event dispatcher to OCPChristoph Wurst2019-06-251-4/+3
| | |/ | |/| | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #15889 from nextcloud/touch-handle-backend-exceptionsRobin Appelman2019-06-211-0/+3
|\ \ \ | |/ / |/| | handle storage exceptions when trying to set mtime
| * | fix testsRobin Appelman2019-06-211-0/+3
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Fix subscription testsJulius Härtl2019-06-171-0/+12
| |/ |/| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add strict type on Notifications testsJohn Molakvoæ (skjnldsv)2019-06-131-7/+42
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Do not try to autoload built in typesRoeland Jago Douma2019-06-041-3/+3
| | | | | | | | This avoids calls to the autoloader (or chain of autoloaders) to see if for example 'principalPrefix' class can be found. While we already know it is a string. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix personal security section testsChristoph Wurst2019-05-291-0/+16
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Check for free space on touchJulius Härtl2019-05-281-0/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #15714 from nextcloud/fix/204_304_rfcRoeland Jago Douma2019-05-241-10/+9
|\ | | | | Check the actual status code for 204 and 304
| * Check the actual status code for 204 and 304Roeland Jago Douma2019-05-241-10/+9
| | | | | | | | | | | | | | | | | | | | 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>
* | Make it possible to show admin settings for sub adminsChristoph Wurst2019-05-232-16/+79
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix l10n for SettingsManager by injecting the l10n factoryMorris Jobke2019-05-211-1/+30
| | | | | | Fixes #10832 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow 2FA to be setup on first loginRoeland Jago Douma2019-05-172-0/+199
| | | | | | | | | Once 2FA is enforced for a user and they have no 2FA setup yet this will now prompt them with a setup screen. Given that providers are enabled that allow setup then. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add interfaces to interact with subscription from support appMorris Jobke2019-05-131-0/+87
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow crash reporters to catpture any messageChristoph Wurst2019-05-091-0/+14
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use non-absolute logout URL to fix wrong URL in reverse proxy scenarioMorris Jobke2019-05-081-6/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add a login chain to reduce the complexity of LoginController::tryLoginChristoph Wurst2019-05-0713-0/+1254
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Deprecate legacy share code and cleanup some unused methodsMorris Jobke2019-04-181-14/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #15152 from ↵Morris Jobke2019-04-181-1/+80
|\ | | | | | | | | nextcloud/enhancement/noid/contactsmenu-sharing-enum-settings Respect sharing enumeration config in contacts menu
| * Respect sharing enumeration config in contacts menuJulius Härtl2019-04-181-1/+80
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fix testGetProxyUriDaniel Kesselberg2019-04-161-6/+1
| | | | | | | | | | | | | | | | | | | | | | Changed the implementation for getProxyUri with https://github.com/nextcloud/server/pull/14363/commits/fd1d85365cb1368fa70263fe3ae3b8e59ab56615 If proxy is already null then we don't ask for proxyuserpwd. Test failed because we expected getSystemValue to be called once with proxyuserpwd Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Set User-Agent as header without middlewareDaniel Kesselberg2019-04-162-39/+68
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Set empty CSP by defaultRoeland Jago Douma2019-04-163-4/+4
| | | | | | | | | For #14179 By default responses should have the strictest (and simplest) CSP possible. Only template responses should require an actual CSP. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Return true in the dummy backend for successful display name changeMorris Jobke2019-04-111-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* lib/private/User: do not change user properties if value has not changedLeon Klingele2019-04-111-16/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #14825 from marius-wieschollek/bugfix/11236Morris Jobke2019-03-251-0/+241
|\ | | | | Set parameter type in QBMapper
| * [#11236] Set parameter type in QBMapperMarius David Wieschollek2019-03-241-0/+241
| | | | | | | | Signed-off-by: Marius David Wieschollek <git.public@mdns.eu>
* | Fetch proper translationsRoeland Jago Douma2019-03-251-1/+7
|/ | | | | | | | | | | 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>
* Properly inject EventDispatched in BackgroundRepairRoeland Jago Douma2019-03-221-3/+2
| | | | | | Else it will just be null when called Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #14578 from nextcloud/enh/force_enable_appsRoeland Jago Douma2019-03-201-10/+6
|\ | | | | Force enable apps
| * allow enforcing apps to ignore the max versionRoeland Jago Douma2019-03-201-10/+6
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Revert "Where is your data?"Roeland Jago Douma2019-03-201-9/+3
|/
* Merge pull request #14425 from cowai/fix-multiple-incomplete-foldersMorris Jobke2019-03-081-0/+38
|\ | | | | Do not calculate folder size for parent that also needs proper scan, fixes #3524
| * Avoid calculating folder size for parent that needs scan.Ari Selseng2019-03-061-0/+38
| | | | | | | | Signed-off-by: Ari Selseng <ari@selseng.net>
* | Remove "socialsharing_googleplus" from Social Sharing BundleMarius Blüm2019-03-071-1/+0
| | | | | | Signed-off-by: Marius Blüm <marius@lineone.io>
* | Merge pull request #13327 from ↵Morris Jobke2019-03-061-0/+4
|\ \ | |/ |/| | | | | nextcloud/allow-bracket-notation-for-remove-ipv6-address Allow bracket IPv6 address format inside IPAdress Normalizer
| * Allow bracket IPv6 address format inside IPAdress NormalizerThomas Citharel2019-01-031-0/+4
| | | | | | | | | | | | When run with php's build-in server (for instance on localhost:8080), IP provided through $this->server['REMOTE_ADDR'] is [::1], which is not an acceptable format for \inet_pton. This removes the brackets if there's any. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Remove the upload and memory settingJoas Schilling2019-03-043-167/+6
| | | | | | | | | | | | | | | | | | | | * Remove unneeded private method phpFileSize() * Bump autoloader * Remove setUploadLimit tests * Remove integrity check hacks for upload limit Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove unused php5 config from .htaccessMorris Jobke2019-03-041-4/+4
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Load auth tokens with the initial state APIChristoph Wurst2019-03-011-0/+167
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix testsJulius Härtl2019-03-013-5/+8
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add dispatcher events to User and Group objectsJoas Schilling2019-03-0113-166/+216
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Do not load 2fa admin settings asyncRoeland Jago Douma2019-02-281-1/+12
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #14343 from nextcloud/bugfix/14052-multiple-navigation-itemsMorris Jobke2019-02-272-13/+23
|\ \ | | | | | | Parse multiple navigation items