]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
4 years agoMove files_versions to bootstrap mechanism 21750/head
Morris Jobke [Wed, 8 Jul 2020 11:19:00 +0000 (13:19 +0200)]
Move files_versions to bootstrap mechanism

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years agoMerge pull request #21733 from nextcloud/fix/noid/cache-system-card-etag-during-request
Morris Jobke [Thu, 9 Jul 2020 11:59:24 +0000 (13:59 +0200)]
Merge pull request #21733 from nextcloud/fix/noid/cache-system-card-etag-during-request

Update system addressbook card only when there was a change based on a cached etag

4 years agoMerge pull request #21489 from nextcloud/fix/share/use_correct_mount
Joas Schilling [Thu, 9 Jul 2020 10:57:37 +0000 (12:57 +0200)]
Merge pull request #21489 from nextcloud/fix/share/use_correct_mount

Use the correct mountpoint to calculate

4 years agoMerge pull request #21736 from nextcloud/bugfix/21433
Joas Schilling [Thu, 9 Jul 2020 10:55:34 +0000 (12:55 +0200)]
Merge pull request #21736 from nextcloud/bugfix/21433

Fix placeholder issues with multiplace spaces in the name

4 years agoUpdate system addressbook card only when there was a change based on a cached etag 21733/head
Morris Jobke [Tue, 7 Jul 2020 12:54:26 +0000 (14:54 +0200)]
Update system addressbook card only when there was a change based on a cached etag

Due to our old and new hook system the card dav backend listens to old and new hooks. This triggers this code multiple times and always causes an update. With this change we cache the etag during a request and only trigger the update if the etag has changed. This does not catches all not needed updates, but it does not need another round trip to the database and still covers most cases where multiple attributes are updated during one single request.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years agobetter cleanup in share tests 21489/head
Robin Appelman [Wed, 8 Jul 2020 13:32:11 +0000 (15:32 +0200)]
better cleanup in share tests

Signed-off-by: Robin Appelman <robin@icewind.nl>
4 years agoensure home storage is initialized on first setup
Robin Appelman [Wed, 8 Jul 2020 11:58:27 +0000 (13:58 +0200)]
ensure home storage is initialized on first setup

Signed-off-by: Robin Appelman <robin@icewind.nl>
4 years agoensure mounts are scanned during tests
Robin Appelman [Wed, 8 Jul 2020 11:58:04 +0000 (13:58 +0200)]
ensure mounts are scanned during tests

Signed-off-by: Robin Appelman <robin@icewind.nl>
4 years agoAdd more integration tests for resharing permissions
Daniel Calviño Sánchez [Mon, 22 Jun 2020 17:40:11 +0000 (19:40 +0200)]
Add more integration tests for resharing permissions

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
4 years agoUse the correct mountpoint to calculate
Roeland Jago Douma [Fri, 19 Jun 2020 14:25:49 +0000 (16:25 +0200)]
Use the correct mountpoint to calculate

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>
4 years agoMerge pull request #21767 from nextcloud/enh/lazy_register_navigation
Morris Jobke [Thu, 9 Jul 2020 08:52:19 +0000 (10:52 +0200)]
Merge pull request #21767 from nextcloud/enh/lazy_register_navigation

Lazy register the navigation

4 years agoLazy register the navigation 21767/head
Roeland Jago Douma [Thu, 9 Jul 2020 07:48:09 +0000 (09:48 +0200)]
Lazy register the navigation

This makes sure that we do not translate unneeded strings on for example
webdav requests.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoMerge pull request #21746 from nextcloud/techdebt/noid/cloud_federation_api-bootstrap
Morris Jobke [Thu, 9 Jul 2020 08:00:56 +0000 (10:00 +0200)]
Merge pull request #21746 from nextcloud/techdebt/noid/cloud_federation_api-bootstrap

Move cloud_federation_api to bootstrap mechanism

4 years agoMerge pull request #21766 from nextcloud/fix/21761/regression-in-return-value
Morris Jobke [Thu, 9 Jul 2020 08:00:23 +0000 (10:00 +0200)]
Merge pull request #21766 from nextcloud/fix/21761/regression-in-return-value

Fix regression in return value of OC_Util::checkDataDirectoryPermissi…

