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
2020-07-31Add user-status appGeorg Ehrke
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-07-31Use `babel-loader-exclude-node-modules-except`John Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-28Fix overwriteService() for appsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-24Merge pull request #21940 from ↵Morris Jobke
nextcloud/fix/14541/fix-fragile-acceptance-tests-part1 Revert "Disable fragile tests for now" partially
2020-07-23Merge pull request #21972 from nextcloud/techdebt/noid/cleanup-phpunit-warningsMorris Jobke
Fix PHPUnit deprecation warnings
2020-07-23Merge pull request #21628 from nextcloud/external-to-s3-trashbin-fixMorris Jobke
fix moving files from external storage to object store trashbin
2020-07-23Adjust tests to new e-mail layoutSimon Spannagel
Signed-off-by: Simon Spannagel <simonspa@kth.se>
2020-07-23Remove deprecated test of internal attributes via assertAttributeEquals in ↵Morris Jobke
constructor tests I removed the tests completely because they just test that the constructor assigns the values to the internal properties. Nothing that should be cared about from the outside. See https://github.com/sebastianbergmann/phpunit/issues/3339#issuecomment-428843322 It is seen as bad practice to test internal stuff of objects instead of the actual input and output of mathod calls. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-23Use assertEqualsCanonicalizing instead of deprecated assertEquals parameterMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-23Remove deprecated test of internal attributes via assertAttributeEqualsMorris Jobke
See https://github.com/sebastianbergmann/phpunit/issues/3339#issuecomment-428843322 It is seen as bad practice to test internal stuff of objects instead of the actual input and output of mathod calls. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-23Use assertStringContainsString instead of assertContains on stringsMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-23use exceptions for error signaling in writeStreamRobin Appelman
this remove the ambiguity when writing zero length files Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-23rollback cache rename if trashbin move failsRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-22Merge pull request #21870 from ↵Morris Jobke
nextcloud/fix/bootstrap-context-container-interfaces Make the bootstrap context return ContainerInterface instances
2020-07-22Hide share link menu before copying the share link in acceptance testsDaniel Calviño Sánchez
The (old) Firefox version used in the acceptance tests does not properly render the share link menu. As the menu is taller than it should sometimes it covers the copy link button, so it is not possible to click it without hiding the share link menu. Moreover, in those cases the share menu button is also covered by the share menu, so the menu needs to be closed by pressing the "Esc" key. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-07-22Fix breaking changes of nc/vue updateGeorg Ehrke
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-07-21Adjust apps' code to use the ContainerInterfaceChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-21Revert "Disable fragile tests for now"Morris Jobke
This reverts commit 40e04c83914e960b5aff739900d887f0e7a44d63. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-20Remove outdated ui-regression testsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15Add real events to load additionalscriptsRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-15Move to lazy panel registration during registration contextJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-14Delegate bootstrap registration lazilyChristoph Wurst
* Keep the registration context * Expose the context object for other components * Ensure registration is only run once Search providers are migrated for demonstration. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-09Merge pull request #21759 from nextcloud/enh/lazy_subscriptionRoeland Jago Douma
Make the subscription registry lazy
2020-07-09Add DummySubscription for testsDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-09Make the subscription registry lazyRoeland Jago Douma
This will allow to do lazy registration here which should allow for loading less (or at least only when needed!). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-09ensure mounts are scanned during testsRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-09Use the correct mountpoint to calculateRoeland Jago Douma
If we use the owners mount point this results in null. And then the rest of the checks get called with null. Which doesn't work. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-08Fix supporting defaults for routesRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-07Do not create a RouteActionHandler object for each routeRoeland Jago Douma
This is not required and doesn't allow us to be properly lazy. On top of it this doesnt allow us to cache the routes (since closures/objects can't be cached). This is the first small step into cleaning up the routing we have Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-06Update SecurityMiddleware.phpHolger Hees
OC::$WEBROOT can be empty in case if your nextcloud installation has no url prefix. This will result in an empty Location Header. in other areas OC::$WEBROOT is always used together with an /
2020-07-06Tags.php and the old sharing mechanismMorris Jobke
The old sharing mechanism isn't working anymore, because it was replaced by Share 2.0. Also it was nowhere used so this removes the code paths and reduces complexity. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-05Merge pull request #21626 from nextcloud/enhancement/injectible-callablesMorris Jobke
Callable parameter injection
2020-07-03Callable parameter injectionChristoph Wurst
This is like what we have to DI and classes, but for callables. The motivating factor is to get rid of *service locators* in the `boot` method of apps as a new pattern is about to emerge where we have lots of `query` calls on the app or server container in order to fetch some services. With this little helper it's possible to call another (public) method and magically have everything injected. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-03Merge pull request #21439 from ↵Joas Schilling
nextcloud/feature/noid/move-autocomplete-filter-event-to-new-dispatcher-and-class Move AutoComplete::filterResults to new event dispatcher and GenericE…
2020-07-02Merge pull request #21360 from nextcloud/root-storage-prevent-scanningRoeland Jago Douma
prevent the root storage from accidentally scanning user folders
2020-07-02Merge pull request #21599 from nextcloud/debt/noid/type-to-typesRoeland Jago Douma
Replace TYPE with TYPES
2020-07-02Merge pull request #21653 from ↵Roeland Jago Douma
nextcloud/bugfix/noid/fix-ipv6-remote-addresses-from-x-forwarded-for-header Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validating
2020-07-02Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validatingJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-01Move AutoComplete::filterResults to new event dispatcher and GenericEventJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-01Replace TYPE with TYPESDaniel Kesselberg
As TYPE::* is deprecated. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-26Fix unit testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-25Fix robots "noindex, nofollow" signalsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-24Merge pull request #21379 from ↵Roeland Jago Douma
nextcloud/fix-share-permission-checkboxes-enabled-when-permissions-can-not-be-set Fix share permission checkboxes enabled when permissions can not be set
2020-06-24Fix testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-24Update share type constant usageJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-24Add unified search APIChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-23Fix language in share notes email for usersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-23Merge pull request #21452 from ↵Joas Schilling
nextcloud/bugfix/21451/allow-autocomplete-by-displayname-again Fix autocomplete for LDAP with `shareapi_only_share_with_group_members` on
2020-06-22Merge pull request #21479 from nextcloud/fix/21474/allow_specifying_cookie_typeblizzz
Allow to specify the cookie type for appframework responses
2020-06-22Allow to specify the cookie type for appframework responsesRoeland Jago Douma
In general it is good to set them to Lax. But also to give devs more control over them is not a bad thing. Helps with #21474 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>