aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Merge pull request #36420 from nextcloud/enh/34958/fix-exif-logLouis2023-01-301-2/+2
|\ | | | | fix the exif_read_data issue
| * try to fix the exif_read_data issueSimon L2023-01-281-2/+2
| | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* | Merge pull request #36433 from nextcloud/fix/32818/decrypt-missing-file-failsRobin Appelman2023-01-301-4/+1
|\ \ | | | | | | fix(encryption): don't throw on missing file
| * | fix(encryption): don't throw on missing fileRichard Steinmetz2023-01-301-4/+1
| | | | | | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | | Merge pull request #35160 from nextcloud/artonge/feat/version_naming_backendLouis2023-01-301-0/+6
|\ \ \ | |/ / |/| | Allow to name a version
| * | Adapt files_versions tests to modernized hooksLouis Chemineau2023-01-261-0/+6
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | Use the default primary color instead of "randomly" the color of the user ↵Joas Schilling2023-01-301-3/+3
| | | | | | | | | | | | | | | | | | triggering the email Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Use the default color and matching text color for the federation inviteJoas Schilling2023-01-301-0/+24
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-01-302-0/+4
| |/ |/| | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #36363 from nextcloud/feat/app-framework/usesession-attributeChristoph Wurst2023-01-274-4/+69
|\ \ | | | | | | feat(app-framework): Add UseSession attribute to replace annotation
| * | feat(app-framework): Add UseSession attribute to replace annotationChristoph Wurst2023-01-274-4/+69
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | style: Fix php-cs and psalmJulius Härtl2023-01-273-4/+5
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | chore(composer): Update autoloaderJulius Härtl2023-01-272-0/+8
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | improve getUserProviderTimestampsJulien Veyssier2023-01-271-3/+4
| | | | | | | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | use array_filter instead of array_map + array_searchJulien Veyssier2023-01-271-5/+5
| | | | | | | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | handle and return touchProvider errorsJulien Veyssier2023-01-272-3/+5
| | | | | | | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | ADiscoverableReferenceProvider implements JsonSerializableJulien Veyssier2023-01-271-1/+3
| | | | | | | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | add 'last used timestamp' management for reference providersJulien Veyssier2023-01-274-6/+79
| | | | | | | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | extend the reference API for the new link pickerJulien Veyssier2023-01-277-0/+280
|/ / | | | | | | | | | | | | | | | | - add 2 interfaces for discoverable and searchable reference providers - new OCS route to get info on discoverable/searchable reference providers - new abstract ADiscoverableReferenceProvider that only implements jsonSerialize - listen to RenderReferenceEvent to inject provider list with initial state Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-01-272-0/+14
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>