Commit Graph

75880 Commits

Author SHA1 Message Date
provokateurin
b51aad472c
fix(Share20\Manager): Propagate user and group deletion to remote share providers
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 08:01:03 +01:00
provokateurin
3ca39e3d94
fix(Share20): Convert broken hooks to IEventListener
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 08:00:59 +01:00
Nextcloud bot
c4b98bf8e7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-04 00:23:54 +00:00
Andy Scherzinger
dfc5dee9ce
Merge pull request #51088 from nextcloud/backport/51051/stable29
[stable29] feat: Close sessions created for login flow v2
2025-03-03 15:26:32 +01:00
Stephan Orbaugh
9cda726b30
Merge pull request #51104 from nextcloud/backport/51019/stable29
[stable29] fix(files_external): Move definition parameter to the correct place
2025-03-03 13:20:03 +01:00
Louis Chemineau
d7bc7f8aa4
fix(login): Support subfolder install for ephemeral sessions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 11:42:42 +01:00
Louis Chemineau
9f78eaaa97
fix(login): Also check legacy annotation for ephemeral sessions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 11:42:42 +01:00
Louis Chemineau
ff5a03e890
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:04 +01:00
Stephan Orbaugh
f487469fe7
Merge pull request #50978 from nextcloud/dependabot/npm_and_yarn/stable29/nextcloud/cypress-1.0.0-beta.14
chore(deps-dev): bump @nextcloud/cypress from 1.0.0-beta.13 to 1.0.0-beta.14
2025-03-03 09:49:06 +01:00
Stephan Orbaugh
fb8f1afcd4
Merge pull request #50977 from nextcloud/dependabot/npm_and_yarn/stable29/cypress-split-1.24.14
chore(deps-dev): bump cypress-split from 1.24.11 to 1.24.14
2025-03-03 09:48:53 +01:00
Stephan Orbaugh
11d910c670
Merge pull request #50822 from nextcloud/dependabot/npm_and_yarn/stable29/nextcloud/files-3.10.2
chore(deps): bump @nextcloud/files from 3.10.1 to 3.10.2
2025-03-03 09:48:40 +01:00
Nextcloud bot
44abe47c93
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-03 00:23:15 +00:00
dependabot[bot]
13b331c223 chore(deps): bump @nextcloud/files from 3.10.1 to 3.10.2
Bumps [@nextcloud/files](https://github.com/nextcloud-libraries/nextcloud-files) from 3.10.1 to 3.10.2.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-files/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-files/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-files/compare/v3.10.1...v3.10.2)

---
updated-dependencies:
- dependency-name: "@nextcloud/files"
  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 13:46:52 +00:00
dependabot[bot]
154643ccd1
Merge pull request #51163 from nextcloud/dependabot/npm_and_yarn/stable29/types/dockerode-3.3.35 2025-03-02 13:27:43 +00:00
Ferdinand Thiessen
d760b03895
Merge pull request #51001 from nextcloud/backport/50958/stable29
[stable29] Fix: NotFoundException for anonymous users
2025-03-02 13:04:16 +01:00
Nextcloud bot
a547740d13
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-02 00:23:07 +00:00
dependabot[bot]
e9fa5a4186
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:31:29 +00:00
Nextcloud bot
cb5401e93a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-01 00:45:30 +00:00
Nextcloud bot
07354bf64b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-28 00:23:47 +00:00
John Molakvoæ
94f1e9c2d1
Merge pull request #51006 from nextcloud/chore/backport-50985
[stable29] fix: validate account properties as a repair step
2025-02-27 17:38:29 +01:00
provokateurin
92edd3ea0d fix(files_external): Move definition parameter to the correct place
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-02-27 14:24:12 +00:00
skjnldsv
59aa02ae8f chore: autoloader update
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-27 12:59:09 +01:00
Ferdinand Thiessen
8830bdbb1a refactor: convert sanitize account properties repair step to background job
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-27 12:59:09 +01:00
Ferdinand Thiessen
fb714dfd40 fix: Optimize repair step performance
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-27 12:59:09 +01:00
Ferdinand Thiessen
62d122adfa 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-27 12:59:09 +01:00
Nextcloud bot
bfaa1ae091
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-27 00:22:53 +00:00
Joas Schilling
196f0778cc
Merge pull request #51068 from nextcloud/backport/51049/stable29
[stable29] fix(l10n): Improve english source strings
2025-02-26 16:19:32 +01:00
dependabot[bot]
325c5fedc4 chore(deps-dev): bump cypress-split from 1.24.11 to 1.24.14
Bumps [cypress-split](https://github.com/bahmutov/cypress-split) from 1.24.11 to 1.24.14.
- [Release notes](https://github.com/bahmutov/cypress-split/releases)
- [Commits](https://github.com/bahmutov/cypress-split/compare/v1.24.11...v1.24.14)

---
updated-dependencies:
- dependency-name: cypress-split
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-26 16:12:21 +01:00
dependabot[bot]
7e87d9f38c chore(deps-dev): bump @nextcloud/cypress
Bumps [@nextcloud/cypress](https://github.com/nextcloud/nextcloud-cypress) from 1.0.0-beta.13 to 1.0.0-beta.14.
- [Release notes](https://github.com/nextcloud/nextcloud-cypress/releases)
- [Commits](https://github.com/nextcloud/nextcloud-cypress/compare/v1.0.0-beta.13...v1.0.0-beta.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-26 16:12:00 +01:00
nextcloud-command
3200b79ddb chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-26 14:40:40 +00:00
Joas Schilling
c63c27d8d5
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:27:20 +01:00
Louis
6a8bccc023
Merge pull request #51023 from nextcloud/backport/50903/stable29
[stable29] fix(files_versions): Do not expire versions newer than min age
2025-02-26 12:19:49 +01:00
Joas Schilling
3ea1964bc6
Merge pull request #51042 from nextcloud/automated/noid/stable29-update-ca-cert-bundle
[stable29] fix(security): Update CA certificate bundle
2025-02-26 08:51:31 +01:00
nextcloud-command
03bdf82ae3 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-02-26 02:31:06 +00:00
Nextcloud bot
874f8bc4e6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-26 00:22:11 +00:00
Andy Scherzinger
893b305e09
Merge pull request #50996 from nextcloud/backport/50956/stable29
[stable29] fix: wipe local storages on log out
2025-02-25 22:41:38 +01:00
nextcloud-command
216510519d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-25 16:15:02 +00:00
Maksim Sukharev
c01461dfd7 fix: wipe local storages on log out
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-02-25 17:06:51 +01:00
Louis Chemineau
25d92c4e67 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:02:08 +00:00
Côme Chilliet
662492b83a
Merge pull request #51018 from nextcloud/backport/50874/stable29
[stable29] fix: Initialize lastConnectionCheck after first connection
2025-02-25 16:01:42 +01:00
Louis Chemineau
f9a4e80a72 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:08:43 +00:00
Nextcloud bot
687a4d9ac7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-25 00:21:54 +00:00
Nextcloud bot
169478643a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-24 21:01:26 +00:00
Kostiantyn Miakshyn
03605133d8 Fix: NotFoundException for anonymous users
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
2025-02-24 15:12:52 +00:00
Nextcloud bot
77c9238892
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-24 00:22:20 +00:00
Nextcloud bot
db9849f7a2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-23 00:22:21 +00:00
Nextcloud bot
fecc044cfe
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-22 00:22:17 +00:00
Joas Schilling
abe3843a81
Merge pull request #50951 from nextcloud/backport/50949/stable29
[stable29] ci(autochecks): Run some autochecks also on non-PHP files
2025-02-21 17:02:20 +01:00
Joas Schilling
cc8487cd03
ci(autochecks): Run some autochecks also on non-PHP files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-21 14:10:44 +01:00
John Molakvoæ
be4cad2cdc
Merge pull request #50939 from nextcloud/backport/50053/stable29
[stable29] fix: Change UserAgent to *cloud
2025-02-21 12:34:00 +01:00