Compare commits

..

1769 Commits

Author SHA1 Message Date
John Molakvoæ d4cede3cab Merge pull request #53882 from nextcloud/release/31.0.7 2025-07-10 09:52:14 +02:00
John Molakvoæ 549103137d Merge pull request #53891 from nextcloud/backport/53863/stable31 2025-07-10 09:51:52 +02:00
Daniel Kesselberg 62ddbb6e54 Revert "fix(dav): only consider user's principal for unsharing entries"
This reverts commit 023b98c44b.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-07-10 07:24:48 +00:00
Nextcloud bot 1e36391084 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-10 00:12:14 +00:00
Worker Builder 8663cf80be build(hub): 31.0.7
Signed-off-by: Worker Builder <worker-builder@nextcloud.com>
2025-07-09 13:39:43 +00:00
Nextcloud bot 2b6889b1c3 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-09 00:12:36 +00:00
Nextcloud bot 7e1b487cea fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-08 00:12:20 +00:00
Nextcloud bot 0c59d041ce fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-07 00:12:13 +00:00
Nextcloud bot 2c81826d4e fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-06 00:12:18 +00:00
Nextcloud bot 11599b01f7 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-05 00:12:11 +00:00
Nextcloud bot 3c53646a9b fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-04 00:12:18 +00:00
Matthieu Gallien bd60c9cfdf Merge pull request #53804 from nextcloud/automated/noid/stable31-update-code-signing-crl
[stable31] fix(security): Update code signing revocation list
2025-07-03 17:34:22 +02:00
nextcloud-command 621c150403 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-07-03 15:33:08 +00:00
John Molakvoæ ffd7b7195f Merge pull request #53780 from nextcloud/release/31.0.7_rc1 2025-07-03 17:26:09 +02:00
Andy Scherzinger cc3389c249 Merge pull request #53748 from nextcloud/backport/53648/stable31
[stable31] fix: don't try to get fileid for non exising nodes when serializing events file
2025-07-03 17:11:07 +02:00
Côme Chilliet e423fb46c9 Merge pull request #53666 from nextcloud/backport/53665/stable31
[stable31] fix(encryption): Catch exceptions in encrypt-all command and continue
2025-07-03 16:55:26 +02:00
Côme Chilliet 0eed4ba241 Merge pull request #53793 from nextcloud/backport/52963/stable31
[stable31] fix(files_versions): Log error instead of crashing when event listeners get called on non-existing files
2025-07-03 16:52:53 +02:00
Côme Chilliet e2861b42d1 fix(encryption): Correctly handle file opening and copying failures
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-03 16:03:19 +02:00
Côme Chilliet eb91798252 chore: Adapt tests to new parameter in EncryptAll constructor
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-03 16:03:19 +02:00
Côme Chilliet e5da883e34 fix(encryption): Catch exceptions in encrypt-all command and continue
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-03 16:03:19 +02:00
Andy Scherzinger 56e18d6190 Merge pull request #53704 from nextcloud/backport/53695/stable31
[stable31] fix(settings): use correct scope for translations
2025-07-03 15:26:05 +02:00
Côme Chilliet 93f064d974 fix(files_versions): Log error instead of crashing when event listeners get called on non-existing files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-03 13:21:32 +00:00
Robin Appelman 70ad129722 fix: don't try to get fileid for non exising nodes when serializing events file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-07-03 14:13:47 +02:00
Côme Chilliet 32d4f84b38 Merge pull request #53782 from nextcloud/backport/53276/stable31
[stable31] fix(files_versions): Log failure to compute node path
2025-07-03 14:04:09 +02:00
Maksim Sukharev 2716713bad Merge pull request #53786 from nextcloud/backport/53766/stable31 2025-07-03 12:53:14 +02:00
Ferdinand Thiessen 4ebebae3bf fix(settings): use correct scope for translations
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-07-03 12:23:55 +02:00
nextcloud-command d09caf04a0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-07-03 10:17:23 +00:00
Maksim Sukharev 725eda1a53 fix(files): provide boundaries for FileListTableHeaderActions element
- default boundaries element is 'content-vue', which includes sidebar

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-07-03 10:09:19 +00:00
Andy Scherzinger d1cc9d78d3 Merge pull request #53784 from nextcloud/backport/53764/stable31
[stable31] Feat(taskprocessing): add toggle for AI guest restriction
2025-07-03 12:01:06 +02:00
nextcloud-command c6aab00151 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-07-03 11:37:55 +02:00
Jana Peper 3f176632b2 test: fix tests
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2025-07-03 11:37:48 +02:00
Jana Peper a598d453e9 feat: add toggle for AI guest restriction
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2025-07-03 09:00:40 +00:00
Côme Chilliet 5e2569840b chore: Use an if/else instead of the try/catch to make meaning more obvious
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-03 07:45:46 +00:00
Côme Chilliet efd9991e21 fix(files_versions): Log failure to compute node path
To avoid hidden bugs, add some debug logging when a node path cannot be
 computed from a received event, to have more information for debugging

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-03 07:45:46 +00:00
Worker Builder 7aeb85ce5e build(hub): 31.0.7 RC1
Signed-off-by: Worker Builder <worker-builder@nextcloud.com>
2025-07-03 07:24:49 +00:00
Joas Schilling cfb89a16fe Merge pull request #53749 from nextcloud/backport/53735/stable31
[stable31] fix(ROS): Document hide-download option on files
2025-07-03 08:44:52 +02:00
Kate 79205dd2ff Merge pull request #53758 from nextcloud/backport/53738/stable31
[stable31] fix(syslog): open syslog channel on write
2025-07-03 08:17:19 +02:00
Kent Delante 79ee6daee5 fix(syslog): open syslog channel on write
This fixes a bug where only one tag gets used when multiple tags have
been configured (e.g. different tags for 'syslog_tag' and 'syslog_tag_audit')

Signed-off-by: Kent Delante <kent.delante@proton.me>
2025-07-03 13:41:57 +08:00
John Molakvoæ 46995004e3 Merge pull request #53772 from nextcloud/fix/PublicShareUtils 2025-07-03 07:34:04 +02:00
Nextcloud bot 1411f098b2 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-03 00:12:24 +00:00
Arthur Schiwon 512d423fb9 Merge pull request #53769 from nextcloud/backport/52976/stable31
[stable31] perf: Skip photos related properties in custom properties
2025-07-02 23:50:10 +02:00
Andy Scherzinger 35f41e79b9 Merge pull request #53730 from nextcloud/backport/52981/stable31
[stable31] perf(dav): Preload dav search with tags/favorites
2025-07-02 23:31:23 +02:00
John Molakvoæ daf3084138 Merge pull request #53715 from nextcloud/backport/52792/stable31 2025-07-02 22:59:50 +02:00
skjnldsv a55b0cc3ef fix(cypress): add missing PublicShareUtils.ts
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-02 22:56:06 +02:00
Julius Knorr fef5899f77 perf: Skip photos app related property in custom properties
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-07-02 19:54:30 +00:00
Julius Knorr a9b4a6b269 perf(dav): Preload dav search with tags/favorites
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-07-02 21:52:12 +02:00
Joas Schilling b1e9fe6ff4 fix(ROS): Document hide-download option on files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-07-02 19:46:30 +02:00
Nextcloud bot 009763b143 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-02 00:12:06 +00:00
Nextcloud bot 6757f01d94 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-01 15:17:20 +00:00
Stephan Orbaugh 14eb4c028d Merge pull request #53743 from nextcloud/backport/53304/stable31
[stable31]  fix(files_sharing): Hide own reshares
2025-07-01 15:36:38 +02:00
Stephan Orbaugh 5cdee9fc2a Merge pull request #53745 from nextcloud/backport/53741/stable31
[stable31] chore(public): Remove unused union type for user mount events
2025-07-01 15:36:08 +02:00
provokateurin 0cf2295516 fix(files_sharing): Hide own reshares
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-07-01 13:08:14 +02:00
provokateurin 987af4193d fix(files): Always transfer incoming shares when doing ownership transfer to prevent broken reshares
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-07-01 13:08:13 +02:00
provokateurin 918473d7f2 fix(files): Limit transferring incoming shares to the selected path
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-07-01 13:05:25 +02:00
provokateurin 0229fe27be chore(public): Remove unused union type for user mount events
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-07-01 10:28:34 +00:00
Nextcloud bot 359fe5849c fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-01 00:12:21 +00:00
Stephan Orbaugh 7584215b44 Merge pull request #53724 from nextcloud/backport/53639/stable31
[stable31] fix(files_sharing): Stop hiding delete share button in advanced settings menu
2025-06-30 16:09:52 +02:00
Nextcloud bot 9191d3d860 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-30 13:15:39 +00:00
Nextcloud bot c4f4f3ca9e fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-30 12:54:11 +00:00
Joas Schilling d2057bd816 Merge pull request #51419 from nextcloud/backport/51031/stable31
[stable31] fix(singularandpluralfiles):implemented ternary operator to handle si…
2025-06-30 14:37:21 +02:00
nextcloud-command 536906db50 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-30 11:47:37 +00:00
provokateurin 46d149a0fa fix(files_sharing): Stop hiding delete share button in advanced settings menu
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-06-30 13:43:41 +02:00
skjnldsv 0314ccd970 chore(assets): recompile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-30 12:35:46 +02:00
Caitlin Jordan 23fb8ed7d0 fix(files): correctly handle plural translation forms
Co-authored-by: Caitlin Jordan <jordan.cait17@gmail.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-30 12:30:22 +02:00
John Molakvoæ (skjnldsv) 15bfb90adf fix(files_sharing): add mime fallback to public preview too
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-06-28 09:27:20 +02:00
Joas Schilling b95d300763 Merge pull request #53672 from nextcloud/backport/53669/stable31
[stable31] feat(occ): Add commands to list all routes and match a single one
2025-06-27 18:15:51 +02:00
Nextcloud bot 46794bd048 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-27 00:23:25 +00:00
Joas Schilling d1a554fba0 feat(occ): Add commands to list all routes and match a single one
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-26 17:12:33 +02:00
John Molakvoæ 9c95997776 Merge pull request #53604 from nextcloud/backport/53590/stable31 2025-06-26 12:48:23 +02:00
nextcloud-command 1525cdcf50 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-26 07:16:43 +00:00
Ferdinand Thiessen ae3027f852 fix(files_sharing): do not double escape the share title
The title is already escaped by vue so special characters would result
in incorrect strings.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-26 09:12:23 +02:00
Nextcloud bot 3cf84b7a0f fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-26 00:22:50 +00:00
Josh 109a08aba5 Merge pull request #53686 from nextcloud/backport/53499/stable31
[stable31] fix(profile): Consistent email confirmation pages
2025-06-25 15:51:30 -04:00
Josh 539f12a875 fix(profile): Consistent email confirmation success page design
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-06-25 16:34:45 +00:00
Josh a1d1cf0c2b fix(profile): Consistent email confirmation page design
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-06-25 16:34:45 +00:00
Andy Scherzinger 26c0c85637 Merge pull request #53664 from nextcloud/fix/fix-admin-audit-listener
[stable31] fix(admin_audit): Avoid crash when rename event fileid changes
2025-06-25 18:16:09 +02:00
Andy Scherzinger a52d28c66c Merge pull request #53681 from nextcloud/backport/53677/stable31
[stable31] fix(dav): catch exception on non local account
2025-06-25 17:19:07 +02:00
Andy Scherzinger 5084f68a87 Merge pull request #53675 from nextcloud/backport/53647/stable31
[stable31] fix: don't scan the same storage multiple times
2025-06-25 17:06:26 +02:00
Maxence Lange 0f7cbf4e29 fix(dav): catch exception on non local account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-06-25 13:36:24 +00:00
Robin Appelman 881abecd34 fix: don't scan the same storage multiple times
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-25 11:38:30 +00:00
Nextcloud bot e9ce122b85 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-25 00:23:31 +00:00
dependabot[bot] 3700589663 Merge pull request #53629 from nextcloud/dependabot/npm_and_yarn/stable31/stylelint-16.21.0 2025-06-24 21:24:36 +00:00
nextcloud-command f394cf3b82 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-24 21:33:06 +02:00
dependabot[bot] 2598cf8278 chore(deps-dev): bump stylelint from 16.20.0 to 16.21.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.20.0 to 16.21.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.20.0...16.21.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-version: 16.21.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-24 21:33:06 +02:00
Kate c8ee5c1a1f Merge pull request #53642 from nextcloud/backport/53548/stable31 2025-06-24 21:29:58 +02:00
Andy Scherzinger e7a786d353 Merge pull request #53482 from nextcloud/dependabot/npm_and_yarn/stable31/nextcloud/dialogs-6.3.1
[stable31] build(deps): bump @nextcloud/dialogs from 6.3.0 to 6.3.1
2025-06-24 21:19:29 +02:00
dependabot[bot] ed87889246 Merge pull request #53628 from nextcloud/dependabot/npm_and_yarn/stable31/puppeteer-24.10.2 2025-06-24 19:06:30 +00:00
nextcloud-command d1f0b363bd chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-24 19:04:35 +00:00
dependabot[bot] 7ac010a41d [stable31] build(deps): bump @nextcloud/dialogs from 6.3.0 to 6.3.1
Dependabot couldn't find the original pull request head commit, 63cd05c4fa4a07dea314fe6c47a9419b9475b20d.
2025-06-24 18:58:58 +00:00
dependabot[bot] 42f78f062c chore(deps-dev): bump puppeteer from 24.10.1 to 24.10.2
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 24.10.1 to 24.10.2.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v24.10.1...puppeteer-v24.10.2)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-version: 24.10.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-24 20:07:11 +02:00
Andy Scherzinger 7743021d02 Merge pull request #53655 from nextcloud/backport/53420/stable31
[stable31] fix: make Rotate a TimedJob and run every hour
2025-06-24 19:51:58 +02:00
Côme Chilliet e2a0ed080b fix(admin_audit): Avoid crash when rename event fileid changes
This was fixed on master another way, but for stable31 we should still
 avoid the crash.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-24 16:28:58 +02:00
Richard Steinmetz 705a7975a5 Merge pull request #53660 from nextcloud/backport/53615/stable31
[stable31] fix: revive always storing lowercased email addresses
2025-06-24 15:26:22 +02:00
Richard Steinmetz a402a84544 fix: revive always storing lowercased email addresses
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-06-24 14:24:48 +02:00
Salvatore Martire e3b3a8df7e fix: make rotate logs a TimedJob and run every hour
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
2025-06-24 08:28:08 +00:00
Nextcloud bot 9fbda3ee13 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-24 00:23:10 +00:00
Git'Fellow 862080c2fb fix(files_reminders): Join the reminders with the file system metadata table
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-06-23 19:47:06 +02:00
Richard Steinmetz e046f515d3 Merge pull request #53646 from nextcloud/backport/53564/stable31
[stable31] Fix CSRF token not being refreshed while a two-factor challenge is ongoing
2025-06-23 16:48:03 +02:00
nextcloud-command 02a6480fe5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-23 14:12:32 +00:00
Richard Steinmetz bc93c6afff fix: update request token on two-factor pages
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-06-23 16:01:15 +02:00
Richard Steinmetz 3c92e3332e fix: generate csrf tokens if two factor challenge is ongoing
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-06-23 13:57:38 +00:00
Andy Scherzinger b37170b065 Merge pull request #53612 from nextcloud/backport/53426/stable31
[stable31] feat: improve logging of fopen failures for smb
2025-06-23 14:33:38 +02:00
Nextcloud bot 92249b5ab5 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-23 00:22:15 +00:00
Nextcloud bot 988074aee5 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-22 00:22:48 +00:00
dependabot[bot] 2e4e350681 Merge pull request #53626 from nextcloud/dependabot/npm_and_yarn/stable31/query-string-9.2.1 2025-06-21 14:12:25 +00:00
dependabot[bot] ced7cebe35 chore(deps): bump query-string from 9.2.0 to 9.2.1
Bumps [query-string](https://github.com/sindresorhus/query-string) from 9.2.0 to 9.2.1.
- [Release notes](https://github.com/sindresorhus/query-string/releases)
- [Commits](https://github.com/sindresorhus/query-string/compare/v9.2.0...v9.2.1)

---
updated-dependencies:
- dependency-name: query-string
  dependency-version: 9.2.1
  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-06-21 13:55:34 +00:00
dependabot[bot] 930d0d6236 Merge pull request #53627 from nextcloud/dependabot/npm_and_yarn/stable31/types/dockerode-3.3.41 2025-06-21 02:20:54 +00:00
dependabot[bot] 0850454c99 chore(deps-dev): bump @types/dockerode from 3.3.40 to 3.3.41
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.40 to 3.3.41.
- [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-version: 3.3.41
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-21 02:03:27 +00:00
Nextcloud bot 5f96ddbf42 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-21 00:22:59 +00:00
Ferdinand Thiessen 4bb14dd8b6 Merge pull request #53589 from nextcloud/backport/53567/stable31
[stable31] fix(files): add plural form for selected nodes
2025-06-20 14:52:34 +02:00
Kent Delante 5aca754f73 Merge pull request #53581 from nextcloud/backport/53419/stable31
[stable31] fix(s3): retry failed multipart uploads with decreased concurrency
2025-06-20 19:13:36 +08:00
Kate a1ceedc857 Merge pull request #53618 from nextcloud/backport/53616/stable31 2025-06-20 13:10:21 +02:00
provokateurin 6308f3c3e8 fix(core): Make --password-from-env work with NC_PASS everywhere
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-06-20 10:38:18 +00:00
provokateurin ab9328a17c fix(core): Make OC_PASS actually work for occ user:auth-tokens:add --password-from-env
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-06-20 10:38:18 +00:00
Kent Delante f40d14abac fix(s3): retry failed multipart uploads with decreased concurrency
Signed-off-by: Kent Delante <kent.delante@proton.me>
2025-06-20 18:24:16 +08:00
Kate d02223b6cc Merge pull request #53599 from nextcloud/backport/53569/stable31 2025-06-20 11:22:47 +02:00
nextcloud-command e27237720b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-20 09:04:12 +00:00
Ferdinand Thiessen 4cbf85494c fix(files): add plural form for selected nodes
Reported at Transifex:
> This string needs pluralization feature, because in some languages translation of "selected" differs between singular and plural.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-20 11:00:02 +02:00
Jana Peper 237e01c58e fix: update OpenAPI specs
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2025-06-20 10:54:37 +02:00
Jana Peper 9a3d5e4b92 fix: unit tests
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2025-06-20 10:54:32 +02:00
Jana Peper 326cb9c75c feat: add ocs route to get apps enabled for current user
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2025-06-20 10:37:13 +02:00
Nextcloud bot 60b4a3d712 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-20 00:22:39 +00:00
Robin Appelman 6cece4f4e1 feat: improve logging of fopen failures for smb
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-19 21:17:48 +00:00
Andy Scherzinger 66118ba1aa Merge pull request #53577 from nextcloud/backport/53512/stable31
[stable31] [files_versions] Fix sidebar version item style
2025-06-19 22:16:19 +02:00
Andy Scherzinger 17b05afdae Merge pull request #53609 from nextcloud/backport/53607/stable31
[stable31] fix: reload login page after password reset
2025-06-19 20:28:32 +02:00
F. E Noel Nfebe 942f06cfee Merge pull request #53554 from nextcloud/backport/53466/stable31
[stable31] fix(files_sharing): Hide link shares for users in excluded groups
2025-06-19 18:58:54 +01:00
nextcloud-command 5726c95b5e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-19 17:56:24 +00:00
nextcloud-command dcf52c0297 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-19 17:51:05 +00:00
SebastianKrupinski c80d5553c4 fix: reload login page after password reset
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-06-19 17:51:05 +00:00
nextcloud-command 2c26df45a5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-06-19 16:59:21 +02:00
Julien Veyssier b8fbd0c487 fix(files_versions): give the version label a min width so it does not get invisible if the author name is long
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-06-19 16:54:00 +02:00
MichaIng 023bbe7409 Merge pull request #53591 from nextcloud/backport/53210/stable31
[stable31] fix: clear opcache after app extraction
2025-06-19 14:25:49 +02:00
nextcloud-command e745d98af8 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-19 12:25:49 +00:00
nfebe a0b9e1381e feat(files_sharing): Hide external shares for users in excluded groups
- Added frontend check to hide link shares if, public sharing is disabled.

Signed-off-by: nfebe <fenn25.fn@gmail.com>

[skip ci]
2025-06-19 13:30:48 +02:00
Nextcloud bot f57af2d6a1 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-19 00:22:50 +00:00
Daniel Kesselberg 43a9fd4b1f fix: clear opcache after app extraction
clear opcache post app update extraction to prevent outdated files issues.

opcache.validate_timestamps=0 disables automated file modification checks.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-18 20:28:48 +02:00
Andy Scherzinger c5433afecc Merge pull request #53392 from nextcloud/dependabot/npm_and_yarn/stable31/nextcloud/l10n-3.3.0
build(deps): bump @nextcloud/l10n from 3.2.0 to 3.3.0
2025-06-18 14:04:55 +02:00
Ferdinand Thiessen 88e7b24936 Merge pull request #53571 from nextcloud/backport/53321/stable31
[stable31] [FilesList] Use the correct theming instance name from capabilities
2025-06-18 13:42:34 +02:00
Ferdinand Thiessen a45a2c16ff chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-18 12:53:24 +02:00
Julien Veyssier 5751b82715 fix(files): use the correct theming instance name from capabilities to set the page title
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-06-18 12:51:37 +02:00
Ferdinand Thiessen 6a211b244b test: remove legacy tests covered by library unit tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-18 12:00:48 +02:00
nextcloud-command 42995a76e2 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-18 09:17:20 +00:00
dependabot[bot] cd24562a78 build(deps): bump @nextcloud/l10n from 3.2.0 to 3.3.0
Dependabot couldn't find the original pull request head commit, 60b6e6ee5ae45085f2e4dfdfea8546ecef0e4df9.
2025-06-18 11:12:46 +02:00
Andy Scherzinger acab1571df Merge pull request #53509 from nextcloud/backport/53436/stable31
[stable31] fix(UserRow): fallback to group name in case of undefined availableGroup
2025-06-18 11:10:40 +02:00
Andy Scherzinger ae5febb34d Merge pull request #53532 from nextcloud/backport/53498/stable31
[stable31] fix(ObjectStore): Make S3 "connect_timeout" option configurable
2025-06-18 11:02:37 +02:00
Andy Scherzinger 6aae30c6ee Merge pull request #53546 from nextcloud/backport/53369/stable31
[stable31] fix: hide guests group when searching for principals
2025-06-18 11:01:59 +02:00
Ferdinand Thiessen ba041fbfd7 Merge pull request #53536 from nextcloud/fix/fix-php-error-on-upgrade
[stable31] fix: Fix Undefined array key "flags" on upgrade
2025-06-18 09:45:29 +02:00
Nextcloud bot 05b870579b fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-18 00:22:33 +00:00
Andy Scherzinger 18b01f3a08 Merge pull request #53547 from nextcloud/backport/53477/stable31
[stable31] fix: do not extract fields for blank template
2025-06-17 21:01:55 +02:00
Daniel Kesselberg 85746b9ebc test(dav): add integration test for principal property search
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-17 20:02:30 +02:00
Daniel Kesselberg 89f20f0daf fix: hide guests group when searching for principals
Follow-up for https://github.com/nextcloud/server/pull/52914

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-17 20:02:30 +02:00
Daniel Kesselberg 6daf4bbad9 fix: hide guests group from principal backend
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-17 20:02:30 +02:00
nextcloud-command 21b223e694 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-17 18:01:36 +00:00
Andy Scherzinger a31f16c197 Merge pull request #53520 from nextcloud/backport/53514/stable31
[stable31] fix(encryption): Do not register user key related event listeners
2025-06-17 20:00:17 +02:00
Elizabeth Danzberger 312464860a fix: do not extract fields for blank template
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>

[skip ci]
2025-06-17 19:57:34 +02:00
F. E Noel Nfebe 76abde54cb Merge pull request #53549 from nextcloud/backport/53322/stable31
[stable31] fix: Set public link upload email notification to opt-in
2025-06-17 18:54:13 +01:00
Andy Scherzinger 191b259e9f Merge pull request #53543 from nextcloud/backport/53534/stable31
[stable31] fix(core): getRequestToken import typo
2025-06-17 19:25:21 +02:00
nfebe ae56da1375 fix: Set public link upload email notification to opt-in
This now sets `isDefaultEnabled` to false. This makes email notifications for file uploads
to public links disabled by default (opt-in) for users.

This addresses concerns about new notifications being enabled by
default for existing users, leading to unexpected emails.

Related: https://github.com/nextcloud/server/pull/46945

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-06-17 14:58:31 +00:00
skjnldsv 1695dfc87f fix(core): getRequestToken import typo
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-17 13:56:46 +00:00
John Molakvoæ 5f63c89955 Merge pull request #53545 from nextcloud/backport/53140/stable31 2025-06-17 14:53:54 +02:00
Ferdinand Thiessen abcbed720e Merge pull request #53518 from nextcloud/backport/51609/stable31
[stable31] fix(files_versions): only handle path updates when there is path
2025-06-17 14:42:03 +02:00
nextcloud-command 52ae4321d9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-17 13:48:26 +02:00
skjnldsv 831534b7b0 fix(files): auto reload sidebar tags on update
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-17 11:10:21 +00:00
Côme Chilliet d769a5c001 fix: Fix Undefined array key "flags" on upgrade
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-17 10:13:16 +02:00
Nextcloud bot b6f8bbb6bf fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-17 08:00:34 +00:00
Joas Schilling ce720e5f18 Merge pull request #53365 from nextcloud/backport/53314/stable31
[stable31] fix(notifications): Fix check for hasNotifiers when all apps use Regi…
2025-06-17 07:59:10 +02:00
Daniel Calviño Sánchez 019b535868 fix(ObjectStore): Make S3 "connect_timeout" option configurable
The hardcoded connection timeout of 5 seconds may not be enough in some
cases, so now it is got from the ObjectStore arguments in Nextcloud
configuration, falling back to 5 if not set.

The connection timeout is set in seconds, but decimal precision can be
used for subsecond accuracy (for example, 4.2 for 4200 milliseconds).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-06-17 03:30:55 +00:00
Nextcloud bot 5bc4167680 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-17 00:22:42 +00:00
Andy Scherzinger 6356a0fe46 Merge pull request #53522 from nextcloud/backport/53326/stable31
[stable31] fix: refactor request token handling and do not update with invalid result
2025-06-17 01:05:17 +02:00
nextcloud-command 4f3d3d32fd chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-16 22:40:24 +00:00
Ferdinand Thiessen fad03a73cd fix(core): adjust install script
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-17 00:31:17 +02:00
Ferdinand Thiessen 60080aab87 chore(core): fix typo in session heartbeat service
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-16 20:49:01 +02:00
Ferdinand Thiessen bc784d7a8a fix: the core config is not loaded on error pages
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-16 20:49:00 +02:00
Ferdinand Thiessen f1b3fac3b1 test: adjust karma global state mock
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-16 20:48:59 +02:00
Ferdinand Thiessen c3e66e22c7 test(core): migrate session heartbeat tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-16 20:48:12 +02:00
Ferdinand Thiessen 688ca81a6e refactor(OC): restructure session heartbeat code - use types and human reading order
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-16 20:48:12 +02:00
Ferdinand Thiessen 2662728bc3 refactor(OC): migrate session heart beat to Typescript
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-16 20:48:12 +02:00
Ferdinand Thiessen ba40565aff fix(OC): validate request token and move logic to one place
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-16 20:48:11 +02:00
Ferdinand Thiessen 2c57c9a5d4 refactor(OC): migrate request token handling to Typescript
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-16 20:46:54 +02:00
Côme Chilliet f0100f6db4 fix(encryption): Do not register user key related event listeners
when master key is enabled.
Also added a safeguard in PassphraseService.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-16 15:55:28 +00:00
Ferdinand Thiessen 9c20e30270 fix(files_versions): only handle path updates when there is path
`getPathForNode` can fail with null for various reasons (e.g. no owner),
in this cases we need to just skip the event handling.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-16 15:55:13 +00:00
nextcloud-command 5257fad5b5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-16 13:03:28 +00:00
Maksim Sukharev d9738c70c2 fix(UserRow): fallback to group name in case of undefined availableGroup
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-06-16 11:54:59 +00:00
Nextcloud bot 1a7ff4b75b fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-16 00:23:11 +00:00
Nextcloud bot c301f9e357 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-15 00:22:23 +00:00
dependabot[bot] c67202c380 Merge pull request #53487 from nextcloud/dependabot/npm_and_yarn/stable31/core-js-3.43.0 2025-06-14 13:31:43 +00:00
nextcloud-command 09e8b461b6 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-14 12:37:40 +00:00
dependabot[bot] cb6f37c43c build(deps): bump core-js from 3.42.0 to 3.43.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.42.0 to 3.43.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.43.0/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-version: 3.43.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-14 14:33:32 +02:00
dependabot[bot] c4f610db2d Merge pull request #53485 from nextcloud/dependabot/npm_and_yarn/stable31/cypress-split-1.24.18 2025-06-14 11:26:04 +00:00
dependabot[bot] 11ae0e3488 Merge pull request #53486 from nextcloud/dependabot/npm_and_yarn/stable31/puppeteer-24.10.1 2025-06-14 10:48:04 +00:00
dependabot[bot] c9c14354ae build(deps-dev): bump puppeteer from 24.10.0 to 24.10.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 24.10.0 to 24.10.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v24.10.0...puppeteer-v24.10.1)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-version: 24.10.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-14 08:50:36 +00:00
dependabot[bot] 56b0947f57 Merge pull request #53483 from nextcloud/dependabot/npm_and_yarn/stable31/sass-1.89.2 2025-06-14 08:48:57 +00:00
dependabot[bot] ac2d06d4f0 Merge pull request #53484 from nextcloud/dependabot/npm_and_yarn/stable31/types/dockerode-3.3.40 2025-06-14 08:45:39 +00:00
dependabot[bot] a8d837b0bd build(deps-dev): bump cypress-split from 1.24.17 to 1.24.18
Bumps [cypress-split](https://github.com/bahmutov/cypress-split) from 1.24.17 to 1.24.18.
- [Release notes](https://github.com/bahmutov/cypress-split/releases)
- [Commits](https://github.com/bahmutov/cypress-split/compare/v1.24.17...v1.24.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-14 02:03:27 +00:00
dependabot[bot] 3754f1b38a build(deps-dev): bump @types/dockerode from 3.3.39 to 3.3.40
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.39 to 3.3.40.
- [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-version: 3.3.40
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-14 02:03:09 +00:00
dependabot[bot] 28b29c8454 build(deps-dev): bump sass from 1.89.1 to 1.89.2
Bumps [sass](https://github.com/sass/dart-sass) from 1.89.1 to 1.89.2.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.89.1...1.89.2)

---
updated-dependencies:
- dependency-name: sass
  dependency-version: 1.89.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-14 02:02:49 +00:00
Nextcloud bot 344fab109a fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-14 00:22:26 +00:00
Nextcloud bot 150d5cece9 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-13 00:22:26 +00:00
Andy Scherzinger e9ac2a6015 Merge pull request #53358 from nextcloud/backport/53323/stable31
[stable31] docs(caldav): improve documentation of CalDavBackend::getCalendarsForUserCount
2025-06-12 23:35:17 +02:00
Andy Scherzinger 364cd02560 Merge pull request #53347 from nextcloud/backport/53291/stable31
[stable31] fix(core): correctly show displayname when picking a file
2025-06-12 23:29:49 +02:00
Richard Steinmetz 3f631400f7 docs(caldav): improve documentation of CalDavBackend::getCalendarsForUserCount
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-06-12 22:38:14 +02:00
John Molakvoæ 2f3ceecf92 Merge pull request #53411 from nextcloud/backport/53363/stable31 2025-06-12 22:35:26 +02:00
nextcloud-command f4f3287a8a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-12 20:06:35 +00:00
John Molakvoæ 3d2c00a482 fix(settings): adjust group return code styling
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-06-12 22:02:00 +02:00
skjnldsv b3bc3c9ca8 fix(settings): show group label instead of gid in accounts management
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-12 22:02:00 +02:00
Joas Schilling 349196d9ec fix(notifications): Fix check for hasNotifiers when all apps use RegistrationContext
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-12 22:00:46 +02:00
nextcloud-command 9a624c3226 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-12 22:00:25 +02:00
Ferdinand Thiessen ad445917a6 fix(core): correctly show displayname when picking a file
Ensure that the display name is shown instead of the filename (important for public shares).
Fixed in the library but the legacy wrapper still uses it.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-12 22:00:25 +02:00
Andy Scherzinger 9fdc7fb566 Merge pull request #53349 from nextcloud/backport/51131/stable31
[stable31] fix(imip): dont compare events for the reply message
2025-06-12 21:59:41 +02:00
Andy Scherzinger 4c87759068 Merge pull request #53452 from nextcloud/backport/53427/stable31
[stable31] fix: allow hinting the shard keys for joined tables
2025-06-12 21:31:27 +02:00
Andy Scherzinger bb4eb01f60 Merge pull request #53357 from nextcloud/backport/53250/stable31
[stable31] fix(user_ldap): Harmonize parameter obfuscation and serialization accross logging methods
2025-06-12 19:13:39 +02:00
Hamza Mahjoubi 1ccc167738 fix(imip): dont compare events for the reply message
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2025-06-12 19:09:06 +02:00
Andy Scherzinger 8729a42328 Merge pull request #53380 from nextcloud/backport/48210/stable31
[stable31] fix: Run cleanByMoundId query on all shards
2025-06-12 18:56:54 +02:00
Andy Scherzinger 51b7f26e4d Merge pull request #53416 from nextcloud/backport/53075/stable31
[stable31] test: files_sharing add test for LoadAdditionalListener
2025-06-12 18:52:49 +02:00
Andy Scherzinger 9e0377fee4 Merge pull request #53425 from nextcloud/backport/53378/stable31
[stable31] test: run all files_external tests for S3
2025-06-12 18:47:37 +02:00
dependabot[bot] 65ccf7539b Merge pull request #53391 from nextcloud/dependabot/npm_and_yarn/stable31/libphonenumber-js-1.12.9 2025-06-12 16:25:54 +00:00
nextcloud-command 03d6c3828d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-12 16:11:16 +00:00
dependabot[bot] b9f65fa150 build(deps): bump libphonenumber-js from 1.12.8 to 1.12.9
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.12.8 to 1.12.9.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/commits/master)

---
updated-dependencies:
- dependency-name: libphonenumber-js
  dependency-version: 1.12.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-12 18:06:28 +02:00
dependabot[bot] 5e802eb5a2 Merge pull request #53389 from nextcloud/dependabot/npm_and_yarn/stable31/puppeteer-24.10.0 2025-06-12 15:26:49 +00:00
Robin Appelman f764c62ac0 fix: allow hinting the shard keys for joined tables
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-12 13:42:12 +00:00
dependabot[bot] f045fe8215 Merge pull request #53390 from nextcloud/dependabot/npm_and_yarn/stable31/dockerode-4.0.7 2025-06-12 11:26:26 +00:00
dependabot[bot] c1b697ed24 build(deps-dev): bump dockerode from 4.0.6 to 4.0.7
Bumps [dockerode](https://github.com/apocas/dockerode) from 4.0.6 to 4.0.7.
- [Release notes](https://github.com/apocas/dockerode/releases)
- [Commits](https://github.com/apocas/dockerode/compare/v4.0.6...v4.0.7)

---
updated-dependencies:
- dependency-name: dockerode
  dependency-version: 4.0.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-12 11:10:49 +00:00
dependabot[bot] 41e20f86f2 build(deps-dev): bump puppeteer from 24.9.0 to 24.10.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 24.9.0 to 24.10.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v24.9.0...puppeteer-v24.10.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-version: 24.10.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-12 11:06:42 +00:00
Andy Scherzinger e335226671 Merge pull request #53431 from nextcloud/backport/53000/stable31
[stable31] fix: unblock ffmpeg on some broken videos
2025-06-12 12:57:33 +02:00
Arthur Schiwon 6e9bccddf4 fix: unbloc ffmpeg on some broken videos
Co-authored-by: Joas Schilling <coding@schilljs.com>

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-06-12 11:58:47 +02:00
Benjamin Gaussorgues 37536c14fe Merge pull request #53413 from nextcloud/release/31.0.6 2025-06-12 09:20:47 +02:00
Nextcloud bot 111c919a65 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-12 00:22:58 +00:00
Nextcloud bot ba1fccae01 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-11 00:23:38 +00:00
Ferdinand Thiessen 9fa9ffd229 test: reenable localstack tests (bug fixed) but disable MinIO versioned copy test
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-10 15:20:52 +02:00
Ferdinand Thiessen e79e1e2d95 test: only skip tests failing on localstack for localstack
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-10 15:20:45 +02:00
Ferdinand Thiessen 99488b0a38 test: fix s3 external storage tests to run all storages on ci
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-10 15:20:38 +02:00
Misha M.-Kupriyanov 5afe52c4ba test: files_sharing add test for LoadAdditionalListener
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-06-10 09:00:12 +00:00
Worker Builder 5a9abdfcd3 build(hub): 31.0.6
Signed-off-by: Worker Builder <worker-builder@nextcloud.com>
2025-06-10 08:38:51 +00:00
John Molakvoæ 5cddf5a85d Merge pull request #53407 from nextcloud/backport/53398/stable31 2025-06-10 10:28:01 +02:00
Nextcloud bot 56fbeef011 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-10 00:22:47 +00:00
John Molakvoæ 42b216e3a3 chore(workflows): add auto stable PR title update
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-06-09 14:37:47 +00:00
Nextcloud bot ee088fcd44 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-09 00:22:28 +00:00
Joas Schilling efb2a9376b fix: Run cleanByMoundId query on all shards
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-08 09:28:02 +02:00
Nextcloud bot 5a5d3bd3c1 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-08 00:22:38 +00:00
Nextcloud bot 7dced2adbb fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-07 00:22:12 +00:00
John Molakvoæ 730a0647ca Merge pull request #53375 from nextcloud/release/31.0.6_rc2 2025-06-06 13:42:19 +02:00
Worker Builder 36d0311caf build(hub): 31.0.6 RC2
Signed-off-by: Worker Builder <worker-builder@nextcloud.com>
2025-06-06 11:37:03 +00:00
John Molakvoæ 27dcaa512b Merge pull request #53371 from nextcloud/revert-53077-backport/52914/stable31 2025-06-06 12:38:31 +02:00
John Molakvoæ 1fb68599ed Revert "[stable31] fix: hide guests group from principal backend" 2025-06-06 11:43:27 +02:00
Nextcloud bot 359000cbc9 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-06 00:23:54 +00:00
Côme Chilliet 0e6195eaa8 fix(user_ldap): Harmonize parameter obfuscation and serialization accross logging methods
Debug log, profiler and ldap debug log had a different logic for
 sanitizing of parameters, aligning them.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 16:12:44 +00:00
John Molakvoæ 5e47e126ff Merge pull request #53344 from nextcloud/backport/53341/stable31 2025-06-05 13:20:41 +02:00
skjnldsv 8ee36d7cef fix(workflows): releases changelog generator tags handling
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-05 11:20:23 +00:00
John Molakvoæ 0f039576ec Merge pull request #53316 from nextcloud/release/31.0.6_rc1 2025-06-05 12:00:44 +02:00
John Molakvoæ 14b0e5d140 Merge pull request #53278 from nextcloud/fix/dav-nickname-stable31 2025-06-05 10:01:02 +02:00
Joas Schilling cea3178644 Merge pull request #53337 from nextcloud/automated/noid/stable31-update-code-signing-crl
[stable31] fix(security): Update code signing revocation list
2025-06-05 09:51:49 +02:00
nextcloud-command ccea5dff35 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-05 07:04:24 +00:00
skjnldsv e46c36a1e8 fix(files_sharing): show message when nickname is not valid
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-05 08:56:17 +02:00
skjnldsv 8f2d3fcfb6 fix(dav): file drop nickname
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-05 08:56:17 +02:00
nextcloud-command e318a01432 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-06-05 02:39:56 +00:00
Nextcloud bot 9fd36561b9 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-05 00:22:45 +00:00
Andy Scherzinger 0a6a0b62d5 Merge pull request #53256 from nextcloud/backport/41065/stable31
[stable31] perf(dashboard): lags on dashboard items drag
2025-06-04 13:09:10 +02:00
nextcloud-command 8b74b04f1d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-04 12:29:54 +02:00
Grigorii K. Shartsev 9b9daf3d83 perf(dashboard): lags on dashboard items drag
- `aria-labelledby` is not needed here, it is a hidden icon
- `visually-hidden` has transformations that have huge performance
impact in combination with other transformations, for example, on
draggable

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2025-06-04 12:29:54 +02:00
Andy Scherzinger 4420ca0192 Merge pull request #53266 from nextcloud/backport/52215/stable31
[stable31] perf(carddav): don't query circle memberships
2025-06-04 11:08:29 +02:00
Alexander Piskun ff49774e4f Merge pull request #53290 from nextcloud/backport/53277/stable31
[stable31] fix(TaskProcessingApiController): use StreamResponse to return file content
2025-06-04 11:11:19 +03:00
Worker Builder cccb5617a9 build(hub): 31.0.6 RC1
Signed-off-by: Worker Builder <worker-builder@nextcloud.com>
2025-06-04 07:32:36 +00:00
John Molakvoæ b00e21ddaa Merge pull request #53309 from nextcloud/backport/53285/stable31 2025-06-04 09:07:10 +02:00
nextcloud-command e69d68b6dc chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-04 06:39:04 +00:00
skjnldsv b8591e6b82 fix(files): highlight previous folder on history up
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-04 06:37:14 +00:00
Nextcloud bot a2358fba5c fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-04 00:22:54 +00:00
F. E Noel Nfebe e982326000 Merge pull request #53302 from nextcloud/backport/53275/stable31
[stable31] fix(provisioning_api): Allow group details access for users with admin delegation
2025-06-03 22:49:55 +02:00
Robin Appelman 706f450967 Merge pull request #53293 from nextcloud/backport/53264/stable31
[stable31] feat: add --unscanned option to files_external:scan
2025-06-03 19:31:24 +02:00
Kate 78908d7a4a Merge pull request #53298 from nextcloud/dependabot/npm_and_yarn/stable31/tar-fs-2.1.3 2025-06-03 19:30:04 +02:00
Richard Steinmetz e8341af69a Merge pull request #53303 from nextcloud/backport/53273/stable31
[stable31] fix(accounts): new account quota value
2025-06-03 19:17:36 +02:00
Kate ad2470b58c Merge pull request #53297 from nextcloud/backport/53292/stable31 2025-06-03 18:30:37 +02:00
Maksim Sukharev 40ba2514e3 Merge pull request #53286 from nextcloud/backport/53274/stable31 2025-06-03 18:09:59 +02:00
nextcloud-command 6ac68ba6c4 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-03 15:09:36 +00:00
nextcloud-command 3e457ace0a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-03 11:02:33 -04:00
SebastianKrupinski b0b1f91963 fix: new account quota value
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-06-03 14:53:03 +00:00
nfebe bebe8377b4 fix(provisioning_api): Allow group details access for users with admin delegation
This fixes an issue where users with "Administration privileges → Users" could not access
the groups details endpoint in the provisioning API, resulting in a 403 Forbidden error.

There is a problem with adding the  `AuthorizedAdminSetting` attribute (middleware)
that only allows access to users with Sharing admin privileges.

Users with "`Users` admin" privileges should also be able to access group details.

Resolves: https://github.com/nextcloud/server/issues/52617

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-06-03 14:41:56 +00:00
Andy Scherzinger b7491666ae build(deps): bump tar-fs from 2.1.2 to 2.1.3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-06-03 15:46:12 +02:00
Oleksander Piskun 623859066f fix(TaskProcessingApiController): use StreamResponse to return the task file content
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
2025-06-03 16:42:12 +03:00
Ferdinand Thiessen de2f721cce fix: handle IDLE timeout
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-03 13:16:22 +00:00
Robin Appelman 3ca5423ca5 feat: add --unscanned option to files_external:scan
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-03 13:13:49 +00:00
Maksim Sukharev 90f95d46f5 feat: link upcoming event to calendar app modal
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-06-03 12:05:57 +00:00
F. E Noel Nfebe dfcac1057b Merge pull request #53051 from nextcloud/backport/52833/stable31
[stable31] fix(settings): Send update request when clearing user manager
2025-06-03 09:21:10 +02:00
Julien Veyssier f807cd904b Merge pull request #53270 from nextcloud/backport/53205/stable31
[stable31] fix(PreviewManager): use the forced mimetype in throwIfPreviewsDisabled
2025-06-03 02:43:51 +02:00
Nextcloud bot 223cc9ff39 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-03 00:22:33 +00:00
nextcloud-command 67d84a83fa chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-02 22:26:17 +00:00
nfebe 474ee3ab15 fix: Use logger correctly in UserRow.vue
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-06-02 23:21:43 +01:00
nextcloud-command c37f73a2d0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-02 23:21:43 +01:00
nfebe ead8888bb7 test(settings): Test user manager can be set and unset
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-06-02 23:21:43 +01:00
nfebe 6048e39678 fix(settings): Prevent double request on manager change
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-06-02 23:21:43 +01:00
Ferdinand Thiessen 11bdcbec86 fix: correctly unset account manager
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-02 23:21:42 +01:00
nfebe 98c055f9e5 fix(settings): Send update request when clearing user manager
- Update setUserData to send PUT request for empty manager values
- Remove clear button from manager select in UserRow
- Simplify manager update logic in UserRow
- Ensure consistent API behavior for empty values in allowedEmpty fields

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-06-02 23:21:42 +01:00
Julien Veyssier 6ea5127229 fix(PreviewManager): use the forced mimetype in throwIfPreviewsDisabled
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-06-02 23:26:50 +02:00
Richard Steinmetz d447edf947 perf(carddav): don't query circle memberships
It is not possible to share address books with circles so it is
pointless to query for address books shared with joined circles.

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-06-02 14:46:55 +00:00
Louis 72b6aae9df Merge pull request #53253 from nextcloud/backport/52242/stable31 2025-06-02 15:12:16 +02:00
Ferdinand Thiessen 1c96d26e74 Merge pull request #53248 from nextcloud/backport/52776/stable31
[stable31] fix(accounts): enhance UX for groups assignment
2025-06-02 13:00:41 +02:00
Robin Appelman 5f45b4f5fc test: add test that object store folder copy preserves folder size
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-02 09:56:30 +00:00
Robin Appelman edfb7b2393 perf: set the folder size in the same query as we create it
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-02 09:56:29 +00:00
Louis Chemineau 9d26571eb2 fix(S3): Use original folder size during copy
This prevent having copied folders with a wrongly set size of 0KB.

- Fix https://github.com/nextcloud/server/issues/51916

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-06-02 09:56:29 +00:00
nextcloud-command c2cb4ec48d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-02 07:32:25 +00:00
Maksim Sukharev 495c0e3c64 fix(AppNavigationGroupList): restore navigation panel and search/filter functionality for sub-admin groups
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-06-02 07:19:56 +00:00
Maksim Sukharev bcc001eae6 fix(UserRow): retrieve available groups from the store
- rename 'available*Groups' to 'selected*Groups'
- populate store and 'availableGroups' from search requests

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-06-02 07:19:56 +00:00
Maksim Sukharev 22df9d1676 fix(NewUserDialog): retrieve available groups from the store
- fix 'this.isAdmin' to be 'this.settings.isAdmin'
- compute 'availableGroups' instead of setting it once mounted
- populate store and 'availableGroups' from search requests

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-06-02 07:19:56 +00:00
Nextcloud bot ae25d9191b fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-02 00:48:00 +00:00
Andy Scherzinger 45bfd448b8 Merge pull request #53245 from nextcloud/backport/53244/stable31
[stable31] fix(systemtags): fix translations for systemtags view
2025-06-01 23:29:21 +02:00
nextcloud-command 081dbc2bb0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-01 20:46:34 +00:00
Daniel Kesselberg 424a440a98 fix(systemtags): fix translations for systemtags view
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>

[skip ci]
2025-06-01 20:41:32 +00:00
F. E Noel Nfebe 26d52cc5a4 Merge pull request #52888 from nextcloud/backport/52533/stable31
[stable31] fix: do not show account filter for public shares
2025-06-01 21:20:07 +02:00
nextcloud-command 9780370271 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-01 18:47:02 +00:00
Ferdinand Thiessen 69322803ef fix: do not show account filter for public shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-01 20:42:05 +02:00
Andy Scherzinger 3c6dfa9124 Merge pull request #53177 from nextcloud/backport/53171/stable31
[stable31] fix(files): do nothing if `view local` dialog was just closed
2025-06-01 18:09:08 +02:00
dependabot[bot] 6250aa9715 Merge pull request #52826 from nextcloud/dependabot/npm_and_yarn/stable31/nextcloud/auth-2.5.1 2025-06-01 14:07:28 +00:00
nextcloud-command 1b6b357176 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-01 15:42:27 +02:00
Ferdinand Thiessen 7178bb7064 fix(files): do nothing if view local dialog was just closed
We try to open a file in the Nextcloud client.
If this fails a dialog is shown with 3 options:

1. Retry: If it fails no further dialog is shown.
2. Open online: The viewer is used to open the file.
3. Close the dialog and nothing happens (abort).

This correctly implements 3 and also adds some comments + order file in
reading order (using `function` instead of arrow functions allows this
easily).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-01 15:42:27 +02:00
John Molakvoæ 21c5eb8261 Merge pull request #53240 from nextcloud/backport/53178/stable31 2025-06-01 15:35:58 +02:00
nextcloud-command 5733dab56c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-01 12:39:11 +00:00
John Molakvoæ 8b81a8ef49 fix(profile): keep error status persistent until valid
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-06-01 12:25:38 +00:00
skjnldsv 155867aecd fix(profile): do not restore previous value on invalid request
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-01 12:25:37 +00:00
dependabot[bot] e649bde509 build(deps): bump @nextcloud/auth from 2.4.0 to 2.5.1
Bumps [@nextcloud/auth](https://github.com/nextcloud/nextcloud-auth) from 2.4.0 to 2.5.1.
- [Release notes](https://github.com/nextcloud/nextcloud-auth/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-auth/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-auth/compare/v2.4.0...v2.5.1)

---
updated-dependencies:
- dependency-name: "@nextcloud/auth"
  dependency-version: 2.5.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-01 11:40:09 +00:00
Nextcloud bot ac5b632bf8 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-01 00:22:07 +00:00
dependabot[bot] 5897bd4eba Merge pull request #52714 from nextcloud/dependabot/npm_and_yarn/stable31/nextcloud/upload-1.10.0 2025-05-31 22:58:39 +00:00
dependabot[bot] 6b7bee2dee build(deps): bump @nextcloud/upload from 1.9.1 to 1.10.0
Bumps [@nextcloud/upload](https://github.com/nextcloud-libraries/nextcloud-upload) from 1.9.1 to 1.10.0.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-upload/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-upload/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-upload/compare/v1.9.1...v1.10.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/upload"
  dependency-version: 1.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-31 22:45:23 +00:00
dependabot[bot] a3af69b13f Merge pull request #52602 from nextcloud/dependabot/npm_and_yarn/stable31/nextcloud/dialogs-6.2.0 2025-05-31 22:28:01 +00:00
dependabot[bot] 6155ee4fae build(deps): bump @nextcloud/dialogs from 6.1.1 to 6.2.0
Bumps [@nextcloud/dialogs](https://github.com/nextcloud-libraries/nextcloud-dialogs) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-dialogs/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-dialogs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-dialogs/compare/v6.1.1...v6.2.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/dialogs"
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-31 21:40:53 +00:00
dependabot[bot] ce0412125c Merge pull request #53214 from nextcloud/dependabot/npm_and_yarn/stable31/nextcloud/vue-8.27.0 2025-05-31 21:20:38 +00:00
nextcloud-command c6804119d0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-31 22:25:21 +02:00
Ferdinand Thiessen 5b7e02a77a test: adjust cypress tests to be less flaky
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-31 22:25:21 +02:00
Ferdinand Thiessen dad5132594 test: adjust unit tests for updated library
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-31 20:05:39 +02:00
dependabot[bot] 073ce3b299 build(deps): bump @nextcloud/vue from 8.26.1 to 8.27.0
Bumps [@nextcloud/vue](https://github.com/nextcloud-libraries/nextcloud-vue) from 8.26.1 to 8.27.0.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-vue/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-vue/blob/v8.27.0/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-vue/compare/v8.26.1...v8.27.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/vue"
  dependency-version: 8.27.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-31 20:05:39 +02:00
dependabot[bot] d0906273cc Merge pull request #53217 from nextcloud/dependabot/npm_and_yarn/stable31/focus-trap-7.6.5 2025-05-31 16:32:39 +00:00
dependabot[bot] 5e3396f3da build(deps): bump focus-trap from 7.6.4 to 7.6.5
Bumps [focus-trap](https://github.com/focus-trap/focus-trap) from 7.6.4 to 7.6.5.
- [Release notes](https://github.com/focus-trap/focus-trap/releases)
- [Changelog](https://github.com/focus-trap/focus-trap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/focus-trap/focus-trap/compare/v7.6.4...v7.6.5)

---
updated-dependencies:
- dependency-name: focus-trap
  dependency-version: 7.6.5
  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-05-31 15:50:00 +00:00
dependabot[bot] 2d97d1c035 Merge pull request #53216 from nextcloud/dependabot/npm_and_yarn/stable31/moment-timezone-0.6.0 2025-05-31 15:45:05 +00:00
dependabot[bot] b82605c836 build(deps): bump moment-timezone from 0.5.48 to 0.6.0
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.48 to 0.6.0.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.48...0.6.0)

---
updated-dependencies:
- dependency-name: moment-timezone
  dependency-version: 0.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-31 15:29:17 +00:00
Ferdinand Thiessen a675db98e9 Merge pull request #53215 from nextcloud/dependabot/npm_and_yarn/stable31/query-string-9.2.0
build(deps): bump query-string from 9.1.2 to 9.2.0
2025-05-31 17:21:36 +02:00
Ferdinand Thiessen 3096146fe3 Merge pull request #53232 from nextcloud/backport/52298/stable31
[stable31] test: ignore git-ignored files from tests
2025-05-31 16:50:38 +02:00
dependabot[bot] a113b5e4bc Merge pull request #53219 from nextcloud/dependabot/npm_and_yarn/stable31/stylelint-16.20.0 2025-05-31 14:26:19 +00:00
dependabot[bot] f6b98c1c80 build(deps): bump query-string from 9.1.2 to 9.2.0
Bumps [query-string](https://github.com/sindresorhus/query-string) from 9.1.2 to 9.2.0.
- [Release notes](https://github.com/sindresorhus/query-string/releases)
- [Commits](https://github.com/sindresorhus/query-string/compare/v9.1.2...v9.2.0)

---
updated-dependencies:
- dependency-name: query-string
  dependency-version: 9.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-31 14:20:04 +00:00
Ferdinand Thiessen cf8376c978 test: ignore git-ignored files from tests
Fix running `npm run test` when your development setup has other apps
checked out - like having the viewer app installed locally in `apps`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-31 14:13:36 +00:00
dependabot[bot] cd1e013aec Merge pull request #53218 from nextcloud/dependabot/npm_and_yarn/stable31/sass-1.89.1 2025-05-31 02:21:15 +00:00
dependabot[bot] 7129eb441e build(deps-dev): bump stylelint from 16.19.1 to 16.20.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.19.1 to 16.20.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.19.1...16.20.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-version: 16.20.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-31 01:24:34 +00:00
dependabot[bot] fa0c87ba23 build(deps-dev): bump sass from 1.89.0 to 1.89.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.89.0 to 1.89.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.89.0...1.89.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-version: 1.89.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-31 01:24:00 +00:00
Nextcloud bot 29a09a4e49 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-31 00:22:48 +00:00
Kate 94ad4fc273 Merge pull request #53207 from nextcloud/backport/53145/stable31 2025-05-30 16:07:01 +02:00
Andy Scherzinger ad3f882ec7 Merge pull request #53204 from nextcloud/backport/53198/stable31
[stable31] fix(user_status): Avoid unique constraint violations from parallel he…
2025-05-30 15:56:33 +02:00
Robin Appelman 2aced4a607 fix: log error when writing stream to dav file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-30 12:46:32 +00:00
Joas Schilling 4c83a8b75a fix(user_status): Avoid unique constraint violations from parallel heartbeats and GET requests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-30 08:00:48 +00:00
Andy Scherzinger 47ffc05b0e Merge pull request #53199 from nextcloud/automated/noid/stable31-update-code-signing-crl
[stable31] fix(security): Update code signing revocation list
2025-05-30 09:08:42 +02:00
nextcloud-command 2ebb0c6adb fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-05-30 07:06:32 +00:00
Nextcloud bot 75f109436a fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-30 00:22:45 +00:00
Kate b7fd8c1657 Merge pull request #52673 from nextcloud/backport/52375/stable31 2025-05-29 20:53:55 +02:00
Andy Scherzinger 2725c77af2 Merge pull request #52920 from nextcloud/dependabot/npm_and_yarn/stable31/sass-1.89.0
chore(deps-dev): Bump sass from 1.87.0 to 1.89.0
2025-05-29 19:56:10 +02:00
dependabot[bot] f1ad76bb7d chore(deps-dev): Bump sass from 1.87.0 to 1.89.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.87.0 to 1.89.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.87.0...1.89.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-version: 1.89.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-29 19:04:20 +02:00
John Molakvoæ 07530f774f Merge pull request #53182 from nextcloud/backport/53147/stable31 2025-05-29 19:01:59 +02:00
Andy Scherzinger 2a5b17b862 Merge pull request #52605 from nextcloud/dependabot/npm_and_yarn/stable31/core-js-3.42.0
build(deps): bump core-js from 3.41.0 to 3.42.0
2025-05-29 18:59:22 +02:00
nextcloud-command 63e934d47e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-29 16:44:20 +00:00
dependabot[bot] 44dff6d0ce build(deps): bump core-js from 3.41.0 to 3.42.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.41.0 to 3.42.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.42.0/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-version: 3.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-29 18:40:45 +02:00
dependabot[bot] 595e2b52c1 Merge pull request #52598 from nextcloud/dependabot/composer/build/integration/stable31/phpunit/phpunit-9.6.23 2025-05-29 15:39:28 +00:00
dependabot[bot] bf6cc091b9 Merge pull request #52600 from nextcloud/dependabot/npm_and_yarn/stable31/babel/preset-typescript-7.27.1 2025-05-29 15:13:29 +00:00
dependabot[bot] d41580ab69 build(deps-dev): bump @babel/preset-typescript from 7.27.0 to 7.27.1
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.27.0 to 7.27.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
  dependency-version: 7.27.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-29 14:33:51 +00:00
dependabot[bot] 7e61733fd9 Merge pull request #52603 from nextcloud/dependabot/npm_and_yarn/stable31/babel/plugin-transform-private-methods-7.27.1 2025-05-29 14:32:11 +00:00
Andy Scherzinger c0a5ae88ee Merge pull request #52683 from nextcloud/backport/52543/stable31
[stable31] fix(share): assume download enabled on federated share
2025-05-29 16:21:09 +02:00
nextcloud-command cac1f47ebc chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-29 14:16:45 +00:00
dependabot[bot] 51270d8089 build(deps-dev): bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.22 to 9.6.23.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.23/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.22...9.6.23)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-version: 9.6.23
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-29 14:56:14 +02:00
Maxence Lange df1489343a fix(metadata): set background job on fresh setup
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-05-29 14:52:23 +02:00
Maxence Lange ba6d74b6de fix(share): assume download enabled on federated share
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-05-29 14:52:00 +02:00
skjnldsv be140c1ba8 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-29 12:17:25 +00:00
dependabot[bot] 20c7adbd82 build(deps-dev): bump @babel/plugin-transform-private-methods
Bumps [@babel/plugin-transform-private-methods](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-private-methods) from 7.25.9 to 7.27.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-plugin-transform-private-methods)

---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-private-methods"
  dependency-version: 7.27.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-29 12:16:51 +00:00
dependabot[bot] f85ccc26a4 Merge pull request #52827 from nextcloud/dependabot/npm_and_yarn/stable31/cypress-split-1.24.17 2025-05-29 12:15:04 +00:00
Alejo a509b34d55 fix(files_versions): "undefined restored" on restore
Signed-off-by: Alejo <xlejo@protonmail.com>
2025-05-29 12:13:38 +00:00
dependabot[bot] a515ec5fa2 build(deps-dev): bump cypress-split from 1.24.14 to 1.24.17
Bumps [cypress-split](https://github.com/bahmutov/cypress-split) from 1.24.14 to 1.24.17.
- [Release notes](https://github.com/bahmutov/cypress-split/releases)
- [Commits](https://github.com/bahmutov/cypress-split/compare/v1.24.14...v1.24.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-29 13:17:06 +02:00
Kate f8c75a1d4c Merge pull request #53128 from nextcloud/backport/52752/stable31 2025-05-29 09:50:07 +02:00
nextcloud-command dbb41c7479 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-29 06:47:34 +00:00
Kent Delante 0d49e968ce Merge branch 'stable31' into backport/52752/stable31
Signed-off-by: Kent Delante <kent.delante@proton.me>
2025-05-29 14:12:24 +08:00
Nextcloud bot 215ec4893a fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-29 00:33:35 +00:00
dependabot[bot] 4c24e38cb1 Merge pull request #52716 from nextcloud/dependabot/npm_and_yarn/stable31/nextcloud/moment-1.3.4 2025-05-28 16:30:33 +00:00
nextcloud-command 474d6bfcd2 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-28 16:14:48 +00:00
dependabot[bot] bf500d5eca build(deps): bump @nextcloud/moment from 1.3.2 to 1.3.4
Dependabot couldn't find the original pull request head commit, 471f41c50ab712d7093481669baf9780e576a8ef.
2025-05-28 16:09:11 +00:00
dependabot[bot] d21e8a20ce Merge pull request #53088 from nextcloud/dependabot/npm_and_yarn/stable31/nextcloud/stylelint-config-3.1.0 2025-05-28 15:37:10 +00:00
nextcloud-command e47d94efbc chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-28 15:21:46 +00:00
Andy Scherzinger 90b591c983 style(lint): replace legacy keyword with overflow-wrap: break-word
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-05-28 16:57:07 +02:00
dependabot[bot] 6cc2fc9897 chore(deps-dev): Bump @nextcloud/stylelint-config from 3.0.1 to 3.1.0
Bumps [@nextcloud/stylelint-config](https://github.com/nextcloud-libraries/stylelint-config) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/nextcloud-libraries/stylelint-config/releases)
- [Changelog](https://github.com/nextcloud-libraries/stylelint-config/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/stylelint-config/compare/v3.0.1...v3.1.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/stylelint-config"
  dependency-version: 3.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-28 16:57:07 +02:00
dependabot[bot] 07176b2cb2 Merge pull request #52721 from nextcloud/dependabot/npm_and_yarn/stable31/nextcloud/cypress-1.0.0-beta.15 2025-05-28 14:23:00 +00:00
dependabot[bot] c0f8312cc0 build(deps-dev): bump @nextcloud/cypress
Bumps [@nextcloud/cypress](https://github.com/nextcloud/nextcloud-cypress) from 1.0.0-beta.14 to 1.0.0-beta.15.
- [Release notes](https://github.com/nextcloud/nextcloud-cypress/releases)
- [Commits](https://github.com/nextcloud/nextcloud-cypress/compare/v1.0.0-beta.14...v1.0.0-beta.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-28 16:08:10 +02:00
Jonas 9a2a2b1467 Merge pull request #53159 from nextcloud/backport/52996/stable31
[stable31] fix(node): emit hooks on `Node::copy()`
2025-05-28 15:00:31 +02:00
dependabot[bot] 4d033ed771 Merge pull request #52713 from nextcloud/dependabot/composer/build/integration/stable31/behat/behat-3.16.1 2025-05-28 12:35:49 +00:00
dependabot[bot] 490d2a6a53 build(deps-dev): bump behat/behat in /build/integration
Bumps [behat/behat](https://github.com/Behat/Behat) from 3.16.0 to 3.16.1.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.16.0...v3.16.1)

---
updated-dependencies:
- dependency-name: behat/behat
  dependency-version: 3.16.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-28 14:21:32 +02:00
Jonas 6bca885efe fix(SyncLivePhotosListener): Don't handle copy event emitted from us
Running $peerFile->copy() causes a second BeforeNodeCopiedEvent now,
which we don't want to handle.

Signed-off-by: Jonas <jonas@freesources.org>
2025-05-28 11:50:12 +00:00
Jonas ed492c5c70 fix(node): emit hooks on Node::copy()
When calling `Files\Node\Node::copy()`, `Files\View::copy()` gets called,
but `Files\View::fakeRoot` is empty so the hooks are not emitted if no
path is given to `Files\View::shouldEmitHooks()`.

This results in node-related events like `NodeCopiedEvent` not being
fired when copying files via `Files\Node\Node::copy()`.

`Files\View::shouldEmitHooks()` is given a path as parameter in almost
all places except when called from the `copy()` function. This commit
changes it and passes the copy target path.

Fixes: nextcloud/collectives#1756

Signed-off-by: Jonas <jonas@freesources.org>
2025-05-28 11:50:11 +00:00
Nextcloud bot 29d0dcfb6e fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-28 00:22:46 +00:00
Andy Scherzinger 01557d8fd6 Merge pull request #52715 from nextcloud/dependabot/npm_and_yarn/stable31/libphonenumber-js-1.12.8
build(deps): bump libphonenumber-js from 1.12.7 to 1.12.8
2025-05-27 18:44:33 +02:00
nextcloud-command 294d62a8a1 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-27 16:28:31 +00:00
dependabot[bot] 40f48c2838 build(deps): bump libphonenumber-js from 1.12.7 to 1.12.8
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.12.7 to 1.12.8.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.12.7...v1.12.8)

---
updated-dependencies:
- dependency-name: libphonenumber-js
  dependency-version: 1.12.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-27 18:24:24 +02:00
Joas Schilling 2223d3b847 Merge pull request #52656 from nextcloud/backport/52642/stable31
[stable31] fix(TaskProcessing): increase task cleanup delay
2025-05-27 17:52:45 +02:00
Edward Ly e39d42c182 fix(TaskProcessing): increase task cleanup delay
Signed-off-by: Edward Ly <contact@edward.ly>
2025-05-27 07:47:33 -07:00
Louis 58b69034f8 Merge pull request #53139 from nextcloud/backport/53130/stable31 2025-05-27 16:43:22 +02:00
Robin Appelman d349f1743d Merge pull request #53135 from nextcloud/backport/53120/stable31
[stable31] perf: improve query to determine which users need a background scan
2025-05-27 16:36:51 +02:00
Louis Chemineau bab9587f3d fix(blurhash): Skip generation the if previews are disabled.
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-27 12:56:31 +00:00
Robin Appelman 97cf88da29 perf: improve query to determine which users need a background scan
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-27 12:37:51 +00:00
Jonas a0d4ec5381 Merge pull request #53133 from nextcloud/backport/53131/stable31
[stable31] fix(FileReferenceEventListener): Invalidate cache after node was renamed
2025-05-27 13:25:49 +02:00
Jonas 8f9aeeb556 fix(FileReferenceEventListener): Invalidate cache after node was renamed
Fixes: nextcloud/collectives#1527

Signed-off-by: Jonas <jonas@freesources.org>
2025-05-27 10:20:31 +00:00
nextcloud-command 7df4ed92a9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-27 08:22:09 +00:00
Kent Delante 5c38eef584 fix(files_trashbin): check if there is enough space before restoring
Signed-off-by: Kent Delante <kent.delante@proton.me>

[skip ci]
2025-05-27 08:16:35 +00:00
Joas Schilling 2cfaaffa47 Merge pull request #53127 from nextcloud/backport/53124/stable31
[stable31] fix(log): map all warnings to warn log level, notice to info
2025-05-27 10:16:14 +02:00
Christoph Wurst 704c22fa56 fix(log): map all warnings to warn log level, notice to info
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-05-27 06:22:56 +00:00
Ferdinand Thiessen 8bb41fb708 Merge pull request #52819 from nextcloud/backport/52809/stable31
[stable31] fix(files): do not even try to fetch a preview if `has-preview` is false
2025-05-27 07:58:53 +02:00
Andy Scherzinger ca9193a1d8 Merge pull request #52969 from nextcloud/backport/52514/stable31
[stable31] feat: only get template fields once selected
2025-05-27 06:42:14 +02:00
Nextcloud bot 39010035a1 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-27 00:22:23 +00:00
Joas Schilling db1728a13b Merge pull request #53117 from nextcloud/ci/noid/more-action-hardening-31
[stable31] ci: Update comments and correctly skip the "pull 3rdparty" command
2025-05-26 19:16:26 +02:00
F. E Noel Nfebe 7d99b0447b Merge pull request #52849 from nextcloud/backport/52813/stable31
[stable31] fix(files_sharing): Show note if note exists on share
2025-05-26 18:59:49 +02:00
nextcloud-command 52ffa3643c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-26 18:57:33 +02:00
John Molakvoæ (skjnldsv) 4ed1050ccf fix(files): do not even try to fetch a preview if èhas-preview` is false
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-05-26 18:57:33 +02:00
nextcloud-command ad7a6b0029 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-26 18:05:15 +02:00
nfebe 150e542ec9 test(file_sharing): Do not open advanced settings manually
If a share note is present, the advanced settings should expand automatically,

without the user needing to click.

Signed-off-by: nfebe <fenn25.fn@gmail.com>

[skip ci]
2025-05-26 18:05:15 +02:00
nfebe e1a306340d fix(files_sharing): Show note if note exists on share
When a share includes a note, ensure the note checkbox is checked and the note is
displayed when reopening the share sidebar.

Fixes: #52794.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-05-26 18:05:15 +02:00
nextcloud-command 86adff07ed chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-26 18:03:24 +02:00
Elizabeth Danzberger 8b5a2d3512 chore: update open api spec
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-05-26 18:03:24 +02:00
Elizabeth Danzberger 52ae766a8e feat: only load template fields when requested
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-05-26 18:03:24 +02:00
Andy Scherzinger 4faf51183d Merge pull request #52903 from nextcloud/backport/52708/stable31
[stable31] fix(dav): add repair step to queue job to update rooms and resources
2025-05-26 17:57:37 +02:00
Andy Scherzinger 30018bfa11 Merge pull request #53055 from nextcloud/fix/upload-file-drop-info
fix(files_sharing): show note, label and list of uploaded files on file drop
2025-05-26 14:54:56 +02:00
Marcel Klehr 22c87df610 Merge pull request #53103 from nextcloud/backport/53001/stable31
[stable31] feat(SetupChecks): Add check for TaskProcessing pickup speed
2025-05-26 14:41:21 +02:00
Marcel Klehr 82c4a88512 Merge branch 'stable31' into backport/53001/stable31 2025-05-26 14:14:56 +02:00
nextcloud-command c3e9c89e86 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-26 14:14:40 +02:00
Ferdinand Thiessen e51e4d6c3e fix(files_sharing): show note, label and list of uploaded files on file drop
This was missing from the Vue migration of the public share view:
- Show the note as the description of the file drop
- Show the label as the heading of the file drop if available
- Show list of uploaded files for verification

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-26 14:14:40 +02:00
Andy Scherzinger bdfc4048f1 Merge pull request #52644 from nextcloud/backport/51608/stable31
[stable31] feat(files): add command to automatically rename filenames
2025-05-26 13:39:15 +02:00
Joas Schilling ef6919cf98 ci: Remove credentials on checkout
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-26 12:18:20 +02:00
Andy Scherzinger ab6d536f73 ci: Update comments and correctly skip the "pull 3rdparty" command
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-05-26 11:54:58 +02:00
Ferdinand Thiessen c18c75cb52 docs(files): add more documentation about WCF and links to the admin docs
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-26 10:12:50 +02:00
Ferdinand Thiessen 41b9a7ec9b feat(files): add command to (dis)enable windows compatible filenames
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-26 10:12:50 +02:00
Ferdinand Thiessen 3ce306ec57 feat(files): add command to automatically rename filenames
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-26 10:12:50 +02:00
rakekniven 4300c27333 chore(18n): More natural english - fix plural typo
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-05-26 10:10:15 +02:00
Joas Schilling beefa6f411 fix(l10n): Fix one more plural
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-26 10:07:11 +02:00
Marcel Klehr c50592ecdb fix: Correct translation method use
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-05-26 10:07:03 +02:00
rakekniven b6898dde7f fix(SetupChecks): Update TaskProcessingPickupSpeed
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-05-26 10:06:50 +02:00
rakekniven d6a26bb4be chore(18n): More natural english
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-05-26 10:06:37 +02:00
Kate 76d37a37f6 Merge pull request #52987 from nextcloud/backport/50157/stable31 2025-05-26 08:27:43 +02:00
dependabot[bot] b09e0eaa49 Merge pull request #53092 from nextcloud/dependabot/npm_and_yarn/stable31/puppeteer-24.9.0 2025-05-26 05:33:43 +00:00
Andy Scherzinger cee66aea67 Merge pull request #53087 from nextcloud/dependabot/npm_and_yarn/stable31/marked-15.0.12
chore(deps): Bump marked from 15.0.11 to 15.0.12
2025-05-26 07:32:27 +02:00
Nextcloud bot c6426364cb fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-26 00:22:31 +00:00
nextcloud-command bb31c2fd15 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-26 00:19:06 +02:00
dependabot[bot] ea9ab39ffb chore(deps): Bump marked from 15.0.11 to 15.0.12
Bumps [marked](https://github.com/markedjs/marked) from 15.0.11 to 15.0.12.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v15.0.11...v15.0.12)

---
updated-dependencies:
- dependency-name: marked
  dependency-version: 15.0.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-26 00:19:06 +02:00
dependabot[bot] eab7956d26 Merge pull request #53090 from nextcloud/dependabot/npm_and_yarn/stable31/zip.js/zip.js-2.7.62 2025-05-25 22:00:35 +00:00
Andy Scherzinger 76b73436ba Merge pull request #53036 from nextcloud/backport/53029/stable31
[stable31] fix(caldav): don't send invitations to circles
2025-05-25 22:51:59 +02:00
dependabot[bot] ba967a9f84 Merge pull request #53086 from nextcloud/dependabot/npm_and_yarn/stable31/webpack-5.99.9 2025-05-25 20:12:52 +00:00
nextcloud-command cea9a0bd33 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-25 19:44:52 +00:00
dependabot[bot] 092d4b7065 chore(deps-dev): Bump webpack from 5.99.7 to 5.99.9
Dependabot couldn't find the original pull request head commit, aade654d480613bf87139e6e4a1d00a34a12550a.
2025-05-25 19:41:12 +00:00
dependabot[bot] ec9a9e82ad Merge pull request #52599 from nextcloud/dependabot/composer/vendor-bin/phpunit/stable31/phpunit/phpunit-9.6.23 2025-05-25 19:37:39 +00:00
Andy Scherzinger 4aee82be69 Merge pull request #53089 from nextcloud/dependabot/npm_and_yarn/stable31/dompurify-3.2.6
chore(deps): Bump dompurify from 3.2.5 to 3.2.6
2025-05-25 21:37:08 +02:00
dependabot[bot] ca989e8b04 build(deps): bump phpunit/phpunit in /vendor-bin/phpunit
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.22 to 9.6.23.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.23/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.22...9.6.23)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-version: 9.6.23
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-25 18:33:42 +00:00
Andy Scherzinger 7112144b9c Merge pull request #52864 from nextcloud/backport/51818/stable31
[stable31] feat: add command to get basic storage info
2025-05-25 20:29:50 +02:00
dependabot[bot] 4e0baea619 chore(deps-dev): Bump @zip.js/zip.js from 2.7.60 to 2.7.62
Bumps [@zip.js/zip.js](https://github.com/gildas-lormeau/zip.js) from 2.7.60 to 2.7.62.
- [Release notes](https://github.com/gildas-lormeau/zip.js/releases)
- [Commits](https://github.com/gildas-lormeau/zip.js/compare/v2.7.60...v2.7.62)

---
updated-dependencies:
- dependency-name: "@zip.js/zip.js"
  dependency-version: 2.7.62
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-25 20:26:47 +02:00
nextcloud-command 484f180cfe chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-25 20:25:16 +02:00
dependabot[bot] 4b4cd3b7f7 chore(deps): Bump dompurify from 3.2.5 to 3.2.6
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.2.5 to 3.2.6.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.2.5...3.2.6)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.2.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-25 20:25:16 +02:00
Andy Scherzinger b3d1fac31e Merge pull request #52883 from nextcloud/backport/52873/stable31
[stable31] fix: improve error message when cache rename source can't be found
2025-05-25 20:16:11 +02:00
Robin Appelman 88dcfe69b6 feat: add mount id to info:storage(s)
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-25 20:11:34 +02:00
Robin Appelman 3c36f17cef feat: add command to get basic storage info
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-25 20:11:34 +02:00
Andy Scherzinger fd7438aade Merge pull request #52767 from nextcloud/backport/52686/stable31
[stable31] fix(files_external): Safely check if the timestamp is numeric
2025-05-25 19:37:04 +02:00
Kate 6be6a66af4 Merge pull request #52989 from nextcloud/backport/52972/stable31 2025-05-25 19:30:37 +02:00
Robin Appelman 4dba5e141b fix: improve error message when cache rename source can't be found
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-25 18:38:42 +02:00
Git'Fellow 0eeb8335a9 fix(files_external): Safely check if the timestamp is numeric
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-05-25 16:52:55 +02:00
provokateurin 29d69826b6 feat(UserMountCache): Emit events for added, removed and updated mounts
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-25 16:46:53 +02:00
Andy Scherzinger a9d0c2164f Merge pull request #52978 from nextcloud/backport/52879/stable31
[stable31] feat: add command to clear contacts photo cache
2025-05-25 16:44:07 +02:00
provokateurin 6517f0527d fix(SetupManager): Include home and root providers when registering mounts
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-25 16:42:35 +02:00
John Molakvoæ 014fd24de2 Merge pull request #53101 from nextcloud/backport/52897/stable31 2025-05-25 15:58:29 +02:00
Andy Scherzinger e39244f4e2 ci(gh): Sync workflow updates
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-05-25 15:09:56 +02:00
Nextcloud bot 45672ffcc0 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-25 00:22:26 +00:00
Daniel 0437378e31 Merge pull request #53077 from nextcloud/backport/52914/stable31
[stable31] fix: hide guests group from principal backend
2025-05-24 17:58:43 +02:00
Marcel Klehr 4a01d24295 feat(SetupChecks): Add check for TaskProcessing pickup speed
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-05-24 08:52:14 +00:00
nextcloud-command 94564fa5c2 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-24 08:11:53 +00:00
Jérôme Herbinet 8b1beeb07c ci(cypress): replace "remove group" with "delete group"
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2025-05-24 08:00:35 +00:00
Jérôme Herbinet 64a378ea54 refactor(settings): replace "remove" wording with "delete"
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2025-05-24 08:00:35 +00:00
John Molakvoæ 6e27aa59f4 Merge pull request #53080 from nextcloud/backport/53054/stable31 2025-05-24 09:47:26 +02:00
dependabot[bot] 175d9d17aa Merge pull request #53091 from nextcloud/dependabot/npm_and_yarn/stable31/types/dockerode-3.3.39 2025-05-24 02:18:36 +00:00
dependabot[bot] 54da7e476d chore(deps-dev): Bump puppeteer from 24.7.2 to 24.9.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 24.7.2 to 24.9.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v24.7.2...puppeteer-v24.9.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-version: 24.9.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-24 01:46:33 +00:00
dependabot[bot] 13fdc9eb44 chore(deps-dev): Bump @types/dockerode from 3.3.38 to 3.3.39
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.38 to 3.3.39.
- [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-version: 3.3.39
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-24 01:45:47 +00:00
Nextcloud bot 2403763052 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-24 00:22:39 +00:00
skjnldsv 248b8ae989 feat: auto-generate changelog on release
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-05-23 19:19:22 +00:00
Daniel Kesselberg 78ba825455 fix: hide guests group from principal backend
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-23 16:27:57 +00:00
Sebastian Krupinski 72cae91ee7 Merge pull request #52705 from nextcloud/backport/51081/stable31
[stable31] fix(CalDAV): add calendar enable
2025-05-23 10:13:59 +01:00
SebastianKrupinski bd3026fcbd fix: add calendar enable
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-05-23 10:42:12 +02:00
Andy Scherzinger 8450efc26e Merge pull request #53056 from nextcloud/ci/noid/ghActionSync
GH action sync
2025-05-23 07:34:59 +02:00
Nextcloud bot 86d9289512 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-23 00:22:16 +00:00
Andy Scherzinger 3aa1706c64 ci(gh): Update actions based on latest templates
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-05-22 19:23:31 +02:00
Ferdinand Thiessen c85f6a6f4f Merge pull request #53040 from nextcloud/backport/52810/stable31
[stable31] fix: Move CSRF check from base to PublicAuth for public.php
2025-05-22 13:36:11 +02:00
Ferdinand Thiessen 512da4f333 Merge pull request #52986 from nextcloud/backport/52269/stable31
[stable31] fix(files): make sure to always have proper plural forms
2025-05-22 13:20:58 +02:00
Joas Schilling 64cb674f63 Merge pull request #53021 from nextcloud/backport/52932/stable31
[stable31] test: Speed up comments test
2025-05-22 13:13:09 +02:00
nextcloud-command 14298da2e8 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-22 11:05:45 +00:00
Ferdinand Thiessen f699595748 fix(files): make sure to always have proper plural forms
counted words should always be translated using `n`.
We can still simply concat the segments with punctation, this always
works regardless of the language used (even with RTL / LTR languages).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-22 13:01:50 +02:00
Louis Chemineau 617af2f3cc fix: Replace the deprecated direct download link with the public DAV endpoint
Follow-up of #48098

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-22 08:30:36 +00:00
Louis Chemineau 7a0261878a fix: Move CSRF check from base to PublicAuth for public.php
This currently prevent directly accessing a ressource when clicking on a link on a third party site. Example, clicking on `https://example.com/public.php/dav/files/pqLWcA269zfzXez/?accept=zip` in a GitHub comment.

Skipping the check is an issue with password protected shares, as it allows third party sites to request the ressource when the user already entered the password, aka CSRF.  So after removing the check from `base.php`, we need to add the it again in the `PublicAuth` plugin.

We also add a redirect to be helpful to the user.

**Warning**: this adds the limitation that clicking on a direct download link for password protected shares will redirect you to the password form, and then to the main share view.

Fix #52482

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-22 08:30:36 +00:00
Nextcloud bot 2e65f43eb2 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-22 00:22:50 +00:00
John Molakvoæ 91b8789159 Merge pull request #53034 from nextcloud/backport/53032/stable31 2025-05-21 18:08:45 +02:00
nextcloud-command 954db121b5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-21 15:54:36 +00:00
Richard Steinmetz d9eff389a7 fix(caldav): don't send invitations to circles
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-05-21 14:16:07 +00:00
skjnldsv 7aca7be306 fix(systemtags): case-insensitive search
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

[skip ci]
2025-05-21 13:28:53 +00:00
Joas Schilling 9d471877ae test: Speed up comments test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-21 08:30:28 +02:00
Joas Schilling b91585c37f Merge pull request #53013 from nextcloud/automated/noid/stable31-update-ca-cert-bundle
[stable31] fix(security): Update CA certificate bundle
2025-05-21 07:46:45 +02:00
Joas Schilling 76e15f695a Merge pull request #53009 from nextcloud/backport/53005/stable31
[stable31] fix(theming): Instead of expecting a warning handle it properly
2025-05-21 07:46:03 +02:00
nextcloud-command 7e78c9fb0e fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-05-21 02:37:29 +00:00
Nextcloud bot 477f0860e4 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-21 00:24:51 +00:00
Joas Schilling 5b5d67908b fix(theming): Instead of expecting a warning handle it properly
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-20 21:39:02 +00:00
Joas Schilling 774c7bf2c5 Merge pull request #53003 from nextcloud/backport/52851/stable31
[stable31] fix: Fix warning when crash reporter fails to get loaded
2025-05-20 23:37:21 +02:00
Joas Schilling deb502ecfe fix: Fix warning when crash reporter fails to get loaded
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-20 20:30:15 +00:00
Daniel Kesselberg 79e4147454 feat: add command to clear contacts photo cache
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-20 15:02:59 +00:00
Kate 6f36ace4fc Merge pull request #52984 from nextcloud/backport/52859/stable31 2025-05-20 14:52:06 +02:00
Akhil 10af1be4d8 fix: Throw exception in PreviewManager when preview is not available
Signed-off-by: Akhil <akhil@e.email>
2025-05-20 11:33:05 +00:00
dependabot[bot] 8c5707e866 Merge pull request #52717 from nextcloud/dependabot/npm_and_yarn/stable31/nextcloud/vue-8.26.1 2025-05-20 09:13:38 +00:00
nextcloud-command 56670babab chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-20 08:55:21 +00:00
dependabot[bot] 1310599cad build(deps): bump @nextcloud/vue from 8.26.0 to 8.26.1
Bumps [@nextcloud/vue](https://github.com/nextcloud-libraries/nextcloud-vue) from 8.26.0 to 8.26.1.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-vue/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-vue/blob/v8.26.1/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-vue/compare/v8.26.0...v8.26.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-20 08:53:22 +00:00
Nextcloud bot bfea258648 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-20 00:22:34 +00:00
Côme Chilliet 010272bb66 Merge pull request #52966 from nextcloud/backport/52951/stable31
[stable31] chore: Add an autoload.php file for tests relying on core class
2025-05-19 18:37:47 +02:00
Côme Chilliet f5b7c7498e chore: Add an autoload.php file for tests relying on core class
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-19 15:44:20 +00:00
Daniel 4ee54928a6 Merge pull request #52808 from nextcloud/backport/52046/stable31
[stable31] Introduce own method for calendar unsharing
2025-05-19 16:12:23 +02:00
Kate 708a721bfb Merge pull request #52953 from nextcloud/backport/52891/stable31 2025-05-19 15:04:43 +02:00
Daniel Kesselberg 1313fdaa50 fix(dav): only consider user's principal for unsharing entries
Before: Find all entries in `dav_shares` with `access = 5` for the user's principal, as well as group and circle memberships.

After: Find all entries in `dav_shares` with `access = 5` solely for the user's principal.

Future support for unsharing group or circle principals could be considered as a feature enhancement.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-19 14:35:04 +02:00
Daniel Kesselberg eab2c5cbee fix(caldav): prevent unshare entry creation for owner unsharing
- Introduces a `unshare` method in `CalDavBackend` to handle user unshares.
- Implements check to determine if unshare entry is needed based on group/circle membership.
- Ensures `updateShares` is only used when the calendar owner manages shares.
- Resolves issue where unsharing a calendar as owner created an unshare entry in `oc_dav_shares`.

Related PRs:
- https://github.com/nextcloud/server/pull/43117
- https://github.com/nextcloud/server/pull/47737

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-19 14:35:04 +02:00
Simon L. eb65fb8aa6 Merge pull request #52780 from nextcloud/backport/52771/stable31
[stable31] fix(updatenotification): respect `updatechecker` config
2025-05-19 13:15:26 +02:00
Ferdinand Thiessen 9b3d73e6dc fix(updatenotification): respect updatechecker config
If disabled:
- Hide admin settings
- Do not create Nextcloud server update notifications

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-19 13:00:28 +02:00
provokateurin 85befc49ef chore: Add nix flake with development shell
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-19 12:00:28 +02:00
Nextcloud bot b8775ca1e3 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-19 00:22:55 +00:00
Nextcloud bot 9d56e34e27 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-18 00:22:50 +00:00
Daniel 41a414d230 Merge pull request #52815 from nextcloud/backport/52798/stable31
[stable31] fix: log requests exceeding the rate limiting
2025-05-17 15:49:52 +02:00
Ferdinand Thiessen ff5bd5c82f Merge pull request #50591 from nextcloud/fix/files-sharing-file-drop-folder
[stable31] fix(files_sharing): Disable folder upload on file drop shares for now
2025-05-17 13:00:22 +02:00
nextcloud-command 361ccc744e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-17 10:08:02 +00:00
Ferdinand Thiessen 2bb2bbcae4 fix(files_sharing): Disable folder upload on file drop shares for now
The backend does not allow creating folders currently, so we have to
disable it for now.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-17 12:04:36 +02:00
Nextcloud bot 395515f346 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-17 00:23:25 +00:00
Robin Appelman d18ff624d0 Merge pull request #52866 from nextcloud/backport/51603/stable31
[stable31] Add command to list orphan objects
2025-05-16 21:36:33 +02:00
Daniel Kesselberg b422189843 fix: log requests exceeding the rate limiting
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-16 17:54:27 +02:00
Louis 84c528f64b Merge pull request #52806 from nextcloud/backport/52694/stable31 2025-05-16 16:23:53 +02:00
F. E Noel Nfebe 7fb2a6ae00 Merge pull request #52900 from nextcloud/backport/52772/stable31
[stable31] fix(unified_search): Maintain filters when loading more results
2025-05-16 15:05:38 +02:00
F. E Noel Nfebe 7f2a7fedb2 Merge pull request #52674 from nextcloud/backport/52438/stable31
[stable31] fix(files): middle click & ctrl new tab
2025-05-16 15:05:19 +02:00
nextcloud-command 271449074f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-16 11:22:21 +00:00
Richard Steinmetz 9b51ba9ff1 fix(dav): add repair step to queue job to update rooms and resources
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-05-16 10:40:12 +00:00
nfebe 4a0c6a8db3 fix(unified_search): Reset result limit for new search requests
Before now the result limit is never reset until the page is refreshed.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-05-16 10:29:03 +00:00
nfebe 728b80b540 fix(unified_search): Maintain non-provider filters when loading more results
Maintain existing non-provider filters (like date and person filters) while
loading more results for a specific provider.

This now works as the provider data passed to the `newResults` array after search
is built dynamically and not manually, the result of a manual build was that the
`provider.filters` properpy which is used in the `find` method was being left out
in the providers pushed into the results array.

Fixes #52081

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-05-16 10:29:03 +00:00
Kate b34eb62e6d Merge pull request #52892 from nextcloud/backport/52871/stable31 2025-05-16 11:55:20 +02:00
AndyXheli 3e74ee4176 fix(previews): lower log level when cached preview isn't found
Since this PR #52221 was implemented, the log file has been flooded with warnings stating, "Cached preview not found for file; generating a new preview." This appears to be more of an informational message rather than a warning. This PR will change it from warning to debug

Original PR
#52221

Signed-off-by: AndyXheli <andyxheli@gmail.com>
2025-05-16 08:43:01 +00:00
Robin Appelman 780766b63c fix: keep IObjectStoreMetaData in private namespace for backports
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-16 10:41:27 +02:00
Robin Appelman 4ff14790af feat: move streaming output helps to command base class
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-16 10:41:27 +02:00
Robin Appelman 18997b0199 feat: rework object listing
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-16 10:41:27 +02:00
Robin Appelman e0ec7db29c feat: add command to list orphan objects
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-16 10:41:27 +02:00
Robin Appelman f0cab800ab feat: add command to list objects
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-16 10:41:27 +02:00
Robin Appelman a324dbec2e feat: add command to get object metadata
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-16 10:41:27 +02:00
Robin Appelman 9a52cfc25e Merge pull request #52689 from nextcloud/backport/52133/stable31
[stable31] fix: disable direct download for shares
2025-05-16 10:23:24 +02:00
Kate 3f2fee08ca Merge pull request #52823 from nextcloud/backport/52775/stable31 2025-05-16 10:01:43 +02:00
Nextcloud bot d407508d22 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-16 00:23:00 +00:00
Andy Scherzinger e5a579a0a4 Merge pull request #52701 from nextcloud/backport/52699/stable31
[stable31] fix(webhooks_listener): correctly set userId from event
2025-05-15 21:51:44 +02:00
nextcloud-command 630c10118a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-15 21:49:29 +02:00
skjnldsv 12334c162a fix(files): middle click & ctrl new tab
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-05-15 21:49:29 +02:00
Sebastian Krupinski 6b4a6a0f14 Merge pull request #52807 from nextcloud/backport/52778/stable31
[stable31] fix: check if properties exist before using them
2025-05-15 18:06:15 +01:00
Côme Chilliet d457957e06 Merge pull request #52804 from nextcloud/backport/52782/stable31
[stable31] feat(log): Log the request id sent with the request
2025-05-15 18:12:01 +02:00
Andy Scherzinger b13f76683f Merge pull request #52663 from nextcloud/backport/52589/stable31
[stable31] fix(dav): move orphan cleaning logic to a chunked background job
2025-05-15 17:25:11 +02:00
Andy Scherzinger 76260ffee1 Merge pull request #52769 from nextcloud/backport/52665/stable31
[stable31] fix: create mountpoint folder even if the user has a quota of 0
2025-05-15 17:24:10 +02:00
SebastianKrupinski 5efb381f9e fix: check if properties exist before using them
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-05-15 09:35:06 -04:00
Robin Appelman 465486e335 fix: fix unjailedroot of nested jails if there are other wrappers in between
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-15 14:57:05 +02:00
Robin Appelman 66362e6b51 test: add test for nested cache jail unjailedroot
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-15 14:57:05 +02:00
Robin Appelman 54338f6d72 fix: create mountpoint folder even if the user has a quota of 0
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-15 14:56:10 +02:00
Stephan Orbaugh 61182a1d2c Merge pull request #52691 from nextcloud/backport/52634/stable31
[stable31] perf(Share20): Add interface to query all shares in a folder without filtering by user
2025-05-15 14:32:45 +02:00
Robin Appelman 4271753fc2 Merge pull request #52790 from nextcloud/backport/52441/stable31
[stable31] fix: better error message when trying to scan a folder that is already being scanned
2025-05-15 14:11:14 +02:00
Robin Appelman aec2c567c3 Merge pull request #52783 from nextcloud/backport/52681/stable31
[stable31] feat: add command to check files_external dependencies
2025-05-15 14:08:14 +02:00
Robin Appelman 23bf3e2a01 Merge pull request #52765 from nextcloud/backport/52693/stable31
[stable31] feat: allow setting system config values with json value
2025-05-15 14:06:48 +02:00
Robin Appelman b8cbd0f41b Merge pull request #52764 from nextcloud/backport/52706/stable31
[stable31] feat: add more encryption checks to info:file
2025-05-15 14:05:32 +02:00
Robin Appelman ef2e308aa3 Merge pull request #52762 from nextcloud/backport/52707/stable31
[stable31] fix: throw a better error if we can't get the encrypted header size
2025-05-15 14:03:03 +02:00
Robin Appelman a8029b3177 Merge pull request #52787 from nextcloud/backport/51920/stable31
[stable31] fix: improve handling of newFolder race condition handling
2025-05-15 13:41:29 +02:00
John Molakvoæ e68ddae1e3 Merge pull request #52856 from nextcloud/release/31.0.5 2025-05-15 11:31:38 +02:00
Worker Builder 09c65ceac4 build(hub): 31.0.5
Signed-off-by: Worker Builder <worker-builder@nextcloud.com>
2025-05-15 08:53:17 +00:00
Nextcloud bot 755c05a9a9 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-15 00:23:06 +00:00
Git'Fellow 005b3347d3 fix(files_versions): Folder should not be hardcoed
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-05-14 08:18:29 +00:00
Côme Chilliet d1ca8a67d6 fix(log): Only log client request id if present, and at the end
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-14 08:07:59 +00:00
Côme Chilliet da451d9d3c feat(log): Log the request id sent with the request
This should help matching client logs with server logs, hopefully.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-14 08:07:59 +00:00
Nextcloud bot ac3fe70e48 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-14 00:22:36 +00:00
Robin Appelman a4a5bcaacb fix: better error message when trying to scan a folder that is already being scanned
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-13 14:06:15 +02:00
Robin Appelman d1ddfd220f fix: improve handling of newFolder race condition handling
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-13 11:59:05 +00:00
Robin Appelman bb8be43262 feat: add command to check files_external dependencies
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-13 09:13:43 +00:00
Nextcloud bot f6c9cdcf6a fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-13 00:23:07 +00:00
provokateurin 8c4b6b9748 perf(Share20): Add interface to query all shares in a folder without filtering by user
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-12 14:55:39 +02:00
Robin Appelman 7f019e3a14 feat: allow setting system config values with json value
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-12 11:27:35 +00:00
Robin Appelman 1c5658cd33 feat: add more encryption checks to info:file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-12 11:27:33 +00:00
Robin Appelman 7e454b2d96 fix: throw a better error if we can't get the encrypted header size
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-12 11:27:21 +00:00
Nextcloud bot 7d69f9cbeb fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-12 00:22:55 +00:00
Nextcloud bot aeed146ecb fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-11 00:22:51 +00:00
Nextcloud bot 898eca78c8 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-10 00:23:07 +00:00
Oleksander Piskun 9a8ecb1351 fix(webhooks_listener): correctly set userId from event
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
2025-05-09 10:37:38 +00:00
Nextcloud bot b6326db3dc fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-09 00:23:53 +00:00
Robin Appelman 9f77860b54 fix: disable direct download for shares
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-08 13:14:31 +00:00
Nextcloud bot f16ef470ef fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-08 00:23:33 +00:00
Nextcloud bot f9780858f6 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-07 00:23:20 +00:00
Arthur Schiwon d7dcaa33e7 Merge pull request #52638 from nextcloud/release/31.0.5_rc1
31.0.5 RC1
2025-05-06 18:21:21 +02:00
Louis 6b4de84761 Merge pull request #52661 from nextcloud/backport/52360/stable31 2025-05-06 17:44:00 +02:00
F. E Noel Nfebe 36cd949586 Merge pull request #52498 from nextcloud/backport/52423/stable31
[stable31] fix(files_sharing): Show remote shares as external
2025-05-06 17:30:23 +02:00
Arthur Schiwon 928cbbecb3 Merge pull request #52640 from nextcloud/backport/52048/stable31
[stable31] fix(workflowengine): fix group not shown in Group membership check
2025-05-06 17:10:37 +02:00
nextcloud-command d616a73bed chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-06 15:53:41 +01:00
nfebe 80c901a08a fix(files_sharing): Move ConfigLexicon to Config dir, update sharing input
- Fix autoloading for new `ConfigLexicon`
- Ensure that sharing input in sharing tab respect `show-federated-shares-as-internal`:
This is important, because when federated shares are shown as internal the users should add them from the internal shares section

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-05-06 15:53:07 +01:00
Maxence Lange cac0f1cdcd refactor: use config lexicon
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-05-06 15:37:34 +01:00
nfebe 67ef7e1653 feat(files_sharing): Add toggle for federated share display area
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-05-06 15:37:34 +01:00
nfebe d1b91c47a3 perf(files_sharing): Change sharing filtering from O(3n) to O(n)
Replaced multiple Array.filter() calls with a single loop to improve performance.

This avoids redundant iterations over the shares array and categorizes them more efficiently.

Signed-off-by: nfebe <fenn25.fn@gmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-06 15:37:26 +01:00
nfebe 76c847dfb3 fix(files_sharing): Show remote shares in external shares section
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-05-06 15:25:23 +01:00
Joas Schilling afb6029c72 Merge pull request #52658 from nextcloud/backport/52630/stable31
[stable31] fix(files): Fix non-string values for activity rich object strings
2025-05-06 15:43:27 +02:00
Richard Steinmetz 3bb440a73e fix(dav): move orphan cleaning logic to a chunked background job
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-05-06 13:05:26 +00:00
Louis Chemineau bea982dfd5 fix(blurhash): Use preview API to generate the previews
This allows to benefit from all the checks done by the preview API.
This also use the newly introduced `cacheResult` argument to limit disk usage.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-06 12:19:35 +00:00
Louis Chemineau 8e255bc6f5 feat(previews): Support in memory preview request
This allows callers to use the API without increasing the disk usage.

Example: blurhash generation, where we request a preview for all uploaded pictures, but don't want to necessarily store that preview.
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-06 12:19:35 +00:00
provokateurin 67e60d9711 fix(files): Fix non-string values for activity rich object strings
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-06 12:06:43 +00:00
Kent Delante 1402f6d6b8 Merge pull request #52653 from nextcloud/backport/52583/stable31
[stable31] fix(apps): Sort names separately from active/update state
2025-05-06 19:31:44 +08:00
nextcloud-command 04f1dc463d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-06 10:21:13 +00:00
nextcloud-command dbbd364107 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-06 09:28:37 +00:00
Kent Delante 7b18ecafbe fix(apps): Sort names separately from active/update state
Signed-off-by: Kent Delante <kent.delante@proton.me>
2025-05-06 09:28:37 +00:00
Kate d12e37f51f Merge pull request #52643 from nextcloud/backport/52628/stable31 2025-05-06 11:21:52 +02:00
provokateurin 31cd06d0e1 fix(files_external): Mark password fields for LoginCredentials and SessionCredentials as hidden and optional
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-06 09:43:36 +02:00
provokateurin dccaf29dc5 fix(files_external): Convert VALUE_HIDDEN to FLAG_HIDDEN to allow combining VALUE_PASSWORD and FLAG_HIDDEN
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-06 09:43:35 +02:00
dependabot[bot] e669a4cd1c Merge pull request #52606 from nextcloud/dependabot/npm_and_yarn/stable31/query-string-9.1.2 2025-05-06 07:28:24 +00:00
dependabot[bot] 09644238d9 build(deps): bump query-string from 9.1.1 to 9.1.2
Bumps [query-string](https://github.com/sindresorhus/query-string) from 9.1.1 to 9.1.2.
- [Release notes](https://github.com/sindresorhus/query-string/releases)
- [Commits](https://github.com/sindresorhus/query-string/compare/v9.1.1...v9.1.2)

---
updated-dependencies:
- dependency-name: query-string
  dependency-version: 9.1.2
  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-05-06 06:12:00 +00:00
Nextcloud bot cf38aa8be6 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-06 00:23:36 +00:00
dependabot[bot] 75a5bcf34b Merge pull request #52604 from nextcloud/dependabot/npm_and_yarn/stable31/babel/node-7.27.1 2025-05-05 16:25:17 +00:00
Arthur Schiwon f964cfb2a6 build: compile assets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-05-05 17:46:22 +02:00
Arthur Schiwon 197026bc8a fix(workflowengine): fix group not shown in Group membership check
this might have occured on instances with
- more than twenty groups, and
- on rules with more than one Group membership checks
- and at least one of them being not in the set of the first 20 groups

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-05-05 17:45:08 +02:00
dependabot[bot] ac2eba7ecd build(deps-dev): bump @babel/node from 7.26.0 to 7.27.1
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.26.0 to 7.27.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-node)

---
updated-dependencies:
- dependency-name: "@babel/node"
  dependency-version: 7.27.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 17:36:25 +02:00
Arthur Schiwon e7f494b26b build(hub): 31.0.5 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-05-05 16:43:09 +02:00
Joas Schilling cc2f0bf221 Merge pull request #52625 from nextcloud/backport/52587/stable31
[stable31] fix(loginflow): Fix type error when password could not be decrypted
2025-05-05 09:43:56 +02:00
Joas Schilling 68c2ab9038 fix(loginflow): Fix type error when password could not be decrypted
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-05 07:09:18 +00:00
Nextcloud bot f5445d47dd fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-05 00:49:29 +00:00
Nextcloud bot 9023304eb7 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-04 00:22:50 +00:00
Nextcloud bot 6ac2a69032 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-03 00:22:51 +00:00
Nextcloud bot 2ed24f68c2 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-02 00:23:06 +00:00
John Molakvoæ 21b0933c11 Merge pull request #52578 from nextcloud/backport/52572/stable31 2025-05-01 17:37:17 +02:00
Marcel Müller 3cc311b4cc fix: Ensure samba is started in kerberos tests
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-05-01 14:13:34 +00:00
Marcel Müller c2c90bbd72 chore: Add logs for dc and apache container
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-05-01 14:13:33 +00:00
Andy Scherzinger 55ddcb3961 Merge pull request #52576 from nextcloud/backport/52575/stable31
[stable31] fix(notification): Notification in activity shows "Rich subject or a …
2025-05-01 15:21:18 +02:00
rakekniven 7c57fff83b fix(notification): Notification in activity shows "Rich subject or a parameter for ..."
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-05-01 11:16:15 +00:00
Git'Fellow 01820ebf26 Merge pull request #52569 from nextcloud/backport/52551/stable31
[stable31] fix(WeatherStatus): Check if result is an array
2025-05-01 07:57:22 +02:00
Nextcloud bot bc3ce01e35 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-01 00:23:08 +00:00
Ferdinand Thiessen cb6637234f Merge pull request #52566 from nextcloud/backport/52565/stable31
[stable31] fix: Forward attributes to the sidebar
2025-04-30 22:27:20 +02:00
Git'Fellow 6c63f0b03b fix (WeatherStatus): Check if result is an array
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-04-30 19:30:15 +00:00
Louis Chemineau 5a71a3b1a7 fix: Forward attributes to the sidebar
Needed for Photos' sidebar tab

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

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-30 18:52:44 +00:00
Sebastian Krupinski 9349c8a42b Merge pull request #52562 from nextcloud/backport/52228/stable31
[stable31] fix(CalDAV): do not ignore move command object target uri
2025-04-30 17:45:54 +01:00
John Molakvoæ 31ab027316 Merge pull request #52554 from nextcloud/backport/52535/stable31 2025-04-30 18:39:27 +02:00
SebastianKrupinski 87317aae1d fix: do not ignore move command object target uri
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-04-30 14:28:10 +00:00
Ferdinand Thiessen d656d5f4f4 Merge pull request #52527 from nextcloud/backport/52525/stable31
[stable31] fix(WFE): properly set inital status
2025-04-30 14:34:31 +02:00
Arthur Schiwon d2bd6327d4 build: compile assets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-30 13:12:30 +02:00
nextcloud-command ee908479ba chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-30 12:38:16 +02:00
skjnldsv 1486243604 fix(dav): check the owner displayName scope before giving attribute
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

[skip ci]
2025-04-30 12:38:16 +02:00
John Molakvoæ d3baff65b9 Merge pull request #52555 from nextcloud/backport/52532/stable31 2025-04-30 12:23:54 +02:00
skjnldsv 206f9fba0b fix(files_sharing): bring back owner and ownerDisplayName initial state
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-30 09:32:15 +00:00
Richard Steinmetz 663431b425 Merge pull request #52548 from nextcloud/backport/52534/stable31
[stable31] perf(caldav): increase chunk size in RemoveOrphanEventsAndContacts repair step
2025-04-30 09:45:44 +02:00
Nextcloud bot 02bd400b3e fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-30 00:23:26 +00:00
Richard Steinmetz c22f215d02 perf(caldav): increase chunk size in RemoveOrphanEventsAndContacts repair step
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-04-29 21:05:24 +00:00
F. E Noel Nfebe 014e9a97e2 Merge pull request #52531 from nextcloud/backport/52526/stable31
[stable31] fix(files_sharing): Prevent create/delete permissions on file shares
2025-04-29 16:12:33 +02:00
nfebe fca9c5ae4a fix(files_sharing): Prevent create/delete permissions on file shares
File shares can't support create or delete permissions. This change ensures those permissions are

stripped or ignored when the shared item is not a folder.

Signed-off-by: nfebe <fenn25.fn@gmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-29 13:02:27 +00:00
Arthur Schiwon ebed9a5423 fix(WFE): properly set inital status
The operationComponent.value is only possibly available with registered
operations that have the value prop. Ones that do not would not have the
value set properly initially. Going to inputValue, which is mapped to the
components model-value, solves this.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-29 11:48:11 +00:00
Côme Chilliet 08140736d3 Merge pull request #52504 from nextcloud/backport/52443/stable31
[stable31] fix: don't check node access again for listing reminders in dav
2025-04-29 12:08:55 +02:00
Ferdinand Thiessen 4f530b132c Merge pull request #52488 from nextcloud/backport/52250/stable31
[stable31] fix(settings): allow to clear twitter and fediverse
2025-04-29 12:05:36 +02:00
nextcloud-command f52c155ad4 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-29 09:43:29 +00:00
Ferdinand Thiessen f5b222263a fix(settings): allow to clear twitter and fediverse
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-29 11:39:31 +02:00
Ferdinand Thiessen 0371c2cc02 Merge pull request #52520 from nextcloud/backport/52479/stable31
[stable31] fix(JSResourceLocator) fix incorrect parameter being used.
2025-04-29 10:56:21 +02:00
Robert Zenz ca987504d7 fix(JSResourceLocator): incorrect parameter was being used 2025-04-29 10:16:50 +02:00
Ferdinand Thiessen 895615a118 Merge pull request #52521 from nextcloud/backport/52249/stable31
[stable31] fix(theming): remove scssphp and use just native nested CSS
2025-04-29 10:02:35 +02:00
Ferdinand Thiessen 748c3db687 chore(theming): remove scssphp and just native nested CSS
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-29 07:34:29 +00:00
Nextcloud bot f835660548 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-29 00:22:50 +00:00
Joas Schilling 15d3a12f40 Merge pull request #52507 from nextcloud/backport/52434/stable31
[stable31] fix(navigation): Fix default app entry registered as closure
2025-04-28 23:34:32 +02:00
Ferdinand Thiessen b4109b8188 Merge pull request #52512 from nextcloud/backport/52402/stable31
[stable31] fix(32bit): use `PHP_INT_MAX` where needed
2025-04-28 22:37:34 +02:00
Ferdinand Thiessen e60e32388d fix(32bit): use PHP_INT_MAX where needed
* Typo from https://github.com/nextcloud/server/pull/52392

`0xFFFF` is only 2 bytes, but we need either `0xFFFFFFFF` or maybe a bit
easier to read `PHP_INT_MAX`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-28 19:23:24 +00:00
Ferdinand Thiessen 00639fac4e fix(32bit): make pack compatible with 32bit PHP
The `P` formatter is 64bit only - we need to manually pack the 64bit.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-28 19:23:24 +00:00
Joas Schilling 919a46a867 fix(navigation): Fix absolute URLs from default apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-28 14:54:35 +00:00
Joas Schilling cf4e784818 fix(navigation): Fix default app entry registered as closure
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-28 14:54:35 +00:00
Robin Appelman 193f032639 fix: don't check node access again for listing reminders in dav
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-04-28 12:51:39 +00:00
Kate 96a12e7b88 Merge pull request #51736 from nextcloud/backport/50244/stable31 2025-04-28 10:20:47 +02:00
Christopher Ng 338da85bda fix(ci): Update autoloaders
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-28 09:11:22 +02:00
Christopher Ng 04c2116663 perf(files_reminders): Use in-memory cache
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-28 09:11:15 +02:00
Christopher Ng 6a12408cbe perf(files_reminders): Pre-cache directory
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-28 09:11:11 +02:00
Christopher Ng 4eb4bb905f chore(files_reminders): Remove unused find
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-28 09:11:05 +02:00
Christopher Ng a09edbc8a0 chore(files_reminders): Remove unused get
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-28 09:11:00 +02:00
Christopher Ng e969d277b6 perf(files_reminders): Reduce db queries on propfind
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-28 09:10:55 +02:00
Nextcloud bot e694f65e92 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-28 00:23:21 +00:00
Ferdinand Thiessen 79d6b98cb5 Merge pull request #52003 from nextcloud/backport/51524/stable31
[stable31] fix: adjust webpack nonce generation
2025-04-27 16:20:30 +02:00
nextcloud-command affff455e1 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-27 15:12:56 +02:00
Ferdinand Thiessen ae94a80e1a fix: adjust webpack nonce generation
some leftovers where the request token is used instead of the CSP nonce.
in general this makes not much difference - but there are some cases
where those values differ.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-27 15:11:44 +02:00
Ferdinand Thiessen 3cd879ff61 Merge pull request #52226 from nextcloud/backport/52180/stable31
[stable31] fix(files_sharing): bring back handling of `hide-download` on public shares
2025-04-27 15:07:15 +02:00
dependabot[bot] 343877210a Merge pull request #52453 from nextcloud/dependabot/npm_and_yarn/stable31/puppeteer-24.7.2 2025-04-27 13:05:29 +00:00
nextcloud-command 169487ba12 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-27 12:29:32 +00:00
dependabot[bot] fa005d5a87 build(deps-dev): bump puppeteer from 24.4.0 to 24.7.2
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 24.4.0 to 24.7.2.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v24.4.0...puppeteer-v24.7.2)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-version: 24.7.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-27 14:28:31 +02:00
Ferdinand Thiessen 495bb2c69c fix(files_sharing): allow to disable share download permission
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-27 14:26:16 +02:00
Ferdinand Thiessen 2f7e0dc09b revert: do not unify hide-download and prevent-download permissions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-27 14:26:16 +02:00
Ferdinand Thiessen c412f2ab72 fix(files_sharing): do not show download button if hide-download is enabled
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-27 14:26:16 +02:00
Ferdinand Thiessen 73bcc0a739 refactor(files): use new hide-download WebDAV property for download action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-27 14:26:16 +02:00
Ferdinand Thiessen 4314e3f5f7 feat(files_sharing): add WebDAV property for the hide-download state of shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-27 14:26:16 +02:00
dependabot[bot] 40fae9ffbd Merge pull request #52451 from nextcloud/dependabot/npm_and_yarn/stable31/marked-15.0.11 2025-04-27 12:23:41 +00:00
nextcloud-command df7ce4511f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-27 14:09:36 +02:00
dependabot[bot] 79c0603038 build(deps): bump marked from 15.0.9 to 15.0.11
Bumps [marked](https://github.com/markedjs/marked) from 15.0.9 to 15.0.11.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v15.0.9...v15.0.11)

---
updated-dependencies:
- dependency-name: marked
  dependency-version: 15.0.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-27 14:09:36 +02:00
Kate 41d36f6f3c Merge pull request #52486 from nextcloud/backport/52417/stable31 2025-04-27 13:21:23 +02:00
nextcloud-command 22bcccbc92 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-27 10:47:24 +00:00
Ferdinand Thiessen 441d9f1661 fix(settings): group admins only can add users to their groups
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-27 12:42:10 +02:00
Ferdinand Thiessen 9e5fc7d6a0 feat(settings): provide user groups for accounts list
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-27 12:41:09 +02:00
Nextcloud bot 0d2663aab3 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-27 00:23:07 +00:00
dependabot[bot] 5a22ac1d76 Merge pull request #52448 from nextcloud/dependabot/npm_and_yarn/stable31/nextcloud/vue-8.26.0 2025-04-26 20:58:56 +00:00
nextcloud-command f2597b413d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-26 20:44:59 +00:00
dependabot[bot] e1cf7dd729 build(deps): bump @nextcloud/vue from 8.25.1 to 8.26.0
Bumps [@nextcloud/vue](https://github.com/nextcloud-libraries/nextcloud-vue) from 8.25.1 to 8.26.0.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-vue/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-vue/compare/v8.25.1...v8.26.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/vue"
  dependency-version: 8.26.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-26 22:41:26 +02:00
dependabot[bot] 2cd58a12f9 Merge pull request #52449 from nextcloud/dependabot/npm_and_yarn/stable31/testing-library/jest-dom-6.6.3 2025-04-26 19:14:52 +00:00
dependabot[bot] e161ef609f build(deps-dev): bump @testing-library/jest-dom from 6.5.0 to 6.6.3
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.5.0 to 6.6.3.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.5.0...v6.6.3)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-version: 6.6.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-26 21:01:02 +02:00
dependabot[bot] ef85bf1acd Merge pull request #52447 from nextcloud/dependabot/npm_and_yarn/stable31/dockerode-4.0.6 2025-04-26 16:08:11 +00:00
dependabot[bot] 07f0b1cf67 Merge pull request #52450 from nextcloud/dependabot/npm_and_yarn/stable31/webpack-5.99.7 2025-04-26 13:49:34 +00:00
nextcloud-command 7b75c87dd9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-26 13:35:22 +00:00
dependabot[bot] 2ff860185e build(deps-dev): bump webpack from 5.99.6 to 5.99.7
Bumps [webpack](https://github.com/webpack/webpack) from 5.99.6 to 5.99.7.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.99.6...v5.99.7)

---
updated-dependencies:
- dependency-name: webpack
  dependency-version: 5.99.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-26 15:31:27 +02:00
dependabot[bot] 91656a6965 Merge pull request #52452 from nextcloud/dependabot/npm_and_yarn/stable31/typescript-5.8.3 2025-04-26 01:47:19 +00:00
dependabot[bot] 51a9748853 Merge pull request #52454 from nextcloud/dependabot/npm_and_yarn/stable31/stylelint-16.19.1 2025-04-26 01:41:42 +00:00
dependabot[bot] d57283fa22 build(deps-dev): bump stylelint from 16.18.0 to 16.19.1
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.18.0 to 16.19.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.18.0...16.19.1)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-version: 16.19.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-26 01:05:58 +00:00
dependabot[bot] edcdae6c42 build(deps-dev): bump typescript from 5.7.3 to 5.8.3
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.7.3 to 5.8.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.7.3...v5.8.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 5.8.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-26 01:05:24 +00:00
dependabot[bot] a6f24a39c0 build(deps-dev): bump dockerode from 4.0.5 to 4.0.6
Bumps [dockerode](https://github.com/apocas/dockerode) from 4.0.5 to 4.0.6.
- [Release notes](https://github.com/apocas/dockerode/releases)
- [Commits](https://github.com/apocas/dockerode/compare/v4.0.5...v4.0.6)

---
updated-dependencies:
- dependency-name: dockerode
  dependency-version: 4.0.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-26 01:03:40 +00:00
Nextcloud bot cf27ccaafb fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-26 00:23:06 +00:00
Git'Fellow e6044f3a6b Merge pull request #52440 from nextcloud/backport/52439/stable31
[stable31] fix(settings): Use axios directly for health check to preven URL sanitizing
2025-04-25 18:19:36 +02:00
nextcloud-command d482cea6ff chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-25 16:04:53 +00:00
Ferdinand Thiessen 7ae790bf8d fix(settings): Use axios directly for health check to preven URL sanitizing
When using Apache with `DirectorySlash` it will respond with 301 and the URL with trailing slash.
But when using traefik as the reverse proxy it can not rewrite redirects, this leads to the problem
that the Apache response is using HTTP in the redirect but the real server (traefik) is only listening on HTTPS.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-25 15:46:00 +00:00
Andy Scherzinger 97d8b69fb2 Merge pull request #52435 from nextcloud/backport/52429/stable31
[stable31] fix(occ): Fix autocompletion of config:app:* commands
2025-04-25 16:11:04 +02:00
Andy Scherzinger 91116e7129 Merge pull request #52138 from nextcloud/revert-52123-backport/51431/stable31
Revert "[stable31] feat(bulk-upload): change the default to disabled as there are still some bugs present"
2025-04-25 15:48:38 +02:00
Joas Schilling 5149745b46 fix(occ): Fix autocompletion of config:app:* commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-25 14:57:04 +02:00
Joas Schilling cb13e2fd80 Merge pull request #52433 from nextcloud/backport/52424/stable31
[stable31] fix(config): Censor more app configs in system report
2025-04-25 13:59:56 +02:00
Joas Schilling 5be07f3c10 fix(config): Censor more app configs in system report
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-25 11:04:09 +00:00
Andy Scherzinger 2d39bfafa3 Merge pull request #52425 from nextcloud/backport/52404/stable31
[stable31] fix(federation): Allow federation file sharing when federation app is…
2025-04-25 10:15:52 +02:00
Joas Schilling 655d0fcdcb fix(federation): Allow federation file sharing when federation app is disabled
The app id might be misleading, the federation app is for syncing addressbooks
with trusted servers. It is not always enabled and show not have to be.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-25 09:49:37 +02:00
Nextcloud bot f3ecf43ebe fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-25 00:22:51 +00:00
Andy Scherzinger 6661d29dca Merge pull request #52422 from nextcloud/backport/51309/stable31
[stable31] test(cypress): rename select all clear
2025-04-25 00:04:17 +02:00
skjnldsv b3ca9c0bec fix(cypress): rename select all clear
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-24 21:38:42 +00:00
F. E Noel Nfebe 989f24fea6 Merge pull request #52409 from nextcloud/backport/52364/stable31
[stable31] fix(files_sharing): Improve expiration date input change handling
2025-04-24 21:39:17 +02:00
F. E Noel Nfebe edfa015058 Merge pull request #52401 from nextcloud/backport/52299/stable31
[stable31] refactor: Thumbnail Generator logging and tests
2025-04-24 20:53:44 +02:00
John Molakvoæ a1c8a48a71 Merge pull request #52371 from nextcloud/backport/52094/stable31 2025-04-24 20:09:40 +02:00
Andy Scherzinger d9ff9907dc Merge pull request #52394 from nextcloud/backport/51439/stable31
[stable31] fix(db): Create replacement index where original index is missing
2025-04-24 19:20:01 +02:00
Andy Scherzinger a2979dc1f5 Merge pull request #52411 from nextcloud/backport/52373/stable31
[stable31] fix(files_versions): create version if previous does not exist
2025-04-24 19:15:12 +02:00
Andy Scherzinger 00dc876dc8 Merge pull request #52101 from nextcloud/backport/52073/stable31
[stable31] fix: fix preloading files with no custom properties
2025-04-24 19:10:41 +02:00
nextcloud-command c0d45f8d06 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-24 17:00:10 +00:00
rakekniven d249074e9c chore(i18n): Use "name" instead of "nickname"
Users asked why they should use a nickname?

"Name" covers nickname, pseudonym, username or real name.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-04-24 18:53:59 +02:00
Andy Scherzinger c557da40f0 Merge pull request #52415 from nextcloud/backport/51438/stable31
[stable31] perf(db): Extend index on cards_properties to cover name and value
2025-04-24 18:39:40 +02:00
Andy Scherzinger 82b833872d Merge pull request #52418 from nextcloud/backport/52079/stable31
[stable31] fix(previews): avoid large file downloads for remote movie storage
2025-04-24 17:52:37 +02:00
Kate e17752f7a4 Merge pull request #52406 from nextcloud/backport/52374/stable31 2025-04-24 15:29:19 +02:00
Louis 215fa11204 Revert "[stable31] feat(bulk-upload): change the default to disabled as there are still some bugs present" 2025-04-24 14:54:02 +02:00
Misha M.-Kupriyanov aa9c1ddb09 fix(previews): avoid large file downloads for remote movie storage
Prevent downloading entire movie files from remote storage (e.g., S3)
when the 'moov atom' is located at the end of the file.

Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-04-24 12:52:47 +00:00
Christoph Wurst 4017378c95 perf(db): Extend index on cards_properties to cover name and value
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-04-24 11:34:07 +00:00
Ferdinand Thiessen cf0814a7fd fix(files_versions): create version if previous does not exist
This issue happens reproducible if:
- Versions is disabled
- Upload a file
- Enable versions
- Upload same file unchanged
- Now the error happens.

Problem is that the mtime is unchanged so no version will be created on the upload, but it tries to update the last version which does not exists.
Instead of "upload same file unchanged" you can also - like in the example stack trace above - use Android with an SD card with invalid mtime -> the mtime will be stripped so its always the same.
Instead of disable versions the same also happens if e.g. the versions creation failed due to other issues.

The solution now is to catch the exception and create if not exists.
A cleaner solution would be to have a method on the versions backend
like `hasVersionEntity(File $file, int $revision): bool` but this would
be a breaking change or at least a feature that apps need to implement.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-24 11:31:00 +00:00
nextcloud-command f86e41ec96 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-24 11:25:45 +00:00
nfebe 1d52c09b05 fix(files_sharing): Improve expiration date input change handling
If the time picker component is emitting a Date object already, then there is redundant call of `new Date(new Date())` and

therefore introduces subtle bugs, for example on chrome users could not  enter expiration date with keyboard.

- Use @update:model-value instead of @change/@input for more reliable date updates

- Ensure null and invalid dates are handled correctly in onExpirationChange

- Validate date input before updating defaultExpirationDateEnabled

Resolves : https://github.com/nextcloud/server/issues/51875

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-04-24 12:04:06 +01:00
nextcloud-command 4a63c665d8 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-24 10:56:33 +00:00
provokateurin 4a23792fc5 fix(updatenotification): Fix error handling when fetching applist for server update
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-04-24 10:25:07 +00:00
Marcel Klehr 6c8fa2a145 Merge pull request #52118 from nextcloud/backport/52116/stable31
[stable31] Fix(TaskProcessing): for validation for taskprocessing EShapeType
2025-04-24 11:13:24 +02:00
nfebe 73c447027e refactor: Thumbnail Generator logging and tests
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-04-24 08:49:16 +00:00
Andy Scherzinger 68d4864cf8 Merge pull request #51996 from nextcloud/backport/51927/stable31
[stable31] fix(systemtags): emit assign and unassign bulk tagging events
2025-04-24 10:00:49 +02:00
Andy Scherzinger f2b4f791bb Merge pull request #52372 from nextcloud/backport/52366/stable31
[stable31] feat(profile): Add an API to get the profile field data
2025-04-24 08:47:13 +02:00
Nextcloud bot c037fbb79d fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-24 00:23:43 +00:00
Joas Schilling 3923eaba04 feat(profile): Add an API to get the profile field data
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-24 00:50:11 +02:00
Christoph Wurst 2dfda1ea26 fix(db): Create replacement index where original index is missing
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-04-23 22:49:47 +00:00
Andy Scherzinger b41ba29d19 Merge pull request #52387 from nextcloud/backport/51994/stable31
[stable31] fix(federation): allows equal signs in federation id
2025-04-24 00:36:17 +02:00
dependabot[bot] 3bff537d20 Merge pull request #52338 from nextcloud/dependabot/npm_and_yarn/stable31/vueuse/components-11.3.0 2025-04-23 22:21:56 +00:00
Andy Scherzinger f1438a7a03 Merge pull request #52237 from nextcloud/backport/50465/stable31
[stable31] fix: Check that user actually can validate password for js
2025-04-23 23:59:45 +02:00
dependabot[bot] 8bc13d38a4 build(deps): bump @vueuse/components from 11.1.0 to 11.3.0
Bumps [@vueuse/components](https://github.com/vueuse/vueuse/tree/HEAD/packages/components) from 11.1.0 to 11.3.0.
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v11.3.0/packages/components)

---
updated-dependencies:
- dependency-name: "@vueuse/components"
  dependency-version: 11.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-23 21:31:27 +00:00
John Molakvoæ (skjnldsv) f249a487ff fix(systemtags): emit assign and unassign bulk tagging events
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-04-23 23:14:57 +02:00
Lukas Schaefer aba43d4a8a Fix(TaskProcessing): for validation for taskprocessing EShapeType
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
2025-04-23 23:05:10 +02:00
Robin Appelman e436f87496 fix: fix preloading files with no custom properties
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-04-23 23:02:18 +02:00
Andy Scherzinger a6cc47a897 Merge pull request #52382 from nextcloud/backport/52361/stable31
[stable31] fix(objectstorage): add retry attempts to S3 connection
2025-04-23 22:54:40 +02:00
dependabot[bot] 9de8c1f158 Merge pull request #52332 from nextcloud/dependabot/npm_and_yarn/stable31/core-js-3.41.0 2025-04-23 20:54:18 +00:00
zorn-v bd59116171 Check that user actually can validate password for js
Signed-off-by: zorn-v <zorn7@yandex.ru>
2025-04-23 22:35:52 +02:00
dependabot[bot] 6c672355d5 build(deps): bump core-js from 3.40.0 to 3.41.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.40.0 to 3.41.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.41.0/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-version: 3.41.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-23 20:26:29 +00:00
dependabot[bot] 64b4531e51 Merge pull request #52336 from nextcloud/dependabot/npm_and_yarn/stable31/webpack-5.99.6 2025-04-23 20:20:41 +00:00
dependabot[bot] 15670d621b build(deps-dev): bump webpack from 5.94.0 to 5.99.6
Bumps [webpack](https://github.com/webpack/webpack) from 5.94.0 to 5.99.6.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.94.0...v5.99.6)

---
updated-dependencies:
- dependency-name: webpack
  dependency-version: 5.99.6
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-23 19:32:28 +00:00
Maxence Lange e82cdba53f fix(federation): allows equal signs in federation id
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-04-23 19:23:52 +00:00
Ferdinand Thiessen 74e8dc21c4 Merge pull request #52328 from nextcloud/dependabot/npm_and_yarn/stable31/vueuse/integrations-11.3.0
build(deps): bump @vueuse/integrations from 11.1.0 to 11.3.0
2025-04-23 21:22:57 +02:00
dependabot[bot] 5f9357570f build(deps): bump @vueuse/integrations from 11.1.0 to 11.3.0
Bumps [@vueuse/integrations](https://github.com/vueuse/vueuse/tree/HEAD/packages/integrations) from 11.1.0 to 11.3.0.
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v11.3.0/packages/integrations)

---
updated-dependencies:
- dependency-name: "@vueuse/integrations"
  dependency-version: 11.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-23 18:45:15 +00:00
Anna Larch d393e98c9e fix(objectstorage): add retry attempts to S3 connection
Signed-off-by: Anna Larch <anna@nextcloud.com>
2025-04-23 18:40:23 +00:00
dependabot[bot] 96fda99a06 Merge pull request #52323 from nextcloud/dependabot/npm_and_yarn/stable31/marked-15.0.9 2025-04-23 18:33:04 +00:00
dependabot[bot] 708b7db130 build(deps): bump marked from 15.0.8 to 15.0.9
Bumps [marked](https://github.com/markedjs/marked) from 15.0.8 to 15.0.9.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v15.0.8...v15.0.9)

---
updated-dependencies:
- dependency-name: marked
  dependency-version: 15.0.9
  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-04-23 18:03:41 +00:00
dependabot[bot] 1230b44f71 Merge pull request #52270 from nextcloud/dependabot/npm_and_yarn/stable31/types/dockerode-3.3.38 2025-04-23 12:07:12 +00:00
Ferdinand Thiessen 1be7c65047 Merge pull request #52233 from nextcloud/backport/52223/stable31
[stable31] feat(security): add configurable IPv6 subnet for BFP and throttling
2025-04-23 13:54:15 +02:00
dependabot[bot] 02673eee46 Merge pull request #52320 from nextcloud/dependabot/npm_and_yarn/stable31/p-limit-6.2.0 2025-04-23 11:12:40 +00:00
dependabot[bot] 4b3293ecbd build(deps): bump p-limit from 6.1.0 to 6.2.0
Bumps [p-limit](https://github.com/sindresorhus/p-limit) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/sindresorhus/p-limit/releases)
- [Commits](https://github.com/sindresorhus/p-limit/compare/v6.1.0...v6.2.0)

---
updated-dependencies:
- dependency-name: p-limit
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-23 10:57:05 +00:00
dependabot[bot] 28aec42fec Merge pull request #52317 from nextcloud/dependabot/composer/vendor-bin/phpunit/stable31/phpunit/phpunit-9.6.22 2025-04-23 10:44:25 +00:00
dependabot[bot] c6fd40009a Merge pull request #52341 from nextcloud/dependabot/npm_and_yarn/stable31/testing-library/user-event-14.6.1 2025-04-23 08:27:02 +00:00
dependabot[bot] bca137597b Merge pull request #52313 from nextcloud/dependabot/composer/build/integration/stable31/guzzlehttp/guzzle-7.9.3 2025-04-23 08:20:36 +00:00
Nextcloud bot 651f5af528 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-23 00:23:05 +00:00
dependabot[bot] f562aa71f4 Merge pull request #52356 from nextcloud/dependabot/npm_and_yarn/stable31/libphonenumber-js-1.12.7 2025-04-22 23:43:39 +00:00
dependabot[bot] 090d41e0a6 Merge pull request #52345 from nextcloud/dependabot/npm_and_yarn/stable31/stylelint-16.18.0 2025-04-22 23:26:06 +00:00
dependabot[bot] c1350b22fc Merge pull request #52343 from nextcloud/dependabot/npm_and_yarn/stable31/sass-1.87.0 2025-04-22 23:16:54 +00:00
Ferdinand Thiessen 20160afd62 Merge pull request #52363 from nextcloud/backport/52296/stable31
[stable31] fix(files): prevent dragging preview when drag-drop
2025-04-23 01:03:20 +02:00
F. E Noel Nfebe 3702e20451 Merge pull request #52300 from nextcloud/backport/52221/stable31
[stable31] feat: add logging to preview generation
2025-04-23 00:11:26 +02:00
nfebe 84469a42af feat: add logging to preview generation
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-04-22 23:43:58 +02:00
dependabot[bot] 3848a30406 Merge pull request #52357 from nextcloud/dependabot/npm_and_yarn/stable31/cypress-axe-1.6.0 2025-04-22 20:13:21 +00:00
dependabot[bot] 9af7dba8af Merge pull request #52316 from nextcloud/dependabot/npm_and_yarn/stable31/cypress-if-1.13.2 2025-04-22 20:13:03 +00:00
dependabot[bot] df8df38c8e build(deps-dev): bump cypress-axe from 1.5.0 to 1.6.0
Bumps [cypress-axe](https://github.com/component-driven/cypress-axe) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/component-driven/cypress-axe/releases)
- [Commits](https://github.com/component-driven/cypress-axe/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: cypress-axe
  dependency-version: 1.6.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 19:59:41 +00:00
dependabot[bot] dec37b94de build(deps-dev): bump cypress-if from 1.12.6 to 1.13.2
Bumps [cypress-if](https://github.com/bahmutov/cypress-if) from 1.12.6 to 1.13.2.
- [Release notes](https://github.com/bahmutov/cypress-if/releases)
- [Commits](https://github.com/bahmutov/cypress-if/compare/v1.12.6...v1.13.2)

---
updated-dependencies:
- dependency-name: cypress-if
  dependency-version: 1.13.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 19:59:21 +00:00
dependabot[bot] da00875a43 Merge pull request #52349 from nextcloud/dependabot/npm_and_yarn/stable31/cypress-13.17.0 2025-04-22 19:57:31 +00:00
dependabot[bot] 45c072edea build(deps-dev): bump cypress from 13.15.2 to 13.17.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 13.15.2 to 13.17.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v13.15.2...v13.17.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-version: 13.17.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 19:43:58 +00:00
dependabot[bot] a785269242 Merge pull request #52351 from nextcloud/dependabot/npm_and_yarn/stable31/babel/node-7.26.0 2025-04-22 19:41:48 +00:00
dependabot[bot] ca0053c74d build(deps-dev): bump @babel/node from 7.25.9 to 7.26.0
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.25.9 to 7.26.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.26.0/packages/babel-node)

---
updated-dependencies:
- dependency-name: "@babel/node"
  dependency-version: 7.26.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 19:27:52 +00:00
dependabot[bot] 5364c566fd Merge pull request #52354 from nextcloud/dependabot/npm_and_yarn/stable31/babel/preset-typescript-7.27.0 2025-04-22 19:24:27 +00:00
dependabot[bot] 5787f18726 build(deps): bump libphonenumber-js from 1.11.20 to 1.12.7
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.11.20 to 1.12.7.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/commits/master)

---
updated-dependencies:
- dependency-name: libphonenumber-js
  dependency-version: 1.12.7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-22 19:16:23 +00:00
nextcloud-command b75ada2c33 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-22 19:02:22 +00:00
John Molakvoæ (skjnldsv) 532f8948d1 fix(files): prevent dragging preview when drag-drop
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-04-22 18:08:38 +00:00
dependabot[bot] 7743e9391c build(deps): bump phpunit/phpunit in /vendor-bin/phpunit
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.19 to 9.6.22.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.22/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.19...9.6.22)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-version: 9.6.22
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 16:15:07 +00:00
dependabot[bot] c763340bb2 Merge pull request #52314 from nextcloud/dependabot/composer/build/integration/stable31/phpunit/phpunit-9.6.22 2025-04-22 16:06:43 +00:00
Julius Knorr f5325b41f4 Merge pull request #52219 from nextcloud/backport/48738/stable31
[stable31] perf: Log requests using high amount of memory as warning
2025-04-22 17:30:39 +02:00
dependabot[bot] b4407fcb89 Merge pull request #52326 from nextcloud/dependabot/npm_and_yarn/stable31/jasmine-core-2.99.1 2025-04-22 15:14:22 +00:00
dependabot[bot] 2885d74e96 build(deps-dev): bump @babel/preset-typescript from 7.26.0 to 7.27.0
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.26.0 to 7.27.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.27.0/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
  dependency-version: 7.27.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 13:06:26 +00:00
dependabot[bot] 2502c00d38 build(deps-dev): bump stylelint from 16.9.0 to 16.18.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.9.0 to 16.18.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.9.0...16.18.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-version: 16.18.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 13:04:39 +00:00
dependabot[bot] 324b314e70 build(deps-dev): bump sass from 1.81.1 to 1.87.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.81.1 to 1.87.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.81.1...1.87.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-version: 1.87.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 13:04:07 +00:00
dependabot[bot] 7d2412fce0 build(deps-dev): bump @testing-library/user-event from 14.5.2 to 14.6.1
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 14.5.2 to 14.6.1.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v14.5.2...v14.6.1)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-version: 14.6.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 13:03:36 +00:00
dependabot[bot] 69276477e1 build(deps-dev): bump jasmine-core from 2.5.2 to 2.99.1
Bumps [jasmine-core](https://github.com/jasmine/jasmine) from 2.5.2 to 2.99.1.
- [Release notes](https://github.com/jasmine/jasmine/releases)
- [Changelog](https://github.com/jasmine/jasmine/blob/main/RELEASE.md)
- [Commits](https://github.com/jasmine/jasmine/compare/v2.5.2...v2.99.1)

---
updated-dependencies:
- dependency-name: jasmine-core
  dependency-version: 2.99.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 13:00:08 +00:00
dependabot[bot] 553c019eaa build(deps-dev): bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.21 to 9.6.22.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.22/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.21...9.6.22)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-version: 9.6.22
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 12:58:23 +00:00
dependabot[bot] dc1032cc64 build(deps-dev): bump guzzlehttp/guzzle in /build/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.9.2 to 7.9.3.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/7.9/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.9.2...7.9.3)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-version: 7.9.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 12:58:11 +00:00
Kate a3fcd57b73 Merge pull request #52302 from nextcloud/backport/51491/stable31 2025-04-22 14:52:01 +02:00
Ferdinand Thiessen d3fe0826b4 fix(dav): allow uploading of files with long filenames
A filename must be less or equal 255 characters, but when adding the
`.part` and `.ocfiletransfer` extensions we might overflow this limit.
So we should also use filename hashes for uploading when the file has a
long filename, similar like when we are uploading to the user storage
directly.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 11:53:46 +00:00
Ferdinand Thiessen 15726db205 refactor(dav): simplify length header handling
Reduce nesting and drop duplicated sections.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 11:53:46 +00:00
Arthur Schiwon 9bc3368f97 Merge pull request #52287 from nextcloud/backport/52257/stable31
[stable31] fix(LDAP): inlcude ldapExpertUsernameAttr in general attribute list
2025-04-22 13:11:07 +02:00
Ferdinand Thiessen 5e819775ed Merge pull request #52295 from nextcloud/chore/31-update-vue
[stable31] chore(dependencies): update `@nextcloud/vue` to v8.25.1
2025-04-22 12:51:31 +02:00
Ferdinand Thiessen 6c4dce9020 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 12:37:03 +02:00
Ferdinand Thiessen 78a59a1575 test: update snapshots
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 12:32:53 +02:00
Ferdinand Thiessen 0188552dd9 chore(dependencies): update @nextcloud/vue to v8.25.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 12:32:53 +02:00
John Molakvoæ 6d87774e06 Merge pull request #52197 from nextcloud/backport/52072/stable31 2025-04-22 12:27:57 +02:00
nextcloud-command 5a09f0dea0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-22 09:27:57 +00:00
skjnldsv f47b72c134 fix(files_sharing): file request pass empty string if password or expiration is disabled
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

[skip ci]
2025-04-22 11:17:23 +02:00
skjnldsv de30163f9a fix(files_sharing): expireDate null tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-22 11:17:22 +02:00
Arthur Schiwon fa38ae46f4 fix(LDAP): inlcude ldapExpertUsernameAttr in general attribute list
fixes corner cases in which an LDAP record might be loaded and used,
where the user is still not mapped - and then this information is
missing though expected.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-22 07:25:02 +00:00
Julius Knorr 4120493856 Merge pull request #52039 from nextcloud/backport/52008/stable31
[stable31] fix: Proper order for checking path prefix for getting file by id from cache
2025-04-22 08:45:04 +02:00
Nextcloud bot 94079a8ba2 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-22 00:23:09 +00:00
Ferdinand Thiessen 1d5d2188ca Merge pull request #52030 from nextcloud/backport/51946/stable31
[stable31] perf(cloud_federation_api): only provide capabilities if needed
2025-04-21 22:47:44 +02:00
Joas Schilling 9821d3d20a Merge pull request #52256 from nextcloud/backport/52224/stable31
[stable31] fix(usermanager): Don't throw when checking if a too long user id is an existing user
2025-04-21 14:20:18 +02:00
Nextcloud bot 448ca090f9 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-21 00:23:18 +00:00
Nextcloud bot 62326bae8d fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-20 00:23:13 +00:00
dependabot[bot] c1140ac0ba build(deps-dev): bump @types/dockerode from 3.3.37 to 3.3.38
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.37 to 3.3.38.
- [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-version: 3.3.38
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-19 01:18:36 +00:00
Nextcloud bot e5b89e6609 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-19 00:22:55 +00:00
dependabot[bot] abe7980545 Merge pull request #51963 from nextcloud/dependabot/npm_and_yarn/stable31/mime-4.0.7 2025-04-18 23:00:38 +00:00
dependabot[bot] 0c4fc7d95a build(deps-dev): bump mime from 4.0.6 to 4.0.7
Bumps [mime](https://github.com/broofa/mime) from 4.0.6 to 4.0.7.
- [Release notes](https://github.com/broofa/mime/releases)
- [Changelog](https://github.com/broofa/mime/blob/main/CHANGELOG.md)
- [Commits](https://github.com/broofa/mime/compare/v4.0.6...v4.0.7)

---
updated-dependencies:
- dependency-name: mime
  dependency-version: 4.0.7
  dependency-type: direct:development
  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-04-18 22:46:57 +00:00
Ferdinand Thiessen 504cb11c5d Merge pull request #52001 from nextcloud/backport/51937/stable31
[stable31] perf(files_sharing): do not emit second propfind for account filter
2025-04-18 19:53:36 +02:00
Ferdinand Thiessen f42ca3a383 Merge pull request #52248 from nextcloud/backport/52240/stable31
[stable31] fix(mail): use matching text color for primary elements
2025-04-18 16:23:53 +02:00
Nextcloud bot 287753e099 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-18 00:23:40 +00:00
Arthur Schiwon aa584f990b Merge pull request #52254 from nextcloud/backport/52252/stable31
[stable31] fix(Log): revert swich to ?? operator
2025-04-17 19:29:48 +02:00
Joas Schilling c34a5d2f6e fix(usermanager): Don't throw when checking if a too long user id is an existing user
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-17 14:55:12 +00:00
Arthur Schiwon 09e3b93eed fix(Log): revert swich to ?? operator
false is expected, not null. The changed caused "user" in the log files
to be false instead of "--", which is breaking behaviour.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-17 13:20:29 +00:00
Ferdinand Thiessen dada9b5c1c fix(mail): use matching text color for primary elements
when we use the default primary as background color we have to use the
default primary text color as well.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-17 10:43:58 +00:00
Louis e51e64ea69 Merge pull request #52185 from nextcloud/backport/51020/stable31 2025-04-17 11:38:31 +02:00
Benjamin Gaussorgues f3ea370852 Merge pull request #52236 from nextcloud/release/31.0.4 2025-04-17 11:06:33 +02:00
Benjamin Gaussorgues a0bcd9a8f9 build(hub): 31.0.4
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-04-17 09:10:09 +02:00
Benjamin Gaussorgues a8bcff1388 feat(ip): add configurable IPv6 subnet for BFP and throttling
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-04-17 07:03:46 +00:00
Nextcloud bot 47387e574d fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-17 00:23:07 +00:00
Julius Knorr 44d6f4390e perf: Log requests using high amount of memory as warning
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-04-16 14:40:16 +02:00
Louis Chemineau 27ed921ad5 fix: Transfer ownership with S3 as primary
When using S3 as primary storage, transferring ownership with the `--move` option fail with the following error:

`SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '8-45b963397aa40d4a0063e0d85e4fe7a1' for key 'fs_storage_path_hash'`

The `--move` option moves the entire home folder from one account to another.
The error means that the move failed because the destination folder already exist in `oc_filecache`.

- With S3 as primary storage, folders only exists as entries in `oc_filecache`.
- With S3 as primary storage, `moveFromStorage(...)` only moves the cache entry, as nothing needs to be moved on disk. This cache move does not delete potentially pre-existing destination folder.
- With Local storage, `moveFromStorage(...)` calls `rename(...)` which delete pre-existing folder.

- `transfer(...)`: https://github.com/nextcloud/server/blob/687a4d9ac7fcdbd935f81a0def567a1092306f7a/apps/files/lib/Service/OwnershipTransferService.php#L112
- `oneTimeUserSetup(...)`: https://github.com/nextcloud/server/blob/687a4d9ac7fcdbd935f81a0def567a1092306f7a/lib/private/Files/SetupManager.php#L261-L262
- `mkdir(...)`: https://github.com/nextcloud/server/blob/687a4d9ac7fcdbd935f81a0def567a1092306f7a/lib/private/Files/ObjectStore/ObjectStoreStorage.php#L91-L135
- `moveFromStorage(...)`: https://github.com/nextcloud/server/blob/687a4d9ac7fcdbd935f81a0def567a1092306f7a/lib/private/Files/ObjectStore/ObjectStoreStorage.php#L635-L636

Delete pre-existing folder in `moveFromStorage(...)`

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-16 10:19:17 +02:00
Nextcloud bot 82efa591f4 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-16 00:23:26 +00:00
John Molakvoæ 9aaf858a1b Merge pull request #52202 from nextcloud/release/31.0.4_rc1 2025-04-15 17:35:27 +02:00
F. E Noel Nfebe 4cfb4b440d Merge pull request #52208 from nextcloud/backport/52121/stable31
[stable31] fix(files_sharing): Apply default password setting in SharingDetailsTab
2025-04-15 14:01:36 +02:00
nextcloud-command 290216129d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-15 11:47:20 +00:00
nfebe cc9ec2607a fix(files_sharing): Apply default password setting in SharingDetailsTab
Signed-off-by: nfebe <fenn25.fn@gmail.com>

[skip ci]
2025-04-15 10:57:10 +00:00
John Molakvoæ 1044a44aa8 Merge pull request #52206 from nextcloud/backport/50905/stable31 2025-04-15 11:53:39 +02:00
John Molakvoæ 3f528a2726 fix(files_sharing): adjust rate limit share creation to 20 over 10 minutes
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-04-15 08:58:17 +00:00
skjnldsv 496521e993 test: enable rate limiting for ratelimiting.feature
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-15 08:58:17 +00:00
Joas Schilling 7a6fd82a4b test: Disable ratelimit as tests trigger it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-15 08:58:17 +00:00
skjnldsv aec6eeb5b8 fix(files_sharing): rate limit share creation 10 times per 10 minutes
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-15 08:58:17 +00:00
skjnldsv b7de099b23 build(hub): 31.0.4 RC1
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-15 10:45:57 +02:00
dependabot[bot] 1649cd32f3 Merge pull request #51964 from nextcloud/dependabot/npm_and_yarn/stable31/dompurify-3.2.5 2025-04-15 07:08:07 +00:00
Nextcloud bot 3c1b471d0c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-15 00:22:51 +00:00
nextcloud-command 397bfa44a4 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-14 20:59:09 +00:00
dependabot[bot] 9c2d81f792 build(deps): bump dompurify from 3.2.4 to 3.2.5
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.2.4...3.2.5)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.2.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 22:55:48 +02:00
John Molakvoæ 98371cd0ac Merge pull request #51348 from nextcloud/dependabot/npm_and_yarn/stable31/nextcloud/event-bus-3.3.2 2025-04-14 22:48:50 +02:00
nextcloud-command 96b87eed18 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-14 20:35:12 +00:00
dependabot[bot] d0a99a5012 build(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>
2025-04-14 20:31:03 +00:00
Ferdinand Thiessen 8c087c8436 Merge pull request #52043 from nextcloud/backport/52013/stable31
[stable31] fix: Handle missing share providers when promoting reshares
2025-04-14 17:19:31 +02:00
Louis 470af3e908 Merge pull request #51999 from nextcloud/backport/51837/stable31 2025-04-14 11:01:45 +02:00
nextcloud-command 7435478744 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-14 08:44:18 +00:00
Ferdinand Thiessen c253e9a2e2 perf(files_sharing): do not require second propfind for account filter
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-14 10:41:22 +02:00
dependabot[bot] c759b05a2e Merge pull request #52155 from nextcloud/dependabot/npm_and_yarn/stable31/marked-15.0.8 2025-04-14 08:35:03 +00:00
dependabot[bot] 3057776a0b build(deps): bump marked from 15.0.7 to 15.0.8
Bumps [marked](https://github.com/markedjs/marked) from 15.0.7 to 15.0.8.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v15.0.7...v15.0.8)

---
updated-dependencies:
- dependency-name: marked
  dependency-version: 15.0.8
  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-04-14 08:20:35 +00:00
Marcel Klehr fd0802a5e9 Merge pull request #52169 from nextcloud/backport/52168/stable31
[stable31] fix(ContextAgent): Do not translate the name ContextAgent
2025-04-14 09:18:59 +02:00
Marcel Klehr af3a543e35 fix(ContextAgent): Do not translate the name ContextAgent
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-04-14 06:55:42 +00:00
Nextcloud bot 997ea5e34f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-14 00:23:03 +00:00
Nextcloud bot 3c4906a3e9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-13 00:23:15 +00:00
Maxence Lange cc988dff85 Merge pull request #52135 from nextcloud/fix/52131/ignore-missing-themes-31
[stable31] ignore missing theming app
2025-04-12 16:24:02 -01:00
Maxence Lange 46a3b18dd1 fix(setup): ignore missing theming app
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-04-12 15:33:41 +02:00
Nextcloud bot d2055c6235 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-12 00:23:16 +00:00
Joas Schilling 0c3c61c4be Merge pull request #52068 from nextcloud/backport/52066/stable31
[stable31] fix(federation): Don't load the addressbook when resolving a cloud ID
2025-04-11 13:44:22 +02:00
John Molakvoæ fdcb8ceb9f Merge pull request #52123 from nextcloud/backport/51431/stable31 2025-04-11 13:40:05 +02:00
John Molakvoæ e75f3df9a1 Merge pull request #52078 from nextcloud/backport/52075/stable31 2025-04-11 13:29:53 +02:00
Joas Schilling 023542c9a5 Merge pull request #52054 from nextcloud/backport/52019/stable31
[stable31] fix(dav): Really only run the chunk cleanup once
2025-04-11 12:35:16 +02:00
Joas Schilling a9d126a219 fix(federation): Fix returning "no display name" after cache result
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-11 12:32:23 +02:00
Joas Schilling 878c4d5597 fix(federation): Don't load the addressbook when resolving a cloud ID
Instead we delay the lookup of the display name until it is actually used

Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-11 12:32:22 +02:00
Simon L. 90aad5759c feat(bulk-upload): change the default to disabled as there are still some bugs present
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-04-11 09:22:24 +00:00
Alexander Piskun d64e700a68 Merge pull request #52120 from nextcloud/backport/52050/stable31
[stable31] fix(taskprocessing): use the event for AppAPI to get list of AI providers
2025-04-11 11:21:37 +03:00
Oleksander Piskun 9543f9822a fix(taskprocessing): use the event for AppAPI to get list of AI providers
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
2025-04-11 07:59:40 +00:00
Nextcloud bot 689738570e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-11 00:23:12 +00:00
John Molakvoæ 048d03a43b Merge pull request #52089 from nextcloud/release/31.0.3
31.0.3
2025-04-10 16:32:38 +02:00
skjnldsv 00361cdf06 build(hub): 31.0.3
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-10 15:06:05 +02:00
Nextcloud bot 94fd2be634 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-10 00:22:54 +00:00
nextcloud-command 9e56da2b20 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-09 15:28:11 +00:00
skjnldsv f81ef274dd fix(files_sharing): fix share creation error handling
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-09 15:22:32 +00:00
Joas Schilling bd5002958f Merge pull request #52059 from nextcloud/revert/52038
Revert "refactor(RichObjectStrings): Only log error if key or value i…
2025-04-09 09:34:59 +02:00
Joas Schilling 8c460c9f58 Revert "refactor(RichObjectStrings): Only log error if key or value is not string in validator"
This reverts commit 23a61a2b42.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-09 08:29:43 +02:00
Nextcloud bot 5ace494bf2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-09 00:23:36 +00:00
Joas Schilling 219995da90 fix(dav): Really only run the chunk cleanup once
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-08 21:02:42 +00:00
Julius Knorr e5209d4076 fix: Catch old cached paths and fetch the new one
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-04-08 20:08:50 +02:00
Julius Knorr 49f2228570 fix: Proper order for checking path prefix for getting file by id from cache
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-04-08 20:08:50 +02:00
Benjamin Gaussorgues b5974d885e Merge pull request #52018 from nextcloud/release/31.0.3_rc2
31.0.3 RC2
2025-04-08 16:38:35 +02:00
Stephan Orbaugh 0e36cd83b3 Merge pull request #51981 from nextcloud/backport/51715/stable31
[stable31] fix(dav): Allow underscores on custom links
2025-04-08 15:50:00 +02:00
Stephan Orbaugh db26f6ad39 Merge pull request #52038 from nextcloud/backport/52035/stable31
[stable31] refactor(RichObjectStrings): Only log error if key or value is not string in validator
2025-04-08 15:49:28 +02:00
Daniel Calviño Sánchez a9437209b9 fix: Handle missing share providers when promoting reshares
The provider for mail shares is not available when the "sharebymail" app
is disabled, and in that case a "ProviderException" is thrown when
trying to get it.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-04-08 13:34:11 +00:00
provokateurin 23a61a2b42 refactor(RichObjectStrings): Only log error if key or value is not string in validator
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-04-08 11:17:10 +00:00
Benjamin Gaussorgues 98b3a2ea61 Merge pull request #52033 from nextcloud/backport/52015/stable31
[stable31] feat(ip): use larger IPv6 range by default
2025-04-08 11:47:09 +02:00
Benjamin Gaussorgues fffde28b51 feat(ip): use larger IPv6 range by default
Some providers assign `/48` IPv6 blocks instead of `/64` so it sounds safer
to use this mask by default.

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-04-08 09:16:13 +00:00
Ferdinand Thiessen 9ffd7de493 perf(cloud_federation_api): only provide capabilities if needed
The capabilities can be quite expensive (e.g. on ARM board it takes 1s
per request only for the capabilities).
Also they are not used by the webui so they should not be included in
initial state.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-08 08:45:03 +00:00
Git'Fellow e30bc2bd37 fix(shares): Allow underscores on custom links
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-04-08 09:59:50 +02:00
Benjamin Gaussorgues 4013d72317 build(hub): 31.0.3 RC2
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-04-08 09:48:35 +02:00
Nextcloud bot b8e87483f0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-08 00:23:21 +00:00
Arthur Schiwon 774b85a125 Merge pull request #51984 from nextcloud/backport/51942/stable31
[stable31] fix(cache): always require updates if mtime is null
2025-04-07 19:53:11 +02:00
Arthur Schiwon 4ec0ca633a Merge pull request #51992 from nextcloud/backport/51944/stable31
[stable31] fix(files_reminders): add missing import
2025-04-07 19:29:12 +02:00
Louis Chemineau def8bf3102 chore(files_trashbin): Add user details in log from Trashbin
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-07 15:39:42 +02:00
Ferdinand Thiessen 9dcbd76ced chore: adjust syntax for app manager
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-07 11:58:29 +02:00
Ferdinand Thiessen 330b14b82a chore: lint files_reminders using psalm
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-07 09:39:28 +00:00
Ferdinand Thiessen 55929c942d fix(files_reminders): add l10n to constructor of setup check
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-07 09:39:28 +00:00
Ferdinand Thiessen b29207ce6b fix(files_reminders): add missing import
- Resolves https://github.com/nextcloud/server/issues/51943

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-07 09:39:28 +00:00
Stephan Orbaugh c23e4b34be Merge pull request #51987 from nextcloud/backport/51982/stable31
[stable31] Revert "refactor: add migration for email setting"
2025-04-07 11:11:10 +02:00
provokateurin bc1e1a064e Revert "refactor: add migration for email setting"
This reverts commit e7859f0dac.

Signed-off-by: provokateurin <kate@provokateurin.de>
2025-04-07 08:20:15 +00:00
Ferdinand Thiessen 45cd76224e fix(cache): always require updates if mtime is null
- Resolves https://github.com/nextcloud/server/issues/51941

Due to strong typings we introduced the parameter needs to be an
integer. Previously it was `null` which was equal to `0`.
So if there is no storage mtime we need to update the cache.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-07 08:17:16 +00:00
Nextcloud bot 177c0b2487 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-07 00:22:53 +00:00
Nextcloud bot a4fa41a2a1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-06 00:22:29 +00:00
John Molakvoæ b15d080bbb Merge pull request #51965 from nextcloud/dependabot/npm_and_yarn/stable31/types/dockerode-3.3.37
build(deps-dev): bump @types/dockerode from 3.3.35 to 3.3.37
2025-04-05 10:37:35 +02:00
dependabot[bot] 148089a352 build(deps-dev): bump @types/dockerode from 3.3.35 to 3.3.37
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.35 to 3.3.37.
- [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-version: 3.3.37
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-05 01:59:40 +00:00
Nextcloud bot 605d8a5887 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-05 00:22:27 +00:00
Andy Scherzinger 511a8e2b6d Merge pull request #51929 from nextcloud/fix/31-template-layout
fix: ensure enabled themes are set on the template
2025-04-04 09:59:43 +02:00
Ferdinand Thiessen 00580b369e fix: ensure enabled themes are set on the template
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-04 09:23:45 +02:00
Nextcloud bot decbda4d90 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-04 00:22:46 +00:00
Benjamin Gaussorgues 287b520471 Merge pull request #51904 from nextcloud/release/31.0.3_rc1
31.0.3 RC1
2025-04-03 16:35:07 +02:00
Andy Scherzinger 6928031c95 Merge pull request #51566 from nextcloud/backport/51418/stable31
[stable31] fix(unified-search): do not overlap search bar with button
2025-04-03 15:16:22 +02:00
Arthur Schiwon 6530386555 Merge pull request #51915 from nextcloud/backport/50783/stable31
[stable31] fix(workflowengine): require a web component as operation plugin
2025-04-03 14:29:42 +02:00
Arthur Schiwon 647b26562c build(workflowengine): compile assets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 14:01:21 +02:00
Arthur Schiwon 9113fa3904 style(vue): satisfy linter
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 14:01:21 +02:00
Arthur Schiwon 963193001f fix: properly set value in FileMimeType
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 13:33:12 +02:00
Arthur Schiwon 1bbf27b43e refactor: remove mixing from FileMimeType as it is bad practice
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 13:32:01 +02:00
Arthur Schiwon 24770d19d9 fix(workflowengine): adapt check operator RequestUserGroup to use web component
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 13:32:01 +02:00
Arthur Schiwon d6a0d4fd27 fix(workflowengine): adapt check operator RequestUserAgent to use web component
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 13:32:01 +02:00
Arthur Schiwon 23dae0ec18 fix(workflowengine): adapt check operator RequestTime to use web component
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 13:32:01 +02:00
Arthur Schiwon d483715479 fix(workflowengine): adapt check operator RequestURL to use web component
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 13:32:01 +02:00
Arthur Schiwon 9e5e50d16e fix(workflowengine): use adapted mixin again in FileMimeType
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 13:32:00 +02:00
Arthur Schiwon 2619904080 fix(workflowengine): minimally adapt check operator FileMimeType to use web component
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 13:32:00 +02:00
Arthur Schiwon a39074a168 fix(workflowengine): adapt check operator FileSystemTag to use web component
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 13:31:58 +02:00
Arthur Schiwon 12b78f9866 fix(workflowengine): require a web component as check plugin
Similar case as with operator plugins (check previous commit). Although we
are not aware of an existign problem, it is there in principle, and
asjusting the API we stay consistent with that one from the operations.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 11:20:44 +00:00
Arthur Schiwon 63c174d9f3 fix(workflowengine): require a web component as operation plugin
solves an incompatibility issue when the providing app registers their code
from an incompatible nextcloud-vue version.

Also changes and clarifies WorkflowEngine API. This is necessary to stay
compatible with the original way, but also promotes usage of the originally
declared but never used "component" attribute on registration.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 11:20:44 +00:00
Andy Scherzinger 11934e5e1f Merge pull request #51906 from nextcloud/backport/51905/stable31
[stable31] fix(session): Only mark sessions of permanent tokens as app passwords
2025-04-03 12:33:18 +02:00
Louis 0d0aca2b0b Merge pull request #51912 from nextcloud/backport/51861/stable31
[stable31] fix: Catch exceptions when expiring trashbin
2025-04-03 12:28:09 +02:00
Louis f65267d2ae Merge pull request #51659 from nextcloud/backport/51471/stable31
[stable31] fix(files): Ensure actions never overflow filename
2025-04-03 11:44:46 +02:00
Louis Chemineau bea43d14c8 fix: Catch exceptions when expiring trashbin
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-03 09:16:58 +00:00
Louis Chemineau d6c16e95b0 chore: Use iterator in ExpireTrash command
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-03 09:16:58 +00:00
Ferdinand Thiessen c6ebf1c7cb fix(files): Ensure actions never overflow filename
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-03 08:23:58 +00:00
Louis 5d1a7b7b1f Merge pull request #51880 from nextcloud/backport/51870/stable31
[stable31] fix: Use login name to check the password
2025-04-03 10:18:49 +02:00
Andy Scherzinger b7d1157d23 Merge pull request #51901 from nextcloud/backport/51745/stable31
[stable31] fix(settings): Handle email change restriction separately from display name change restriction
2025-04-03 10:15:13 +02:00
Christoph Wurst 81a8e83bf8 fix(session): Only mark sessions of permanent tokens as app passwords
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-04-03 08:10:56 +00:00
Benjamin Gaussorgues d0b1b44a9f build(hub): 31.0.3 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-04-03 09:31:37 +02:00
dependabot[bot] 32db8e9016 Merge pull request #51893 from nextcloud/dependabot/npm_and_yarn/stable31/wait-on-8.0.3 2025-04-03 07:17:52 +00:00
nextcloud-command edf7f77414 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-03 07:12:16 +00:00
dependabot[bot] cf04673af9 Merge pull request #51896 from nextcloud/dependabot/npm_and_yarn/stable31/zip.js/zip.js-2.7.60 2025-04-03 07:08:06 +00:00
Ferdinand Thiessen 93d8e7e8a5 refactor: add migration for email setting
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-03 09:03:42 +02:00
provokateurin 67948fa7ed fix(settings): Handle email change restriction separately from display name change restriction
Co-authored-by: provokateurin <kate@provokateurin.de>
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Louis <louis@chmn.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-03 09:03:42 +02:00
Nextcloud bot 094197a22d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-03 00:23:25 +00:00
John Molakvoæ d85d4af5ad Merge pull request #51895 from nextcloud/dependabot/npm_and_yarn/stable31/backbone-1.6.1
build(deps): bump backbone from 1.6.0 to 1.6.1
2025-04-02 21:25:19 +02:00
nextcloud-command 6514b5ac15 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-02 19:19:36 +00:00
John Molakvoæ 9aa25aad63 Merge pull request #51344 from nextcloud/dependabot/npm_and_yarn/stable31/cypress-split-1.24.14
build(deps-dev): bump cypress-split from 1.24.11 to 1.24.14
2025-04-02 21:16:34 +02:00
dependabot[bot] 0209180ca4 build(deps): bump backbone from 1.6.0 to 1.6.1
Bumps [backbone](https://github.com/jashkenas/backbone) from 1.6.0 to 1.6.1.
- [Commits](https://github.com/jashkenas/backbone/compare/1.6.0...1.6.1)

---
updated-dependencies:
- dependency-name: backbone
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 21:15:31 +02:00
dependabot[bot] 326f9d7230 build(deps-dev): bump @zip.js/zip.js from 2.7.57 to 2.7.60
Bumps [@zip.js/zip.js](https://github.com/gildas-lormeau/zip.js) from 2.7.57 to 2.7.60.
- [Release notes](https://github.com/gildas-lormeau/zip.js/releases)
- [Commits](https://github.com/gildas-lormeau/zip.js/compare/v2.7.57...v2.7.60)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 21:05:01 +02:00
John Molakvoæ 6081720b7b Merge pull request #51890 from nextcloud/dependabot/npm_and_yarn/stable31/cypress/webpack-preprocessor-6.0.4
build(deps-dev): bump @cypress/webpack-preprocessor from 6.0.2 to 6.0.4
2025-04-02 20:31:35 +02:00
John Molakvoæ d547f11448 Merge pull request #51888 from nextcloud/dependabot/npm_and_yarn/stable31/dockerode-4.0.5
build(deps-dev): bump dockerode from 4.0.4 to 4.0.5
2025-04-02 20:28:47 +02:00
dependabot[bot] 8afd9c563b build(deps-dev): bump wait-on from 8.0.2 to 8.0.3
Bumps [wait-on](https://github.com/jeffbski/wait-on) from 8.0.2 to 8.0.3.
- [Release notes](https://github.com/jeffbski/wait-on/releases)
- [Commits](https://github.com/jeffbski/wait-on/compare/v8.0.2...v8.0.3)

---
updated-dependencies:
- dependency-name: wait-on
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 18:12:56 +00:00
dependabot[bot] 099148fa54 build(deps-dev): bump @cypress/webpack-preprocessor from 6.0.2 to 6.0.4
Bumps [@cypress/webpack-preprocessor](https://github.com/cypress-io/cypress) from 6.0.2 to 6.0.4.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/@cypress/webpack-preprocessor-v6.0.2...@cypress/webpack-preprocessor-v6.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 18:12:30 +00:00
dependabot[bot] 09c2761fe3 build(deps-dev): bump dockerode from 4.0.4 to 4.0.5
Bumps [dockerode](https://github.com/apocas/dockerode) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/apocas/dockerode/releases)
- [Commits](https://github.com/apocas/dockerode/compare/v4.0.4...v4.0.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 18:11:48 +00:00
Louis Chemineau 81e70c99cb fix: Use login name to check the password
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-02 17:21:19 +00:00
Andy Scherzinger ff9538302b Merge pull request #51865 from nextcloud/backport/51852/stable31
[stable31] fix(encryption): init keys also when logged in using cookie auth
2025-04-02 18:47:02 +02:00
Andy Scherzinger c6f10f3e18 Merge pull request #51869 from nextcloud/backport/51866/stable31
[stable31] fix: use proper migration sorting when checking if a migration needs to be executed
2025-04-02 18:45:15 +02:00
John Molakvoæ 25a0f4bb0c Merge pull request #51871 from nextcloud/backport/51863/stable31
[stable31] fix(files): right click actions menu flicker
2025-04-02 17:36:28 +02:00
nextcloud-command 6deb2887fb chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-02 14:49:00 +00:00
skjnldsv f069e12dfa fix(files): right click actions menu flicker
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-02 14:38:21 +00:00
Richard Steinmetz 677a9a1fd0 Merge pull request #51859 from nextcloud/backport/50858/stable31
[stable31] fix(oauth2): retain support for legacy ownCloud clients
2025-04-02 16:16:58 +02:00
Robin Appelman 28c63750f9 fix: use proper migration sorting when checking if a migration needs to be executed
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-04-02 12:52:52 +00:00
Ferdinand Thiessen 69a88210c4 Merge pull request #51582 from nextcloud/backport/51250/stable31
[stable31] fix: pass hide download attribute while creating the share to fix github issue 50788
2025-04-02 13:34:58 +02:00
Ferdinand Thiessen ddefca1d8a fix(encryption): init keys also when logged in using cookie auth
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-02 11:31:11 +00:00
nextcloud-command 717468c45e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-02 11:29:26 +00:00
Ferdinand Thiessen ba280a1968 fix(unified-search): do not overlap search with button
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-02 13:23:35 +02:00
nextcloud-command 0e8eb9c337 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-02 11:14:32 +00:00
Ferdinand Thiessen a8f10369c7 test: add cypress tests for sharing download permission
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

[skip ci]
2025-04-02 13:10:33 +02:00
Ferdinand Thiessen d9ba5d6810 fix(files_sharing): make sure IDs are unique for HTML elements
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-02 13:10:32 +02:00
Ferdinand Thiessen 938289c052 fix(files_sharing): ugly hacks to update permissions on share creation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-02 13:10:32 +02:00
yemkareems 368a82ffb6 fix: pass hide download attribute while creating the share to fix github issue 50788
Signed-off-by: yemkareems <yemkareems@gmail.com>
2025-04-02 13:10:32 +02:00
Richard Steinmetz 1653cd2dea fix(oauth2): retain support for legacy ownCloud clients
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-04-02 12:05:18 +02:00
Andy Scherzinger f61636bcaa Merge pull request #51578 from nextcloud/backport/51521/stable31
[stable31] fix(webauthn): adjust for updated library and add tests
2025-04-02 10:42:30 +02:00
Nextcloud bot a988387264 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-02 00:23:19 +00:00
Ferdinand Thiessen 6c371c7991 test: adjust for cypress
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-01 23:29:17 +02:00
Andy Scherzinger d297e8fac7 Merge pull request #51850 from nextcloud/backport/51845/stable31
[stable31] fix: don't have sabre/dav send it's own reponse if we already send the zip response
2025-04-01 21:46:22 +02:00
Robin Appelman 17569defaa fix: don't have sabre/dav send it's own reponse if we already send the zip response
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-04-01 17:26:12 +00:00
nextcloud-command 441bcc6b57 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-01 17:14:10 +00:00
Ferdinand Thiessen 2d48c02913 test: make cypress run in secure context and add WebAuthn tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-01 19:10:11 +02:00
Ferdinand Thiessen ff172e178e fix(webauthn): do not require bcmath or gmp - not needed anymore
The extensions are not required anymore but only recommended for
performance. See also:
https://github.com/web-auth/webauthn-framework/issues/213

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-01 19:10:11 +02:00
Ferdinand Thiessen 7dc45631cf fix(core): adjust fronend code for changes in webauthn library
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-01 19:10:11 +02:00
Andy Scherzinger 3afd719d85 Merge pull request #51843 from nextcloud/backport/51760/stable31
[stable31] fix(files_reminders): Lower disabled notifications app error to info
2025-04-01 18:42:07 +02:00
Louis Chemineau 89da238b70 fix(files_reminder): Replace error log by setup check
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-01 15:09:23 +00:00
Louis Chemineau 909d6a87c1 fix(files_reminders): Lower disabled notifications app error to info
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-01 15:09:22 +00:00
Christoph Wurst 9e2d1e0eb0 Merge pull request #51820 from nextcloud/backport/50768/stable31
[stable31] perf(cron): Delay (re)checking timed jobs
2025-04-01 12:27:40 +02:00
Joas Schilling 4d75eeaffe Merge pull request #51331 from nextcloud/backport/51082/stable31
[stable31] feat(dav): add webhook compatibility for calendar object events
2025-04-01 12:05:16 +02:00
Nextcloud bot 48a2de092a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-01 00:23:20 +00:00
Pytal 5906f1b3f1 Merge pull request #51781 from nextcloud/backport/51336/stable31
[stable31] fix(settings): Fix infinitely loading account management page with pagination of groups
2025-03-31 14:51:29 -07:00
nextcloud-command 49912719f7 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-31 21:16:58 +00:00
Christopher Ng 1fc9fb9985 test(settings): Fix group items not being found
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng 1223063399 test(settings): Correctly find group in select
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng ada190bb39 test(settings): Wait until groups list has loaded
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng 0eedb6904f fix(settings): Separate subadmin options
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng 4a7fee32db fix(settings): Fix initialization of store
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng 42517d9c34 fix(settings): Preserve system groups on reset
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng 59885c0254 chore(openapi): Update spec
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng 6ce464b899 fix(settings): Natural order groups
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng e0cafe5fb1 fix(settings): Fix duplicated group options in new account dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng 6a36355dc5 fix(settings): Fix duplicated group options when editing account
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng 6b28f90881 fix(settings): Fix group creation in new account dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng f5b35fe1e5 fix(settings): Fix group creation when editing users
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng bdac0d7670 fix(settings): Only change usercount if group can be found
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng 46098c975b fix(settings): Fix editing groups and subadmin groups of user
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng 80a2fd25cf feat(provisioning_api): Add endpoint for fetching user subadmin groups with details
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng 32c3e18781 fix(settings): Fix erroneous hiding of group admin column with paginated groups
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng b1d3ee8539 fix(settings): Prevent selection of invalid groups that are not fully loaded
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Christopher Ng 0dc089799e fix(settings): Fix loaded groups being undefined
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Christopher Ng 13765c623c chore(settings): Add note on groups sorting
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Christopher Ng 02ca811c9d refactor(settings): Consolidate group formatting
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Christopher Ng 4d0f2da3e0 perf(settings): Make scrolling smooth when a large number of groups are rendered
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Christopher Ng cae40a3521 fix(settings): Allow searching for groups in new account dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Christopher Ng 19e1b54ae2 fix(settings): Allow searching for groups in user row
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Christopher Ng 9b303db186 perf(settings): Cancel request on new search
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Christopher Ng 56e255ecac feat(provisioning_api): Add endpoint for fetching user groups with details
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Christopher Ng 0d20ddf6f1 fix(settings): Fix infinitely loading account management page with pagination of groups
- Includes searching

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Christopher Ng 4c3335c934 perf(settings): Remove computation of all groups
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Joas Schilling bcb2c50c6f fix(caldav): Restore old private events and deprecate them
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-31 10:26:23 -07:00
Edward Ly 5f15089a05 feat(dav)!: migrate OCA calendar object events to OCP
Signed-off-by: Edward Ly <contact@edward.ly>
2025-03-31 10:26:23 -07:00
Edward Ly a85b6778b6 feat(dav): add webhook compatibility for calendar object events
Signed-off-by: Edward Ly <contact@edward.ly>
2025-03-31 10:26:01 -07:00
Christoph Wurst dfb0b38acc perf(cron): Delay (re)checking timed jobs
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-03-31 15:33:59 +00:00
Côme Chilliet 911830df8a Merge pull request #51376 from nextcloud/backport/51108/stable31
[stable31] Fix disabled user list for SAML group subadmin
2025-03-31 15:41:10 +02:00
Marcel Klehr f09f1d1f8c Merge pull request #51813 from nextcloud/backport/51750/stable31
[stable31] fix(dav): Give proper HTTP status code on MKCOL when quota exceeded
2025-03-31 15:24:38 +02:00
Andy Scherzinger beba048bd7 Merge pull request #51799 from nextcloud/automated/noid/stable31-fix-npm-audit
[stable31] Fix npm audit
2025-03-31 14:32:37 +02:00
Andy Scherzinger 88c17ebe63 Merge pull request #51808 from nextcloud/backport/51600/stable31
[stable31] feat: Limit `ExpireTrash` job to 30 minutes
2025-03-31 14:24:30 +02:00
Marcel Klehr f42380f138 fix(dav): Give proper HTTP status code on MKCOL when quota exceeded
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-03-31 11:46:53 +00:00
Louis Chemineau 27079eedeb feat: Limit trash expire job to 30 minutes
And pick up where it left off, leveraging getSeenUsers.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-31 11:01:02 +00:00
Louis Chemineau 749b4f4d22 chore: Refactor callForSeenUsers to use getSeenUsers
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-31 11:01:02 +00:00
Louis Chemineau cd3d955e21 feat: Implement getSeenUsers to iterate over users
This method uses an iterator.
This is lighter on resources and gives more control to the caller

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-31 11:01:02 +00:00
Nextcloud bot a198345867 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-31 00:23:37 +00:00
nextcloud-command ac4008ea74 fix(deps): Fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2025-03-30 18:21:00 +00:00
Andy Scherzinger 6d4a2dde95 Merge pull request #51347 from nextcloud/dependabot/npm_and_yarn/stable31/nextcloud/cypress-1.0.0-beta.14
build(deps-dev): bump @nextcloud/cypress from 1.0.0-beta.12 to 1.0.0-beta.14
2025-03-30 15:30:24 +02:00
dependabot[bot] 0288dbd6f1 build(deps-dev): bump @nextcloud/cypress
Bumps [@nextcloud/cypress](https://github.com/nextcloud/nextcloud-cypress) from 1.0.0-beta.12 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.12...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-03-30 15:16:16 +02:00
Andy Scherzinger 7197b9db89 Merge pull request #51316 from nextcloud/backport/51144/stable31
[stable31] fix(dav): Create SAB at installation
2025-03-30 14:41:47 +02:00
Nextcloud bot 162d1ceed8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-30 12:36:54 +00:00
Christoph Wurst 1f1945640d fix(dav): Create SAB at installation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-03-30 14:04:45 +02:00
Andy Scherzinger dfc067ad7d Merge pull request #51666 from nextcloud/backport/51644/stable31
[stable31] fix(user): Some strings not being translated
2025-03-30 13:42:40 +02:00
nextcloud-command 3ed08d2118 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-30 11:27:49 +00:00
Git'Fellow 606c781218 fix(user): Some strings not being translated
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-03-30 13:22:42 +02:00
dependabot[bot] 0392970117 Merge pull request #51345 from nextcloud/dependabot/npm_and_yarn/stable31/libphonenumber-js-1.11.20 2025-03-30 08:23:54 +00:00
nextcloud-command 14665cc0e8 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-30 08:10:05 +00:00
dependabot[bot] c15cc613a6 build(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-03-30 09:16:33 +02:00
dependabot[bot] b6fb42a344 build(deps): bump libphonenumber-js from 1.11.19 to 1.11.20
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.11.19 to 1.11.20.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/commits/master)

---
updated-dependencies:
- dependency-name: libphonenumber-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-30 09:13:32 +02:00
Côme Chilliet 720d1c0cd3 chore: Move magic number into a documented const
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-30 09:11:30 +02:00
Côme Chilliet 3ed1c0c214 chore: Remove now unused methods from User manager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-30 09:11:30 +02:00
Côme Chilliet 171886ae6b fix: Correctly count disabled users for SAML groups subadmins
If too many users return -1 as for LDAP so that link is shown

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-30 09:11:30 +02:00
Nextcloud bot b0c5a1c205 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-30 00:23:32 +00:00
Andy Scherzinger 8179a4871b Merge pull request #51708 from nextcloud/backport/51707/stable31
[stable31] fix: filter out contacts with empty email addresses in sharee completion
2025-03-29 20:26:58 +01:00
dependabot[bot] de51d68305 Merge pull request #51783 from nextcloud/dependabot/npm_and_yarn/stable31/moment-timezone-0.5.48 2025-03-29 11:14:21 +00:00
nextcloud-command 88ccbb2637 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-29 10:59:42 +00:00
dependabot[bot] c72529320e chore(deps): bump moment-timezone from 0.5.46 to 0.5.48
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.46 to 0.5.48.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.46...0.5.48)

---
updated-dependencies:
- dependency-name: moment-timezone
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-29 02:05:07 +00:00
Nextcloud bot b757349adf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-29 00:23:02 +00:00
Julius Knorr deafe47b98 test: Adapt tests to properly use valid email addresses
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-03-28 22:37:07 +01:00
Julius Knorr 4308f0019b fix: filter out contacts with invalid email addresses in sharee completion
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-03-28 22:37:07 +01:00
Andy Scherzinger 2182494975 Merge pull request #51662 from nextcloud/backport/51611/stable31
[stable31] fix(IFilenameValidator): correctly handle case insensitivity
2025-03-28 21:14:48 +01:00
Ferdinand Thiessen ef1a73a8dc fix(IFilenameValidator): correctly handle case insensitivity
- forbidden names and forbidden base names are case **insensitive**
  so we need to check all lowercase here.
- add test that config value is also read case insensitive.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-28 20:54:23 +01:00
Andy Scherzinger 0da6eeabf8 Merge pull request #51330 from nextcloud/backport/51130/stable31
[stable31] fix: Do not build encrypted password if there is none
2025-03-28 16:48:04 +01:00
Julius Knorr 1642cd1ff1 fix: Do not build encrypted password if there is none
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-03-28 15:18:27 +01:00
Kate b93f6dbeaf Merge pull request #51691 from nextcloud/backport/51669/stable31
[stable31] perf(sharing): Use oc_share.item_type IN instead of OR equals
2025-03-28 15:13:47 +01:00
Marcel Klehr 0273b4d0ba perf(sharing): Use oc_share.{item_type, share_type} IN instead of OR equals
to improve performance by using the db index

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-03-28 14:46:30 +01:00
Ferdinand Thiessen 770e4e5238 Merge pull request #51770 from nextcloud/backport/51501/stable31
[stable31] fix: add event status and participant status
2025-03-28 14:35:37 +01:00
Kate 1fd0651d08 Merge pull request #51748 from nextcloud/backport/51744/stable31
[stable31] fix(files_versions): Rely on server mime fallback icons
2025-03-28 12:14:38 +01:00
nextcloud-command 2107d8d519 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-28 11:56:25 +01:00
provokateurin dab670f289 fix(files_versions): Rely on server mime fallback icons
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-28 11:54:32 +01:00
provokateurin d15ea1f17e feat(files_versions): Implement preview mime icon fallback
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-28 11:54:31 +01:00
provokateurin 0169965c84 fix(files_versions): Cache previews
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-28 11:54:13 +01:00
John Molakvoæ fa2b03d759 Merge pull request #51753 from nextcloud/backport/50121/stable31
[stable31] fix(theming): enforce theme also for login
2025-03-28 09:36:24 +01:00
SebastianKrupinski d977d50151 fix: add event status and participant status
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-03-28 04:34:44 -04:00
John Molakvoæ 281bb874b0 Merge pull request #51751 from nextcloud/backport/51684/stable31
[stable31] fix(files): Properly encode URLs when preparing ZIP download
2025-03-28 08:52:24 +01:00
Andy Scherzinger 9ea72adb99 Merge pull request #51688 from nextcloud/backport/51490/stable31
[stable31] fix(database): Cast users count to integer
2025-03-28 07:42:17 +01:00
Nextcloud bot db677a6bc0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-28 00:23:36 +00:00
Kate dd602f826a Merge pull request #51718 from nextcloud/backport/51433/stable31
[stable31] fix(GenerateBlurhashMetadata): Suppress imagescale errors
2025-03-27 23:32:17 +01:00
Kate da83efc61f Merge pull request #51758 from nextcloud/backport/51449/stable31
[stable31] fix: resolve typo in authMethod enum cases
2025-03-27 22:07:43 +01:00
Côme Chilliet 964a59a948 Merge pull request #51704 from nextcloud/backport/51458/stable31
[stable31] Fix public download activity
2025-03-27 18:24:44 +01:00
janepie 940973efdf Merge pull request #51741 from nextcloud/backport/51724/stable31
[stable31] Fix: task type translations
2025-03-27 17:13:56 +01:00
Jana Peper 2cd4760b61 fix: task type translations
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2025-03-27 14:56:31 +01:00
Hendrik Heil 36a32eba02 fix(webhooks): resolve typo in openapi authMethod enum cases
Signed-off-by: Hendrik Heil <hendrik@heil.sh>
2025-03-27 13:25:28 +00:00
Hendrik Heil 64b6439be8 fix(webhooks): update docblock options for authMethod
Signed-off-by: Hendrik Heil <hendrik@heil.sh>
2025-03-27 13:25:28 +00:00
Côme Chilliet 304112b0ad fix(tests): Sort activities by id to get the last one
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-27 12:20:35 +01:00
Côme Chilliet 07422477f5 fix(sharebymail): Fix activity rich object id type
Fixes "Object for placeholder file is invalid, value 21 for key id is not a string"
Exception spotted in tests logs.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-27 12:20:28 +01:00
Côme Chilliet 69235976ad feat: Add context and test steps for activity in sharing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-27 12:20:22 +01:00
Côme Chilliet d3b976bf36 feat: add integration test for sharing activity
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-27 12:20:03 +01:00
Côme Chilliet 8b41055297 fix(files_sharing): Use session id as part of cache key to avoid concurrency issues
If several people are watching and seeking the same video file we do not
 want the cache key to be the same or it would flood activity again.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-27 12:19:02 +01:00
Côme Chilliet d9b2178ee1 fix(files_sharing): Set higher priority for listeners that may abort the request
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-27 12:18:56 +01:00
Côme Chilliet 0c293b3569 fix: Avoid triggering several activities for Range request on the same file
Avoids flooding activities when someone browse a video in the web player.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-27 12:18:51 +01:00
Côme Chilliet 97dbbe4768 fix: Fix download activity for folders
Remove duplicate activity publishing from share controller download,
 listen to BeforeZipCreatedEvent to publish activity for folders, and
 cache folders activity to avoid sending activity for each file in the
 folder.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-27 12:18:46 +01:00
Côme Chilliet 6ff8d1e43b fix(sharing): Publish activity for download by public link
Even if dav endpoint is now used.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-27 12:18:23 +01:00
Ferdinand Thiessen be2f75efb8 fix(theming): enforce theme also for login
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-27 11:15:31 +00:00
nextcloud-command 06ae7766e5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-27 11:13:19 +00:00
Fabian Zwemke fabcb547a5 chore: recompile assets
Signed-off-by: Fabian Zwemke <fabian@zwemke.de>
2025-03-27 11:05:37 +00:00
Fabian Zwemke 7b429c8a44 fix(files): Properly encode URLs when preparing ZIP download
Signed-off-by: Fabian Zwemke <fabian@zwemke.de>
2025-03-27 11:05:36 +00:00
Pytal f61446e843 Merge pull request #51738 from nextcloud/backport/51737/stable31
[stable31] fix(files_reminders): Fix reminder actions being displayed on invalid nodes
2025-03-27 01:55:59 -07:00
Nextcloud bot 053538a05e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-27 00:24:09 +00:00
nextcloud-command 3935051196 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-26 19:04:40 +00:00
Christopher Ng f0f6b0b69d fix(files_reminders): Fix reminder actions being displayed on invalid nodes
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-26 18:41:35 +00:00
Ferdinand Thiessen fa475f157c Merge pull request #51723 from nextcloud/backport/51705/stable31
[stable31] fix(files_versions): correctly show version author also for shared files
2025-03-26 13:17:34 +01:00
Ferdinand Thiessen 433e704b63 fix(files_versions): correctly show version author also for shared files
The users endpoint is not available for other users if the current user
has no admin privileges, so instead use the displaynames endpoint.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-26 11:50:46 +00:00
Kate 7a0a728a2d Merge pull request #51720 from nextcloud/backport/51594/stable31
[stable31] fix(occ): Suppress errors when checking config.php fileowner
2025-03-26 10:45:46 +01:00
provokateurin 3a50674855 fix(occ): Suppress errors when checking config.php fileowner
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-26 09:14:44 +00:00
umgfoin eb97cfe755 fix(GenerateBlurhashMetadata): Suppress imagescale errors
Suppress errors in imagescale during file-scans:
Most of these errors are caused by out of range x/y-dims.

Triggering un unhandled exception, metadata-generation aborts at this point  (e.g. occ files:scan --generate-metadata), effectively preventing these images from being added to photos or maps.

This problem might be the root cause for an issue described here:
https://github.com/nextcloud/photos/issues/2768

Signed-off-by: umgfoin <umgfoin@users.noreply.github.com>
2025-03-26 09:02:49 +00:00
Nextcloud bot 927739cb2b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-26 00:22:48 +00:00
F. E Noel Nfebe e7924b19a2 Merge pull request #51699 from nextcloud/backport/51697/stable31
[stable31] fix(login): Improve CSRF error message for better user understanding
2025-03-25 16:57:14 +01:00
nextcloud-command 5a7794bd84 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-25 15:41:09 +00:00
nextcloud-command e50fd23fd6 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-25 14:49:06 +00:00
nfebe 2a631f4676 fix(login): Improve CSRF error message for better user understanding
This commit changes the CSRF error message displayed in the login form to
provide more specific information to the user. Instead of the generic less helpful error.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-03-25 14:49:04 +00:00
Côme Chilliet 18759c7e6a Merge pull request #51695 from nextcloud/backport/51689/stable31
[stable31] Fix files_sorting cypress tests
2025-03-25 15:17:40 +01:00
Kate e8f010571e Merge pull request #51690 from nextcloud/backport/51649/stable31
[stable31] fix(systemtags): Dispatch events when bulk assigning system tags
2025-03-25 13:59:14 +01:00
John Molakvoæ 34a2979aaa Merge pull request #51693 from nextcloud/backport/51682/stable31
[stable31] fix(dav): filter user files when updating tags
2025-03-25 13:58:45 +01:00
Côme Chilliet 51b146d15d fix(tests): Files are sorted by Name by default, no need to click it
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-25 12:32:58 +00:00
skjnldsv 2b4fed3340 fix(dav): filter user files when updating tags
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-25 12:30:03 +00:00
Roland Scheidel 09ea98858d fix(systemtags): Dispatch events when bulk assigning system tags
Signed-off-by: Roland Scheidel <kontakt@scheidel.at>
2025-03-25 12:22:52 +00:00
Git'Fellow e5d62aeec7 fix(database): Cast users count to integer
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-03-25 11:57:42 +00:00
Kate 760503d73e Merge pull request #51672 from nextcloud/backport/51668/stable31
[stable31] fix(provisioning_api): Pass on translated hint if password change fails
2025-03-25 10:59:20 +01:00
Nextcloud bot 7de5152eb6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-25 00:22:47 +00:00
Marcel Müller e79aea33cc Merge pull request #51678 from nextcloud/backport/51675/stable31
[stable31] fix(setupchecks): Treat information messages as success
2025-03-24 22:18:17 +01:00
nextcloud-command 0614a59e32 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-24 20:19:33 +00:00
Marcel Müller b01efbb55a fix(setupchecks): Treat information messages as success
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-03-24 20:12:12 +00:00
provokateurin a4ddc6dc6c fix(provisioning_api): Pass on translated hint if password change fails
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-24 15:06:34 +00:00
Kate 32413b8896 Merge pull request #51388 from nextcloud/backport/51364/stable31
[stable31] fix(files_external): Stop building path twice when checking if file exists on case insensitive SMB storage
2025-03-24 14:08:47 +01:00
Nextcloud bot 4fa9662758 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-24 00:23:10 +00:00
Kate 1742702294 Merge pull request #51653 from nextcloud/backport/51622/stable31
[stable31] fix(ocm): `publicKey` can be disabled so capabilities do not match
2025-03-23 20:56:18 +01:00
Ferdinand Thiessen 68ddad80e1 fix(ocm): publicKey can be disabled so capabilities do not match
When the public key feature is disabled null is returned for
`publicKey`. So in this case we need to adjust the capabilities
and return type of `jsonSerialize()`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-23 18:34:20 +00:00
Nextcloud bot c544e04856 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-23 00:22:55 +00:00
Sebastian Krupinski a8461c0453 Merge pull request #51326 from nextcloud/backport/51216/stable31
[stable31] fix: remote account activity translation
2025-03-22 13:38:03 +00:00
SebastianKrupinski aee4328b1f fix:remote account activity translation
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-03-22 08:21:57 -04:00
Nextcloud bot ab00df4e33 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-22 00:22:06 +00:00
Andy Scherzinger 6a86a38d59 Merge pull request #50840 from nextcloud/automated/noid/stable31-fix-npm-audit
[stable31] Fix npm audit
2025-03-21 21:15:33 +01:00
nextcloud-command 0fdf24c080 fix(deps): Fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2025-03-21 17:48:02 +00:00
Andy Scherzinger dee375d16a Merge pull request #51511 from nextcloud/backport/51477/stable31
[stable31] fix(profile): allow to unset phone number
2025-03-21 18:43:47 +01:00
nextcloud-command 7acb77a7c0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-21 17:25:47 +00:00
Ferdinand Thiessen e1fe4f6e24 fix(profile): allow to reset phone number
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-21 18:21:45 +01:00
Kate d7903b1630 Merge pull request #51616 from nextcloud/backport/50542/stable31
[stable31] fix(files_sharing): skip expiration notify for invalid share record
2025-03-21 07:41:18 +01:00
Luka Trovic 833ec55728 fix(files_sharing): skip expiration notify for invalid share record
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2025-03-21 07:15:49 +01:00
Nextcloud bot ff114a842f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-21 00:23:07 +00:00
Ferdinand Thiessen 4d061566bd Merge pull request #51275 from nextcloud/backport/51148/stable31
[stable31] fix(files): also show file list headers on empty views
2025-03-20 16:12:03 +01:00
Ferdinand Thiessen 0fd88445df chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-20 15:42:05 +01:00
Ferdinand Thiessen 046e4b2d59 test: fix CI when running Karma tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-20 15:41:58 +01:00
Ferdinand Thiessen e9c242e2a2 fix(files): also show file list headers on empty views
It is needed, e.g. for the note-to-recipient, that the headers
are also shown when there is no content (yet).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-20 15:37:43 +01:00
Andy Scherzinger f4a0ec44e9 Merge pull request #51466 from nextcloud/backport/51441/stable31
[stable31] fix(CalDav): alter invitation attachment filename and type
2025-03-20 07:51:41 +01:00
Andy Scherzinger ebce16e46d Merge pull request #51522 from nextcloud/backport/51389/stable31
[stable31] fix: skip caching lastSeenQuotaUsage for remote shares
2025-03-20 07:37:58 +01:00
Andy Scherzinger 957ffda3cb Merge pull request #51561 from nextcloud/backport/50663/stable31
[stable31] enh: improve occ file:transfer-ownership logging
2025-03-20 01:32:27 +01:00
Nextcloud bot 7a1717d305 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-20 00:23:31 +00:00
grnd-alt cdad92d2bb feat: improve occ file:transfer-ownership logging
Signed-off-by: grnd-alt <github@belakkaf.net>
2025-03-20 00:56:11 +01:00
Daniel Kesselberg ca63574674 fix: skip caching lastSeenQuotaUsage for remote shares
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-03-20 00:54:46 +01:00
SebastianKrupinski 8cc0062227 fix(CalDav): alter invitation attachment filename and type
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-03-20 00:53:43 +01:00
Andy Scherzinger ec7c823182 Merge pull request #51539 from nextcloud/backport/51380/stable31
[stable31] fix(cardav): only show users from enabled addressBooks in contacts menu
2025-03-20 00:24:31 +01:00
Hamza Mahjoubi 7e6801a9af fix(cardav): only show useres from enabled addressBooks in contacts menu
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2025-03-19 23:46:57 +01:00
Andy Scherzinger 806a3d1e39 Merge pull request #51474 from nextcloud/backport/51469/stable31
[stable31] fix(files_sharing): ensure share status action works also in grid view
2025-03-19 23:12:10 +01:00
nextcloud-command 349b31f439 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-19 21:54:17 +00:00
Ferdinand Thiessen b07ef78fa2 fix(files_sharing): ensure share status action works also in grid view
Remove some hacks from files app about the *files_sharing* status
action, in general not sure why this hack was there instead of being in
the correct app - but it broke the grid view.

So now the sharing information is also available in grid view.

Moreover the icon is fixed in size to not overflow the actions menu.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-19 22:49:05 +01:00
Arthur Schiwon 8ab08221a0 Merge pull request #51575 from nextcloud/release/31.0.2
31.0.2
2025-03-19 12:41:08 +01:00
Arthur Schiwon cbc4bb60f2 build(hub): 31.0.2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-03-19 11:37:13 +01:00
Nextcloud bot e544647470 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-19 00:22:52 +00:00
Benjamin Gaussorgues f815a0dab8 Merge pull request #51552 from nextcloud/release/31.0.2_rc1
31.0.2 RC1
2025-03-18 11:24:35 +01:00
Benjamin Gaussorgues a75fdd42fd Merge pull request #51549 from nextcloud/backport/51544/stable31
[stable31] fix(auth): Allow 2FA challenges for Ephemeral sessions
2025-03-18 11:19:49 +01:00
Benjamin Gaussorgues 6722bcbcb6 build(hub): 31.0.2 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-03-18 10:21:51 +01:00
Joas Schilling 90fff7d6cc fix(auth): Allow 2FA challenges for Ephemeral sessions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-18 09:16:58 +00:00
Git'Fellow 561775d2fe Merge pull request #51536 from nextcloud/backport/51333/stable31
[stable31] fix(files): Make sure file pointer exists
2025-03-18 09:10:11 +01:00
Nextcloud bot b2ff0daab7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-18 00:24:01 +00:00
Joas Schilling 550bf27a6d Merge pull request #51371 from nextcloud/backport/51361/stable31
[stable31] fix(base.php): Correct order for booting \OC\Server
2025-03-17 21:11:41 +01:00
Joas Schilling 13dc5e54a1 Merge pull request #51515 from nextcloud/backport/51512/stable31
[stable31] fix(comments): Fix activity rich subject parameters
2025-03-17 21:11:09 +01:00
Git'Fellow 55f50b485f fix(files): Make sure file pointer exists
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-03-17 16:05:04 +00:00
Joas Schilling c1533ab830 Merge pull request #51519 from nextcloud/ci/noid/3rdparty-31
[stable31] ci: Update 3rdparty actions
2025-03-17 12:21:46 +01:00
Joas Schilling ff923cb306 ci: Update 3rdparty actions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-17 11:32:03 +01:00
provokateurin b20800aeab fix(comments): Fix activity rich subject parameters
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-17 09:35:14 +00:00
Louis 6fdcd84f71 Merge pull request #51304 from nextcloud/backport/51302/stable31
[stable31] test: Remove `.only()` calls
2025-03-17 10:28:06 +01:00
Stephan Orbaugh d2b0c4003a Merge pull request #51445 from nextcloud/backport/51442/stable31
[stable31] fix(RichObjectStrings): Make exception messages for invalid parameters more useful for debugging
2025-03-17 08:58:48 +01:00
provokateurin 4f27d82471 fix(RichObjectStrings): Make exception messages for invalid parameters more useful for debugging
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-17 06:46:12 +01:00
Kate a59c89eb6a Merge pull request #51396 from nextcloud/backport/51365/stable31
[stable31] fix(dav): Fix share token pattern for base uri extraction
2025-03-17 06:23:10 +01:00
Nextcloud bot 5331744db9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-17 00:22:53 +00:00
Nextcloud bot 2a83070836 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-16 00:23:48 +00:00
Nextcloud bot 7d54ff5398 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-15 00:23:39 +00:00
Nextcloud bot 4f4be6b0ea Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-14 00:23:26 +00:00
Ferdinand Thiessen c34c8ed3ba Merge pull request #51397 from nextcloud/backport/51394/stable31
[stable31] Allow to delete files without trashbin + add unit tests + some refactoring
2025-03-13 22:03:33 +01:00
Ferdinand Thiessen b2f2bf7cd7 Merge pull request #51311 from nextcloud/backport/51310/stable31
[stable31] fix(encryption): Listen for user login and logout to set encryption key
2025-03-13 21:51:19 +01:00
Ferdinand Thiessen da8e210a14 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-13 21:31:52 +01:00
Ferdinand Thiessen 5eff90005e fix(files): also enable delete action if trashbin is disabled
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-13 21:30:43 +01:00
Ferdinand Thiessen f9355decbc test(files_trashbin): add test coverage also for utils like the logger
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-13 21:30:43 +01:00
Ferdinand Thiessen b15ce12f28 refactor(files_trashbin): restore action refactoring
1. do not rely on magic string but use constant ID for trashbin view
2. add unit tests for restore action

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-13 21:30:43 +01:00
Ferdinand Thiessen 4b773f6dd7 fix(files_trashbin): return correct type in empty trash action
1. correctly return null instead of void in empty trash action
2. use constant instead of magic value for action ID
3. add unit tests for empty trash action
4. add unit tests for trashbin api

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-13 21:30:43 +01:00
Ferdinand Thiessen ede015a424 fix(files_trashbin): correctly sort custom columns in trashbin view
1. Refactor to make code better testable (move columns and view source to `files_views` folder)
2. Fix deletion time fallback (JS Date vs unix timestamp for
   "delted"-column)
3. Correctly sort `deletedBy` and `originalLocation` columns to use
   natural sort like any other column
4. Add unit tests for columns and views

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-13 21:30:43 +01:00
Ferdinand Thiessen 04ae68a8f7 Merge pull request #51437 from nextcloud/backport/51434/stable31
[stable31] fix(mime-types): adjust compiled mime types and sign
2025-03-13 21:29:07 +01:00
Arthur Schiwon ca86133382 Merge pull request #51460 from nextcloud/release/31.0.1
31.0.1
2025-03-13 16:08:48 +01:00
Arthur Schiwon 398f1db437 build(hub): 31.0.1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-03-13 14:37:12 +01:00
Nextcloud bot 3bcecbdaec Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-13 00:23:10 +00:00
Arthur Schiwon a9429acb98 Merge pull request #51440 from nextcloud/fix/jquery-ui
[stable31] revert(deps): jquery-ui to 1.13.3
2025-03-12 14:00:55 +01:00
skjnldsv 0640db49be chore(assets): recompile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-12 13:45:48 +01:00
skjnldsv 7a3cc17a82 revert(deps): jquery-ui to 1.13.3
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-12 13:45:41 +01:00
Arthur Schiwon f52b2ac208 Merge pull request #51428 from nextcloud/release/31.0.1_rc2
31.0.1 RC2
2025-03-12 13:03:10 +01:00
Ferdinand Thiessen dfd39f21b7 fix(mime-types): adjust compiled mime types and sign
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-12 12:03:06 +00:00
Arthur Schiwon 9043a8788a build(hub): 31.0.1 RC2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-03-12 11:51:26 +01:00
John Molakvoæ d5987f857c Merge pull request #51417 from nextcloud/backport/51384/stable31
[stable31] fix(lookup-server): Only flag new users for lookup update / delete
2025-03-12 11:14:13 +01:00
Ferdinand Thiessen 00141635dd fix(lookup-server): Only flag new users for lookup update / delete
If the flag was already set then we do not need to overwrite it.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-12 08:06:06 +00:00
Andy Scherzinger bef1a658b5 Merge pull request #51402 from nextcloud/backport/51379/stable31
[stable31] fix(AppDiscover): Strip double-quotes from folder name
2025-03-12 08:57:52 +01:00
John Molakvoæ f17c3cd440 Merge pull request #51413 from nextcloud/backport/51405/stable31
[stable31] fix(mimetypes): drop `tar.gz` and `tar.bz2` and adjust `tgz`
2025-03-12 08:53:59 +01:00
Ferdinand Thiessen d8c0852f38 fix(mimetypes): drop tar.gz and tar.bz2 and adjust tgz
1. mimetypes with a dot do not work with our mime detector (only checks
   last dot).
2. all of those files are tar files compressed as gzip / bzip2 so the
   real mimetype of the file is the compression not the tar.

We could at max. set mime to `application/x-tar+gzip`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-12 07:51:11 +00:00
Nextcloud bot aebc0806fc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-12 00:23:27 +00:00
Andy Scherzinger 33115268f5 Merge pull request #51395 from nextcloud/backport/51320/stable31
[stable31] fix(external_storage): fix settings save
2025-03-12 00:49:08 +01:00
nextcloud-command 57313e345a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-11 23:55:01 +01:00
skjnldsv 9ff9096e4a fix(external_storage): fix settings save
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-11 23:55:01 +01:00
Andy Scherzinger 1d58ce82c9 Merge pull request #51404 from nextcloud/backport/51378/stable31
[stable31] fix(lookup-server): disable when not using global scale
2025-03-11 23:27:25 +01:00
Ferdinand Thiessen e60f6fe6e0 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-11 21:54:06 +01:00
Ferdinand Thiessen 324582729a fix(lookup-server): disable lookup server for non-global scale setups
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-11 21:54:06 +01:00
Ferdinand Thiessen aa7300b53d fix(lookup-server): do not query data by default
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-11 21:39:33 +01:00
Ferdinand Thiessen 29398c819c fix(lookup-server): do not upload data by default
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-11 21:39:33 +01:00
Git'Fellow 1009704fa0 fix(AppDiscover): Ensure created cache folder is safe-chars only
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-03-11 17:31:26 +00:00
provokateurin 51602ae8e2 fix(dav): Fix share token pattern for base uri extraction
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-11 14:05:31 +00:00
provokateurin 6aea50c8b8 fix(files_external): Stop building path twice when checking if file exists on case insensitive SMB storage
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-11 10:47:37 +00:00
Nextcloud bot c4a17a6bc8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-11 00:23:08 +00:00
Joas Schilling a7cee21ec1 fix(base.php): Correct order for booting \OC\Server
A recent change had broken authentication with an older
FastCGI Apache2 module, because the IRequest object got
initialised before the fix from self::handleAuthHeaders()
copied the authentication headers into the correct $_SERVER
variables.
Since this part is completely independent from any Nextcloud
code it is now done as a first thing within the init() call.

Additionally similar issues could happen when another class
would boot too early and read other global PHP settings like
ini values and default timezone, so those are now also moved
to the beginning.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-10 11:34:31 +00:00
Nextcloud bot 58f83cc569 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-10 00:23:02 +00:00
Nextcloud bot e24146d000 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-09 00:23:20 +00:00
Nextcloud bot f68bda0353 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-08 00:22:25 +00:00
Nextcloud bot 37cff42752 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-07 00:23:42 +00:00
Ferdinand Thiessen 47e7be5af8 fix(encryption): Listen for user login and logout to set encryption key
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-06 17:53:25 +00:00
John Molakvoæ d9cc221bd6 Merge pull request #51308 from nextcloud/backport/51288/stable31
[stable31] fix(systemtags): unify restrict_creation_to_admin handling
2025-03-06 16:37:25 +01:00
nextcloud-command 52e87147ea chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-06 15:18:03 +00:00
skjnldsv f00d596b8c fix(systemtags): prevent tag edition if restricted
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

[skip ci]
2025-03-06 15:11:51 +00:00
skjnldsv 75ce4d3ae0 fix(systemtags): unify restrict_creation_to_admin handling
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-06 15:11:50 +00:00
John Molakvoæ 9304846bdf Merge pull request #51240 from nextcloud/release/31.0.1_rc1
31.0.1 RC1
2025-03-06 13:56:23 +01:00
Louis Chemineau b5a053b93f test: Remove .only( calls
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-06 11:13:39 +00:00
Andy Scherzinger 9d0ddc9939 Merge pull request #50932 from nextcloud/backport/50910/stable31
[stable31] fix(files_external): request strict password auth on credentials enter action
2025-03-06 10:22:52 +01:00
skjnldsv 2b875bb27c chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-06 10:03:05 +01:00
Ferdinand Thiessen a3845297af fix(systemtags): Fix invalid dompurify import
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-06 09:47:21 +01:00
skjnldsv 4f2c2d073b chore(deps): bump dompurify from 3.1.7 to 3.2.4
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-06 09:47:21 +01:00
Joas Schilling 2260561fb5 fix(l10n): Fix triple dot in translation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-06 09:40:35 +01:00
skjnldsv fc943ef465 fix(cypress): action selector menu lookup
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-06 09:40:35 +01:00
skjnldsv 4783f2f215 chore(cypress): also log the current server image sha
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-06 09:40:35 +01:00
skjnldsv 7786d6a53d fix(files_external): inline storage check improvements
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-06 09:40:35 +01:00
skjnldsv ef263a0249 chore(files_external): add cypress tests for user credentials action
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-06 09:40:35 +01:00
Nextcloud bot a157b65d22 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-06 08:26:24 +00:00
skjnldsv edead7274b fix(files_external): request strict password auth on credentials enter action
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-06 07:47:41 +00:00
Nextcloud bot 0721bea606 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-06 00:23:39 +00:00
John Molakvoæ d9b537ba7d Merge pull request #51262 from nextcloud/skjnldsbot/dep-upload-stable31
[stable31] chore(deps): update `@nextcloud/upload` to 1.9.0
2025-03-05 20:54:24 +01:00
Andy Scherzinger 96d3138219 Merge pull request #51289 from nextcloud/backport/51287/stable31
[stable31] fix(l10n): Remove leading space from translation string
2025-03-05 19:12:35 +01:00
Louis 0a9a14d319 Merge pull request #51295 from nextcloud/backport/51280/stable31
[stable31] fix(login): Properly target public page with attribute
2025-03-05 18:45:16 +01:00
Louis Chemineau fb41438db1 fix(login): Properly target public page with attribute
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-05 17:02:26 +00:00
Joas Schilling 37587bda5f fix(l10n): Remove leading space from translation string
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-05 16:48:42 +00:00
Andy Scherzinger 5c0babe27b Merge pull request #51251 from nextcloud/backport/50989/stable31
[stable31] fix: Use case insensitive check when validating login name
2025-03-05 17:47:50 +01:00
skjnldsv 063bf4ae6a chore(deps): update @nextcloud/vue to 8.23.1
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-05 16:45:41 +01:00
nextcloud-command cb0549e20c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-05 16:43:49 +01:00
skjnldsv 003c680258 chore(deps): update @nextcloud/upload to 1.9.0
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-05 16:43:48 +01:00
Kate c93eda7b6f Merge pull request #51276 from nextcloud/backport/51259/stable31
[stable31] fix(files): Don't do session related work in the constructor of the View
2025-03-05 16:32:21 +01:00
Joas Schilling cc257ecf92 Merge pull request #51283 from nextcloud/backport/51258/stable31
[stable31] fix(dav): Use IUser::getDisplayName directly
2025-03-05 16:13:23 +01:00
Christoph Wurst b6a22a7ace fix(dav): Use IUser::getDisplayName directly
No need to send this from the client.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-05 13:05:47 +00:00
Marcel Müller 44e89610ed fix: No IFactory in constructor
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-03-05 11:34:02 +00:00
Joas Schilling 93f039fb96 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:02 +00:00
Maksim Sukharev b88e3b730f Merge pull request #51268 from nextcloud/backport/51239/stable31
[stable31] fix(Comment): replace richEditor mixin with NcRichText
2025-03-05 11:49:31 +01:00
Kate 4a07ee3a84 Merge pull request #51273 from nextcloud/backport/51256/stable31
[stable31] fix(dav): Handle long absence status earlier
2025-03-05 11:45:23 +01:00
Christoph Wurst 14a00a4753 fix(dav): Handle long absence status earlier
Validate the request early. Don't let this cause a database error.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-03-05 10:03:56 +00:00
nextcloud-command acf6ac7fc1 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-05 09:52:55 +00:00
Andy Scherzinger 158f60b9f1 Merge pull request #51263 from nextcloud/backport/51152/stable31
[stable31] fix(files_sharing): ensure downloaded file has the correct filename
2025-03-05 10:46:51 +01:00
Maksim Sukharev d86e501c27 fix(Comment): replace richEditor mixin with NcRichText
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-03-05 10:34:51 +01:00
Ferdinand Thiessen db800350f8 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-05 09:33:57 +01:00
Ferdinand Thiessen a9bea3b944 fix(files_sharing): ensure downloaded file has the correct filename
Single file shares use the share token as source name, so we need to use
the displayname. To do so we need to set the download attribute to the
displayname of the file to download.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-05 09:32:41 +01:00
John Molakvoæ 07293019d1 Merge pull request #51257 from nextcloud/backport/51211/stable31
[stable31] test(e2e): adjust trashbin tests to be less flaky
2025-03-05 09:17:08 +01:00
Ferdinand Thiessen 571124bc3c test(e2e): adjust trashbin tests to be less flaky
1. Move general files delete action (thats not trashbin app!) to files
   tests.
2. Delete files (move to trashbin) before loading the page so previews
   are not generated so they cannot lock the file.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-05 08:24:54 +01:00
Cleopatra Enjeck M. 0535716391 fix: use mb_strtolower to convert login name
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-05 06:20:07 +00:00
Cleopatra Enjeck M. 90f83ac234 fix: Improve string comparison
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-05 06:20:07 +00:00
Cleopatra Enjeck M. 449676be7c fix: Use case insensitive check when validating login name
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-05 06:20:07 +00:00
Nextcloud bot ea24143154 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-05 00:22:51 +00:00
Andy Scherzinger a8cd60062d Merge pull request #51236 from nextcloud/backport/51151/stable31
[stable31] fix(files_sharing): ignore duplicated navigation when replacing current route
2025-03-04 23:55:10 +01:00
Ferdinand Thiessen e115a8fb57 Merge pull request #50935 from nextcloud/backport/50918/stable31
[stable31] fix(files_sharing): Map sharee information for `shared-by-you` view
2025-03-04 22:59:12 +01:00
Ferdinand Thiessen 7c1fd93586 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-04 22:41:25 +01:00
Ferdinand Thiessen ee1aec7225 fix(files_sharing): ignore duplicated navigation when replacing current route
Missing piece from https://github.com/nextcloud/server/pull/50669 as we
also need to adjust the files sharing router otherwiese we can get those
exceptions.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-04 22:26:20 +01:00
nextcloud-command a04926cab4 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-04 21:51:53 +01:00
Ferdinand Thiessen eb8c19c7cf fix(files_sharing): Map sharee information for shared-by-you view
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-04 21:51:53 +01:00
Ferdinand Thiessen f7fc17c2c9 Merge pull request #51015 from nextcloud/backport/50979/stable31
[stable31] feat(files): allow to ignore warning to change file type
2025-03-04 21:49:44 +01:00
Andy Scherzinger 7381387d24 Merge pull request #51091 from nextcloud/backport/51069/stable31
[stable31] Fix SQL query so that it is ansi safe fixing #51067
2025-03-04 21:47:29 +01:00
Ferdinand Thiessen 68f1ad778b chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-04 21:12:47 +01:00
Ferdinand Thiessen 3ac9a316bb feat(files): allow to ignore warning to change file type
* Missing pieces of https://github.com/nextcloud/server/issues/46528
  * Add checkbox to not show this dialog again
  * Add user config as suggested by designers in files settings to
    reenable or diable this behavior.
  * Fix behavior of dialog: It says "keep .ext" but it does not keep the
    extension but cancels the operation. From the button label the user
    expects that the operation is continued but with the old extension.
  * Added more test coverage by adding component tests.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-04 21:12:42 +01:00
Ferdinand Thiessen c4669ba439 Merge pull request #51237 from nextcloud/backport/51229/stable31
[stable31] fix(lookup_server_connector): correctly handle account properties
2025-03-04 21:01:56 +01:00
Arthur Schiwon 9171e32e5d build(hub): 31.0.1 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-03-04 19:12:58 +01:00
AbangTor 961d8ac876 fix(lookup_server_connector): fixed publishing of user properties to lookup-server
Fix of the bug in the lookup_server_connector module to publish public user information to the lookup-server.
As described in issue [#25290](https://github.com/nextcloud/server/issues/25290)

Signed-off-by: AbangTor <63029179+abangtor@users.noreply.github.com>
2025-03-04 18:02:58 +00:00
Andy Scherzinger 228628f181 Merge pull request #51227 from nextcloud/backport/51218/stable31
[stable31] feat: Add bases and gidNumber attribute to ldap:test-user-settings output
2025-03-04 17:16:54 +01:00
Kate aed2cc2298 Merge pull request #51230 from nextcloud/backport/51073/stable31
[stable31] feat: log query for dbal exceptions
2025-03-04 17:05:45 +01:00
Robin Appelman 0ae944db2c feat: log query for dbal exceptions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-03-04 15:33:54 +00:00
Côme Chilliet f6ff808b28 feat: Add bases and gidNumber attribute to ldap:test-user-settings output
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-04 14:16:21 +00:00
Kate 72ee217bb4 Merge pull request #51223 from nextcloud/backport/50852/stable31
[stable31] feat: Support deleting metadata from WebDAV
2025-03-04 14:52:38 +01:00
Louis Chemineau d0b4746a08 feat: Support deleting metadata from WebDAV
The `$value` will be `null` if the update is wrapped inside a `<d:remove>...</d:remove>` block.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-04 13:12:20 +00:00
Andy Scherzinger eb250fae02 Merge pull request #51197 from nextcloud/fix/51022/simpler-request-pre-upgrade
[stable31] fix(userconfig): simpler db request pre-upgrade
2025-03-04 13:11:20 +01:00
Kate b0566ad780 Merge pull request #51203 from nextcloud/backport/51194/stable31
[stable31] refactor(TempManager): Simplify and unify implementations and remove legacy behavior
2025-03-04 10:16:24 +01:00
Kate 98f3648d97 Merge pull request #51206 from nextcloud/backport/51000/stable31
[stable31] fix(FederatedShareProvider): Delete external shares when groups are deleted or users removed from a group
2025-03-04 10:13:17 +01:00
provokateurin fa379052b7 fix(FederatedShareProvider): Delete external shares when groups are deleted or users removed from a group
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 07:57:01 +01:00
provokateurin e8b7ddd14e fix(Share20\Manager): Propagate user and group deletion to remote share providers
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 07:57:00 +01:00
provokateurin 64ed0c05dd fix(Share20): Convert broken hooks to IEventListener
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 07:56:59 +01:00
Nextcloud bot d3530a1859 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-04 00:23:37 +00:00
Andy Scherzinger 3310c7e265 Merge pull request #51210 from nextcloud/backport/51146/stable31
[stable31] fix(files_trashbin): disable bulk download for trashbin
2025-03-03 21:33:12 +01:00
Ferdinand Thiessen affb3afaa5 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-03 18:21:51 +01:00
Ferdinand Thiessen 9458225989 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 18:20:32 +01:00
Ferdinand Thiessen 00eb733d2c Merge pull request #51132 from nextcloud/backport/50919/stable31
[stable31] fix(files): Ensure the filter instance is mounted
2025-03-03 17:54:18 +01:00
Maxence Lange 1fac9cfa14 fix(userconfig): simpler db request before 31 upgrade
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-03-03 14:46:41 -01:00
provokateurin b42d26b42f refactor(TempManager): Simplify and unify implementations and remove legacy behavior
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-03 15:25:00 +00:00
nextcloud-command 74c9634176 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-03 13:29:04 +00:00
Ferdinand Thiessen 18c3cc14bd refactor: use eventbus for updated filters
prevent filters not applied if `filtersChanged` was set before file list
mounted.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-03 14:20:54 +01:00
Ferdinand Thiessen a3f663a2ff fix(files): Ensure the filter instance is mounted
`reset` could be called before the filters are mounted,
in this case it is valid to update the presets, but we must not try to
access the vue instance (as it does not exist yet).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-03 14:20:54 +01:00
Stephan Orbaugh 0a1a63cd37 Merge pull request #51106 from nextcloud/backport/51019/stable31
[stable31] fix(files_external): Move definition parameter to the correct place
2025-03-03 13:20:17 +01:00
Louis 4e7a3c1f9e Merge pull request #51090 from nextcloud/backport/51051/stable31
[stable31] feat: Close sessions created for login flow v2
2025-03-03 12:28:48 +01:00
Louis Chemineau 2f71b7e197 fix(login): Support subfolder install for ephemeral sessions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 11:00:29 +01:00
Louis Chemineau ab01b76a19 fix(login): Also check legacy annotation for ephemeral sessions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 11:00:29 +01:00
Kate b46f010c1e Merge pull request #51111 from nextcloud/backport/47513/stable31 2025-03-03 10:37:38 +01:00
Nextcloud bot c184c3d32a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-03 00:23:01 +00:00
Ferdinand Thiessen a6e7f4cd35 Merge pull request #51186 from nextcloud/backport/50970/stable31
[stable31] chore(deps): bump webdav from 5.7.1 to 5.8.0
2025-03-02 23:32:10 +01:00
Ferdinand Thiessen a00a0bcede Merge pull request #51149 from nextcloud/backport/51142/stable31
[stable31] Remove space
2025-03-02 18:44:38 +01:00
Andy Scherzinger e7039ccc6e Merge pull request #51121 from nextcloud/backport/51079/stable31
[stable31] fix(files_reminders): Do not attempt to send reminders after a user has left a share
2025-03-02 18:04:32 +01:00
Ferdinand Thiessen 760e035d25 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-02 16:35:57 +01:00
Ferdinand Thiessen 856a3c9cbc fix(systemtags): support new attribute parsing of webdav props
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-02 16:35:04 +01:00
Ferdinand Thiessen e74da6a46c chore(deps): bump webdav from 5.7.1 to 5.8.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-02 16:34:51 +01:00
Ferdinand Thiessen 0a5e4a94d5 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-02 12:44:54 +01:00
John Molakvoæ fc0634045d fix(eslint): Strings must use singlequote
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-03-02 12:43:38 +01:00
Valdnet 26d3a8f48f fix(l10n): use do not instead of don't
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2025-03-02 12:43:38 +01:00
Valdnet c4d7e9be9d fix(l10n): remove unnecessary space
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2025-03-02 12:43:37 +01:00
dependabot[bot] 82bd76f943 Merge pull request #51171 from nextcloud/dependabot/npm_and_yarn/stable31/types/dockerode-3.3.35 2025-03-02 11:39:17 +00:00
dependabot[bot] f6e93b9820 Merge pull request #51167 from nextcloud/dependabot/npm_and_yarn/stable31/focus-trap-7.6.4 2025-03-02 10:53:58 +00:00
dependabot[bot] 3939ee65ed chore(deps): bump focus-trap from 7.6.0 to 7.6.4
Bumps [focus-trap](https://github.com/focus-trap/focus-trap) from 7.6.0 to 7.6.4.
- [Release notes](https://github.com/focus-trap/focus-trap/releases)
- [Changelog](https://github.com/focus-trap/focus-trap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/focus-trap/focus-trap/compare/v7.6.0...v7.6.4)

---
updated-dependencies:
- dependency-name: focus-trap
  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 10:21:49 +00:00
Joas Schilling 92bbcada49 Merge pull request #51173 from DaleBCooper/fix-a+-rating
Fix A+ rating when checking with Nextcloud Security Scan.
2025-03-02 11:03:42 +01:00
Nextcloud bot 043f0e6040 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-02 00:22:53 +00:00
dependabot[bot] 55d5203e93 Merge pull request #51168 from nextcloud/dependabot/npm_and_yarn/stable31/marked-15.0.7 2025-03-01 23:39:49 +00:00
dependabot[bot] c25aa50d41 chore(deps): bump marked from 15.0.6 to 15.0.7
Bumps [marked](https://github.com/markedjs/marked) from 15.0.6 to 15.0.7.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v15.0.6...v15.0.7)

---
updated-dependencies:
- dependency-name: marked
  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-01 22:58:13 +00:00
DaleBCooper ed15fdf0a3 Fix A+ rating when checking with Nextcloud Security Scan.
Due to commit 33d7019 session.cookie_secure=true is not set when accessing /status.php.
This results in a degration from A+ to A rating due to missing  __Host prefix for nc_sameSiteCookielax and nc_sameSiteCookiestrict cookies.
2025-03-01 23:57:51 +01:00
dependabot[bot] 7e33eb3c71 Merge pull request #51169 from nextcloud/dependabot/npm_and_yarn/stable31/nextcloud/files-3.10.2 2025-03-01 14:31:41 +00:00
dependabot[bot] 64d9ef780c Merge pull request #51170 from nextcloud/dependabot/npm_and_yarn/stable31/nextcloud/eslint-config-8.4.2 2025-03-01 12:59:00 +00:00
dependabot[bot] 1e241fddf2 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-01 12:53:11 +00:00
dependabot[bot] ec14a12b21 chore(deps-dev): bump @nextcloud/eslint-config from 8.4.1 to 8.4.2
Bumps [@nextcloud/eslint-config](https://github.com/nextcloud-libraries/eslint-config) from 8.4.1 to 8.4.2.
- [Release notes](https://github.com/nextcloud-libraries/eslint-config/releases)
- [Changelog](https://github.com/nextcloud-libraries/eslint-config/blob/v8.4.2/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/eslint-config/compare/v8.4.1...v8.4.2)

---
updated-dependencies:
- dependency-name: "@nextcloud/eslint-config"
  dependency-type: direct:development
  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-01 12:31:09 +00:00
dependabot[bot] a446ebdb64 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 03:01:24 +00:00
Nextcloud bot fe2cf50496 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-01 00:45:14 +00:00
Ferdinand Thiessen 477a3f84e7 Merge pull request #51128 from nextcloud/backport/50881/stable31
[stable31] fix(dav): Handle end of stream in `File::put`
2025-03-01 01:04:02 +01:00
John Molakvoæ 159c5140b2 Merge pull request #51143 from nextcloud/backport/51126/stable31 2025-02-28 19:57:08 +01:00
skjnldsv b58497d2a3 fix(cypress): wait for toast to appear
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-28 16:03:54 +00:00
Ferdinand Thiessen 25b4c7dccd 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-02-28 09:38:11 +00:00
Nextcloud bot 52163b4905 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-28 00:23:28 +00:00
Christopher Ng 1bc3e66c07 fix(files_reminders): Do not attempt to send reminders after a user has left a share
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-27 23:00:38 +00:00
Joas Schilling be8902cdb8 Merge pull request #51118 from nextcloud/backport/33545/stable31
[stable31] make it possible to run occ as root
2025-02-27 22:46:11 +01:00
Frank Karlitschek d28eb731a8 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
Joas Schilling 25268f2fdf Merge pull request #51058 from nextcloud/backport/51049/stable31
[stable31] fix(l10n): Improve english source strings
2025-02-27 16:51:47 +01:00
Côme Chilliet f09de1f2c5 fix: Fix test by scanning group before using it
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-27 15:35:22 +00:00
Daniel Kesselberg 5e1cf1359d fix: remove caching in fetchListOfGroups
When using nested groups without a memberof overlay, then fetchListOfGroups is called from getGroupsByMember without applying the group filter.

In some setups, the "unfiltered" result is then written back to the group mapping table. That might cause random "An administrator removed you from group" activities.

I was unable to replicate it locally, but we got the feedback that the random activities stopped with the patch applied.

Ref: https://github.com/nextcloud/server/issues/42195

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-02-27 15:35:22 +00:00
provokateurin 19601eedc3 fix(files_external): Move definition parameter to the correct place
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-02-27 14:26:10 +00:00
John Molakvoæ 4ab69ec7f4 Merge pull request #51093 from nextcloud/backport/51077/stable31
[stable31] files: fix exception when share-attributes is undefined
2025-02-27 14:57:00 +01:00
Varun Patil 752bc004ae fix(files): exception when share-attributes is undefined
Signed-off-by: Varun Patil <varunpatil@ucla.edu>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-27 12:21:16 +00:00
Johan Bernhardsson ddebea24c2 fix: Change SQL query so that it is ansi safe
Signed-off-by: Johan Bernhardsson <johan.bernhardsson@redpill-linpro.com>
2025-02-27 09:01:17 +00:00
Louis Chemineau e840ee72b2 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>
2025-02-27 07:59:49 +00:00
Nextcloud bot 6e52b55555 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-27 00:22:29 +00:00
Arthur Schiwon e332784e1b Merge pull request #51076 from nextcloud/backport/51071/stable31
[stable31] fix(translation): Fix string concatenation in LDAP endpoint
2025-02-26 23:11:54 +01:00
Joas Schilling 2ffa65201f fix(translation): Fix string concatenation in LDAP endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-26 18:27:18 +00:00
Louis 45439dcd9c Merge pull request #51062 from nextcloud/backport/51050/stable31
[stable31] fix: Report duplicated extra files in integrity check
2025-02-26 15:58:33 +01:00
Louis Chemineau fe56b3ccc2 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:26:38 +00:00
nextcloud-command ba38abe4cd chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-26 13:23:58 +00:00
Joas Schilling 1a60bca362 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 13:08:49 +00:00
Andy Scherzinger 3b49ee1c6b Merge pull request #51034 from nextcloud/backport/48795/stable31
[stable31] feat: support migrating an instance to sharding
2025-02-26 11:05:50 +01:00
John Molakvoæ f9fd3cf17b Merge pull request #51047 from nextcloud/backport/50366/stable31 2025-02-26 09:43:46 +01:00
nextcloud-command 8a04a89028 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-26 07:59:11 +00:00
Joas Schilling 4538a4f4b4 Merge pull request #51041 from nextcloud/automated/noid/stable31-update-ca-cert-bundle
[stable31] fix(security): Update CA certificate bundle
2025-02-26 08:52:31 +01:00
nfebe 3f745a9fea fix(systemtags): Use literal strings for i18n in showSuccess
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-26 07:42:01 +00:00
nextcloud-command a8f664c58e fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-02-26 02:31:06 +00:00
Nextcloud bot 4201daaa40 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-26 00:21:55 +00:00
Robin Appelman ea678c0280 feat: support migrating an instance to sharding
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-25 21:43:54 +00:00
Andy Scherzinger 77db5c76e8 Merge pull request #50963 from nextcloud/dependabot/npm_and_yarn/stable31/ts-loader-9.5.2
[stable31] chore(deps-dev): bump ts-loader from 9.5.1 to 9.5.2
2025-02-25 21:25:25 +01:00
Andy Scherzinger 3bc2e4358d Merge pull request #50994 from nextcloud/backport/50992/stable31
[stable31] fix(admin_audit): Fix incorrect truncation of files path in admin audit log
2025-02-25 20:32:16 +01:00
dependabot[bot] 3225d6b896 chore(deps-dev): bump ts-loader from 9.5.1 to 9.5.2
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 9.5.1 to 9.5.2.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v9.5.1...v9.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-25 20:25:48 +01:00
Côme Chilliet 74531b680a fix(admin_audit): Fix incorrect truncation of files path in admin audit log
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-25 19:38:05 +01:00
Andy Scherzinger 74c30d08d8 Merge pull request #51028 from nextcloud/backport/50987/stable31
[stable31] Spelling standardization
2025-02-25 19:37:22 +01:00
Andy Scherzinger 0d6f26153c Merge pull request #51003 from nextcloud/backport/50958/stable31
[stable31] Fix: NotFoundException for anonymous users
2025-02-25 19:36:57 +01:00
nextcloud-command 59370fc50a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-25 18:00:16 +00:00
Valdnet fc0b59bb8f fix(l10n): Spelling standardization
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2025-02-25 17:42:13 +00:00
Andy Scherzinger 55b8a6ba13 Merge pull request #50941 from nextcloud/backport/50053/stable31
[stable31] fix: Change UserAgent to *cloud
2025-02-25 18:37:15 +01:00
Kostiantyn Miakshyn 22b3c6cd2e Fix: NotFoundException for anonymous users
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
2025-02-25 18:15:30 +01:00
Maksim Sukharev d4bbe3c64b Merge pull request #50995 from nextcloud/backport/50956/stable31 2025-02-25 17:22:41 +01:00
Louis d632679d8f Merge pull request #51025 from nextcloud/backport/50903/stable31
[stable31] fix(files_versions): Do not expire versions newer than min age
2025-02-25 17:22:31 +01:00
nextcloud-command 32c559415e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-25 15:53:39 +00:00
Maksim Sukharev 0ec5954f1c fix: wipe local storages on log out
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-02-25 16:47:32 +01:00
Louis Chemineau 46b1825f2d 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:04:21 +00:00
Côme Chilliet 5b421c99c6 Merge pull request #51017 from nextcloud/backport/50874/stable31
[stable31] fix: Initialize lastConnectionCheck after first connection
2025-02-25 16:01:39 +01:00
Joas Schilling 63b9a48e69 Merge pull request #50954 from nextcloud/backport/50942/stable31
[stable31] fix(cron): Ignore time sensitivity when a class was explicitely scheduled
2025-02-25 14:05:30 +01:00
Joas Schilling 43c677da86 Merge pull request #50953 from nextcloud/backport/50949/stable31
[stable31] ci(autochecks): Run some autochecks also on non-PHP files
2025-02-25 14:04:04 +01:00
Louis Chemineau 8a2437927d 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()];`

https://github.com/nextcloud/server/blob/60711ea4cfde6f53d0b18bcd7e166a34a43056a5/lib/private/DB/Connection.php#L215-L221

https://github.com/nextcloud/server/blob/60711ea4cfde6f53d0b18bcd7e166a34a43056a5/lib/private/DB/Connection.php#L891-L893

https://github.com/nextcloud/3rdparty/blob/2b6d7bf65ff242ea050e736925f752a38d8da220/doctrine/dbal/src/Connections/PrimaryReadReplicaConnection.php#L136-L139

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

https://github.com/nextcloud/server/blob/60711ea4cfde6f53d0b18bcd7e166a34a43056a5/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
Nextcloud bot aef968456f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-25 00:21:39 +00:00
Arthur Schiwon 051e46a7a2 Merge pull request #51011 from nextcloud/release/31.0.0
31.0.0
2025-02-24 22:41:02 +01:00
Nextcloud bot 0e038ec0a5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-24 21:01:11 +00:00
Arthur Schiwon fd933f2f1b build(hub): 31.0.0
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-02-24 21:42:00 +01:00
Nextcloud bot 3276012191 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-24 20:39:17 +00:00
Arthur Schiwon a9ba58e48f Merge pull request #51007 from nextcloud/release/31.0.0
31.0.0
2025-02-24 19:50:04 +01:00
Arthur Schiwon 4c6c1e37c5 Merge pull request #51005 from nextcloud/backport/50985/stable31
[stable31] fix: validate account properties as a repair step
2025-02-24 18:22:46 +01:00
Arthur Schiwon 562baf499b build(hub): 31.0.0
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-02-24 17:09:13 +01:00
Ferdinand Thiessen 06ddb7aff6 refactor: convert sanitize account properties repair step to background job
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-24 15:23:20 +00:00
Ferdinand Thiessen 29e5e8a31b fix: Optimize repair step performance
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-24 15:23:20 +00:00
Ferdinand Thiessen e9c4c59998 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 15:23:20 +00:00
Nextcloud bot a1f748040a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-24 00:22:04 +00:00
Nextcloud bot 328d1c24bd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-23 00:22:08 +00:00
Nextcloud bot 543a01ab89 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-22 00:22:03 +00:00
Joas Schilling 83652ec4be fix(cron): Ignore time sensitivity when a class was explicitely scheduled
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-21 13:40:50 +00:00
Joas Schilling 5e2b8c22fa ci(autochecks): Run some autochecks also on non-PHP files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-21 12:04:34 +00:00
Johannes Endres 76d4138736 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:30:10 +00:00
Nextcloud bot 8c2a39cd89 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-21 00:21:58 +00:00
Benjamin Gaussorgues 6568bb3d7d Merge pull request #50912 from nextcloud/release/31.0.0_rc5 2025-02-20 20:54:20 +01:00
Benjamin Gaussorgues 8bac3d6740 build(hub): 31.0.0 RC5
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-02-20 19:49:43 +01:00
Andy Scherzinger 7c440108ee Merge pull request #50829 from nextcloud/dependabot/npm_and_yarn/stable31/sass-loader-16.0.5
bump sass-loader from 16.0.4 to 16.0.5
2025-02-20 17:50:46 +01:00
Andy Scherzinger daf5747018 Merge pull request #50926 from nextcloud/backport/50922/stable31
[stable31] fix(files_sharing): Also list deleted team shares
2025-02-20 17:44:48 +01:00
Andy Scherzinger 77b80b5eff Merge pull request #50923 from nextcloud/backport/50920/stable31
[stable31] Revert "fix(files): updateAll method"
2025-02-20 17:44:12 +01:00
skjnldsv 6a1ab49c16 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-20 15:26:09 +00:00
Ferdinand Thiessen 77ba2a6d75 fix(files_sharing): Also list deleted team shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-20 15:02:48 +00:00
skjnldsv c37bb3e1b1 Revert "fix(files): updateAll method"
This reverts commit fbec19c0d7.
2025-02-20 14:20:20 +00:00
dependabot[bot] ef19e2ad80 bump sass-loader from 16.0.4 to 16.0.5
---
updated-dependencies:
- dependency-name: sass-loader
  dependency-type: direct:development
  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-02-20 13:23:54 +00:00
Benjamin Gaussorgues dd37d1f87b Merge pull request #50913 from nextcloud/backport/50791/stable31 2025-02-20 09:57:28 +01:00
Benjamin Gaussorgues 4f8eacd3a2 chore(filecache): remove index fs_id_storage_size
Index is outdated by PR 50781

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-02-20 08:09:31 +00:00
Nextcloud bot 2afb2156ef Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-20 00:22:18 +00:00
Andy Scherzinger 529978a663 Merge pull request #50832 from nextcloud/dependabot/npm_and_yarn/stable31/types/dockerode-3.3.34
bump @types/dockerode from 3.3.32 to 3.3.34
2025-02-19 22:33:23 +01:00
dependabot[bot] 804ab80827 bump @types/dockerode from 3.3.32 to 3.3.34
---
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-02-19 21:06:52 +00:00
Andy Scherzinger 747fbf6ed8 Merge pull request #50799 from nextcloud/backport/50794/stable31
[stable31] fix: Only keep allowed characters in appid, and flag the method as escaping
2025-02-19 21:00:19 +01:00
Andy Scherzinger f0a229c92f Merge pull request #50880 from nextcloud/backport/50873/stable31
[stable31] fix(files_sharing): block downloading if needed
2025-02-19 20:45:17 +01:00
Andy Scherzinger f7e9388be0 Merge pull request #50831 from nextcloud/dependabot/npm_and_yarn/stable31/zip.js/zip.js-2.7.57
bump @zip.js/zip.js from 2.7.53 to 2.7.57
2025-02-19 18:43:16 +01:00
Andy Scherzinger 1a52535337 Merge pull request #50812 from nextcloud/backport/50769/stable31
[stable31] fix(SharedStorage): Check if storage ID is set on cache
2025-02-19 18:41:56 +01:00
Côme Chilliet a9ad23e3d8 fix: Also remove digits at the start and underscore on both ends of appid
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2025-02-19 18:39:20 +01:00
Côme Chilliet adf5b72939 fix: Only keep allowed characters in appid, and flag the method as escaping
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-19 18:39:20 +01:00
Andy Scherzinger 08e3e213d3 Merge pull request #50797 from nextcloud/backport/50781/stable31
[stable31] perf(files): faster query to fetch incomplete directories
2025-02-19 18:38:21 +01:00
Andy Scherzinger be10e5b317 Merge pull request #50850 from nextcloud/backport/50798/stable31
[stable31] fix(login): only show error state on login box if user interacted
2025-02-19 18:37:28 +01:00
Ferdinand Thiessen 760939b9bb chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-19 17:10:10 +01:00
Ferdinand Thiessen 0b75350f24 fix(login): only show error state on login box if user interacted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-19 17:10:10 +01:00
Andy Scherzinger 2abf275cb4 Merge pull request #50906 from nextcloud/backport/50904/stable31
[stable31] fix(files): do not show extension warning for folders renaming
2025-02-19 17:09:01 +01:00
nextcloud-command 5d684e0fb5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-19 15:42:01 +00:00
Andy Scherzinger 29b7364d68 Merge pull request #50892 from nextcloud/backport/50820/stable31
[stable31] fix(files_sharing): Fix public share expiration being set when toggle is not enabled
2025-02-19 16:40:21 +01:00
skjnldsv 2131496291 fix(files): do not show extension warning for folders renaming
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-19 15:36:13 +00:00
Joas Schilling c7e84f99c1 Merge pull request #50901 from nextcloud/backport/50896/stable31
[stable31] fix(cron): Keep job class limitation when searching for the next job
2025-02-19 13:34:23 +01:00
nextcloud-command 9f2a77009d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-19 12:04:21 +00:00
Christopher Ng 9ded1e3c63 fix(files_sharing): Fix public share expiration being set when toggle is not enabled
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-19 12:59:42 +01:00
Joas Schilling 4b1b16430d fix(cron): Keep job class limitation when searching for the next job
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-19 09:28:34 +00:00
Nextcloud bot 4a4cfa00f1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-19 00:21:52 +00:00
John Molakvoæ 6654fc9d74 Merge pull request #50884 from nextcloud/backport/50814/stable31
[stable31] fix(systemtags): do not hide if no tags
2025-02-18 19:47:00 +01:00
nextcloud-command 7c728d859f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-02-18 19:32:04 +01:00
skjnldsv 862644ce1f fix(systemtags): do not hide if no tags
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-18 16:42:00 +00:00
skjnldsv 5be019ff2a fix(files): attach sidebar to main content for vue debug
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-18 16:42:00 +00:00
John Molakvoæ e8f38066c0 Merge pull request #50878 from nextcloud/backport/50807/stable31
[stable31] fix(files): properly forward open params from short urls
2025-02-18 17:04:32 +01:00
Joas Schilling d37a74dabf Merge pull request #50863 from nextcloud/backport/50860/stable31
[stable31] fix(activity): Fix activity parameter types
2025-02-18 15:05:22 +01:00
Ferdinand Thiessen 28fd638017 fix(files_sharing): block downloading if needed
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-18 13:31:31 +00:00
nextcloud-command de9141e90d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-18 13:02:38 +00:00
skjnldsv 15147625dc fix(files): properly show file not found error
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-18 12:42:23 +00:00
skjnldsv 0823f924c0 fix(files): properly forward open params from short urls
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-18 12:42:23 +00:00
Nextcloud bot 1255a482dd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-18 00:22:06 +00:00
Joas Schilling b041438dc9 fix(activity): Fix activity parameter types
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-17 16:35:29 +00:00
Stephan Orbaugh 69eced3387 Merge pull request #50857 from nextcloud/backport/50816/stable31
[stable31] fix(transferownership): Allow searching new owner by email
2025-02-17 15:19:52 +01:00
nextcloud-command 3247cbd869 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-17 12:43:51 +00:00
Julien Veyssier 1ab3c89136 fix(transferownership): allow searching by email, display user.shareWithDisplayNameUnique in item subline, adjust style
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-02-17 12:33:51 +00:00
Andy Scherzinger cd6671c7dd Merge pull request #50802 from nextcloud/backport/50784/stable31
[stable31] fix: Fix regression in calendar invitation sending
2025-02-17 09:31:52 +01:00
Nextcloud bot b534d83e39 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-17 00:21:52 +00:00
dependabot[bot] 4986cbee8d bump @zip.js/zip.js from 2.7.53 to 2.7.57
---
updated-dependencies:
- dependency-name: "@zip.js/zip.js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-16 22:46:41 +00:00
Andy Scherzinger d7e26b52ba Merge pull request #50828 from nextcloud/dependabot/npm_and_yarn/stable31/cypress-split-1.24.11
bump cypress-split from 1.24.10 to 1.24.11
2025-02-16 23:44:43 +01:00
Andy Scherzinger a418a20597 Merge pull request #50830 from nextcloud/dependabot/npm_and_yarn/stable31/vitest/coverage-v8-2.1.9
bump @vitest/coverage-v8 from 2.1.8 to 2.1.9
2025-02-16 23:44:10 +01:00
Andy Scherzinger ab07c94547 Merge pull request #50838 from nextcloud/backport/50809/stable31
[stable31] fix(repair): PHP8.3 deprecation warning
2025-02-16 23:42:34 +01:00
Nextcloud bot 7e5b706e03 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-16 00:45:03 +00:00
Git'Fellow 361a6757b1 fix(repair): PHP8.3 deprecation warning
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-02-15 11:10:17 +00:00
dependabot[bot] 270cd38b05 bump @vitest/coverage-v8 from 2.1.8 to 2.1.9
---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-15 04:29:34 +00:00
dependabot[bot] 38640912b3 bump cypress-split from 1.24.10 to 1.24.11
---
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-15 04:10:45 +00:00
Nextcloud bot d989fd8b5c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-15 00:22:02 +00:00
Git'Fellow b2b37ba604 fix(SharedStorage): Check if storage ID is set on cache
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-02-14 15:01:39 +00:00
Nextcloud bot ea6bb3755f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-14 00:22:13 +00:00
SebastianKrupinski 17b86bab47 fix: Fix regression in calendar invitation sending
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-02-13 20:10:23 +00:00
Benjamin Gaussorgues d056e4dc74 perf(files): faster query to fetch incomplete directories
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-02-13 14:24:44 +00:00
Benjamin Gaussorgues 965526cf35 Merge pull request #50770 from nextcloud/release/31.0.0_rc4
31.0.0 RC4
2025-02-13 14:34:46 +01:00
John Molakvoæ 4af1ff7a69 Merge pull request #50790 from nextcloud/backport/50602/stable31
[stable31] fix: template field title
2025-02-13 11:07:18 +01:00
Elizabeth Danzberger 07d7c93336 chore: rebuild assets
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-02-13 10:17:28 +01:00
Elizabeth Danzberger dc416f6213 fix(template-filler): Hide template fields with unknown labels
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-02-13 10:15:47 +01:00
Nextcloud bot c7c773b522 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-13 00:21:47 +00:00
Andy Scherzinger 46e115ec66 Merge pull request #50776 from nextcloud/backport/50692/stable31
[stable31] fix(emailTemplate): use instance Name instead of Url in subject
2025-02-12 13:05:29 +01:00
Git'Fellow 7ca328c9ed fix(emailTemplate): use instance Name instead of Url in subject
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-02-12 11:26:24 +00:00
Andy Scherzinger 77ccb71537 Merge pull request #50766 from nextcloud/backport/50081/stable31
[stable31] fix(core): Fix undefined "application" array key error
2025-02-12 12:02:44 +01:00
Benjamin Gaussorgues 49735507ad build(hub): 31.0.0 RC4
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-02-12 11:31:42 +01:00
Christopher Ng 74d26019c3 fix(core): Fix undefined "application" array key error in user layout
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-12 00:49:57 +00:00
Christopher Ng 8bd93f5dd8 fix(core): Fix undefined "application" array key error
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-12 00:49:57 +00:00
Nextcloud bot 1162b63816 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-12 00:22:34 +00:00
Andy Scherzinger faca032747 Merge pull request #50760 from nextcloud/backport/50324/stable31
[stable31] fix: don't use cached root info from shared cache if the watcher has detected an update
2025-02-11 22:22:23 +01:00
Robin Appelman 9e7bed0c46 test: add test for shared storage root being changed after watcher
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-11 20:35:46 +01:00
Robin Appelman 5eac86afec 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 20:35:46 +01:00
Andy Scherzinger 60871d2dd6 Merge pull request #50709 from nextcloud/chore/31-phpseclib
[stable31] build(deps): Bump phpseclib/phpseclib from 2.0.47 to 2.0.48
2025-02-11 20:34:06 +01:00
Andy Scherzinger 2a76114134 Merge pull request #50763 from nextcloud/backport/50498/stable31
[stable31] Don't rethrow a type error
2025-02-11 20:31:50 +01:00
Robin Appelman 856b87c08d fix: use relative paths for upload locks
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-11 16:29:43 +00:00
Robin Appelman e813f3d605 fix: make locked exception path relative to the view
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-11 16:29:43 +00:00
Daniel Kesselberg cb22b3f63e fix: Replace the TypeError to prevent exposing the installation path
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-02-11 16:29:43 +00:00
Andy Scherzinger 205b597295 Merge pull request #50758 from nextcloud/backport/50739/stable31
[stable31] feat(sharing): Allow to set default view mode for public shares
2025-02-11 14:56:04 +01:00
nextcloud-command 29890dfc13 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-11 11:26:43 +00:00
Ferdinand Thiessen 8003b270c5 feat(sharing): Allow to set default view mode for public shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-11 12:19:05 +01:00
Ferdinand Thiessen 851355c34c build(deps): Bump phpseclib/phpseclib from 2.0.47 to 2.0.48
| Production Changes  | From   | To     | Compare                                                               |
|---------------------|--------|--------|-----------------------------------------------------------------------|
| phpseclib/phpseclib | 2.0.47 | 2.0.48 | [...](https://github.com/phpseclib/phpseclib/compare/2.0.47...2.0.48) |

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-11 08:53:20 +01:00
Nextcloud bot 53b79b7f1e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-11 00:21:54 +00:00
Andy Scherzinger 32169097a8 Merge pull request #50751 from nextcloud/backport/50735/stable31
[stable31] fix(setupcheck): Update setup check for PHP version to be more accurate
2025-02-10 21:47:00 +01:00
Joas Schilling bfb3bd7d87 fix(setupcheck): Update setup check for PHP version to be more accurate
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-10 18:47:59 +00:00
Nextcloud bot 9bfd71df02 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-10 00:21:52 +00:00
Andy Scherzinger 2929b9af50 Merge pull request #50690 from nextcloud/backport/50567/stable31
[stable31] Add LDAP test settings command
2025-02-09 22:13:43 +01:00
Côme Chilliet cf283249cc feat(user_ldap): Add a --clearcache option to ldap:test-user-settings
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-09 21:55:34 +01:00
Côme Chilliet 27673a3611 fix(user_ldap): Remove redundant if check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-09 21:55:34 +01:00
Côme Chilliet 8a9c2c9f8f feat(user_ldap): Add command test-user-settings to test LDAP user settings
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-09 21:55:34 +01:00
Côme Chilliet 8eb0041df8 feat(user_ldap): upstream common code into Proxy class and add public getters for backends
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-09 21:55:34 +01:00
Andy Scherzinger 4b12c1cd32 Merge pull request #50721 from nextcloud/dependabot/npm_and_yarn/stable31/cypress-13.15.2
[stable31] chore(deps-dev): bump cypress from 13.15.0 to 13.15.2
2025-02-09 21:54:16 +01:00
Andy Scherzinger c2165db356 Merge pull request #50743 from nextcloud/dependabot/npm_and_yarn/stable31/cypress-split-1.24.10
[stable31] chore(deps-dev): bump cypress-split from 1.24.0 to 1.24.10
2025-02-09 21:53:44 +01:00
Andy Scherzinger 7173257ac9 Merge pull request #50705 from nextcloud/backport/50660/stable31
[stable31] fix: make sure we process mime extensions as string
2025-02-09 21:41:18 +01:00
dependabot[bot] 7f31643732 chore(deps-dev): bump cypress-split from 1.24.0 to 1.24.10
Bumps [cypress-split](https://github.com/bahmutov/cypress-split) from 1.24.0 to 1.24.10.
- [Release notes](https://github.com/bahmutov/cypress-split/releases)
- [Commits](https://github.com/bahmutov/cypress-split/compare/v1.24.0...v1.24.10)

---
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-09 20:09:29 +00:00
dependabot[bot] 96750e685a chore(deps-dev): bump cypress from 13.15.0 to 13.15.2
Bumps [cypress](https://github.com/cypress-io/cypress) from 13.15.0 to 13.15.2.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v13.15.0...v13.15.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-09 20:09:18 +00:00
John Molakvoæ 1946fdf80d 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-09 21:09:12 +01:00
skjnldsv 63d9a11575 fix: make sure we process mime extensions as string
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-09 21:09:12 +01:00
Andy Scherzinger 22f2f6d02b Merge pull request #50720 from nextcloud/dependabot/npm_and_yarn/stable31/dockerode-4.0.4
[stable31] chore(deps-dev): bump dockerode from 4.0.2 to 4.0.4
2025-02-09 21:06:33 +01:00
Andy Scherzinger a6d70652b0 Merge pull request #50719 from nextcloud/dependabot/npm_and_yarn/stable31/sass-1.81.1
[stable31] chore(deps-dev): bump sass from 1.81.0 to 1.81.1
2025-02-09 21:06:00 +01:00
Andy Scherzinger dc24efce8d Merge pull request #50718 from nextcloud/dependabot/npm_and_yarn/stable31/karma-coverage-2.2.1
[stable31] chore(deps-dev): bump karma-coverage from 2.2.0 to 2.2.1
2025-02-09 21:05:28 +01:00
Andy Scherzinger e395cc86dc Merge pull request #50736 from nextcloud/backport/50680/stable31
[stable31] fix(files): only send config update requests if user is logged in
2025-02-09 21:04:15 +01:00
nextcloud-command 9d665f68d6 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-09 18:49:29 +00:00
Ferdinand Thiessen 8ab40e5065 fix(files): only send config update requests if user is logged in
Since we use the files app also for public shares it is not guaranteed
that there is a user logged in, in that case the update for user / view
config will fail.
So ensure there is a user or do not send a request.

Also refactor both stores to setup styles to fix (remove) initialization hack,
which causes Typescript issues.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-09 13:57:55 +01:00
Nextcloud bot 8144ab6cc7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-09 00:21:52 +00:00
dependabot[bot] 9210015ccf chore(deps-dev): bump dockerode from 4.0.2 to 4.0.4
Bumps [dockerode](https://github.com/apocas/dockerode) from 4.0.2 to 4.0.4.
- [Release notes](https://github.com/apocas/dockerode/releases)
- [Commits](https://github.com/apocas/dockerode/compare/v4.0.2...v4.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-08 02:07:44 +00:00
dependabot[bot] 546b3b6cdc chore(deps-dev): bump sass from 1.81.0 to 1.81.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.81.0 to 1.81.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.81.0...1.81.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-08 02:07:17 +00:00
dependabot[bot] 823aefe0aa chore(deps-dev): bump karma-coverage from 2.2.0 to 2.2.1
Bumps [karma-coverage](https://github.com/karma-runner/karma-coverage) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/karma-runner/karma-coverage/releases)
- [Changelog](https://github.com/karma-runner/karma-coverage/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-coverage/compare/v2.2.0...v2.2.1)

---
updated-dependencies:
- dependency-name: karma-coverage
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-08 02:06:48 +00:00
Nextcloud bot b6887083a9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-08 00:21:50 +00:00
John Molakvoæ 368fa61484 Merge pull request #50714 from nextcloud/backport/50364/stable31
[stable31] fix(files): support submenu in batch actions header too
2025-02-07 13:13:29 +01:00
skjnldsv 44c0e1db51 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-07 09:26:43 +00:00
skjnldsv 738447bcd5 chore(files): add actions cypress tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-07 09:22:54 +00:00
skjnldsv d8b6e83805 fix(files): support submenu in batch actions header too
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-07 09:22:54 +00:00
Nextcloud bot 0fa809d53c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-07 00:22:01 +00:00
Andy Scherzinger b9b2d7b379 Merge pull request #50695 from nextcloud/backport/50655/stable31
[stable31] enh: Fix display default expire date, add tests & tiny refactors
2025-02-06 22:04:43 +01:00
Joas Schilling 5ae678cf3d Merge pull request #50710 from nextcloud/backport/50697/stable31
[stable31] feat(admin_audit): write admin audit log for AnyLoginFailedEvent
2025-02-06 21:12:54 +01:00
Luka Trovic 57971afad5 feat(admin_audit): write admin audit log for AnyLoginFailedEvent
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2025-02-06 18:27:10 +00:00
Andy Scherzinger 0f96d72e14 Merge pull request #50700 from nextcloud/backport/50678/stable31
[stable31] fix(AccountProperty): better validation of twitter and fediverse handles
2025-02-06 18:38:22 +01:00
Ferdinand Thiessen c6ec735d4e chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-06 16:22:44 +01:00
Ferdinand Thiessen a5f15f836f fix(settings): Also sanitize fediverse and twitter handle in the frontend
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-06 15:46:15 +01:00
Ferdinand Thiessen 2c03bc74fa fix(provisioning_api): Correct limit for editUser
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-06 15:46:15 +01:00
Ferdinand Thiessen e550ad7bbe 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-06 15:46:15 +01:00
Ferdinand Thiessen ac1a448765 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-06 15:46:15 +01:00
nextcloud-command ba7411fd6d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-06 13:19:08 +00:00
nfebe 08f50dcead fix(files_sharing): Hide internal recommendations in external share input
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-06 14:11:50 +01:00
nfebe 6c231b6e09 fix(files_sharing): Update QuickShareSelect if share is modified
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-06 12:55:10 +00:00
nfebe fe08fd0dbe test(files_sharing): Check that default expiration date is shown b4 create share
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-06 12:55:10 +00:00
nfebe 84602522f7 fix: Show default expiration date before create link share
Since `ShareEntryLink` component is used to both create and display/list the share links,
we should only set default expiration date on `share.expireDate` when we know is a new share.

Otherwise, we overidding data from the backend.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-06 12:55:10 +00:00
nfebe ba2a1ec72f refactor: Remove some deprecated containers and exceptions
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-06 12:55:10 +00:00
John Molakvoæ 7646b6b2b0 Merge pull request #50688 from nextcloud/backport/50666/stable31
[stable31] feat(theming): allow to disable standalone windows
2025-02-06 13:36:24 +01:00
Andy Scherzinger 490fc64e17 Merge pull request #50681 from nextcloud/backport/50669/stable31
[stable31] fix(files): Do not download files with openfile query flag
2025-02-06 11:55:29 +01:00
Simon L. 4cc3c5f0e4 feat(theming): allow to disable standalone windows
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-02-06 10:46:11 +00:00
John Molakvoæ fc71757ef3 Merge pull request #50671 from nextcloud/release/31.0.0_rc3
31.0.0 RC3
2025-02-06 11:19:01 +01:00
John Molakvoæ 806e5ac30f Merge pull request #50675 from nextcloud/backport/50193/stable31
[stable31] fix(oauth2): adjust db schemas when migrating from owncloud
2025-02-06 10:23:29 +01:00
Ferdinand Thiessen 48bc62ba67 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-06 10:15:57 +01:00
Ferdinand Thiessen 5bb4fc5997 fix(files): Do not download files with openfile query flag
Instead of downloading files, if there is no other default action,
we should just open the details tab.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-06 10:14:50 +01:00
Andy Scherzinger b54c71febc Merge pull request #50683 from nextcloud/backport/50640/stable31
[stable31] fix(TaskProcessing\Manager): Always use distributed cache and use PHP serialize
2025-02-06 09:43:04 +01:00
Marcel Klehr 75585be67f fix(TaskProcessing\Manager): Always use distributed cache and use PHP serialize
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-02-06 07:52:04 +00:00
Marcel Klehr f9450f2d20 fix: lib/private/TaskProcessing/Manager.php
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-02-06 07:52:04 +00:00
Marcel Klehr ec3660a3c2 fix(TaskProcessing\Manager): Always use distributed cache and use PHP serialize
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-02-06 07:52:04 +00:00
Andy Scherzinger 5bddc7db06 Merge pull request #50679 from nextcloud/backport/50582/stable31
[stable31] fix(files): Correctly scroll selected file into view
2025-02-06 07:31:21 +01:00
nextcloud-command 3eb864a139 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-06 07:23:58 +01:00
Ferdinand Thiessen 5c2cb2df9c test(files): Make scrolling tests independent from magic values
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-06 07:23:58 +01:00
Ferdinand Thiessen 43180134a0 fix(files): Correctly scroll selected file into view
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-06 07:23:58 +01:00
Ferdinand Thiessen b5313e4f9f test: Add Cypress command for deleting files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-06 07:23:58 +01:00
Nextcloud bot 6d850e9e5c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-06 00:22:02 +00:00
Richard Steinmetz 2c51ff1e3b fix(oauth2): adjust db schemas when migrating from owncloud
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-02-05 21:17:28 +00:00
Benjamin Gaussorgues 7033eb9c29 build(hub): 31.0.0 RC3
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-02-05 21:17:38 +01:00
Andy Scherzinger 6446556790 Merge pull request #50662 from nextcloud/chore/31-symfony
[stable31] chore(deps): Bump the symfony group with 3 updates
2025-02-05 20:03:34 +01:00
Ferdinand Thiessen 3ee5e2a9fb chore(deps): Bump the symfony group with 3 updates
| Production Changes      | From    | To      | Compare                                                                     |
|-------------------------|---------|---------|-----------------------------------------------------------------------------|
| symfony/http-foundation | v6.4.16 | v6.4.18 | [...](https://github.com/symfony/http-foundation/compare/v6.4.16...v6.4.18) |
| symfony/mailer          | v6.4.13 | v6.4.18 | [...](https://github.com/symfony/mailer/compare/v6.4.13...v6.4.18)          |
| symfony/mime            | v6.4.17 | v6.4.18 | [...](https://github.com/symfony/mime/compare/v6.4.17...v6.4.18)            |
| symfony/routing         | v6.4.16 | v6.4.18 | [...](https://github.com/symfony/routing/compare/v6.4.16...v6.4.18)         |

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-05 18:43:43 +01:00
Andy Scherzinger a0cd4d7396 Merge pull request #50659 from nextcloud/backport/50657/stable31
[stable31] fix(theming): high contrast themes scrollbar
2025-02-05 11:04:50 +01:00
skjnldsv 38a65b0006 fix(theming): high contrast themes scrollbar
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-05 09:05:35 +00:00
Nextcloud bot 1688edc222 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-05 00:21:57 +00:00
Andy Scherzinger c777f44c01 Merge pull request #50608 from nextcloud/dependabot/npm_and_yarn/stable31/libphonenumber-js-1.11.19
chore(deps): bump libphonenumber-js from 1.11.18 to 1.11.19
2025-02-04 21:56:24 +01:00
nextcloud-command d43e19f285 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-04 20:27:23 +00:00
dependabot[bot] 4b88e123ee chore(deps): bump libphonenumber-js from 1.11.18 to 1.11.19
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.11.18 to 1.11.19.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.11.18...v1.11.19)

---
updated-dependencies:
- dependency-name: libphonenumber-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-04 21:22:07 +01:00
Andy Scherzinger 764d745e83 Merge pull request #50606 from nextcloud/dependabot/npm_and_yarn/stable31/marked-15.0.6
chore(deps): bump marked from 15.0.0 to 15.0.6
2025-02-04 21:21:14 +01:00
nextcloud-command b7b176f766 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-04 19:58:33 +00:00
dependabot[bot] 6b62139b21 chore(deps): bump marked from 15.0.0 to 15.0.6
Bumps [marked](https://github.com/markedjs/marked) from 15.0.0 to 15.0.6.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v15.0.0...v15.0.6)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-04 20:52:52 +01:00
Andy Scherzinger b90d495cbd Merge pull request #50341 from nextcloud/dependabot/npm_and_yarn/stable31/query-string-9.1.1
chore(deps): bump query-string from 9.1.0 to 9.1.1
2025-02-04 20:51:24 +01:00
nextcloud-command a628b2fa6d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-04 18:39:39 +00:00
dependabot[bot] 802925ad47 chore(deps): bump query-string from 9.1.0 to 9.1.1
Dependabot couldn't find the original pull request head commit, 6c36b278660fa61ce5261616700a0322e09a315d.
2025-02-04 18:13:06 +00:00
Andy Scherzinger c29e1b0ef3 Merge pull request #50647 from nextcloud/backport/50642/stable31
[stable31] fix(sharing): better handle file share attributes
2025-02-04 18:33:35 +01:00
Andy Scherzinger c070f27fdd Merge pull request #50651 from nextcloud/backport/50645/stable31
[stable31] fix(files): properly update store on files conversions success
2025-02-04 18:13:12 +01:00
nextcloud-command 79a214f75b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-04 16:55:27 +00:00
skjnldsv a0e40f0b96 fix(files): properly update store on files conversions success
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

[skip ci]
2025-02-04 16:46:46 +00:00
Andy Scherzinger 69ec0ff31e Merge pull request #50607 from nextcloud/dependabot/npm_and_yarn/stable31/babel/node-7.25.9
chore(deps-dev): bump @babel/node from 7.25.7 to 7.25.9
2025-02-04 17:15:29 +01:00
dependabot[bot] 69cdac4443 chore(deps-dev): bump @babel/node from 7.25.7 to 7.25.9
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.25.7 to 7.25.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.25.9/packages/babel-node)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-04 15:50:55 +00:00
Andy Scherzinger a397f231f4 Merge pull request #50609 from nextcloud/dependabot/npm_and_yarn/stable31/testing-library/cypress-10.0.3
chore(deps-dev): bump @testing-library/cypress from 10.0.2 to 10.0.3
2025-02-04 16:46:32 +01:00
Ferdinand Thiessen 8fc1b6f1cd fix(sharing): Ensure download restrictions are not dropped
When a user receives a share with share-permissions but also with
download restrictions (hide download or the modern download permission attribute),
then re-shares of that share must always also include those restrictions.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-04 15:06:11 +00:00
dependabot[bot] 404dacec7b chore(deps-dev): bump @testing-library/cypress from 10.0.2 to 10.0.3
Bumps [@testing-library/cypress](https://github.com/testing-library/cypress-testing-library) from 10.0.2 to 10.0.3.
- [Release notes](https://github.com/testing-library/cypress-testing-library/releases)
- [Changelog](https://github.com/testing-library/cypress-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/cypress-testing-library/compare/v10.0.2...v10.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-04 14:57:18 +00:00
Andy Scherzinger dd921969da Merge pull request #50641 from nextcloud/backport/50635/stable31
[stable31] chore(files): Adjust wording
2025-02-04 15:14:28 +01:00
nextcloud-command 009ddd1cac chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-04 13:34:34 +00:00
Christopher Ng d5532a9d7d chore(cypress): Finish comment
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-04 13:17:42 +00:00
Christopher Ng 16bd639619 fix(files): Fix casing
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-04 13:17:42 +00:00
Christopher Ng 94858691d3 chore(files): Change "filename" to "file name"
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-04 13:17:42 +00:00
Nextcloud bot b4067478aa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-04 00:21:26 +00:00
Andy Scherzinger 18f8f617a5 Merge pull request #50632 from nextcloud/backport/50592/stable31
[stable31] fix(unified-search): filteredProviders now inherits all provider props
2025-02-03 20:44:42 +01:00
nextcloud-command ecf0e70e5c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-03 18:23:54 +00:00
nfebe 77c88e1ae7 fix(unified-search): filteredProviders now inherits all provider props
The main providers come from both the backend and client side plugins such as `in-folder` search.
The main providers may carry callbacks functions and other information that should be passed to the `filteredProviders`.
This is important because the current code does not make a distinction between `filteredProviders` and `providers`
rightly so, becuase they are the same thing!

Without the mentioned distinction above, sooner or later, we try to access a property on the `filteredProviders` which we
did not transfer with the manual property copy.

----

This fix prevents in-folder search from searching everywhere when "load more results" is clicked; Essentially ignoring the in-folder
search filter.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-03 19:19:02 +01:00
Andy Scherzinger c4564ba735 Merge pull request #50625 from nextcloud/backport/50260/stable31
[stable31] chore : Comprehensive e2e testing for public sharing
2025-02-03 19:18:36 +01:00
nextcloud-command 76aa56d68c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-03 16:13:27 +00:00
nfebe 6b6f55ab1d fix(files_sharing): Adjust wrong labeling identified by test
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-03 17:07:54 +01:00
nfebe 28cf67a157 test(files_sharing): add e2e tests for public link sharing
This commit introduces end-to-end tests for various public link sharing scenarios in the `files_sharing` app. It validates the behavior under multiple configurations:

- Password and expiration date enforced
- Password enforced with a default expiration date
- Expiration date enforced with optional password
- Default password and expiration date without enforcement
- Password enforced, expiration date set but not enforced
- Both password and expiration date not enforced, but defaults set
- Password not enforced, expiration date enforced
- Password not enforced, default expiration date set
- Password and expiration date not enforced with no defaults

The tests ensure proper validation and functionality of the configurations, leveraging the `setupData` and `createShare` utilities.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-03 11:49:33 +00:00
nfebe 161a9e786a refactor: Modularize setup-public-share.ts
This update enhances the testing framework for public sharing by
improving the setup and management of share contexts.
It refactors the code to make the `createShare` function reusable externally,
ensuring better testability and flexibility.
Additionally, the update optimizes share permission adjustments and
improves state management, making public share setups more efficient and maintainable.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-03 11:49:33 +00:00
Stephan Orbaugh 210b293b98 Merge pull request #50594 from nextcloud/backport/50424/stable31
[stable31] fix(settings): Clarify peculiarities of enabling encryption
2025-02-03 11:55:18 +01:00
Stephan Orbaugh bea4e21c40 Merge pull request #50624 from nextcloud/backport/50576/stable31
[stable31] fix(files): Fix folder preview for favorites widget
2025-02-03 11:43:52 +01:00
provokateurin 9d1cab21b2 fix(files): Fix folder preview for favorites widget
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-02-03 09:57:02 +00:00
Nextcloud bot aaad1e588b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-03 00:39:31 +00:00
Nextcloud bot 276a4a0a40 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-02 00:22:30 +00:00
Nextcloud bot aca3bca62b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-01 00:21:56 +00:00
Ferdinand Thiessen d3b826c112 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 17:22:38 +01:00
Ferdinand Thiessen 49f104a996 fix(settings): Clarify peculiarities of enabling encryption
- Clarify that enabling server side encryption will not encrypt
  existing files but only new or changed files.
- Clarify that server side encryption can only be disabled using OCC
- Ensure there is accessible information of encryption state (`disabled`
  input will not be announced so make it `aria-disabled` instead)
- Make warning more prominent by moving it into a dialog

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 17:21:33 +01:00
Andy Scherzinger 23cb06dfc1 Merge pull request #50565 from nextcloud/backport/50530/stable31
[stable31] fix(ConvertType): Read dbtype in createConnectionParams and remove safeguard
2025-01-31 16:52:12 +01:00
Andy Scherzinger 0c1cd28233 Merge pull request #50589 from nextcloud/backport/50550/stable31
[stable31] fix: unified search provider id
2025-01-31 16:51:15 +01:00
Andy Scherzinger 3c64282109 Merge pull request #50590 from nextcloud/backport/50514/stable31
[stable31] feat(S3): add SSE-C support in S3 External Storage
2025-01-31 14:53:46 +01:00
nfebe 74200f28cb fix: Use searchFrom property for client side plugins
The client-side plugin `in-folder` uses the `files` provider, this makes it

overlap with the main files provider itself.

This change follows eecda06f1a after it was discovered

that some apps/providers like `dav` use providers from another app like `contacts`

Signed-off-by: nfebe <fenn25.fn@gmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-31 12:10:34 +00:00
Christian Becker 5b51e1b0dc feat(S3): add SSE-C support in S3 External Storage
Just need to add the parameter and fix two calls. All other logic is already implemented and implicitly called through the S3ConnectionTrait

fixes #33283

Signed-off-by: Christian Becker <christian@dabecka.de>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-31 12:01:09 +00:00
SebastianKrupinski c1f9114e72 fix: unified search provider id
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-31 11:40:53 +00:00
Nextcloud bot d0da4db975 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-31 00:22:27 +00:00
Arthur Schiwon 8ba7c3ea0b Merge pull request #50538 from nextcloud/release/31.0.0_rc2
31.0.0 RC2
2025-01-30 16:02:46 +01:00
Andy Scherzinger 07e61b0dbc Merge pull request #50573 from nextcloud/backport/50292/stable31
[stable31] Fix opening federated shares
2025-01-30 16:00:17 +01:00
provokateurin d998af0770 chore: Compile assets
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-30 15:38:48 +01:00
provokateurin 3654fb53e2 fix(files_sharing): Only clear permissions of pending federated shares
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-30 14:27:24 +00:00
provokateurin 27efd04c28 fix(files): Allow opening the same file repeatedly
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-30 14:27:24 +00:00
Andy Scherzinger 1dca8f98aa Merge pull request #50569 from nextcloud/backport/50524/stable31
[stable31] fix(files_sharing): file request form validity check reset
2025-01-30 14:33:29 +01:00
skjnldsv 694a06e4c5 fix(files_sharing): file request form validity check reset
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-30 13:20:01 +00:00
Andy Scherzinger 9c3dc03945 Merge pull request #50556 from nextcloud/backport/50281/stable31
[stable31] fix(settings): Fix setup check when mail_smptmode is set to "null"
2025-01-30 13:02:14 +01:00
Andy Scherzinger 23ac20347b Merge pull request #50560 from nextcloud/backport/50519/stable31
[stable31] fix: Exclude non accepted shares when computing access list
2025-01-30 12:07:19 +01:00
Andy Scherzinger 7adb956ae1 Merge pull request #50562 from nextcloud/backport/50540/stable31
[stable31] fix: Only hide template folder creation if default was changed to empty
2025-01-30 12:06:28 +01:00
provokateurin 279b9ca3ad fix(ConvertType): Read hostname from arguments and not options
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-30 10:50:16 +00:00
Nils Wenninghoff 8a6d9ffdc1 fix(ConvertType): Read dbtype in createConnectionParams and remove safeguard
Signed-off-by: Nils Wenninghoff <nils@ungemein.cool>
2025-01-30 10:50:16 +00:00
Julius Knorr 11926bc789 fix: Only hide template folder creation if default was changed to empty
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-01-30 10:23:35 +00:00
Louis Chemineau a56cff70e1 fix: Exclude non accepted shares when computing access list
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-30 09:18:41 +00:00
Côme Chilliet 98b8912d74 fix(settings): Fix setup check when mail_smptmode is set to "null"
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-30 08:35:14 +00:00
Andy Scherzinger 378b0f9765 Merge pull request #50516 from nextcloud/backport/50284/stable31
[stable31] chore: update icewind/smb to 3.7.0
2025-01-30 09:31:21 +01:00
Andy Scherzinger a82c1f137d Merge pull request #50555 from nextcloud/backport/50503/stable31
[stable31] fix(theming): Do not throw in background color migration
2025-01-30 09:27:07 +01:00
Andy Scherzinger c17d892489 Merge pull request #50534 from nextcloud/backport/50129/stable31
[stable31] fix(unified-search): load more than 5 items in folder filter
2025-01-30 09:26:17 +01:00
Ferdinand Thiessen 09b6598e73 fix(theming): Do not throw in background color migration
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-30 00:28:37 +00:00
Robin Appelman 2ee38139f3 chore: update icewind/smb to 3.7.0
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-29 21:56:41 +01:00
nextcloud-command e74966aa07 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-29 20:37:54 +00:00
nextcloud-command 25eea26001 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-29 21:32:29 +01:00
nfebe 6e2e35f641 fix(unified-search): Prevent multiple file picker triggers in in-folder search
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-29 21:32:29 +01:00
nfebe 6bb24885d6 refactor: Drop deprecated use of defineStore
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-29 21:32:29 +01:00
nfebe f2678b122e fix(unified-search): Use appId for searching
Each provider may search from a particular app so we should use that for searching.

Before this commit, we used `provider.id` instead of `provider.appId` the problem with the previous
approach is that it forces the provider id to be a valid search provider (an app that supports search)
limiting the developers ability to use unique IDs to identify the different providers (especially plugin providers)
inside the places filter.

For example the Files search plugin "In folder" (search in folder plugin) was required to have id as `files` while the
files provider itself already has id as `files`.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-29 21:32:29 +01:00
Andy Scherzinger ceadae2e19 Merge pull request #50537 from nextcloud/backport/50515/stable31
[stable31] fix: Show recipient email addresses in share owner notification email
2025-01-29 21:31:49 +01:00
nfebe 066ffc5fb7 fix: Show recipient email addresses in share owner notification email
Previously, the share owner notification email did not display the recipient email addresses,
making it difficult for the owner to know who the share was sent to.
This fix ensures that the recipient email addresses are included in the notification email.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-29 21:11:53 +01:00
Andy Scherzinger e8844cacec Merge pull request #50528 from nextcloud/backport/50494/stable31
[stable31] fix(performance): use low resolution for blurhash
2025-01-29 21:07:52 +01:00
Andy Scherzinger 1d7d01dd3a Merge pull request #50547 from nextcloud/backport/50514/stable31
[stable31] feat(S3): add SSE-C support in S3 External Storage
2025-01-29 20:52:14 +01:00
Richard Steinmetz 936ef804cd 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:35:52 +00:00
Andy Scherzinger 9ee1e19157 Merge pull request #50531 from nextcloud/backport/50501/stable31
[stable31] fix: Increase background and primary color debounce time
2025-01-29 18:27:02 +01:00
Arthur Schiwon c70de52049 build(hub): 31.0.0 RC2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-01-29 15:10:40 +01:00
nextcloud-command 3c583f5ce6 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-29 14:45:15 +01:00
Louis Chemineau ed04204de2 fix: Increase background and primary color debounce time
This prevent flooding the server with requests

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-29 14:45:15 +01:00
Andy Scherzinger ef0d2eae31 Merge pull request #50520 from nextcloud/backport/50299/stable31
[stable31] fix(files_versions): Update `unencrypted_size` during rollback
2025-01-29 14:44:14 +01:00
Max 1b34f6ad65 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:15 +00:00
Louis Chemineau f5df254521 fix(files_versions): Update unencrypted_size during rollback
This prevent restored version of encrypted files from having a wrong reported size. This was blocking download.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-29 09:36:39 +00:00
Louis Chemineau 097ce6ef98 chore(files_versions): Remove unused $node variable
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-29 09:36:39 +00:00
Nextcloud bot d43f7b6ee6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-29 00:22:14 +00:00
Andy Scherzinger c99c135520 Merge pull request #50508 from nextcloud/backport/50436/stable31
[stable31] fix: Harden files scanner for invalid null access
2025-01-28 23:52:39 +01:00
Andy Scherzinger cc6a9a9ec3 Merge pull request #50510 from nextcloud/backport/50490/stable31
[stable31] fix(CalDav): Spelling
2025-01-28 23:07:59 +01:00
Andy Scherzinger a2470db709 Merge pull request #50505 from nextcloud/backport/50270/stable31
[stable31] fix(files_sharing): Respect permissions passed when creating link shares
2025-01-28 23:04:39 +01:00
Andy Scherzinger f752a01722 Merge pull request #50492 from nextcloud/backport/47889/stable31
[stable31] fix: `user:settings` command when user is not available
2025-01-28 23:02:24 +01:00
SebastianKrupinski 37adb8813e fix(CalDav): Spelling
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-01-28 19:53:55 +00:00
Andy Scherzinger fe352bf212 Merge pull request #50467 from nextcloud/chore/31-doctrine
[stable31] build(deps): Bump doctrine/dbal from 3.9.1 to 3.9.4
2025-01-28 20:50:04 +01:00
Ferdinand Thiessen 26c93519f2 fix: Harden files scanner for invalid null access
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>
2025-01-28 19:49:03 +00:00
Ferdinand Thiessen 124db6147d test: Reset sharing app config after test
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-28 17:26:28 +00:00
Ferdinand Thiessen 0f298e1db1 fix(sharing): Move permission validation to share manager
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-28 17:26:28 +00:00
Ferdinand Thiessen 2926fe270a fix(files_sharing): Respect permissions passed when creating link shares
Given:
User creates a link or email share with permissions=4 (create only = file drop).

Problem:
Currently the permissions are automatically extended to permissions = 5
(READ + CREATE). Work around was to create the share and directly update
it.

Solution:
Respect what the user is requesting, create a file drop share.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-28 17:26:28 +00:00
Ferdinand Thiessen ce0dfc9bb8 build(deps): Bump doctrine/dbal from 3.9.1 to 3.9.4
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-28 16:21:02 +01:00
Ferdinand Thiessen 00286eefa8 fix: user:settings command when user is not available
If `ignore-missing-user` all sub commands work, except listing all settings
for a user like `occ user:settings --ignore-missing-user user core`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-28 11:22:08 +01:00
John Molakvoæ 5650a59cfc Merge pull request #50497 from nextcloud/backport/50496/stable31
[stable31] fix(ci): cypress container name
2025-01-28 11:21:13 +01:00
John Molakvoæ 9b310e915e fix(ci): cypress container name
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-01-28 10:06:01 +00:00
Andy Scherzinger e7ab2c1598 Merge pull request #50485 from nextcloud/backport/49645/stable31
[stable31] fix(config): drop value details
2025-01-28 10:21:41 +01:00
Nextcloud bot 325e5ee9ac Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-28 00:22:21 +00:00
Andy Scherzinger 3e37c6c5a4 Merge pull request #50486 from nextcloud/backport/50293/stable31
[stable31] fix(theming): Harden admin theming settings
2025-01-27 20:50:14 +01:00
Andy Scherzinger b60fb6f2f5 Merge pull request #50484 from nextcloud/backport/50446/stable318
[stable31] fix(unifiedsearch): Simplify and correct thumbnail styles
2025-01-27 20:12:45 +01:00
Ferdinand Thiessen 80de84fa46 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-27 19:03:58 +00:00
nextcloud-command f3fc39c78b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-27 18:33:57 +00:00
Ferdinand Thiessen 6dbd8da40f fix(theming): Ensure to only send valid URLs to backend
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 17:56:35 +00:00
Ferdinand Thiessen a8c2769cae fix(theming): Harden admin web link settings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 17:56:35 +00:00
Maxence Lange 578b4ba0ee fix(config): drop value details
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-01-27 17:55:29 +00:00
Ferdinand Thiessen 67e7c706f4 fix(unifiedsearch): Simplify and correct thumbnail styles
Ensure that the if a preview is available the maximum sizes are
respected (clickable area).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 17:42:19 +00:00
Andy Scherzinger 7b3daafad3 Merge pull request #50482 from nextcloud/backport/50221/stable31
[stable31] Add integration tests for moving a file from and to a shared folder
2025-01-27 18:15:44 +01:00
Andy Scherzinger bae32be74d Merge pull request #50468 from nextcloud/backport/50234/stable31
[stable31] fix(ratelimit): Allow to bypass rate-limit from bruteforce allowlist
2025-01-27 18:14:06 +01:00
Andy Scherzinger 3604f0b0e6 Merge pull request #50481 from nextcloud/backport/45364/stable31
[stable31] fix(user_ldap): Do not map groups we do not know if they match filter
2025-01-27 18:13:22 +01:00
Andy Scherzinger 9b6258ac68 Merge pull request #50477 from nextcloud/backport/50464/stable31
[stable31] Hide "Create templates folder" option if templates are disabled
2025-01-27 18:11:55 +01:00
Andy Scherzinger e916fff40f Merge pull request #50474 from nextcloud/backport/48581/stable31
[stable31] fix: Filter for folders in cleanup old preview job
2025-01-27 18:10:36 +01:00
Daniel Calviño Sánchez bf45ce843c test: Add integration tests for moving a file from and to a shared folder
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-27 17:01:14 +00:00
nextcloud-command 1b5abc40ff chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-27 16:31:51 +00:00
Côme Chilliet 128b2e1cec fix(user_ldap): Do not map groups we do not know if they match filter
When nesting is enabled, filterValidGroups is supposed to check for each
 groups if it actually exist, because it may not be visible to
 Nextcloud. So in this codepath we disable automapping of groups.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-27 16:31:14 +00:00
Pawel Boguslawski 64e261dad7 fix: Hide "Create templates folder" option if templates are disabled in configuration
When both `skeletondirectory` and `templatedirectory` are set to empty
strings in configuration, templates folder creation should be disabled
and no Create templates folder option should be present
in new folder menu.

Related: https://github.com/nextcloud/server/issues/39266
Related: https://github.com/nextcloud/server/issues/46455
Author-Change-Id: IB#1156403

Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-01-27 16:19:00 +00:00
Dario Mehlich 72a43a17f5 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:11:26 +00:00
Joas Schilling 77fddb8f23 fix(ratelimit): Allow to bypass rate-limit from bruteforce allowlist
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-27 13:21:36 +00:00
Andy Scherzinger 62a74d8264 Merge pull request #50458 from nextcloud/backport/50298/stable31
[stable31] fix: detect deleted items as updated for smb storage
2025-01-27 12:23:26 +01:00
Joas Schilling 1c89327141 Merge pull request #50453 from nextcloud/chore/update-symfony
[stable31] chore(deps): Bump the symfony dependency group
2025-01-27 12:19:19 +01:00
Joas Schilling 39cb18de4f Merge pull request #50461 from nextcloud/backport/50455/stable31
[stable31] fix(log): Fix log level handling
2025-01-27 12:18:51 +01:00
Ferdinand Thiessen edf3032183 chore(deps): Bump the symfony dependency group
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 11:33:02 +01:00
Joas Schilling e78cec5d7b fix(log): Fix log level handling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-27 10:23:28 +00:00
Robin Appelman 5c0d4a4bea fix: detect deleted items as updated for smb storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-27 09:22:03 +00:00
Andy Scherzinger 46c4013b51 Merge pull request #50337 from nextcloud/dependabot/npm_and_yarn/stable31/wait-on-8.0.2
chore(deps-dev): bump wait-on from 8.0.1 to 8.0.2
2025-01-27 09:58:03 +01:00
Nextcloud bot d06a26d58b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-27 00:21:51 +00:00
Andy Scherzinger fa6dac457b Merge pull request #50450 from nextcloud/backport/48672/stable31
[stable31] fix(settings): Add some context to the PHP memory limit error
2025-01-26 23:17:04 +01:00
Andy Scherzinger 1c28ae4aeb Merge pull request #50451 from nextcloud/backport/50425/stable31
[stable31] Fix outdated OpenAPI specs
2025-01-26 22:34:30 +01:00
provokateurin 8e0b72184a fix(settings): Add back adminstration scope for LogSettingsController
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-26 21:10:29 +00:00
provokateurin f741fd16ca chore(federation): Remove outdated OpenAPI spec
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-26 21:10:29 +00:00
Josh 5a8242feea fix(settings): Add some context to the PHP memory limit error
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-26 20:48:16 +00:00
Andy Scherzinger 4701b61e5d Merge pull request #50449 from nextcloud/backport/50447/stable31
[stable31] fix: Ensure `label` is always a string
2025-01-26 21:34:13 +01:00
Ferdinand Thiessen 57949b2e22 fix: Ensure label is always a string
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-26 20:00:33 +00:00
dependabot[bot] 065974cffa chore(deps-dev): bump wait-on from 8.0.1 to 8.0.2
Bumps [wait-on](https://github.com/jeffbski/wait-on) from 8.0.1 to 8.0.2.
- [Release notes](https://github.com/jeffbski/wait-on/releases)
- [Commits](https://github.com/jeffbski/wait-on/compare/v8.0.1...v8.0.2)

---
updated-dependencies:
- dependency-name: wait-on
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-26 18:07:19 +00:00
Andy Scherzinger f5d3aea2b8 Merge pull request #50344 from nextcloud/dependabot/npm_and_yarn/stable31/pinia-2.3.1
chore(deps): bump pinia from 2.3.0 to 2.3.1
2025-01-26 18:52:01 +01:00
nextcloud-command b6ab6a12c0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-26 18:09:33 +01:00
dependabot[bot] 03ee0d83df chore(deps): bump pinia from 2.3.0 to 2.3.1
Bumps [pinia](https://github.com/vuejs/pinia) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: pinia
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-26 18:09:33 +01:00
Andy Scherzinger fcb73d7217 Merge pull request #50438 from nextcloud/backport/49440/stable31
[stable31] fix(SetupChecks): Pass webfinger if the handler returns 400 too
2025-01-26 17:46:03 +01:00
Andy Scherzinger 1124eaac83 Merge pull request #50442 from nextcloud/backport/50430/stable31
[stable31] files: harden thumbnail endpoint
2025-01-26 16:58:53 +01:00
Ferdinand Thiessen 76ac30f576 fix(files): Harden thumbnail endpoint
- Catch all thrown exceptions and handle in such a way you do not get
  information about forbidden files.
- Resepect download permissions of shares.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-26 15:20:35 +00:00
Josh 92c603b082 fix(SetupChecks): Pass webfinger if a handler is there
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-26 14:37:05 +00:00
Andy Scherzinger e5d4bddc91 Merge pull request #50433 from nextcloud/automated/noid/stable31-fix-npm-audit
[stable31] Fix npm audit
2025-01-26 12:10:02 +01:00
nextcloud-command a64814dfc3 fix(deps): Fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2025-01-26 02:46:20 +00:00
Nextcloud bot b380f25af4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-26 00:22:40 +00:00
Andy Scherzinger 8a78feb7f2 Merge pull request #50347 from nextcloud/dependabot/npm_and_yarn/stable31/sass-loader-16.0.4
chore(deps-dev): bump sass-loader from 16.0.2 to 16.0.4
2025-01-25 20:29:32 +01:00
nextcloud-command f8de5a73a7 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-25 18:44:50 +00:00
dependabot[bot] 3e6b5f46f3 chore(deps-dev): bump sass-loader from 16.0.2 to 16.0.4
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 16.0.2 to 16.0.4.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v16.0.2...v16.0.4)

---
updated-dependencies:
- dependency-name: sass-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-25 18:40:33 +00:00
Andy Scherzinger 7cd21b7d91 Merge pull request #50339 from nextcloud/dependabot/npm_and_yarn/stable31/jsdoc-4.0.4
chore(deps-dev): bump jsdoc from 4.0.3 to 4.0.4
2025-01-25 19:38:39 +01:00
dependabot[bot] 2a9102d7d0 chore(deps-dev): bump jsdoc from 4.0.3 to 4.0.4
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/4.0.4/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/4.0.3...4.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-25 18:12:18 +00:00
Andy Scherzinger cac5830746 Merge pull request #50427 from nextcloud/backport/50426/stable31
[stable31] fix(occ): hide sensitive data while config:app:set
2025-01-25 19:03:32 +01:00
Andy Scherzinger e6089ee599 Merge pull request #50428 from nextcloud/backport/50320/stable31
[stable31] fix(theming): remove node-vibrant dependency and usage (was moved to backend)
2025-01-25 18:44:32 +01:00
nextcloud-command 56a57e9b77 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-25 17:18:10 +00:00
Ferdinand Thiessen f7318c17a6 fix(theming): remove node-vibrant dependency and usage (was moved to backend)
The color extraction is handled by the backend nowadays, this was not
used by the backend anymore.
Reduce depdencies + compiled size + security warning on that dependency.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-25 17:11:34 +00:00
Misha M.-Kupriyanov 744d57d5d8 fix(occ): hide sensitive data while config:app:set
in order to hide sensitive data from logs

Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-01-25 16:52:54 +00:00
Andy Scherzinger abab62b12f Merge pull request #50419 from nextcloud/backport/50331/stable31
[stable31] fix(taskprocessing): More caching
2025-01-25 14:42:29 +01:00
Marcel Klehr 35052624b9 fix(TaskProcessing): Cache providersById in getPreferredProviders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-25 13:08:19 +01:00
Marcel Klehr 6e59f9a693 fix: copypasta
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-25 13:08:19 +01:00
Marcel Klehr 215f6c6418 fix(taskprocessing): cache provider settings in distributed cache as well
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-25 13:08:19 +01:00
Marcel Klehr c88c2216ae fix(taskprocessing): Fix tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-25 13:08:19 +01:00
Marcel Klehr 8c81f9e0fa fix(TaskProcessing\Manager): Cache the result of parsing JSON
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-25 13:08:19 +01:00
Marcel Klehr e2bef275ec fix(taskprocessing): Cache result of getAvailableTaskTypes between requests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-25 13:08:19 +01:00
Andy Scherzinger 0fd798968f Merge pull request #50423 from nextcloud/backport/50399/stable31
[stable31] feat: Use redundant label for accesibility only
2025-01-25 12:58:00 +01:00
nextcloud-command a5be652931 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-25 12:33:02 +01:00
nfebe b11fc4e2a2 feat: Use redundant label for accessibility only
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-25 12:33:02 +01:00
Andy Scherzinger c186379614 Merge pull request #50420 from nextcloud/backport/50273/stable31
[stable31] fix: Metadata field search
2025-01-25 12:31:46 +01:00
Louis Chemineau 5b2af8b4c0 fix: Metadata field search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-25 09:44:50 +00:00
Andy Scherzinger bb2980e738 Merge pull request #50401 from nextcloud/backport/50368/stable 31 8
[stable31] fix: Properly read updater channel before returning version channel as a fallback
2025-01-25 08:48:32 +01:00
Nextcloud bot aaeb93782e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-25 00:42:51 +00:00
Julius Knorr f2ae9bcb11 fix: Properly read updater channel before returning version channel as a fallback
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-01-25 01:16:58 +01:00
Andy Scherzinger 32ba3f8e47 Merge pull request #50411 from nextcloud/backport/49639/stable31
[stable31] fix: adjust url for task links
2025-01-25 01:16:39 +01:00
Raimund Schlüßler 94d95a68f7 fix(TasksSearchProviderTest): adjust deep link to Tasks app
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2025-01-24 23:46:13 +01:00
Raimund Schlüßler c79b8a6901 fix: adjust url for task links
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2025-01-24 23:46:13 +01:00
Andy Scherzinger cf98040af8 Merge pull request #50388 from nextcloud/backport/46780/stable31
[stable31] fix(TaskProcessing): Catch JSON encode errors in Manager#setTaskResult
2025-01-24 23:41:21 +01:00
Marcel Klehr 44aa380ce4 fix(TaskProcessing): Catch JSON encode errors in Manager#setTaskResult
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-24 22:15:11 +01:00
Andy Scherzinger 30a4f92202 Merge pull request #50374 from nextcloud/backport/50282/stable31
[stable31] refactor: Sharing sidebar UI redesign
2025-01-24 22:12:01 +01:00
Andy Scherzinger 44fe423e89 Merge pull request #50406 from nextcloud/backport/50353/stable31
[stable31] feat: Support X-NC-Skip-Trashbin header
2025-01-24 19:58:50 +01:00
Andy Scherzinger 07c52c3718 Merge pull request #50407 from nextcloud/backport/50398/stable31
[stable31] fix: Correctly return app id and app version for `core` styles and images
2025-01-24 19:45:21 +01:00
Ferdinand Thiessen 99e76d7a99 fix(TemplateLayout): core is not an app but the server itself
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-24 18:12:18 +00:00
Ferdinand Thiessen ae3e26024e fix: Correctly return app id and app version for core styles and images
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-24 18:12:18 +00:00
Louis Chemineau 3250d71284 feat: Support X-NC-Skip-Trashbin header
This is useful for clients that want to directly and permanently delete a file.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-24 17:58:14 +00:00
nextcloud-command 66bd6fd37f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-24 13:22:12 +00:00
nfebe afb8c4f071 feat: Only show show inherited shares section if present
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-24 13:08:05 +01:00
nfebe 6f545828ac feat: Improve create link texts
Use `Create public link` for first link share creation

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-24 13:08:05 +01:00
nfebe 64138650d1 feat(files_sharing): Modularize SharingInput to adapt with share sections
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-24 13:08:05 +01:00
nfebe 24d7fc1bdd refactor(files_sharing): Split internal & external shares
Create two seperate sections for internal and external shares.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-24 13:08:05 +01:00
Thomas Lehmann 33fc5fc1d8 refactor(files_sharing): move deprecated projects component
Primarily to move it out of the way for changes in the source location.

The feature was deprecated in version 25 (#28320), five versions ago.

Refs: #48925
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-24 13:08:05 +01:00
Andy Scherzinger 409bb9ef15 Merge pull request #50396 from nextcloud/backport/50394/stable31
[stable31] ci(reuse): Fix translation reuse mapping
2025-01-24 12:32:25 +01:00
Joas Schilling f15fd324be Merge pull request #50393 from nextcloud/backport/50389/stable31
[stable31] Revert "fix(Share20\Manager): Ensure node is still accessible when checking share"
2025-01-24 11:55:36 +01:00
Andy Scherzinger f553197d11 Merge pull request #50373 from nextcloud/backport/50369/stable31
[stable31] fix(dav): default calendar and address book not created on first login
2025-01-24 11:55:08 +01:00
Joas Schilling ee30644f0d ci(reuse): Fix translation reuse mapping
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-24 10:47:44 +00:00
provokateurin 9fafcb267c Revert "fix(Share20\Manager): Ensure node is still accessible when checking share"
This reverts commit c2ca99e2f6.

Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-24 09:47:35 +00:00
Nextcloud bot d99caa2083 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-24 00:21:18 +00:00
Richard Steinmetz cc9f1e00dd fix(dav): default calendar and address book not created on first login
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-23 22:54:02 +01:00
John Molakvoæ 7396f74e98 Merge pull request #50370 from nextcloud/backport/50365/stable31
[stable31] chore: add profile translations reuse license
2025-01-23 22:31:01 +01:00
John Molakvoæ 7425270f2c chore: add profile translations reuse license
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-01-23 21:01:12 +00:00
Arthur Schiwon 91b180dd1b Merge pull request #50367 from nextcloud/backport/50362/stable31
[stable31] fix: remove return type
2025-01-23 21:14:31 +01:00
Anna Larch 3a9713de2c fix: remove typing and return type
Signed-off-by: Anna Larch <anna@nextcloud.com>
2025-01-23 19:28:30 +00:00
Joas Schilling 3c9f86a3b7 Merge pull request #50332 from nextcloud/backport/50330/stable31
[stable31] fix(security): Update .well-known/security.txt expiration date
2025-01-23 15:06:22 +01:00
Nextcloud bot 36ef0f1add Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-23 13:39:42 +00:00
Joas Schilling bfbb2fa961 Merge pull request #50356 from nextcloud/backport/50355/stable31
[stable31] fix(translations): Fix profile and webhook_listeners
2025-01-23 14:15:47 +01:00
Joas Schilling 57c5e66788 fix(translations): Fix profile and webhook_listeners
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 13:10:22 +00:00
Joas Schilling f6b179e059 Merge pull request #50351 from nextcloud/branchoff/welcome-stable31
chore(branchoff): Test against stable31 branches
2025-01-23 11:43:13 +01:00
Joas Schilling fafa94e51f fix: Adjust branch name in server files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 10:35:37 +01:00
Joas Schilling afd23e61fe ci: Adjust branches of apps used in tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 10:33:42 +01:00
Joas Schilling e11adbd09d build: Adjust checkout branch script
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 10:32:24 +01:00
Joas Schilling 0dc641795b fix: Adjust version in 3rdparty composer.json
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 10:29:42 +01:00
John Molakvoæ e879ba1896 Merge pull request #50329 from nextcloud/release/31.0.0_rc1 2025-01-23 09:55:03 +01:00
Joas Schilling 3e138d71f4 fix(security): Update .well-known/security.txt expiration date
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 08:43:32 +00:00
Benjamin Gaussorgues 32b68ad7ee build(hub): 31.0.0 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-01-23 09:13:39 +01:00
9427 changed files with 263065 additions and 441981 deletions
+44 -46
View File
@@ -4,35 +4,33 @@ ARG DEBIAN_FRONTEND=noninteractive
# PHP
RUN apt-get update -y && \
apt install -y apache2 vim software-properties-common sudo nano gnupg2 wget curl git \
lsb-release ca-certificates apt-transport-https && \
add-apt-repository ppa:ondrej/php -y && \
apt-get update -y
apt install -y apache2 vim software-properties-common sudo nano gnupg2
RUN apt-get install --no-install-recommends -y \
php8.4 \
php8.4-common \
php8.4-gd \
php8.4-zip \
php8.4-curl \
php8.4-xml \
php8.4-xmlrpc \
php8.4-mbstring \
php8.4-sqlite \
php8.4-xdebug \
php8.4-pgsql \
php8.4-intl \
php8.4-imagick \
php8.4-gmp \
php8.4-apcu \
php8.4-bcmath \
php8.4-redis \
php8.4-soap \
php8.4-imap \
php8.4-opcache \
php8.4-cli \
php8.4-dev \
php8.3 \
php8.3-common \
php8.3-gd \
php8.3-zip \
php8.3-curl \
php8.3-xml \
php8.3-xmlrpc \
php8.3-mbstring \
php8.3-sqlite \
php8.3-xdebug \
php8.3-pgsql \
php8.3-intl \
php8.3-imagick \
php8.3-gmp \
php8.3-apcu \
php8.3-bcmath \
php8.3-redis \
php8.3-soap \
php8.3-imap \
php8.3-opcache \
php8.3-cli \
php8.3-dev \
libmagickcore-6.q16-7-extra \
curl \
lsof \
make \
unzip
@@ -44,39 +42,39 @@ RUN curl -sS https://getcomposer.org/installer -o /tmp/composer-setup.php && \
php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer && \
rm /tmp/composer-setup.php /tmp/composer-setup.sig
RUN echo "xdebug.remote_enable = 1" >> /etc/php/8.4/cli/conf.d/20-xdebug.ini && \
echo "xdebug.remote_autostart = 1" >> /etc/php/8.4/cli/conf.d/20-xdebug.ini && \
echo "apc.enable_cli=1" >> /etc/php/8.4/cli/conf.d/20-apcu.ini
RUN echo "xdebug.remote_enable = 1" >> /etc/php/8.3/cli/conf.d/20-xdebug.ini && \
echo "xdebug.remote_autostart = 1" >> /etc/php/8.3/cli/conf.d/20-xdebug.ini && \
echo "apc.enable_cli=1" >> /etc/php/8.3/cli/conf.d/20-apcu.ini
# Autostart XDebug for apache
RUN { \
echo "xdebug.mode=debug"; \
echo "xdebug.start_with_request=yes"; \
} >> /etc/php/8.4/apache2/conf.d/20-xdebug.ini
} >> /etc/php/8.3/apache2/conf.d/20-xdebug.ini
# Increase PHP memory limit to 512mb
RUN sed -i 's/memory_limit = .*/memory_limit = 512M/' /etc/php/8.4/apache2/php.ini
RUN sed -i 's/memory_limit = .*/memory_limit = 512M/' /etc/php/8.3/apache2/php.ini
# Docker CLI only (for controlling host Docker via socket)
RUN install -m 0755 -d /etc/apt/keyrings && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc && \
chmod a+r /etc/apt/keyrings/docker.asc && \
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null && \
# Docker
RUN apt-get -y install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && \
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable" && \
apt-get update -y && \
apt-get install -y docker-ce-cli && \
apt-get install -y docker-ce docker-ce-cli containerd.io && \
ln -s /var/run/docker-host.sock /var/run/docker.sock
# Dedicated DevContainer user runs Apache
ENV APACHE_RUN_USER=devcontainer
ENV APACHE_RUN_GROUP=devcontainer
# Delete any existing user/group with UID/GID 1000 first
RUN (getent passwd 1000 && userdel -r $(getent passwd 1000 | cut -d: -f1)) || true && \
(getent group 1000 && groupdel $(getent group 1000 | cut -d: -f1)) || true && \
groupadd -g 1000 ${APACHE_RUN_GROUP} && \
useradd -u 1000 -g 1000 -ms /bin/bash ${APACHE_RUN_USER} && \
RUN useradd -ms /bin/bash ${APACHE_RUN_USER} && \
adduser ${APACHE_RUN_USER} sudo && \
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers && \
sed -ri "s/^export APACHE_RUN_USER=.*$/export APACHE_RUN_USER=${APACHE_RUN_USER}/" "/etc/apache2/envvars" && \
@@ -86,6 +84,6 @@ USER devcontainer
# NVM
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
RUN bash --login -i -c 'source /home/devcontainer/.bashrc && nvm install 22'
RUN bash --login -i -c 'source /home/devcontainer/.bashrc && nvm install 16'
WORKDIR /var/www/html
+1
View File
@@ -1,5 +1,6 @@
# SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
version: '3'
services:
nextclouddev:
build: .
+1 -6
View File
@@ -5,9 +5,4 @@
#
# Set git safe.directory
git config --global --add safe.directory /var/www/html
git config --global --add safe.directory /var/www/html/3rdparty
# Ensure devcontainer user has access to docker socket
if [ -S /var/run/docker.sock ]; then
sudo chmod 666 /var/run/docker.sock
fi
git config --global --add safe.directory /var/www/html/3rdparty
+4
View File
@@ -13,6 +13,10 @@ indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
[*.feature]
indent_size = 2
indent_style = space
[*.yml]
indent_size = 2
indent_style = space
+14
View File
@@ -0,0 +1,14 @@
# SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
# Ignoring folders for eslint
node_modules/
3rdparty/
**/vendor/
**/l10n/
**/js/*
*.config.js
tests/lib/
apps-extra
# TODO: remove when comments files is not using handlebar templates anymore
apps/comments/src/templates.js
+51
View File
@@ -0,0 +1,51 @@
/**
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
module.exports = {
globals: {
__webpack_nonce__: true,
_: true,
$: true,
dayNames: true,
escapeHTML: true,
firstDay: true,
moment: true,
oc_userconfig: true,
sinon: true,
},
plugins: [
'cypress',
],
extends: [
'@nextcloud/eslint-config/typescript',
'plugin:cypress/recommended',
],
rules: {
'no-tabs': 'warn',
// TODO: make sure we fix this as this is bad vue coding style.
// Use proper sync modifier
'vue/no-mutating-props': 'warn',
'vue/custom-event-name-casing': ['error', 'kebab-case', {
// allows custom xxxx:xxx events formats
ignores: ['/^[a-z]+(?:-[a-z]+)*:[a-z]+(?:-[a-z]+)*$/u'],
}],
},
settings: {
jsdoc: {
mode: 'typescript',
},
'import/resolver': {
typescript: {}, // this loads <rootdir>/tsconfig.json to eslint
},
},
overrides: [
// Allow any in tests
{
files: ['**/*.spec.ts'],
rules: {
'@typescript-eslint/no-explicit-any': 'warn',
},
},
],
}
-8
View File
@@ -15,11 +15,3 @@ af6de04e9e141466dc229e444ff3f146f4a34765
9836e9b16484582d309c8437ab46d82e34956941
# Automated refactorings
49dd79eabb2b8902559a7a4e8f8fcad54f46b604
# @nextcloud/vue import paths
b06f5ba4c47450f355a8903c1a93ac68e8c6cfc2
# Update to coding-standard 1.4.0
5981b7eb512aa411f51cad541d01c5c6e93476f0
# Migrate `and` `or` operators to logical `&&` `||` operators
660f3f6fd1ae5539b8f74bfa48859d1b9f1e6abf
# Migrate to ESLint v9 enforced code style
91f3b6b4ee60e0f8bb6e21f92d5bc52e4cebe657
+41 -72
View File
@@ -1,111 +1,80 @@
# Fallback owners for code review - ensure all PRs have someone assigned for review.
# (the last match will used so this is only used if there is no more specific code owner below)
# Backend
# is the first and gets everything to make things easier from matching syntax
* @nextcloud/server-backend
# Frontend
# this will override the backend code owners if needed
/__mocks__ @nextcloud/server-frontend
/__tests__ @nextcloud/server-frontend
/dist @nextcloud/server-frontend
/cypress @nextcloud/server-frontend
**/css @nextcloud/server-frontend
**/js @nextcloud/server-frontend
**/src @nextcloud/server-frontend
*.js @nextcloud/server-frontend
*.cjs @nextcloud/server-frontend
*.mjs @nextcloud/server-frontend
*.ts @nextcloud/server-frontend
# dependency management
package.json @nextcloud/server-dependabot @nextcloud/server-frontend
package-lock.json @nextcloud/server-dependabot
# App maintainers
/apps/admin_audit/appinfo/info.xml @luka-nextcloud @samin-z
/apps/cloud_federation_api/appinfo/info.xml @nfebe @mejo-
/apps/comments/appinfo/info.xml @edward-ly @sorbaugh
/apps/admin_audit/appinfo/info.xml @luka-nextcloud @blizzz
/apps/cloud_federation_api/appinfo/info.xml @mejo-
/apps/comments/appinfo/info.xml @edward-ly @Pytal
/apps/contactsinteraction/appinfo/info.xml @kesselb @SebastianKrupinski
/apps/contactsinteraction/lib @kesselb @SebastianKrupinski
/apps/contactsinteraction/tests @kesselb @SebastianKrupinski
/apps/dashboard/appinfo/info.xml @julien-nc @juliusknorr
/apps/dav/lib/CalDAV @ChristophWurst @SebastianKrupinski @tcitworld
/apps/dav/lib/CalDAV @st3iny @SebastianKrupinski @tcitworld
/apps/dav/lib/CardDAV @hamza221 @SebastianKrupinski
/apps/dav/tests/unit/CalDAV @ChristophWurst @SebastianKrupinski @tcitworld
/apps/dav/tests/unit/CalDAV @st3iny @SebastianKrupinski @tcitworld
/apps/dav/tests/unit/CardDAV @hamza221 @SebastianKrupinski
/apps/encryption/appinfo/info.xml @come-nc @icewind1991
/apps/federatedfilesharing/appinfo/info.xml @icewind1991 @danxuliu
/apps/federation/appinfo/info.xml @nfebe @sorbaugh
/apps/files/appinfo/info.xml @skjnldsv @ArtificialOwl @come-nc @artonge @icewind1991 @szaimen @susnux @nfebe
/apps/federation/appinfo/info.xml @nfebe
/apps/files/appinfo/info.xml @skjnldsv @Pytal @ArtificialOwl @come-nc @artonge @icewind1991 @szaimen @susnux @nfebe
/apps/files_external/appinfo/info.xml @icewind1991 @artonge
/apps/files_reminders/appinfo/info.xml @skjnldsv @sorbaugh
/apps/files_reminders/appinfo/info.xml @Pytal
/apps/files_sharing/appinfo/info.xml @skjnldsv @come-nc
/apps/files_trashbin/appinfo/info.xml @icewind1991 @sorbaugh
/apps/files_trashbin/appinfo/info.xml @Pytal @icewind1991
/apps/files_versions/appinfo/info.xml @artonge @icewind1991
/apps/oauth2/appinfo/info.xml @julien-nc @ChristophWurst
/apps/provisioning_api/appinfo/info.xml @provokateurin @nickvergessen
/apps/settings/appinfo/info.xml @hweihwang @sorbaugh
/apps/sharebymail/appinfo/info.xml @Altahrim @skjnldsv
/apps/settings/appinfo/info.xml @Pytal @JuliaKirschenheuter
/apps/sharebymail/appinfo/info.xml @Altahrim
/apps/systemtags/appinfo/info.xml @Antreesy @marcelklehr
/apps/theming/appinfo/info.xml @skjnldsv @juliusknorr
/apps/twofactor_backupcodes/appinfo/info.xml @miaulalala @ChristophWurst
/apps/updatenotification/appinfo/info.xml @enjeck @sorbaugh
/apps/twofactor_backupcodes/appinfo/info.xml @st3iny @miaulalala @ChristophWurst
/apps/updatenotification/appinfo/info.xml @Pytal @JuliaKirschenheuter
/apps/user_ldap/appinfo/info.xml @come-nc @blizzz
/apps/user_status/appinfo/info.xml @Antreesy @nickvergessen
/apps/weather_status/appinfo/info.xml @julien-nc @juliusknorr
/apps/webhook_listeners/appinfo/info.xml @come-nc @julien-nc
/apps/workflowengine/appinfo/info.xml @blizzz @juliusknorr
# Files frontend expertise
/apps/files/src* @skjnldsv @nextcloud/server-frontend
/apps/files_external/src* @skjnldsv @nextcloud/server-frontend
/apps/files_reminders/src* @skjnldsv @nextcloud/server-frontend
/apps/files_sharing/src/actions* @skjnldsv @nextcloud/server-frontend
/apps/files_trashbin/src* @skjnldsv @nextcloud/server-frontend
# Frontend expertise
/apps/files/src* @skjnldsv
/apps/files_external/src* @skjnldsv
/apps/files_reminders/src* @skjnldsv
/apps/files_sharing/src/actions* @skjnldsv
/apps/files_trashbin/src* @skjnldsv
# Security team
/build/psalm-baseline-security.xml @nickvergessen @nextcloud/server-backend
/build/psalm-baseline-security.xml @nickvergessen
/resources/codesigning @mgallien @miaulalala @nickvergessen
/resources/config/ca-bundle.crt @miaulalala @nickvergessen
# Two-Factor Authentication
# https://github.com/nextcloud/wg-two-factor-authentication#members
**/TwoFactorAuth @ChristophWurst @miaulalala @nickvergessen
/apps/twofactor_backupcodes @ChristophWurst @miaulalala @nickvergessen
/core/templates/twofactor* @ChristophWurst @miaulalala @nickvergessen
**/TwoFactorAuth @ChristophWurst @miaulalala @nickvergessen @st3iny
/apps/twofactor_backupcodes @ChristophWurst @miaulalala @nickvergessen @st3iny
/core/templates/twofactor* @ChristophWurst @miaulalala @nickvergessen @st3iny
# Limit login to IP
# Watch login routes for https://github.com/nextcloud/limit_login_to_ip
/core/routes.php @Altahrim @nextcloud/server-backend
/core/routes.php @Altahrim
# OpenAPI
openapi*.json @provokateurin @nextcloud/server-backend
ResponseDefinitions.php @provokateurin @nextcloud/server-backend
openapi*.json @provokateurin
ResponseDefinitions.php @provokateurin
# Talk team
/lib/private/Comments @nickvergessen @nextcloud/talk-backend
/lib/private/Federation @nickvergessen @nextcloud/talk-backend @nextcloud/server-backend
/lib/private/Talk @nickvergessen @nextcloud/talk-backend
/lib/public/Comments @nickvergessen @nextcloud/talk-backend
/lib/public/Federation @nickvergessen @nextcloud/talk-backend @nextcloud/server-backend
/lib/public/OCM @nickvergessen @nextcloud/talk-backend @nextcloud/server-backend
/lib/public/Talk @nickvergessen @nextcloud/talk-backend
/lib/public/UserStatus @nickvergessen @nextcloud/talk-backend
*/Notifications/* @nickvergessen @nextcloud/talk-backend
/lib/private/Comments @nickvergessen
/lib/private/Federation @nickvergessen
/lib/private/Talk @nickvergessen
/lib/public/Comments @nickvergessen
/lib/public/Federation @nickvergessen
/lib/public/OCM @nickvergessen
/lib/public/Talk @nickvergessen
/lib/public/UserStatus @nickvergessen
# Groupware team
/build/integration/dav_features/caldav.feature @ChristophWurst @SebastianKrupinski @tcitworld
/build/integration/dav_features/carddav.feature @hamza221 @SebastianKrupinski
/lib/private/Calendar @ChristophWurst @SebastianKrupinski @tcitworld
/lib/private/Contacts @hamza221 @SebastianKrupinski
/lib/public/Calendar @ChristophWurst @SebastianKrupinski @tcitworld
/lib/public/Contacts @hamza221 @SebastianKrupinski
# Desktop client teamn
/apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php @nextcloud/desktop
# Groupware
/build/integration/dav_features/caldav.feature @st3iny @SebastianKrupinski
/build/integration/dav_features/carddav.feature @st3iny @SebastianKrupinski
# Personal interest
*/Activity/* @nickvergessen @nextcloud/server-backend
/apps/workflowengine/lib @nickvergessen @blizzz
*/Activity/* @nickvergessen
*/Notifications/* @nickvergessen
/lib/private/Profiler @CarlSchwan
/lib/public/Profiler @CarlSchwan
+7 -8
View File
@@ -4,7 +4,6 @@ name: "🐛 Bug report: Nextcloud Server"
description: "Submit a report and help us improve Nextcloud Server"
title: "[Bug]: "
labels: ["bug", "0. Needs triage"]
type: "Bug"
body:
- type: markdown
attributes:
@@ -71,9 +70,10 @@ body:
Select Nextcloud Server version.
_Versions not listed here are not maintained and not supported anymore_
options:
- "32"
- "33"
- "34 (master)"
- "28"
- "29"
- "30"
- "master"
validations:
required: true
- type: dropdown
@@ -95,11 +95,10 @@ body:
Select PHP engine version serving Nextcloud Server.
_Describe in the "Additional info" section if you chose "Other"._
options:
- "PHP 8.5"
- "PHP 8.4"
- "PHP 8.3"
- "PHP 8.2"
- "PHP 8.1"
- "PHP 8.0"
- "Other"
- type: dropdown
id: webserver
@@ -133,8 +132,8 @@ body:
description: |
Select if bug is present after an update or on a fresh install.
options:
- "Updated from a MINOR version (ex. 32.0.1 to 32.0.2)"
- "Upgraded to a MAJOR version (ex. 31 to 32)"
- "Updated from a MINOR version (ex. 28.0.1 to 28.0.2)"
- "Upgraded to a MAJOR version (ex. 28 to 29)"
- "Fresh Nextcloud Server install"
- type: dropdown
id: encryption
+28 -25
View File
@@ -2,44 +2,47 @@
name: 🚀 Feature request
about: Suggest an idea for this project
labels: enhancement, 0. Needs triage
type: "Enhancement"
---
<!--
Have a security concern? Please report potential security issues via our HackerOne program (https://hackerone.com/nextcloud) instead of filing a public GitHub issue. See our security policy: https://nextcloud.com/security/
Thanks for reporting issues back to Nextcloud!
Note: This is the **issue tracker of Nextcloud**, please do NOT use this to get answers to your questions or get help for fixing your installation. This is a place to report bugs to developers, after your server has been debugged. You can find help debugging your system on our home user forums: https://help.nextcloud.com or, if you use Nextcloud in a large organization, ask our engineers on https://portal.nextcloud.com. See also https://nextcloud.com/support for support options.
Nextcloud is an open source project backed by Nextcloud GmbH. Most of our volunteers are home users and thus primarily care about issues that affect home users. Our paid engineers prioritize issues of our customers. If you are neither a home user nor a customer, consider paying somebody to fix your issue, do it yourself or become a customer.
Guidelines for submitting issues:
* Please search the existing issues first, it's likely that your issue was already reported or even fixed.
- Go to https://github.com/nextcloud and type any word in the top search/command bar. You probably see something like "We couldnt find any repositories matching ..." then click "Issues" in the left navigation.
- You can also filter by appending e. g. "state:open" to the search string.
- More info on search syntax within github: https://help.github.com/articles/searching-issues
* This repository https://github.com/nextcloud/server/issues is *only* for issues within the Nextcloud Server code. This also includes the apps: files, encryption, external storage, sharing, deleted files, versions, LDAP, and WebDAV Auth
* SECURITY: Report any potential security bug to us via our HackerOne page (https://hackerone.com/nextcloud) following our security policy (https://nextcloud.com/security/) instead of filing an issue in our bug tracker.
* The issues in other components should be reported in their respective repositories: You will find them in our GitHub Organization (https://github.com/nextcloud/)
-->
<!--
Thanks for taking the time to suggest improvements to Nextcloud! Use this form to request features or propose enhancements.
Guidelines:
<!--- Please keep this note for other contributors -->
* Please search existing issues first; your idea may already have been discussed or implemented.
* This repository (https://github.com/nextcloud/server/issues) is only for issues within the Nextcloud Server code. This includes shipped apps such as Files, DAV, Encryption, External Storage, Sharing, Deleted Files, Versions, Federation, and LDAP.
* Issues for other components should be reported in their respective repositories in the Nextcloud GitHub organization: https://github.com/nextcloud/
* Nextcloud is an open source project backed by Nextcloud GmbH. Many contributors are volunteers and primarily focus on issues affecting home users. Paid engineers prioritize customer-reported issues and critical defects.
* This is the development issue tracker. Please do NOT use it for support questions or help diagnosing your installation.
- For community/user help: https://help.nextcloud.com
- For professional / large deployment support options: https://nextcloud.com/support
-->
### How to use GitHub
* Please use the 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to show that you are interested into the same feature.
* Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
* Subscribe to receive notifications on status change and new comments.
<!-- Please keep the note below for other contributors -->
> [!TIP]
> ### Help move this idea forward
> * Use the 👍 reaction to show support for this feature.
> * Avoid commenting unless you have relevant information to add; unnecessary comments create noise for subscribers.
> * Subscribe to receive notifications about status changes and new comments.
---
<!-- DO NOT EDIT ABOVE THIS LINE -->
**Is your feature request related to a problem? Please describe.**
<!-- Provide a clear and concise description of the problem. For example: “I'm always frustrated when …” -->
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
<!-- Provide a clear and concise description of what you want to happen. -->
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
<!-- Provide a clear and concise description of any alternative solutions or features you've considered. -->
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
<!-- Add any other context or screenshots related to the feature request here. -->
Add any other context or screenshots about the feature request here.
-7
View File
@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
name: "CodeQL config"
paths-ignore:
- dist
+225 -149
View File
@@ -1,8 +1,230 @@
# SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
version: 2
updates:
# Linting and coding style
- package-ecosystem: composer
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
# cs-fixer
- package-ecosystem: composer
directory: "/vendor-bin/cs-fixer"
schedule:
interval: weekly
day: saturday
time: "04:10"
timezone: Europe/Copenhagen
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
# openapi-extractor
- package-ecosystem: composer
directory: "/vendor-bin/openapi-extractor"
schedule:
interval: weekly
day: saturday
time: "04:20"
timezone: Europe/Brussels
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
- "provokateurin"
# psalm
- package-ecosystem: composer
directory: "/vendor-bin/psalm"
schedule:
interval: weekly
day: saturday
time: "04:30"
timezone: Europe/Madrid
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
# phpunit
- package-ecosystem: composer
directory: "/vendor-bin/phpunit"
schedule:
interval: weekly
day: saturday
time: "04:40"
timezone: Europe/Madrid
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
# Main master npm
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
open-pull-requests-limit: 10
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
# Testing master npm
- package-ecosystem: npm
directory: "/build"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
labels:
- "3. to review"
- "feature: dependencies"
# Testing master composer
- package-ecosystem: composer
directory: "/build/integration"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
labels:
- "3. to review"
- "feature: dependencies"
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable28
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable29
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable30
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
- package-ecosystem: composer
directory: "/build/integration"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable28
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
- package-ecosystem: composer
directory: "/build/integration"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable29
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
- package-ecosystem: composer
directory: "/build/integration"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable30
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
@@ -16,152 +238,6 @@ updates:
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
# Main composer (linting, testing, openapi)
- package-ecosystem: composer
directories:
- "/"
- "/vendor-bin/behat"
- "/vendor-bin/cs-fixer"
- "/vendor-bin/openapi-extractor"
- "/vendor-bin/phpunit"
- "/vendor-bin/psalm"
- "/vendor-bin/rector"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
labels:
- "3. to review"
- "feature: dependencies"
# Main master npm frontend dependencies
- package-ecosystem: npm
directories:
- "/"
- "/build/frontend"
- "/build/frontend-legacy"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
open-pull-requests-limit: 20
labels:
- "3. to review"
- "feature: dependencies"
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
groups:
vite:
patterns:
- "vite"
- "@nextcloud/vite-config"
vitest:
patterns:
- "vitest"
- "@vitest/*"
# Latest stable release
# Composer dependencies for linting and testing
- package-ecosystem: composer
target-branch: stable33
directories:
- "/"
- "/vendor-bin/behat"
- "/vendor-bin/cs-fixer"
- "/vendor-bin/openapi-extractor"
- "/vendor-bin/phpunit"
- "/vendor-bin/psalm"
- "/vendor-bin/rector"
schedule:
interval: weekly
day: saturday
time: "03:30"
timezone: Europe/Paris
labels:
- "3. to review"
- "feature: dependencies"
ignore:
# only patch updates on stable branches
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
# frontend dependencies
- package-ecosystem: npm
target-branch: stable33
directories:
- "/"
- "/build/frontend"
- "/build/frontend-legacy"
schedule:
interval: weekly
day: saturday
time: "03:30"
timezone: Europe/Paris
open-pull-requests-limit: 20
labels:
- "3. to review"
- "feature: dependencies"
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
groups:
vite:
patterns:
- "vite"
- "@nextcloud/vite-config"
vitest:
patterns:
- "vitest"
- "@vitest/*"
ignore:
# no major updates on stable branches
- dependency-name: "*"
update-types: ["version-update:semver-major"]
# Older stable releases
# Composer dependencies for linting and testing
- package-ecosystem: composer
target-branch: stable32
directories:
- "/"
- "/vendor-bin/behat"
- "/vendor-bin/cs-fixer"
- "/vendor-bin/openapi-extractor"
- "/vendor-bin/phpunit"
- "/vendor-bin/psalm"
schedule:
interval: weekly
day: saturday
time: "04:30"
timezone: Europe/Paris
labels:
- "3. to review"
- "feature: dependencies"
ignore:
# only patch updates on stable branches
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
# frontend dependencies
- package-ecosystem: npm
target-branch: stable32
directory: "/"
schedule:
interval: weekly
day: saturday
time: "04:30"
timezone: Europe/Paris
open-pull-requests-limit: 20
labels:
- "3. to review"
- "feature: dependencies"
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
ignore:
# no major updates on stable branches
- dependency-name: "*"
update-types: ["version-update:semver-major"]
-6
View File
@@ -21,9 +21,3 @@
- [ ] Screenshots before/after for front-end changes
- [ ] Documentation ([manuals](https://github.com/nextcloud/documentation/) or wiki) has been updated or is not required
- [ ] [Backports requested](https://github.com/nextcloud/backportbot/#usage) where applicable (ex: critical bugfixes)
- [ ] [Labels added](https://github.com/nextcloud/server/labels) where applicable (ex: bug/enhancement, `3. to review`, feature component)
- [ ] [Milestone added](https://github.com/nextcloud/server/milestones) for target branch/version (ex: 32.x for `stable32`)
## AI (if applicable)
- [ ] The content of this PR was partly or fully generated using AI
+9 -12
View File
@@ -36,7 +36,6 @@ jobs:
- 'composer.json'
- 'composer.lock'
- '**.php'
- build/autoloaderchecker.sh
autoloader:
runs-on: ubuntu-latest
@@ -46,20 +45,19 @@ jobs:
strategy:
matrix:
php-versions: ['8.2']
php-versions: ['8.1']
name: PHP checkers
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
@@ -68,6 +66,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: composer i
- name: Check auto loaders
run: bash ./build/autoloaderchecker.sh
@@ -76,20 +77,19 @@ jobs:
strategy:
matrix:
php-versions: ['8.2']
php-versions: ['8.1']
name: Translation and Files checkers
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
@@ -110,9 +110,6 @@ jobs:
- name: Check that all and only expected files are included
run: php ./build/files-checker.php
- name: Check that all shipped apps are linted by psalm
run: sh ./build/psalm-checker.sh
summary:
permissions:
contents: none
+4 -4
View File
@@ -27,7 +27,7 @@ jobs:
steps:
- name: Set server major version environment
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
@@ -37,13 +37,13 @@ jobs:
if (match) {
console.log('Setting server_major to ' + match[1]);
core.exportVariable('server_major', match[1]);
console.log('Setting current_day to ' + (new Date()).toISOString().substr(0, 10));
core.exportVariable('current_day', (new Date()).toISOString().substr(0, 10));
console.log('Setting current_month to ' + (new Date()).toISOString().substr(0, 7));
core.exportVariable('current_month', (new Date()).toISOString().substr(0, 7));
}
- name: Checking if server ${{ env.server_major }} is EOL
if: ${{ env.server_major != '' }}
run: |
curl -s https://raw.githubusercontent.com/nextcloud-releases/updater_server/production/config/major_versions.json \
| jq '.["${{ env.server_major }}"]["eol"] // "9999-99-99" | . >= "${{ env.current_day }}"' \
| jq '.["${{ env.server_major }}"]["eol"] // "9999-99" | . >= "${{ env.current_month }}"' \
| grep -q true
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
steps:
- name: Register server reference to fallback to master branch
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
@@ -31,7 +31,7 @@ jobs:
- 'version.php'
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
@@ -41,7 +41,7 @@ jobs:
echo "commit=$(git submodule status | grep ' 3rdparty' | egrep -o '[a-f0-9]{40}')" >> "$GITHUB_OUTPUT"
- name: Register server reference to fallback to master branch
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
@@ -27,10 +27,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: webiny/action-conventional-commits@faccb24fc2550dd15c0390d944379d2d8ed9690e # v1.3.1
- uses: webiny/action-conventional-commits@8bc41ff4e7d423d56fa4905f6ff79209a78776c7 # v1.3.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-45
View File
@@ -1,45 +0,0 @@
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
name: Auto-label bug reports
on:
issues:
types: [opened]
jobs:
add-version-label:
if: contains(github.event.issue.title, '[Bug]')
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Extract version number and apply label
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
script: |
const body = context.payload.issue.body || '';
const normalizedBody = body.replace(/\r\n?/g, '\n');
let label = '';
// Extract Nextcloud Server version number from a block like:
// ### Nextcloud Server version
// 32
const versionMatch = normalizedBody.match(/### Nextcloud Server version\s*\n+([0-9]{1,3})\b/);
let nextcloudVersion = null;
if (versionMatch) {
nextcloudVersion = parseInt(versionMatch[1], 10);
label = nextcloudVersion + '-feedback';
}
if (label) {
try {
await github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: [label]
});
} catch (error) {
core.setFailed(`Failed to add label "${label}": ${error.message || error}`);
}
}
-49
View File
@@ -1,49 +0,0 @@
# SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
name: "CodeQL Advanced"
on:
push:
branches: [ "master", "stable*" ]
pull_request:
branches: [ "master", "stable*" ]
schedule:
- cron: '28 18 * * 1'
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
permissions:
# required for all workflows
security-events: write
# required to fetch internal or private CodeQL packs
packages: read
strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: javascript-typescript
build-mode: none
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
config-file: ./.github/codeql-config.yml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
with:
category: "/language:${{matrix.language}}"
+11 -49
View File
@@ -30,7 +30,7 @@ jobs:
steps:
- name: Get repository from pull request comment
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
id: get-repository
with:
github-token: ${{secrets.GITHUB_TOKEN}}
@@ -57,7 +57,7 @@ jobs:
require: write
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
@@ -83,7 +83,7 @@ jobs:
id: comment-branch
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
@@ -103,7 +103,7 @@ jobs:
key: git-repo
- name: Checkout ${{ needs.init.outputs.head_ref }}
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# Needed to allow force push later
persist-credentials: true
@@ -120,11 +120,11 @@ jobs:
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: package-engines-versions
with:
fallbackNode: '^24'
fallbackNpm: '^11.3'
fallbackNode: '^20'
fallbackNpm: '^10'
- name: Set up node ${{ steps.package-engines-versions.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ steps.package-engines-versions.outputs.nodeVersion }}
cache: npm
@@ -136,41 +136,7 @@ jobs:
if: ${{ contains(needs.init.outputs.arg1, 'rebase') }}
run: |
git fetch origin '${{ needs.init.outputs.base_ref }}:${{ needs.init.outputs.base_ref }}'
# Start the rebase
git rebase 'origin/${{ needs.init.outputs.base_ref }}' || {
# Handle rebase conflicts in a loop
while [ -d .git/rebase-merge ] || [ -d .git/rebase-apply ]; do
echo "Handling rebase conflict..."
# Remove and checkout /dist and /js folders from the base branch
if [ -d "dist" ]; then
rm -rf dist
git checkout origin/${{ needs.init.outputs.base_ref }} -- dist/ 2>/dev/null || echo "No dist folder in base branch"
fi
if [ -d "js" ]; then
rm -rf js
git checkout origin/${{ needs.init.outputs.base_ref }} -- js/ 2>/dev/null || echo "No js folder in base branch"
fi
# Stage all changes
git add .
# Check if there are any changes after resolving conflicts
if git diff --cached --quiet; then
echo "No changes after conflict resolution, skipping commit"
git rebase --skip
else
echo "Changes found, continuing rebase without editing commit message"
git -c core.editor=true rebase --continue
fi
# Break if rebase is complete
if [ ! -d .git/rebase-merge ] && [ ! -d .git/rebase-apply ]; then
break
fi
done
}
git rebase 'origin/${{ needs.init.outputs.base_ref }}'
- name: Install dependencies & build
env:
@@ -202,18 +168,14 @@ jobs:
- name: Push normally
if: ${{ !contains(needs.init.outputs.arg1, 'rebase') && !contains(needs.init.outputs.arg1, 'amend') }}
env:
HEAD_REF: ${{ needs.init.outputs.head_ref }}
run: git push origin "$HEAD_REF"
run: git push origin '${{ needs.init.outputs.head_ref }}'
- name: Force push
if: ${{ contains(needs.init.outputs.arg1, 'rebase') || contains(needs.init.outputs.arg1, 'amend') }}
env:
HEAD_REF: ${{ needs.init.outputs.head_ref }}
run: git push --force-with-lease origin "$HEAD_REF"
run: git push --force origin '${{ needs.init.outputs.head_ref }}'
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
+5 -5
View File
@@ -20,7 +20,7 @@ jobs:
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v3.0.1
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v3.0.1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
@@ -38,7 +38,7 @@ jobs:
id: comment-branch
- name: Checkout ${{ steps.comment-branch.outputs.head_ref }}
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
fetch-depth: 0
@@ -46,7 +46,7 @@ jobs:
ref: ${{ steps.comment-branch.outputs.head_ref }}
- name: Register server reference to fallback to master branch
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
@@ -71,7 +71,7 @@ jobs:
git config --local user.name 'nextcloud-command'
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v3.0.1
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v3.0.1
if: ${{ env.server_ref == '' }}
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
@@ -91,7 +91,7 @@ jobs:
git push
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v3.0.1
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v3.0.1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
+28 -71
View File
@@ -22,7 +22,7 @@ env:
# Usually it's the base branch of the PR, but for pushes it's the branch itself.
# e.g. 'main', 'stable27' or 'feature/my-feature'
# n.b. server will use head_ref, as we want to test the PR branch.
BRANCH: ${{ github.base_ref || github.ref_name }}
BRANCH: ${{ github.head_ref || github.ref_name }}
permissions:
@@ -48,7 +48,7 @@ jobs:
exit 1
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
# We need to checkout submodules for 3rdparty
@@ -58,7 +58,7 @@ jobs:
id: check_composer
uses: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v3.0.0
with:
files: 'composer.json'
files: "composer.json"
- name: Install composer dependencies
if: steps.check_composer.outputs.files_exists == 'true'
@@ -68,11 +68,11 @@ jobs:
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: versions
with:
fallbackNode: '^24'
fallbackNpm: '^11.3'
fallbackNode: "^20"
fallbackNpm: "^10"
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -84,6 +84,9 @@ jobs:
npm ci
TESTING=true npm run build --if-present
- name: Show cypress version
run: npm run cypress:version
- name: Save context
uses: buildjet/cache/save@3e70d19e31d6a8030aeddf6ed8dbe601f94d09f4 # v4.0.2
with:
@@ -99,55 +102,10 @@ jobs:
matrix:
# Run multiple copies of the current job in parallel
# Please increase the number or runners as your tests suite grows (0 based index for e2e tests)
containers: ['setup', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
# Hack as strategy.job-total includes the "setup" and GitHub does not allow math expressions
containers: ['component', '0', '1', '2', '3', '4', '5', '6', '7']
# Hack as strategy.job-total includes the component and GitHub does not allow math expressions
# Always align this number with the total of e2e runners (max. index + 1)
total-containers: [10]
services:
mysql:
# Only start mysql if we are running the setup tests
image: ${{matrix.containers == 'setup' && 'ghcr.io/nextcloud/continuous-integration-mysql-8.4:latest' || ''}} # zizmor: ignore[unpinned-images]
ports:
- '3306/tcp'
env:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: oc_autotest
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 10
mariadb:
# Only start mariadb if we are running the setup tests
image: ${{matrix.containers == 'setup' && 'mariadb:11.4' || ''}} # zizmor: ignore[unpinned-images]
ports:
- '3306/tcp'
env:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: oc_autotest
options: --health-cmd="mariadb-admin ping" --health-interval 5s --health-timeout 2s --health-retries 5
postgres:
# Only start postgres if we are running the setup tests
image: ${{matrix.containers == 'setup' && 'ghcr.io/nextcloud/continuous-integration-postgres-17:latest' || ''}} # zizmor: ignore[unpinned-images]
ports:
- '5432/tcp'
env:
POSTGRES_USER: root
POSTGRES_PASSWORD: rootpassword
POSTGRES_DB: nextcloud
options: --mount type=tmpfs,destination=/var/lib/postgresql/data --health-cmd pg_isready --health-interval 5s --health-timeout 2s --health-retries 5
oracle:
# Only start oracle if we are running the setup tests
image: ${{matrix.containers == 'setup' && 'ghcr.io/gvenzl/oracle-free:23' || ''}} # zizmor: ignore[unpinned-images]
ports:
- '1521'
env:
ORACLE_PASSWORD: oracle
options: --health-cmd healthcheck.sh --health-interval 20s --health-timeout 10s --health-retries 10
total-containers: [8]
name: runner ${{ matrix.containers }}
@@ -160,7 +118,7 @@ jobs:
path: ./
- name: Set up node ${{ needs.init.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ needs.init.outputs.nodeVersion }}
@@ -171,7 +129,7 @@ jobs:
run: ./node_modules/cypress/bin/cypress install
- name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests
uses: cypress-io/github-action@bc22e01685c56e89e7813fd8e26f33dc47f87e15 # v7.1.5
uses: cypress-io/github-action@f1f0912d392f0d06bdd01fb9ebe3b3299e5806fb # v6.7.7
with:
# We already installed the dependencies in the init job
install: false
@@ -191,34 +149,33 @@ jobs:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
SPLIT: ${{ matrix.total-containers }}
SPLIT_INDEX: ${{ matrix.containers == 'component' && 0 || matrix.containers }}
SPLIT_RANDOM_SEED: ${{ github.run_id }}
SETUP_TESTING: ${{ matrix.containers == 'setup' && 'true' || '' }}
- name: Upload snapshots and videos
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: always()
with:
name: snapshots_${{ matrix.containers }}
name: snapshots_videos_${{ matrix.containers }}
path: |
cypress/snapshots
cypress/videos
- name: Show logs
- name: Extract NC logs
if: failure() && matrix.containers != 'component'
run: |
for id in $(docker ps -aq); do
docker container inspect "$id" --format '=== Logs for container {{.Name}} ==='
docker logs "$id" >> nextcloud.log
done
echo '=== Nextcloud server logs ==='
docker exec nextcloud-e2e-test-server_${{ env.APP_NAME }} cat data/nextcloud.log
run: docker logs nextcloud-cypress-tests_${{ env.APP_NAME }} > nextcloud.log
- name: Upload NC logs
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: failure() && matrix.containers != 'component'
with:
name: nc_logs_${{ matrix.containers }}
path: nextcloud.log
- name: Create data dir archive
if: failure() && matrix.containers != 'component'
run: docker exec nextcloud-e2e-test-server_${{ env.APP_NAME }} tar -cvjf - data > data.tar
run: docker exec nextcloud-cypress-tests_${{ env.APP_NAME }} tar -cvjf - data > data.tar
- name: Upload data archive
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
- name: Upload data dir archive
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: failure() && matrix.containers != 'component'
with:
name: nc_data_${{ matrix.containers }}
+7 -16
View File
@@ -3,10 +3,10 @@
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Auto approve Dependabot PRs
name: Dependabot
on:
pull_request_target: # zizmor: ignore[dangerous-triggers]
@@ -29,8 +29,6 @@ jobs:
permissions:
# for hmarr/auto-approve-action to approve PRs
pull-requests: write
# for alexwilson/enable-github-automerge-action to approve PRs
contents: write
steps:
- name: Disabled on forks
@@ -39,20 +37,13 @@ jobs:
echo 'Can not approve PRs from forks'
exit 1
- uses: mdecoleman/pr-branch-name@55795d86b4566d300d237883103f052125cc7508 # v3.0.0
id: branchname
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# GitHub actions bot approve
- uses: hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4.0.0
if: startsWith(steps.branchname.outputs.branch, 'dependabot/')
- uses: hmarr/auto-approve-action@b40d6c9ed2fa10c9a2749eca7eb004418a705501 # v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# Enable GitHub auto merge
- name: Auto merge
uses: alexwilson/enable-github-automerge-action@56e3117d1ae1540309dc8f7a9f2825bc3c5f06ff # v2.0.0
if: startsWith(steps.branchname.outputs.branch, 'dependabot/')
# Nextcloud bot approve and merge request
- uses: ahmadnassri/action-dependabot-auto-merge@45fc124d949b19b6b8bf6645b6c9d55f4f9ac61a # v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
target: minor
github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}
+9 -26
View File
@@ -29,22 +29,12 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
- '**.php'
files-external-ftp:
runs-on: ubuntu-latest
@@ -53,19 +43,20 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.2', '8.4']
php-versions: ['8.1', '8.4']
ftpd: ['proftpd', 'vsftpd', 'pure-ftpd']
include:
- php-versions: '8.2'
- php-versions: '8.1'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-${{ matrix.ftpd }}
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
@@ -81,8 +72,7 @@ jobs:
if [[ "${{ matrix.ftpd }}" == 'pure-ftpd' ]]; then docker run --name ftp -d --net host -e "PUBLICHOST=localhost" -e FTP_USER_NAME=test -e FTP_USER_PASS=test -e FTP_USER_HOME=/home/test -v /tmp/ftp:/home/test -v /tmp/ftp:/etc/pure-ftpd/passwd stilliard/pure-ftpd; fi
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -110,22 +100,15 @@ jobs:
- name: PHPUnit
run: composer run test:files_external -- \
apps/files_external/tests/Storage/FtpTest.php \
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./clover.xml
flags: phpunit-files-external-ftp
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-files-external-ftp
- name: ftpd logs
if: always()
run: |
+13 -43
View File
@@ -29,22 +29,12 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
- '**.php'
files-external-s3-minio:
runs-on: ubuntu-latest
@@ -53,14 +43,13 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.2', '8.4']
php-versions: ['8.1', '8.2', '8.4']
include:
- php-versions: '8.3'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-s3-minio
name: php${{ matrix.php-versions }}-s3
services:
minio:
@@ -74,14 +63,13 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -115,22 +103,11 @@ jobs:
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./clover.xml
flags: phpunit-files-external-s3
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-files-external-s3
- name: Nextcloud logs
if: always()
run: |
cat data/nextcloud.log
- name: S3 logs
if: always()
run: |
@@ -145,12 +122,12 @@ jobs:
strategy:
matrix:
php-versions: ['8.2', '8.4']
php-versions: ['8.1', '8.2', '8.4']
include:
- php-versions: '8.3'
coverage: ${{ github.event_name != 'pull_request' }}
coverage: true
name: php${{ matrix.php-versions }}-s3-localstack
name: php${{ matrix.php-versions }}-s3
services:
localstack:
@@ -163,14 +140,13 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -197,17 +173,11 @@ jobs:
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./clover.xml
flags: phpunit-files-external-s3
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-files-external-s3
- name: S3 logs
if: always()
run: |
+9 -26
View File
@@ -29,22 +29,12 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
- '**.php'
files-external-sftp:
runs-on: ubuntu-latest
@@ -53,19 +43,20 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.2', '8.4']
php-versions: ['8.1', '8.4']
sftpd: ['openssh']
include:
- php-versions: '8.2'
- php-versions: '8.1'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-${{ matrix.sftpd }}
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
@@ -77,8 +68,7 @@ jobs:
if [[ '${{ matrix.sftpd }}' == 'openssh' ]]; then docker run -p 2222:22 --name sftp -d -v /tmp/sftp:/home/test atmoz/sftp 'test:test:::data'; fi
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -99,22 +89,15 @@ jobs:
run: composer run test:files_external -- \
apps/files_external/tests/Storage/SftpTest.php \
apps/files_external/tests/Storage/SFTP_KeyTest.php \
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./clover.xml
flags: phpunit-files-external-sftp
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-files-external-sftp
- name: sftpd logs
if: always()
run: |
@@ -29,22 +29,12 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
- '**.php'
files-external-smb-kerberos:
runs-on: ubuntu-latest
@@ -56,13 +46,13 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Checkout user_saml
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
repository: nextcloud/user_saml
@@ -77,10 +67,10 @@ jobs:
- name: Pull images
run: |
docker pull ghcr.io/icewind1991/samba-krb-test-dc
docker pull ghcr.io/icewind1991/samba-krb-test-apache-gssapi:8.4
docker pull ghcr.io/icewind1991/samba-krb-test-apache
docker pull ghcr.io/icewind1991/samba-krb-test-client
docker tag ghcr.io/icewind1991/samba-krb-test-dc icewind1991/samba-krb-test-dc
docker tag ghcr.io/icewind1991/samba-krb-test-apache-gssapi:8.4 icewind1991/samba-krb-test-apache-gssapi
docker tag ghcr.io/icewind1991/samba-krb-test-apache icewind1991/samba-krb-test-apache
docker tag ghcr.io/icewind1991/samba-krb-test-client icewind1991/samba-krb-test-client
- name: Setup AD-DC
@@ -117,7 +107,7 @@ jobs:
echo "$FILEPATH:"
docker exec --user 33 apache cat $FILEPATH
smb-kerberos-sso-summary:
sftp-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-smb-kerberos]
+10 -34
View File
@@ -29,22 +29,12 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
- '**.php'
files-external-smb:
runs-on: ubuntu-latest
@@ -53,36 +43,29 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.1']
include:
- php-versions: '8.2'
- php-versions: '8.1'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-smb
services:
samba:
image: ghcr.io/servercontainers/samba:smbd-only-a3.18.0-s4.18.2-r0
env:
ACCOUNT_test: test
UID_test: 1000
SAMBA_VOLUME_CONFIG_test: "[public]; path=/tmp; valid users = test; guest ok = no; read only = no; browseable = yes"
options: >-
--health-cmd=true
image: ghcr.io/nextcloud/continuous-integration-samba:latest # zizmor: ignore[unpinned-images]
ports:
- 445:445
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -109,24 +92,17 @@ jobs:
apps/files_external/tests/env/wait-for-connection 127.0.0.1 445 60
- name: PHPUnit
run: composer run test:files_external -- \
run: composer run test:files_external -- --verbose \
apps/files_external/tests/Storage/SmbTest.php \
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./clover.xml
flags: phpunit-files-external-smb
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-files-external-smb
files-external-smb-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-smb]
+8 -27
View File
@@ -29,22 +29,12 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
- '**.php'
files-external-webdav-apache:
runs-on: ubuntu-latest
@@ -53,9 +43,8 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.3', '8.4']
php-versions: ['8.1', '8.2', '8.3', '8.4']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
@@ -70,14 +59,13 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -101,24 +89,17 @@ jobs:
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 10 http://test:pass@localhost:8081/webdav/
- name: PHPUnit
run: composer run test:files_external -- \
run: composer run test:files_external -- --verbose \
apps/files_external/tests/Storage/WebdavTest.php \
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./clover.xml
flags: phpunit-files-external-webdav
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-files-external-webdav
files-external-webdav-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-webdav-apache]
+6 -26
View File
@@ -29,22 +29,11 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
files-external-generic:
runs-on: ubuntu-latest
@@ -53,9 +42,8 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.3', '8.4']
php-versions: ['8.1', '8.2', '8.3', '8.4']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
@@ -64,14 +52,13 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -92,22 +79,15 @@ jobs:
- name: PHPUnit
run: composer run test:files_external -- \
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./clover.xml
flags: phpunit-files-external-generic
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-files-external-generic
files-external-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-generic ]
@@ -24,14 +24,14 @@ jobs:
require: write
- name: Checkout github_helper
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
repository: nextcloud/github_helper
path: github_helper
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
path: server
@@ -47,13 +47,8 @@ jobs:
TAGS=$(git log --decorate --oneline | egrep 'tag: ' | sed -r 's/^.+tag: ([^,\)]+)[,\)].+$/\1/g')
CURRENT_TAG=$(echo "$TAGS" | head -n 1)
# If current tag is the first beta, we use the previous major RC1
if echo "$CURRENT_TAG" | grep -q 'beta1'; then
MAJOR=$(echo "$CURRENT_TAG" | sed -E 's/^v([0-9]+).*/\1/')
PREV=$((MAJOR - 1))
PREVIOUS_TAG="v${PREV}.0.0rc1"
# Get the previous tag - filter pre-releases only if current tag is stable
elif echo "$CURRENT_TAG" | grep -q 'rc\|beta\|alpha'; then
if echo "$CURRENT_TAG" | grep -q 'rc\|beta\|alpha'; then
# Current tag is pre-release, don't filter
PREVIOUS_TAG=$(echo "$TAGS" | sed -n '2p')
else
@@ -73,8 +68,7 @@ jobs:
fi
- name: Set up php 8.2
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # v2.33.0
with:
php-version: 8.2
coverage: none
+5 -5
View File
@@ -43,9 +43,10 @@ jobs:
if: needs.changes.outputs.src != 'false' && github.repository_owner != 'nextcloud-gmbh'
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.1']
endpoint: ['old', 'new']
service: ['CalDAV', 'CardDAV']
@@ -53,14 +54,13 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -71,7 +71,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Python
uses: LizardByte/actions/actions/setup_python@70bb8d394d1c92f6113aeec6ae9cc959a5763d15 # v2026.227.200013
uses: LizardByte/setup-python-action@f4367d0377eceec7e5e26da8f3863dd365b95a94 # v2025.426.160528
with:
python-version: '2.7'
+4 -4
View File
@@ -43,23 +43,23 @@ jobs:
if: needs.changes.outputs.src != 'false' && github.repository_owner != 'nextcloud-gmbh'
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.1']
endpoint: ['webdav', 'dav']
name: Litmus WebDAV ${{ matrix.endpoint }}
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
+10 -20
View File
@@ -27,23 +27,14 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'vendor/**'
- 'vendor-bin/**'
- '**/*.php'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- 'build/integration/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- 'build/integration/**'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
integration-s3-primary:
runs-on: ubuntu-latest
@@ -52,9 +43,10 @@ jobs:
if: needs.changes.outputs.src != 'false' && github.repository_owner != 'nextcloud-gmbh'
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.1']
key: ['objectstore', 'objectstore_multibucket']
name: php${{ matrix.php-versions }}-${{ matrix.key }}-minio
@@ -76,14 +68,13 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -100,7 +91,6 @@ jobs:
- name: Set up Nextcloud
run: |
composer install
mkdir data
echo '<?php $CONFIG=["${{ matrix.key }}" => ["class" => "OC\Files\ObjectStore\S3", "arguments" => ["bucket" => "nextcloud", "autocreate" => true, "key" => "nextcloud", "secret" => "bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=", "hostname" => "localhost", "port" => 9000, "use_ssl" => false, "use_path_style" => true, "uploadPartSize" => 52428800]]];' > config/config.php
echo '<?php $CONFIG=["redis" => ["host" => "localhost", "port" => 6379], "memcache.local" => "\OC\Memcache\Redis", "memcache.distributed" => "\OC\Memcache\Redis"];' > config/redis.config.php
+15 -17
View File
@@ -62,21 +62,18 @@ jobs:
- '--tags ~@large files_features'
- 'filesdrop_features'
- 'file_conversions'
- 'files_reminders'
- 'openldap_features'
- 'openldap_numerical_features'
- 'ldap_features'
- 'remoteapi_features'
- 'routing_features'
- 'setup_features'
- 'sharees_features'
- 'sharing_features'
- 'theming_features'
- 'videoverification_features'
php-versions: ['8.4']
spreed-versions: ['main']
activity-versions: ['master']
php-versions: ['8.1']
spreed-versions: ['stable31']
activity-versions: ['stable31']
services:
redis:
@@ -85,10 +82,9 @@ jobs:
ports:
- 6379:6379/tcp
openldap:
image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-8 # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7 # zizmor: ignore[unpinned-images]
ports:
- 389:389
- 636:636
env:
SLAPD_DOMAIN: nextcloud.ci
SLAPD_ORGANIZATION: Nextcloud
@@ -97,14 +93,14 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Checkout Talk app
if: ${{ matrix.test-suite == 'videoverification_features' }}
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
repository: nextcloud/spreed
@@ -113,7 +109,7 @@ jobs:
- name: Checkout Activity app
if: ${{ matrix.test-suite == 'sharing_features' }}
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
repository: nextcloud/activity
@@ -121,8 +117,7 @@ jobs:
ref: ${{ matrix.activity-versions }}
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -132,9 +127,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: |
composer install
- name: Set up production dependencies
run: composer i --no-dev
- name: Set up behat dependencies
working-directory: build/integration
run: composer i
- name: Set up Talk dependencies
if: ${{ matrix.test-suite == 'videoverification_features' }}
@@ -165,7 +163,7 @@ jobs:
- name: Print logs
if: always()
run: |
cat $(./occ log:file |grep "Log file"|cut -d" " -f3)
cat data/nextcloud.log
docker ps -a
docker ps -aq | while read container ; do IMAGE=$(docker inspect --format='{{.Config.Image}}' $container); echo $IMAGE; docker logs $container; echo "\n\n" ; done
+4 -4
View File
@@ -56,7 +56,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
@@ -64,11 +64,11 @@ jobs:
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: versions
with:
fallbackNode: '^24'
fallbackNpm: '^11.3'
fallbackNode: '^20'
fallbackNpm: '^10'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
+5 -6
View File
@@ -44,19 +44,18 @@ jobs:
lint:
runs-on: ubuntu-latest
name: php-cs
name: PHP CS fixer lint
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Set up php
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
timeout-minutes: 5
- name: Set up php8.1
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # v2.33.0
with:
php-version: 8.2
php-version: 8.1
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: none
ini-file: development
+3 -5
View File
@@ -47,22 +47,20 @@ jobs:
strategy:
matrix:
php-versions: [ '8.2', '8.3', '8.4', '8.5' ]
php-versions: [ '8.1', '8.2', '8.3', '8.4' ]
name: php-lint
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # v2.33.0
with:
php-version: ${{ matrix.php-versions }}
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: none
ini-file: development
env:
+4 -4
View File
@@ -25,7 +25,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
@@ -33,11 +33,11 @@ jobs:
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: versions
with:
fallbackNode: '^24'
fallbackNpm: '^11.3'
fallbackNode: '^20'
fallbackNpm: '^10'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -1,99 +0,0 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Node handlebars tests
on:
pull_request:
permissions:
contents: read
concurrency:
group: node-tests-handlebars-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
permissions:
contents: read
pull-requests: read
outputs:
src: ${{ steps.changes.outputs.src }}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '**/__tests__/**'
- '**/__mocks__/**'
- 'apps/*/src/**'
- 'apps/*/appinfo/info.xml'
- 'core/src/**'
- 'package.json'
- '**/package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
handlebars:
runs-on: ubuntu-latest
needs: [changes]
if: needs.changes.outputs.src != 'false'
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: versions
with:
fallbackNode: '^24'
fallbackNpm: '^11.3'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
- name: Install dependencies
run: npm ci
- name: Run compile
run: ./build/compile-handlebars-templates.sh
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, handlebars]
if: always()
name: test-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.handlebars.result != 'success' }}; then exit 1; fi
+99 -24
View File
@@ -44,21 +44,25 @@ jobs:
- 'apps/*/appinfo/info.xml'
- 'core/src/**'
- 'package.json'
- '**/package-lock.json'
- 'package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
test:
runs-on: ubuntu-latest
versions:
runs-on: ubuntu-latest-low
needs: changes
if: needs.changes.outputs.src != 'false'
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
outputs:
nodeVersion: ${{ steps.versions.outputs.nodeVersion }}
npmVersion: ${{ steps.versions.outputs.npmVersion }}
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
@@ -66,39 +70,110 @@ jobs:
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: versions
with:
fallbackNode: '^24'
fallbackNpm: '^11.3'
fallbackNode: '^20'
fallbackNpm: '^10'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
test:
runs-on: ubuntu-latest
needs: [versions, changes]
if: ${{ needs.versions.result != 'failure' && needs.changes.outputs.src != 'false' }}
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
persist-credentials: false
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
- name: Install dependencies
env:
CYPRESS_INSTALL_BINARY: 0
- name: Set up npm ${{ needs.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ needs.versions.outputs.npmVersion }}'
- name: Install dependencies & build
run: |
npm ci
# - name: Test
# run: npm run test --if-present
npm run build --if-present
- name: Test and process coverage
run: npm run test:coverage
run: npm run test:coverage --if-present
- name: Collect coverage
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./coverage/lcov.info,./coverage/legacy/lcov.info
files: ./coverage/lcov.info
jsunit:
runs-on: ubuntu-latest
needs: [versions, changes]
if: ${{ needs.versions.result != 'failure' && needs.changes.outputs.src != 'false' }}
env:
CYPRESS_INSTALL_BINARY: 0
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
- name: Set up npm ${{ needs.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ needs.versions.outputs.npmVersion }}'
- name: Install dependencies
run: npm ci
- name: Test
run: npm run test:jsunit
handlebars:
runs-on: ubuntu-latest
needs: [versions, changes]
if: ${{ needs.versions.result != 'failure' && needs.changes.outputs.src != 'false' }}
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
- name: Set up npm ${{ needs.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ needs.versions.outputs.npmVersion }}'
- name: Install dependencies
run: npm ci
- name: Run compile
run: ./build/compile-handlebars-templates.sh
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, test]
needs: [changes, test, jsunit, handlebars]
if: always()
@@ -106,4 +181,4 @@ jobs:
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.test.result != 'success' }}; then exit 1; fi
run: if ${{ needs.changes.outputs.src != 'false' && (needs.test.result != 'success' || needs.jsunit.result != 'success' || needs.handlebars.result != 'success') }}; then exit 1; fi
+8 -15
View File
@@ -37,14 +37,14 @@ jobs:
- '.github/workflows/**'
- '**/src/**'
- '**/appinfo/info.xml'
- 'core/css/*'
- 'core/img/**'
- 'package.json'
- '**/package-lock.json'
- 'package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
- 'core/css/*'
- 'core/img/**'
- 'version.php'
build:
@@ -56,7 +56,7 @@ jobs:
name: NPM build
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
@@ -64,24 +64,17 @@ jobs:
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: versions
with:
fallbackNode: '^24'
fallbackNpm: '^11.3'
fallbackNode: '^20'
fallbackNpm: '^10'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
# This does not work on server as we have some git dependencies that "npm-package-lock-add-resolved" cannot handle
# - name: Validate package-lock.json # See https://github.com/npm/cli/issues/4460
# run: |
# npm i -g npm-package-lock-add-resolved@1.1.4
# npm-package-lock-add-resolved
# git --no-pager diff --exit-code
- name: Install dependencies & build
env:
CYPRESS_INSTALL_BINARY: 0
@@ -90,7 +83,7 @@ jobs:
npm ci
npm run build --if-present
- name: Check build changes
- name: Check webpack build changes
run: |
bash -c "[[ ! \"`git status --porcelain `\" ]] || (echo 'Please recompile and commit the assets, see the section \"Show changes on failure\" for details' && exit 1)"
+6 -10
View File
@@ -24,18 +24,14 @@ jobs:
strategy:
fail-fast: false
matrix:
branches:
- ${{ github.event.repository.default_branch }}
- 'stable33'
- 'stable32'
- 'stable31'
branches: ['main', 'master', 'stable31', 'stable30']
name: npm-audit-fix-${{ matrix.branches }}
steps:
- name: Checkout
id: checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
ref: ${{ matrix.branches }}
@@ -45,11 +41,11 @@ jobs:
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: versions
with:
fallbackNode: '^24'
fallbackNpm: '^11.3'
fallbackNode: '^20'
fallbackNpm: '^10'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -70,7 +66,7 @@ jobs:
- name: Create Pull Request
if: steps.checkout.outcome == 'success'
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'fix(deps): Fix npm audit'
+14 -28
View File
@@ -29,22 +29,16 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
- '**.php'
azure-primary-tests:
runs-on: ubuntu-latest
@@ -53,12 +47,11 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.2', '8.3']
php-versions: ['8.1', '8.2']
include:
- php-versions: '8.4'
coverage: ${{ github.event_name != 'pull_request' }}
- php-versions: '8.3'
coverage: true
name: php${{ matrix.php-versions }}-azure
@@ -79,14 +72,13 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -106,28 +98,22 @@ jobs:
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit
env:
OBJECT_STORE: azure
OBJECT_STORE_KEY: nextcloud
OBJECT_STORE_SECRET: bmV4dGNsb3Vk
run: composer run test -- --group PRIMARY-azure --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
run: composer run test -- --group PRIMARY-azure ${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./clover.xml
flags: phpunit-azure
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-azure
- name: Azurite logs
if: always()
run: |
+13 -27
View File
@@ -29,22 +29,16 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
- '**.php'
s3-primary-tests-minio:
runs-on: ubuntu-latest
@@ -53,12 +47,11 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.1', '8.2']
include:
- php-versions: '8.3'
coverage: ${{ github.event_name != 'pull_request' }}
coverage: true
name: php${{ matrix.php-versions }}-s3
@@ -80,14 +73,13 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -107,7 +99,7 @@ jobs:
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: Wait for S3
run: |
@@ -119,21 +111,15 @@ jobs:
OBJECT_STORE: s3
OBJECT_STORE_KEY: nextcloud
OBJECT_STORE_SECRET: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
run: composer run test -- --group PRIMARY-s3 --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
run: composer run test -- --group PRIMARY-s3 ${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./clover.xml
flags: phpunit-s3
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-s3
- name: S3 logs
if: always()
run: |
+13 -27
View File
@@ -29,22 +29,16 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
- '**.php'
swift-primary-tests:
runs-on: ubuntu-latest
@@ -53,12 +47,11 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.1', '8.2']
include:
- php-versions: '8.3'
coverage: ${{ github.event_name != 'pull_request' }}
coverage: true
name: php${{ matrix.php-versions }}-swift
@@ -77,14 +70,13 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -103,27 +95,21 @@ jobs:
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit
env:
OBJECT_STORE: swift
OBJECT_STORE_SECRET: veryfast
run: composer run test -- --group PRIMARY-swift --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
run: composer run test -- --group PRIMARY-swift ${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./clover.xml
flags: phpunit-swift
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-swift
- name: Swift logs
if: always()
run: |
+3 -4
View File
@@ -26,15 +26,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Set up php
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # v2.33.0
with:
php-version: '8.2'
php-version: '8.1'
extensions: ctype, curl, dom, fileinfo, gd, json, libxml, mbstring, openssl, pcntl, pdo, posix, session, simplexml, xml, xmlreader, xmlwriter, zip, zlib
coverage: none
ini-file: development
+9 -10
View File
@@ -23,7 +23,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.1']
name: performance-${{ matrix.php-versions }}
@@ -35,15 +35,14 @@ jobs:
exit 1
- name: Checkout server before PR
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
ref: ${{ github.event.pull_request.base.ref }}
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # v2.33.0
with:
php-version: ${{ matrix.php-versions }}
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
@@ -63,7 +62,7 @@ jobs:
ref: ${{ github.event.pull_request.head.ref }}
- name: Run before measurements
uses: nextcloud/profiler@6a74c915048285b35b8e1cd96c0835a635945044
uses: nextcloud/profiler@6801ee10fc80f10b444388fb6ca9b36ad8a2ea83
with:
run: |
curl -s -X PROPFIND -u test:test http://localhost:8080/remote.php/dav/files/test
@@ -72,7 +71,7 @@ jobs:
curl -s -u test:test -T README.md http://localhost:8080/remote.php/dav/files/test/new_file.txt
curl -s -u test:test -X DELETE http://localhost:8080/remote.php/dav/files/test/new_file.txt
output: before.json
profiler-branch: master
profiler-branch: stable31
- name: Apply PR # zizmor: ignore[template-injection]
run: |
@@ -85,7 +84,7 @@ jobs:
- name: Run after measurements
id: compare
uses: nextcloud/profiler@6a74c915048285b35b8e1cd96c0835a635945044
uses: nextcloud/profiler@6801ee10fc80f10b444388fb6ca9b36ad8a2ea83
with:
run: |
curl -s -X PROPFIND -u test:test http://localhost:8080/remote.php/dav/files/test
@@ -94,19 +93,19 @@ jobs:
curl -s -u test:test -T README.md http://localhost:8080/remote.php/dav/files/test/new_file.txt
curl -s -u test:test -X DELETE http://localhost:8080/remote.php/dav/files/test/new_file.txt
output: after.json
profiler-branch: master
profiler-branch: stable31
compare-with: before.json
- name: Upload profiles
if: always()
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: profiles
path: |
before.json
after.json
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v7
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
if: failure() && steps.compare.outcome == 'failure'
with:
github-token: ${{secrets.GITHUB_TOKEN}}
+29 -21
View File
@@ -5,10 +5,8 @@ name: PHPUnit 32bits
on:
pull_request:
paths:
- "version.php"
- ".github/workflows/phpunit-32bits.yml"
- "tests/phpunit-autotest.xml"
- "lib/private/Snowflake/*"
- 'version.php'
- '.github/workflows/phpunit-32bits.yml'
workflow_dispatch:
schedule:
- cron: "15 1 * * 1-6"
@@ -26,34 +24,44 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
container: shivammathur/node:latest-i386
strategy:
fail-fast: false
matrix:
php-versions: ["8.4"]
php-versions: ['8.1','8.3']
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up dependencies
uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest
- name: Install tools
run: |
sudo apt-get update
sudo apt-get install -y ffmpeg imagemagick libmagickcore-6.q16-3-extra
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
with:
args: /bin/sh -c "
git config --global --add safe.directory /github/workspace &&
composer install --no-interaction"
php-version: ${{ matrix.php-versions }}
extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, openssl, pdo_sqlite, posix, sqlite, xml, zip, apcu
coverage: none
ini-file: development
ini-values:
apc.enabled=on, apc.enable_cli=on, disable_functions= # https://github.com/shivammathur/setup-php/discussions/573
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest
with:
args: /bin/sh -c "
mkdir data &&
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-user=autotest --database-pass=rootpassword --admin-user admin --admin-pass admin &&
php -f tests/enable_all.php"
env:
DB_PORT: 4444
run: |
composer install
mkdir data
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=autotest --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f index.php
- name: PHPUnit
uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest
with:
args: /bin/sh -c "composer run test -- --exclude-group PRIMARY-azure --exclude-group PRIMARY-s3 --exclude-group PRIMARY-swift --exclude-group Memcached --exclude-group Redis --exclude-group RoutingWeirdness"
run: composer run test -- --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness
+7 -17
View File
@@ -57,18 +57,15 @@ jobs:
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
mariadb-versions: ['10.6']
php-versions: ['8.1']
mariadb-versions: ['10.3', '10.6', '10.11', '11.4']
include:
- php-versions: '8.3'
mariadb-versions: '10.11'
coverage: ${{ github.event_name != 'pull_request' }}
- php-versions: '8.4'
mariadb-versions: '11.4'
- php-versions: '8.5'
mariadb-versions: '11.8'
name: MariaDB ${{ matrix.mariadb-versions }} (PHP ${{ matrix.php-versions }}) - database tests
@@ -92,14 +89,13 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # v2.33.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -125,24 +121,18 @@ jobs:
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=mysql --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }}
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./clover.db.xml
flags: phpunit-mariadb
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-mariadb
summary:
permissions:
contents: none
+6 -14
View File
@@ -54,9 +54,8 @@ jobs:
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
php-versions: ['8.3', '8.4', '8.5']
php-versions: ['8.1', '8.3', '8.4']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
@@ -72,14 +71,13 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -97,24 +95,18 @@ jobs:
mkdir data
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit memcached tests
run: composer run test -- --group Memcache --group Memcached --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
run: composer run test -- --group Memcache,Memcached ${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./clover.xml
flags: phpunit-memcached
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-memcached
- name: Print logs
if: always()
run: |
+6 -14
View File
@@ -54,9 +54,8 @@ jobs:
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.1']
mysql-versions: ['8.4']
name: Sharding - MySQL ${{ matrix.mysql-versions }} (PHP ${{ matrix.php-versions }}) - database tests
@@ -121,14 +120,13 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -155,24 +153,18 @@ jobs:
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=mysql --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }}
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./clover.db.xml
flags: phpunit-mysql
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-mysql
- name: Print logs
if: always()
run: |
+7 -17
View File
@@ -57,18 +57,15 @@ jobs:
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
mysql-versions: ['8.0']
php-versions: ['8.1']
mysql-versions: ['8.0', '8.4']
include:
- mysql-versions: '8.0'
php-versions: '8.3'
coverage: ${{ github.event_name != 'pull_request' }}
- mysql-versions: '8.4'
php-versions: '8.4'
- mysql-versions: '8.4'
php-versions: '8.5'
name: MySQL ${{ matrix.mysql-versions }} (PHP ${{ matrix.php-versions }}) - database tests
@@ -92,14 +89,13 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # v2.33.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -125,24 +121,18 @@ jobs:
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=mysql --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }}
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./clover.db.xml
flags: phpunit-mysql
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-mysql
- name: Print logs
if: always()
run: |
+6 -14
View File
@@ -57,9 +57,8 @@ jobs:
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
php-versions: ['8.3', '8.4', '8.5']
php-versions: ['8.1', '8.3', '8.4']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
@@ -75,14 +74,13 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -103,24 +101,18 @@ jobs:
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit nodb testsuite
run: composer run test -- --exclude-group DB --exclude-group SLOWDB --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.nodb.xml' || '' }}
run: composer run test -- --exclude-group DB,SLOWDB ${{ matrix.coverage && ' --coverage-clover ./clover.nodb.xml' || '' }}
- name: Upload nodb code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./clover.nodb.xml
flags: phpunit-nodb
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-nodb
- name: Print logs
if: always()
run: |
@@ -47,9 +47,10 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.1']
key: ['s3', 's3-multibucket']
name: php${{ matrix.php-versions }}-${{ matrix.key }}-minio
@@ -72,14 +73,13 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
with:
php-version: ${{ matrix.php-versions }}
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
@@ -96,7 +96,7 @@ jobs:
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: Wait for S3
run: |
+10 -15
View File
@@ -60,15 +60,17 @@ jobs:
fail-fast: false
matrix:
include:
- oracle-versions: '11'
php-versions: '8.1'
- oracle-versions: '18'
php-versions: '8.2'
php-versions: '8.1'
coverage: ${{ github.event_name != 'pull_request' }}
- oracle-versions: '21'
php-versions: '8.2'
- oracle-versions: '23'
php-versions: '8.3'
- oracle-versions: '23'
php-versions: '8.4'
- oracle-versions: '23'
php-versions: '8.5'
name: Oracle ${{ matrix.oracle-versions }} (PHP ${{ matrix.php-versions }}) - database tests
@@ -99,14 +101,13 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # v2.33.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -125,24 +126,18 @@ jobs:
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=oci --database-name=${{ matrix.oracle-versions < 23 && 'XE' || 'FREE' }} --database-host=127.0.0.1 --database-port=1521 --database-user=system --database-pass=oracle --admin-user admin --admin-pass admin
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }}
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./clover.db.xml
flags: phpunit-oci
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-oci
- name: Run repair steps
run: |
./occ maintenance:repair --include-expensive
+10 -20
View File
@@ -57,19 +57,16 @@ jobs:
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.1']
# To keep the matrix smaller we ignore PostgreSQL versions in between as we already test the minimum and the maximum
postgres-versions: ['14']
postgres-versions: ['13', '17']
include:
- php-versions: '8.3'
postgres-versions: '18'
postgres-versions: '17'
coverage: ${{ github.event_name != 'pull_request' }}
- php-versions: '8.4'
postgres-versions: '18'
- php-versions: '8.5'
postgres-versions: '18'
postgres-versions: '17'
name: PostgreSQL ${{ matrix.postgres-versions }} (PHP ${{ matrix.php-versions }}) - database tests
@@ -88,18 +85,17 @@ jobs:
POSTGRES_USER: root
POSTGRES_PASSWORD: rootpassword
POSTGRES_DB: nextcloud
options: --mount type=tmpfs,destination=/var/lib/postgresql --health-cmd pg_isready --health-interval 5s --health-timeout 2s --health-retries 5
options: --mount type=tmpfs,destination=/var/lib/postgresql/data --health-cmd pg_isready --health-interval 5s --health-timeout 2s --health-retries 5
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # v2.33.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -120,24 +116,18 @@ jobs:
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=pgsql --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit database tests
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }}
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./clover.db.xml
flags: phpunit-postgres
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-postgres
- name: Run repair steps
run: |
./occ maintenance:repair --include-expensive
+9 -22
View File
@@ -57,11 +57,10 @@ jobs:
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
php-versions: ['8.3', '8.4', '8.5']
php-versions: ['8.2', '8.3', '8.4']
include:
- php-versions: '8.2'
- php-versions: '8.1'
coverage: ${{ github.event_name != 'pull_request' }}
name: SQLite (PHP ${{ matrix.php-versions }})
@@ -75,28 +74,24 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # v2.33.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, imagick, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: |
sudo apt-get update
sudo apt-get install -y ghostscript
composer i
run: composer i
- name: Set up Nextcloud
run: |
@@ -104,32 +99,24 @@ jobs:
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: Nextcloud debug information
run: ./occ app:list && echo "======= System config =======" && ./occ config:list system
- name: PHPUnit database tests
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }} tests/lib/Preview/PostscriptTest.php
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./clover.db.xml
flags: phpunit-sqlite
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-sqlite
- name: Print logs
if: always()
run: |
gs --version
cat /etc/ImageMagick-6/policy.xml
cat data/nextcloud.log
summary:
+3 -3
View File
@@ -36,7 +36,7 @@ jobs:
blocklist=$(curl https://raw.githubusercontent.com/nextcloud/.github/master/non-community-usernames.txt | paste -s -d, -)
echo "blocklist=$blocklist" >> "$GITHUB_OUTPUT"
- uses: nextcloud/pr-feedback-action@f0cab224dea8e1f282f9451de322f323c78fc7a5 # main
- uses: nextcloud/pr-feedback-action@1883b38a033fb16f576875e0cf45f98b857655c4 # main
with:
feedback-message: |
Hello there,
@@ -50,6 +50,6 @@ jobs:
(If you believe you should not receive this message, you can add yourself to the [blocklist](https://github.com/nextcloud/.github/blob/master/non-community-usernames.txt).)
days-before-feedback: 14
start-date: '2025-06-12'
exempt-authors: '${{ steps.blocklist.outputs.blocklist }},${{ steps.scrape.outputs.users }}'
start-date: '2024-04-30'
exempt-authors: '${{ steps.blocklist.outputs.blocklist }},${{ steps.scrape.outputs.users }},nextcloud-command,nextcloud-android-bot'
exempt-bots: true
-70
View File
@@ -1,70 +0,0 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Apply rector changes
on:
workflow_dispatch:
schedule:
# At 14:30 on Sundays
- cron: '30 14 * * 0'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-versions: [ '8.2' ]
name: rector-apply
steps:
- name: Checkout
id: checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
ref: ${{ github.event.repository.default_branch }}
- name: Set up php${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
with:
php-version: ${{ matrix.php-versions }}
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: |
composer remove nextcloud/ocp --dev --no-scripts
composer i
git restore lib/composer/composer
- name: Rector
run: composer run rector
- name: Create Pull Request
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'refactor: Apply rector changes'
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: automated/noid/rector-changes
title: 'Apply rector changes'
labels: |
technical debt
3. to review
-45
View File
@@ -1,45 +0,0 @@
# SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
name: Rector
on:
pull_request:
permissions:
contents: read
concurrency:
group: rector-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
strict:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'push' && github.repository_owner != 'nextcloud-gmbh' }}
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
submodules: true
- name: Set up php
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
with:
php-version: '8.2'
extensions: apcu,ctype,curl,dom,fileinfo,ftp,gd,imagick,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Composer install
run: composer i
- name: Rector
run: composer run rector:strict
- name: Show changes
if: always()
run: git diff --exit-code -- . ':!lib/composer'
+2 -2
View File
@@ -19,9 +19,9 @@ jobs:
runs-on: ubuntu-latest-low
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: REUSE Compliance Check
uses: fsfe/reuse-action@676e2d560c9a403aa252096d99fcab3e1132b0f5 # v6.0.0
uses: fsfe/reuse-action@bb774aa972c2a89ff34781233d275075cbddf542 # v5.0.0
+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
issues: write
steps:
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v9
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9
with:
repo-token: ${{ secrets.COMMAND_BOT_PAT }}
stale-issue-message: >
+13 -47
View File
@@ -28,16 +28,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
submodules: true
- name: Set up php
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
with:
php-version: '8.2'
php-version: '8.1'
extensions: apcu,ctype,curl,dom,fileinfo,ftp,gd,imagick,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
@@ -58,21 +57,17 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
permissions:
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
submodules: true
- name: Set up php
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
with:
php-version: '8.2'
php-version: '8.1'
extensions: ctype,curl,dom,fileinfo,ftp,gd,imagick,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
@@ -88,7 +83,7 @@ jobs:
- name: Upload Security Analysis results to GitHub
if: always()
uses: github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v3
uses: github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3
with:
sarif_file: results.sarif
@@ -99,16 +94,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
submodules: true
- name: Set up php
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
with:
php-version: '8.2'
php-version: '8.1'
extensions: ctype,curl,dom,fileinfo,gd,imagick,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
@@ -131,16 +125,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
submodules: true
- name: Set up php
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
with:
php-version: '8.2'
php-version: '8.1'
extensions: ctype,curl,dom,fileinfo,gd,imagick,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
@@ -151,30 +144,3 @@ jobs:
- name: Psalm
run: composer run psalm:ncu -- --threads=1 --monochrome --no-progress --output-format=github
static-code-analysis-strict:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'push' && github.repository_owner != 'nextcloud-gmbh' }}
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false
submodules: true
- name: Set up php
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
with:
php-version: '8.2'
extensions: ctype,curl,dom,fileinfo,gd,imagick,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Composer install
run: composer i
- name: Psalm
run: composer run psalm:strict -- --threads=1 --monochrome --no-progress --output-format=github
+3 -3
View File
@@ -17,12 +17,12 @@ jobs:
strategy:
fail-fast: false
matrix:
branches: ['master', 'stable33', 'stable32', 'stable31', 'stable30', 'stable29', 'stable28', 'stable27', 'stable26', 'stable25', 'stable24', 'stable23', 'stable22']
branches: ['master', 'stable30', 'stable29', 'stable28', 'stable27', 'stable26', 'stable25', 'stable24', 'stable23', 'stable22']
name: update-ca-certificate-bundle-${{ matrix.branches }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
ref: ${{ matrix.branches }}
@@ -32,7 +32,7 @@ jobs:
run: curl --etag-compare build/ca-bundle-etag.txt --etag-save build/ca-bundle-etag.txt --output resources/config/ca-bundle.crt https://curl.se/ca/cacert.pem
- name: Create Pull Request
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'fix(security): Update CA certificate bundle'
@@ -17,12 +17,12 @@ jobs:
strategy:
fail-fast: false
matrix:
branches: ['master', 'stable33', 'stable32', 'stable31', 'stable30', 'stable29', 'stable28', 'stable27', 'stable26', 'stable25', 'stable24', 'stable23', 'stable22']
branches: ['master', 'stable30', 'stable29', 'stable28', 'stable27', 'stable26', 'stable25', 'stable24', 'stable23', 'stable22']
name: update-code-signing-crl-${{ matrix.branches }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
ref: ${{ matrix.branches }}
@@ -35,7 +35,7 @@ jobs:
run: openssl crl -verify -in resources/codesigning/root.crl -CAfile resources/codesigning/root.crt -noout
- name: Create Pull Request
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'fix(security): Update code signing revocation list'
@@ -1,128 +0,0 @@
# SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Update min supported desktop version
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 1"
permissions:
contents: read
jobs:
update-minimum-supported-desktop-version:
runs-on: ubuntu-latest-low
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
submodules: true
- name: Download desktop client version file from 5 years ago
id: download
run: |
# Create a temporary directory for the downloaded file
mkdir -p tmp
# Download the version file from the provided URL
VERSION_FILE_URL="https://github.com/nextcloud/desktop/raw/@%7B5.years.ago%7D/VERSION.cmake"
# Download the file using curl
curl -s -L "$VERSION_FILE_URL" -o tmp/VERSION.cmake
if [ ! -f "tmp/VERSION.cmake" ]; then
echo "Failed to download VERSION.cmake file"
exit 1
fi
echo "VERSION_FILE=tmp/VERSION.cmake" >> $GITHUB_OUTPUT
echo "Downloaded version file to tmp/VERSION.cmake"
- name: Extract version info
id: extract-version
run: |
# Path to the downloaded version file
VERSION_FILE="${{ steps.download.outputs.VERSION_FILE }}"
# Extract major, minor, patch versions
MAJOR=$(grep "VERSION_MAJOR" $VERSION_FILE | grep -o '[0-9]\+')
MINOR=$(grep "VERSION_MINOR" $VERSION_FILE | grep -o '[0-9]\+')
PATCH=$(grep "VERSION_PATCH" $VERSION_FILE | grep -o '[0-9]\+')
# Construct the version string
VERSION="$MAJOR.$MINOR.$PATCH"
# Validate format: xx.xx.xx where each x is a digit
if ! [[ "$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Error: Extracted version '$VERSION' does not match required format (xx.xx.xx)"
exit 1
fi
rm -rf tmp
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
echo "Extracted Version: $VERSION"
- name: Update files with new version ${{ steps.extract-version.outputs.VERSION }}
id: update-files
run: |
VERSION="${{ steps.extract-version.outputs.VERSION }}"
# Define the files to update
DAV_FILE="apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php"
CONFIG_FILE="config/config.sample.php"
# Check if files exist
if [ ! -f "$DAV_FILE" ]; then
echo "Error: DAV file not found at $DAV_FILE"
exit 1
fi
if [ ! -f "$CONFIG_FILE" ]; then
echo "Error: Config file not found at $CONFIG_FILE"
exit 1
fi
# Update the DAV file - replace the version in the specific line
sed -i "s/\('minimum\.supported\.desktop\.version', '\)[0-9]\+\.[0-9]\+\.[0-9]\+'/\1$VERSION'/g" "$DAV_FILE"
echo "Updated $DAV_FILE"
# Update the config sample file
PREV_VERSION=$(grep "'minimum.supported.desktop.version'" "$CONFIG_FILE" | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+')
sed -i "s/Defaults to \`\`$PREV_VERSION\`\`/Defaults to \`\`$VERSION\`\`/" "$CONFIG_FILE"
sed -i "s/'minimum\.supported\.desktop\.version' => '[0-9]\+\.[0-9]\+\.[0-9]\+'/'minimum.supported.desktop.version' => '$VERSION'/g" "$CONFIG_FILE"
echo "Updated $CONFIG_FILE"
# Check if any changes were made
if [ -n "$(git diff "$DAV_FILE" "$CONFIG_FILE")" ]; then
echo "CHANGES_MADE=true" >> $GITHUB_OUTPUT
echo "Changes were made to the files"
git diff "$DAV_FILE" "$CONFIG_FILE"
else
echo "CHANGES_MADE=false" >> $GITHUB_OUTPUT
echo "No changes were needed (versions might already be up to date)"
fi
- name: Create Pull Request
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0
if: steps.update-files.outputs.CHANGES_MADE == 'true'
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: "chore: Update minimum supported desktop version"
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: "automated/noid/${{ matrix.branches }}-update-min-supported-desktop-version"
title: "chore: Update minimum supported desktop version to ${{ steps.extract-version.outputs.VERSION }}"
base: "master"
body: |
Auto-generated update of the minimum supported desktop version using last supported version.
https://github.com/nextcloud/desktop/blob/@%7B5.years.ago%7D/VERSION.cmake
labels: |
client: 💻 desktop
automated
3. to review
reviewers: '@nextcloud/desktop'
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
run: sleep 15
- name: Get PR details and update title
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
+9 -2
View File
@@ -11,7 +11,7 @@
/apps/inc.php
/assets
/.htaccess
node_modules/
/node_modules
/translationfiles
/translationtool.phar
@@ -55,6 +55,10 @@ node_modules/
/apps/files_external/3rdparty/irodsphp/prods/test*
/apps/files_external/tests/config.*.php
# apps modules
/apps/*/node_modules
# ignore themes except the example and the README
/themes/*
!/themes/example
@@ -127,9 +131,13 @@ nbproject
# Tests
/tests/phpunit.xml
# Node Modules
/build/node_modules/
# nodejs
/build/bin
/build/lib/
/build/jsdocs/
/build/integration/output/
/build/integration/phpserver.log
/npm-debug.log
@@ -145,7 +153,6 @@ Vagrantfile
# Tests - auto-generated files
/data-autotest
/results.sarif
/tests/.phpunit.cache
/tests/.phpunit.result.cache
/tests/coverage*
/tests/css
+83 -156
View File
@@ -1,175 +1,104 @@
<IfModule mod_headers.c>
<IfModule mod_setenvif.c>
<IfModule mod_fcgid.c>
SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1
RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION
</IfModule>
<IfModule mod_proxy_fcgi.c>
SetEnvIfNoCase Authorization "(.+)" HTTP_AUTHORIZATION=$1
</IfModule>
<IfModule mod_lsapi.c>
SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1
RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION
</IfModule>
<IfModule mod_setenvif.c>
<IfModule mod_fcgid.c>
SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1
RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION
</IfModule>
<IfModule mod_env.c>
# Add security and privacy related headers
# Avoid doubled headers by unsetting headers in "onsuccess" table,
# then add headers to "always" table: https://github.com/nextcloud/server/pull/19002
<If "%{REQUEST_URI} =~ m#/login$#">
# Only on the login page we need any Origin or Referer header set.
Header onsuccess unset Referrer-Policy
Header always set Referrer-Policy "same-origin"
</If>
<Else>
Header onsuccess unset Referrer-Policy
Header always set Referrer-Policy "no-referrer"
</Else>
Header onsuccess unset X-Content-Type-Options
Header always set X-Content-Type-Options "nosniff"
Header onsuccess unset X-Frame-Options
Header always set X-Frame-Options "SAMEORIGIN"
Header onsuccess unset X-Permitted-Cross-Domain-Policies
Header always set X-Permitted-Cross-Domain-Policies "none"
Header onsuccess unset X-Robots-Tag
Header always set X-Robots-Tag "noindex, nofollow"
SetEnv modHeadersAvailable true
<IfModule mod_proxy_fcgi.c>
SetEnvIfNoCase Authorization "(.+)" HTTP_AUTHORIZATION=$1
</IfModule>
<IfModule mod_lsapi.c>
SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1
RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION
</IfModule>
</IfModule>
# Add cache control for static resources
<FilesMatch "\.(css|js|mjs|svg|gif|png|jpg|webp|ico|wasm|tflite)$">
<If "%{QUERY_STRING} =~ /(^|&)v=/">
Header set Cache-Control "max-age=15778463, immutable"
</If>
<Else>
Header set Cache-Control "max-age=15778463"
</Else>
</FilesMatch>
<IfModule mod_env.c>
# Add security and privacy related headers
# Avoid doubled headers by unsetting headers in "onsuccess" table,
# then add headers to "always" table: https://github.com/nextcloud/server/pull/19002
# Let browsers cache OTF and WOFF files for a week
<FilesMatch "\.(otf|woff2?)$">
Header set Cache-Control "max-age=604800"
</FilesMatch>
<If "%{REQUEST_URI} =~ m#/login$#">
# Only on the login page we need any Origin or Referer header set.
Header onsuccess unset Referrer-Policy
Header always set Referrer-Policy "same-origin"
</If>
<Else>
Header onsuccess unset Referrer-Policy
Header always set Referrer-Policy "no-referrer"
</Else>
Header onsuccess unset X-Content-Type-Options
Header always set X-Content-Type-Options "nosniff"
Header onsuccess unset X-Frame-Options
Header always set X-Frame-Options "SAMEORIGIN"
Header onsuccess unset X-Permitted-Cross-Domain-Policies
Header always set X-Permitted-Cross-Domain-Policies "none"
Header onsuccess unset X-Robots-Tag
Header always set X-Robots-Tag "noindex, nofollow"
Header onsuccess unset X-XSS-Protection
Header always set X-XSS-Protection "1; mode=block"
SetEnv modHeadersAvailable true
</IfModule>
# Add cache control for static resources
<FilesMatch "\.(css|js|mjs|svg|gif|png|jpg|webp|ico|wasm|tflite)$">
<If "%{QUERY_STRING} =~ /(^|&)v=/">
Header set Cache-Control "max-age=15778463, immutable"
</If>
<Else>
Header set Cache-Control "max-age=15778463"
</Else>
</FilesMatch>
# Let browsers cache OTF and WOFF files for a week
<FilesMatch "\.(otf|woff2?)$">
Header set Cache-Control "max-age=604800"
</FilesMatch>
</IfModule>
<IfModule mod_php.c>
php_value default_charset 'UTF-8'
php_value output_buffering 0
<IfModule mod_env.c>
SetEnv htaccessWorking true
</IfModule>
php_value mbstring.func_overload 0
php_value default_charset 'UTF-8'
php_value output_buffering 0
<IfModule mod_env.c>
SetEnv htaccessWorking true
</IfModule>
</IfModule>
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
AddType application/wasm wasm
AddEncoding gzip svgz
# Serve ESM javascript files (.mjs) with correct mime type
AddType text/javascript js mjs
AddType image/svg+xml svg svgz
AddType application/wasm wasm
AddEncoding gzip svgz
# Serve ESM javascript files (.mjs) with correct mime type
AddType text/javascript js mjs
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.php index.html
DirectoryIndex index.php index.html
</IfModule>
<IfModule pagespeed_module>
ModPagespeed Off
ModPagespeed Off
</IfModule>
#############
#### Rewrites
#############
<IfModule mod_rewrite.c>
RewriteEngine on
##
## Rule: Workaround for WebDAV with apache+php-cgi
##
## Context:
## - Sets the environment variable `HTTP_AUTHORIZATION` to the value of the `Authorization` request header
## - Always executed before and along with other rules (no `L` used)
## - XXX: *May* be replaced with an equivalent SetEnvIf in theory
## - XXX: SetEnvIf approach is already in use above for mod_proxy_cgi / mod_lsapi / mod_fcgid
##
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
##
## Rule: Workaround for WebDAV with MS DavClnt
##
## Context:
## - DavClnt attempts an OPTIONS request against `/` instead of the specified endpoint
## - Redirects the client to the endpoint rather than the login page (which confuses DavClnt)
##
RewriteCond %{HTTP_USER_AGENT} DavClnt
RewriteRule ^$ /remote.php/webdav/ [L,R=302]
##
## Rule: Map the RFC 8615 / RFC 6764 compliant well-known URI for CardDAV to our Remote DAV endpoint
##
RewriteRule ^\.well-known/carddav /remote.php/dav/ [R=301,L]
##
## Rule: Map the RFC 8615 / RFC 6764 compliant well-known URI for CalDAV to our Remote DAV endpoint
##
RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L]
##
## Rule: Map /remote* --> /remote.php* including the query string
##
## Context:
## - XXX: Is this even used anymore? Seems a relic from <NC12
##
RewriteRule ^remote/(.*) remote.php [L]
##
## Rule: Prevent access to non-public files
##
RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]
##
## Rule: Maps most RFC 8615 compliant well-known URIs to our main frontend controller (/index.php) by default
##
## Context:
## - Intentionally excludes URIs used for HTTPS certificate verifications
## - RFC 8555 / ACME HTTP Challenges (acme-challenge)
## - File-based Validations (pki-validation)
## - XXX: Sometimes we are using `/index.php` and other times `index.php` as our replacement URI; this may be incorrect
##
RewriteRule ^\.well-known/(?!acme-challenge|pki-validation) /index.php [L]
##
## Rule: Map the ocm-provider handling to our main frontend controller (/index.php)
##
## Context:
## - XXX: Sometimes we are using `/index.php` and other times `index.php` as our replacement URI; this may be incorrect
##
RewriteRule ^ocm-provider/?$ index.php [L]
##
## Rule: Prevent access to more non-public files
##
## Context:
## - XXX It may make sense to merge some of these with the others (i.e. the ones that don't need to be last)
##
RewriteRule ^(?:\.(?!well-known)|autotest|occ|issue|indie|db_|console).* - [R=404,L]
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} DavClnt
RewriteRule ^$ /remote.php/webdav/ [L,R=302]
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^\.well-known/carddav /remote.php/dav/ [R=301,L]
RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L]
RewriteRule ^remote/(.*) remote.php [QSA,L]
RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]
RewriteRule ^\.well-known/(?!acme-challenge|pki-validation) /index.php [QSA,L]
RewriteRule ^ocm-provider/?$ index.php [QSA,L]
RewriteRule ^(?:\.(?!well-known)|autotest|occ|issue|indie|db_|console).* - [R=404,L]
</IfModule>
# Clients like xDavv5 on Android, or Cyberduck, use chunked requests.
@@ -180,18 +109,16 @@
# Here are more information about the issue:
# - https://docs.cyberduck.io/mountainduck/issues/fastcgi/
# - https://docs.nextcloud.com/server/latest/admin_manual/issues/general_troubleshooting.html#troubleshooting-webdav
<IfModule mod_setenvif.c>
SetEnvIfNoCase Transfer-Encoding "chunked" proxy-sendcl=1
SetEnvIfNoCase Transfer-Encoding "chunked" proxy-sendcl=1
</IfModule>
# Apache disabled the sending of the server-side content-length header
# in their 2.4.59 patch updated which breaks some use-cases in Nextcloud.
# Setting ap_trust_cgilike_cl allows to bring back the usual behaviour.
# See https://bz.apache.org/bugzilla/show_bug.cgi?id=68973
<IfModule mod_env.c>
SetEnv ap_trust_cgilike_cl
SetEnv ap_trust_cgilike_cl
</IfModule>
AddDefaultCharset utf-8
-1
View File
@@ -252,7 +252,6 @@ Michael Monreal <michael.monreal@gmail.com>
Michael Roitzsch <reactorcontrol@icloud.com>
michag86 <micha_g@arcor.de>
Michiel de Jong <michiel@unhosted.org> Michiel@unhosted <michiel@unhosted.org>
Micke Nordin <kano@sunet.se> Mikael Nordin <mickenordin@users.noreply.github.com>
Miguel Prokop <miguel.prokop@vtu.com>
miicha <pfitzner@physik.hu-berlin.de>
Miquel Rodríguez Telep / Michael Rodríguez-Torrent <miquel@designunbound.co.uk>
-64
View File
@@ -1,64 +0,0 @@
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-only
# Files removed at build time
# Global exclude
.editorconfig
.envrc
.git
.git-blame-ignore-revs
.gitattributes
.github
.gitignore
.gitmodules
.idea
.jshint
.jshintrc
.l10nignore
.mailmap
.nextcloudignore
.noopenapi
.npmignore
.php-cs-fixer*
.pre-commit-config.yaml
.tag
.tx
CHANGELOG.md
CODE_OF_CONDUCT.md
COPYING-README
DESIGN.md
Makefile
README.md
SECURITY.md
codecov.yml
cs-fixer
csfixer
custom.d.ts
cypress
cypress.config.ts
eslint.config.js
flake.lock
flake.nix
openapi-extractor
phpunit
psalm
psalm*.xml
rector
stylelint.config.js
tests
tsconfig.json
vite.config.ts
vitest.config.ts
window.d.ts
# Server specific
/.devcontainer
/__mocks__
/__tests__
/autotest*.sh
/build
/config/config.php
/contribute
/data
/openapi.json
/vendor-bin
+5 -8
View File
@@ -14,14 +14,11 @@ $config = new Config();
$config
->setParallelConfig(ParallelConfigFactory::detect())
->getFinder()
->in(__DIR__)
->exclude([
'3rdparty',
'build/stubs',
'composer',
])
;
->exclude('config')
->exclude('3rdparty')
->exclude('build/stubs')
->exclude('composer')
->in(__DIR__);
$ignoredEntries = shell_exec('git status --porcelain --ignored ' . escapeshellarg(__DIR__));
$ignoredEntries = explode("\n", $ignoredEntries);
+348
View File
File diff suppressed because one or more lines are too long
+42
View File
@@ -0,0 +1,42 @@
# SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-FileCopyrightText: 2016 ownCloud, Inc.
# SPDX-License-Identifier: AGPL-3.0-only
before_commands:
- 'git submodule update --init --recursive'
build:
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
checks:
php:
excluded_dependencies:
- etsy/phan
filter:
excluded_paths:
- '3rdparty/*'
- 'apps/*/3rdparty/*'
- 'apps/*/vendor/*'
- 'l10n/*'
- 'core/l10n/*'
- 'apps/*/l10n/*'
- 'apps/*/tests/*'
- 'lib/l10n/*'
- 'core/vendor/*'
- 'core/js/tests/lib/*.js'
- 'core/js/tests/specs/*.js'
- 'core/js/jquery-showpassword.js'
- 'core/js/jquery-tipsy.js'
- 'core/js/placeholders.js'
- 'settings/l10n/*'
- 'tests/*'
- 'build/*'
- 'lib/composer/*'
imports:
- javascript
- php
+1 -3
View File
@@ -1,9 +1,7 @@
; SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
; SPDX-FileCopyrightText: 2014-2016 ownCloud, Inc.
; SPDX-License-Identifier: AGPL-3.0-only
;
; NOTE: PHP caches this file for 300 seconds by default
;
mbstring.func_overload=0
always_populate_raw_post_data=-1
default_charset='UTF-8'
output_buffering=0
+2 -3
View File
@@ -67,7 +67,7 @@
- Bernhard Posselt <dev@bernhard-posselt.com>
- Bernhard Reiter <ockham@raz.or.at>
- Bill McGonigle <bill-github.com@bfccomputing.com>
- Daniel Niccoli <daniel.niccoli@gmail.com>
- Birk Borkason <daniel.niccoli@gmail.com>
- Bjoern Schiessle <bjoern@schiessle.org>
- Björn Schießle <bjoern@schiessle.org>
- Bjørn Forsman <bjorn.forsman@gmail.com>
@@ -338,6 +338,7 @@
- Mickey Knox <mickey@netfreaks.org>
- Miguel Prokop <miguel.prokop@vtu.com>
- Mikael Hammarin <mikael@try2.se>
- Mikael Nordin <mickenordin@users.noreply.github.com>
- Mikael Saarinen <mikaels@iki.fi>
- Mikhail Sazanov <m@sazanof.ru>
- Mitar <mitar.git@tnode.com>
@@ -558,7 +559,6 @@
- fnuesse <felix.nuesse@t-online.de>
- fnuesse <fnuesse@techfak.uni-bielefeld.de>
- greta <gretadoci@gmail.com>
- Hector Valcarcel <hmvalcarcel@gmail.com>
- helix84 <helix84@centrum.sk>
- hkjolhede <hkjolhede@gmail.com>
- hoellen <dev@hoellen.eu>
@@ -619,7 +619,6 @@
- szaimen <szaimen@e.mail.de>
- tbartenstein <tbartenstein@users.noreply.github.com>
- tbelau666 <thomas.belau@gmx.de>
- TechnicalSuwako <suwako@076.moe>
- tgrant <tom.grant760@gmail.com>
- timm2k <timm2k@gmx.de>
- tux-rampage <tux-rampage@users.noreply.github.com>
-117
View File
@@ -1,117 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too.
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and modification follow.
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
one line to give the program's name and an idea of what it does. Copyright (C) yyyy name of author
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker.
signature of Ty Coon, 1 April 1989 Ty Coon, President of Vice
+5 -4
View File
@@ -5,13 +5,14 @@
-->
# Nextcloud Server ☁
[![REUSE status](https://api.reuse.software/badge/github.com/nextcloud/server)](https://api.reuse.software/info/github.com/nextcloud/server)
[![codecov](https://codecov.io/gh/nextcloud/server/branch/master/graph/badge.svg)](https://codecov.io/gh/nextcloud/server)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nextcloud/server/badges/quality-score.png?b=stable31)](https://scrutinizer-ci.com/g/nextcloud/server/?branch=stable31)
[![codecov](https://codecov.io/gh/nextcloud/server/branch/stable31/graph/badge.svg)](https://codecov.io/gh/nextcloud/server)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/209/badge)](https://bestpractices.coreinfrastructure.org/projects/209)
[![Design](https://contribute.design/api/shield/nextcloud/server)](https://contribute.design/nextcloud/server)
**A safe home for all your data.**
![](https://raw.githubusercontent.com/nextcloud/screenshots/master/nextcloud-hub-25-files.png)
![](https://raw.githubusercontent.com/nextcloud/screenshots/stable31/nextcloud-hub-files-25-preview.png)
## Why is this so awesome? 🤩
@@ -35,8 +36,8 @@ Enterprise? Public Sector or Education user? You may want to have a look into [*
## Get in touch 💬
* [📋 Forum](https://help.nextcloud.com)
* [🦋 Bluesky](https://bsky.app/profile/nextcloud.bsky.social)
* [👥 Facebook](https://www.facebook.com/nextclouders)
* [🐣 Twitter](https://twitter.com/Nextclouders)
* [🐘 Mastodon](https://mastodon.xyz/@nextcloud)
You can also [get support for Nextcloud](https://nextcloud.com/support)!
@@ -58,7 +59,7 @@ There are many ways to contribute, of which development is only one! Find out [h
Third-party components are handled as git submodules which have to be initialized first. So aside from the regular git checkout invoking `git submodule update --init` or a similar command is needed, for details see Git documentation.
Several apps that are included by default in regular releases such as [First run wizard](https://github.com/nextcloud/firstrunwizard) or [Activity](https://github.com/nextcloud/activity) are missing in `master` and have to be installed manually by cloning them into the `apps` subfolder.
Several apps that are included by default in regular releases such as [First run wizard](https://github.com/nextcloud/firstrunwizard) or [Activity](https://github.com/nextcloud/activity) are missing in `stable31` and have to be installed manually by cloning them into the `apps` subfolder.
Otherwise, git checkouts can be handled the same as release archives, by using the `stable*` branches. Note they should never be used on production systems.
-406
View File
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
build/frontend/__mocks__
+17
View File
@@ -0,0 +1,17 @@
/**
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
export const getCurrentUser = function() {
return {
uid: 'test',
displayName: 'Test',
isAdmin: false,
}
}
export const getRequestToken = function() {
return 'test-token-1234'
}
export const onRequestTokenUpdate = function() {}
+17
View File
@@ -0,0 +1,17 @@
/**
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
export default {
interceptors: {
response: {
use: () => {},
},
request: {
use: () => {},
},
},
get: async () => ({ status: 200, data: {} }),
delete: async () => ({ status: 200, data: {} }),
post: async () => ({ status: 200, data: {} }),
}
+22
View File
@@ -0,0 +1,22 @@
/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import type { Capabilities } from '../../apps/files/src/types'
export const getCapabilities = (): Capabilities => {
return {
files: {
bigfilechunking: true,
blacklisted_files: [],
forbidden_filename_basenames: [],
forbidden_filename_characters: [],
forbidden_filename_extensions: [],
forbidden_filenames: [],
undelete: true,
version_deletion: true,
version_labeling: true,
versioning: true,
},
}
}
+8
View File
@@ -0,0 +1,8 @@
/**
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
export const loadState = function(app: string, key: string, fallback?: any) {
return fallback
}
+10
View File
@@ -0,0 +1,10 @@
/**
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
export const createClient = () => {}
export const getPatcher = () => {
return {
patch: () => {}
}
}
-1
View File
@@ -1 +0,0 @@
build/frontend/__tests__
+128
View File
@@ -0,0 +1,128 @@
/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import { basename } from 'node:path'
import mime from 'mime'
class FileSystemEntry {
private _isFile: boolean
private _fullPath: string
constructor(isFile: boolean, fullPath: string) {
this._isFile = isFile
this._fullPath = fullPath
}
get isFile() {
return !!this._isFile
}
get isDirectory() {
return !this.isFile
}
get name() {
return basename(this._fullPath)
}
}
export class FileSystemFileEntry extends FileSystemEntry {
private _contents: string
private _lastModified: number
constructor(fullPath: string, contents: string, lastModified = Date.now()) {
super(true, fullPath)
this._contents = contents
this._lastModified = lastModified
}
file(success: (file: File) => void) {
const lastModified = this._lastModified
// Faking the mime by using the file extension
const type = mime.getType(this.name) || ''
success(new File([this._contents], this.name, { lastModified, type }))
}
}
export class FileSystemDirectoryEntry extends FileSystemEntry {
private _entries: FileSystemEntry[]
constructor(fullPath: string, entries: FileSystemEntry[]) {
super(false, fullPath)
this._entries = entries || []
}
createReader() {
let read = false
return {
readEntries: (success: (entries: FileSystemEntry[]) => void) => {
if (read) {
return success([])
}
read = true
success(this._entries)
},
}
}
}
/**
* This mocks the File API's File class
* It will allow us to test the Filesystem API as well as the
* File API in the same test suite.
*/
export class DataTransferItem {
private _type: string
private _entry: FileSystemEntry
getAsEntry?: () => FileSystemEntry
constructor(type = '', entry: FileSystemEntry, isFileSystemAPIAvailable = true) {
this._type = type
this._entry = entry
// Only when the Files API is available we are
// able to get the entry
if (isFileSystemAPIAvailable) {
this.getAsEntry = () => this._entry
}
}
get kind() {
return 'file'
}
get type() {
return this._type
}
getAsFile(): File|null {
if (this._entry.isFile && this._entry instanceof FileSystemFileEntry) {
let file: File | null = null
this._entry.file((f) => {
file = f
})
return file
}
// The browser will return an empty File object if the entry is a directory
return new File([], this._entry.name, { type: '' })
}
}
export const fileSystemEntryToDataTransferItem = (entry: FileSystemEntry, isFileSystemAPIAvailable = true): DataTransferItem => {
return new DataTransferItem(
entry.isFile ? 'text/plain' : 'httpd/unix-directory',
entry,
isFileSystemAPIAvailable,
)
}
+9
View File
@@ -0,0 +1,9 @@
/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
window.OC = { ...window.OC }
window.OCA = { ...window.OCA }
window.OCP = { ...window.OCP }
window._oc_webroot = ''
+2 -2
View File
@@ -10,7 +10,7 @@
<name>Auditing / Logging</name>
<summary>Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions.</summary>
<description>Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions.</description>
<version>1.24.0</version>
<version>1.21.0</version>
<licence>agpl</licence>
<author>Nextcloud</author>
<namespace>AdminAudit</namespace>
@@ -20,7 +20,7 @@
<category>monitoring</category>
<bugs>https://github.com/nextcloud/server/issues</bugs>
<dependencies>
<nextcloud min-version="34" max-version="34"/>
<nextcloud min-version="31" max-version="31"/>
</dependencies>
<background-jobs>
<job>OCA\AdminAudit\BackgroundJobs\Rotate</job>
+4 -1
View File
@@ -14,7 +14,10 @@ if (PHP_VERSION_ID < 50600) {
echo $err;
}
}
throw new RuntimeException($err);
trigger_error(
$err,
E_USER_ERROR
);
}
require_once __DIR__ . '/composer/autoload_real.php';
@@ -26,23 +26,12 @@ use Composer\Semver\VersionParser;
*/
class InstalledVersions
{
/**
* @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to
* @internal
*/
private static $selfDir = null;
/**
* @var mixed[]|null
* @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
*/
private static $installed;
/**
* @var bool
*/
private static $installedIsLocalDir;
/**
* @var bool|null
*/
@@ -320,24 +309,6 @@ class InstalledVersions
{
self::$installed = $data;
self::$installedByVendor = array();
// when using reload, we disable the duplicate protection to ensure that self::$installed data is
// always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not,
// so we have to assume it does not, and that may result in duplicate data being returned when listing
// all installed packages for example
self::$installedIsLocalDir = false;
}
/**
* @return string
*/
private static function getSelfDir()
{
if (self::$selfDir === null) {
self::$selfDir = strtr(__DIR__, '\\', '/');
}
return self::$selfDir;
}
/**
@@ -351,27 +322,19 @@ class InstalledVersions
}
$installed = array();
$copiedLocalDir = false;
if (self::$canGetVendors) {
$selfDir = self::getSelfDir();
foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
$vendorDir = strtr($vendorDir, '\\', '/');
if (isset(self::$installedByVendor[$vendorDir])) {
$installed[] = self::$installedByVendor[$vendorDir];
} elseif (is_file($vendorDir.'/composer/installed.php')) {
/** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
$required = require $vendorDir.'/composer/installed.php';
self::$installedByVendor[$vendorDir] = $required;
$installed[] = $required;
if (self::$installed === null && $vendorDir.'/composer' === $selfDir) {
self::$installed = $required;
self::$installedIsLocalDir = true;
$installed[] = self::$installedByVendor[$vendorDir] = $required;
if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
self::$installed = $installed[count($installed) - 1];
}
}
if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) {
$copiedLocalDir = true;
}
}
}
@@ -387,7 +350,7 @@ class InstalledVersions
}
}
if (self::$installed !== array() && !$copiedLocalDir) {
if (self::$installed !== array()) {
$installed[] = self::$installed;
}
@@ -19,7 +19,6 @@ return array(
'OCA\\AdminAudit\\IAuditLogger' => $baseDir . '/../lib/IAuditLogger.php',
'OCA\\AdminAudit\\Listener\\AppManagementEventListener' => $baseDir . '/../lib/Listener/AppManagementEventListener.php',
'OCA\\AdminAudit\\Listener\\AuthEventListener' => $baseDir . '/../lib/Listener/AuthEventListener.php',
'OCA\\AdminAudit\\Listener\\CacheEventListener' => $baseDir . '/../lib/Listener/CacheEventListener.php',
'OCA\\AdminAudit\\Listener\\ConsoleEventListener' => $baseDir . '/../lib/Listener/ConsoleEventListener.php',
'OCA\\AdminAudit\\Listener\\CriticalActionPerformedEventListener' => $baseDir . '/../lib/Listener/CriticalActionPerformedEventListener.php',
'OCA\\AdminAudit\\Listener\\FileEventListener' => $baseDir . '/../lib/Listener/FileEventListener.php',

Some files were not shown because too many files have changed in this diff Show More