Commit Graph

1962 Commits

Author SHA1 Message Date
Benjamin Gaussorgues
f2907f133c Merge pull request #58282 from nextcloud/carl/refactor-migration
refactor(psalm): Modernize migration doc
2026-02-17 14:58:03 +01:00
Nextcloud bot
891ec7bed5 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-02-16 00:20:46 +00:00
Carl Schwan
f6c839d125 refactor(psalm): Modernize migration doc
And remove all the duplication in the subclasses

Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-02-12 11:25:55 +01:00
Ferdinand Thiessen
f075051f4a test: remove testing internal of libraries and test only app code
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-10 14:50:41 +01:00
provokateurin
f12cecb684 feat(rector): Enable SafeDeclareStrictTypesRector
Signed-off-by: provokateurin <kate@provokateurin.de>
2026-02-09 10:59:31 +01:00
Ferdinand Thiessen
009aad6eb7 refactor(files_trashbin): adjust for files library interfaces
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-06 10:28:57 +01:00
Andy Scherzinger
b1a114ded5 Merge pull request #54876 from nextcloud/carl/cleanup-commands-trash
refactor: Commands and background jobs for the trashbin
2026-01-29 13:44:17 +01:00
Nextcloud bot
6e40f6e8a6 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-01-29 00:20:43 +00:00
Carl Schwan
a8d69ffed1 refactor: Commands and background jobs for the trashbin
- Use modern node and SetupManager API
- Avoid passing the user by id and instead use IUser

Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-01-28 21:44:30 +01:00
Carl Schwan
ae73f7aaf5 refactor(setup-manager): Use ISetupManager instead of SetupManager
Keep using the OC API in the mount manager and OC_Utils, but the rest is
now using the public API.

Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-01-27 15:19:19 +01:00
Nextcloud bot
7c83a5bb99 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-01-24 00:20:53 +00:00
Nextcloud bot
dd8b274550 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-01-23 00:21:28 +00:00
Joas Schilling
1d78386806 chore: Bump app versions and requirements
Signed-off-by: Joas Schilling <coding@schilljs.com>
2026-01-22 08:59:28 +01:00
Nextcloud bot
c1dfdace98 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-01-20 00:14:00 +00:00
Carl Schwan
11cf69d8ba fix(psalm): Fix static analysis issues in apps/*/tests
There are still 1200 more to fix before we can enable static analysis
for the tests.

Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-01-16 12:00:51 +01:00
Nextcloud bot
a5225bdf99 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-01-13 00:13:56 +00:00
Nextcloud bot
6fd76bfa0e fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-01-09 00:14:00 +00:00
Josh
5c51b42d3f test(trashbin): Update DAV quotaProvider test cases
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-12-27 00:40:55 -05:00
Josh
80caedb050 chore: php-cs fixup
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-12-27 00:30:19 -05:00
Josh
853db93601 chore: typo fixup
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-12-27 00:26:11 -05:00
Josh
355d6637ff refactor(trashbin): restyle DAV handlers, enhance internal docs, refactor for clarity & robustness
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-12-27 00:07:19 -05:00
Ferdinand Thiessen
9a1fd7a629 chore: adjust code for breaking changes of @nextcloud/paths v3
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-12-22 02:12:19 +01:00
Stephan Orbaugh
582bb11eae Merge pull request #55631 from nextcloud/carl/deprecate-config-user-correctly
refactor: Deprecated user config from IConfig correctly
2025-12-15 17:30:52 +01:00
Carl Schwan
2ae9626fec refactor(user_ldap): Port most of the remaining deprecated IConfig usage
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-12-11 13:27:48 +01:00
skjnldsv
492bdb7010 chore: update @nextcloud/files to 4.0.0
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-12-11 12:44:16 +01:00
Maxence Lange
b18372e637 Merge pull request #56668 from nextcloud/fix/noid/real-account-on-deleted-federation
fix(trashbin): deletedBy of a file from a federated folder
2025-12-04 13:46:43 -01:00
Nextcloud bot
e5367e11ba fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-12-04 00:14:05 +00:00
Joas Schilling
7a5c79b0f2 Merge pull request #56629 from nextcloud/carl/autoloader-bump
chore: Bump autoloader files for new composer version
2025-12-02 16:58:01 +01:00
Carl Schwan
d877262e07 chore: Bump autoloader files for new composer version
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-12-02 10:32:44 +01:00
Maxence Lange
ea8b133910 fix(trashbin): deletedBy of a file from a federated folder
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>

d
2025-12-01 16:25:05 -01:00
Nextcloud bot
590d83993b fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-11-27 00:13:37 +00:00
Ferdinand Thiessen
2a8c20b946 chore: adjust vitest infrastructure to properly run both suits
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-24 17:09:01 +01:00
Nextcloud bot
0f5bf92456 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-11-24 00:14:05 +00:00
Tobias Kaminsky
6f0537b4e9 Merge pull request #56494 from nextcloud/carl/result-improv
Improve IResult
2025-11-20 15:38:17 +01:00
Nextcloud bot
d400b38000 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-11-20 00:14:17 +00:00
Carl Schwan
4d47fdaa85 chore: Run rector with new rules for fetch
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-11-18 17:45:57 +01:00
Nextcloud bot
51cb58be1f fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-11-17 00:13:26 +00:00
Nextcloud bot
7e92820474 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-11-16 00:13:30 +00:00
Ferdinand Thiessen
0059d17ae3 refactor(files_trashbin): migrate app to Vue 3
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-14 17:01:21 +01:00
Nextcloud bot
75281251b1 fix(l10n): Update translations from Transifex
Some checks failed
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
Integration sqlite / changes (push) Has been cancelled
Integration sqlite / integration-sqlite (master, 8.4, main, --tags ~@large files_features) (push) Has been cancelled
Integration sqlite / integration-sqlite (master, 8.4, main, capabilities_features) (push) Has been cancelled
Integration sqlite / integration-sqlite (master, 8.4, main, collaboration_features) (push) Has been cancelled
Integration sqlite / integration-sqlite (master, 8.4, main, comments_features) (push) Has been cancelled
Integration sqlite / integration-sqlite (master, 8.4, main, dav_features) (push) Has been cancelled
Integration sqlite / integration-sqlite (master, 8.4, main, features) (push) Has been cancelled
Integration sqlite / integration-sqlite (master, 8.4, main, federation_features) (push) Has been cancelled
Integration sqlite / integration-sqlite (master, 8.4, main, file_conversions) (push) Has been cancelled
Integration sqlite / integration-sqlite (master, 8.4, main, filesdrop_features) (push) Has been cancelled
Integration sqlite / integration-sqlite (master, 8.4, main, ldap_features) (push) Has been cancelled
Integration sqlite / integration-sqlite (master, 8.4, main, openldap_features) (push) Has been cancelled
Integration sqlite / integration-sqlite (master, 8.4, main, openldap_numerical_features) (push) Has been cancelled
Integration sqlite / integration-sqlite (master, 8.4, main, remoteapi_features) (push) Has been cancelled
Integration sqlite / integration-sqlite (master, 8.4, main, routing_features) (push) Has been cancelled
Integration sqlite / integration-sqlite (master, 8.4, main, setup_features) (push) Has been cancelled
Integration sqlite / integration-sqlite (master, 8.4, main, sharees_features) (push) Has been cancelled
Integration sqlite / integration-sqlite (master, 8.4, main, sharing_features) (push) Has been cancelled
Integration sqlite / integration-sqlite (master, 8.4, main, theming_features) (push) Has been cancelled
Integration sqlite / integration-sqlite (master, 8.4, main, videoverification_features) (push) Has been cancelled
Integration sqlite / integration-sqlite-summary (push) Has been cancelled
Psalm static code analysis / static-code-analysis (push) Has been cancelled
Psalm static code analysis / static-code-analysis-security (push) Has been cancelled
Psalm static code analysis / static-code-analysis-ocp (push) Has been cancelled
Psalm static code analysis / static-code-analysis-ncu (push) Has been cancelled
Close stale issues / stale (push) Has been cancelled
PHPUnit 32bits / phpunit-32bits (8.2) (push) Has been cancelled
PHPUnit 32bits / phpunit-32bits (8.3) (push) Has been cancelled
PHPUnit 32bits / phpunit-32bits (8.4) (push) Has been cancelled
Ask for feedback on PRs / pr-feedback (push) Has been cancelled
Update code signing revocation list / update-code-signing-crl-master (push) Has been cancelled
Update code signing revocation list / update-code-signing-crl-stable22 (push) Has been cancelled
Update code signing revocation list / update-code-signing-crl-stable23 (push) Has been cancelled
Update code signing revocation list / update-code-signing-crl-stable24 (push) Has been cancelled
Update code signing revocation list / update-code-signing-crl-stable25 (push) Has been cancelled
Update code signing revocation list / update-code-signing-crl-stable26 (push) Has been cancelled
Update code signing revocation list / update-code-signing-crl-stable27 (push) Has been cancelled
Update code signing revocation list / update-code-signing-crl-stable28 (push) Has been cancelled
Update code signing revocation list / update-code-signing-crl-stable29 (push) Has been cancelled
Update code signing revocation list / update-code-signing-crl-stable30 (push) Has been cancelled
Update code signing revocation list / update-code-signing-crl-stable31 (push) Has been cancelled
Update code signing revocation list / update-code-signing-crl-stable32 (push) Has been cancelled
Update CA certificate bundle / update-ca-certificate-bundle-master (push) Has been cancelled
Update CA certificate bundle / update-ca-certificate-bundle-stable22 (push) Has been cancelled
Update CA certificate bundle / update-ca-certificate-bundle-stable23 (push) Has been cancelled
Update CA certificate bundle / update-ca-certificate-bundle-stable24 (push) Has been cancelled
Update CA certificate bundle / update-ca-certificate-bundle-stable25 (push) Has been cancelled
Update CA certificate bundle / update-ca-certificate-bundle-stable26 (push) Has been cancelled
Update CA certificate bundle / update-ca-certificate-bundle-stable27 (push) Has been cancelled
Update CA certificate bundle / update-ca-certificate-bundle-stable28 (push) Has been cancelled
Update CA certificate bundle / update-ca-certificate-bundle-stable29 (push) Has been cancelled
Update CA certificate bundle / update-ca-certificate-bundle-stable30 (push) Has been cancelled
Update CA certificate bundle / update-ca-certificate-bundle-stable31 (push) Has been cancelled
Update CA certificate bundle / update-ca-certificate-bundle-stable32 (push) Has been cancelled
PHPUnit SQLite / changes (push) Has been cancelled
PHPUnit SQLite / SQLite (PHP 8.2) (push) Has been cancelled
PHPUnit SQLite / SQLite (PHP 8.3) (push) Has been cancelled
PHPUnit SQLite / SQLite (PHP 8.4) (push) Has been cancelled
PHPUnit SQLite / phpunit-sqlite-summary (push) Has been cancelled
PHPUnit PostgreSQL / changes (push) Has been cancelled
PHPUnit PostgreSQL / PostgreSQL 18 (PHP 8.3) - database tests (push) Has been cancelled
PHPUnit PostgreSQL / PostgreSQL 14 (PHP 8.2) - database tests (push) Has been cancelled
PHPUnit PostgreSQL / PostgreSQL 18 (PHP 8.2) - database tests (push) Has been cancelled
PHPUnit PostgreSQL / PostgreSQL 18 (PHP 8.4) - database tests (push) Has been cancelled
PHPUnit PostgreSQL / phpunit-pgsql-summary (push) Has been cancelled
PHPUnit OCI / changes (push) Has been cancelled
PHPUnit OCI / Oracle 18 (PHP 8.2) - database tests (push) Has been cancelled
PHPUnit OCI / Oracle 11 (PHP 8.2) - database tests (push) Has been cancelled
PHPUnit OCI / Oracle 21 (PHP 8.2) - database tests (push) Has been cancelled
PHPUnit OCI / Oracle 23 (PHP 8.3) - database tests (push) Has been cancelled
PHPUnit OCI / Oracle 23 (PHP 8.4) - database tests (push) Has been cancelled
PHPUnit OCI / phpunit-oci-summary (push) Has been cancelled
PHPUnit nodb / changes (push) Has been cancelled
PHPUnit nodb / No DB unit tests (PHP 8.2) (push) Has been cancelled
PHPUnit nodb / No DB unit tests (PHP 8.3) (push) Has been cancelled
PHPUnit nodb / No DB unit tests (PHP 8.4) (push) Has been cancelled
PHPUnit nodb / phpunit-nodb-summary (push) Has been cancelled
PHPUnit mysql / changes (push) Has been cancelled
PHPUnit mysql / MySQL 8.0 (PHP 8.3) - database tests (push) Has been cancelled
PHPUnit mysql / MySQL 8.0 (PHP 8.2) - database tests (push) Has been cancelled
PHPUnit mysql / MySQL 8.4 (PHP 8.2) - database tests (push) Has been cancelled
PHPUnit mysql / MySQL 8.4 (PHP 8.4) - database tests (push) Has been cancelled
PHPUnit mysql / phpunit-mysql-summary (push) Has been cancelled
PHPUnit sharding / changes (push) Has been cancelled
PHPUnit sharding / Sharding - MySQL 8.4 (PHP 8.2) - database tests (push) Has been cancelled
PHPUnit sharding / phpunit-mysql-summary (push) Has been cancelled
PHPUnit memcached / changes (push) Has been cancelled
PHPUnit memcached / Memcached (PHP 8.2) (push) Has been cancelled
PHPUnit memcached / Memcached (PHP 8.3) (push) Has been cancelled
PHPUnit memcached / Memcached (PHP 8.4) (push) Has been cancelled
PHPUnit memcached / phpunit-memcached-summary (push) Has been cancelled
PHPUnit MariaDB / changes (push) Has been cancelled
PHPUnit MariaDB / MariaDB 10.11 (PHP 8.3) - database tests (push) Has been cancelled
PHPUnit MariaDB / MariaDB 10.11 (PHP 8.2) - database tests (push) Has been cancelled
PHPUnit MariaDB / MariaDB 10.3 (PHP 8.2) - database tests (push) Has been cancelled
PHPUnit MariaDB / MariaDB 10.6 (PHP 8.2) - database tests (push) Has been cancelled
PHPUnit MariaDB / MariaDB 11.4 (PHP 8.2) - database tests (push) Has been cancelled
PHPUnit MariaDB / MariaDB 11.8 (PHP 8.2) - database tests (push) Has been cancelled
PHPUnit MariaDB / MariaDB 11.8 (PHP 8.4) - database tests (push) Has been cancelled
PHPUnit MariaDB / phpunit-mariadb-summary (push) Has been cancelled
Node tests / changes (push) Has been cancelled
Node tests / versions (push) Has been cancelled
Node tests / test (push) Has been cancelled
Node tests / handlebars (push) Has been cancelled
Node tests / node-test-summary (push) Has been cancelled
PHPUnit files_external generic / changes (push) Has been cancelled
PHPUnit files_external generic / php8.2-generic (push) Has been cancelled
PHPUnit files_external generic / php8.3-generic (push) Has been cancelled
PHPUnit files_external generic / php8.4-generic (push) Has been cancelled
PHPUnit files_external generic / files-external-summary (push) Has been cancelled
PHPUnit files_external WebDAV / changes (push) Has been cancelled
PHPUnit files_external WebDAV / php8.2-webdav (push) Has been cancelled
PHPUnit files_external WebDAV / php8.3-webdav (push) Has been cancelled
PHPUnit files_external WebDAV / php8.4-webdav (push) Has been cancelled
PHPUnit files_external WebDAV / files-external-webdav-summary (push) Has been cancelled
PHPUnit files_external SMB / changes (push) Has been cancelled
PHPUnit files_external SMB / php8.2-smb (push) Has been cancelled
PHPUnit files_external SMB / files-external-smb-summary (push) Has been cancelled
Samba Kerberos SSO / changes (push) Has been cancelled
Samba Kerberos SSO / smb-kerberos-sso (push) Has been cancelled
Samba Kerberos SSO / sftp-summary (push) Has been cancelled
PHPUnit files_external sFTP / changes (push) Has been cancelled
PHPUnit files_external sFTP / php8.2-openssh (push) Has been cancelled
PHPUnit files_external sFTP / php8.4-openssh (push) Has been cancelled
PHPUnit files_external sFTP / sftp-summary (push) Has been cancelled
PHPUnit files_external S3 / changes (push) Has been cancelled
PHPUnit files_external S3 / php8.3-s3-minio (push) Has been cancelled
PHPUnit files_external S3 / php8.2-s3-minio (push) Has been cancelled
PHPUnit files_external S3 / php8.4-s3-minio (push) Has been cancelled
PHPUnit files_external S3 / php8.3-s3-localstack (push) Has been cancelled
PHPUnit files_external S3 / php8.2-s3-localstack (push) Has been cancelled
PHPUnit files_external S3 / php8.4-s3-localstack (push) Has been cancelled
PHPUnit files_external S3 / s3-external-summary (push) Has been cancelled
PHPUnit files_external FTP / changes (push) Has been cancelled
PHPUnit files_external FTP / php8.2-proftpd (push) Has been cancelled
PHPUnit files_external FTP / php8.2-pure-ftpd (push) Has been cancelled
PHPUnit files_external FTP / php8.2-vsftpd (push) Has been cancelled
PHPUnit files_external FTP / php8.4-proftpd (push) Has been cancelled
PHPUnit files_external FTP / php8.4-pure-ftpd (push) Has been cancelled
PHPUnit files_external FTP / php8.4-vsftpd (push) Has been cancelled
PHPUnit files_external FTP / ftp-summary (push) Has been cancelled
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-11-05 00:14:08 +00:00
Ferdinand Thiessen
d6d6747a73 refactor: apply rector rules for PHPUnit 10
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-27 21:56:04 +01:00
Carl Schwan
9e77ab44fc chore(composer): Bump autoloader
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-27 13:12:47 +01:00
Thomas Citharel
b44f35a42a refactor(trashbin): get expiration class directly from Server::get
instead of going through Application container

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2025-10-23 23:20:10 +02:00
Thomas Citharel
05d5fdb429 fix(trashbin): include $availableSpace = 0 in checks when we need to delete expired files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2025-10-23 23:20:10 +02:00
Thomas Citharel
29d72bfb32 revert(trashbin): 195d347 due to misunderstanding
See https://github.com/nextcloud/documentation/pull/13017#issuecomment-3425782690

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2025-10-23 23:20:10 +02:00
Côme Chilliet
a36ebef1c3 Merge pull request #55742 from nextcloud/fix-trashbin-expiration
fix(trashbin): make sure the trashed files are deleted if we don't have any available space left
2025-10-20 10:47:17 +02:00
Ferdinand Thiessen
2b39cb49ab refactor: adjust code for breaking changes in @nextcloud/dialogs v7
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-15 13:45:12 +02:00
Thomas Citharel
cea23fb53d refactor(trashbin): make the ExpireTrash background job use the Trashbin::expire static method
Instead of handling everything itself, and so that the available space is considered in deleting
trashed files even if not expired yet.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2025-10-14 11:07:25 +02:00
Thomas Citharel
195d347240 fix(trashbin): make sure the trashed files are deleted if we don't have any available space left
Logic taken from the files_versions expiration. It seems the second
argument from the isExpired method wasn't even used anywhere.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2025-10-14 10:58:30 +02:00
provokateurin
8d8f94b8ce fix(files): Always return a valid mimetype
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-10-06 09:06:17 +02:00