4 years agoFix regression in return value of OC_Util::checkDataDirectoryPermissions due to ... 21766/head
Morris Jobke [Thu, 9 Jul 2020 07:29:44 +0000 (09:29 +0200)]
Fix regression in return value of OC_Util::checkDataDirectoryPermissions due to #21761

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years agoFix placeholder issues with multiplace spaces in the name 21736/head
Julius Härtl [Tue, 7 Jul 2020 15:03:11 +0000 (17:03 +0200)]
Fix placeholder issues with multiplace spaces in the name

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoMerge pull request #21761 from nextcloud/fix/permission_check_translation
Roeland Jago Douma [Thu, 9 Jul 2020 06:28:57 +0000 (08:28 +0200)]
Merge pull request #21761 from nextcloud/fix/permission_check_translation

Kill another unneeded translation

4 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 9 Jul 2020 02:17:35 +0000 (02:17 +0000)]
[tx-robot] updated from transifex

4 years agoKill another unneeded translation 21761/head
Roeland Jago Douma [Wed, 8 Jul 2020 19:47:16 +0000 (21:47 +0200)]
Kill another unneeded translation

We should only translate things when we actually need them.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoMerge pull request #21758 from nextcloud/fix/routes/defaults
Roeland Jago Douma [Wed, 8 Jul 2020 18:42:28 +0000 (20:42 +0200)]
Merge pull request #21758 from nextcloud/fix/routes/defaults

Fix supporting defaults for routes

4 years agoFix supporting defaults for routes 21758/head
Roeland Jago Douma [Wed, 8 Jul 2020 16:23:06 +0000 (18:23 +0200)]
Fix supporting defaults for routes

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoMerge pull request #21754 from nextcloud/td/no_translation_on_each_request
Roeland Jago Douma [Wed, 8 Jul 2020 17:08:34 +0000 (19:08 +0200)]
Merge pull request #21754 from nextcloud/td/no_translation_on_each_request

Only translate if we need the string

4 years agoOnly translate if we need the string 21754/head
Roeland Jago Douma [Wed, 8 Jul 2020 13:12:01 +0000 (15:12 +0200)]
Only translate if we need the string

This translation was done in each call. Over and over and over again.
All while it was probably not used in 99.99999% of the cases. A small
gain. But still.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoMerge pull request #21729 from nextcloud/enh/noid/orphaned-mounts
Roeland Jago Douma [Wed, 8 Jul 2020 12:17:54 +0000 (14:17 +0200)]
Merge pull request #21729 from nextcloud/enh/noid/orphaned-mounts

Add removal of mounts without storages to files:cleanup command

4 years agoMerge pull request #21745 from nextcloud/techdebt/noid/lookup_server_connector-bootstrap
Roeland Jago Douma [Wed, 8 Jul 2020 12:16:08 +0000 (14:16 +0200)]
Merge pull request #21745 from nextcloud/techdebt/noid/lookup_server_connector-bootstrap

Move lookup server connector to bootstrap mechanism

4 years agoMerge pull request #21749 from nextcloud/techdebt/noid/contactsinteraction-bootstrap
Morris Jobke [Wed, 8 Jul 2020 11:03:00 +0000 (13:03 +0200)]
Merge pull request #21749 from nextcloud/techdebt/noid/contactsinteraction-bootstrap

Move contactsinteraction and comments to bootstrap mechanism

4 years agoMove contactsinteraction to bootstrap mechanism 21749/head
Morris Jobke [Wed, 8 Jul 2020 10:23:59 +0000 (12:23 +0200)]
Move contactsinteraction to bootstrap mechanism

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years agoTest for proper removal of mount entries 21729/head
Julius Härtl [Wed, 8 Jul 2020 07:54:26 +0000 (09:54 +0200)]
Test for proper removal of mount entries

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoMove cloud_federation_api to bootstrap mechanism 21746/head
Morris Jobke [Wed, 8 Jul 2020 07:53:05 +0000 (09:53 +0200)]
Move cloud_federation_api to bootstrap mechanism

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years agoMove lookup server connector to bootstrap mechanism 21745/head
Morris Jobke [Wed, 8 Jul 2020 07:41:28 +0000 (09:41 +0200)]
Move lookup server connector to bootstrap mechanism

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years agoMerge pull request #21643 from nextcloud/enh/no_routeactionhadler_inits
Roeland Jago Douma [Wed, 8 Jul 2020 07:28:05 +0000 (09:28 +0200)]
Merge pull request #21643 from nextcloud/enh/no_routeactionhadler_inits

Do not create a RouteActionHandler object for each route

