Commit Graph

24752 Commits (54b0fcf87e174430d5a67bd34f2b2ae30bafbc4a)

Author SHA1 Message Date
Joas Schilling 259919e9fd fix(files): Don't do session related work in the constructor of the View
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-05 11:34:03 +07:00
Cleopatra Enjeck M. 22fa59b378 fix: use mb_strtolower to convert login name
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-05 06:20:52 +07:00
Cleopatra Enjeck M. 9dbf067f31 fix: Improve string comparison
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-05 06:20:52 +07:00
Cleopatra Enjeck M. dc68d66945 fix: Use case insensitive check when validating login name
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-05 06:20:52 +07:00
Nextcloud bot 03a5f923c0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-05 00:22:58 +07:00
Stephan Orbaugh 34bd751923
Merge pull request #51202 from nextcloud/backport/51194/stable30
[stable30] refactor(TempManager): Simplify and unify implementations and remove legacy behavior
2025-03-04 10:20:00 +07:00
provokateurin 194f5eae1e
fix(Share20\Manager): Propagate user and group deletion to remote share providers
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 07:58:21 +07:00
provokateurin 7b5c9feca1
fix(Share20): Convert broken hooks to IEventListener
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 07:58:21 +07:00
provokateurin 552eb2678f
refactor(TempManager): Simplify and unify implementations and remove legacy behavior
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 07:49:20 +07:00
Nextcloud bot 745b72b0c5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-04 00:23:44 +07:00
Andy Scherzinger f69a4ff407
Merge pull request #51089 from nextcloud/backport/51051/stable30
[stable30] feat: Close sessions created for login flow v2
2025-03-03 15:25:50 +07:00
Louis Chemineau 0c809ccc7f
fix(login): Support subfolder install for ephemeral sessions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 11:42:43 +07:00
Louis Chemineau a25a8f4f53
fix(login): Also check legacy annotation for ephemeral sessions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 11:42:43 +07:00
Louis Chemineau 9141eb473f
feat: Close sessions created for login flow v2
Sessions created during the login flow v2 should be short lived to not leave an unexpected opened session in the browser.

This commit add a property to the session object to track its origin, and will close it as soon as possible, i.e., on the first non public page request.

Signed-off-by: Louis Chemineau <louis@chmn.me>

[skip ci]

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 11:38:03 +07:00
Nextcloud bot 0a027ecd6d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-03 00:23:08 +07:00
Nextcloud bot 02aae2a0ea
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-02 00:23:00 +07:00
Nextcloud bot 63b99d8c13
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-01 00:45:21 +07:00
Nextcloud bot bc807f7d35
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-28 00:23:37 +07:00
Nextcloud bot 62aa5a8214
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-27 00:22:41 +07:00
Joas Schilling 812a4d519e
Merge pull request #51057 from nextcloud/backport/51049/stable30
[stable30] fix(l10n): Improve english source strings
2025-02-26 16:20:14 +07:00
Joas Schilling a5e6f46eb0
fix(l10n): Improve english source strings
- No leading/trailing whitespace
- Use asci single quote

Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-26 15:06:47 +07:00
Louis Chemineau 854c3bcc62 fix: Report duplicated extra files in integrity check
The `array_diff` is not comparing the array keys. This means that an extra key with an expected hash will not be reported. Using `array_diff_assoc` will report such files.

For example, copying `status.php` to `status 2.php`, will only be reported with the new version.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-26 13:25:16 +07:00
Nextcloud bot 6a92fc0eae
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-26 00:22:03 +07:00
Louis Chemineau d3b4b21e29 fix: Initialize lastConnectionCheck after first connection
We are checking whether the DB connection is alive once every 30 seconds. But when we are lacking the last check time, we are skipping the check and reconnect logic. This is causing the reconnect logic to never fire in those cases.

It seems to me that "those cases", are actually always the case, as upon initialization, we are not using the proper connection name to store the time.

In the `connect()` logic, when `$this->_conn` is null, `$this->getConnectionName()` is returning `replica`, so `$this->lastConnectionCheck` will be equal to `['replica' => time()];`

60711ea4cf/lib/private/DB/Connection.php (L215-L221)

60711ea4cf/lib/private/DB/Connection.php (L891-L893)

2b6d7bf65f/doctrine/dbal/src/Connections/PrimaryReadReplicaConnection.php (L136-L139)

Then, if the connection name ends up as being 'primary', the reconnect logic is skipped:

60711ea4cf/lib/private/DB/Connection.php (L874-L880)

