Commit Graph

54337 Commits

Author SHA1 Message Date
Joas Schilling
0dfcc132ca Allow to register AlternativeLogin on RegistrationContext
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-16 14:20:24 +02:00
Christoph Wurst
4152216bd8 Use PSR container interface and deprecate our own abstraction
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-16 13:35:45 +02:00
Roeland Jago Douma
b12d3691c3 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
2020-07-16 10:43:11 +02:00
Christoph Wurst
9e7426a101 Clean up container usage in files trashbin
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-16 10:29:38 +02:00
dependabot[bot]
94ae095051 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>
2020-07-16 07:23:29 +00:00
Nextcloud bot
89fe5415f8 [tx-robot] updated from transifex 2020-07-16 02:19:30 +00:00
Sergej Pupykin
1655ba9aeb fix typo 2020-07-16 02:19:21 +03:00
Morris Jobke
8368d56f8e Merge pull request #21853 from nextcloud/enh/noid/better-event-description
Better event description for BeforeTemplateRenderedEvent in files and files_sharing
2020-07-15 21:19:14 +02:00
Morris Jobke
c4b53538af Better event description for BeforeTemplateRenderedEvent in files and files_sharing
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-15 20:15:51 +02:00
Morris Jobke
16d0ef9576 Merge pull request #21815 from nextcloud/enh/noid/sharing-additional-scripts-event
Add LoadAdditionalScriptsEvent for files_sharing
2020-07-15 20:02:58 +02:00
Morris Jobke
fc41810d2f Merge pull request #21822 from nextcloud/enh/events/additionalscripts
Add real events to load additionalscripts
2020-07-15 19:50:01 +02:00
Morris Jobke
aed5eb55af Merge pull request #21843 from nextcloud/debt/noid/less-verbose-translation-checker
Make translation-checker.php less verbose
2020-07-15 19:37:51 +02:00
Morris Jobke
cc258ad51a Merge pull request #21844 from bladewing/bladewing-harden-against-mimetype-mismatch
Avoid substr() error when strpos returns false
2020-07-15 19:33:09 +02:00
Morris Jobke
638e9438a9 Merge pull request #21728 from nextcloud/bugfix/noid/s3-external-mtime-cache
Reuse cache for directory mtime/size if filesystem changes can be ignored
2020-07-15 18:26:48 +02:00
Morris Jobke
e27f8aa3e5 Merge pull request #21837 from nextcloud/enh/noid/also-show-cs-diff
Run cs:check a second time to show diff
2020-07-15 16:19:59 +02:00
Morris Jobke
f30ecbfadd Merge pull request #21848 from nextcloud/techdebt/deprecate-internal-symfony-dispatcher-adapter
Deprecate the internal Symfony dispatcher adapter
2020-07-15 16:18:56 +02:00
Morris Jobke
19afeda366 Merge pull request #21849 from nextcloud/fix/noid/integration-tests
Fix integration test due to new dashboard app
2020-07-15 16:18:05 +02:00
Daniel Kesselberg
08cb4b8172 Run cs:check a second time to show diff
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-15 15:35:58 +02:00
Morris Jobke
8dd48f3dc8 Fix integration test due to new dashboard app
See #21346

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-15 14:07:59 +02:00
Roeland Jago Douma
7d7ba61625 Add real events to load additionalscripts
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-15 14:07:18 +02:00
Christoph Wurst
b9a911f0b3 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>
2020-07-15 13:57:35 +02:00
Julius Härtl
217a69ebf9 Add BeforeTemplateRenderedEvent for files_sharing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 13:55:26 +02:00
Roeland Jago Douma
da4f3559c5 Merge pull request #21720 from nextcloud/search-min-length-feedback
provide feedback about minimum length needed to trigger search
2020-07-15 12:31:03 +02:00
Daniel Kesselberg
5ffe9fc7db Make translation-checker.php less verbose.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-15 11:29:12 +02:00
Robin Appelman
128910ebf1 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>
2020-07-15 11:19:51 +02:00
Roeland Jago Douma
f04f9321df Merge pull request #21346 from nextcloud/enh/20930/dashboard
Dashboard API
2020-07-15 11:10:15 +02:00
Julius Härtl
6b2bb32f23 Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 10:54:34 +02:00
Roeland Jago Douma
24ec4a83ba 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
2020-07-15 10:34:44 +02:00
lui87kw
3fe3d1fca3 Extra white space to follow other ifs
Signed-off-by: lui87kw <lukas.ifflaender@uni-wuerzburg.de>
2020-07-15 10:18:47 +02:00
bladewing
7dafd5831f 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>
2020-07-15 10:18:47 +02:00
Julius Härtl
0c35218e61 Include name in translatable greeting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:12 +02:00
Julius Härtl
35bdb998ef Dashboard strict typing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:12 +02:00
Julius Härtl
e6fb1b9878 Load more than one panel
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:12 +02:00
Julius Härtl
31a1494529 Add load method for apps to bootstrap their panels
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:11 +02:00
Jan-Christoph Borchardt
879b756995 Update Dashboard app icon
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-07-15 09:28:11 +02:00
Julius Härtl
b71de68f43 Cleanup public api methods
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:11 +02:00
Julius Härtl
66ce9ede91 Initialize panels early to make sure that scripts can be loaded
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:11 +02:00
Julius Härtl
f7c04b0415 Deprecate panel register event right away but keep it for not breaking backward compatible apps
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:11 +02:00
Julius Härtl
81e5593133 Move to lazy panel registration during registration context
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:27:57 +02:00
Julius Härtl
86a7d1641a Update autoloader
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:24:52 +02:00
Julius Härtl
a0cd760481 Separate icon from translatable text
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:24:51 +02:00
Jan-Christoph Borchardt
829bf1ad11 Fix Dashboard layout, positioning and responsiveness
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-07-15 09:24:51 +02:00
Jan-Christoph Borchardt
4b9d47fa53 Modify dashboard welcome sentences
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-07-15 09:24:51 +02:00
Julius Härtl
5a1874910b Add dashboard app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:24:51 +02:00
Julius Härtl
544fcdb549 Deprecate old dashboard API
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:24:51 +02:00
Julius Härtl
673d70dfc5 Add new dashboard public API
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:24:50 +02:00
dependabot-preview[bot]
17119b97e2 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>
2020-07-15 07:13:52 +00:00
Roeland Jago Douma
b327b4fbe6 Merge pull request #21829 from nextcloud/bugfix/noid/fix-login-form-erors
Fix login form erors
2020-07-15 08:48:25 +02:00
Joas Schilling
d5b85e5076 Rebuild
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-15 06:23:14 +00:00
Morris Jobke
91df865dc9 Merge pull request #21839 from nextcloud/debt/noid/move-since-check-to-checkers
Move since check to checkers
2020-07-15 07:32:34 +02:00