aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* chore(db): Correctly apply query typesGit'Fellow2024-10-1713-154/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | fix: psalm fix: error fix: add batch fix: fatal error fix: add batch chore: add batch chore: add batch fix: psalm fix: typo fix: psalm fix: return bool fix: revert Manager
* refactor(encryption): Migrate away from Hooks to typed eventsFerdinand Thiessen2024-10-151-9/+12
| | | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Louis <louis@chmn.me> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #48682 from ↵Kate2024-10-151-0/+1
|\ | | | | | | nextcloud/fix/appconfig/sensitive-keys-external-jwt-private-key
| * fix(AppConfig): Add external JWT private key to sensitive keysfix/appconfig/sensitive-keys-external-jwt-private-keyprovokateurin2024-10-141-0/+1
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #48206 from nextcloud/feat/systemtags-publicJohn Molakvoæ2024-10-151-2/+16
|\ \
| * | feat: make systemtags public visiblefeat/systemtags-publicJohn Molakvoæ (skjnldsv)2024-10-111-2/+16
| |/ | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Merge pull request #48673 from nextcloud/fix/null-labelFerdinand Thiessen2024-10-141-2/+2
|\ \ | | | | | | 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>
* | Merge pull request #48687 from nextcloud/chore/gender-neutral-languageFerdinand Thiessen2024-10-146-6/+6
|\ \ | | | | | | chore: Use more gender neutral language
| * | chore: Use more gender neutral languageprovokateurin2024-10-146-6/+6
| |/ | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #48650 from nextcloud/fix/shipped-app-versionFerdinand Thiessen2024-10-141-47/+57
|\ \ | | | | | | fix: Shipped apps should include the Nextcloud version in the cache buster
| * | fix: Shipped apps should include the Nextcloud version in the cache busterfix/shipped-app-versionFerdinand Thiessen2024-10-141-47/+57
| | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #48604 from nextcloud/bugfix/noid/fix-tainted-file-appinfoJoas Schilling2024-10-143-19/+29
|\ \ \ | |/ / |/| | fix(appmanager): Fix tainted file path when loading appinfos
| * | fix(appmanager): Fix tainted file path when loading appinfosbugfix/noid/fix-tainted-file-appinfoJoas Schilling2024-10-143-19/+29
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / fix(locking): Accept mixed as value on setTTLmixedSetTTLGit'Fellow2024-10-141-1/+1
|/ | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* feat(http-client): expose default request timeout constant to be used ↵add-default-request-timeout-constThomas Citharel2024-10-112-2/+3
| | | | | | | | | | instead of magic number 30 Will be used to set default where we are able to override the default timeout. See https://github.com/nextcloud/server/pull/48418 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #48623 from nextcloud/fix/allow-quota-wrapper-checkKate2024-10-091-1/+1
|\
| * fix: Allow overriding shouldApplyQuota check from child classesfix/allow-quota-wrapper-checkJulius Knorr2024-10-091-1/+1
| | | | | | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* | fix: Subadmin can access selfChristopher Ng2024-10-081-0/+3
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Merge pull request #48613 from nextcloud/feat/add-query-param-to-force-languageCôme Chilliet2024-10-081-4/+8
|\ \ | | | | | | feat(l10n): Allow to force language with a query parameter
| * | feat(l10n): Respect forceLanguage query parameter in more placesfeat/add-query-param-to-force-languageCôme Chilliet2024-10-081-3/+7
| | | | | | | | | | | | | | | | | | | | | Attempt to make L10N Factory consistent with itself when forceLanguage query parameter is used. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | feat(l10n): Allow to force language with a query parameterCôme Chilliet2024-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This will be used by support application to always generate the support report in english. It may also be used to debug a language, or to temporarily show a page in an other language to take a screenshot or to share your screen with someone speaking another language. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #48494 from nextcloud/refactor/storage/strong-param-typesKate2024-10-0822-635/+482
|\ \ \
| * | | refactor(Storage): Make all parameter types strong typesprovokateurin2024-10-0722-635/+482
| |/ / | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | Merge pull request #48603 from nextcloud/bugfix/noid/censor-more-valuesJoas Schilling2024-10-081-2/+19
|\ \ \ | | | | | | | | fix(logger): Remove more parameters of other methods
| * | | fix(logger): Remove more parameters of other methodsbugfix/noid/censor-more-valuesJoas Schilling2024-10-071-2/+19
| |/ / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / / fix(BackgroundJobs): Adjust intervals and time sensitivitiesprovokateurin2024-10-086-11/+12
|/ / | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | refactor(Wrapper\Encryption): Migrate to strong typesrefactor/stream-encryption/typingsprovokateurin2024-10-071-59/+15
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | refactor(Stream\Encryption): Migrate to strong typesprovokateurin2024-10-071-74/+42
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #48584 from nextcloud/bugfix/noid/increase-exclude-listFerdinand Thiessen2024-10-071-0/+9
|\ \ | | | | | | fix(config): Mark more app configs sensitive
| * | fix(config): Mark more app configs sensitivebugfix/noid/increase-exclude-listJoas Schilling2024-10-071-0/+9
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | fix(command): Make method compatible with upstream class (requires 3rdparty ↵Joas Schilling2024-10-071-4/+4
| | | | | | | | | | | | | | | | | | bump) Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | fix(command): Make method compatible with upstream class (backportable)Joas Schilling2024-10-071-3/+3
| |/ |/| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #47896 from nextcloud/fix/resiliant-user-removalFerdinand Thiessen2024-10-078-71/+255
|\ \ | |/ |/| fix: Make user removal more resilient
| * fix: Skip users that still exist in backendfix/resiliant-user-removalFerdinand Thiessen2024-09-263-9/+28
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * fix: Make user removal more resilientFerdinand Thiessen2024-09-268-71/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #48522 from nextcloud/fix/querybuilder/output-columns-aliasesKate2024-10-031-8/+4
|\ \
| * | fix(QueryBuilder): Account for aliases in output columnsfix/querybuilder/output-columns-aliasesprovokateurin2024-10-021-8/+4
| | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | fix(TaskProcessing\Manager): Don't provoke PHP notice in setTaskResultfix/taskprocessing-manager/php-noticeMarcel Klehr2024-10-021-1/+1
| | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | | Merge pull request #48451 from ↵Daniel2024-10-011-4/+5
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bug/noid/federated-addressbook-sync-without-localaddressallowed fix: make federation address book sync work with allow_local_remote_servers = false
| * | | chore: always execute parse_url in preventLocalAddressbug/noid/federated-addressbook-sync-without-localaddressallowedDaniel Kesselberg2024-10-011-4/+5
| |/ / | | | | | | | | | | | | | | | This change should make it easier to spot wrong uses of the HTTP client on development setups where allow_local_remote_servers is usually true. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #48426 from nextcloud/jtr/fix-45671Kate2024-10-011-1/+2
|\ \ \ | |/ / |/| |
| * | fix(config): Suppress error at install timejtr/fix-45671Josh2024-09-271-1/+2
| | | | | | | | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* | | Merge pull request #48454 from ↵Kate2024-10-015-6/+6
|\ \ \ | | | | | | | | | | | | nextcloud/fix/storage/get-directory-content-return-type
| * | | fix(Storage): Fix getDirectoryContent() return typefix/storage/get-directory-content-return-typeprovokateurin2024-09-305-6/+6
| | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | Merge pull request #48484 from nextcloud/fwdport/48445/masterArthur Schiwon2024-10-011-6/+14
|\ \ \ \ | | | | | | | | | | fix(Auth): ignore missing token when trying to set password-unconfirm…
| * | | | fix(Auth): ignore missing token when trying to set password-unconfirmablefwdport/48445/masterArthur Schiwon2024-10-011-6/+14
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | | Merge pull request #48235 from nextcloud/readd-object-store-phpunitRobin Appelman2024-10-012-24/+82
|\ \ \ \ \ | |/ / / / |/| | | | test: re-add object store primary storage phpunit tests
| * | | | fix: rework move into object store to better preserve fileidsreadd-object-store-phpunitRobin Appelman2024-09-271-19/+55
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | fix: preserve fileid when moving from objectstore to non-objectstoreRobin Appelman2024-09-272-6/+27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>