Follow-up of https://github.com/nextcloud/server/pull/41819

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-25 11:07:34 +07:00
Nextcloud bot 26957e8a79
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-24 21:01:18 +07:00
Ferdinand Thiessen d3dbe3ab2c
refactor: convert sanitize account properties repair step to background job
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-24 16:44:49 +07:00
Ferdinand Thiessen bb73628ebe
fix: Optimize repair step performance
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-24 16:42:45 +07:00
Ferdinand Thiessen 9fdd48dd2d
fix: validate account properties as a repair step
Replace `ValidatePhoneNumber` from Nextcloud 21 with a new repair step,
`ValidateAccountProperties` which validates and sanitizes all account
properties.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-24 16:42:44 +07:00
Nextcloud bot c4467ba1e4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-24 00:22:12 +07:00
Nextcloud bot c25c45cc34
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-23 00:22:14 +07:00
Nextcloud bot efd8072040
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-22 00:22:10 +07:00
Johannes Endres b61ae01c52 fix: Change UserAgent to *cloud
Co-authored-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Johannes Endres <je@johannes-endres.de>
2025-02-21 09:29:26 +07:00
Nextcloud bot 3803fc5481
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-20 00:22:24 +07:00
Joas Schilling 0598fd74cd
Merge pull request #50900 from nextcloud/backport/50896/stable30
[stable30] fix(cron): Keep job class limitation when searching for the next job
2025-02-19 13:34:00 +07:00
Ferdinand Thiessen f448d24507
Merge pull request #50877 from nextcloud/backport/50807/stable30
[stable30] fix(files): properly forward open params from short urls
2025-02-19 12:42:50 +07:00
Joas Schilling 2d1bfad11e fix(cron): Keep job class limitation when searching for the next job
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-19 09:27:50 +07:00
skjnldsv 137ff37cf8 fix(files): properly forward open params from short urls
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-19 10:13:55 +07:00
Nextcloud bot 78f532dd31
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-19 00:21:59 +07:00
Nextcloud bot 6f30c32aca
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-18 00:22:14 +07:00
Andy Scherzinger 682c8e6a61
Merge pull request #50796 from nextcloud/backport/50781/stable30
[stable30] perf(files): faster query to fetch incomplete directories
2025-02-17 19:15:58 +07:00
Daniel 88b43178cb
Merge pull request #49481 from nextcloud/backport/49004/stable30
[stable30] Bug/48678/restore dav error response
2025-02-15 16:50:32 +07:00
Robin Appelman 33fb176651 fix: make locked exception path relative to the view
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-15 14:42:51 +07:00
Git'Fellow 4a8bea67c7 fix(repair): PHP8.3 deprecation warning
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-02-15 11:08:58 +07:00
Nextcloud bot edff281844
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-15 00:22:09 +07:00
Benjamin Gaussorgues 765b4921ff
perf(files): faster query to fetch incomplete directories
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-02-14 10:57:26 +07:00
Andy Scherzinger 7bf1126b1f
Merge pull request #49657 from nextcloud/backport/48769/stable30
[stable30] Fix incorrect permissions when copying shared files
2025-02-14 10:30:46 +07:00
Andy Scherzinger 0c7ddb3dab
Merge pull request #50804 from nextcloud/backport/48651/stable30
[stable30] fix(files): Correctly copy the cache information during copy operations
2025-02-14 07:40:30 +07:00
Nextcloud bot 213d38f510
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-14 00:22:20 +07:00
Louis Chemineau a663b3e0cd fix(files): Correctly copy the cache information on copy operations
Needed to copy the `encrypted` flag of encrypted files when those files are two level down in a moved folder.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-13 23:35:59 +07:00
Robin Appelman 9f1666ef3d fix: use scan_permissions when copying cache items
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-13 18:17:31 +07:00
Robin Appelman 5c9a3a2423 fix: store unmaked source permissions as scan_permissions when loading share cache items
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-13 18:17:31 +07:00
Robin Appelman da334737e4 fix: rework move into object store to better preserve fileids
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-13 17:31:51 +07:00
Robin Appelman e85d5df5f0 fix: preserve fileid when moving from objectstore to non-objectstore
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-13 17:31:51 +07:00
Robin Appelman 9fd7dfd1c2 fix: ensure source folder is removed from cache when moving to objectstore
otherwise this causes confusion down the line as it's contents will be moved to the new cache

Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-13 17:31:51 +07:00
Marcel Klehr befca3e4b9 fix(TaskProcessing\Manager): Always use distributed cache and use PHP serialize
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-02-13 16:44:10 +07:00
Marcel Klehr be1759fcdc fix(TaskProcessing\Manager): Always use distributed cache and use PHP serialize
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-02-13 16:44:10 +07:00
Andy Scherzinger 094ea5c885
Merge pull request #50761 from nextcloud/backport/50324/stable30
[stable30] fix: don't use cached root info from shared cache if the watcher has detected an update
2025-02-13 16:43:50 +07:00
Andy Scherzinger 6964531134
Merge pull request #50704 from nextcloud/backport/50660/stable30
[stable30] fix: make sure we process mime extensions as string
2025-02-13 16:42:50 +07:00
John Molakvoæ e87bca73d4
Merge pull request #50777 from nextcloud/backport/46480/stable30
[stable30] fix(Mailer): Fix sendmail binary fallback
2025-02-13 11:58:37 +07:00
Nextcloud bot e8fbb315f8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-13 00:21:54 +07:00
Josh 431c6d0609
fix(Mailer): Fix sendmail binary fallback
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-02-12 13:23:11 +07:00
Nextcloud bot bfa0888217
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-12 00:22:42 +07:00
Robin Appelman 3bfcd8371b
fix: don't use cached root info from shared cache if the watcher has detected an update
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-11 16:21:37 +07:00
Nextcloud bot 6c7be99290
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-10 00:21:59 +07:00
Nextcloud bot e3429afd43
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-09 00:21:59 +07:00
Nextcloud bot 66d7e8a5b7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-08 00:21:57 +07:00
Ferdinand Thiessen 96384cd950
fix(FediverseAction): Ensure valid fediverse links are generated
Harden also for existing values of the profile.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-07 12:41:49 +07:00
Ferdinand Thiessen 57fc8f1182
fix(AccountManager): Sanitize social media handles
Ensure to only accept valid X and fediverse handles.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-07 12:41:49 +07:00
John Molakvoæ 86408a5be7 fix: psalm and OCP @since declarations
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-02-06 15:15:41 +07:00
skjnldsv 80a4cb586f fix: make sure we process mime extensions as string
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-06 15:15:41 +07:00
John Molakvoæ 0e6f3ba02b
Merge pull request #50676 from nextcloud/backport/50193/stable30
[stable30] fix(oauth2): adjust db schemas when migrating from owncloud
2025-02-06 10:23:39 +07:00
Nextcloud bot b34530166c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-06 00:22:10 +07:00
Richard Steinmetz 2f4d646246 fix(oauth2): adjust db schemas when migrating from owncloud
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-02-05 21:18:45 +07:00
Robin Appelman 5d094feee0
fix: explicitly ignore nested mounts when transfering ownership
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-05 09:09:04 +07:00
Robin Appelman 6cf97e929b
fix: translate mount move error messages
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-05 09:09:03 +07:00
Robin Appelman 68829ad47c
fix: improve checks for moving shares/storages into other mounts
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-05 09:08:58 +07:00
Nextcloud bot 6118649d54
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-05 00:22:05 +07:00
Nextcloud bot 63ca2d403b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-04 00:21:33 +07:00
Nextcloud bot 6dc8a85caf
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-03 00:39:38 +07:00
Nextcloud bot 259265bc6c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-01 00:22:05 +07:00
Ferdinand Thiessen 72e5d6df75
fix(OC_Files): Fix error response when `event` was not set
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 19:17:22 +07:00
Ferdinand Thiessen dd5ce9eaa4
fix(sharing): Move permission validation to share manager
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 18:21:26 +07:00
Kate eef6ef3244
Merge pull request #50564 from nextcloud/backport/50530/stable30 2025-01-31 08:51:33 +07:00
Nextcloud bot 67f417b7ee
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-31 00:22:36 +07:00
Nils Wenninghoff b21070090b
fix(ConvertType): Read dbtype in createConnectionParams and remove safeguard
Signed-off-by: Nils Wenninghoff <nils@ungemein.cool>
2025-01-30 12:19:39 +07:00
Louis Chemineau 9e6cc5737f
fix: Exclude non accepted shares when computing access list
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-30 11:07:23 +07:00
Andy Scherzinger 93a0f036a9
Merge pull request #50527 from nextcloud/backport/50494/stable30
[stable30] fix(performance): use low resolution for blurhash
2025-01-29 22:02:07 +07:00
Richard Steinmetz b081f3b7c4 fix(s3): treat empty sse_c_key as not set
Co-authored-by: Christian Becker <christian@dabecka.de>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-29 17:34:47 +07:00
Max 12983f8079 fix(performance): use low resolution for blurhash
Improve blurhash performance by using a low res image.
The results are hard to destinguish visualy.
It is a **blur** hash after all.

