summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
Commit message (Collapse)AuthorAgeFilesLines
* Add missing taint analysis docblock comments, and improve escaping in some ↵Carl Schwan2023-04-241-1/+3
| | | | | | | methods Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Read mtime of version.php only onceArthur Schiwon2023-04-211-3/+1
| | | | | | | - in most cases it would read again in \OC_Util::loadVersion anyway - remove some unused use statements Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Use typed version of IConfig::getSystemValue as much as possibleCôme Chilliet2023-04-053-8/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix version number in phpdoc for app loading refactorCôme Chilliet2023-03-271-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #36636 from nextcloud/fix/oc-image-getimagesizeSimon L2023-03-231-2/+2
|\ | | | | fix OC_Image: Prevent E_WARNING from getimagesize*
| * fix OC_Image: Prevent E_WARNING from getimagesize*Marcel Klehr2023-03-161-2/+2
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | Merge pull request #36057 from nextcloud/feat/esm-js-scriptsJulius Härtl2023-03-221-5/+11
|\ \
| * | feat(OC/Template): Add `type="module"` for ES6 scriptsFerdinand Thiessen2023-02-221-5/+11
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
* | | Small cleanups for AppManagerCôme Chilliet2023-03-201-1/+3
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Move loadApps to the AppManagerCôme Chilliet2023-03-201-32/+3
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Move isType to AppManagerCôme Chilliet2023-03-201-27/+2
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Move loadApp function to the AppManagerCôme Chilliet2023-03-201-129/+5
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | perf(autoloader): Drop legacy class autoloaderChristoph Wurst2023-03-161-2/+0
| |/ |/| | | | | | | | | | | | | The documentation says apps should use PSR-4 to get their classes loaded. The legacy PSR-0 is still in place and has a negative impact on performance. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Introduced app enable/disable/update typed eventsThomas Citharel2023-03-131-1/+5
| | | | | | | | | | | | OCP\App\ManagerEvent is depreciated since 22 without a replacement Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Merge pull request #36883 from nextcloud/fix/noid/gs-saml-pre-login-eventMaxence Lange2023-03-071-2/+9
|\ \ | | | | | | dispatch BeforeUserLoggedInEvent
| * | dispatch BeforeUserLoggedInEventMaxence Lange2023-03-011-2/+9
| |/ | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | fix: Use proper path for quota fetchingJulius Härtl2023-03-061-4/+4
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | fix: Recalculate storage statistics on updating the quotaJulius Härtl2023-03-061-0/+9
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Revert "fix(performance): Do not set up filesystem on every call"Joas Schilling2023-02-211-0/+184
|
* Do not set up filesystem on every callAnna Larch2023-02-171-184/+0
| | | | | | Also remove old Oc_FileChunking logis that produced GC- collectable chunks Signed-off-by: Anna Larch <anna@nextcloud.com>
* Change X-Robots-Tag header from "none" to "noindex, nofollow"MichaIng2023-02-151-1/+1
| | | | | | | | | | While "none" is indeed equivalent to "noindex, nofollow" for Google, but seems to be not supported by Bing and probably other search engines. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name#other_metadata_names https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag?hl=de#comma-separated-list https://www.bing.com/webmasters/help/which-robots-metatags-does-bing-support-5198d240 Signed-off-by: MichaIng <micha@dietpi.com>
* instrumentation for app bootingRobin Appelman2023-02-091-2/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Make sure application are only loaded onceCôme Chilliet2023-02-071-1/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Put back string in $includeMounts as it actually does somethingCôme Chilliet2023-02-071-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Type sizes as int|float throughout the code baseCôme Chilliet2023-02-071-9/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix computerFileSize when called with a string without unitCôme Chilliet2023-02-071-0/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix 32bits bigint support in Util/OC_HelperCôme Chilliet2023-02-072-15/+14
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix bigsize support on 32bits in OC_HelperCôme Chilliet2023-02-071-7/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Revert "remove 32-bit workarounds"Côme Chilliet2023-02-071-0/+13
| | | | | | This reverts commit dd8774389e21b59c07882580356d51de018fe867. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* refresh cached app folder on install/upgradeMaxence Lange2023-02-011-5/+9
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* composer run cs:fixCôme Chilliet2023-01-208-41/+34
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Attempt at reducing psalm errorsCôme Chilliet2023-01-201-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(files): Quota in navigationJohn Molakvoæ2023-01-171-1/+6
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Small fix in OC_APICôme Chilliet2023-01-021-5/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* increase preview_max_memory and make it easier to debugSimon L2022-12-221-3/+3
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* Use display name cache on getStorageInfoJulius Härtl2022-12-161-3/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Adapt test to also run isolated Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow empty mimeTypeJ0WI2022-12-041-8/+7
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Add type hintsJ0WI2022-12-041-49/+45
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Fix redundant conditionJ0WI2022-12-041-1/+1
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Remove obsolete GD function overwritesJ0WI2022-12-041-281/+1
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Don't use quota cache through user managementVincent Petry2022-11-211-4/+8
| | | | | | | When querying the free space through user management APIs, don't use the cached quota value. The latter is only there to accelerate PROPFINDs. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* getAppValue expects stringJohn Molakvoæ2022-11-171-1/+1
| | | | Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
* Default Jpeg quality to 80Git'Fellow2022-11-161-1/+1
| | | | | | See https://sirv.com/help/articles/jpeg-quality-comparison/ Almost 50% of file size (compared to 90) and no visual differences. Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* Merge pull request #34834 from nextcloud/bugfix/noid/skeleton-size-calcVincent Petry2022-11-041-1/+1
|\ | | | | Fix size calculation on copying the skeleton files
| * Use proper storage method for writing skeleton filesJulius Härtl2022-10-271-1/+1
| | | | | | | | | | | | otherwise the filecache will have a wrong size for skeleton files Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #34678 from pulsejet/patch-jpegCôme Chilliet2022-11-031-0/+4
|\ \ | | | | | | Interlace all output JPEG
| * | Interlace all output JPEGVarun Patil2022-10-251-0/+4
| | | | | | | | | | | | | | | | | | Progressive images are both smaller and faster to load. Signed-off-by: Varun Patil <radialapps@gmail.com>
* | | remove 32-bit workaroundsszaimen2022-11-021-13/+0
| |/ |/| | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* | Fix alternative logins custom css classzorn-v2022-10-201-1/+1
|/ | | | | | In NC 25 login page was changed, and alternative login css class get from `class` prop but not `style`. It is correct change in my opinion, so just add backend fix. Signed-off-by: zorn-v <zorn7@yandex.ru>
* Cleanup tags and Share componentCarl Schwan2022-09-293-321/+7
| | | | | | | | | - Port to LoggerInterface - Use IDBConnection and IQueryBuilder instead of raw SQL and OC_DB - Use IEventListener instead of hooks - Remove the now unused OC_DB and OC_DB_StatementWrapper legacy utils Signed-off-by: Carl Schwan <carl@carlschwan.eu>