aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* fix(appinfo): Make sure screenshot, author and category are always arraysbackport/48912/stable30Joas Schilling2024-11-011-0/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #49001 from nextcloud/backport/48559/stable30Benjamin Gaussorgues2024-10-302-29/+38
|\
| * fix(sharding): typo in addOrderBybackport/48559/stable30Benjamin Gaussorgues2024-10-302-22/+5
| | | | | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
| * fix(users): improve recently active searchBenjamin Gaussorgues2024-10-301-7/+33
| | | | | | | | | | | | | | | | | | - Remove DISTINCT clause to fix PgSQL - Join user table only if necessary - Don't show people who never connected in active list - Add test Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | Merge pull request #48694 from nextcloud/backport/48689/stable30Git'Fellow2024-10-301-1/+1
|\ \ | |/ |/| [stable30] fix(locking): Accept mixed as value on setTTL
| * fix(locking): Accept mixed as value on setTTLbackport/48689/stable30Git'Fellow2024-10-301-1/+1
| | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | Merge pull request #48622 from nextcloud/backport/48538/stable30Benjamin Gaussorgues2024-10-301-0/+3
|\ \ | |/ |/|
| * fix: Subadmin can access selfChristopher Ng2024-10-091-0/+3
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | fix: Shipped apps should include the Nextcloud version in the cache busterFerdinand Thiessen2024-10-301-59/+64
| | | | | | | | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix: Fix copying or moving from shared groupfoldersDaniel Calviño Sánchez2024-10-291-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When copying or moving between two local storages the source path (on disk) to copy or move from is got from the unjailed path of the source storage. However, if the source storage has more than one jail getting the unjailed path resolves the most external jail, but the source path needs to be got from the most internal jail instead (the one closer to the local storage). This can happen, for example, with a shared groupfolder: in that case there is an external jail for the shared storage, and one internal jail for the groupfolder storage wrapped by the shared storage. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | fix(config): Mark more configs as sensitivebackport/48947/stable30Joas Schilling2024-10-282-0/+10
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix: crypto made inline for constructor and decrypt error handled in exceptionyemkareems2024-10-281-2/+4
| | | | | | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com> [skip ci]
* | fix: crypto made inline for constructor and decrypt error handled in exceptionyemkareems2024-10-281-6/+7
| | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* | fix: use Icrypto in place of Cyptoyemkareems2024-10-282-4/+4
| | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* | fix: crypto type made not nullable and tests run using ICryptoyemkareems2024-10-282-4/+4
| | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* | fix: encrypt and store password, decrypt and retrieve the sameyemkareems2024-10-282-2/+11
| | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* | fix: Allow overriding shouldApplyQuota check from child classesbackport/48623/stable30Julius Knorr2024-10-281-1/+1
| | | | | | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* | feat(textprocessing): factorize taskProcessingCompatibleTaskTypesbackport/48863/stable30Julien Veyssier2024-10-241-22/+11
| | | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | fix(textprocessing): also list types that are available in task processingJulien Veyssier2024-10-241-0/+29
| | | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | fix(logger): Remove more parameters of other methodsbackport/48603/stable30Joas Schilling2024-10-211-2/+19
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #48763 from ↵Joas Schilling2024-10-211-5/+5
|\ \ | | | | | | | | | | | | nextcloud/dependabot/composer/stable30/symfony-6.4 [stable30] build: Bump symfony/* to 6.4
| * | fix(command): Make method compatible with upstream class (requires 3rdparty ↵Joas Schilling2024-10-211-4/+4
| | | | | | | | | | | | | | | | | | bump) Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | fix(command): Make method compatible with upstream class (backportable)Joas Schilling2024-10-211-3/+3
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #48710 from nextcloud/backport/48682/stable30Kate2024-10-211-0/+1
|\ \ \ | |/ / |/| |
| * | fix(AppConfig): Add external JWT private key to sensitive keysbackport/48682/stable30provokateurin2024-10-151-0/+1
| |/ | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | fix(comments): Document supported types and provide psalm typingJoas Schilling2024-10-181-19/+21
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | feat(comments): Support mentioning emailsJoas Schilling2024-10-181-1/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #48703 from nextcloud/backport/48673/stable30Ferdinand Thiessen2024-10-171-2/+2
|\ \ | | | | | | [stable30] fix(share): Return empty string if no label is set
| * | fix(share): Return empty string if no label is setFerdinand Thiessen2024-10-141-2/+2
| |/ | | | | | | | | | | | | | | | | * Resolves: https://github.com/nextcloud/server/issues/48629 While the database supports NULL, the typing has always said it only returns *string*. So to not break any apps that might trust the typings we should return `''` if the database is set to `NULL`. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix: Skip users that still exist in backendFerdinand Thiessen2024-10-083-9/+28
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix: Make user removal more resilientFerdinand Thiessen2024-10-088-72/+237
|/ | | | | | | | | | | | | | Currently there is a problem if an exception is thrown in `User::delete`, because at that point the user is already removed from the backend, but not all data is deleted. There is no way to recover from this state, as the user is gone no information is available anymore. This means the data is still available on the server but can not removed by any API anymore. The solution here is to first set a flag and backup the user home, this can be used to recover failed user deletions in a way the delete can be re-tried. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #48558 from nextcloud/backport/48522/stable30Stephan Orbaugh2024-10-081-8/+4
|\ | | | | [stable30] fix(QueryBuilder): Account for aliases in output columns
| * fix(QueryBuilder): Account for aliases in output columnsbackport/48522/stable30provokateurin2024-10-031-8/+4
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | fix(config): Mark more app configs sensitivebackport/48584/stable30Joas Schilling2024-10-071-0/+9
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #48514 from nextcloud/backport/48513/stable30Marcel Klehr2024-10-021-1/+1
|\ | | | | [stable30] fix(TaskProcessing\Manager): Don't provoke PHP notice in setTaskResult
| * fix(TaskProcessing\Manager): Don't provoke PHP notice in setTaskResultbackport/48513/stable30Marcel Klehr2024-10-021-1/+1
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | Merge pull request #48077 from nextcloud/backport/47852/stable30Benjamin Gaussorgues2024-10-026-11/+11
|\ \
| * | fix: misc code fixes around db shardingbackport/47852/stable30Robin Appelman2024-09-166-11/+11
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #48093 from nextcloud/backport/47316/stable30Kate2024-10-021-1/+1
|\ \ \
| * | | fix: Prevent crash when refreshing metadata for files without an ownerbackport/47316/stable30Vincent FarZz2024-10-021-1/+1
| | |/ | |/| | | | | | | | | | | | | This crash was mostly happening when using external storages and for example the command "occ memories:migrate-google-takeout" Signed-off-by: Vincent FarZz <farcry69@live.fr>
* / | fix(theming): Use `AppConfig` for setting background imagebackport/48439/stable30Ferdinand Thiessen2024-10-021-0/+1
|/ / | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #48503 from nextcloud/backport/48426/stable30Josh2024-10-011-1/+2
|\ \ | | | | | | [stable30] fix(config): Suppress `config.php` fopen error at install time
| * | fix(config): Suppress error at install timebackport/48426/stable30Josh2024-10-011-1/+2
| | | | | | | | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* | | fix(Auth): ignore missing token when trying to set password-unconfirmablebackport/48484/stable30Arthur Schiwon2024-10-011-6/+14
|/ / | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #48317 from nextcloud/backport/48307/stable30Kate2024-09-301-0/+10
|\ \
| * | fix: gracefully parse non-standard trusted certificatesbackport/48307/stable30Richard Steinmetz2024-09-301-0/+10
| | | | | | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | | fix(QueryBuilder): Restrict identifier length to 30 characters due to Oracle ↵backport/48361/stable30provokateurin2024-09-261-0/+17
| | | | | | | | | | | | | | | | | | limitations Signed-off-by: provokateurin <kate@provokateurin.de>
* | | fix(share): Ensure unique share tokensbackport/47265/stable30ernolf2024-09-251-5/+17
| | | | | | | | | | | | | | | | | | | | | - check for token collisions and retry up to three times. - throw after 3 attempts without finding a unique token. Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
* | | fix(querybuilder): Fix boolean type so that oracle handles boolean wellbackport/48215/stable30Joas Schilling2024-09-251-1/+1
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #48127 from nextcloud/backport/48114/stable30Grigorii K. Shartsev2024-09-242-9/+1
|\ \ | | | | | | [stable30] fix(appstoreFetcher): get list from a custom store and remove unnecessary warning