Signed-off-by: Max <max@nextcloud.com>
2025-01-29 10:44:00 +07:00
Kate c1cd784c89
Merge pull request #50437 from nextcloud/fix/encoding-wrapper-scanner-stable30 2025-01-29 11:26:23 +07:00
Ferdinand Thiessen a82a097e6a
fix(TemplateLayout): `core` is not an app but the server itself
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-29 08:37:33 +07:00
Ferdinand Thiessen ef015a99d2
fix: Correctly return app id and app version for `core` styles and images
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-29 08:37:33 +07:00
Marcel Klehr fb7f1631d0
Merge pull request #50418 from nextcloud/backport/50331/stable30
[stable30] fix(taskprocessing): More caching
2025-01-28 23:03:09 +07:00
Ferdinand Thiessen 67e0ef5b72
fix(files): Do not array access null value
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-28 20:51:42 +07:00
Marcel Klehr 4e10081e2a fix(TaskProcessing\Manager): Add missing cache->get()
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-28 10:10:18 +07:00
Nextcloud bot f262fdf4b3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-28 00:22:28 +07:00
Marcel Klehr c79179e22f fix(TaskProcessing): Cache providersById in getPreferredProviders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>

[skip ci]
2025-01-27 21:13:16 +07:00
Marcel Klehr 5b44411256 fix: copypasta
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-27 21:13:16 +07:00
Marcel Klehr 69bd525223 fix(taskprocessing): cache provider settings in distributed cache as well
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-27 21:13:16 +07:00
Marcel Klehr 0a91ca4c51 fix(TaskProcessing\Manager): Cache the result of parsing JSON
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-27 21:13:16 +07:00
Marcel Klehr 7733a036cb fix(taskprocessing): Cache result of getAvailableTaskTypes between requests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-27 21:13:16 +07:00
Louis Chemineau 474d93625b fix: Metadata field search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-27 18:57:00 +07:00
Dario Mehlich 654034638e fix(preview): Filter for folders in cleanup old preview job
Fixes #35936.
When running `OC\Preview\BackgroundCleanupJob`, the main iteration loop
in `run()` expects a folder, however, `getOldPreviewLocations()`
currently does not filter by mimetype and therefore can yield a
non-folder entry which causes an Exception when constructing the Folder
impl.
Filtering for `httpd/unix-directory`, as `getNewPreviewLocations()`
already does, fixes this issue.