4 years agoMerge pull request #21741 from nextcloud/debt/noid/url-generator-does-not-implement...
Morris Jobke [Wed, 8 Jul 2020 07:06:56 +0000 (09:06 +0200)]
Merge pull request #21741 from nextcloud/debt/noid/url-generator-does-not-implement-i-user-session

Fix type for $urlGenerator

4 years agoFix type for $urlGenerator 21741/head
Daniel Kesselberg [Tue, 7 Jul 2020 22:53:25 +0000 (00:53 +0200)]
Fix type for $urlGenerator

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
4 years agoMerge pull request #21739 from nextcloud/techdebt/14552/migrate-OC-initSession
Morris Jobke [Wed, 8 Jul 2020 07:02:37 +0000 (09:02 +0200)]
Merge pull request #21739 from nextcloud/techdebt/14552/migrate-OC-initSession

Remove hook for initSession

4 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 8 Jul 2020 02:16:58 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

4 years agoRemove hook for initSession 21739/head
Morris Jobke [Tue, 7 Jul 2020 19:42:20 +0000 (21:42 +0200)]
Remove hook for initSession

It's not used anyways and allowed to manipulate the state of the session. Also removed the code handling this.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years agoAdd removal of mounts without storages to files:cleanup command
Julius Härtl [Tue, 7 Jul 2020 10:36:59 +0000 (12:36 +0200)]
Add removal of mounts without storages to files:cleanup command

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoDo not create a RouteActionHandler object for each route 21643/head
Roeland Jago Douma [Wed, 1 Jul 2020 07:45:46 +0000 (09:45 +0200)]
Do not create a RouteActionHandler object for each route

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>
4 years agoMerge pull request #21676 from J0WI/fix-chmod-on-fd
Morris Jobke [Tue, 7 Jul 2020 07:44:57 +0000 (09:44 +0200)]
Merge pull request #21676 from J0WI/fix-chmod-on-fd

Fix chmod on file descriptor

4 years agoMerge pull request #21725 from nextcloud/bugfix/21316/ie11-quoted-props
Morris Jobke [Tue, 7 Jul 2020 07:43:34 +0000 (09:43 +0200)]
Merge pull request #21725 from nextcloud/bugfix/21316/ie11-quoted-props

Fix main bundle on IE11

4 years agoBump bundles 21725/head
Julius Härtl [Tue, 7 Jul 2020 07:21:53 +0000 (09:21 +0200)]
Bump bundles

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoDo not quote properties when optimizing bundles
Julius Härtl [Tue, 7 Jul 2020 07:18:43 +0000 (09:18 +0200)]
Do not quote properties when optimizing bundles

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 7 Jul 2020 02:16:31 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

4 years agoMerge pull request #21460 from nextcloud/enhancement/systemtags-bootstrap
Morris Jobke [Mon, 6 Jul 2020 21:06:10 +0000 (23:06 +0200)]
Merge pull request #21460 from nextcloud/enhancement/systemtags-bootstrap

Move systemtags to the new bootstrap mechanism

4 years agoMerge pull request #21639 from nextcloud/techdebt/noid/move-away-from-database-xml
Morris Jobke [Mon, 6 Jul 2020 20:42:39 +0000 (22:42 +0200)]
Merge pull request #21639 from nextcloud/techdebt/noid/move-away-from-database-xml

Move away from database xml

4 years agoMerge pull request #21714 from nextcloud/td/remove/getAppFolder
Morris Jobke [Mon, 6 Jul 2020 20:36:55 +0000 (22:36 +0200)]
Merge pull request #21714 from nextcloud/td/remove/getAppFolder

Remove old deprecated getAppFolder

4 years agoMerge pull request #18867 from HolgerHees/patch-1
Morris Jobke [Mon, 6 Jul 2020 20:31:48 +0000 (22:31 +0200)]
Merge pull request #18867 from HolgerHees/patch-1

Update SecurityMiddleware.php

4 years agoRemove old deprecated getAppFolder 21714/head
Roeland Jago Douma [Mon, 6 Jul 2020 13:33:36 +0000 (15:33 +0200)]
Remove old deprecated getAppFolder

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoUpdate SecurityMiddleware.php 18867/head
Holger Hees [Mon, 13 Jan 2020 16:53:08 +0000 (17:53 +0100)]
Update SecurityMiddleware.php

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 /

