summaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | two item => two itemsDaniel Kesselberg2019-02-251-1/+1
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | Parse multiple navigation itemsDaniel Kesselberg2019-02-222-13/+23
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Search sharees on lookup server when explicitly requested by userChristoph Wurst2019-02-261-5/+5
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #14198 from nextcloud/bugfix/8647-exclude-file-name-patternsMorris Jobke2019-02-261-0/+94
|\ \ \ | | | | | | | | Exclude file name patterns; ignore gentoo webapp files
| * | | Use more precise regexDaniel Kesselberg2019-02-141-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | | Apply code style fixes from owncloud, revert regexDaniel Kesselberg2019-02-141-25/+27
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | | Fix test caseRomain Rivière2019-02-141-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Romain Rivière <lecoyote@lecoyote.org>
| * | | Exclude file name patterns; ignore gentoo webapp filesRomain Rivière2019-02-141-0/+92
| | | | | | | | | | | | | | | | Signed-off-by: Romain Rivière <lecoyote@lecoyote.org>
* | | | allow group backends to mark that a group should now be shown in search dialogsRobin Appelman2019-02-251-1/+18
| |/ / |/| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #14194 from ↵Morris Jobke2019-02-191-16/+30
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/correctly-determinate-owner-in-case-of-shared-external-storages Correctly determinate the owner in case of shared external storages
| * | | Correctly determinate the owner in case of shared external storagesJoas Schilling2019-02-181-16/+30
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Use CountWrapper instead of almost identical CountReadStreamRoeland Jago Douma2019-02-151-49/+0
|/ / / | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Fix AsyncBusTestsRoeland Jago Douma2019-02-141-2/+2
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #13995 from nextcloud/feature/dont-call-get-repair-stepsRoeland Jago Douma2019-02-141-9/+15
|\ \ \ | | | | | | | | Do not run getRepairSteps in register_commands
| * | | Fix unit testDaniel Kesselberg2019-02-131-9/+15
| |/ / | | | | | | | | | | | | | | | Null is not longer possible as value for $dispatcher. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #14160 from nextcloud/update-crlMorris Jobke2019-02-141-40/+40
|\ \ \ | |/ / |/| | Update CRL to contain revoked files_external_dropbox, passman & payback
| * | Update CRL to contain revoked files_external_dropbox, passman & paybackMorris Jobke2019-02-141-40/+40
| | | | | | | | | | | | | | | | | | | | | * see https://github.com/nextcloud/app-certificate-requests/pull/221 * see https://github.com/nextcloud/app-certificate-requests/pull/219#issuecomment-463577509 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Fix the thorrtler whitelist bitmaskRoeland Jago Douma2019-02-111-0/+29
|/ / | | | | | | | | | | Before we actually didn't check each bit of the bitmask. Now we do. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #13097 from nextcloud/feature/11319/where-is-your-dataMorris Jobke2019-02-111-3/+9
|\ \ | | | | | | Where is your data?
| * | Move server info to theming sectionMichael Weimann2019-01-141-3/+9
| | | | | | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | | Merge pull request #13748 from nextcloud/cache-insert-eventMorris Jobke2019-02-071-10/+20
|\ \ \ | | | | | | | | add event for inserting cache entries
| * | | adjust testsRobin Appelman2019-02-071-10/+20
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #13969 from ↵Morris Jobke2019-02-071-0/+27
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/enh/additional_scripts_no_on_public_pages No need to emit additonalscript event on public pages