aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* 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>
| * | | | 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>