aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 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>
* | Remove files_iedavclientJohn Molakvoæ (skjnldsv)2021-11-301-5/+0
| | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | Merge pull request #29966 from nextcloud/feat/remove-isIEJohn Molakvoæ2021-11-301-13/+0
|\ \
| * | Remove isIE and associated legacy scriptsJohn Molakvoæ (skjnldsv)2021-11-301-13/+0
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Remove iconv from dependencies and testsMichaIng2021-11-301-1/+0
|/ / | | | | | | | | | | which is not used anymore since: https://github.com/nextcloud/server/pull/29470 Signed-off-by: MichaIng <micha@dietpi.com>
* | Merge pull request #29632 from nextcloud/fix/26118/imagecreatetruecolor-errorVincent Petry2021-11-191-0/+4
|\ \ | | | | | | fix imagecreatetruecolor() error
| * | fix imagecreatetruecolor() errorszaimen2021-11-101-0/+4
| |/ | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* | OC_Util::isNonUTF8Locale: fix lint errorNaoto Kobayashi2021-11-161-5/+5
| | | | | | | | Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
* | OC_Util::isSetLocaleWorking: fix typoNaoto Kobayashi2021-11-161-1/+1
| | | | | | | | Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
* | OC_Util: Add fallbacks to check if current locale is UTF8Naoto Kobayashi2021-11-161-2/+17
| | | | | | | | | | | | | | | | | | Using escapeshellcmd to get current locale causes error if the function is disabled. Add fallbacks to prevent the error. Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
* | Check whether setlocale works only after setlocaleNaoto Kobayashi2021-11-141-4/+5
| | | | | | | | Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
* | Fix missing setlocale with php 8Naoto Kobayashi2021-11-141-2/+2
|/ | | | | | | | | When php version = 8, basename('§') does not bug even if LC_ALL is non-UTF-8 locale. This cause OC_Util::isSetLocaleWorking() to skip setlocale("C.UTF-8"). Fix it by using escapeshellcmd instead of basename. Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
* Fix resource usages in OC_ImageCôme Chilliet2021-10-281-17/+17
| | | | | | This makes sure using resource or GdImage (PHP>=8) behaves the same. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Revert "Fix "never catch" catches in OC_App"Joas Schilling2021-10-251-1/+0
|
* Fix "never catch" catches in OC_Appzorn-v2021-10-221-0/+1
| | | Need to check another legacy. Need to explicitly add to use or do not forget add slash `\`
* Merge pull request #29187 from ↵Julius Härtl2021-10-131-2/+2
|\ | | | | | | nextcloud/fix/noid/passwordless-app-password-generation
| * allow null password in UserLoggedInEventJulien Veyssier2021-10-131-1/+1
| | | | | | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
| * fix login_credentials->password in session when loging in with apacheJulien Veyssier2021-10-131-1/+1
| | | | | | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* | Merge pull request #29004 from nextcloud/bugfix/noid/fix-translated-app-detailsJoas Schilling2021-10-131-2/+3
|\ \ | |/ |/| Fix translated app details
| * Fix translated app detailsJoas Schilling2021-09-301-2/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | add 'supported'-label to all supported apps, also if they are not downloaded yetBjoern Schiessle2021-10-061-3/+13
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Merge pull request #27733 from ↵Julius Härtl2021-10-051-41/+4
|\ \ | | | | | | | | | PhrozenByte/enhancement/noid/IURLGenerator-linkToDefaultPageUrl
| * \ Merge branch 'master' into enhancement/noid/IURLGenerator-linkToDefaultPageUrlDaniel Rudolf2021-08-043-7/+23
| |\ \