Signed-off-by: Dario Mehlich <d.mehlich@gmail.com>
2025-01-27 15:09:36 +07:00
Joas Schilling 241c9f348d fix(log): Fix log level handling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-27 10:22:20 +07:00
provokateurin 17cded643c fix(IInitialState): Allow provideLazyInitialState() closure to return array
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-27 05:42:33 +07:00
Nextcloud bot 6f4c3b73e0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-27 00:21:59 +07:00
Ferdinand Thiessen 9658c051de fix: Ensure `label` is always a string
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-26 19:59:25 +07:00
Nextcloud bot be7de4fbf9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-26 00:22:47 +07:00
Andy Scherzinger baa6739cde
Merge pull request #50387 from nextcloud/backport/46780/stable30
[stable30] fix(TaskProcessing): Catch JSON encode errors in Manager#setTaskResult
2025-01-25 08:57:22 +07:00
Nextcloud bot 4a702554af
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-25 00:42:59 +07:00
Marcel Klehr 5f55acb2eb fix(TaskProcessing): Catch JSON encode errors in Manager#setTaskResult
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-24 23:53:48 +07:00
Ferdinand Thiessen 99c1838f87
Merge pull request #50327 from nextcloud/backport/50083/stable30
[stable30] fix: Trim tags on adding or editing
2025-01-24 20:09:34 +07:00
Nextcloud bot 4a5cb44ab1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-24 00:21:26 +07:00
Nextcloud bot 286ceead15
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-23 13:39:59 +07:00
Nextcloud bot 5c86df4343
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-23 00:21:56 +07:00
Kostiantyn Miakshyn bc7ce1c84a fix: Trim tags on adding or editing
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
2025-01-23 00:10:10 +07:00
Robert Riemann 758fe6dc9d fix: add sse_c_key from S3 object storage properties config to list of sensitive values
Signed-off-by: Robert Riemann <robert@riemann.cc>
2025-01-22 09:09:24 +07:00
Nextcloud bot 031aebed3b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-22 00:21:52 +07:00
Nextcloud bot 01e9329dc9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-21 00:21:13 +07:00
Kate 3d0e11770b
Merge pull request #50106 from nextcloud/backport/50070/stable30 2025-01-20 17:57:45 +07:00
Kate 1c99b367be
Merge pull request #49991 from nextcloud/backport/49887/stable30 2025-01-20 17:28:02 +07:00
Robin Appelman a2bcf725a6
chore: psalm fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-20 15:31:05 +07:00
Git'Fellow 1efa72d91a fix(TemplateManager): Remove warning message
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-01-20 13:41:38 +07:00
Robin Appelman 2f9b54ab38
fix: don't skip scanner users filesystem if they have a mountpoint at /<user>/files/
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-20 14:27:24 +07:00
Nextcloud bot f67a5550c7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-20 00:21:10 +07:00
Kostiantyn Miakshyn 77e8a55405 fix: Apply enforce theme config for anonymous users as well
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
2025-01-18 21:00:33 +07:00
Nextcloud bot f44ca12cb3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-17 00:21:36 +07:00
Nextcloud bot 082a3faf4b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-14 07:58:55 +07:00
Nextcloud bot a0ce8e4ee7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-13 00:21:23 +07:00
Nextcloud bot f1899ed633
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-11 00:21:16 +07:00
Nextcloud bot 1fd8539a58
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-10 00:21:29 +07:00
provokateurin 9f95760734 docs(HTTP): Add proper docs for CORS attribute
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-09 11:07:09 +07:00
provokateurin cb81f6c11c fix(Http): Only allow valid HTTP status code values via template
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-08 10:14:12 +07:00
Nextcloud bot 9de0452071
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-08 00:21:18 +07:00
Pauli Järvinen c57495a429 fix(preview): Do not try to parse M3U files as MP3
By default, the MP3 audio files get the mimetype `audio/mpeg` and the M3U and
M3U8 playlist files get the mimetype `audio/mpegurl`. PreviewManager had such
a problem that it registered the MP3 preview provider with a regular
expression which matched also the M3U files. This caused an error message to
be logged on the info (1) level for each M3U file every time a folder with
such files was viewed: "Error while getting cover from mp3 file:
File /path/to/some/playlist.m3u is not mpeg/audio!".

