Commit Graph

83338 Commits (bef3996c3e21d401e11b3a5b2ea05be10189df2a)
 

Author SHA1 Message Date
Carl Schwan bef3996c3e fix(preview): Make version column a string
And move it to a different table so that we don't have to pay the
storage cost when not using it (most of the times).

Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-08 14:07:06 +07:00
Carl Schwan 66f50bd585 refactor(preview): Use same mimetype ids as filecache
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-06 13:37:15 +07:00
Carl Schwan bd001c9524 refactor: Use Override annotation in new preview code
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-06 13:37:15 +07:00
Carl Schwan 58023782b6 feat(preview): Store original file mimetype in preview table
Allow to quickly query all the files from a specific mimetype like in
the ResetRenderedTexts command.

Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-06 13:37:15 +07:00
Carl Schwan bfc7d5dd9f feat(preview): Implement scanning for previews
This work similarly to the move preview job to migrate the previews to
the new DB table and also reuse some code.

So when we are finding files in appdata/preview, try adding them to the
oc_previews table and delete them from the oc_filecache table.

Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-06 13:37:15 +07:00
Carl Schwan 324b54b863 refactor(preview): Cleanup the implementation of the new preview backend
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-06 13:37:15 +07:00
Carl Schwan 6f56dcf73e fix(preview): Fix some tests
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-06 13:37:15 +07:00
Carl Schwan b0357663b9 perf(preview): Optimize migration and simplify DB layout
* Simplify migration by not moving the actual files and just updating
  the DB
* Don't store the storageid in the preview table as it is not needed
* Start adding tests

Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-06 13:37:15 +07:00
Carl Schwan bba9667882 perf(preview): Adapt BackgroundCleanupJob to new previews table
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-06 13:37:15 +07:00
Carl Schwan 6008852232 feat(preview): Support multibucket storage
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-06 13:37:15 +07:00
Carl Schwan 13c35c0f17 perf(preview): Migrate previews to the new optimized table
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-06 13:37:15 +07:00
Carl Schwan 656e33e8da perf(preview): Add support for multibucket storage
Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
2025-10-06 13:37:15 +07:00
Carl Schwan 18fbacdd8d perf(preview): Split preview data to new table
The new oc_previews table is optimized for storing previews and should
decrease significantly the space taken by previews in the filecache
table.

