Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-04Add a built-in profiler inside NextcloudCarl Schwan
The webui is provided by a seperate application named profiler Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-22Merge pull request #31235 from nextcloud/techdebt/noid/extract-request-idJoas Schilling
Extract request id handling to dedicated class so it can be injected without DB dependency
2022-03-02Merge pull request #31124 from nextcloud/enh/diagnostics-loggingJulius Härtl
Diagnostics event logging to log
2022-02-28Add event logging to app loadingJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-02-28Build OC\Core\Application when running occ or cron to register listeners ↵Côme Chilliet
correctly Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-23Extract request id handling to dedicated class so it can be injected manuallyJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-25Makes untrusted domain error a warning.Pierre Ozoux
It sends a 400 to the client, so I could even argue that it should be an error. But currently as an admin, I'm quiet surprised that I get a 400 in the UI, and nothing in the log with the default level. I saw this commit that explains the reason why info. But I disagree. Feel free to close the PR if you don't agree with it. Signed-off-by: Pierre Ozoux <pierre@ozoux.net>
2022-01-19Use less deprecated methods in base.phpLouis Chemineau
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-18Load core before the update scriptJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-08Move bundles to /distJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-12-15l10n: Separate wordsValdnet
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-10-19Fix basic auth for OAuth token endpointJoas Schilling
Don't try to login when a client is trying to get a OAuth token. OAuth needs to support basic auth too, so the login is not valid inside Nextcloud and the Login exception would ruin it. Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-04Remove usage of \OC_Util::getDefaultPageUrl() and ↵Daniel Rudolf
\OC_Util::redirectToDefaultPage() Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-06-30Migrate HintException to OCPGary Kim
Signed-off-by: Gary Kim <gary@garykim.dev>
2021-06-30accounts event handler to use eventdispatcher, DI and Accounts APIArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-16Merge pull request #27190 from nextcloud/bugfix/noid/deduplicate-translationJoas Schilling
Deduplicate translations and fix double .
2021-06-04Update php licensesJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04Deduplicate translations and fix double .Joas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-28Merge pull request #26758 from J0WI/more-strictChristoph Wurst
Some more strict_types
2021-04-27Fix psalm errorsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-26Fix ini_set() typeJ0WI
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-03-22Don't hardcode the product name to Nextcloud but use the theming valueJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-21Merge pull request #25238 from nextcloud/enh/noid/apps-defacto-in-rootRoeland Jago Douma
Apps folder is defacto in root folder and not above
2021-01-20Re-use fetched dependencies in lib/base.phpMorris Jobke
Reduces calls to DI container by reusing already fetched dependencies. For status.php it went from 355 to 344. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-01-20Apps folder is defacto in root folder and not aboveMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-01-08Merge pull request #25015 from nextcloud/fix/no-double-intl-polyfillRoeland Jago Douma
Replace patchwork/utf8 with symfony-polyfill-*
2021-01-07Replace patchwork/utf8 with symfony-polyfill-*Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-07Remove useless ini_set functionsCarlos Ferreira
2020-12-16Update all license headers for Nextcloud 21Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-10Make $vars and $secureRandom required.Daniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-11-18Allow lazy app registrationChristoph Wurst
During app installation we run migration steps. Those steps may use services the app registers or classes from composer. Hence we have to make sure the app runs through the registration. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-17Remove some IRouter methodsRoeland Jago Douma
This is not the end. IRouter needs to burn. But it is a start. 🎵 we didn't start the fire 🎵 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-09Removed config.jsJohn Molakvoæ
2020-11-06Do not setup the default FS on normal routesRoeland Jago Douma
This should help with load times hopefully. Only initialize the FS if we actually ned it. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-20Use auto-wiring on most outer levelJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-20PSR logger for accountsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-14Fix type errors detected by PsalmChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-05Format code to a single space around binary operatorsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-20Don't use deprecated getIniWrapper() anymoreJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-30Migrate OC_Group post_removeFromGroup hook to actual event objectMorris Jobke
Ref #14552 This adds a BeforeUserRemovedEvent to the LDAP backend because it was missing. It's not really before, but we don't have the before state. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-30Correctly remove usergroup shares on removing group membersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-07Remove hook for initSessionMorris Jobke
It's not used anyways and allowed to manipulate the state of the session. Also removed the code handling this. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-06-17Migrate Settings to new bootstrap mechanismChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-17Add dedicated API for apps' bootstrapping processChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-28Add lazy events for the Node APIRoeland Jago Douma
Right now if you want to get events via the Node API you have to have a real instance of the Root. Which in turns sets up the whole FS. We should make sure this is done lazy. Else enabling the preview generator for example makes you setup the whole FS on each and every authenticated call. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-10Add visibility to all methods and position of static keywordChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10Format control structures, classes, methods and functionChristoph Wurst
To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09Remove trailing and in between spacesChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09Remove spaces after method or function callChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-03fixes the throttler not checking the user state on postLoginArthur Schiwon
a listener to the post login events can still reject a login, so that a user is not necessarily available at the time. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>