Commit graph

22039 commits

Author SHA1 Message Date
Robin Appelman
10b6d92319 fix: fix mimetype not being updated when changing file extention on object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-11 07:49:18 +00:00
Louis Chemineau
11d92d1ce1
Move oc_file_metadata.metadata migration to a background job
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Max <max@nextcloud.com>
2024-12-02 20:15:23 +01:00
Christoph Wurst
c82505366d fix(migration): Decrypt ownCloud secrets v2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-11-28 09:32:29 +00:00
ernolf
31d56c98aa fix(share): Ensure unique share tokens
- check for token collisions and retry up to three times.
- throw after 3 attempts without finding a unique token.

Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
2024-09-26 10:35:32 +00:00
Côme Chilliet
6283731413 fix: Remove call to non-existing method in 28 and add missing use in test
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-27 11:17:38 +00:00
Côme Chilliet
798f9ee68e fix: Remove shares only if there are no more common groups between users
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-27 11:17:38 +00:00
Louis Chemineau
45a90ee7a7 fix(files_sharing): Delete user shares if needed when user is removed from a group
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-27 11:17:38 +00:00
Arthur Schiwon
c6d8aff393
fix(Token): take over scope in token refresh with login by cookie
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-29 13:48:51 +02:00
Arthur Schiwon
7335c064fc
fix(Session): avoid race conditions on clustered setups
- re-stablishes old behaviour with cache to return null instead of throwing
  an InvalidTokenException when the token is cached as non-existing
- token invalidation and re-generation are bundled in a DB transaction now

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-10 18:54:25 +02:00
Arthur Schiwon
bea11a744f fix(Token): add FILESYSTEM scope with SCOPE_SKIP_PASSWORD_VALIDATION
The scope design requires scopes to be either not specified, or
specified explicitely. Therefore, when setting the
skip-password-validation scope for user authentication from mechanisms
like SAML, we also have to set the filesystem scope, otherwise they will
lack access to the filesystem.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-25 07:37:07 +00:00
Arthur Schiwon
72feb5abcc
Merge pull request #45812 from nextcloud/backport/43942/stable26
[stable26] fix(Session): avoid password confirmation on SSO
2024-06-18 19:10:29 +02:00
Arthur Schiwon
6ea40ab742
Merge pull request #45759 from nextcloud/backport/45355/stable26
[stable26] fix: delete user credentials stored in storages_credentials when user gets deleted
2024-06-18 18:39:58 +02:00
Arthur Schiwon
06c64fdbc6
style(PHP): remove unacceptable empty lines
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-12 19:35:37 +02:00
Arthur Schiwon
0f5c8f9111
fix(Token): make new scope future compatible
- "password-unconfirmable" is the effective name for 30, but a draft
  name was backported.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-12 19:35:37 +02:00
Arthur Schiwon
eea5e1cca2
fix(Session): avoid password confirmation on SSO
SSO backends like SAML and OIDC tried a trick to suppress password
confirmations as they are not possible by design. At least for SAML it was
not reliable when existing user backends where used as user repositories.

Now we are setting a special scope with the token, and also make sure that
the scope is taken over when tokens are regenerated.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-12 19:35:37 +02:00
Louis Chemineau
9f3d1b792c fix(files): Use isRetryable to catch retryable exceptions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-12 08:11:18 +00:00
yemkareems
c9c3c1422e
fix: added missing ICredentialsManager
fix: added missing ICredentialsManager

Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-06-11 10:21:41 +05:30
yemkareems
8b1b965d3c fix: delete user credentials stored in storages_credentials when user gets deleted
Signed-off-by: yemkareems <yemkareems@gmail.com>

[skip ci]
2024-06-10 12:21:03 +00:00
Arthur Schiwon
dc8332deb0
Merge pull request #45463 from nextcloud/backport/45340/stable26
[stable26] fix: Extend SVG reference check
2024-05-23 11:16:30 +02:00
Joas Schilling
eab019c8b3
fix: Correctly check result of function
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-05-22 17:36:46 +02:00
Joas Schilling
350300e584 fix: Extend SVG reference check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-05-22 15:26:16 +00:00
Louis Chemineau
69bb0bf3e8 feat(files)): Add retry logic to cover deadlock situations when moving many files
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-05-07 10:42:24 +02:00
Joas Schilling
404fe47820 fix(CI): Suppress psalm UndefinedClass
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-24 09:28:24 +00:00
Joas Schilling
8689e6eb07 fix(files): Also skip cross storage move with access control
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-24 09:28:24 +00:00
Christopher Ng
b2335b453e fix: Fix avatar images
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-08 17:10:55 -07:00
Robin Appelman
f0e5ed3681
fix SeekableHttpStream::stream_stat errors on failed open
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-27 17:15:07 +01:00
Nextcloud bot
45e4076592
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-26 00:19:52 +00:00
Nextcloud bot
faa751e30b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-25 00:20:26 +00:00
Nextcloud bot
7e5720c7c2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-24 00:20:30 +00:00
Robin Appelman
5ab8439c00 fix: ensure nested mount points are handled in the correct order
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-21 18:01:26 +01:00
Maxence Lange
b688b556c6 fix(share): use share owner to confirm reshare
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-03-20 11:11:26 +00:00
Christoph Wurst
fb37922169 fix(config): Make sure user keys are strings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-03-19 17:34:43 +00:00
Nextcloud bot
237335a698
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-19 00:20:25 +00:00
Nextcloud bot
5c53de119e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-17 00:20:07 +00:00
Nextcloud bot
c2451e7df1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-16 00:19:53 +00:00
Nextcloud bot
64c0b35c0e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-15 00:29:53 +00:00
hopleus
3a88438bed Refactoring getName function
Signed-off-by: hopleus <hopleus@gmail.com>
2024-03-14 14:52:04 +00:00
hopleus
fe79686255 Fixes for getting the file name in the cases when the file name key is received, but it is empty
Signed-off-by: hopleus <hopleus@gmail.com>
2024-03-14 14:52:04 +00:00
Nextcloud bot
2d276c8a65
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-14 00:21:07 +00:00
Julius Härtl
2160260285 fix: Avoid clear cache with prefix
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-08 08:39:56 +00:00
Nextcloud bot
d15d61af92
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-08 00:19:50 +00:00
Nextcloud bot
cce4a78519
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-05 00:20:10 +00:00
Nextcloud bot
8ecc742149
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-02 00:19:32 +00:00
Nextcloud bot
8cae4ba66e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-01 00:39:08 +00:00
John Molakvoæ
85a9716ec3
Merge pull request #43902 from nextcloud/backport/30957/stable26 2024-02-29 11:34:17 +01:00
John Molakvoæ
1a027a9439
Merge pull request #43829 from nextcloud/backport/43787/stable26 2024-02-29 11:24:57 +01:00
John Molakvoæ
b90ed9fa21
Merge pull request #43831 from nextcloud/backport/43428/stable26 2024-02-29 11:24:34 +01:00
Claus-Justus Heine
45c359e739 fix(collaboration): collaboration MailPlugin: Protect access to a potentially missing array component by ??.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2024-02-29 07:52:32 +00:00
Nextcloud bot
59cb14c633
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-29 00:20:50 +00:00
Nextcloud bot
e83ddcfa80
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-28 00:28:57 +00:00