4 years agoMerge pull request #21717 from nextcloud/fix/tests/sharebymail
Morris Jobke [Mon, 6 Jul 2020 19:33:19 +0000 (21:33 +0200)]
Merge pull request #21717 from nextcloud/fix/tests/sharebymail

Fix sharebymail tests

4 years agoMerge pull request #20729 from nextcloud/cleanup/noid/shared-tags-code
Morris Jobke [Mon, 6 Jul 2020 19:30:48 +0000 (21:30 +0200)]
Merge pull request #20729 from nextcloud/cleanup/noid/shared-tags-code

Tags.php and the old sharing mechanism

4 years agoMerge pull request #21706 from nextcloud/bugfix/21698/add-a-clear-abuse-message
Roeland Jago Douma [Mon, 6 Jul 2020 19:26:08 +0000 (21:26 +0200)]
Merge pull request #21706 from nextcloud/bugfix/21698/add-a-clear-abuse-message

Add a clear message why you could end up there

4 years agoFix sharebymail tests 21717/head
Roeland Jago Douma [Mon, 6 Jul 2020 14:08:05 +0000 (16:08 +0200)]
Fix sharebymail tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoMerge pull request #21713 from nextcloud/td/deprecate/register_rotues
Roeland Jago Douma [Mon, 6 Jul 2020 18:55:59 +0000 (20:55 +0200)]
Merge pull request #21713 from nextcloud/td/deprecate/register_rotues

Deprecate registerRoutes

4 years agoUpdate class loaders 21639/head
Joas Schilling [Wed, 1 Jul 2020 06:24:38 +0000 (08:24 +0200)]
Update class loaders

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoMove user_ldap to migrations
Joas Schilling [Tue, 30 Jun 2020 19:29:47 +0000 (21:29 +0200)]
Move user_ldap to migrations

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoMove files_trashbin to migrations
Joas Schilling [Tue, 30 Jun 2020 19:27:52 +0000 (21:27 +0200)]
Move files_trashbin to migrations

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoMove files_external to migrations
Joas Schilling [Tue, 30 Jun 2020 19:24:51 +0000 (21:24 +0200)]
Move files_external to migrations

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoMove federatedfilesharing to migrations
Joas Schilling [Tue, 30 Jun 2020 19:19:41 +0000 (21:19 +0200)]
Move federatedfilesharing to migrations

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoMove federation to migrations
Joas Schilling [Tue, 30 Jun 2020 19:16:40 +0000 (21:16 +0200)]
Move federation to migrations

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoDeprecate registerRoutes 21713/head
Roeland Jago Douma [Mon, 6 Jul 2020 13:15:20 +0000 (15:15 +0200)]
Deprecate registerRoutes

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoCascading effect - more code that now is not used anymore 20729/head
Morris Jobke [Wed, 29 Apr 2020 19:15:45 +0000 (21:15 +0200)]
Cascading effect - more code that now is not used anymore

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years agoTags.php and the old sharing mechanism
Morris Jobke [Wed, 29 Apr 2020 18:40:45 +0000 (20:40 +0200)]
Tags.php and the old sharing mechanism

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>
4 years agoMerge pull request #21704 from nextcloud/fix/18895/fix-unit-tests
Morris Jobke [Mon, 6 Jul 2020 12:10:17 +0000 (14:10 +0200)]
Merge pull request #21704 from nextcloud/fix/18895/fix-unit-tests

Fix unit tests from #18895

4 years agoMerge pull request #21074 from jvsalo/shared-lock-multi-release
Morris Jobke [Mon, 6 Jul 2020 12:06:41 +0000 (14:06 +0200)]
Merge pull request #21074 from jvsalo/shared-lock-multi-release

Fix releasing a shared lock multiple times

4 years agoMerge pull request #21171 from nextcloud/enh/noid/tidy-up-group-ldap
Morris Jobke [Mon, 6 Jul 2020 12:00:27 +0000 (14:00 +0200)]
Merge pull request #21171 from nextcloud/enh/noid/tidy-up-group-ldap

tidy up Group_LDAP

4 years agoMerge pull request #21222 from nextcloud/bugfix/18965/reduce-contacts-search-load
Morris Jobke [Mon, 6 Jul 2020 11:56:06 +0000 (13:56 +0200)]
Merge pull request #21222 from nextcloud/bugfix/18965/reduce-contacts-search-load

Reduce contacts search load