Signed-off-by: Pauli Järvinen <pauli.jarvinen@gmail.com>
2025-01-07 19:07:19 +07:00
provokateurin 8b322ff12c fix(HTTP): Adjust JSONResponse data type
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-07 05:41:45 +07:00
Nextcloud bot 64bbe80f3f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-06 00:30:38 +07:00
Joas Schilling b9493cc12d fix(logger): Prevent infinite recursion with log.condition => matches
When we need to check the log condition for a user matches,
there is a risk that something on the way checks the log level
and would result in an infinite loop.
So we simply check if it's a nested call and use the default
warning level in that case.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-03 11:12:48 +07:00
Nextcloud bot 9d28389231
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-03 00:21:42 +07:00
Git'Fellow c2b05000c7 fix(shares): Remove noisy text from emails
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-12-30 18:36:55 +07:00
Git'Fellow 999f5dee00
Merge pull request #49878 from nextcloud/backport/49746/stable30
[stable30] fix(share): Don't print twice the same text on emails
2024-12-30 19:35:20 +07:00
Nextcloud bot 818d7687c3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-28 00:21:39 +07:00
Nextcloud bot cb05cfcf77
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-26 00:21:48 +07:00
Nextcloud bot 8488472727
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-25 00:22:12 +07:00
Nextcloud bot 437e96317f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-24 00:21:36 +07:00
Nextcloud bot ed9c919537
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-22 00:21:51 +07:00
Nextcloud bot 57f531315f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-21 00:21:54 +07:00
Côme Chilliet 28c885dbf2
fix: Use getRelativePath method to check if node is inside folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-19 14:44:08 +07:00
Côme Chilliet e30cd2f03f
fix: Fix promotion of reshares from subsubfolders
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-19 14:44:02 +07:00
Côme Chilliet ec85a49cad
chore: Add comment to make code clearer
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-19 14:43:44 +07:00
Côme Chilliet 04b6eef246
chore: Turn method description into phpdoc
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2024-12-19 14:43:37 +07:00
Côme Chilliet c7dbe7e71c
fix(shares): Promote reshares into direct shares when share is deleted
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-19 14:43:21 +07:00
Côme Chilliet 16decdede7
fix: Tidy up code for reshare deletion
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-19 14:41:50 +07:00
Luka Trovic 024f98a8a1
fix: delete re-shares when deleting the parent share
Note: Removed part about fix command from original PR

Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
(cherry picked from commit 42181c2f49)
2024-12-19 14:39:44 +07:00
Nextcloud bot 7e57d0df2b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-19 00:21:41 +07:00
Nextcloud bot 5e6b36aa2a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-18 00:22:31 +07:00
skjnldsv b356cba2a6 fix: make sure we have a valid scheme when testing ocm urls
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-17 15:23:59 +07:00
provokateurin 5cc14e2618 fix(View): Catch exceptions when executing mkdir for non-existent parents
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-17 09:40:42 +07:00
Git'Fellow 0011d83bcc fix(share): Don't print twice the same information
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-12-16 07:17:32 +07:00
Git'Fellow 28c6c63cc5 fix(TemplateManager): Make sure TemplateFolder is a Folder
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-12-16 06:05:23 +07:00
Nextcloud bot 748f7dbbbe
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-16 00:21:31 +07:00
Nextcloud bot 326dadb869
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-15 00:21:23 +07:00
SebastianKrupinski 7bf1863545 fix: replace null character when serializing
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-13 20:41:06 +07:00
Nextcloud bot f3129c4e82
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-14 00:21:45 +07:00
Kate 98187b5b03
Merge pull request #49838 from nextcloud/backport/49832/stable30
[stable30] Improve select handling for sharded queries
2024-12-13 08:21:57 +07:00
Nextcloud bot 0718ac7c92
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-13 00:21:12 +07:00
Robin Appelman 68db21f829 fix: improve logic for ensuring join columns are selected for partitioned queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-12 21:44:05 +07:00
Robin Appelman f333fbb8f5 fix: handle calling select on partitioned queries with an array of columns
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-12 21:44:05 +07:00
Côme Chilliet ca1e3828aa
fix(shares): Wrap exceptions from password validation to set code to 400
This fixes a regression that bad password returned 403 instead of 400
 because of previous changes.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-12 15:38:18 +07:00
