aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | | fix(l10n): Update translations from TransifexNextcloud bot2025-05-282-4/+4
| |/ |/| | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | chore: Remove useless legacy autoloader for testsfix/cleanup-test-legacy-autoloaderCôme Chilliet2025-05-272-7/+0
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #53130 from ↵Benjamin Gaussorgues2025-05-271-0/+5
|\ \ | | | | | | | | | nextcloud/artonge/fix/skip_blurhash_if_previews_are_disabled
| * | fix(blurhash): Skip generation the if previews are disabled.artonge/fix/skip_blurhash_if_previews_are_disabledLouis Chemineau2025-05-271-0/+5
| |/ | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* / fix(FileReferenceEventListener): Invalidate cache after node was renamedfix/file_reference_invalidate_renameJonas2025-05-271-0/+5
|/ | | | | | Fixes: nextcloud/collectives#1527 Signed-off-by: Jonas <jonas@freesources.org>
* fix(log): map all warnings to warn log level, notice to infoChristoph Wurst2025-05-271-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(l10n): Update translations from TransifexNextcloud bot2025-05-272-0/+4
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* docs(caldav): update documentation for calendar searchdocs/53002/calendar-searchDaniel Kesselberg2025-05-231-7/+65
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(autoloader): Fix location of class to be autoloadablebugfix/noid/fix-psr4-classJoas Schilling2025-05-232-0/+2
| | | | | | > Class FeedBackHandler located in ./core/ajax/update.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping. Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(IUser): add `getQuotaBytes` method to get machine readable quotafeat/user-get-quota-bytesFerdinand Thiessen2025-05-226-4/+29
| | | | | | | | | | | Proper replacement for deprecated `OC_Util::getUserQuota`. Also we still use this in some cases we can now replace, moreover it just makes sense to have a machine readable format in the API instead of only the human readable format which is less precise. Alings also with `getQuota` of the quota storage, which already returned the machine readable format. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #52810 from ↵Louis2025-05-221-4/+4
|\ | | | | | | nextcloud/artonge/feat/do_not_require_samesite_strict_cookie_on_public.php
| * fix: Move CSRF check from base to PublicAuth for public.phpLouis Chemineau2025-05-211-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This currently prevent directly accessing a ressource when clicking on a link on a third party site. Example, clicking on `https://example.com/public.php/dav/files/pqLWcA269zfzXez/?accept=zip` in a GitHub comment. Skipping the check is an issue with password protected shares, as it allows third party sites to request the ressource when the user already entered the password, aka CSRF. So after removing the check from `base.php`, we need to add the it again in the `PublicAuth` plugin. We also add a redirect to be helpful to the user. **Warning**: this adds the limitation that clicking on a direct download link for password protected shares will redirect you to the password form, and then to the main share view. Fix #52482 Signed-off-by: Louis Chemineau <louis@chmn.me>
* | fix(l10n): Update translations from TransifexNextcloud bot2025-05-222-0/+10
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | fix: Revert "fix(db): Store last insert id before reconnect"tests/noid/speed-up-comments-testJoas Schilling2025-05-214-43/+10
| | | | | | | | | | | | | | This reverts commit df94cceb7bc350da9860867c9aef7ba03dbb2b6c. There were records of some old IDs being read which is much worse Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(l10n): Update translations from TransifexNextcloud bot2025-05-21186-1840/+178
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #52943 from nextcloud/feat/http/request-header-attributeKate2025-05-203-0/+52
|\ \
| * | feat(Http): Add RequestHeader attributefeat/http/request-header-attributeprovokateurin2025-05-203-0/+52
| | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | Merge pull request #52972 from ↵Kate2025-05-202-57/+68
|\ \ \ | | | | | | | | | | | | nextcloud/fix/setupmanager/home-root-providers-register-mounts
| * | | fix(SetupManager): Include home and root providers when registering mountsfix/setupmanager/home-root-providers-register-mountsprovokateurin2025-05-202-57/+68
| | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | Merge pull request #52982 from nextcloud/chore/user-mount-events-sinceKate2025-05-203-3/+3
|\ \ \ \
| * | | | chore: Set correct version for new UserMount eventschore/user-mount-events-sinceprovokateurin2025-05-203-3/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | | Merge pull request #52859 from Murena-SAS/dev/external-storage-previewsStephan Orbaugh2025-05-201-4/+4
|\ \ \ \ \ | |/ / / / |/| | | | fix: Throw exception in PreviewManager when preview is not available
| * | | | fix: Throw exception in PreviewManager when preview is not availableAkhil2025-05-201-4/+4
| |/ / / | | | | | | | | | | | | Signed-off-by: Akhil <akhil@e.email>
* / / / fix(throttler): Don't query bruteforce attempts twiceperf/noid/query-performanceJoas Schilling2025-05-201-12/+14
|/ / / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | fix(l10n): Update translations from TransifexNextcloud bot2025-05-204-14/+142
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | feat: only load template fields when requestedElizabeth Danzberger2025-05-193-3/+85
| | | | | | | | | | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* | | Merge pull request #52879 from nextcloud/bug/noid/clear-dav-photo-cacheChristoph Wurst2025-05-192-15/+12
|\ \ \ | | | | | | | | Add command to clear dav's photo cache
| * | | refactor(dav): replace IAppData with IAppDataFactory for PhotoCachebug/noid/clear-dav-photo-cacheDaniel Kesselberg2025-05-152-15/+12
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | Merge pull request #50157 from nextcloud/feat/mountmanager/emit-eventsKate2025-05-196-7/+112
|\ \ \ \
| * | | | feat(UserMountCache): Emit events for added, removed and updated mountsfeat/mountmanager/emit-eventsprovokateurin2025-05-196-7/+112
| | |/ / | |/| | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | Merge pull request #52930 from nextcloud/chore/depreate-oc-helper-roKate2025-05-193-3/+6
|\ \ \ \ | |/ / / |/| | |
| * | | chore: deprecate `OC_Helper::isReadOnlyConfigEnabled`chore/depreate-oc-helper-roFerdinand Thiessen2025-05-173-3/+6
| | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | Merge pull request #52848 from nextcloud/fix/cleanup-servercontainerKate2025-05-195-907/+39
|\ \ \ \
| * | | | fix: Do not use circle provider class constantCôme Chilliet2025-05-161-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is to avoid issues if the circles app is disabled but you still have circles shares in your DB Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | fix: Count on the circles application to register its share providerCôme Chilliet2025-05-161-40/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | fix: Remove deprecated getters from Server that were previously removed from ↵Côme Chilliet2025-05-161-461/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | public interface Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | fix: Remove more unused deprecated getters from IServerContainerCôme Chilliet2025-05-162-58/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | fix: Cleanup share ProviderFactory to correctly use DI instead of deprecated ↵Côme Chilliet2025-05-163-145/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getters Ideally circles and talk should migrate to calling registerProvider and core would not need to use their OCA classes like currently. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | fix: Remove deprecated getters in IServerContainer which are not used anymoreCôme Chilliet2025-05-161-213/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For now I left the ones which are called from lib/ Next step is to fix all calls and remove those as well. Also the getters should be removed from the implementation. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | fix(l10n): Update translations from TransifexNextcloud bot2025-05-182-0/+4
| |/ / / |/| | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | Merge pull request #52890 from nextcloud/chore/move-stream-copy-implementationFerdinand Thiessen2025-05-178-35/+51
|\ \ \ \ | | | | | | | | | | chore: move streamCopy implementation from `OC_Helper` to `OCP\Files`
| * | | | chore: move streamCopy implementation from `OC_Helper` to `OCP\Files`Ferdinand Thiessen2025-05-168-35/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function was already there but called the legacy version. So moved the implementation and migrated all usages of it. Sadly the interface was slightly different so adjusted it to be compatible with both legacy and the OCP one. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | | Merge pull request #52912 from nextcloud/chore/remove-deprecated-oc-helperFerdinand Thiessen2025-05-172-103/+6
|\ \ \ \ \ | | | | | | | | | | | | chore!: remove legacy functions from `OC_Helper` deprecated before v10
| * | | | | chore!: remove legacy functions from `OC_Helper` deprecated before v10Ferdinand Thiessen2025-05-162-103/+6
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | | | fix(l10n): Update translations from TransifexNextcloud bot2025-05-172-0/+4
|/ / / / / | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | / chore: deprecate OC_Helper::copyrchore/deprecate-ochelper-copyrFerdinand Thiessen2025-05-162-5/+43
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | Inline it into Installer as needed. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | Merge pull request #52885 from nextcloud/fix/docblock-colorKate2025-05-161-1/+1
|\ \ \ \ | |/ / / |/| | | fix(OCP\Color): use correct doc block type
| * | | fix(OCP\Color): use correct doc block typefix/docblock-colorFerdinand Thiessen2025-05-151-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | chore: move implementation to non-deprecated OCP\Util from OC_Helperchore/move-impl-utilFerdinand Thiessen2025-05-162-53/+53
| |/ / |/| | | | | | | | | | | | | | | | | | | | Only moves the implementation where it was already existing and adds more helpful deprecation messages. This way we can in the future just remove the OC_Helper variants. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | Merge pull request #52871 from AndyXheli/patch-2Christoph Wurst2025-05-161-1/+1
|\ \ \ | | | | | | | | fix(previews): lower log level when cached preview isn't found