aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #32435 from nextcloud/revert-32278-remove-default-phpJoas Schilling2022-06-031-1/+10
|\ | | | | Revert "Remove call to already default php.ini values"
| * Revert "Remove call to already default php.ini values"Joas Schilling2022-05-161-1/+10
| |
* | Merge pull request #32349 from nextcloud/enh/projects-eventCarl Schwan2022-05-271-1/+3
|\ \ | | | | | | Add event to load additional scripts for projects
| * | Introduce event for loading additional script on projectsJulius Härtl2022-05-121-1/+3
| |/ | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #32427 from nextcloud/boot-event-orderingRobin Appelman2022-05-171-5/+5
|\ \ | | | | | | reorder startup events to fix overlapping
| * | reorder startup events to fix overlappingRobin Appelman2022-05-161-5/+5
| |/ | | | | | | | | | | | | | | current the `request` and `runtime` events overlap with the `init` event which makes it hard to create usefull visualizations. this reorders things a bit to remove an overlap Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #32216 from SUNET/masterLouis2022-05-171-6/+13
|\ \ | | | | | | Respect user settings in php.ini if they are big enough
| * | Fix suggestions by @artonageMicke Nordin2022-05-161-3/+3
| | | | | | | | | | | | Signed-off-by: Micke Nordin <kano@sunet.se>
| * | Simpler version as proposed by @artonageMikael Nordin2022-04-301-14/+5
| | | | | | | | | | | | | | | Co-authored-by: Louis <6653109+artonge@users.noreply.github.com> Signed-off-by: Micke Nordin <kano@sunet.se>
| * | Respect user settings in php.ini if they are big enoughMicke Nordin2022-04-291-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the admin guide: * https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html it is mentioned that you can tweek: * max_input_time * max_execution_time in order to enable larger file uploads. However, the current codebase will hard code these values to one hour, no matter what the user sets in php.ini. This patch will allow the user to set these settings in php.ini and they will be respected, if and only if, they are set to something bigger than 3600 seconds. Signed-off-by: Micke Nordin <kano@sunet.se>
* | | Properly import maintenance scriptJulius Härtl2022-05-161-2/+2
| |/ |/| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Remove default valuesGit'Fellow2022-05-051-10/+1
|/ | | | These values are already the default on supported PHP versions. I suggest to remove these calls.
* Add a built-in profiler inside NextcloudCarl Schwan2022-04-041-0/+1
| | | | | | The webui is provided by a seperate application named profiler Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #31235 from nextcloud/techdebt/noid/extract-request-idJoas Schilling2022-03-221-1/+5
|\ | | | | Extract request id handling to dedicated class so it can be injected without DB dependency
| * Extract request id handling to dedicated class so it can be injected manuallyJoas Schilling2022-02-231-1/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #31124 from nextcloud/enh/diagnostics-loggingJulius Härtl2022-03-021-0/+7
|\ \ | | | | | | Diagnostics event logging to log
| * | Add event logging to app loadingJulius Härtl2022-02-281-0/+7
| |/ | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* / Build OC\Core\Application when running occ or cron to register listeners ↵Côme Chilliet2022-02-281-0/+2
|/ | | | | | correctly Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Makes untrusted domain error a warning.Pierre Ozoux2022-01-251-1/+1
| | | | | | | | | | | | 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>
* Use less deprecated methods in base.phpLouis Chemineau2022-01-191-4/+4
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Load core before the update scriptJoas Schilling2022-01-181-1/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move bundles to /distJohn Molakvoæ (skjnldsv)2022-01-081-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* l10n: Separate wordsValdnet2021-12-151-3/+3
| | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* Fix basic auth for OAuth token endpointJoas Schilling2021-10-191-1/+7
| | | | | | | | 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>
* Remove usage of \OC_Util::getDefaultPageUrl() and ↵Daniel Rudolf2021-08-041-4/+2
| | | | | | \OC_Util::redirectToDefaultPage() Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
* Migrate HintException to OCPGary Kim2021-06-301-1/+1
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* accounts event handler to use eventdispatcher, DI and Accounts APIArthur Schiwon2021-06-301-2/+4
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #27190 from nextcloud/bugfix/noid/deduplicate-translationJoas Schilling2021-06-161-5/+5
|\ | | | | Deduplicate translations and fix double .
| * Deduplicate translations and fix double .Joas Schilling2021-06-041-5/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+2
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #26758 from J0WI/more-strictChristoph Wurst2021-04-281-1/+1
|\ | | | | Some more strict_types
| * Fix ini_set() typeJ0WI2021-04-261-1/+1
| | | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | Fix psalm errorsJoas Schilling2021-04-271-1/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't hardcode the product name to Nextcloud but use the theming valueJoas Schilling2021-03-221-1/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #25238 from nextcloud/enh/noid/apps-defacto-in-rootRoeland Jago Douma2021-01-211-9/+2
|\ | | | | Apps folder is defacto in root folder and not above
| * Apps folder is defacto in root folder and not aboveMorris Jobke2021-01-201-9/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Re-use fetched dependencies in lib/base.phpMorris Jobke2021-01-201-39/+37
|/ | | | | | | | 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>
* Merge pull request #25015 from nextcloud/fix/no-double-intl-polyfillRoeland Jago Douma2021-01-081-2/+1
|\ | | | | Replace patchwork/utf8 with symfony-polyfill-*
| * Replace patchwork/utf8 with symfony-polyfill-*Christoph Wurst2021-01-071-2/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Remove useless ini_set functionsCarlos Ferreira2021-01-071-5/+0
|/
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make $vars and $secureRandom required.Daniel Kesselberg2020-12-101-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Allow lazy app registrationChristoph Wurst2020-11-181-1/+1
| | | | | | | | 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>
* Remove some IRouter methodsRoeland Jago Douma2020-11-171-1/+1
| | | | | | | | | 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>
* Removed config.jsJohn Molakvoæ2020-11-091-1/+0
|
* Do not setup the default FS on normal routesRoeland Jago Douma2020-11-061-1/+0
| | | | | | | 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>
* Use auto-wiring on most outer levelJoas Schilling2020-10-201-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* PSR logger for accountsJoas Schilling2020-10-201-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix type errors detected by PsalmChristoph Wurst2020-10-141-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>