4 years agoMerge pull request #21238 from nextcloud/techdebt/noid/deferrable-notification-apps
Morris Jobke [Mon, 6 Jul 2020 11:50:25 +0000 (13:50 +0200)]
Merge pull request #21238 from nextcloud/techdebt/noid/deferrable-notification-apps

Allow notification apps to defer and flush the sending

4 years agoAdd a clear message why you could end up there 21706/head
Joas Schilling [Mon, 6 Jul 2020 11:44:12 +0000 (13:44 +0200)]
Add a clear message why you could end up there

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoFix unit tests from #18895 21704/head
Morris Jobke [Mon, 6 Jul 2020 11:32:42 +0000 (13:32 +0200)]
Fix unit tests from #18895

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years agoMerge pull request #18895 from nextcloud/bugfix/noid/fix_birthday_calendar_color
Morris Jobke [Mon, 6 Jul 2020 11:20:55 +0000 (13:20 +0200)]
Merge pull request #18895 from nextcloud/bugfix/noid/fix_birthday_calendar_color

Changes the Birthday calendar color to slightly brighter one

4 years agoMerge pull request #21665 from nextcloud/debt/noid/job-list
Morris Jobke [Mon, 6 Jul 2020 09:14:14 +0000 (11:14 +0200)]
Merge pull request #21665 from nextcloud/debt/noid/job-list

Fix wrong phpdoc for execute method

4 years agoMerge pull request #21692 from nextcloud/cleanup/sharebymail
Roeland Jago Douma [Mon, 6 Jul 2020 08:33:12 +0000 (10:33 +0200)]
Merge pull request #21692 from nextcloud/cleanup/sharebymail

Cleanup share by mail a bit

4 years agoMerge pull request #21581 from nextcloud/3rdparty/symfony/4.4.10
Roeland Jago Douma [Mon, 6 Jul 2020 08:32:48 +0000 (10:32 +0200)]
Merge pull request #21581 from nextcloud/3rdparty/symfony/4.4.10

Bump symfony deps to 4.4.10

4 years agoUse formal type hints instead of informal PHPDoc 21665/head
Morris Jobke [Mon, 6 Jul 2020 08:13:23 +0000 (10:13 +0200)]
Use formal type hints instead of informal PHPDoc

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years agoBump symfony deps to 4.4.10 21581/head
Roeland Jago Douma [Thu, 25 Jun 2020 06:39:03 +0000 (08:39 +0200)]
Bump symfony deps to 4.4.10

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoCleanup share by mail a bit 21692/head
Roeland Jago Douma [Sun, 5 Jul 2020 11:23:30 +0000 (13:23 +0200)]
Cleanup share by mail a bit

* Moved to ned IBootstrap
* Register everything via the capabilities api (So clients can use it as
  well)
  - This applies to the enforcing passwords
* Updated the sharing js code to use it
* removed app.php
* removed unused settings now
* typehints
* strict typing

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 6 Jul 2020 02:16:08 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

4 years agoMerge pull request #21264 from stweil/master
Morris Jobke [Sun, 5 Jul 2020 20:52:28 +0000 (22:52 +0200)]
Merge pull request #21264 from stweil/master

build: Fix some typos (most of them found by codespell)

4 years agoMerge pull request #21636 from nextcloud/lock-exception-readable-path
Morris Jobke [Sun, 5 Jul 2020 20:37:12 +0000 (22:37 +0200)]
Merge pull request #21636 from nextcloud/lock-exception-readable-path

add proper paths to locking exceptions

4 years agoMerge pull request #21626 from nextcloud/enhancement/injectible-callables
Morris Jobke [Sun, 5 Jul 2020 20:03:12 +0000 (22:03 +0200)]
Merge pull request #21626 from nextcloud/enhancement/injectible-callables

Callable parameter injection

4 years agoMerge pull request #21686 from nextcloud/dependabot/npm_and_yarn/babel/core-7.10.4
Roeland Jago Douma [Sat, 4 Jul 2020 13:16:54 +0000 (15:16 +0200)]
Merge pull request #21686 from nextcloud/dependabot/npm_and_yarn/babel/core-7.10.4

Bump @babel/core from 7.10.3 to 7.10.4

4 years agoMerge pull request #21533 from nextcloud/techdebt/noid/dedicated-method-to-get-a...
Roeland Jago Douma [Sat, 4 Jul 2020 06:56:13 +0000 (08:56 +0200)]
Merge pull request #21533 from nextcloud/techdebt/noid/dedicated-method-to-get-a-users-language