Côme Chilliet dab953970d
fix(files_sharing): Do not wrap password policy exception into a generic one
Let the controller access the HintException and show the error to the user.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-12 15:38:18 +07:00
Louis cabedbf9c3
Revert "[stable30] fix: Handle copy of folders containing live photos" 2024-12-12 14:28:09 +07:00
John Molakvoæ d8c3425878
Merge pull request #49650 from nextcloud/backport/49293/stable30
[stable30] fix: Handle copy of folders containing live photos
2024-12-12 14:19:55 +07:00
John Molakvoæ 00d225aacb
Merge pull request #49165 from nextcloud/backport/48563/stable30 2024-12-12 13:32:37 +07:00
John Molakvoæ d108a12b0e
Merge pull request #49794 from nextcloud/backport/40394/stable30
[stable30] fix mimetype not being updated when changing file extention on objectstore
2024-12-12 13:19:59 +07:00
John Molakvoæ de61cbeda1
Merge pull request #49656 from nextcloud/backport/49551/stable30
[stable30] fix: don't propagate future mtimes
2024-12-12 13:14:08 +07:00
Nextcloud bot c87755d955
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-12 00:21:31 +07:00
Robin Appelman c3a2d789f1 fix: fix mimetype not being updated when changing file extention on object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-11 09:00:44 +07:00
Nextcloud bot e7e902c304
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-11 00:21:47 +07:00
Nextcloud bot 394527e24e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-10 00:21:15 +07:00
Nextcloud bot 43539073f9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-08 00:36:57 +07:00
Nextcloud bot eda37c0a62
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-06 00:22:29 +07:00
Louis Chemineau 9ff3ba7ce0
fix: Correctly create NonExistingFolder during copy
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-12-05 10:35:42 +07:00
Robin Appelman be7b6a7b1b
test: add some minimal testing for metadata storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-05 10:35:24 +07:00
Robin Appelman ca33a62ec6
fix: smuggle storage id to metadata insert queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-05 10:35:24 +07:00
Robin Appelman 46ed8cdfde fix: don't propagate future mtimes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-04 19:14:51 +07:00
Nextcloud bot 1ff90dc3da
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-04 00:21:35 +07:00
Nextcloud bot 833fa9e5f3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-01 00:22:39 +07:00
Louis Chemineau 97732de328
feat: Use inline password confirmation in external storage settings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-11-28 13:03:51 +07:00
Christoph Wurst 40e60366fa
Merge pull request #49537 from nextcloud/backport/49523/stable30
[stable30] fix(migration): Decrypt ownCloud secrets v2
2024-11-28 11:28:56 +07:00
Daniel 3e19016770
Merge pull request #49497 from nextcloud/backport/49494/stable30
[stable30] fix: throw correct exception type when we can't verify if an s3 bucket exists
2024-11-28 10:38:39 +07:00
Christoph Wurst b385520f21
fix(migration): Decrypt ownCloud secrets v2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-11-28 09:43:47 +07:00
Nextcloud bot 16df6aa7c8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-28 00:24:20 +07:00
Joas Schilling 916e050bb5 fix(activity): Fix activity object type warnings
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-27 12:17:49 +07:00
Robin Appelman 44727d4862
fix: fix availability wrapper not applying
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-26 18:50:00 +07:00
Robin Appelman 3522819624
fix: throw correct exception type when we can't verify if an s3 bucket exists
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-26 18:49:56 +07:00
provokateurin 8e9e893d29 fix(OCMDiscoveryService): Also cache error results during discovery
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-25 11:45:52 +07:00
provokateurin a7f5b452d1
fix(BackgroundJobs): Adjust intervals and time sensitivities
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-25 08:38:58 +07:00
provokateurin af800c8f9a
feat(TimedJob): Add debug log about time sensitive jobs with long intervals
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-25 08:38:53 +07:00
Nextcloud bot ba26d9cd24
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-24 00:21:11 +07:00
Nextcloud bot cfc6a5c695
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-23 00:21:48 +07:00
John Molakvoæ 2ebcfad1ee
Merge pull request #49410 from nextcloud/backport/49315/stable30 2024-11-21 08:42:47 +07:00
Git'Fellow 003bb0aca4 fix(storage): Try to delete existing target
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-11-21 07:44:43 +07:00
Nextcloud bot 3f6d5c1b4c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-21 00:21:37 +07:00
Nextcloud bot 8ef6145609
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-20 00:21:43 +07:00
Nextcloud bot c2ce01f740
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-18 00:20:51 +07:00
Ferdinand Thiessen 1fc6cceef8 fix: Do not check for strict cookie when running webcron
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-15 12:27:35 +07:00
Côme Chilliet 23117a0a04
Merge pull request #49277 from nextcloud/backport/48675/stable30
[stable30] DNS: do not query CNAME if A succeeded already
2024-11-14 14:21:01 +07:00
Julien Veyssier 8f02796a62 fix(textprocessing): accept scheduling a task if there are equivalent taskprocessing providers only
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-11-14 10:59:16 +07:00
georglauterbach 5915d7f7ce fix: remove superflous line
Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
2024-11-14 10:45:23 +07:00
georglauterbach c97cb962ee fix: do not query CNAME if A succeeded already
Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
2024-11-14 10:45:23 +07:00
Richard Steinmetz 442d036ac9
Merge pull request #49098 from nextcloud/backport/48933/stable30
[stable30] Clear pending two factor tokens also from configuration
2024-11-13 10:47:20 +07:00
yemkareems 56ce5d03bd
Merge pull request #49241 from nextcloud/backport/38630/stable30
[stable30] Fix remaining readdir() calls in loops with undesirable false evaluation potential
2024-11-13 15:16:56 +07:00
Arthur Schiwon b45dc98ba1 fix(Middleware): log deprecation when annotation was actually used
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-11-13 06:29:31 +07:00
Josh Richards 1fc1543a8b
fix: Clean-up some remaining readdir calls with undesirable false evaluation potential
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-11-13 09:11:17 +07:00
Andy Scherzinger 357524dfd2
Merge pull request #49207 from nextcloud/backport/48736/stable30
[stable30] fix: log a warning when we can't build a background job
2024-11-12 11:43:00 +07:00
John Molakvoæ 1c28e81d00
Merge pull request #49160 from nextcloud/backport/49146/stable30
[stable30] fix: undefined variable $response in DAV storage
2024-11-12 10:36:10 +07:00
Nextcloud bot 616a3ea721
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-12 00:23:03 +07:00
Robin Appelman b195ca3920 fix: log a warning when we can't build a background job
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-11 16:33:16 +07:00
Nextcloud bot b48a877c62
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-09 00:22:21 +07:00
Victor Dubiniuk e1df152eb9 Fix Undefined variable: response notice in case of non-404 error
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-08 16:14:47 +07:00
John Molakvoæ f743eb899b
Merge pull request #49107 from nextcloud/backport/49039/stable30 2024-11-08 11:59:26 +07:00
Nextcloud bot 0304e8d4e2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-08 00:21:58 +07:00
Josh fa17ed6fb4 fix(tests): Add IpAddressClassifier v6 zone ID test
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-11-07 09:30:06 +07:00
Josh e7fa55d59f fix(net): Add IPv6 zone handling to IpAddressClassifier
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-11-06 08:19:56 +07:00
Josh 5fd9c03d18 fix(security): Handle IPv6 zone IDs used in link-local addresses
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-11-06 08:19:56 +07:00
Josh b059bc970b fix(security): Handle IPv6 zone IDs used in link-local addresses
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-11-06 08:19:56 +07:00
Daniel Calviño Sánchez fcefd37a5f fix: Handle exception when clearing previously removed two factor tokens
If a token was already removed from the database but not from the
configuration clearing the tokens will try to remove it again from the
database, which caused a DoesNotExistException to be thrown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-11-05 10:50:29 +07:00
Daniel Calviño Sánchez c7b5c3e02f fix: Clear pending two factor tokens also from configuration
Otherwise as the tokens were removed from the database but not from the
configuration the next time that the tokens were cleared the previous
tokens were still got from the configuration, and trying to remove them
again from the database ended in a DoesNotExistException being thrown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-11-05 10:50:29 +07:00
Nextcloud bot 1bf2a3213e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-05 00:21:27 +07:00
Benjamin Gaussorgues 33f8caf274
Merge pull request #49076 from nextcloud/backport/49075/stable30 2024-11-04 21:33:19 +07:00
Benjamin Gaussorgues b1759e9b1d
Merge pull request #49044 from nextcloud/backport/48912/stable30 2024-11-04 21:33:00 +07:00
Joas Schilling 8b5964c0bd
fix(owncloud): Fix ownCloud migration with oauth2 app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-04 14:24:16 +07:00
Nextcloud bot bcb8fa8eac
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-04 00:20:28 +07:00
Joas Schilling 849b205b59 fix(appinfo): Make sure screenshot, author and category are always arrays
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-01 14:48:33 +07:00
Nextcloud bot 9bb42ef557
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-01 00:20:27 +07:00
Nextcloud bot 6c789ca9e1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-31 00:20:47 +07:00
Benjamin Gaussorgues 5787e5f27d
Merge pull request #49001 from nextcloud/backport/48559/stable30 2024-10-30 16:06:20 +07:00
Benjamin Gaussorgues 0cd1eeb509
fix(sharding): typo in addOrderBy
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-10-30 11:43:38 +07:00
Git'Fellow 45469eef85
Merge pull request #48694 from nextcloud/backport/48689/stable30
[stable30] fix(locking): Accept mixed as value on setTTL
2024-10-30 11:29:34 +07:00
Benjamin Gaussorgues 9a7ee321fa
fix(users): improve recently active search
- Remove DISTINCT clause to fix PgSQL
- Join user table only if necessary
- Don't show people who never connected in active list
- Add test

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-10-30 10:17:03 +07:00
Benjamin Gaussorgues 22d9f90742
Merge pull request #48622 from nextcloud/backport/48538/stable30 2024-10-30 09:41:54 +07:00
Git'Fellow 8f5aba2eb7 fix(locking): Accept mixed as value on setTTL
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-10-30 09:31:59 +07:00
Nextcloud bot 5de250c69b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-30 00:20:32 +07:00
Ferdinand Thiessen b0ddaaddc0
fix: Shipped apps should include the Nextcloud version in the cache buster
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-30 00:02:45 +07:00
Daniel Calviño Sánchez 1a98cd52b5 fix: Fix copying or moving from shared groupfolders
When copying or moving between two local storages the source path (on
disk) to copy or move from is got from the unjailed path of the source
storage. However, if the source storage has more than one jail getting
the unjailed path resolves the most external jail, but the source path
needs to be got from the most internal jail instead (the one closer to
the local storage).

This can happen, for example, with a shared groupfolder: in that case
there is an external jail for the shared storage, and one internal jail
for the groupfolder storage wrapped by the shared storage.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-10-29 15:02:49 +07:00
Nextcloud bot ef682b689d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-29 00:20:26 +07:00
Joas Schilling f7f875fe7f fix(config): Mark more configs as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-28 15:28:52 +07:00
yemkareems 57b2150ea4 fix: crypto made inline for constructor and decrypt error handled in exception
Signed-off-by: yemkareems <yemkareems@gmail.com>

[skip ci]
2024-10-28 12:29:20 +07:00
yemkareems 1e18546f36 fix: crypto made inline for constructor and decrypt error handled in exception
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 12:29:20 +07:00
yemkareems b35d56da30 fix: use Icrypto in place of Cypto
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 12:29:20 +07:00