aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | feat: Add a replacement for OC_App::getAppVersions is IAppManagerCôme Chilliet2025-03-252-2/+18
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | chore: Refactor callForSeenUsers to use getSeenUsersLouis Chemineau2025-03-301-22/+6
| | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | feat: Implement getSeenUsers to iterate over usersLouis Chemineau2025-03-301-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This method uses an iterator. This is lighter on resources and gives more control to the caller Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | fix: add event status and participant statusfix/noid-add-status-and-set-attendee-statusSebastianKrupinski2025-03-281-0/+15
| | | | | | | | | | | | | | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* | | | fix: filter out contacts with invalid email addresses in sharee completionJulius Knorr2025-03-261-0/+5
| |/ / |/| | | | | | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* | | Merge pull request #51433 from umgfoin/PR-umgfoin-fix-image-metadata-generationJohn Molakvoæ2025-03-261-1/+1
|\ \ \ | | | | | | | | fix(GenerateBlurhashMetadata): Suppress imagescale errors
| * | | fix(GenerateBlurhashMetadata): Suppress imagescale errorsumgfoin2025-03-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suppress errors in imagescale during file-scans: Most of these errors are caused by out of range x/y-dims. Triggering un unhandled exception, metadata-generation aborts at this point (e.g. occ files:scan --generate-metadata), effectively preventing these images from being added to photos or maps. This problem might be the root cause for an issue described here: https://github.com/nextcloud/photos/issues/2768 Signed-off-by: umgfoin <umgfoin@users.noreply.github.com>
* | | | feat(mimetypes): Fixed copy paste errorBenjamin Giesinger2025-03-251-0/+1
| | | |
* | | | feat(mimetypes): Added musicxml mimetypesBenjamin Giesinger2025-03-251-0/+18
| |/ / |/| |
* | | Merge pull request #51649 from rolandinus/fix/dispatch-events-on-bulk-taggingJohn Molakvoæ2025-03-251-0/+20
|\ \ \ | | | | | | | | fix(systemtags): Dispatch events when bulk assigning system tags
| * | | fix(systemtags): Dispatch events when bulk assigning system tagsRoland Scheidel2025-03-231-0/+20
| | | | | | | | | | | | | | | | Signed-off-by: Roland Scheidel <kontakt@scheidel.at>
* | | | Merge pull request #51490 from nextcloud/castUsersCountToIntJohn Molakvoæ2025-03-251-2/+5
|\ \ \ \ | | | | | | | | | | fix(database): Cast users count to integer
| * | | | fix(database): Cast users count to integercastUsersCountToIntGit'Fellow2025-03-201-2/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | | | | perf(sharing): Use oc_share.{item_type, share_type} IN instead of OR equalsrefactor/use-in-instead-of-orMarcel Klehr2025-03-251-79/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to improve performance by using the db index Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | | | | 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(ocm): `publicKey` can be disabled so capabilities do not matchfix/ocm-public-key-is-optionalFerdinand Thiessen2025-03-211-2/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | chore: cleanup human_file_size usageCôme Chilliet2025-03-201-3/+4
| | | | | | | | | | | | | | | | 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(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-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | 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-171-0/+4
|\ \ \ \ | | | | | | | | | | 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-171-0/+4
| | | | | | | | | | | | | | | | | | | | 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>
* | | | 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>
* | | feat(core): add setup cypress testsskjnldsv2025-03-131-4/+0
| | | | | | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.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(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: 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-108-529/+540
|\ \ | | | | | | 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-063-20/+20
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix: Migrate all uses of OCP\Template to OCP\Template\ITemplateManagerCôme Chilliet2025-03-061-3/+3
| | | | | | | | | | | | 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-062-5/+4
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix: Replace all usage of OC_Template by the new APICôme Chilliet2025-03-062-31/+25
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix: Fix psalm issues and add missing methods to ITemplate interfaceCôme Chilliet2025-03-062-8/+7
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix: Add missing ITemplate interface and clean code in Template classCôme Chilliet2025-03-063-53/+41
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix: Deprecate OC_Template, add proper template manager insteadCôme Chilliet2025-03-064-318/+353
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | 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>
* | Merge pull request #51130 from nextcloud/fix/credential-passwordless-authJulius Knorr2025-03-071-5/+9
|\ \ | |/ |/| fix: Do not build encrypted password if there is none