summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |\ \
| * | | Fix UtilTest::testDefaultApps()Daniel Rudolf2021-07-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Oh wow... This definitly was no best practice... :unamused: Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
| * | | Remove \OC::$server->getURLGenerator() usageDaniel Rudolf2021-07-011-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
| * | | Remove unused importsDaniel Rudolf2021-06-301-1/+0
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
| * | | Add IUrlGenerator::linkToDefaultPageUrl()Daniel Rudolf2021-06-301-39/+1
| | | | | | | | | | | | | | | | | | | | | | | | Replaces the deprecated \OC_Util::getDefaultPageUrl() and makes this API public. Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
* | | | Merge pull request #28939 from nextcloud/bugfix/noid/dont-setup-disabled-usersLukas Reschke2021-10-041-0/+6
|\ \ \ \ | | | | | | | | | | Don't further setup disabled users when logging in with apache
| * | | | Don't further setup disabled users when logging in with apacheJoas Schilling2021-09-231-0/+6
| | |_|/ | |/| | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / | | Add admin privilege delegation for admin settingsCarl Schwan2021-09-291-4/+5
|/ / / | | | | | | | | | | | | | | | | | | This makes it possible for selected groups to access some settings pages. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #28473 from nextcloud/fix-file-get-contentsChristoph Wurst2021-08-251-1/+1
|\ \ \ | | | | | | | | Fix path of `file_get_contents`
| * | | Avoid usage of Nextcloud API, use PHP functionacsfer2021-08-181-1/+1
| | | |
| * | | Fix path of `file_get_contents`acsfer2021-08-171-1/+1
| | |/ | |/| | | | | | | | | | Try to fix #28370 and #27441 Avoid pre-pends the `$path` to the user's own storage.
* | | Remove unused methodDaniel Kesselberg2021-08-181-10/+0
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Fix #20913: Check image resource before attempting to preserve alphaSimon Spannagel2021-08-181-6/+14
|/ / | | | | | | Signed-off-by: Simon Spannagel <simonspa@kth.se>
* | Merge pull request #26481 from ghost/fdroidJulius Härtl2021-07-131-0/+14
|\ \
| * | Add F-DroidHouraisanNEET2021-07-041-0/+14
| | | | | | | | | | | | Signed-off-by: HouraisanNEET <HouraisanNEET@users.noreply.github.com>
* | | Migrate HintException to OCPGary Kim2021-06-302-7/+9
| |/ |/| | | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* | Use proper methods for display name retrievalMorris Jobke2021-06-171-26/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix default product name for old themesMorris Jobke2021-06-161-0/+9
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0415-40/+5
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Merge pull request #27088 from nextcloud/fix/27074/removing-appsJohn Molakvoæ2021-06-021-4/+0
|\ \ | | | | | | Allow removing apps with app store disabled
| * | Allow removing apps with app store disabledGary Kim2021-05-241-4/+0
| | | | | | | | | | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* | | l10n: Spelling unificationValdnet2021-06-021-1/+1
| | | | | | | | | | | | | | | | | | Spelling unification in Transifex. Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* | | emit UserLoggedInEvent on apache authArthur Schiwon2021-06-011-0/+12
| | | | | | | | | | | | | | | | | | - post_login OC_Hook is barely used or listened to Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Merge pull request #27043 from nextcloud/storage-info-include-externalMorris Jobke2021-05-251-6/+15
|\ \ \ | |/ / |/| | fix return value of getStorageInfo when 'quota_include_external_storage' is enabled
| * | fix return value of getStorageInfo when 'quota_include_external_storage' is ↵Robin Appelman2021-05-201-6/+15
| | | | | | | | | | | | | | | | | | enabled Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #26727 from nextcloud/group-exclude-link-shareMorris Jobke2021-05-211-29/+11
|\ \ \ | | | | | | | | Add option to exclude groups from creating link shares
| * | | load share settings from the share manager in more placesRobin Appelman2021-05-121-29/+11
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* / / l10n: Unify spellingValdnet2021-05-201-2/+2
|/ / | | | | Spelling unification in Nextcloud applications.
* | Don't break OCC if an app is breaking in it's Application classJoas Schilling2021-05-051-1/+8
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix unit testsJoas Schilling2021-04-271-3/+3
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Cleanup unneeded code around database.xmlMorris Jobke2021-03-241-50/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Bye bye database.xmlJoas Schilling2021-03-241-6/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* log full expection during repair stepRobin Appelman2021-03-181-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove deprecated \OCP\APIRoeland Jago Douma2021-03-031-5/+5
| | | | | | | | Time to remove this forgood now. Remaining constant moved over The world is a tiny bit better Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-181-1/+1
| | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>