aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* 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>
| * | | | fix: ensure source folder is removed from cache when moving to objectstoreRobin Appelman2024-09-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | otherwise this causes confusion down the line as it's contents will be moved to the new cache Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | fix: catch NotPermittedException in Folder.nodeExistsupdate-phpdoc-for-folder-getDaniel Kesselberg2024-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | docs: Folder.get throws a NotPermittedException exceptionDaniel Kesselberg2024-09-303-23/+0
| |/ / / |/| | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | Merge pull request #48439 from nextcloud/fix/background-imageDaniel2024-09-301-0/+1
|\ \ \ \ | | | | | | | | | | fix(theming): Use `AppConfig` for setting background image
| * | | | fix(theming): Use `AppConfig` for setting background imagefix/background-imageFerdinand Thiessen2024-09-281-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | | fix: Fix test of IConstructableStorage implentation by storage classesfix/fix-storage-interface-checkCôme Chilliet2024-09-301-1/+1
|/ / / / | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | chore: Drop unused legacy `OC_Files`Ferdinand Thiessen2024-09-281-428/+0
| | | | | | | | | | | | | | | | | | | | | | | | It is replaced with the Sabre `ZipFolderPlugin` and apps should use the `OCP\AppFramework\Http\StreamResponse`. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | fix: Allow `Streamer` to specify type in constructor instead of magin UA ↵Ferdinand Thiessen2024-09-281-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | handling Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | feat(share): make sharelink token length configurableernolf/configurable_sharetoken_lengthernolf2024-09-283-8/+50
| |/ / |/| | | | | | | | | | | | | | - ensure unique share token with dynamic length adjustment Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
* | | fix(l10n): Fix list of RTL languagesbugfix/noid/fix-rtl-language-listJoas Schilling2024-09-271-1/+0
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / fix(Storage): Fix IStorage return typesprovokateurin2024-09-2625-1521/+556
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(QueryBuilder): Restrict identifier length to 30 characters due to Oracle ↵fix/querybuilder/oracle-indentifier-lengthprovokateurin2024-09-261-0/+17
| | | | | | limitations Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #32018 from nextcloud/cleanup/event/trashbinCôme Chilliet2024-09-241-0/+5
|\ | | | | Port files trashbin events to IEventDispatcher/IEventListener
| * feat(trashbin): Port files trashbin events to IEventDispatcher/IEventListenerCarl Schwan2024-09-231-0/+5
| | | | | | | | | | | | | | | | oc_hooks is deprecated and will at some point be removed Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Thomas Citharel <tcit@tcit.fr> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: gracefully parse non-standard trusted certificatesfix/gracefully-parse-trusted-certificatesRichard Steinmetz2024-09-241-0/+10
| | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | Merge pull request #47349 from nextcloud/feat/31420/bidi-backend-supportJoas Schilling2024-09-242-1/+24
|\ \ | | | | | | Add bidirectional text support - Backend
| * | fix(rtl): Make clear that the direction is based on languagefeat/31420/bidi-backend-supportJoas Schilling2024-09-232-4/+3
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | fix(rtl): Fix list of RTL languagesJoas Schilling2024-09-231-5/+11
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | feat(rtl): Set layout direction based on languageali ghorbani2024-09-232-1/+19
| |/ | | | | | | Signed-off-by: ali ghorbani <ghorbani.ali.developer@gmail.com>
* | Merge pull request #48268 from nextcloud/debt/noid/ignore-docker-image-lock-fileJoas Schilling2024-09-231-2/+3
|\ \ | |/ |/| fix: skip the integrity check for nextcloud-init-sync.lock
| * 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 #48274 from nextcloud/feat/noid/priority-notificationsJoas Schilling2024-09-231-0/+32
|\ \ | | | | | | feat(prioritynotifications): Allow some apps to mark notifications as priority
| * | feat(prioritynotifications): Allow some apps to mark notifications as priorityfeat/noid/priority-notificationsJoas Schilling2024-09-231-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | They will be still send as push during DND. Apps are currently limited to: - twofactor_nextcloud_notification to help with login - spreed which will only set it for pushes in manually picked conversations Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #48111 from ↵Côme Chilliet2024-09-232-1/+7
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix/move-storage-constructor-to-specific-interface fix: Move storage constructor to specific interface
| * | | fix: Move storage constructor to specific interfaceCôme Chilliet2024-09-232-1/+7
| | |/ | |/| | | | | | | | | | | | | That allows Wrappers to use DI and not care about the constructor Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* / | fix(users): Don't crash if disabled user is missing in the databaseartonge/fix/prevent_missing_users_from_crashing_disabled_users_searchLouis Chemineau2024-09-232-9/+18
|/ / | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | 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