]>
source.dussan.org Git - nextcloud-server.git/log
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
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>
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
Nextcloud bot [Mon, 20 Jul 2020 02:16:48 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
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
Nextcloud bot [Sun, 19 Jul 2020 02:17:06 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 18 Jul 2020 02:16:57 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
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
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
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>
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>
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
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>
Nextcloud bot [Fri, 17 Jul 2020 02:17:12 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
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
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>
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
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
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()
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>
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>
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
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>
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>
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
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>
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
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>
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>
Nextcloud bot [Thu, 16 Jul 2020 02:19:30 +0000 (02:19 +0000)]
[tx-robot] updated from transifex
Sergej Pupykin [Wed, 15 Jul 2020 23:19:21 +0000 (02:19 +0300)]
fix typo
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
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>
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
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
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
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
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
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
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
Morris Jobke [Wed, 15 Jul 2020 14:18:05 +0000 (16:18 +0200)]
Merge pull request #21849 from nextcloud/fix/noid/integration-tests
Fix integration test due to new dashboard app
Daniel Kesselberg [Tue, 14 Jul 2020 16:29:40 +0000 (18:29 +0200)]
Run cs:check a second time to show diff
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Morris Jobke [Wed, 15 Jul 2020 12:07:48 +0000 (14:07 +0200)]
Fix integration test due to new dashboard app
See #21346
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Roeland Jago Douma [Mon, 13 Jul 2020 20:29:14 +0000 (22:29 +0200)]
Add real events to load additionalscripts
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Christoph Wurst [Wed, 15 Jul 2020 11:57:35 +0000 (13:57 +0200)]
Deprecate the internal Symfony dispatcher adapter
This type is not known on the public API, yet we should make sure that
any usage of this class is noticed and migrated as soon as possible.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Julius Härtl [Mon, 13 Jul 2020 14:05:11 +0000 (16:05 +0200)]
Add BeforeTemplateRenderedEvent for files_sharing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Roeland Jago Douma [Wed, 15 Jul 2020 10:31:03 +0000 (12:31 +0200)]
Merge pull request #21720 from nextcloud/search-min-length-feedback
provide feedback about minimum length needed to trigger search
Daniel Kesselberg [Tue, 14 Jul 2020 20:05:11 +0000 (22:05 +0200)]
Make translation-checker.php less verbose.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Robin Appelman [Mon, 6 Jul 2020 16:07:53 +0000 (18:07 +0200)]
provide feedback about minimum length needed to trigger search
instead of telling users that there are no results, tell them that search hasn't been triggered yet
Signed-off-by: Robin Appelman <robin@icewind.nl>
Roeland Jago Douma [Wed, 15 Jul 2020 09:10:15 +0000 (11:10 +0200)]
Merge pull request #21346 from nextcloud/enh/20930/dashboard
Dashboard API
Julius Härtl [Fri, 10 Jul 2020 08:04:15 +0000 (10:04 +0200)]
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Roeland Jago Douma [Wed, 15 Jul 2020 08:34:44 +0000 (10:34 +0200)]
Merge pull request #21683 from nextcloud/dependabot/npm_and_yarn/babel/plugin-proposal-class-properties-7.10.4
Bump @babel/plugin-proposal-class-properties from 7.10.1 to 7.10.4
lui87kw [Tue, 14 Jul 2020 21:36:23 +0000 (23:36 +0200)]
Extra white space to follow other ifs
Signed-off-by: lui87kw <lukas.ifflaender@uni-wuerzburg.de>
bladewing [Tue, 14 Jul 2020 21:10:53 +0000 (23:10 +0200)]
Avoid substr() error when strpos returns false
"Exception: substr() expects parameter 3 to be int, bool given" can occur on Line 378 $mimePart = substr($icon, 0, strpos($icon, '-'));
This happens, when '-' is not found and strpos returns false instead of an int.
When this occurs, e.g., Activity hangs.
Signed-off-by: lui87kw <lukas.ifflaender@uni-wuerzburg.de>
Julius Härtl [Fri, 10 Jul 2020 12:16:45 +0000 (14:16 +0200)]
Include name in translatable greeting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Julius Härtl [Fri, 10 Jul 2020 12:13:29 +0000 (14:13 +0200)]
Dashboard strict typing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Julius Härtl [Fri, 10 Jul 2020 08:02:44 +0000 (10:02 +0200)]
Load more than one panel
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Julius Härtl [Fri, 26 Jun 2020 14:01:52 +0000 (16:01 +0200)]
Add load method for apps to bootstrap their panels
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Jan-Christoph Borchardt [Thu, 25 Jun 2020 08:58:39 +0000 (10:58 +0200)]
Update Dashboard app icon
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Julius Härtl [Wed, 24 Jun 2020 11:00:22 +0000 (13:00 +0200)]
Cleanup public api methods
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Julius Härtl [Tue, 23 Jun 2020 13:38:07 +0000 (15:38 +0200)]
Initialize panels early to make sure that scripts can be loaded
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Julius Härtl [Tue, 23 Jun 2020 13:24:50 +0000 (15:24 +0200)]
Deprecate panel register event right away but keep it for not breaking backward compatible apps
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Julius Härtl [Tue, 23 Jun 2020 13:23:28 +0000 (15:23 +0200)]
Move to lazy panel registration during registration context
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Julius Härtl [Mon, 15 Jun 2020 06:19:42 +0000 (08:19 +0200)]
Update autoloader
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Julius Härtl [Tue, 23 Jun 2020 15:01:55 +0000 (17:01 +0200)]
Separate icon from translatable text
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Jan-Christoph Borchardt [Thu, 11 Jun 2020 02:21:24 +0000 (04:21 +0200)]
Fix Dashboard layout, positioning and responsiveness
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Jan-Christoph Borchardt [Thu, 11 Jun 2020 02:20:57 +0000 (04:20 +0200)]
Modify dashboard welcome sentences
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Julius Härtl [Mon, 8 Jun 2020 13:39:26 +0000 (15:39 +0200)]
Add dashboard app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Julius Härtl [Wed, 27 May 2020 07:10:40 +0000 (09:10 +0200)]
Deprecate old dashboard API
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Julius Härtl [Wed, 27 May 2020 07:07:17 +0000 (09:07 +0200)]
Add new dashboard public API
Signed-off-by: Julius Härtl <jus@bitgrid.net>
dependabot-preview[bot] [Wed, 15 Jul 2020 06:58:10 +0000 (06:58 +0000)]
Bump @babel/plugin-proposal-class-properties from 7.10.1 to 7.10.4
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.10.1 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-plugin-proposal-class-properties)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Roeland Jago Douma [Wed, 15 Jul 2020 06:48:25 +0000 (08:48 +0200)]
Merge pull request #21829 from nextcloud/bugfix/noid/fix-login-form-erors
Fix login form erors
Joas Schilling [Tue, 14 Jul 2020 13:33:04 +0000 (15:33 +0200)]
Rebuild
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Morris Jobke [Wed, 15 Jul 2020 05:32:34 +0000 (07:32 +0200)]
Merge pull request #21839 from nextcloud/debt/noid/move-since-check-to-checkers
Move since check to checkers
Nextcloud bot [Wed, 15 Jul 2020 02:19:39 +0000 (02:19 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Tue, 14 Jul 2020 19:44:49 +0000 (21:44 +0200)]
Merge pull request #21838 from nextcloud/enh/dav/do_not_log_invalid_range
Do not log RequestedRangeNotSatisfiable exceptions in DAV
Daniel Kesselberg [Tue, 14 Jul 2020 19:43:19 +0000 (21:43 +0200)]
Move check for missing since tag to autotest-checkers.sh
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Roeland Jago Douma [Tue, 14 Jul 2020 18:46:33 +0000 (20:46 +0200)]
Do not log RequestedRangeNotSatisfiable exceptions in DAV
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Morris Jobke [Tue, 14 Jul 2020 18:44:05 +0000 (20:44 +0200)]
Merge pull request #21816 from nextcloud/techdebt/noid/federatedfilesharing-to-ibootstrap
Use IBootstrap for the app federatedfilesharing
Morris Jobke [Tue, 14 Jul 2020 15:07:38 +0000 (17:07 +0200)]
Merge pull request #21825 from nextcloud/fix/appframework/services
Fix AppFramework services
Morris Jobke [Tue, 14 Jul 2020 15:06:06 +0000 (17:06 +0200)]
Merge pull request #21812 from nextcloud/feature/noid/app-bootstrap-without-app.php
Do not load app.php if Application implements IBootstrap
Roeland Jago Douma [Tue, 14 Jul 2020 14:43:09 +0000 (16:43 +0200)]
Merge pull request #21833 from nextcloud/docfix/noid/irequest_getHeader
Fix PHPDoc of IRequest::getHeader
Morris Jobke [Tue, 14 Jul 2020 14:37:04 +0000 (16:37 +0200)]
Merge pull request #21828 from nextcloud/enhancement/lazy-bootstrap-registration-delegation
Delegate bootstrap registration lazily
Morris Jobke [Mon, 13 Jul 2020 14:23:59 +0000 (16:23 +0200)]
Use IBootstrap for the app federatedfilesharing
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Roeland Jago Douma [Tue, 14 Jul 2020 07:18:39 +0000 (09:18 +0200)]
Fix AppFramework services
* We can't just register an alias as the services need the appId to be
injected. if we just register an alias this blows up since the main
container doesn't have the appId.
* Moved the Authtokens over to show the PoC works
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Morris Jobke [Mon, 13 Jul 2020 12:58:52 +0000 (14:58 +0200)]
Do not load app.php if Application implements IBootstrap
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Christoph Wurst [Tue, 14 Jul 2020 08:21:39 +0000 (10:21 +0200)]
Delegate bootstrap registration lazily
* 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>
Joas Schilling [Tue, 14 Jul 2020 09:05:17 +0000 (11:05 +0200)]
Use generateUrl and imagePath instead of OC.*
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Tue, 14 Jul 2020 08:59:11 +0000 (10:59 +0200)]
Use space instead of tab inside translation
Signed-off-by: Joas Schilling <coding@schilljs.com>
Morris Jobke [Tue, 14 Jul 2020 13:29:58 +0000 (15:29 +0200)]
Merge pull request #21832 from nextcloud/bugfix/noid/source-maps-prod
Build source maps on production build again
Christoph Wurst [Tue, 14 Jul 2020 12:44:18 +0000 (14:44 +0200)]
Merge pull request #21827 from nextcloud/fix/psr3-logger-exception
Make the PSR-3 adapter exception-aware
npmbuildbot[bot] [Tue, 14 Jul 2020 12:34:10 +0000 (12:34 +0000)]
Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Georg Ehrke [Tue, 14 Jul 2020 12:20:43 +0000 (14:20 +0200)]
Fix PHPDoc of IRequest::getHeader
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Julius Härtl [Tue, 14 Jul 2020 11:52:53 +0000 (13:52 +0200)]
Build source maps on production build again
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Christoph Wurst [Tue, 14 Jul 2020 07:38:51 +0000 (09:38 +0200)]
Make the PSR-3 adapter exception-aware
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Morris Jobke [Tue, 14 Jul 2020 07:38:08 +0000 (09:38 +0200)]
Merge pull request #21824 from nextcloud/techdebt/noid/bootstrap-user_ldap
Use IBootstrap for the app user_ldap
Roeland Jago Douma [Tue, 14 Jul 2020 07:24:29 +0000 (09:24 +0200)]
Merge pull request #21357 from nextcloud/feature/21265/personal-share-notes
Add Editing for Link Share Labels
Roeland Jago Douma [Tue, 14 Jul 2020 07:23:36 +0000 (09:23 +0200)]
Merge pull request #21791 from nextcloud/bug/21790/update-guzzle
Add Guzzle's InvalidArgumentException
Morris Jobke [Tue, 14 Jul 2020 02:47:54 +0000 (04:47 +0200)]
Use IBootstrap for the app user_ldap
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Nextcloud bot [Tue, 14 Jul 2020 02:17:20 +0000 (02:17 +0000)]
[tx-robot] updated from transifex