Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-12Fix a few psalm issues and moved back to psalm/phar 4.18Carl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-16Add PHP 8.1 LDAP classes to ignored missing classes in psalm for docblocksCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-10-28Fix resource usages in OC_ImageCôme Chilliet
This makes sure using resource or GdImage (PHP>=8) behaves the same. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-10-04Allow "TwoFactor Nextcloud Notifications" to pull the state of the 2FA againJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-14Do not cache file ids in FileSystemTags inside group foldersRichard Steinmetz
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2020-12-28Add whitelist for apps inside of the server repoJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09Suppress psalm warnings about app classesJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-21Add Psalm Taint Flow AnalysisLukas Reschke
This adds the Psalm Security Analysis, as described at https://psalm.dev/docs/security_analysis/ It also adds a plugin for adding input into AppFramework. The results can be viewed in the GitHub Security tab at https://github.com/nextcloud/server/security/code-scanning **Q&A:** Q: Why do you not use the shipped Psalm version? A: I do a lot of changes to the Psalm Taint behaviour. Using released versions is not gonna get us the results we want. Q: How do I improve false positives? A: https://psalm.dev/docs/security_analysis/avoiding_false_positives/ Q: How do I add custom sources? A: https://psalm.dev/docs/security_analysis/custom_taint_sources/ Q: We should run this on apps! A: Yes. Q: What will change in Psalm? A: Quite some of the PHP core functions are not yet marked to propagate the taint. This leads to results where the taint flow is lost. That's something that I am currently working on. Q: Why is the plugin MIT licensed? A: Because its the first of its kind (based on GitHub Code Search) and I want other people to copy it if they want to. Security is for all :) Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2020-10-23LDAP simplify User_Proxy and Group_Proxy signaturesArthur Schiwon
- make User_Proxy and Group_Proxy easy to instantiate - simplify dependent code - move commands to info.xml - make UpdateGroups job class non-static Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-18Add stubs for gd, intl, IntlChar, ldap, redis_cluster and xslMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-18Add psalm baselineMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-18Suppress warning for template functions.Daniel Kesselberg
https://github.com/nextcloud/server/blob/6e8e34fef920a073118c22111f0f31eb3b3a91dc/lib/private/legacy/template/functions.php Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18Fix variable name for referenced variable.Daniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18Supress UndefinedGlobalVariable for register_command.phpDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18Remove directory/file element.Daniel Kesselberg
It will suppress any error of that kind in the file. That was not intended. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18Suppress warning for $_ and $lDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18Fix: UndefinedFunction Function x does not exist in templatesDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18Add template functionsDaniel Kesselberg
for some reason they are not loaded by default. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18Add stubs for phpseclibDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18Hello psalmDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>