This attend to reuse the IObjectStore abstraction over S3/Swift/Azure
but currently only support one single bucket configuration.

Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
2025-10-06 13:37:15 +07:00
Kate 057c0dcc98
Merge pull request #55564 from nextcloud/fix/files/return-valid-mimetype 2025-10-06 13:23:54 +07:00
Kate dc768157b3
Merge pull request #55566 from nextcloud/fix/igroupmanager/get-user-group-ids-return-type 2025-10-06 12:55:58 +07:00
Andy Scherzinger 40286b2fe2
Merge pull request #55481 from nextcloud/carl/fix-psalm-easy
refactor: Fix some easy psalm issues in Files
2025-10-06 12:11:02 +07:00
provokateurin 3c27522873
fix(IGroupManager): Use correct return type in getUserGroupIds method
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-10-06 10:54:08 +07:00
Joas Schilling 6dec53a6bc
Merge pull request #55472 from nextcloud/carl/fix-encryption-commands
refactor: fix psalm issues from encryption commands
2025-10-06 10:47:10 +07:00
Côme Chilliet 38d455800c
Merge pull request #55482 from nextcloud/carl/fix-search
refactor: Port away from search
2025-10-06 10:45:52 +07:00
Kate b565eefc48
Merge pull request #55539 from nextcloud/dependabot/composer/vendor-bin/openapi-extractor/nextcloud/openapi-extractor-1.8.5 2025-10-06 09:21:44 +07:00
provokateurin 8d8f94b8ce
fix(files): Always return a valid mimetype
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-10-06 09:06:17 +07:00
Joas Schilling 376b7e8bbd
Merge pull request #55507 from nextcloud/techdebt/noid/bye-bye-8.1
fix(PHP): Drop PHP 8.1 for Nextcloud 33
2025-10-06 08:22:50 +07:00
Joas Schilling 88e2e4f785
Merge pull request #55560 from nextcloud/bug/55554/set-dbtype-value-with-single-db
fix(setup): set dbtype value also for single-db
2025-10-06 08:21:22 +07:00
Nextcloud bot 3ca413da08
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-10-06 00:13:08 +07:00
Daniel Kesselberg e43bfe3bd7
chore(assets): Recompile assets
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-10-05 23:33:16 +07:00
Daniel Kesselberg 5475587092
fix(setup): set dbtype value also for single-db
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-10-05 23:33:16 +07:00
F. E Noel Nfebe a9d925b873
Merge pull request #55434 from nextcloud/fix/unfied-search-pagination-limit
fix(unified-search): Remove hard-coded search result limit
2025-10-05 12:07:54 +07:00
Nextcloud bot a913c9bfaf
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-10-05 00:13:12 +07:00
Joas Schilling 405b52f4c5
ci: Move to new kerberos images
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-10-04 12:33:26 +07:00
dependabot[bot] b22c38d48c
Merge pull request #55535 from nextcloud/dependabot/npm_and_yarn/zip.js/zip.js-2.8.6 2025-10-04 02:37:28 +07:00
dependabot[bot] 4cd4616be5
build(deps): bump nextcloud/openapi-extractor
Bumps [nextcloud/openapi-extractor](https://github.com/nextcloud-releases/openapi-extractor) from 1.8.3 to 1.8.5.
- [Changelog](https://github.com/nextcloud-releases/openapi-extractor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-releases/openapi-extractor/compare/v1.8.3...v1.8.5)

---
updated-dependencies:
- dependency-name: nextcloud/openapi-extractor
  dependency-version: 1.8.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-04 01:25:53 +07:00
dependabot[bot] 240a5652f4
build(deps-dev): bump @zip.js/zip.js from 2.8.2 to 2.8.6
Bumps [@zip.js/zip.js](https://github.com/gildas-lormeau/zip.js) from 2.8.2 to 2.8.6.
- [Release notes](https://github.com/gildas-lormeau/zip.js/releases)
- [Commits](https://github.com/gildas-lormeau/zip.js/compare/v2.8.2...v2.8.6)

---
updated-dependencies:
- dependency-name: "@zip.js/zip.js"
  dependency-version: 2.8.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-04 01:07:51 +07:00
Nextcloud bot 451d6d2eee
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-10-04 00:13:12 +07:00
Joas Schilling 76b156b434
ci: Adjust CI to run on PHP 8.2
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-10-03 15:58:33 +07:00
Louis ae89c60e9e
Merge pull request #55522 from nextcloud/artonge/fix/user_ldap_do_not_translate_technical_strings
fix(user_ldap): Do not translate technical strings
2025-10-03 12:25:17 +07:00
Nextcloud bot 856d49fabb
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-10-03 00:14:33 +07:00
nextcloud-command d6ba09c7c7 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-10-02 22:23:46 +07:00
Louis Chemineau df0fe49124 fix(user_ldap): Do not translate technical strings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-10-03 00:16:27 +07:00
Ferdinand Thiessen 8cf585cd5b
Merge pull request #55513 from nextcloud/chore/code-style
chore: ignore ESLint v9 autofixes in git blame
2025-10-02 20:57:17 +07:00
Ferdinand Thiessen 2ea05681ae
Merge pull request #55486 from nextcloud/fix/55003-allow-empty-mail-address
Allow to remove a website in the user profile
2025-10-02 20:51:30 +07:00
Louis 2f3ff8c0dd
Merge pull request #55468 from nextcloud/artonge/fix/user_ldap_ajax_endpoint 2025-10-02 17:38:44 +07:00
Louis Chemineau 1beb275167 chore: Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-10-02 14:29:43 +07:00
nfebe 2053112887 fix(unified-search): Remove hard-coded search result limit
A change added in https://github.com/nextcloud/server/pull/45317 introduced
a hard stop (25) that prevents full search results from showing up.

If there are more than 25 search results for a query only 25 can be seen.

So two main issues:

- Only 25 results can be seen in total no matter what.
- Breaks web client pagination, which typically adds 5 results per request.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-10-02 15:44:36 +07:00
Louis Chemineau c594c68ed9 fix(user_ldap): Correct ajax endpoint URL
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-10-02 15:31:50 +07:00
Côme Chilliet 8c9781d520
Merge pull request #55475 from nextcloud/fix/fix-user_ldap-configuration_creation
fix(user_ldap): Fix configuration creation and copy
2025-10-02 15:07:51 +07:00
Ferdinand Thiessen 16b6d2e67d
chore: ignore ESLint v9 autofixes in git blame
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-02 14:21:25 +07:00
Christian Wolf d40e58db00
fix (settings): Allow for empty websites in the profile to remove the entry completely
Signed-off-by: Christian Wolf <github@christianwolf.email>
2025-10-02 14:21:13 +07:00
Ferdinand Thiessen 4ace101b05
Merge pull request #55495 from nextcloud/chore/eslint-v9
chore: use ESLint v9 for linting
2025-10-02 14:05:53 +07:00
Carl Schwan 34cd91cc86 refactor: Fix some easy psalm issues in Files
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-02 13:34:47 +07:00
Ferdinand Thiessen 7237c05198
chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-02 13:24:16 +07:00