aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | fix: Go back to soft typing for template function pfix/fix-loginflow-v1Côme Chilliet2025-03-241-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | Strong typing breaks legacy code in this case. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Merge pull request #51611 from ↵Ferdinand Thiessen2025-03-241-5/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/fix/file-name-validator-case-sensitivity fix(IFilenameValidator): correctly handle case insensitivity
| * | | | fix(IFilenameValidator): correctly handle case insensitivityfix/file-name-validator-case-sensitivityFerdinand Thiessen2025-03-211-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - forbidden names and forbidden base names are case **insensitive** so we need to check all lowercase here. - add test that config value is also read case insensitive. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-242-0/+34
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | Merge pull request #51622 from nextcloud/fix/ocm-public-key-is-optionalKate2025-03-232-3/+3
|\ \ \ \ \ | | | | | | | | | | | | fix(ocm): `publicKey` can be disabled so capabilities do not match
| * | | | | fix(ocm): `publicKey` can be disabled so capabilities do not matchfix/ocm-public-key-is-optionalFerdinand Thiessen2025-03-212-3/+3
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the public key feature is disabled null is returned for `publicKey`. So in this case we need to adjust the capabilities and return type of `jsonSerialize()`. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* / | | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-232-0/+6
|/ / / / | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* / / / Fix(l10n): Update translations from TransifexNextcloud bot2025-03-212-0/+8
|/ / / | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | chore: cleanup human_file_size usageCôme Chilliet2025-03-202-5/+6
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | fix: Require functions in lib/public/Template.phpCôme Chilliet2025-03-201-7/+12
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | fix: Remove obsolete component template functionCôme Chilliet2025-03-201-18/+0
| | | | | | | | | | | | | | | | | | | | | HTML imports are not a thing anymore, they are not supported by any browser. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | fix: Clean up typing and remove deprecated calls in template functionsCôme Chilliet2025-03-201-27/+35
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | chore: Move template functions out of legacy folderCôme Chilliet2025-03-202-1/+1
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | fix: Remove multiple require_once calls for template functionsCôme Chilliet2025-03-203-4/+1
|/ / | | | | | | | | | | Only require them when include the template file instead Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-202-0/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | fix(webauthn): do not require bcmath or gmp - not needed anymoreFerdinand Thiessen2025-03-191-8/+0
| | | | | | | | | | | | | | | | The extensions are not required anymore but only recommended for performance. See also: https://github.com/web-auth/webauthn-framework/issues/213 Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(IMimeTypeDetector): use correct return typefix/IMimeTypeDetector-typesFerdinand Thiessen2025-03-182-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In PHP array keys that are integers are always kept as integer, meaning the type of the key of `$a = ["1" => "one"]` will be integer not string. While are hacks to circumvent this (case std object with string keys to an assoc. array) those hacks are performance wise awefull and also not needed as in PHP you can always access that element with `$a[1]` or `$a["1"]`. So TL;DR;: do not lie about return types. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(auth): Allow 2FA challenges for Ephemeral sessionsbugfix/ios-3365/allow-2fa-for-ephemeral-sessionsJoas Schilling2025-03-181-0/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-184-60/+118
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #51480 from nextcloud/fix/deprecation-commentFerdinand Thiessen2025-03-171-3/+0
|\ \ | | | | | | chore: drop outdated deprecation comment from Mailer
| * | chore: drop outdated deprecation comment from Mailerfix/deprecation-commentFerdinand Thiessen2025-03-141-3/+0
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | Merge pull request #51380 from nextcloud/fix/noid/contactsmenu-ab-enabledHamza2025-03-174-0/+32
|\ \ \ | | | | | | | | fix(cardav): only show users from enabled addressBooks in contacts menu
| * | | fix(cardav): only show useres from enabled addressBooks in contacts menufix/noid/contactsmenu-ab-enabledHamza Mahjoubi2025-03-174-0/+32
| | | | | | | | | | | | | | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* | | | Merge pull request #51333 from nextcloud/filePointerCheckGit'Fellow2025-03-171-8/+8
|\ \ \ \ | |/ / / |/| | | fix(files): Make sure file pointer exists
| * | | fix(files): Make sure file pointer existsfilePointerCheckGit'Fellow2025-03-071-8/+8
| | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | | | Merge pull request #51389 from ↵Côme Chilliet2025-03-171-2/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/bug/noid/skip-quote-cache-for-remote-shares fix: skip caching lastSeenQuotaUsage for remote shares
| * | | | fix: skip caching lastSeenQuotaUsage for remote sharesbug/noid/skip-quote-cache-for-remote-sharesDaniel Kesselberg2025-03-141-2/+9
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-162-0/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-152-0/+4
|/ / / / | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | / / Fix(l10n): Update translations from TransifexNextcloud bot2025-03-144-0/+16
| |/ / |/| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | feat(core): add setup cypress testsskjnldsv2025-03-131-4/+0
| | | | | | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-132-0/+12
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | fix(RichObjectStrings): Make exception messages for invalid parameters more ↵fix/rich-object-strings/better-exception-messagesprovokateurin2025-03-122-7/+7
| |/ |/| | | | | | | | | useful for debugging Signed-off-by: provokateurin <kate@provokateurin.de>
* | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-122-2/+26
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | fix(lookup-server): disable lookup server for non-global scale setupsFerdinand Thiessen2025-03-111-2/+4
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(lookup-server): do not query data by defaultFerdinand Thiessen2025-03-111-1/+1
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-112-0/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | fix: fix getNodeFromCacheEntryAndMount using relative pathRobin Appelman2025-03-101-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #51029 from nextcloud/fix/deprecate-oc-template-and-cleanupCôme Chilliet2025-03-1021-558/+693
|\ \ | | | | | | fix: Deprecate OC_Template, add proper template manager instead
| * | fix: Use a dedicated Exception class for when a template is not foundfix/deprecate-oc-template-and-cleanupCôme Chilliet2025-03-067-20/+39
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix: Migrate all uses of OCP\Template to OCP\Template\ITemplateManagerCôme Chilliet2025-03-066-18/+21
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix: Cleanup of internal class TemplateLayoutCôme Chilliet2025-03-062-164/+160
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix: Fix signatures and types in template related classesCôme Chilliet2025-03-064-7/+15
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix: Replace all usage of OC_Template by the new APICôme Chilliet2025-03-063-32/+27
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix: Fix psalm issues and add missing methods to ITemplate interfaceCôme Chilliet2025-03-065-12/+19
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix: Add missing ITemplate interface and clean code in Template classCôme Chilliet2025-03-067-54/+88
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix: Deprecate OC_Template, add proper template manager insteadCôme Chilliet2025-03-067-327/+400
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #51108 from ↵Côme Chilliet2025-03-101-39/+15
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix/fix-disabled-user-list-for-saml-subadmin Fix disabled user list for SAML group subadmin
| * | | chore: Remove now unused methods from User managerCôme Chilliet2025-03-101-47/+0
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | fix: Correctly count disabled users for SAML groups subadminsCôme Chilliet2025-03-101-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | If too many users return -1 as for LDAP so that link is shown Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>