summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
Commit message (Collapse)AuthorAgeFilesLines
* l10n: Correct a typoValdnet2022-04-281-1/+1
| | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* l10n: Fix codeValdnet2022-04-271-1/+1
| | | | | Issue: #32171. Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* Merge pull request #31492 from nextcloud/fix/check-secret-configuredJohn Molakvoæ2022-04-261-0/+9
|\
| * Only check if secret is set if the nextcloud is installedCarl Schwan2022-03-091-1/+1
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * Also check for instanceid and passwordhashCarl Schwan2022-03-091-5/+7
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * Require the secret config to be configuredCarl Schwan2022-03-081-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | If it's not configured the instance will look like it is working but various features will silently break (end to end encryption, setting alternate email and probably more). One issue is that changing the secret from empty to something will break various other stuff (app token). I don't think there is a good way to solve this issue other than breaking early instead of having to handle a painful migration later on. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | use and cache root storage info if a share can't be resolvedRobin Appelman2022-04-221-2/+14
| | | | | | | | | | | | as is a broken share will never be cached Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #31751 from nextcloud/theming-providersJohn Molakvoæ2022-04-221-1/+1
|\ \
| * | Start theming providersJoas Schilling2022-04-211-1/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | cache storage info in memcache for 5mRobin Appelman2022-04-211-1/+18
|/ / | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #31876 from nextcloud/bugfix/noid/fix-getCurrentApp-from-cliVincent Petry2022-04-071-1/+11
|\ \ | | | | | | Fix \OC_App::getCurrentApp() when being called from CLI or phpunit
| * | Log exceptionJoas Schilling2022-04-071-0/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Fix \OC_App::getCurrentApp() when being called from CLI or phpunitJoas Schilling2022-04-071-1/+10
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #25747 from nextcloud/XAccelBufferingblizzz2022-04-071-0/+1
|\ \ \ | |/ / |/| | Add X-Accel-Buffering header to downloads
| * | Add X-Accel-Buffering header to downloadsUnpublished2022-01-171-0/+1
| | | | | | | | | | | | Signed-off-by: Unpublished <unpublished@gmx.net>
* | | Merge pull request #31194 from ↵Vincent Petry2022-04-061-3/+4
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/feat/allow-to-exclude-groups-from-password-enforcement Allow to disable password policy enforcement for selected groups
| * | | Allow to disable password policy enforcement for selected groupsCarl Schwan2022-04-051-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> Co-authored-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | | | dont re-query fileinfo when getting dav quotaRobin Appelman2022-03-281-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Remove legacy Internet Explorer headersMichaIng2022-03-191-1/+0
|/ / / | | | | | | | | | | | | | | | X-UA-Compatible and X-Download-Options headers are interpreted or relevant for Internet Explorer only. With the deprecation of Internet Explorer support in Nextcloud 20 and planned support removal already in Nextcloud 22, these became obsolete and are hereby removed, including their removal from setup checks. Signed-off-by: MichaIng <micha@dietpi.com>
* | | move teardown logic to SetupManagerRobin Appelman2022-03-041-4/+4
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | start moving filesystem setup logic to it's own placeRobin Appelman2022-03-041-137/+7
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #31266 from nextcloud/root-setup-mountproviderRobin Appelman2022-03-041-104/+0
|\ \ \ | |_|/ |/| | move root mount setup to mountproviders
| * | move root mount setup to mountprovidersRobin Appelman2022-02-241-104/+0
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Add event logging to app loadingJulius Härtl2022-02-281-2/+3
|/ / | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | handle setupFS with null userRobin Appelman2022-02-091-4/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | dont mark fs as setup when no user is activeRobin Appelman2022-02-091-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | pass user object during fs initRobin Appelman2022-02-091-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | only setup part of the filesystem for appdata requestsRobin Appelman2022-02-092-28/+45
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Use the unjailed-path in OC_Helper::getStorageInfo() for files located in ↵Claus-Justus Heine2022-02-031-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | SharedStorage. The current implementation already switches the storage-backend to $storage->getSourceStorage(). However, it then calls $rootInfo->getInternalPath() which returns the internal path relative to the storage where the share is mounted. This is wrong, we need also to unjail the path. Compare, e.g., with OCA\Files_Sharing\SharedStorage::file_get/put_contents() for the "logic". Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
* | Merge pull request #30855 from nextcloud/psalm/themingJohn Molakvoæ2022-01-271-2/+3
|\ \
| * | Fix psalm issues in theming appCarl Schwan2022-01-261-2/+3
| |/ | | | | | | | | | | | | | | After this change, we are down to only one psalm warning for this app and related to the Application.php. This also make composer psam:update-baseline not silently ignore new errors. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* / Add deprecation notice to script & addScript funcLouis Chemineau2022-01-272-2/+3
|/ | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge pull request #30508 from nextcloud/fix/psaml-binCarl Schwan2022-01-132-2/+2
|\ | | | | Fix psalm not running
| * Check style updateCarl Schwan2022-01-132-2/+2
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #30291 from nextcloud/image-memory-limitJoas Schilling2022-01-111-1/+102
|\ \ | | | | | | Prevent loading images that would require too much memory.
| * | Prevent loading images that would require too much memory.Joachim Bauch2022-01-111-1/+102
| |/ | | | | | | | | | | | | | | | | | | | | | | | | For most image formats, the header specifies the width/height. PHP allocates an image object from that size, even if the actual image data is much smaller. This image object size is not limited by the limit configured in PHP. The memory limit can be configured through "config.php" setting "preview_max_memory" and defaults to 128 MBytes which should be enough for most images without filling up all memory. Signed-off-by: Joachim Bauch <bauch@struktur.de>
* | Deprecate script functionLouis Chemineau2022-01-081-0/+1
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Move backgroundjob script after main core scriptsJohn Molakvoæ (skjnldsv)2022-01-081-8/+12
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Split common vendor chunkJohn Molakvoæ (skjnldsv)2022-01-082-8/+19
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Move bundles to /distJohn Molakvoæ (skjnldsv)2022-01-081-5/+5
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | l10n: Add a text string to translationValdnet2021-12-201-1/+1
| | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* | l10n: Add <code>Valdnet2021-12-151-1/+1
| | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* | l10n: Add <code>Valdnet2021-12-151-1/+1
| | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* | l10n: Separate words and add dotsValdnet2021-12-151-18/+18
|/ | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* Avoid assignment in if clauseCôme Chilliet2021-12-061-8/+12
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix typing problems in OC_ImageCôme Chilliet2021-12-061-2/+10
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Avoid calling image* methods on booleanCôme Chilliet2021-12-061-14/+27
| | | | | | | This avoids fatal errors on PHP>=8, and warnings on older versions. Log should also be clearer. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #29527 from nextcloud/rakekniven-patch-1John Molakvoæ2021-12-041-1/+1
|\
| * Added dot at end of sentence.rakekniven2021-11-021-1/+1
| | | | | | | | | | The full message in the UI is composed by a few strings. Therefore the single parts needs an dot at the end. Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* | Allow scripts prioritization based on other appsJohn Molakvoæ (skjnldsv)2021-12-021-0/+4
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>