Commit Graph

54452 Commits (0fad921840eb801492522af6ef795231163cff20)
 

Author SHA1 Message Date
Roeland Jago Douma dfcb49b9b7
Merge pull request #21873 from nextcloud/techdebt/deprecate-server-container-getters
Deprecate the server container getters
4 years ago
Roeland Jago Douma 3085cf7341
Merge pull request #21874 from nextcloud/feature/scoped-psr-logger
Add a scoped PSR logger for apps
4 years ago
Roeland Jago Douma 514dc45468
Merge pull request #21855 from p5n/master
fix typo in revokeShare()
4 years ago
Christoph Wurst b3b856c9db
Migrate contacts interaction to the PSR-3 logger
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Christoph Wurst 8a433a7226
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 ago
Christoph Wurst c889021334
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 ago
Christoph Wurst efd2835b23
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 ago
Christoph Wurst 684a7200ac
Merge pull request #21863 from nextcloud/techdebt/files-trashbin-container-cleanup
Clean up container usage in files trashbin
4 years ago
Christoph Wurst 35e966c38d
Migrate LDAP to the PSR container
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Christoph Wurst 090a54adab
Migrate settigns to the PSR container
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Christoph Wurst 3b0478773a
Migrate files versions to the PSR container
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Christoph Wurst b641f25606
Migrate files sharing to the PSR container
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Joas Schilling 49970639fa
Add constants for the magic strings of template rendering
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Christoph Wurst 5005510d82
Migrate DAV to the PSR container
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Christoph Wurst 33aeef2d10
Merge pull request #21809 from nextcloud/techdebt/di-container-cleanup
Use PSR container interface and deprecate our own abstraction
4 years ago
Joas Schilling 0dfcc132ca
Allow to register AlternativeLogin on RegistrationContext
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Christoph Wurst 4152216bd8
Use PSR container interface and deprecate our own abstraction
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
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
4 years ago
Christoph Wurst 9e7426a101
Clean up container usage in files trashbin
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
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>
4 years ago
Nextcloud bot 89fe5415f8
[tx-robot] updated from transifex 4 years ago
Sergej Pupykin 1655ba9aeb fix typo 4 years ago
Morris Jobke 8368d56f8e
Merge pull request #21853 from nextcloud/enh/noid/better-event-description
Better event description for BeforeTemplateRenderedEvent in files and files_sharing
4 years ago
Morris Jobke c4b53538af
Better event description for BeforeTemplateRenderedEvent in files and files_sharing
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years ago
Morris Jobke 16d0ef9576
Merge pull request #21815 from nextcloud/enh/noid/sharing-additional-scripts-event
Add LoadAdditionalScriptsEvent for files_sharing
4 years ago
Morris Jobke fc41810d2f
Merge pull request #21822 from nextcloud/enh/events/additionalscripts
Add real events to load additionalscripts
4 years ago
Morris Jobke aed5eb55af
Merge pull request #21843 from nextcloud/debt/noid/less-verbose-translation-checker
Make translation-checker.php less verbose
4 years ago
Morris Jobke cc258ad51a
Merge pull request #21844 from bladewing/bladewing-harden-against-mimetype-mismatch
Avoid substr() error when strpos returns false
4 years ago
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
4 years ago
Morris Jobke e27f8aa3e5
Merge pull request #21837 from nextcloud/enh/noid/also-show-cs-diff
Run cs:check a second time to show diff
4 years ago
Morris Jobke f30ecbfadd
Merge pull request #21848 from nextcloud/techdebt/deprecate-internal-symfony-dispatcher-adapter
Deprecate the internal Symfony dispatcher adapter
4 years ago
Morris Jobke 19afeda366
Merge pull request #21849 from nextcloud/fix/noid/integration-tests
Fix integration test due to new dashboard app
4 years ago
Daniel Kesselberg 08cb4b8172
Run cs:check a second time to show diff
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
4 years ago
Morris Jobke 8dd48f3dc8
Fix integration test due to new dashboard app
See #21346

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years ago
Roeland Jago Douma 7d7ba61625
Add real events to load additionalscripts
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years ago
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>
4 years ago
Julius Härtl 217a69ebf9
Add BeforeTemplateRenderedEvent for files_sharing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years ago
Roeland Jago Douma da4f3559c5
Merge pull request #21720 from nextcloud/search-min-length-feedback
provide feedback about minimum length needed to trigger search
4 years ago
Daniel Kesselberg 5ffe9fc7db
Make translation-checker.php less verbose.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
4 years ago
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>
4 years ago
Roeland Jago Douma f04f9321df
Merge pull request #21346 from nextcloud/enh/20930/dashboard
Dashboard API
4 years ago
Julius Härtl 6b2bb32f23
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years ago
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
4 years ago
lui87kw 3fe3d1fca3 Extra white space to follow other ifs
Signed-off-by: lui87kw <lukas.ifflaender@uni-wuerzburg.de>
4 years ago
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>
4 years ago
Julius Härtl 0c35218e61
Include name in translatable greeting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years ago
Julius Härtl 35bdb998ef
Dashboard strict typing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years ago
Julius Härtl e6fb1b9878
Load more than one panel
Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years ago
Julius Härtl 31a1494529
Add load method for apps to bootstrap their panels
Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years ago
Jan-Christoph Borchardt 879b756995
Update Dashboard app icon
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
4 years ago