aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* fix: skip the integrity check for nextcloud-init-sync.lockdebt/noid/ignore-docker-image-lock-fileDaniel Kesselberg2024-09-221-2/+3
| | | | | | | | nextcloud-init-sync.lock is used by nextcloud/docker to prevent running the initialization script on multiple containers at the same time. Ref: https://github.com/nextcloud/docker/issues/2299. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #48246 from nextcloud/bug/noid/profile-clear-not-workingFerdinand Thiessen2024-09-211-4/+4
|\ | | | | fix(profiler): clear command does not work
| * fix(profiler): clear command does not workbug/noid/profile-clear-not-workingDaniel Kesselberg2024-09-201-4/+4
| | | | | | | | | | | | | | | | - The loop is supposed to delete the files first and then the directories. - getPathInfo returns a SplFileInfo object for the parent (the folder in our case). - A non-empty directory cannot be deleted. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #43968 from exi/custom-binary-search-pathsAndy Scherzinger2024-09-201-10/+18
|\ \ | | | | | | feat: make search path for BinaryFinder customizable.
| * | feat: make search path for BinaryFinder customizable.Reno Reckling2024-09-201-10/+18
| |/ | | | | | | | | | | | | | | | | | | | | | | | | This feature is important for nextcloud running on distributions like NixOS, where all the standard search paths do not exist. Also added tests. This fixes issue #43922 Co-authored-by: Daniel <mail@danielkesselberg.de> Signed-off-by: Reno Reckling <e-github@wthack.de>
* | Merge pull request #47782 from nextcloud/reworkShareExceptionsGit'Fellow2024-09-201-14/+13
|\ \ | | | | | | fix(l10n): Rephrasing some exceptions to be translated
| * | fix(l10n): Rephrasing some exceptions to be translatedGit'Fellow2024-09-201-14/+13
| |/ | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: tests Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: Fix tests Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* / chore(legacy): Introduce public version ct plass and drop version methods ↵clean/version-ocpJulius Knorr2024-09-2012-111/+42
|/ | | | | | from OC_Util Signed-off-by: Julius Knorr <jus@bitgrid.net>
* chore: Add proper deprecation dates where missingFerdinand Thiessen2024-09-2012-30/+30
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(federation): Do not overwrite certificate bundlefix/federation-certificate-storeJulius Härtl2024-09-202-29/+29
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #48220 from nextcloud/chore/remove-travisFerdinand Thiessen2024-09-191-2/+1
|\ | | | | chore: Remove old travis related stuff
| * chore: Remove old travis related stuffFerdinand Thiessen2024-09-191-2/+1
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | perf: reuse cache info we already have when moving to object storeobject-store-move-dbRobin Appelman2024-09-191-2/+2
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-19174-342/+350
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Remove deprecated `ILogger` logging functionschore/remove-iloggerFerdinand Thiessen2024-09-192-18/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(OC_Template): Remove deprecated ILoggerFerdinand Thiessen2024-09-191-8/+9
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(OC_Files): Remove deprecated ILoggerFerdinand Thiessen2024-09-191-7/+9
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(OC_Util): Remove deprecated ILoggerFerdinand Thiessen2024-09-191-2/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(OC_Hook): Remove deprecated ILoggerFerdinand Thiessen2024-09-191-1/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(OC_App): Remove ILogger usageFerdinand Thiessen2024-09-191-13/+15
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(ProviderFactory): Remove usage of ILogger and use non-deprecated stuffFerdinand Thiessen2024-09-191-10/+9
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(Collaboration): Use non-deprecated methodsFerdinand Thiessen2024-09-191-7/+17
| | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore!: Remove `OC\AppFramework\Logger`Ferdinand Thiessen2024-09-192-112/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #48163 from nextcloud/feat/nfoJohn Molakvoæ2024-09-191-0/+1
|\ | | | | feat: add nfo file support
| * feat: add nfo file supportfeat/nfoJohn Molakvoæ (skjnldsv)2024-09-181-0/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Merge pull request #48182 from nextcloud/oracle-share-reminderJoas Schilling2024-09-181-1/+1
|\ \ | | | | | | fix: fix share reminder job for oracle
| * | fix: fix share reminder job for oracleoracle-share-reminderRobin Appelman2024-09-181-1/+1
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #48137 from nextcloud/enh/add-rich-object-formatterCôme Chilliet2024-09-186-84/+62
|\ \ \ | |/ / |/| | feat: Add OCP interface to format richtext into string
| * | fix: Fix Event and Notification creation with the new required parameterCôme Chilliet2024-09-173-26/+14
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix: Add missing alias for IRichTextFormatterCôme Chilliet2024-09-171-0/+2
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | feat: Add OCP interface to format richtext into stringCôme Chilliet2024-09-173-59/+47
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | fix: ensure parent folder exists when writing a file to object storageRobin Appelman2024-09-181-0/+4
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix: verify that parent exists in cache when insertingRobin Appelman2024-09-181-0/+3
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix: fix object store id for test object storeRobin Appelman2024-09-181-2/+2
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix: cleanup objectstore file_put_contentRobin Appelman2024-09-181-7/+4
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix: create intermediate directories for objectstore moveFromStorageRobin Appelman2024-09-181-0/+1
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix: get source file before moving the cache item in objectstore moveFromStorageRobin Appelman2024-09-181-1/+5
| |/ |/| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #44013 from nextcloud/fieat/profile-pronouncesJohn Molakvoæ2024-09-182-9/+22
|\ \ | | | | | | feat: add pronouns to account profile
| * | fix(core): profile design and pronouns supportfieat/profile-pronouncesJohn Molakvoæ (skjnldsv)2024-09-181-1/+1
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | feat: add profile pronounsJohn Molakvoæ (skjnldsv)2024-09-172-9/+22
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Merge pull request #45020 from Noodlesalat/fix-lastlogin-update-token-loginJohn Molakvoæ2024-09-171-0/+1
|\ \ \ | |/ / |/| |
| * | fix: update last_login timestamp for token based-loginsFabian Dreßler2024-09-061-0/+1
| | | | | | | | | | | | | | | | | | fixes #31075 and maybe #32953 Signed-off-by: Fabian Dreßler <nudelsalat@clouz.de>
* | | fix(psalm): Fix @throws annotationsfix/psalm/throws-annotationsprovokateurin2024-09-172-2/+2
| | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | Merge pull request #47986 from cfiehe/fix_move_on_same_bucketStephan Orbaugh2024-09-171-0/+5
|\ \ \ | | | | | | | | perf(ObjectStoreStorage): Improve (slow) move on same object bucket
| * | | perf(ObjectStoreStorage): Improve (slow) move on same object bucketChristoph Fiehe2024-09-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes the issue #47856. When you upload a file into a group folder and when you use a single S3 bucket as primary storage, the final move operation hangs for a long time. In the background, Nextcloud initiates a copy-delete sequence from the bucket into the bucket, with causes a lot unnecessary overhead. Nextcloud thinks that the file must be imported to another storage and does not recognize that everything is done on the same object bucket. In that case, the import step can be completely skipped, which saves time, network bandwidth and reduces the load on the object storage. The behavior improves a lot with https://github.com/nextcloud/server/pull/46013. However, there are still some put messages that are being sent to the object storage when you use an object storage as primary storage and upload files into a group folder. Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
* | | | fix: Remove legacy settings formschore/remove-legacy-settings-forsFerdinand Thiessen2024-09-172-45/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `OC_App::getForms` was always returning an empty array, because there were no setter for `adminForms` or `personalForms` anymore. So removed all that legacy settings forms logic. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | Merge pull request #48129 from nextcloud/feat/zstJohn Molakvoæ2024-09-172-31/+80
|\ \ \ \ | |_|_|/ |/| | |
| * | | chore: update RepairMimeTypes migrationfeat/zstJohn Molakvoæ (skjnldsv)2024-09-172-31/+80
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | Merge pull request #48080 from nextcloud/fix/storage/method-docs-inheritanceKate2024-09-1710-155/+16
|\ \ \ \
| * | | | fix(Storage): Fix method docs inheritancefix/storage/method-docs-inheritanceprovokateurin2024-09-1710-155/+16
| | | | | | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>