]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
4 years agoUse assertStringContainsString instead of assertContains on strings
Morris Jobke [Thu, 23 Jul 2020 11:36:32 +0000 (13:36 +0200)]
Use assertStringContainsString instead of assertContains on strings

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years agoMerge pull request #21973 from nextcloud/techdebt/noid/fix-risky-2fa-backup-code...
Morris Jobke [Thu, 23 Jul 2020 15:11:10 +0000 (17:11 +0200)]
Merge pull request #21973 from nextcloud/techdebt/noid/fix-risky-2fa-backup-code-test

Fix risky test in twofactor_backupcodes

4 years agoMerge pull request #21970 from nextcloud/dependageorg/npm_and_yarn/nextcloud/vue...
Georg Ehrke [Thu, 23 Jul 2020 13:09:33 +0000 (15:09 +0200)]
Merge pull request #21970 from nextcloud/dependageorg/npm_and_yarn/nextcloud/vue-2.3.0

Bump @nextcloud/vue from 2.2.1 to 2.3.0

4 years agoMerge pull request #21966 from nextcloud/enh/userbackend/custom_logout
Morris Jobke [Thu, 23 Jul 2020 12:54:23 +0000 (14:54 +0200)]
Merge pull request #21966 from nextcloud/enh/userbackend/custom_logout

Allow user backends to specify a custom logout url

4 years agoFix risky test in twofactor_backupcodes 21973/head
Morris Jobke [Thu, 23 Jul 2020 12:32:58 +0000 (14:32 +0200)]
Fix risky test in twofactor_backupcodes

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years agoBump @nextcloud/vue from 2.2.1 to 2.3.0 21970/head
Georg Ehrke [Thu, 23 Jul 2020 12:09:00 +0000 (14:09 +0200)]
Bump @nextcloud/vue from 2.2.1 to 2.3.0

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
4 years agoMerge pull request #21963 from nextcloud/fix/sharing/respect_default_share_permissions
Roeland Jago Douma [Thu, 23 Jul 2020 08:53:36 +0000 (10:53 +0200)]
Merge pull request #21963 from nextcloud/fix/sharing/respect_default_share_permissions

Respect default share permissions

4 years agoAllow user backends to specify a custom logout url 21966/head
Roeland Jago Douma [Thu, 23 Jul 2020 08:42:40 +0000 (10:42 +0200)]
Allow user backends to specify a custom logout url

* Allows SSO backends to do a global logout

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoRespect default share permissions 21963/head
Roeland Jago Douma [Thu, 23 Jul 2020 07:30:42 +0000 (09:30 +0200)]
Respect default share permissions

Else we'll always create new shares with the max permissions.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoMerge pull request #21957 from nextcloud/techdebt/noid/bootstrap-testing
Julius Härtl [Thu, 23 Jul 2020 06:50:25 +0000 (08:50 +0200)]
Merge pull request #21957 from nextcloud/techdebt/noid/bootstrap-testing

Use IBootstrap for the testing app

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

4 years agoUse IBootstrap for the testing app 21957/head
Morris Jobke [Wed, 22 Jul 2020 20:28:04 +0000 (22:28 +0200)]
Use IBootstrap for the testing app

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years agoMerge pull request #21946 from nextcloud/fix/webauthn/windows_hello
Roeland Jago Douma [Wed, 22 Jul 2020 19:29:21 +0000 (21:29 +0200)]
Merge pull request #21946 from nextcloud/fix/webauthn/windows_hello

Do not double encode the userid in webauthn login

4 years agoMerge pull request #21949 from nextcloud/smb-3.2.6
Roeland Jago Douma [Wed, 22 Jul 2020 19:19:14 +0000 (21:19 +0200)]
Merge pull request #21949 from nextcloud/smb-3.2.6

update icewind/smb to 3.2.6

4 years agoMerge pull request #21950 from nextcloud/bugfix/noid/wipe-translation
Roeland Jago Douma [Wed, 22 Jul 2020 19:10:28 +0000 (21:10 +0200)]
Merge pull request #21950 from nextcloud/bugfix/noid/wipe-translation

