summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #36621 from ↵Joas Schilling2023-02-101-1/+30
|\ | | | | | | | | nextcloud/perf/noid/only-check-for-token-when-it-can-actually-be fix(performance): Only search for auth tokens when the provided login…
| * fix(authentication): Check minimum length when creating app tokensJoas Schilling2023-02-091-2/+10
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * fix(performance): Only search for auth tokens when the provided login is ↵Joas Schilling2023-02-081-1/+22
| | | | | | | | | | | | long enough Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #36637 from nextcloud/fix/noid/file-ref-provider-safer-matchJoas Schilling2023-02-091-4/+4
|\ \
| * | safer URL match in FileReferenceProviderJulien Veyssier2023-02-091-4/+4
| | | | | | | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | fix(authtoken): Store only one hash for authtokens with the current password ↵Julius Härtl2023-02-092-1/+50
|/ / | | | | | | | | | | per user Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #36590 from nextcloud/enh/load-app-onceCôme Chilliet2023-02-091-1/+4
|\ \ | | | | | | Make sure application are only loaded once
| * | Make sure application are only loaded onceCôme Chilliet2023-02-071-1/+4
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-02-094-0/+8
| |/ |/| | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #36566 from nextcloud/mount-find-by-numeric-idJulius Härtl2023-02-083-14/+23
|\ \
| * | fix testsRobin Appelman2023-02-072-5/+13
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | cache numeric id in mountpointRobin Appelman2023-02-061-1/+5
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | deduplicate getStorage() logic in Mount\ManagerRobin Appelman2023-02-061-9/+1
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | dont delegate Mount\Manager::getByNumericId to getByStorageIdRobin Appelman2023-02-061-2/+7
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #36546 from nextcloud/enh/36543/allow-further-previewsAnna2023-02-081-18/+45
|\ \ \ | | | | | | | | imaginary - fix generation of heif, pdf, illustrator and svg thumbnails
| * | | imaginary - allow to generate heif, pdf and svg thumbnailsSimon L2023-02-081-18/+45
| |/ / | | | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-02-08130-344/+254
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #36417 from nextcloud/fix/psr-containerJoas Schilling2023-02-076-3/+49
|\ \ \ | | | | | | | | Make the container fully fulfill PSR container interface
| * | | Update autoloadersFerdinand Thiessen2023-02-072-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
| * | | fix: Throw `NotFoundExceptionInterface` to fulfill PSR container interface ↵Ferdinand Thiessen2023-02-064-3/+47
| |/ / | | | | | | | | | | | | | | | if class not found Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
* | / Revert "disable upgrades to 26 for 32-bit"Côme Chilliet2023-02-071-3/+0
| |/ |/| | | | | | | | | This reverts commit faa747e44575269d9f4eb09d0a2c6aa3fe0501f8. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Respect OCP interface in private classesCôme Chilliet2023-02-079-9/+9
| | | | | | | | | | | | | | Because the parameter type was moved to phpdoc it needs to be removed from implementations Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Move back typing to phpdoc to keep backward compatibility in OCPCôme Chilliet2023-02-072-2/+8
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Removed catch of ValueError as we cannot know if it’s >2038 or <1970Côme Chilliet2023-02-071-1/+1
| | | | | | | | | | | | Also fixed numericToString to correctly convert float to int if it fits Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix psalm errorsCôme Chilliet2023-02-072-3/+2
| | | | | | | | 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-0712-27/+24
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Allow float sizes in FileInfo for 32bitsCôme Chilliet2023-02-072-5/+4
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix setQuota on User on 32bitsCôme Chilliet2023-02-071-2/+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-073-28/+27
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Add helper to cast to int|float, fix MemoryInfo on 32bitsCôme Chilliet2023-02-072-7/+25
| | | | | | | | 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>
* | Fix psalm errors related to filesizesCôme Chilliet2023-02-075-11/+11
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Strong type filesize related methods to ease 32bits problem findingsCôme Chilliet2023-02-0716-45/+23
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Revert "remove 32-bit workarounds"Côme Chilliet2023-02-074-4/+31
| | | | | | | | | | | | This reverts commit dd8774389e21b59c07882580356d51de018fe867. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-02-072-38/+40
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* fix(appinfo): navigation type is optionalJoas Schilling2023-02-032-6/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow settings navigation items with no route entryChristopher Ng2023-02-022-3/+11
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Merge pull request #35736 from nextcloud/pluggable-share-displayblizzz2023-02-028-0/+180
|\ | | | | Allow to register public share template provider
| * Pluggable share providerLouis Chemineau2023-02-028-0/+180
| | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Make sure name and path are stringsJoas Schilling2023-02-021-0/+2
| | | | | | | | | | | | | | Otherwise Oracle returns NULL for empty strings and PHP 8.2 throws on null in string functions like trim() and md5() Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Try fixing OracleJoas Schilling2023-02-021-1/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Allow 8.2 in versioncheckCôme Chilliet2023-02-021-3/+3
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | remove depraction of validateEmailAddressArthur Schiwon2023-02-021-2/+0
| | | | | | | | | | | | | | for there are legit use cases to validate an email address without sending there to Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Migrate to Symfony MailerCôme Chilliet2023-02-024-173/+225
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-02-022-40/+44
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* refresh cached app folder on install/upgradeMaxence Lange2023-02-011-5/+9
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-02-016-36/+44
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-01-314-22/+24
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>