summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
Commit message (Collapse)AuthorAgeFilesLines
* emit file events via Dispatcher, tooArthur Schiwon2019-09-091-1/+1
| | | | | | another step to get rid of hooks and emitters Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix report of phpstan in LimiterRoeland Jago Douma2019-08-191-8/+0
| | | | | | | | * unneeded arguments to constructor * added return types * let automatic DI do its work Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make sure SystemConfig class can be injected and syslog_tag is fetched properlyJulius Härtl2019-08-131-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add proper PostLoginEventRoeland Jago Douma2019-07-291-1/+3
| | | | | | | This can be used by othr mechanisms to listen for this event in a lazy fashion. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #15040 from ↵Morris Jobke2019-07-171-1/+2
|\ | | | | | | | | nextcloud/feature/13980/push-for-deleted-notifications Notifications overhaul
| * Fix creation of the ManagerJoas Schilling2019-07-151-1/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #16075 from nextcloud/bugfix/15823/app-restricted-groupsMorris Jobke2019-07-171-1/+2
|\ \ | |/ |/| Remove deleted groups from app restrictions fixes #15823
| * Properly inject the loggerMorris Jobke2019-07-161-1/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #15730 from nextcloud/enh/14179/event_for_cspRoeland Jago Douma2019-07-091-4/+2
|\ \ | | | | | | Add an event to edit the CSP
| * | Add an event to edit the CSPRoeland Jago Douma2019-07-081-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | This introduces and event that can be listend to when we actually use the CSP. This means that apps no longer have to always inject their CSP but only do so when it is required. Yay for being lazy. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | allow injecting CsrfTokenManager by classRobin Appelman2019-07-091-2/+3
|/ / | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Mimetype list integrity check should not fail if it's changed (#15810)John Molakvoæ2019-07-071-1/+2
|\ \ | | | | | | Mimetype list integrity check should not fail if it's changed
| * | Do not fail integrity check if mimetype list is changedXheni Myrtaj2019-05-291-1/+2
| |/ | | | | | | Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
* | Allow IProviderV2 for previews as wellJohn Molakvoæ (skjnldsv)2019-07-051-7/+18
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Add event dispatcher to OCPChristoph Wurst2019-06-251-8/+4
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix l10n for SettingsManager by injecting the l10n factoryMorris Jobke2019-05-211-1/+1
| | | | | | Fixes #10832 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add interfaces to interact with subscription from support appMorris Jobke2019-05-131-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unnecessary event dispatcherJoas Schilling2019-04-091-2/+1
| | | | | | The event is already triggered in OC\User\User::triggerChange Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't get the avatar when we don't operate anywayJoas Schilling2019-04-091-0/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Cleanup some PHPDoc leftovers and unused variablesMorris Jobke2019-03-061-6/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add dispatcher events to User and Group objectsJoas Schilling2019-03-011-3/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add guest navigation typeJulius Härtl2019-02-181-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Implement guest avatar endpointMichael Weimann2019-02-071-0/+1
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Provide initial stateRoeland Jago Douma2019-01-291-0/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Expose subadmin to OCPRoeland Jago Douma2019-01-291-0/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add isTokenLogin argument to post login hook/eventChristoph Wurst2019-01-231-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the real logger in the settingsRoeland Jago Douma2019-01-071-2/+3
| | | | | | | | Fixes #13285 The wrapper logger should not be used here. But we need the real logger. Since this in internal we can just pass that on directly. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Clear avatar cache with frontend repairJohn Molakvoæ (skjnldsv)2018-11-081-2/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* The identityproof manager should be in ServerRoeland Jago Douma2018-11-021-0/+8
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* The Encryption manager belongs in Server.phpRoeland Jago Douma2018-11-021-1/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* SearchResult should be difined in Server as it is a core componentRoeland Jago Douma2018-11-021-0/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* The UserSession is constructed in the serverRoeland Jago Douma2018-11-021-2/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* fix pathMaxence Lange2018-11-011-1/+1
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* public interfaces FullTextSearchMaxence Lange2018-10-301-0/+3
| | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> -@return mixed Signed-off-by: Maxence Lange <maxence@artificial-owl.com> Merge remote-tracking branch 'origin/interfaces-fulltextsearch-2' into interfaces-fulltextsearch-2 Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Reset bruteforce on token refresh OAuthRoeland Jago Douma2018-10-301-1/+2
| | | | | | | | | | When using atoken obtained via OAuth the token expires. Resulting in brute force attempts hitting the requesting IP. This resets the brute force attempts for that UID on a valid refresh of the token. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Register IAccountManager as a serviceJulius Härtl2018-10-241-0/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* expose storagefactory in server containerRobin Appelman2018-10-171-0/+13
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* include dashboard into coreMaxence Lange2018-10-151-0/+4
| | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> Merge remote-tracking branch 'origin/interface-dashboard' into interface-dashboard Signed-off-by: Maxence Lange <maxence@artificial-owl.com> moving data object to OCP Signed-off-by: Maxence Lange <maxence@artificial-owl.com> update autoload files Signed-off-by: Maxence Lange <maxence@artificial-owl.com> +@since Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Remove unused constructor argumentChristoph Wurst2018-09-271-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Reduce settings manager complexity by loading sections via DIChristoph Wurst2018-09-271-9/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* cache isCached state for scss resourcesRobin Appelman2018-07-241-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-07-191-1/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* start to get fed group shares into the share dialogBjoern Schiessle2018-07-111-0/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* send accept share notification (WIP)Bjoern Schiessle2018-07-021-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* use new API to send a federated share if possibleBjoern Schiessle2018-07-021-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* check if cloud federation api is readyBjoern Schiessle2018-07-021-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* start implementing federated sharing 2.0Bjoern Schiessle2018-07-021-0/+38
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Merge pull request #9773 from nextcloud/feature/noid/resource_bookingMorris Jobke2018-06-291-0/+20
|\ | | | | resource booking
| * hook up calendar resource managers/backends with server containerGeorg Ehrke2018-06-251-0/+20
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Make 2FA providers statefulChristoph Wurst2018-06-201-12/+1
|/ | | | | | | | | | | This adds persistence to the Nextcloud server 2FA logic so that the server knows which 2FA providers are enabled for a specific user at any time, even when the provider is not available. The `IStatefulProvider` interface was added as tagging interface for providers that are compatible with this new API. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>