Commit graph

78084 commits

Author SHA1 Message Date
Ferdinand Thiessen
d76e70c8d3
chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-03 17:37:34 +01:00
Ferdinand Thiessen
bd280f759b
fix(files_trashbin): disable bulk download for trashbin
The backend does not allow bulk download within the trashbin,
so we need to disable this also on the frontend.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-03 17:36:18 +01: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 +01:00
Ferdinand Thiessen
c5d59339fe
Merge pull request #50934 from nextcloud/backport/50918/stable30
[stable30] fix(files_sharing): Map sharee information for `shared-by-you` view
2025-03-03 15:15:19 +01:00
nextcloud-command
091605aae9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-03 13:39:13 +00:00
Ferdinand Thiessen
572b12439b
fix(files_sharing): Map sharee information for shared-by-you view
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-03 14:24:18 +01:00
Ferdinand Thiessen
841cad5670
Merge pull request #51127 from nextcloud/backport/50881/stable30
[stable30] fix(dav): Handle end of stream in `File::put`
2025-03-03 14:16:49 +01: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 +01: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 +01: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 +01:00
Ferdinand Thiessen
01663e67ec
fix(dav): Handle end of stream in File::put
If the stream is aborted and the callback wrapper returns false (or
null as it happened in some cases), we should not try to write to the
storage but abort the operation.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-03 10:09:28 +01:00
Nextcloud bot
0a027ecd6d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-03 00:23:08 +00:00
Kate
a844d6bfcc
Merge pull request #51105 from nextcloud/backport/51019/stable30 2025-03-02 21:46:27 +01:00
Andy Scherzinger
bc2e46a1c3
Merge pull request #51150 from nextcloud/backport/51142/stable30
[stable30] Remove space
2025-03-02 21:45:40 +01:00
nextcloud-command
873f22b0ea chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-02 20:27:14 +00:00
Andy Scherzinger
287ac14262
Merge pull request #51187 from nextcloud/fix/dav-sorting
[stable30] chore(deps): bump webdav from 5.7.1 to 5.8.0
2025-03-02 20:17:05 +01:00
nextcloud-command
0ed64d41da chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-02 18:39:56 +00:00
Ferdinand Thiessen
f907826dbe
fix(systemtags): support new attribute parsing of webdav props
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-02 16:43:36 +01:00
Ferdinand Thiessen
6502f29f97
chore(deps): bump webdav from 5.7.1 to 5.8.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-02 16:40:31 +01:00
dependabot[bot]
98de057f99
Merge pull request #51166 from nextcloud/dependabot/npm_and_yarn/stable30/ts-jest-29.2.6 2025-03-02 12:16:14 +00:00
John Molakvoæ
432c4ac994
fix(eslint): Strings must use singlequote
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-03-02 12:47:11 +01:00
Valdnet
32d6ba0129
fix(l10n): use do not instead of don't
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2025-03-02 12:47:10 +01:00
Valdnet
2e5fa36e60
fix(l10n): remove unnecessary space
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2025-03-02 12:46:05 +01:00
dependabot[bot]
a50ad16424
Merge pull request #51165 from nextcloud/dependabot/npm_and_yarn/stable30/nextcloud/event-bus-3.3.2 2025-03-02 11:22:51 +00:00
dependabot[bot]
6ac05463c9 chore(deps): bump @nextcloud/event-bus from 3.3.1 to 3.3.2
Bumps [@nextcloud/event-bus](https://github.com/nextcloud/nextcloud-event-bus) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/nextcloud/nextcloud-event-bus/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-event-bus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-event-bus/compare/v3.3.1...v3.3.2)

---
updated-dependencies:
- dependency-name: "@nextcloud/event-bus"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-02 11:07:37 +00:00
Nextcloud bot
02aae2a0ea
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-02 00:23:00 +00:00
dependabot[bot]
7b4e1fafb6
Merge pull request #51164 from nextcloud/dependabot/npm_and_yarn/stable30/types/dockerode-3.3.35 2025-03-01 03:39:25 +00:00
dependabot[bot]
4113eeddd8
chore(deps-dev): bump ts-jest from 29.2.5 to 29.2.6
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 29.2.5 to 29.2.6.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v29.2.5...v29.2.6)

---
updated-dependencies:
- dependency-name: ts-jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-01 02:38:59 +00:00
dependabot[bot]
3cec8b58b8
chore(deps-dev): bump @types/dockerode from 3.3.34 to 3.3.35
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.34 to 3.3.35.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/dockerode)

---
updated-dependencies:
- dependency-name: "@types/dockerode"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-01 02:36:28 +00:00
Nextcloud bot
63b99d8c13
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-01 00:45:21 +00:00
Nextcloud bot
bc807f7d35
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-28 00:23:37 +00:00
Joas Schilling
74f280a243
Merge pull request #51119 from nextcloud/backport/33545/stable30
[stable30] make it possible to run occ as root
2025-02-27 22:46:16 +01:00
Frank Karlitschek
c6bb5f102e fix(occ): Make it possible to run as root
Signed-off-by: Frank Karlitschek <karlitschek@users.noreply.github.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-27 21:23:49 +00:00
provokateurin
e7f7bb3915 fix(files_external): Move definition parameter to the correct place
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-02-27 14:25:10 +00:00
Nextcloud bot
62aa5a8214
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-27 00:22:41 +00: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 +01:00
nextcloud-command
898c7c644d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-26 14:21:59 +00:00
Louis
07f3a855c6
Merge pull request #51061 from nextcloud/backport/51050/stable30
[stable30] fix: Report duplicated extra files in integrity check
2025-02-26 15:10:31 +01: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 +01: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 +00:00
Joas Schilling
5498f99b11
Merge pull request #51046 from nextcloud/automated/noid/stable30-update-ca-cert-bundle
[stable30] fix(security): Update CA certificate bundle
2025-02-26 08:50:09 +01:00
nextcloud-command
6bb0db88ca fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-02-26 02:31:16 +00:00
Nextcloud bot
6a92fc0eae
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-26 00:22:03 +00:00
Maksim Sukharev
3262ca0649
Merge pull request #50997 from nextcloud/backport/50956/stable30 2025-02-25 17:34:58 +01:00
Louis
ff494f56dc
Merge pull request #51024 from nextcloud/backport/50903/stable30
[stable30] fix(files_versions): Do not expire versions newer than min age
2025-02-25 17:22:16 +01:00
nextcloud-command
581abe3cdd chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-25 16:08:16 +00:00
Maksim Sukharev
4a7531ea0f fix: wipe local storages on log out
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-02-25 16:59:07 +01:00
Louis Chemineau
28959970dc fix(files_versions): Do not expire versions newer than min age
The auto expire logic does not take into account the min retention age set by the admin. So versions were eagerly deleted.

Fix https://github.com/nextcloud/server/issues/19791

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-25 15:03:13 +00:00
Côme Chilliet
5c0af8565c
Merge pull request #51016 from nextcloud/backport/50874/stable30
[stable30] fix: Initialize lastConnectionCheck after first connection
2025-02-25 16:01:34 +01: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 +00:00