aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* fix: misc code fixes around db shardingsharding-code-fixesRobin Appelman2024-09-096-11/+11
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(files): Never return a null ETag in DAVprovokateurin2024-09-093-10/+3
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore(i18n): Spelling of IDrakekniven2024-09-061-2/+2
| | | | | Reported at Transifex Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* fix(TaskProcessing): increase error_message column lengthAnupam Kumar2024-09-061-2/+3
| | | | Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
* chore(storage): refactor some code portionsGit'Fellow2024-09-061-30/+16
| | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> chore: revert portion Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* Merge pull request #47784 from nextcloud/fix/file-infoFerdinand Thiessen2024-09-061-9/+5
|\ | | | | fix(FileInfo): correctly implement `\ArrayAccess::offsetGet`
| * fix(FileInfo): correctly implement `\ArrayAccess::offsetGet`Ferdinand Thiessen2024-09-061-9/+5
| | | | | | | | | | | | | | We are targetting PHP 8.1+, since PHP 8.0 `offsetGet` has the `mixed` types for `offset` and return value. So this adds the types to correctly implement the interface. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(files): Check if the target path is a descendant of the shared folder pathGit'Fellow2024-09-051-1/+2
|/ | | | | | | | | | | | | | | | | | 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> fix: add tests Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: tests
* chore: adjust code to adhere to coding standardAnna Larch2024-09-0514-22/+22
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix: Use sha256 to hash arguments of background jobsLouis Chemineau2024-09-051-5/+4
| | | | | | This is to prevent collision as we are sometime hashing user input, yet using that hash to target the background job in the database. Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(appstore): Cache apps.json also on dev instancesMarcel Müller2024-09-041-8/+9
| | | | Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
* Merge pull request #47417 from nextcloud/fix/files/create-mountpoint-parentsKate2024-09-041-0/+9
|\
| * fix(files): Create non-existent parents of mountpointsprovokateurin2024-08-221-0/+9
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #40164 from nextcloud/exceptionsTranslateShareJohn Molakvoæ2024-09-041-69/+62
|\ \
| * | fix: adjust sharing controller exceptions caseJohn Molakvoæ2024-09-041-2/+2
| | | | | | | | | | | | | | | Co-authored-by: F. E Noel Nfebe <fenn25.fn@gmail.com> Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * | fix(l10n): Translate all share exceptionsGit'Fellow2024-09-041-70/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Fix drone Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Fix tests Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | | Merge pull request #47155 from nextcloud/executeStatementOnDeleteJohn Molakvoæ2024-09-041-37/+16
|\ \ \
| * | | fix: lintGit'Fellow2024-08-091-1/+1
| | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
| * | | fix(jobs): Swicth to executeStatement() while deleting rowsGit'Fellow2024-08-091-37/+16
| | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | | | fix: Do not throw if appstore is unavailable during upgradeJulius Härtl2024-09-041-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Merge pull request #47675 from nextcloud/adapterQueryOptiJohn Molakvoæ2024-09-041-12/+12
|\ \ \ \ | |_|/ / |/| | |
| * | | fix: psalmGit'Fellow2024-09-021-1/+1
| | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
| * | | fix: psalmGit'Fellow2024-09-021-2/+2
| | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
| * | | chore(db): Make the query more simpler to readGit'Fellow2024-09-021-14/+14
| | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | | | fix(files_sharing): Add missing check for null & use bool instead of int for ↵Stefan Cherniakov2024-09-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | reminder_sent field Signed-off-by: Stefan Cherniakov <luka-sama@pm.me>
* | | | fix(files_sharing): Make share reminders more stable & fix issuesStefan Cherniakov2024-09-032-3/+6
| | | | | | | | | | | | | | | | Signed-off-by: Stefan Cherniakov <luka-sama@pm.me>
* | | | feat(files_sharing): reminder for link shares with expiration dateStefan Cherniakov2024-09-031-0/+11
| | | | | | | | | | | | | | | | Signed-off-by: Stefan Cherniakov <luka-sama@pm.me>
* | | | Merge pull request #47650 from nextcloud/chore/cleanup-middlewareJohn Molakvoæ2024-09-033-21/+11
|\ \ \ \
| * | | | chore: fix typo in `SameSiteCookieMiddleware`Ferdinand Thiessen2024-08-311-4/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * | | | chore: Remove unused `CsrfTokenManager` from `CSPMiddleware`Ferdinand Thiessen2024-08-312-17/+7
| |/ / / | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | Merge pull request #47676 from nextcloud/fix/ocp/image-interfaceKate2024-09-022-3/+9
|\ \ \ \
| * | | | fix(OCP): Fix Image interfaceprovokateurin2024-09-022-3/+9
| |/ / / | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | chore(IConfig): `getUsersForUserValue` is returning a listFerdinand Thiessen2024-09-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It is returning a list of strings so adjust the return typing to reflect this (`list<string>` instead of `array`). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | Merge pull request #47640 from nextcloud/fix/migrator-replicaJulius Härtl2024-09-021-1/+1
|\ \ \ \ | |/ / / |/| | | fix: Run migration sql as statement so that the primary db node is used
| * | | fix: Run migration sql as statement so that the primary db node is usedJulius Härtl2024-08-301-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Revert "fix(TaskProcessing): Use OCP\Server::get instead of copying methods"Marcel Klehr2024-08-301-5/+45
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit d624c8da8f0dc2eaf18d416aa15db0a2035de398. Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | | fix(TextProcessing): Don't run taskProcessing if task type is not availableMarcel Klehr2024-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | | fix(SpeechToTextManager): Throw TaskProcessing Task failedMarcel Klehr2024-08-301-13/+15
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | | fix(TaskProcessing): Use OCP\Server::get instead of copying methodsMarcel Klehr2024-08-301-45/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | | feat(speech-to-text): SpeechToTextManager::transcribeFile calls ↵Julien Veyssier2024-08-304-8/+58
| | | | | | | | | | | | | | | | | | | | | | | | TaskProcessingManager::runTask Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | | feat(textprocessing): TextProcessingManager::runTask calls ↵Julien Veyssier2024-08-302-3/+84
| | | | | | | | | | | | | | | | | | | | | | | | TaskProcessingManager::runTask Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | | Merge pull request #47546 from nextcloud/fix/files-view-error-messagesAndy Scherzinger2024-08-291-3/+3
|\ \ \ \ | | | | | | | | | | fix: Adjust filename validation messages
| * | | | fix: Adjust filename validation messagesFerdinand Thiessen2024-08-271-3/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | | fix(DB): do not assume sharding is always enabledArthur Schiwon2024-08-291-13/+19
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | | fix(DB): set sharding parameters only when intendedArthur Schiwon2024-08-291-5/+10
| |/ / / |/| | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | fix(Image): Do not send empty Content-Type headerCôme Chilliet2024-08-291-1/+3
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | fix(\OC\Image): Use new IAppConfig and type safe methodsCôme Chilliet2024-08-291-22/+12
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | fix(OC\Image): Fix all psalm spotted issues in the fileCôme Chilliet2024-08-291-71/+65
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | fix: Remove all references to OC_ImageCôme Chilliet2024-08-291-33/+38
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | fix: Move \OC_Image to \OC\Image with the other internal classesCôme Chilliet2024-08-291-5/+9
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>