Properly fetch translation for remote wipe confirmation dialog

4 years agoDo not double encode the userid in webauthn login 21946/head
Roeland Jago Douma [Wed, 22 Jul 2020 07:23:11 +0000 (09:23 +0200)]
Do not double encode the userid in webauthn login

* Else login fails with webauthn devices that send the userid
  - Like windows hello

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoCompile assets 21950/head
npmbuildbot[bot] [Wed, 22 Jul 2020 18:45:33 +0000 (18:45 +0000)]
Compile assets

Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoMerge pull request #21870 from nextcloud/fix/bootstrap-context-container-interfaces
Morris Jobke [Wed, 22 Jul 2020 18:38:50 +0000 (20:38 +0200)]
Merge pull request #21870 from nextcloud/fix/bootstrap-context-container-interfaces

Make the bootstrap context return ContainerInterface instances

4 years agoProperly fetch translation for remote wipe confirmation dialog
Julius Härtl [Wed, 22 Jul 2020 14:56:17 +0000 (16:56 +0200)]
Properly fetch translation for remote wipe confirmation dialog

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoMerge pull request #21948 from nextcloud/bugfix/noid/accesibilityoca
John Molakvoæ [Wed, 22 Jul 2020 15:47:33 +0000 (17:47 +0200)]
Merge pull request #21948 from nextcloud/bugfix/noid/accesibilityoca

Load accessibilityoca script

4 years agoMerge pull request #21867 from nextcloud/dependageorg/npm_and_yarn/nextcloud/vue...
John Molakvoæ [Wed, 22 Jul 2020 15:47:18 +0000 (17:47 +0200)]
Merge pull request #21867 from nextcloud/dependageorg/npm_and_yarn/nextcloud/vue-2.2.1

4 years agoHide share link menu before copying the share link in acceptance tests 21867/head
Daniel Calviño Sánchez [Tue, 21 Jul 2020 19:25:18 +0000 (21:25 +0200)]
Hide share link menu before copying the share link in acceptance tests

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>
4 years agoRecompile JS assets
Georg Ehrke [Tue, 21 Jul 2020 06:44:14 +0000 (08:44 +0200)]
Recompile JS assets

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
4 years agoFix breaking changes of nc/vue update
Georg Ehrke [Thu, 16 Jul 2020 12:39:26 +0000 (14:39 +0200)]
Fix breaking changes of nc/vue update

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
4 years agoBump @nextcloud/vue from 1.5.0 to 2.2.1
Georg Ehrke [Thu, 16 Jul 2020 12:24:14 +0000 (14:24 +0200)]
Bump @nextcloud/vue from 1.5.0 to 2.2.1

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
4 years agoupdate icewind/smb to 3.2.6 21949/head
Robin Appelman [Wed, 22 Jul 2020 12:25:33 +0000 (14:25 +0200)]
update icewind/smb to 3.2.6

Signed-off-by: Robin Appelman <robin@icewind.nl>
4 years agoLoad accessibilityoca script 21948/head
Julius Härtl [Wed, 22 Jul 2020 10:04:16 +0000 (12:04 +0200)]
Load accessibilityoca script

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoMerge pull request #21905 from nextcloud/dependabot/npm_and_yarn/babel/core-7.10.5
Roeland Jago Douma [Wed, 22 Jul 2020 07:44:08 +0000 (09:44 +0200)]
Merge pull request #21905 from nextcloud/dependabot/npm_and_yarn/babel/core-7.10.5

Bump @babel/core from 7.10.4 to 7.10.5

