aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* fix: Fix several side effects of lazy ghostsCôme Chilliet2025-04-291-0/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(profile): Add an API to get the profile field datafeat/noid/profile-data-apiJoas Schilling2025-04-231-1/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #52224 from ↵Arthur Schiwon2025-04-171-0/+5
|\ | | | | | | | | nextcloud/bugfix/noid/dont-break-when-checking-if-too-long-user-exists fix(usermanager): Don't throw when checking if a too long user id is an existing user
| * fix(user): Introduce a public constant for max length of user idbugfix/noid/dont-break-when-checking-if-too-long-user-existsJoas Schilling2025-04-171-0/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #52178 from nextcloud/fix/remove-app.php-loadingCôme Chilliet2025-04-171-2/+0
|\ \ | |/ |/| fix: Remove support for app.php loading
| * fix: Remove support for app.php loadingCôme Chilliet2025-04-141-2/+0
| | | | | | | | | | | | | | | | | | It has been deprecated for a long time, and the last known active application to use it (user_saml) is now migrated the modern API. Presence of the file is still checked in order to log an error. This behavior may be removed as well in a few versions. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix(files_sharing): expireDate null testsskjnldsv2025-04-141-1/+1
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | Merge pull request #52086 from nextcloud/fix/cleanup-user-backendsCôme Chilliet2025-04-141-6/+7
|\ \ | |/ |/| Cleanup user backends related methods
| * fix: Deprecate OC_User methods related to user backendsCôme Chilliet2025-04-101-6/+7
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix(ContextAgent): Do not translate the name ContextAgentMarcel Klehr2025-04-141-1/+1
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | Fix(TaskProcessing): for validation for taskprocessing EShapeTypeLukas Schaefer2025-04-111-3/+3
|/ | | | Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
* Merge pull request #52050 from nextcloud/fix/noid/taskprocessing-appapiAlexander Piskun2025-04-101-0/+68
|\ | | | | fix(taskprocessing): use the event for AppAPI to get list of AI providers
| * fix(taskprocessing): use the event for AppAPI to get list of AI providersfix/noid/taskprocessing-appapiOleksander Piskun2025-04-091-0/+68
| | | | | | | | Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
* | fix: Fix types for sharingDisabledForUserCôme Chilliet2025-04-072-9/+5
| | | | | | | | | | | | and use the non-deprecated version whenever possible Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Remove some call and references to deprecated OC_Util classCôme Chilliet2025-04-072-7/+8
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(settings): Handle email change restriction separately from display name ↵provokateurin2025-04-021-0/+7
| | | | | | | | | change restriction Co-authored-by: provokateurin <kate@provokateurin.de> Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Louis <louis@chmn.me> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(IMimeTypeDetector): use consistent capitalizationchore/consistent-namingFerdinand Thiessen2025-04-021-6/+6
| | | | | | | | - use consistantly `mimeType` as it is called MIME type - fix issues where implementation and interface had different parameter names (this is an issue since PHP has named parameters). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #50768 from nextcloud/perf/cron/delay-timedjob-checkingChristoph Wurst2025-03-311-0/+9
|\ | | | | perf(cron): Delay (re)checking timed jobs
| * perf(cron): Delay (re)checking timed jobsperf/cron/delay-timedjob-checkingChristoph Wurst2025-03-311-0/+9
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #51686 from nextcloud/fix/template/implement-itemplateChristoph Wurst2025-03-311-1/+3
|\ \ | | | | | | fix(template): implement ITemplate directly
| * | fix(template): implement ITemplate directlyfix/template/implement-itemplateRichard Steinmetz2025-03-311-1/+3
| |/ | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | feat: add command to list objectsRobin Appelman2025-03-311-1/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | feat: add command to get object metadataRobin Appelman2025-03-311-0/+36
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #51399 from nextcloud/share-list-cmdRobin Appelman2025-03-311-0/+8
|\ \ | |/ |/| add command to list shares
| * feat: add getParentId to ICacheEntryRobin Appelman2025-03-281-0/+8
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #51676 from nextcloud/fix/add-getappversions-replacementCôme Chilliet2025-03-312-0/+16
|\ \ | | | | | | Add OC_App::getAppVersions replacement in IAppManager
| * | fix: Move getAppInstalledVersions to AppConfig so that it can be used earlierfix/add-getappversions-replacementCôme Chilliet2025-03-251-0/+8
| | | | | | | | | | | | | | | | | | Call it from OC_App to make sure there is only one request to DB. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | feat: Add a replacement for OC_App::getAppVersions is IAppManagerCôme Chilliet2025-03-251-0/+8
| |/ | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | feat: Implement getSeenUsers to iterate over usersLouis Chemineau2025-03-301-0/+11
| | | | | | | | | | | | | | 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-282-0/+26
| | | | | | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* | fix: task type translationsfix/tasktypes-translationsJana Peper2025-03-2617-17/+17
|/ | | | Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
* fix(ocm): `publicKey` can be disabled so capabilities do not matchfix/ocm-public-key-is-optionalFerdinand Thiessen2025-03-211-1/+1
| | | | | | | | 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-2/+2
| | | | 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(IMimeTypeDetector): use correct return typefix/IMimeTypeDetector-typesFerdinand Thiessen2025-03-181-1/+9
| | | | | | | | | | | | | | 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(cardav): only show useres from enabled addressBooks in contacts menufix/noid/contactsmenu-ab-enabledHamza Mahjoubi2025-03-171-0/+26
| | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* Merge pull request #51029 from nextcloud/fix/deprecate-oc-template-and-cleanupCôme Chilliet2025-03-1010-19/+132
|\ | | | | 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-062-0/+17
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Migrate all uses of OCP\Template to OCP\Template\ITemplateManagerCôme Chilliet2025-03-064-14/+17
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Fix signatures and types in template related classesCôme Chilliet2025-03-062-2/+11
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Replace all usage of OC_Template by the new APICôme Chilliet2025-03-061-1/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Fix psalm issues and add missing methods to ITemplate interfaceCôme Chilliet2025-03-063-4/+12
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Add missing ITemplate interface and clean code in Template classCôme Chilliet2025-03-062-1/+39
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Deprecate OC_Template, add proper template manager insteadCôme Chilliet2025-03-062-0/+37
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | feat(dav): add webhook compatibility for calendar object eventsEdward Ly2025-03-077-0/+258
|/ | | | Signed-off-by: Edward Ly <contact@edward.ly>
* fix(systemtags): prevent tag edition if restrictedskjnldsv2025-03-062-0/+28
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* refactor(TempManager): Simplify and unify implementations and remove legacy ↵refactor/tempmanagerprovokateurin2025-03-031-6/+6
| | | | | | behavior Signed-off-by: provokateurin <kate@provokateurin.de>
* feat(db): add truncateTable methodpulsejet/truncate-1Varun Patil2025-03-021-0/+15
| | | | Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* Merge pull request #50908 from nextcloud/chore/server-annotationsFerdinand Thiessen2025-02-271-6/+4
|\ | | | | chore: Adjust `OCP\Server::get` annotation to work with phpstan
| * chore: Adjust `OCP\Server::get` annotation to work with phpstanchore/server-annotationsFerdinand Thiessen2025-02-191-6/+4
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>