Techdebt/noid/dedicated method to get a users language

4 years agoBump @babel/core from 7.10.3 to 7.10.4 21686/head
dependabot-preview[bot] [Sat, 4 Jul 2020 06:48:52 +0000 (06:48 +0000)]
Bump @babel/core from 7.10.3 to 7.10.4

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.3 to 7.10.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.4/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoMerge pull request #21685 from nextcloud/dependabot/npm_and_yarn/babel/preset-env...
Roeland Jago Douma [Sat, 4 Jul 2020 06:46:22 +0000 (08:46 +0200)]
Merge pull request #21685 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.10.4

Bump @babel/preset-env from 7.10.3 to 7.10.4

4 years agoMerge pull request #21682 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-import...
Roeland Jago Douma [Sat, 4 Jul 2020 06:45:46 +0000 (08:45 +0200)]
Merge pull request #21682 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-import-2.22.0

Bump eslint-plugin-import from 2.21.2 to 2.22.0

4 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 4 Jul 2020 02:16:15 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

4 years agoBump @babel/preset-env from 7.10.3 to 7.10.4 21685/head
dependabot-preview[bot] [Sat, 4 Jul 2020 01:23:32 +0000 (01:23 +0000)]
Bump @babel/preset-env from 7.10.3 to 7.10.4

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.10.3 to 7.10.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.4/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoBump eslint-plugin-import from 2.21.2 to 2.22.0 21682/head
dependabot-preview[bot] [Sat, 4 Jul 2020 01:21:09 +0000 (01:21 +0000)]
Bump eslint-plugin-import from 2.21.2 to 2.22.0

Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.21.2 to 2.22.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.21.2...v2.22.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoFix chmod on file descriptor 21676/head
J0WI [Fri, 3 Jul 2020 18:53:54 +0000 (20:53 +0200)]
Fix chmod on file descriptor

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
4 years agoAllow notification apps to defer and flush the sending 21238/head
Joas Schilling [Thu, 4 Jun 2020 12:46:49 +0000 (14:46 +0200)]
Allow notification apps to defer and flush the sending

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoUse \OCP\IContainer::injectFn to boot the admin_audit app 21626/head
Christoph Wurst [Mon, 29 Jun 2020 14:09:58 +0000 (16:09 +0200)]
Use \OCP\IContainer::injectFn to boot the admin_audit app

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoUse \OCP\IContainer::injectFn to boot the Accessibility app
Christoph Wurst [Mon, 29 Jun 2020 14:07:21 +0000 (16:07 +0200)]
Use \OCP\IContainer::injectFn to boot the Accessibility app

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoUse \OCP\IContainer::injectFn to boot the DAV app
Christoph Wurst [Mon, 29 Jun 2020 14:04:17 +0000 (16:04 +0200)]
Use \OCP\IContainer::injectFn to boot the DAV app

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoCallable parameter injection
Christoph Wurst [Mon, 29 Jun 2020 13:52:47 +0000 (15:52 +0200)]
Callable parameter injection

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>
4 years agoMerge pull request #21280 from nextcloud/dependabot/npm_and_yarn/nextcloud/router...
Morris Jobke [Fri, 3 Jul 2020 10:31:35 +0000 (12:31 +0200)]
Merge pull request #21280 from nextcloud/dependabot/npm_and_yarn/nextcloud/router-1.1.0

Bump @nextcloud/router from 1.0.2 to 1.1.0

4 years agoUse the new method everywhere 21533/head
Joas Schilling [Tue, 23 Jun 2020 06:45:01 +0000 (08:45 +0200)]
Use the new method everywhere

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoFix wrong phpdoc for execute method
Daniel Kesselberg [Fri, 3 Jul 2020 08:46:51 +0000 (10:46 +0200)]
Fix wrong phpdoc for execute method

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
4 years agoMerge pull request #21662 from nextcloud/fix/s3-bucket-compat-static-call
Christoph Wurst [Fri, 3 Jul 2020 08:22:53 +0000 (10:22 +0200)]
Merge pull request #21662 from nextcloud/fix/s3-bucket-compat-static-call

Fix static method call for s3 bucket compat check

4 years agoMerge pull request #20198 from nextcloud/enh/enable-codecov
Roeland Jago Douma [Fri, 3 Jul 2020 08:07:04 +0000 (10:07 +0200)]
Merge pull request #20198 from nextcloud/enh/enable-codecov

Send coverage to codecov again