aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | Merge pull request #50053 from nextcloud/fix/noid/thudnerbird-addon-useragentStephan Orbaugh2025-02-211-1/+1
|\ \ | | | | | | fix: Change UserAgent to *cloud
| * | fix: Change UserAgent to *cloudfix/noid/thudnerbird-addon-useragentJohannes Endres2025-02-191-1/+1
| |/ | | | | | | | | Co-authored-by: Daniel Kesselberg <mail@danielkesselberg.de> Signed-off-by: Johannes Endres <je@johannes-endres.de>
* / feat(SystemTag): Make MapperEvent webhook compatibleenh/make-tag-event-webhook-compatibleMarcel Klehr2025-02-201-1/+15
|/ | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* chore: Correctly flag json encoding methods as escaping html and quotesCôme Chilliet2025-02-171-0/+3
| | | | | | | Especially with JSON_HEX_TAG it’s perfectly fine to echo JSON, and we only use it in JSON output anyway. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Only keep allowed characters in appid, and flag the method as escapingCôme Chilliet2025-02-131-2/+9
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(ocp): Deprecate getInstalledApps and replace with clearer method nameCôme Chilliet2025-02-131-2/+11
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(ocp): Deprecate isInstalled and add isEnabledForAnyone insteadCôme Chilliet2025-02-131-0/+8
| | | | | | The method name was really confusing Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: don't use cached root info from shared cache if the watcher has ↵Robin Appelman2025-02-061-0/+6
| | | | | | detected an update Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #50697 from nextcloud/admin-audit-listen-failed-loginJoas Schilling2025-02-061-0/+8
|\ | | | | feat(admin_audit): write admin audit log for AnyLoginFailedEvent
| * feat(admin_audit): write admin audit log for AnyLoginFailedEventadmin-audit-listen-failed-loginLuka Trovic2025-02-061-0/+8
| | | | | | | | Signed-off-by: Luka Trovic <luka@nextcloud.com>
* | fix: psalm and OCP @since declarationsfix/mime-intJohn Molakvoæ2025-02-062-3/+3
| | | | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
* | fix: make sure we process mime extensions as stringskjnldsv2025-02-052-0/+16
|/ | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix: Properly read updater channel before returning version channel as a ↵fix/version-channelJulius Knorr2025-01-241-0/+6
| | | | | | fallback Signed-off-by: Julius Knorr <jus@bitgrid.net>
* fix: remove typing and return typefix/noid/revert-api-breaking-return-typeAnna Larch2025-01-231-1/+1
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* feat(systemtags): add setting to block non admin to create system tagsBenjamin Gaussorgues2025-01-222-0/+30
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>