4 years agoBump @babel/core from 7.10.4 to 7.10.5 21905/head
dependabot-preview[bot] [Wed, 22 Jul 2020 07:36:06 +0000 (07:36 +0000)]
Bump @babel/core from 7.10.4 to 7.10.5

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.4 to 7.10.5.
- [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.5/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoMerge pull request #21904 from nextcloud/dependabot/npm_and_yarn/nextcloud/axios...
Roeland Jago Douma [Wed, 22 Jul 2020 07:31:46 +0000 (09:31 +0200)]
Merge pull request #21904 from nextcloud/dependabot/npm_and_yarn/nextcloud/axios-1.3.3

Bump @nextcloud/axios from 1.3.2 to 1.3.3

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

4 years agoMerge pull request #21658 from nextcloud/trashbin-configurable-size
Morris Jobke [Tue, 21 Jul 2020 18:46:43 +0000 (20:46 +0200)]
Merge pull request #21658 from nextcloud/trashbin-configurable-size

allow admin to configure the max trashbin size

4 years agoUse the proper IAppContainer and IServerContainer type hints to know which code runs... 21870/head
Morris Jobke [Tue, 21 Jul 2020 12:36:40 +0000 (14:36 +0200)]
Use the proper IAppContainer and IServerContainer type hints to know which code runs with which container

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years agoAdjust apps' code to use the ContainerInterface
Christoph Wurst [Thu, 16 Jul 2020 15:08:03 +0000 (17:08 +0200)]
Adjust apps' code to use the ContainerInterface

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMake the bootstrap context return ContainerInterface instances
Christoph Wurst [Thu, 16 Jul 2020 15:06:17 +0000 (17:06 +0200)]
Make the bootstrap context return ContainerInterface instances

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMerge pull request #21941 from nextcloud/design/font-ubuntu-cantarell
kesselb [Tue, 21 Jul 2020 15:36:03 +0000 (17:36 +0200)]
Merge pull request #21941 from nextcloud/design/font-ubuntu-cantarell

Move Cantarell before Ubuntu in font stack to fix GNOME + Ubuntu setups

4 years agoMove Cantarell before Ubuntu in font stack to fix GNOME + Ubuntu setups 21941/head
Jan C. Borchardt [Tue, 21 Jul 2020 14:20:32 +0000 (16:20 +0200)]
Move Cantarell before Ubuntu in font stack to fix GNOME + Ubuntu setups

Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
4 years agoMerge pull request #21934 from nextcloud/tests/noid/disable-fragile-comments-tests
Morris Jobke [Tue, 21 Jul 2020 13:19:28 +0000 (15:19 +0200)]
Merge pull request #21934 from nextcloud/tests/noid/disable-fragile-comments-tests

Disable fragile comments tests

4 years agoMerge pull request #21929 from nextcloud/bugfix/noid/encryption-transfer-user
Morris Jobke [Tue, 21 Jul 2020 11:42:26 +0000 (13:42 +0200)]
Merge pull request #21929 from nextcloud/bugfix/noid/encryption-transfer-user

Encryption is ready if master key is enabled

4 years agoDisable fragile comments tests 21934/head
Morris Jobke [Tue, 21 Jul 2020 11:31:17 +0000 (13:31 +0200)]
Disable fragile comments tests

Those tests are actual problems in our code. See https://github.com/nextcloud/server/pull/20462#issuecomment-613380650 for a summary by @danxuliu

Basically they are introduced by #18929 but are only revealed by #18764.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years agoEncryption is ready if master key is enabled 21929/head
Julius Härtl [Tue, 21 Jul 2020 07:16:43 +0000 (09:16 +0200)]
Encryption is ready if master key is enabled

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

4 years agoMerge pull request #21864 from nextcloud/techdebt/files-versions-psr-container
Morris Jobke [Mon, 20 Jul 2020 22:17:17 +0000 (00:17 +0200)]
Merge pull request #21864 from nextcloud/techdebt/files-versions-psr-container

Migrate files versions to the PSR container

4 years agoMerge pull request #21865 from nextcloud/techdebt/settings-psr-container
Morris Jobke [Mon, 20 Jul 2020 22:16:03 +0000 (00:16 +0200)]
Merge pull request #21865 from nextcloud/techdebt/settings-psr-container

Migrate settigns to the PSR container

4 years agoBump @nextcloud/axios from 1.3.2 to 1.3.3 21904/head
dependabot-preview[bot] [Mon, 20 Jul 2020 15:16:07 +0000 (15:16 +0000)]
Bump @nextcloud/axios from 1.3.2 to 1.3.3

Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/nextcloud/nextcloud-axios/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-axios/compare/v1.3.2...v1.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoMerge pull request #21875 from nextcloud/techdebt/deprecate-ilogger
Morris Jobke [Mon, 20 Jul 2020 14:45:14 +0000 (16:45 +0200)]
Merge pull request #21875 from nextcloud/techdebt/deprecate-ilogger

Deprecate ILogger in favor of the PSR-3 logger

4 years agoMerge pull request #21862 from nextcloud/techdebt/files-sharing-psr-container
Morris Jobke [Mon, 20 Jul 2020 14:41:35 +0000 (16:41 +0200)]
Merge pull request #21862 from nextcloud/techdebt/files-sharing-psr-container

Migrate files sharing to the PSR container

4 years agoMerge pull request #21866 from nextcloud/techdebt/ldap-psr-container
Morris Jobke [Mon, 20 Jul 2020 14:28:54 +0000 (16:28 +0200)]
Merge pull request #21866 from nextcloud/techdebt/ldap-psr-container

Migrate LDAP to the PSR container

4 years agoMerge pull request #21846 from nextcloud/dependabot/npm_and_yarn/p-limit-3.0.2
Morris Jobke [Mon, 20 Jul 2020 13:00:45 +0000 (15:00 +0200)]
Merge pull request #21846 from nextcloud/dependabot/npm_and_yarn/p-limit-3.0.2

Bump p-limit from 2.3.0 to 3.0.2

4 years agoMerge pull request #21850 from nextcloud/techdebt/noid/register-alternative-logins
Morris Jobke [Mon, 20 Jul 2020 12:20:03 +0000 (14:20 +0200)]
Merge pull request #21850 from nextcloud/techdebt/noid/register-alternative-logins

Allow to register AlternativeLogin on RegistrationContext

4 years agoMerge pull request #21921 from nextcloud/fix/use-DOMContentLoaded
John Molakvoæ [Mon, 20 Jul 2020 12:07:20 +0000 (14:07 +0200)]
Merge pull request #21921 from nextcloud/fix/use-DOMContentLoaded

Use DOMContentLoaded and fix sharebymail loading issue

4 years agoBump p-limit from 2.3.0 to 3.0.2 21846/head
dependabot-preview[bot] [Wed, 15 Jul 2020 06:55:12 +0000 (06:55 +0000)]
Bump p-limit from 2.3.0 to 3.0.2

Bumps [p-limit](https://github.com/sindresorhus/p-limit) from 2.3.0 to 3.0.2.
- [Release notes](https://github.com/sindresorhus/p-limit/releases)
- [Commits](https://github.com/sindresorhus/p-limit/compare/v2.3.0...v3.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoUse DOMContentLoaded and fix sharebymail loading issue 21921/head
John Molakvoæ (skjnldsv) [Mon, 20 Jul 2020 10:30:35 +0000 (12:30 +0200)]
Use DOMContentLoaded and fix sharebymail loading issue

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
4 years agoMerge pull request #21916 from nextcloud/tests/remove-ui-regression
Roeland Jago Douma [Mon, 20 Jul 2020 08:56:16 +0000 (10:56 +0200)]
Merge pull request #21916 from nextcloud/tests/remove-ui-regression

Remove outdated ui-regression tests

4 years agoRemove outdated ui-regression tests 21916/head
Julius Härtl [Mon, 20 Jul 2020 07:27:46 +0000 (09:27 +0200)]
Remove outdated ui-regression tests

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoMerge pull request #21880 from nextcloud/webauthn/discourage_user_auth
Morris Jobke [Mon, 20 Jul 2020 07:24:08 +0000 (09:24 +0200)]
Merge pull request #21880 from nextcloud/webauthn/discourage_user_auth

Discourage webauthn user interaction

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

4 years agoMerge pull request #21891 from nextcloud/techdebt/undeprecate-iappcontainer-iserverco...
Morris Jobke [Sun, 19 Jul 2020 20:16:59 +0000 (22:16 +0200)]
Merge pull request #21891 from nextcloud/techdebt/undeprecate-iappcontainer-iservercontainer

Undeprecate IAppContainer and IServerContainer

4 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 19 Jul 2020 02:17:06 +0000 (02:17 +0000)]
[tx-robot] updated from transifex

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

4 years agoMerge pull request #21887 from nextcloud/techdebt/deprecate-server-container-query
Christoph Wurst [Fri, 17 Jul 2020 12:55:40 +0000 (14:55 +0200)]
Merge pull request #21887 from nextcloud/techdebt/deprecate-server-container-query

Deprecate the query mothod on the server container

4 years agoMerge pull request #21889 from nextcloud/techdebt/noid/make-magic-strings-publicly...
Joas Schilling [Fri, 17 Jul 2020 11:12:06 +0000 (13:12 +0200)]
Merge pull request #21889 from nextcloud/techdebt/noid/make-magic-strings-publicly-available

Make magic strings of ClientFlowLogin and v2 publicly available

4 years agoUndeprecate IAppContainer and IServerContainer 21891/head
Christoph Wurst [Fri, 17 Jul 2020 08:17:18 +0000 (10:17 +0200)]
Undeprecate IAppContainer and IServerContainer

With 4152216bd8cf9d49e6749d26bb8b491dd49b089b these two interfaces got
deprecated with the reasoning that we only need the base PSR interface.
However, there are cases where in Nextcloud you still want to have a
specific container (the one for the app vs the one for the server) when
you either have a container injected or query one from a container.

With a single interface that would not be possible. So it's probably
better if we leave the two interfaces, but only have them extend the PSR
interface. IContainer – with the custom methods – shall still be phased
out, but the two other sub interfaces can stay for tagging purposes.
Tagging means that no methods shall be added.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMake magic strings of ClientFlowLogin and v2 publicly available 21889/head
Joas Schilling [Fri, 17 Jul 2020 07:05:16 +0000 (09:05 +0200)]
Make magic strings of ClientFlowLogin and v2 publicly available

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoMerge pull request #21859 from nextcloud/techdebt/dav-psr-container
Roeland Jago Douma [Fri, 17 Jul 2020 06:21:48 +0000 (08:21 +0200)]
Merge pull request #21859 from nextcloud/techdebt/dav-psr-container

Migrate DAV to the PSR container

4 years agoDeprecate the query mothod on the server container 21887/head
Christoph Wurst [Fri, 17 Jul 2020 06:05:07 +0000 (08:05 +0200)]
Deprecate the query mothod on the server container

The interface method has already been deprecated, but if some code uses
the concrete type instead, the deprecation is not shown (by phpstorm),
so I think it's better to have this method tagged as well.

The "fix" for this deprecation is to simply use `get` instead of
`query`. Right now this will work 100% the same, but the goal is to slim
down the interface and only use what PSR-11 offers.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 17 Jul 2020 02:17:12 +0000 (02:17 +0000)]
[tx-robot] updated from transifex

4 years agoMerge pull request #21869 from nextcloud/techdebt/noid/add-constants-for-magic-strings
Joas Schilling [Thu, 16 Jul 2020 20:00:57 +0000 (22:00 +0200)]
Merge pull request #21869 from nextcloud/techdebt/noid/add-constants-for-magic-strings

Add constants for the magic strings of template rendering

4 years agoDiscourage webauthn user interaction 21880/head
Roeland Jago Douma [Thu, 16 Jul 2020 19:10:07 +0000 (21:10 +0200)]
Discourage webauthn user interaction

Else people might have the feeling this is also doing 2FA. And since it
is only prefered it can be ignored and hacked around.

Once we have proper 2FA with webauthn in one go this probably needs to
be revisted.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoMerge pull request #21873 from nextcloud/techdebt/deprecate-server-container-getters
Roeland Jago Douma [Thu, 16 Jul 2020 18:27:36 +0000 (20:27 +0200)]
Merge pull request #21873 from nextcloud/techdebt/deprecate-server-container-getters

Deprecate the server container getters

4 years agoMerge pull request #21874 from nextcloud/feature/scoped-psr-logger
Roeland Jago Douma [Thu, 16 Jul 2020 18:25:40 +0000 (20:25 +0200)]
Merge pull request #21874 from nextcloud/feature/scoped-psr-logger

Add a scoped PSR logger for apps

4 years agoMerge pull request #21855 from p5n/master
Roeland Jago Douma [Thu, 16 Jul 2020 17:58:49 +0000 (19:58 +0200)]
Merge pull request #21855 from p5n/master

fix typo in revokeShare()

4 years agoMigrate contacts interaction to the PSR-3 logger 21875/head
Christoph Wurst [Thu, 16 Jul 2020 17:36:59 +0000 (19:36 +0200)]
Migrate contacts interaction to the PSR-3 logger

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoDeprecate ILogger
Christoph Wurst [Thu, 16 Jul 2020 17:19:23 +0000 (19:19 +0200)]
Deprecate ILogger

The logger service was always intended to follow the PSR-3 interface.
It's time to embrace this and switch over to the "official" API,
hence this custom interface can be slowly phased out.

With Nextcloud 20 the logger also got support for
* App id filled out automatically
* Exceptions handling (as replacement for logException)

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoAdd a scoped PSR logger for apps 21874/head
Christoph Wurst [Thu, 16 Jul 2020 17:11:47 +0000 (19:11 +0200)]
Add a scoped PSR logger for apps

Just like for ILogger we should have a version that has the app ID
pre-set for the context (unless overwritten) so that each log entry can
be traced back to the app that produced it.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoDeprecate the server container getters 21873/head
Christoph Wurst [Thu, 16 Jul 2020 16:59:56 +0000 (18:59 +0200)]
Deprecate the server container getters

Service locators are an anti pattern. These getters just make it more
appealing to do the wrong thing. If you want to locate a service the bad
way, just use the `get` method on a container – it will do the same in
also one line of code.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMerge pull request #21863 from nextcloud/techdebt/files-trashbin-container-cleanup
Christoph Wurst [Thu, 16 Jul 2020 16:46:10 +0000 (18:46 +0200)]
Merge pull request #21863 from nextcloud/techdebt/files-trashbin-container-cleanup

Clean up container usage in files trashbin

4 years agoMigrate LDAP to the PSR container 21866/head
Christoph Wurst [Thu, 16 Jul 2020 08:37:45 +0000 (10:37 +0200)]
Migrate LDAP to the PSR container

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMigrate settigns to the PSR container 21865/head
Christoph Wurst [Thu, 16 Jul 2020 08:34:53 +0000 (10:34 +0200)]
Migrate settigns to the PSR container

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMigrate files versions to the PSR container 21864/head
Christoph Wurst [Thu, 16 Jul 2020 08:32:34 +0000 (10:32 +0200)]
Migrate files versions to the PSR container

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMigrate files sharing to the PSR container 21862/head
Christoph Wurst [Thu, 16 Jul 2020 08:27:44 +0000 (10:27 +0200)]
Migrate files sharing to the PSR container

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoAdd constants for the magic strings of template rendering 21869/head
Joas Schilling [Thu, 16 Jul 2020 13:47:28 +0000 (15:47 +0200)]
Add constants for the magic strings of template rendering

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoMigrate DAV to the PSR container 21859/head
Christoph Wurst [Thu, 16 Jul 2020 08:24:12 +0000 (10:24 +0200)]
Migrate DAV to the PSR container

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMerge pull request #21809 from nextcloud/techdebt/di-container-cleanup
Christoph Wurst [Thu, 16 Jul 2020 13:43:26 +0000 (15:43 +0200)]
Merge pull request #21809 from nextcloud/techdebt/di-container-cleanup

Use PSR container interface and deprecate our own abstraction

4 years agoAllow to register AlternativeLogin on RegistrationContext 21850/head
Joas Schilling [Wed, 15 Jul 2020 15:06:27 +0000 (17:06 +0200)]
Allow to register AlternativeLogin on RegistrationContext

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoUse PSR container interface and deprecate our own abstraction 21809/head
Christoph Wurst [Mon, 13 Jul 2020 09:18:14 +0000 (11:18 +0200)]
Use PSR container interface and deprecate our own abstraction

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMerge pull request #21858 from nextcloud/dependabot/npm_and_yarn/build/lodash-4.17.19
Roeland Jago Douma [Thu, 16 Jul 2020 08:43:11 +0000 (10:43 +0200)]
Merge pull request #21858 from nextcloud/dependabot/npm_and_yarn/build/lodash-4.17.19

Bump lodash from 4.17.14 to 4.17.19 in /build

4 years agoClean up container usage in files trashbin 21863/head
Christoph Wurst [Thu, 16 Jul 2020 08:29:38 +0000 (10:29 +0200)]
Clean up container usage in files trashbin

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoBump lodash from 4.17.14 to 4.17.19 in /build 21858/head
dependabot[bot] [Thu, 16 Jul 2020 07:23:29 +0000 (07:23 +0000)]
Bump lodash from 4.17.14 to 4.17.19 in /build

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.14 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.14...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
4 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 16 Jul 2020 02:19:30 +0000 (02:19 +0000)]
[tx-robot] updated from transifex

4 years agofix typo 21855/head
Sergej Pupykin [Wed, 15 Jul 2020 23:19:21 +0000 (02:19 +0300)]
fix typo

4 years agoMerge pull request #21853 from nextcloud/enh/noid/better-event-description
Morris Jobke [Wed, 15 Jul 2020 19:19:14 +0000 (21:19 +0200)]
Merge pull request #21853 from nextcloud/enh/noid/better-event-description

Better event description for BeforeTemplateRenderedEvent in files and files_sharing

4 years agoBetter event description for BeforeTemplateRenderedEvent in files and files_sharing 21853/head
Morris Jobke [Wed, 15 Jul 2020 18:15:51 +0000 (20:15 +0200)]
Better event description for BeforeTemplateRenderedEvent in files and files_sharing

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years agoMerge pull request #21815 from nextcloud/enh/noid/sharing-additional-scripts-event
Morris Jobke [Wed, 15 Jul 2020 18:02:58 +0000 (20:02 +0200)]
Merge pull request #21815 from nextcloud/enh/noid/sharing-additional-scripts-event

Add LoadAdditionalScriptsEvent for files_sharing

4 years agoMerge pull request #21822 from nextcloud/enh/events/additionalscripts
Morris Jobke [Wed, 15 Jul 2020 17:50:01 +0000 (19:50 +0200)]
Merge pull request #21822 from nextcloud/enh/events/additionalscripts

Add real events to load additionalscripts

4 years agoMerge pull request #21843 from nextcloud/debt/noid/less-verbose-translation-checker
Morris Jobke [Wed, 15 Jul 2020 17:37:51 +0000 (19:37 +0200)]
Merge pull request #21843 from nextcloud/debt/noid/less-verbose-translation-checker

Make translation-checker.php less verbose

4 years agoMerge pull request #21844 from bladewing/bladewing-harden-against-mimetype-mismatch
Morris Jobke [Wed, 15 Jul 2020 17:33:09 +0000 (19:33 +0200)]
Merge pull request #21844 from bladewing/bladewing-harden-against-mimetype-mismatch

Avoid substr() error when strpos returns false

4 years agoMerge pull request #21728 from nextcloud/bugfix/noid/s3-external-mtime-cache
Morris Jobke [Wed, 15 Jul 2020 16:26:48 +0000 (18:26 +0200)]
Merge pull request #21728 from nextcloud/bugfix/noid/s3-external-mtime-cache

Reuse cache for directory mtime/size if filesystem changes can be ignored

4 years agoMerge pull request #21837 from nextcloud/enh/noid/also-show-cs-diff
Morris Jobke [Wed, 15 Jul 2020 14:19:59 +0000 (16:19 +0200)]
Merge pull request #21837 from nextcloud/enh/noid/also-show-cs-diff

Run cs:check a second time to show diff

4 years agoMerge pull request #21848 from nextcloud/techdebt/deprecate-internal-symfony-dispatch...
Morris Jobke [Wed, 15 Jul 2020 14:18:56 +0000 (16:18 +0200)]
Merge pull request #21848 from nextcloud/techdebt/deprecate-internal-symfony-dispatcher-adapter

Deprecate the internal Symfony dispatcher adapter