summaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* Make it possible to wipe all tokens/devices of a userChristoph Wurst2019-07-091-0/+38
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Refactor: move remote wipe token logic to RW serviceChristoph Wurst2019-07-091-0/+30
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #15730 from nextcloud/enh/14179/event_for_cspRoeland Jago Douma2019-07-092-2/+96
|\ | | | | Add an event to edit the CSP
| * Add an event to edit the CSPRoeland Jago Douma2019-07-082-2/+96
| | | | | | | | | | | | | | | | This introduces and event that can be listend to when we actually use the CSP. This means that apps no longer have to always inject their CSP but only do so when it is required. Yay for being lazy. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Remove one time repair steps that have already run when updating to 17Morris Jobke2019-07-083-544/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Mimetype list integrity check should not fail if it's changed (#15810)John Molakvoæ2019-07-071-2/+263
|\ | | | | Mimetype list integrity check should not fail if it's changed
| * Added Tests for modified mimetypelistXheni Myrtaj2019-07-041-3/+258
| | | | | | | | Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
| * Fix checker testXheni Myrtaj2019-05-301-2/+8
| | | | | | | | Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
* | Always set the display name for user sharesJulius Härtl2019-07-031-0/+9
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Unify the permission checking in one place onlyJoas Schilling2019-07-031-4/+9
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Better check reshare permissions when creating a shareJoas Schilling2019-07-031-0/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Send emails when remote wipe starts/finishesChristoph Wurst2019-07-021-0/+241
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | 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
|/