Daniel Calviño Sánchez
2c841b2337
test: Rename data providers to match the name of their tests
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-11 00:54:39 +07:00
Daniel Calviño Sánchez
74fd144003
test: Replace magic value with named constant of share type
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-11 00:54:39 +07:00
Daniel Calviño Sánchez
a0e8d943f1
test: Rename parameters to show that they are expected values
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-11 00:54:38 +07:00
Daniel Calviño Sánchez
45f2683a73
test: Fix parameter documentation
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-11 00:54:38 +07:00
Daniel Calviño Sánchez
dcda12c5db
test: Add integration tests to get collaborators without sharebymail app
...
The "sharebymail" app is enabled by default, so it needs to be enabled
once the scenario ends as other scenarios could expect that the app is
enabled. To solve that now a special step is added that records the
enabled state of the given app and restores it once the scenario ends.
This step only restores the state of already installed apps. If an app
is installed during the test it will not be neither disabled nor
uninstalled after the test ends. Therefore, at least for now, it is
necessary to explicitly call the step to record the app to be restored,
rather than automatically keeping track of the changes in the enabled
state of the apps during the scenario.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-11 00:54:38 +07:00
Daniel Calviño Sánchez
cee2492196
test: Extract function to get apps with certain enabled state
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-11 00:54:37 +07:00
Daniel Calviño Sánchez
c1b475b75e
test: Add tests to get user autocompletes similar to the email ones
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-11 00:54:37 +07:00
Daniel Calviño Sánchez
7441f15a94
test: Extend tests to check the same cases with and without full match
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-11 00:54:36 +07:00
Daniel Calviño Sánchez
e4d58d35fa
test: Add integration tests for getting user and mail collaborators
...
The OCS endpoint expects either an int or an array for "shareType".
However, when using "getRowsHash()" only a single key is taken into
account, so instead of:
| shareType[] | 0 |
| shareType[] | 4 |
the share types are provided in a single row like:
| shareTypes | 0 4 |
and then converted to "shareType[]=0&shareType[]=4" when sending the
request.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-11 00:54:36 +07:00
Daniel Calviño Sánchez
e68e5c3955
test: Add integration tests for getting collaborators by mail addresses
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-11 00:54:35 +07:00
Daniel Calviño Sánchez
27b57b8c86
test: Fix getting returned sharees when there are several results
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-11 00:54:35 +07:00
Daniel Calviño Sánchez
a164ab84d6
test: Check unique display name if provided in the response
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-11 00:54:34 +07:00
Hamza
3d7b3add9a
Merge pull request #55556 from nextcloud/feat/occ/orphaned-keys
...
feat: add occ command to scan and delete orphaned keys
2025-11-10 16:00:09 +07:00
Maxence Lange
503fda6316
Merge pull request #55648 from nextcloud/fix/ocm-discovery-spec-compliant
...
fix(ocm): align discovery process with OCM spec
2025-11-10 08:54:51 +07:00
Nextcloud bot
c39f56f8a1
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-11-10 00:13:26 +07:00
Micke Nordin
bd6aa276da
fix(ocm): align discovery process with OCM spec
...
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-11-09 19:35:57 +07:00
Nextcloud bot
89ffc90bdb
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-11-08 00:13:35 +07:00
Joas Schilling
968a934496
Merge pull request #56284 from nextcloud/ci/noid/prevent-logical-boolean-operators
...
ci(psalm): Add a checker against logical operators
2025-11-07 23:47:53 +07:00
Joas Schilling
d14cf6a8be
Merge pull request #56280 from nextcloud/chore/noid/version-in-crawler-agent
...
Add server version to default crawler user agent
2025-11-07 15:42:53 +07:00
Arthur Schiwon
cd1c45d789
Merge pull request #56281 from nextcloud/revert-56222-artonge/feat/sanitize_groupname
...
Revert "feat(group): Sanitize group names and ids on creation"
2025-11-07 14:33:43 +07:00
Joas Schilling
967a181403
ci(psalm): Add a checker against logical operators
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-11-07 12:07:25 +07:00
Marcel Müller
b91034b3cf
chore: Add server version to default crawler user agent
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-11-07 11:20:56 +07:00
Arthur Schiwon
f4b4cb5493
Revert "feat(group): Sanitize group names and ids on creation"
2025-11-07 10:37:50 +07:00
Nextcloud bot
6ba4ca3d8f
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-11-07 00:13:54 +07:00
John Molakvoæ
52f99e6f6c
Merge pull request #56075 from nextcloud/fix/files-preload-tree-level-2
...
fix(files): preload file tree with 2 level deep
2025-11-06 16:40:19 +07:00
nextcloud-command
b839243ca7
chore(assets): Recompile assets
...
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-11-06 15:28:36 +07:00
skjnldsv
c521b7ca34
fix(files): preload file tree with 2 level deep
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-11-06 15:25:01 +07:00
Louis
03b06e022f
Merge pull request #56226 from nextcloud/feat/package-node-npm-engines-update
...
build: update node and npm engines versions
2025-11-06 16:07:18 +07:00
Louis
cddd666213
Merge pull request #56222 from nextcloud/artonge/feat/sanitize_groupname
...
feat(group): Sanitize group names and ids on creation
2025-11-06 15:24:10 +07:00
Julius Knorr
e67f8e2329
Merge pull request #56225 from nextcloud/fix/direct-login-after-password-reset
...
fix: Force direct login after password reset
2025-11-06 13:59:12 +07:00
nextcloud-command
0fdedc86ee
chore(assets): Recompile assets
...
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-11-06 13:04:09 +07:00
Julius Knorr
853b264cc9
fix: Force direct login after password reset
...
With SSO setups users may otherwise be redirected to the IdP directly
instead of the regular login form that they reset the password for
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-11-06 13:04:09 +07:00
Julius Knorr
e88d140626
Merge pull request #55724 from nextcloud/fix-federation-shares-list
...
Clean old federation shares when select another file/folder
2025-11-06 11:35:35 +07:00
Louis
4850e54ec8
Merge pull request #56215 from nextcloud/artonge/feat/ephemeral_lax_period
...
feat(EphemeralSessions): Introduce lax period
2025-11-06 11:24:01 +07:00
Luka Trovic
f0cfb52439
fix(sharing): clean old federation shares when select another file/folder
...
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2025-11-06 09:50:23 +07:00
Louis
dd7ef0394e
Merge pull request #56117 from nextcloud/artonge/fix/files_versions/do_not_assume_when_migrating
...
fix(files_versions): Do not assume source exist when migrating versions to new storage
2025-11-06 08:23:55 +07:00
Nextcloud bot
718c9dbc0c
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-11-06 00:13:46 +07:00
Arthur Schiwon
4328e28004
Merge pull request #55818 from nextcloud/feat/ocm-accept-folder-share
...
feat(cloud-federation-api): accept folder shares
2025-11-05 22:59:17 +07:00
Micke Nordin
432709328c
feat(cloud-federation-api): Make duplicate entries
...
Solve the problem by adding the provider for both files and folders
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-11-05 20:24:40 +07:00
Micke Nordin
5a7f72c6a6
feat(cloud-federation-api): accept folder shares
...
Normalize resourceType from folder to file in
RequestHandlerController::addShare() to allow accepting
OCM folder shares from oCIS/OpenCloud/CERNBox.
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-11-05 20:24:40 +07:00
Nextcloud bot
14139905cc
build: update node and npm engines versions
...
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-11-05 18:15:37 +07:00
Ferdinand Thiessen
340ea17532
Merge pull request #55870 from nextcloud/chore/phpunit-11
...
chore: migrate to PHPUnit 11
2025-11-05 18:37:20 +07:00
Louis Chmn
989011766e
feat(group): Sanitize group names and ids on creation
...
It does not make sense to allow group name with weird white space sequence going forward.
Same for group ids, in which we do not really want white space.
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-11-05 18:31:38 +07:00
Louis Chmn
c1e151ca6c
fix(files_versions): Do not assume source exist when migrating versions to new storage
...
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-11-05 18:05:27 +07:00
Louis Chmn
ed4a1708f2
feat(EphemeralSessions): Introduce lax period
...
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-11-05 16:08:13 +07:00
Ferdinand Thiessen
6336eac6a5
chore: setting test metadata in annotations is deprecated (use attributes)
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-05 15:42:40 +07:00
Ferdinand Thiessen
b2ffff385a
chore(tests): cleanup previews in teardown
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-05 15:42:40 +07:00
Ferdinand Thiessen
1eeed0a170
refactor(tests): teardown is now always called - also when skipped
...
* ref: https://github.com/sebastianbergmann/phpunit/issues/6394
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-05 15:42:34 +07:00
Ferdinand Thiessen
f1e82b10e6
refactor(tests): `getMockForAbstractClass` is deprecated
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-05 15:42:34 +07:00
Ferdinand Thiessen
b2e767d98c
refactor(tests): `returnValue` is deprecated
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-05 15:42:34 +07:00