Compare commits

..

2173 Commits

Author SHA1 Message Date
John Molakvoæ 8c428e22e4 Merge pull request #52090 from nextcloud/release/30.0.9
30.0.9
2025-04-10 16:07:35 +02:00
skjnldsv 7c2f05f3ed build(hub): 30.0.9
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-10 15:06:49 +02:00
Nextcloud bot 180ec1a875 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-10 00:23:02 +00:00
Nextcloud bot 5b1010d3a8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-09 00:23:43 +00:00
Benjamin Gaussorgues a5e74aeb09 Merge pull request #52017 from nextcloud/release/30.0.9_rc2
30.0.9 RC2
2025-04-08 16:30:05 +02:00
Benjamin Gaussorgues c6dd578de1 Merge pull request #52032 from nextcloud/backport/52015/stable30
[stable30] feat(ip): use larger IPv6 range by default
2025-04-08 13:56:31 +02:00
Benjamin Gaussorgues bad8f54232 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 11:30:15 +02:00
Joas Schilling 83190a8800 Merge pull request #52029 from nextcloud/automated/noid/stable30-update-code-signing-crl
[stable30] fix(security): Update code signing revocation list
2025-04-08 10:32:15 +02:00
nextcloud-command 8db25fb21b fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-04-08 08:27:39 +00:00
Benjamin Gaussorgues 760de46623 build(hub): 30.0.9 RC2
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-04-08 09:47:07 +02:00
Nextcloud bot 117e974718 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-08 00:23:28 +00:00
Arthur Schiwon 8d913bf296 Merge pull request #51991 from nextcloud/backport/51944/stable30
[stable30] fix(files_reminders): add missing import
2025-04-07 19:41:09 +02:00
Ferdinand Thiessen 5486d0a1b1 chore: adjust syntax for app manager
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-07 11:56:56 +02:00
Ferdinand Thiessen 1ab680ae69 chore: lint files_reminders using psalm
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-07 09:39:15 +00:00
Ferdinand Thiessen e60d69352b fix(files_reminders): add l10n to constructor of setup check
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-07 09:39:15 +00:00
Ferdinand Thiessen 19f8d27f48 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:15 +00:00
Stephan Orbaugh 1059a6a8f3 Merge pull request #51986 from nextcloud/backport/51982/stable30
[stable30] Revert "refactor: add migration for email setting"
2025-04-07 11:11:21 +02:00
provokateurin d44b42fd24 Revert "refactor: add migration for email setting"
This reverts commit e7859f0dac.

Signed-off-by: provokateurin <kate@provokateurin.de>
2025-04-07 10:23:23 +02:00
Joas Schilling 6c708a936e Merge pull request #51974 from nextcloud/automated/noid/stable30-update-code-signing-crl
[stable30] fix(security): Update code signing revocation list
2025-04-07 07:58:08 +02:00
nextcloud-command 66b9b36603 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-04-07 02:37:20 +00:00
Nextcloud bot 610ef983ca Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-07 00:23:00 +00:00
Nextcloud bot 21dffe0ff0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-06 00:22:36 +00:00
John Molakvoæ 8ec64c2687 Merge pull request #51960 from nextcloud/dependabot/npm_and_yarn/stable30/types/dockerode-3.3.37
build(deps-dev): bump @types/dockerode from 3.3.36 to 3.3.37
2025-04-05 10:28:06 +02:00
dependabot[bot] f4df6950d3 build(deps-dev): bump @types/dockerode from 3.3.36 to 3.3.37
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.36 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:48:32 +00:00
Nextcloud bot 01c137980f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-05 00:22:33 +00:00
Andy Scherzinger ce17046aa0 Merge pull request #51931 from nextcloud/fix/30-template-layout
[stable30] fix: ensure enabled themes are set on the template
2025-04-04 11:10:43 +02:00
Ferdinand Thiessen 8a0bc2422d fix: ensure enabled themes are set on the template
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-04 10:10:25 +02:00
Nextcloud bot dc2a087e30 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-04 00:22:53 +00:00
Benjamin Gaussorgues ebb62262e0 Merge pull request #51903 from nextcloud/release/30.0.9_rc1
30.0.9 RC1
2025-04-03 20:58:47 +02:00
Benjamin Gaussorgues c9ce1837e6 build(hub): 30.0.9 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-04-03 18:17:48 +02:00
Benjamin Gaussorgues 2f22c0dd58 Merge pull request #51900 from nextcloud/backport/51745/stable30
[stable30] fix(settings): Handle email change restriction separately from display name change restriction
2025-04-03 17:21:26 +02:00
nextcloud-command 185e97bd47 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-03 16:12:55 +02:00
Ferdinand Thiessen 8ab28350f9 refactor: add migration for email setting
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-03 16:12:55 +02:00
provokateurin 8a8d6addfb 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 16:12:55 +02:00
Arthur Schiwon 9bd991b3e8 Merge pull request #51914 from nextcloud/backport/50783/stable30
[stable30] fix(workflowengine): require a web component as operation plugin
2025-04-03 14:29:49 +02:00
Arthur Schiwon 67a562fcb9 build(workflowengine): compile assets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 14:15:05 +02:00
Arthur Schiwon 44a286a2f0 style(vue): satisfy linter
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 14:13:19 +02:00
Arthur Schiwon bd1b9231fc fix: properly set value in FileMimeType
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 14:13:19 +02:00
Arthur Schiwon 91f244d615 refactor: remove mixing from FileMimeType as it is bad practice
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 14:13:17 +02:00
Arthur Schiwon 23d3b76afe fix(workflowengine): adapt check operator RequestUserGroup to use web component
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 14:12:53 +02:00
Arthur Schiwon c4590b600a fix(workflowengine): adapt check operator RequestUserAgent to use web component
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 14:12:53 +02:00
Arthur Schiwon 89588d9b69 fix(workflowengine): adapt check operator RequestTime to use web component
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 14:12:53 +02:00
Arthur Schiwon 869e0a258e fix(workflowengine): adapt check operator RequestURL to use web component
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 14:12:53 +02:00
Arthur Schiwon 355b2ffda6 fix(workflowengine): use adapted mixin again in FileMimeType
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 14:12:53 +02:00
Arthur Schiwon e97b4702da fix(workflowengine): minimally adapt check operator FileMimeType to use web component
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 14:12:53 +02:00
Arthur Schiwon 686d52ee16 fix(workflowengine): adapt check operator FileSystemTag to use web component
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 14:12:51 +02:00
Arthur Schiwon 7b0704c8e6 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:29 +00:00
Arthur Schiwon 120375fe04 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:29 +00:00
Andy Scherzinger eccbe3fd11 Merge pull request #51907 from nextcloud/backport/51905/stable30
[stable30] fix(session): Only mark sessions of permanent tokens as app passwords
2025-04-03 12:30:12 +02:00
Louis c8bccdea1b Merge pull request #51911 from nextcloud/backport/51861/stable30
[stable30] fix: Catch exceptions when expiring trashbin
2025-04-03 12:28:08 +02:00
Louis Chemineau b439b936e0 fix: Catch exceptions when expiring trashbin
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-03 11:41:55 +02:00
Louis Chemineau d25a563d97 chore: Use iterator in ExpireTrash command
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-03 11:41:55 +02:00
Ferdinand Thiessen 4d1e0cd6fb Merge pull request #51565 from nextcloud/backport/51418/stable30
[stable30] fix(unified-search): do not overlap search bar with button
2025-04-03 11:02:32 +02:00
Louis e7b0f83b32 Merge pull request #51658 from nextcloud/backport/51471/stable30
[stable30] fix(files): Ensure actions never overflow filename
2025-04-03 10:15:53 +02:00
Christoph Wurst 181561771b fix(session): Only mark sessions of permanent tokens as app passwords
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-04-03 10:15:11 +02:00
Ferdinand Thiessen c3d0afd77d Merge pull request #51879 from nextcloud/backport/51870/stable30
[stable30] fix: Use login name to check the password
2025-04-03 08:50:52 +02:00
Ferdinand Thiessen a61d5616de Merge pull request #51782 from nextcloud/backport/51336/stable30
[stable30] fix(settings): Fix infinitely loading account management page with pagination of groups
2025-04-03 08:46:38 +02:00
Nextcloud bot b05a608792 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-03 00:23:32 +00:00
John Molakvoæ b3f60f59f0 Merge pull request #51891 from nextcloud/dependabot/npm_and_yarn/stable30/backbone-1.6.1
build(deps): bump backbone from 1.6.0 to 1.6.1
2025-04-02 21:25:38 +02:00
nextcloud-command d35b40d470 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-02 19:19:32 +00:00
dependabot[bot] 34d2168906 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:39 +02:00
John Molakvoæ 69a6fadf82 Merge pull request #51889 from nextcloud/dependabot/npm_and_yarn/stable30/dockerode-4.0.5
build(deps-dev): bump dockerode from 4.0.4 to 4.0.5
2025-04-02 20:28:52 +02:00
dependabot[bot] 41a48e566f 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:52 +00:00
Louis Chemineau 84b59c48b6 fix: Use login name to check the password
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-02 17:21:06 +00:00
nextcloud-command 6de1f24205 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-02 17:15:21 +00:00
Ferdinand Thiessen edc0c838ea fix(files): Ensure actions never overflow filename
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-02 19:10:51 +02:00
Andy Scherzinger 0ef3932ad2 Merge pull request #51868 from nextcloud/backport/51866/stable30
[stable30] fix: use proper migration sorting when checking if a migration needs to be executed
2025-04-02 18:41:38 +02:00
John Molakvoæ 26756ea681 Merge pull request #51872 from nextcloud/backport/51863/stable30
[stable30] fix(files): right click actions menu flicker
2025-04-02 17:36:22 +02:00
nextcloud-command 8f70742133 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-02 14:50:58 +00:00
skjnldsv 8078dde336 fix(files): right click actions menu flicker
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-02 16:40:58 +02:00
Richard Steinmetz fb4781c534 Merge pull request #51858 from nextcloud/backport/50858/stable30
[stable30] fix(oauth2): retain support for legacy ownCloud clients
2025-04-02 16:17:47 +02:00
Robin Appelman 2708a2b622 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:40 +00:00
yemkareems 6104b434f6 Merge pull request #51581 from nextcloud/backport/51250/stable30
[stable30] fix: pass hide download attribute while creating the share to fix github issue 50788
2025-04-02 18:11:05 +05:30
nextcloud-command 775b0aa700 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-02 11:27:04 +00:00
Ferdinand Thiessen 12622a9d2c fix(unified-search): do not overlap search with button
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-02 13:22:52 +02:00
nextcloud-command cee62029d3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-02 11:18:32 +00:00
Ferdinand Thiessen 899faa77c1 test: add cypress tests for sharing download permission
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-02 13:14:25 +02:00
Ferdinand Thiessen 991c61dc04 fix(files_sharing): make sure IDs are unique for HTML elements
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-02 13:13:18 +02:00
Ferdinand Thiessen adc10274d7 fix(files_sharing): ugly hacks to update permissions on share creation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-02 13:12:12 +02:00
yemkareems 662de917ab 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:11:29 +02:00
Richard Steinmetz 550d8d9fce fix(oauth2): retain support for legacy ownCloud clients
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-04-02 12:23:45 +02:00
Nextcloud bot c50698abfb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-02 00:23:26 +00:00
Andy Scherzinger f8ccab1456 Merge pull request #51842 from nextcloud/backport/51760/stable30
[stable30] fix(files_reminders): Lower disabled notifications app error to info
2025-04-01 18:42:28 +02:00
Louis Chemineau a69d7b0bdb fix(files_reminder): Replace error log by setup check
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-01 15:09:10 +00:00
Louis Chemineau 221f8b9742 fix(files_reminders): Lower disabled notifications app error to info
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-01 15:09:10 +00:00
Louis Chemineau fcd5da101f chore: Backport fixes
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-01 14:37:27 +02:00
nextcloud-command 9cac8217c3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-01 10:17:34 +00:00
Christopher Ng 58fc803a26 test(settings): Fix group items not being found
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:33 +00:00
Christopher Ng 85dc4b44d2 test(settings): Correctly find group in select
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:33 +00:00
Christopher Ng 06af6de5cb test(settings): Wait until groups list has loaded
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:33 +00:00
Christopher Ng 3402b7c097 fix(settings): Separate subadmin options
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:33 +00:00
Christopher Ng f1ed995296 fix(settings): Fix initialization of store
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:33 +00:00
Christopher Ng 368fcc3ba8 fix(settings): Preserve system groups on reset
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:33 +00:00
Christopher Ng 75708f5eb7 fix(settings): Natural order groups
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:33 +00:00
Christopher Ng a5e2c7dd38 fix(settings): Fix duplicated group options in new account dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:33 +00:00
Christopher Ng 42b7fda39b fix(settings): Fix duplicated group options when editing account
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:33 +00:00
Christopher Ng c022d2f9a3 fix(settings): Fix group creation in new account dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:33 +00:00
Christopher Ng 91af8d1f64 fix(settings): Fix group creation when editing users
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:33 +00:00
Christopher Ng 21dbef7c75 fix(settings): Only change usercount if group can be found
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:33 +00:00
Christopher Ng d3b8171b72 fix(settings): Fix editing groups and subadmin groups of user
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:32 +00:00
Christopher Ng 2cc7ebe976 feat(provisioning_api): Add endpoint for fetching user subadmin groups with details
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:32 +00:00
Christopher Ng ae390d2983 fix(settings): Fix erroneous hiding of group admin column with paginated groups
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:32 +00:00
Christopher Ng 74b26f7484 fix(settings): Prevent selection of invalid groups that are not fully loaded
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:32 +00:00
Christopher Ng 82cd9a27d2 fix(settings): Fix loaded groups being undefined
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:32 +00:00
Christopher Ng 537d68d76a chore(settings): Add note on groups sorting
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:32 +00:00
Christopher Ng 1fbf26a5af refactor(settings): Consolidate group formatting
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:32 +00:00
Christopher Ng c3dba3b467 perf(settings): Make scrolling smooth when a large number of groups are rendered
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:32 +00:00
Christopher Ng 328bb107aa fix(settings): Allow searching for groups in new account dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:32 +00:00
Christopher Ng 86e521d032 fix(settings): Allow searching for groups in user row
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:32 +00:00
Christopher Ng f664eb8313 perf(settings): Cancel request on new search
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:32 +00:00
Christopher Ng 5167b567e4 feat(provisioning_api): Add endpoint for fetching user groups with details
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:32 +00:00
Christopher Ng 8f10477aa0 fix(settings): Fix infinitely loading account management page with pagination of groups
- Includes searching

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:32 +00:00
Christopher Ng ff76f4ad59 perf(settings): Remove computation of all groups
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-04-01 10:17:32 +00:00
Côme Chilliet 30c2a7de72 Merge pull request #51826 from nextcloud/fix/fix-incorrect-query-in-federatedshareprovider
[stable30] fix(federatedfilesharing): Fix incorrect SQL query
2025-04-01 12:12:35 +02:00
Andy Scherzinger 626dd6840d Merge pull request #51375 from nextcloud/backport/51108/stable30
[stable30] Fix disabled user list for SAML group subadmin
2025-04-01 11:59:43 +02:00
Côme Chilliet 80323e7660 fix(federatedfilesharing): Fix incorrect SQL query
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-04-01 11:30:15 +02:00
Marcel Klehr b6d9d7628f Merge pull request #51812 from nextcloud/backport/51750/stable30
[stable30] fix(dav): Give proper HTTP status code on MKCOL when quota exceeded
2025-04-01 09:31:05 +02:00
Nextcloud bot 7bcff35e3d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-01 00:23:28 +00:00
Côme Chilliet 3d33ac2d34 chore: Move magic number into a documented const
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-31 15:39:40 +02:00
Côme Chilliet 107c18dff2 chore: Remove now unused methods from User manager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-31 15:39:35 +02:00
Côme Chilliet d3bc8b771c 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-31 15:39:05 +02:00
Andy Scherzinger dde95a7718 Merge pull request #51807 from nextcloud/backport/51600/stable30
[stable30] feat: Limit `ExpireTrash` job to 30 minutes
2025-03-31 14:56:35 +02:00
Louis Chemineau 7bdf8f087f 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 14:34:56 +02:00
Marcel Klehr fe0849ebad 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:42 +00:00
Louis Chemineau 822761af70 chore: Refactor callForSeenUsers to use getSeenUsers
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-31 11:00:59 +00:00
Louis Chemineau 97d1295ff2 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:00:59 +00:00
Nextcloud bot b98b888346 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-31 00:23:43 +00:00
Andy Scherzinger 5d78d48cb0 Merge pull request #51785 from nextcloud/dependabot/npm_and_yarn/stable30/cypress/webpack-preprocessor-6.0.4
chore(deps-dev): bump @cypress/webpack-preprocessor from 6.0.2 to 6.0.4
2025-03-30 17:54:12 +02:00
Andy Scherzinger 4833f25bdf Merge pull request #51787 from nextcloud/dependabot/npm_and_yarn/stable30/types/dockerode-3.3.36
chore(deps-dev): bump @types/dockerode from 3.3.35 to 3.3.36
2025-03-30 16:07:25 +02:00
Andy Scherzinger cb9f08cdc0 Merge pull request #51315 from nextcloud/backport/51144/stable30
[stable30] fix(dav): Create SAB at installation
2025-03-30 15:15:40 +02:00
Christoph Wurst 6006425b54 fix(dav): Create SAB at installation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-03-30 14:47:22 +02:00
Nextcloud bot 7252b6bb84 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-30 12:37:08 +00:00
dependabot[bot] 8ce02431da chore(deps-dev): bump @types/dockerode from 3.3.35 to 3.3.36
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.35 to 3.3.36.
- [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-30 13:59:51 +02:00
Andy Scherzinger b696cdcc46 Merge pull request #51775 from nextcloud/backport/47474/stable30
[stable30] fix(cs-fixer): Correctly ignore files ignored by git
2025-03-30 13:56:46 +02:00
Andy Scherzinger af3ea94860 Merge pull request #51709 from nextcloud/backport/51707/stable30
[stable30] fix: filter out contacts with empty email addresses in sharee completion
2025-03-30 01:49:00 +01:00
Julius Knorr 6d5b5a2cc1 test: Adapt tests to properly use valid email addresses
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-03-30 01:35:25 +01:00
Julius Knorr c59a2e6316 fix: filter out contacts with invalid email addresses in sharee completion
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-03-30 01:35:25 +01:00
Andy Scherzinger 48e6dbc407 Merge pull request #51786 from nextcloud/dependabot/npm_and_yarn/stable30/moment-timezone-0.5.48
chore(deps): bump moment-timezone from 0.5.47 to 0.5.48
2025-03-30 01:34:44 +01:00
Nextcloud bot a3b8746f5e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-30 00:23:40 +00:00
nextcloud-command 7f5eab491d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-29 10:59:29 +00:00
dependabot[bot] a2a2593671 chore(deps): bump moment-timezone from 0.5.47 to 0.5.48
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.47 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.47...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:26:20 +00:00
dependabot[bot] 28f0add8a3 chore(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-03-29 02:25:57 +00:00
Nextcloud bot d94a862760 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-29 00:23:10 +00:00
Andy Scherzinger 5ebcf9b72b Merge pull request #51327 from nextcloud/backport/51130/stable30
[stable30] fix: Do not build encrypted password if there is none
2025-03-28 16:19:52 +01:00
Kate 0b2bd3b615 Merge pull request #51717 from nextcloud/backport/51433/stable30
[stable30] fix(GenerateBlurhashMetadata): Suppress imagescale errors
2025-03-28 16:18:00 +01:00
Julius Knorr ebe943207d fix: Do not build encrypted password if there is none
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-03-28 15:18:03 +01:00
Kate 559d6e8639 Merge pull request #51523 from nextcloud/backport/51389/stable30
[stable30] fix: skip caching lastSeenQuotaUsage for remote shares
2025-03-28 15:14:48 +01:00
umgfoin 36aa350d9e 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-28 14:44:20 +01:00
Ferdinand Thiessen 5468a8f1f4 Merge pull request #51754 from nextcloud/backport/50121/stable30
[stable30] fix(theming): enforce theme also for login
2025-03-28 14:42:07 +01:00
Kate 5cc60c7313 Merge pull request #51747 from nextcloud/backport/51744/stable30
[stable30] fix(files_versions): Rely on server mime fallback icons
2025-03-28 12:41:32 +01:00
nextcloud-command f10b4f5374 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-28 12:03:27 +01:00
provokateurin 9b0eb2bfdc fix(cs-fixer): Correctly ignore files ignored by git
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-28 11:02:51 +00:00
provokateurin e05838e259 fix(files_versions): Rely on server mime fallback icons
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-28 12:02:00 +01:00
provokateurin 4e7fc5bfbf feat(files_versions): Implement preview mime icon fallback
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-28 12:01:58 +01:00
provokateurin 2f73d92602 fix(files_versions): Cache previews
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-28 11:58:42 +01:00
Nextcloud bot 37d13a09d1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-28 00:23:43 +00:00
Andy Scherzinger 3607976ea9 Merge pull request #51731 from nextcloud/backport/39611/stable30
[stable30] Add `occ user:welcome` command to send user welcome email from CLI
2025-03-27 23:38:55 +01:00
Kate 345755cad0 Merge pull request #51757 from nextcloud/backport/51449/stable30
[stable30] fix: resolve typo in authMethod enum cases
2025-03-27 22:03:42 +01:00
Luka Trovic 713ead5d7d Merge pull request #51614 from nextcloud/backport/50542/stable30
[stable30] fix(files_sharing): skip expiration notify for invalid share record
2025-03-27 17:23:57 +01:00
janepie c56ff8429c Merge pull request #51756 from nextcloud/backport/51724/stable30
[stable30] Fix: task type translations
2025-03-27 17:13:34 +01:00
Jana Peper 130ff1d3d6 fix: task type translations
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2025-03-27 14:33:27 +01:00
Kate 85fa32ae1f Merge pull request #51692 from nextcloud/backport/51669/stable30
[stable30] perf(sharing): Use oc_share.item_type IN instead of OR equals
2025-03-27 14:31:28 +01:00
Hendrik Heil bd4c537f12 fix(webhooks): resolve typo in openapi authMethod enum cases
Signed-off-by: Hendrik Heil <hendrik@heil.sh>
2025-03-27 13:25:16 +00:00
Hendrik Heil 6226545f9b fix(webhooks): update docblock options for authMethod
Signed-off-by: Hendrik Heil <hendrik@heil.sh>
2025-03-27 13:25:16 +00:00
Luka Trovic 986a570dd7 fix(files_sharing): skip expiration notify for invalid share record
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2025-03-27 12:56:00 +01:00
Ferdinand Thiessen 69274eba66 fix(theming): enforce theme also for login
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-27 11:15:44 +00:00
Marcel Klehr 1f0241fdfe 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-27 12:01:14 +01:00
Kate e058f7fc55 Merge pull request #51719 from nextcloud/backport/51594/stable30
[stable30] fix(occ): Suppress errors when checking config.php fileowner
2025-03-27 10:21:57 +01:00
Pytal 1ef8ff712f Merge pull request #51739 from nextcloud/backport/51737/stable30
[stable30] fix(files_reminders): Fix reminder actions being displayed on invalid nodes
2025-03-27 01:55:57 -07:00
Nextcloud bot be61640bbe Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-27 00:24:16 +00:00
nextcloud-command b0898b5fac chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-26 19:05:07 +00:00
Christopher Ng 8d579f660a fix(files_reminders): Fix reminder actions being displayed on invalid nodes
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-26 18:41:43 +00:00
John Molakvoæ 1ab595525d fix: copyright header
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-03-26 15:53:58 +00:00
FedericoHeichou 67bf779bb2 feat: Add user:welcome command
Signed-off-by: FedericoHeichou <federicoheichou@gmail.com>
2025-03-26 15:53:57 +00:00
Christoph Wurst cf130f43d7 Merge pull request #51538 from nextcloud/backport/51380/stable30
[stable30] fix(cardav): only show users from enabled addressBooks in contacts menu
2025-03-26 14:54:36 +01:00
John Molakvoæ f05befdf54 Merge pull request #51722 from nextcloud/backport/51705/stable30
[stable30] fix(files_versions): correctly show version author also for shared files
2025-03-26 11:09:30 +01:00
nextcloud-command 7df776076c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-26 09:27:56 +00:00
Ferdinand Thiessen a140d9f261 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>
2025-03-26 10:23:53 +01:00
provokateurin 48a1997bc6 fix(occ): Suppress errors when checking config.php fileowner
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-26 09:14:32 +00:00
Nextcloud bot 1e98bfc8ef Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-26 00:22:56 +00:00
Ferdinand Thiessen b19b47c85a Merge pull request #51661 from nextcloud/backport/51611/stable30
[stable30] fix(IFilenameValidator): correctly handle case insensitivity
2025-03-26 00:51:13 +01:00
F. E Noel Nfebe 8ff1d24949 Merge pull request #51700 from nextcloud/backport/51697/stable30
[stable30] fix(login): Improve CSRF error message for better user understanding
2025-03-25 16:54:51 +01:00
nextcloud-command 4f83bb3e0c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-25 15:39:59 +00:00
nfebe a508699f48 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 16:35:39 +01:00
Julius Knorr eb3eac43e1 Merge pull request #51560 from nextcloud/backport/50663/stable30
[stable30] enh: improve occ file:transfer-ownership logging
2025-03-25 15:50:19 +01:00
dependabot[bot] 25a396294e Merge pull request #51639 from nextcloud/dependabot/npm_and_yarn/stable30/nextcloud/upload-1.9.1 2025-03-25 12:09:13 +00:00
nextcloud-command ae5421cb64 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-25 11:53:47 +00:00
dependabot[bot] e9119167e8 build(deps): bump @nextcloud/upload from 1.9.0 to 1.9.1
Bumps [@nextcloud/upload](https://github.com/nextcloud-libraries/nextcloud-upload) from 1.9.0 to 1.9.1.
- [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.0...v1.9.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-25 11:51:54 +00:00
Kate d9034172ff Merge pull request #51681 from nextcloud/backport/50992/stable30
[stable30] fix(admin_audit): Fix incorrect truncation of files path in admin audit log
2025-03-25 11:34:56 +01:00
Grigorii K. Shartsev 4f30f539a4 fix(admin_audit): Fix incorrect truncation of files path in admin audit log
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2025-03-25 11:08:58 +01:00
Git'Fellow 301f703016 Merge pull request #51665 from nextcloud/backport/51644/stable30
[stable30] fix(user): Some strings not being translated
2025-03-25 10:12:54 +01:00
nextcloud-command de824b46cb chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-25 06:43:16 +00:00
Kate 6810e711ec Merge pull request #51671 from nextcloud/backport/51668/stable30
[stable30] fix(provisioning_api): Pass on translated hint if password change fails
2025-03-25 07:38:50 +01:00
Nextcloud bot 69290abfb5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-25 00:22:54 +00:00
Marcel Müller 7991de2ff6 Merge pull request #51679 from nextcloud/backport/51675/stable30
[stable30] fix(setupchecks): Treat information messages as success
2025-03-24 22:08:35 +01:00
nextcloud-command eaa6cca0dd chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-24 20:19:32 +00:00
Marcel Müller 888cb8de7f fix(setupchecks): Treat information messages as success
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-03-24 20:12:39 +00:00
provokateurin 2b8e85008a fix(provisioning_api): Pass on translated hint if password change fails
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-24 15:06:22 +00:00
Git'Fellow 86a762514f fix(user): Some strings not being translated
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-03-24 13:28:08 +00:00
Stephan Orbaugh ff70d226c9 Merge pull request #51387 from nextcloud/backport/51364/stable30
[stable30] fix(files_external): Stop building path twice when checking if file exists on case insensitive SMB storage
2025-03-24 14:26:11 +01:00
Ferdinand Thiessen d0402dee06 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-24 11:46:43 +00:00
Nextcloud bot 98955f24d2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-24 00:23:17 +00:00
Nextcloud bot c7b47bbe0e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-23 00:23:02 +00:00
Andy Scherzinger 7628f5a4a2 Merge pull request #51510 from nextcloud/backport/51477/stable30
[stable30] fix(profile): allow to unset phone number
2025-03-22 17:35:16 +01:00
nextcloud-command 91aee188f4 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-22 16:20:40 +00:00
Ferdinand Thiessen 72ab2275d4 fix(profile): allow to reset phone number
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-22 17:17:06 +01:00
Sebastian Krupinski e5ee50e7f4 Merge pull request #51325 from nextcloud/backport/51216/stable30
[stable30] fix: remote account activity translation
2025-03-22 13:16:30 +00:00
SebastianKrupinski d177d9619e fix:remote account activity translation
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-03-22 08:20:15 -04:00
Sebastian Krupinski 03a56d09ae Merge pull request #51467 from nextcloud/backport/51441/stable30
[stable30] fix(CalDav): alter invitation attachment filename and type
2025-03-22 12:13:48 +00:00
Nextcloud bot 9e4497efcb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-22 00:22:13 +00:00
SebastianKrupinski b9247bba94 fix(CalDav): alter invitation attachment filename and type
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-03-21 16:46:11 -04:00
Hamza Mahjoubi e55a375ae3 fix(cardav): only show useres from enabled addressBooks in contacts menu
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2025-03-21 15:14:46 +01:00
Nextcloud bot 21fd8b197c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-21 00:23:14 +00:00
Git'Fellow 873ed75660 Merge pull request #51570 from nextcloud/backport/49761/stable30
[stable30] fix: skip transfering shares that we can't find
2025-03-20 12:12:30 +01:00
Robin Appelman 67d16684c7 fix: skip transfering shares that we can't find
Signed-off-by: Robin Appelman <robin@icewind.nl>

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-03-20 10:04:18 +01:00
Ferdinand Thiessen 00465dc941 Merge pull request #51584 from nextcloud/backport/48793/stable30
[stable30] fix: log which file cannot be opened
2025-03-20 09:56:19 +01:00
Nextcloud bot 8d874b7fe3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-20 00:23:39 +00:00
Daniel Kesselberg 590c6a7d4b fix: skip caching lastSeenQuotaUsage for remote shares
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-03-19 23:32:09 +01:00
grnd-alt 5a44597abb feat: improve occ file:transfer-ownership logging
Signed-off-by: grnd-alt <github@belakkaf.net>
2025-03-19 23:23:23 +01:00
Andy Scherzinger 27e1a48426 Merge pull request #51473 from nextcloud/backport/51469/stable30
[stable30] fix(files_sharing): ensure share status action works also in grid view
2025-03-19 23:14:56 +01:00
nextcloud-command 0b96bb04f1 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-19 21:55:23 +00:00
Ferdinand Thiessen be82a4e502 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:51:32 +01:00
Robin Appelman e5cca48be6 fix: log which file cannot be opened
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-03-19 14:16:15 +00:00
Arthur Schiwon a532737e89 Merge pull request #51576 from nextcloud/release/30.0.8
30.0.8
2025-03-19 12:52:08 +01:00
Arthur Schiwon e205cb1bbf build(hub): 30.0.8
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-03-19 11:40:44 +01:00
Nextcloud bot 962e5140ff Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-19 00:22:59 +00:00
Benjamin Gaussorgues 10376ebd73 Merge pull request #51551 from nextcloud/release/30.0.8_rc1
30.0.8 RC1
2025-03-18 11:36:44 +01:00
Benjamin Gaussorgues 7c1c43c307 Merge pull request #51548 from nextcloud/backport/51544/stable30
[stable30] fix(auth): Allow 2FA challenges for Ephemeral sessions
2025-03-18 11:18:31 +01:00
Benjamin Gaussorgues bbf2ed5b4a build(hub): 30.0.8 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-03-18 10:20:39 +01:00
Joas Schilling 4c2877da2f fix(auth): Allow 2FA challenges for Ephemeral sessions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-18 09:16:46 +00:00
Andy Scherzinger 0446b1b64a Merge pull request #51274 from nextcloud/backport/51148/stable30
[stable30] fix(files): also show file list headers on empty views
2025-03-18 07:33:02 +01:00
Git'Fellow 4b73246047 Merge pull request #51535 from nextcloud/backport/51333/stable30
[stable30] fix(files): Make sure file pointer exists
2025-03-18 07:29:41 +01:00
Nextcloud bot 430e23ccb2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-18 00:24:08 +00:00
Joas Schilling 2fd9978ece Merge pull request #51370 from nextcloud/backport/51361/stable30
[stable30] fix(base.php): Correct order for booting \OC\Server
2025-03-17 21:11:56 +01:00
Ferdinand Thiessen ec33afb781 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-17 19:37:37 +00:00
Ferdinand Thiessen 4d9e4d8bcf test: fix CI when running Karma tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-17 20:33:46 +01:00
Ferdinand Thiessen 985764152f 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-17 19:41:41 +01:00
Git'Fellow 552c5e8cef fix(files): Make sure file pointer exists
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-03-17 16:04:47 +00:00
Joas Schilling 401c051ba7 Merge pull request #51518 from nextcloud/ci/noid/3rdparty-30
[stable30] ci: Update 3rdparty actions
2025-03-17 12:21:39 +01:00
Joas Schilling 878f57c395 ci: Update 3rdparty actions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-17 11:33:23 +01:00
Louis b6cf9d5f74 Merge pull request #51303 from nextcloud/backport/51302/stable30
[stable30] test: Remove `.only()` calls
2025-03-17 10:28:11 +01:00
Nextcloud bot a2e4a86eff Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-17 00:23:01 +00:00
Nextcloud bot fb89724ed7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-16 00:23:55 +00:00
Nextcloud bot 32762ea629 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-15 00:23:46 +00:00
Nextcloud bot 9dc1983cf5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-14 00:23:33 +00:00
Ferdinand Thiessen 2ab9b4878a Merge pull request #51436 from nextcloud/backport/51434/stable30
[stable30] fix(mime-types): adjust compiled mime types and sign
2025-03-13 21:47:34 +01:00
Arthur Schiwon 5dd6bf7d21 Merge pull request #51461 from nextcloud/release/30.0.7
30.0.7
2025-03-13 16:32:04 +01:00
Arthur Schiwon 4ab55c99b0 build(hub): 30.0.7
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-03-13 14:38:12 +01:00
Nextcloud bot e3afcbe4d4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-13 00:23:18 +00:00
Ferdinand Thiessen 86d2c5cbc8 fix(mime-types): adjust compiled mime types and sign
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-12 15:29:25 +01:00
Arthur Schiwon ae800a500c Merge pull request #51429 from nextcloud/release/30.0.7_rc2
30.0.7 RC2
2025-03-12 14:34:22 +01:00
Arthur Schiwon 4e527f2836 build(hub): 30.0.7 RC2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-03-12 11:52:29 +01:00
John Molakvoæ 4860967c8a Merge pull request #51416 from nextcloud/backport/51384/stable30
[stable30] fix(lookup-server): Only flag new users for lookup update / delete
2025-03-12 11:14:32 +01:00
John Molakvoæ a5c74cfb17 Merge pull request #51412 from nextcloud/backport/51405/stable30
[stable30] fix(mimetypes): drop `tar.gz` and `tar.bz2` and adjust `tgz`
2025-03-12 09:26:19 +01:00
Ferdinand Thiessen 16ef867418 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:04:53 +00:00
Andy Scherzinger 6596946df9 Merge pull request #51401 from nextcloud/backport/51379/stable30
[stable30] fix(AppDiscover): Strip double-quotes from folder name
2025-03-12 08:58:05 +01:00
Ferdinand Thiessen 2e9fadfcd5 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:17 +00:00
Nextcloud bot 34003a026a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-12 00:23:34 +00:00
Andy Scherzinger 4628e3f8d9 Merge pull request #51393 from nextcloud/backport/51320/stable30
[stable30] fix(external_storage): fix settings save
2025-03-12 00:55:57 +01:00
nextcloud-command a94fa443f7 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-12 00:28:29 +01:00
skjnldsv 4db27972ab fix(external_storage): fix settings save
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-12 00:28:29 +01:00
Andy Scherzinger d52e98313b Merge pull request #51406 from nextcloud/backport/51404/stable30
[stable30] fix(lookup-server): disable when not using global scale
2025-03-11 23:16:05 +01:00
Ferdinand Thiessen 4e81dc4df2 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-11 21:52:07 +01:00
Ferdinand Thiessen c0003fbd9c fix(lookup-server): disable lookup server for non-global scale setups
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-11 21:52:07 +01:00
Ferdinand Thiessen 7d3047f5cb fix(lookup-server): do not query data by default
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-11 21:46:55 +01:00
Ferdinand Thiessen 045f1d210a fix(lookup-server): do not upload data by default
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-11 21:46:20 +01:00
Git'Fellow 659cdda841 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:30:16 +00:00
provokateurin f4f236bdf7 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:46:24 +00:00
Nextcloud bot 4318455bbd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-11 00:23:15 +00:00
Joas Schilling 2ae64efd52 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:33:16 +00:00
Nextcloud bot a45ab8a748 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-10 00:23:08 +00:00
Nextcloud bot 2f6ff96cf4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-09 00:23:27 +00:00
Nextcloud bot ca86ea1eab Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-08 00:22:33 +00:00
Nextcloud bot d4027abcaa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-07 00:23:49 +00:00
John Molakvoæ 942388fd70 Merge pull request #51241 from nextcloud/release/30.0.7_rc1
30.0.7 RC1
2025-03-06 15:43:32 +01:00
max-nextcloud be312b5426 Merge pull request #50691 from nextcloud/backport/50567/stable30
[stable30] Add LDAP test settings command
2025-03-06 12:52:06 +01:00
John Molakvoæ 8cfb2eb17d Merge pull request #51261 from nextcloud/skjnldsbot/dep-upload-stable30
[stable30] chore(deps): update `@nextcloud/upload` to 1.9.0
2025-03-06 12:15:31 +01:00
Louis Chemineau db9db0beec test: Remove .only( calls
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-06 11:12:14 +00:00
nextcloud-command de7f330394 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-06 10:12:45 +00:00
skjnldsv dc6a2c594a chore(deps): update @nextcloud/upload to 1.9.0
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-06 11:05:27 +01:00
Nextcloud bot 8d049caf17 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-06 08:26:31 +00:00
Christoph Wurst dfac339b10 Merge pull request #51282 from nextcloud/backport/51258/stable30
[stable30] fix(dav): Use IUser::getDisplayName directly
2025-03-06 06:23:19 +01:00
Kate 89881bab08 Merge pull request #51231 from nextcloud/backport/51073/stable30
[stable30] feat: log query for dbal exceptions
2025-03-06 06:12:31 +01:00
Nextcloud bot 8d07327db6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-06 00:23:47 +00:00
Robin Appelman bcb13b1295 feat: log query for dbal exceptions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-03-05 22:52:28 +01:00
Christoph Wurst 776d9145b8 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 22:51:44 +01:00
Andy Scherzinger 08aa641883 Merge pull request #51285 from nextcloud/backport/51071/stable30
[stable30] fix(translation): Fix string concatenation in LDAP endpoint
2025-03-05 20:49:35 +01:00
Louis 0bfb2ff542 Merge pull request #51294 from nextcloud/backport/51280/stable30
[stable30] fix(login): Properly target public page with attribute
2025-03-05 18:45:18 +01:00
Louis Chemineau cc1a5e7c91 fix(login): Properly target public page with attribute
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-05 17:01:11 +00:00
Andy Scherzinger 7bbeae4c3c Merge pull request #51252 from nextcloud/backport/50989/stable30
[stable30] fix: Use case insensitive check when validating login name
2025-03-05 17:48:25 +01:00
Joas Schilling b9b9dc90e7 fix(l10n): Readd the space
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-05 17:08:18 +01:00
Côme Chilliet 11ce100818 feat(user_ldap): Add a --clearcache option to ldap:test-user-settings
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-05 17:01:27 +01:00
Côme Chilliet 779f2934b8 fix(user_ldap): Remove redundant if check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-05 17:01:27 +01:00
Côme Chilliet 8a39411147 feat(user_ldap): Add command test-user-settings to test LDAP user settings
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-05 17:01:27 +01:00
Côme Chilliet bbcb102262 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-03-05 17:01:27 +01:00
nextcloud-command 78ccbda381 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-05 15:59:34 +00:00
Joas Schilling 7abb5726ca fix(l10n): Fix leading spaces and unicode single quotes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-05 16:49:35 +01:00
Joas Schilling bc1c497abd fix(translation): Fix string concatenation in LDAP endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-05 16:49:11 +01:00
Andy Scherzinger 76486b7a20 Merge pull request #49840 from nextcloud/revert-49825-revert-49650-backport/49293/stable30
Revert "Revert "[stable30] fix: Handle copy of folders containing live photos""
2025-03-05 16:27:12 +01:00
Joas Schilling 31cbd6a138 Merge pull request #51272 from nextcloud/backport/51256/stable30
[stable30] fix(dav): Handle long absence status earlier
2025-03-05 15:52:50 +01:00
Louis Chemineau 6cbffb0b53 fix(test): Escape quotes in runOccCommand argument
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-05 15:04:44 +01:00
max-nextcloud 88408b6546 Merge pull request #50778 from nextcloud/backport/46114/stable30
[stable30] fix(user_ldap): Avoid extra LDAP request when mapping a user for the first time
2025-03-05 15:02:04 +01:00
Kate 6d3cf9c668 Merge pull request #51222 from nextcloud/backport/50852/stable30
[stable30] feat: Support deleting metadata from WebDAV
2025-03-05 14:57:51 +01:00
Côme Chilliet 9982e291e2 chore: composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-05 14:46:11 +01:00
Côme Chilliet 8717646cbf fix(user_ldap): Fix user_ldap tests by mocking new method exists in manager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-05 14:46:11 +01:00
Côme Chilliet 17a680c225 fix(user_ldap): Lowercase value for all attributes in configuration
Avoid surprises by making sure these are lowercased apart from
 documented special case user displayname.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-05 14:46:11 +01:00
Côme Chilliet a36bcd0d0b fix(ldap): Fix user_ldap attribute casing to fix tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-05 14:46:11 +01:00
Côme Chilliet 64ae882b49 fix(user_ldap): Correctly cache that user exists to avoid a request on mapping new user
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-05 14:46:11 +01:00
Côme Chilliet 41aadb5be8 fix(user_ldap): Avoid extra LDAP request when mapping a user for the first time
Avoids using several LDAP searches to get UUID, display name and
 internal name, now gets all attributes at the same time.
Also avoids extra request to build an unused user object in userExists.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-05 14:46:11 +01:00
Louis Chemineau 2d839d767a chore(tests): Fix using save/restore state in cypress
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-05 13:45:23 +01:00
Louis Chemineau bb010b233b test: Expose set and getVariable in Cypress tests
Partial cherry pick of 4a90d5328

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-05 13:45:23 +01:00
Louis acf19f7880 Revert "Revert "[stable30] fix: Handle copy of folders containing live photos""
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-05 13:45:23 +01:00
Louis Chemineau 009a7a3368 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-05 13:39:40 +01:00
Louis e2f24ef92a Merge pull request #51281 from nextcloud/artonge/fix/data-cy-files-action
[stable30] fix(test): Add missing data-cy attribute for file actions
2025-03-05 13:39:26 +01:00
Kate 60821a790d Merge pull request #51277 from nextcloud/backport/51259/stable30
[stable30] fix(files): Don't do session related work in the constructor of the View
2025-03-05 13:27:54 +01:00
Louis Chemineau 5e49e75a15 fix(test): Add missing data-cy attribute for file actions
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-05 12:12:51 +00:00
Marcel Müller c6ca459b40 fix: No IFactory in constructor
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-03-05 11:34:03 +00:00
Joas Schilling 259919e9fd fix(files): Don't do session related work in the constructor of the View
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-05 11:34:03 +00:00
Ferdinand Thiessen 432d95e5d3 Merge pull request #51238 from nextcloud/backport/51229/stable30
[stable30] fix(lookup_server_connector): correctly handle account properties
2025-03-05 11:26:48 +01:00
Christoph Wurst 31deaf0ee1 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:02:55 +00:00
Ferdinand Thiessen a4e9644410 test: fix cypress files trashbin tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-05 10:37:46 +01:00
Cleopatra Enjeck M. 22fa59b378 fix: use mb_strtolower to convert login name
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-05 06:20:52 +00:00
Cleopatra Enjeck M. 9dbf067f31 fix: Improve string comparison
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-05 06:20:52 +00:00
Cleopatra Enjeck M. dc68d66945 fix: Use case insensitive check when validating login name
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-05 06:20:52 +00:00
Nextcloud bot 03a5f923c0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-05 00:22:58 +00:00
Arthur Schiwon 15bf668f3e build(hub): 30.0.7 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-03-04 19:14:03 +01:00
AbangTor da6736b503 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
Stephan Orbaugh 34bd751923 Merge pull request #51202 from nextcloud/backport/51194/stable30
[stable30] refactor(TempManager): Simplify and unify implementations and remove legacy behavior
2025-03-04 10:20:00 +01:00
Stephan Orbaugh 17f9f29dc7 Merge pull request #51205 from nextcloud/backport/51000/stable30
[stable30] fix(FederatedShareProvider): Delete external shares when groups are deleted or users removed from a group
2025-03-04 10:19:33 +01:00
provokateurin 46cec25801 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:58:50 +01:00
provokateurin 194f5eae1e fix(Share20\Manager): Propagate user and group deletion to remote share providers
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 07:58:21 +01:00
provokateurin 7b5c9feca1 fix(Share20): Convert broken hooks to IEventListener
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 07:58:21 +01:00
provokateurin 552eb2678f refactor(TempManager): Simplify and unify implementations and remove legacy behavior
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 07:49:20 +01:00
Nextcloud bot 745b72b0c5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-04 00:23:44 +00:00
Andy Scherzinger 5b2331d790 Merge pull request #51209 from nextcloud/backport/51146/stable30
[stable30] fix(files_trashbin): disable bulk download for trashbin
2025-03-03 21:36:18 +01:00
Ferdinand Thiessen d76e70c8d3 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-03 17:37:34 +01:00
Ferdinand Thiessen bd280f759b fix(files_trashbin): disable bulk download for trashbin
The backend does not allow bulk download within the trashbin,
so we need to disable this also on the frontend.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-03 17:36:18 +01:00
Andy Scherzinger f69a4ff407 Merge pull request #51089 from nextcloud/backport/51051/stable30
[stable30] feat: Close sessions created for login flow v2
2025-03-03 15:25:50 +01:00
Ferdinand Thiessen c5d59339fe Merge pull request #50934 from nextcloud/backport/50918/stable30
[stable30] fix(files_sharing): Map sharee information for `shared-by-you` view
2025-03-03 15:15:19 +01:00
nextcloud-command 091605aae9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-03 13:39:13 +00:00
Ferdinand Thiessen 572b12439b fix(files_sharing): Map sharee information for shared-by-you view
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-03 14:24:18 +01:00
Ferdinand Thiessen 841cad5670 Merge pull request #51127 from nextcloud/backport/50881/stable30
[stable30] fix(dav): Handle end of stream in `File::put`
2025-03-03 14:16:49 +01:00
Louis Chemineau 0c809ccc7f fix(login): Support subfolder install for ephemeral sessions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 11:42:43 +01:00
Louis Chemineau a25a8f4f53 fix(login): Also check legacy annotation for ephemeral sessions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 11:42:43 +01:00
Louis Chemineau 9141eb473f feat: Close sessions created for login flow v2
Sessions created during the login flow v2 should be short lived to not leave an unexpected opened session in the browser.

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

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

[skip ci]

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 11:38:03 +01:00
Ferdinand Thiessen 01663e67ec fix(dav): Handle end of stream in File::put
If the stream is aborted and the callback wrapper returns false (or
null as it happened in some cases), we should not try to write to the
storage but abort the operation.

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

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

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

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-01 02:36:28 +00:00
Nextcloud bot 63b99d8c13 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-01 00:45:21 +00:00
Nextcloud bot bc807f7d35 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-28 00:23:37 +00:00
Joas Schilling 74f280a243 Merge pull request #51119 from nextcloud/backport/33545/stable30
[stable30] make it possible to run occ as root
2025-02-27 22:46:16 +01:00
Frank Karlitschek c6bb5f102e fix(occ): Make it possible to run as root
Signed-off-by: Frank Karlitschek <karlitschek@users.noreply.github.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-27 21:23:49 +00:00
provokateurin e7f7bb3915 fix(files_external): Move definition parameter to the correct place
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-02-27 14:25:10 +00:00
Nextcloud bot 62aa5a8214 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-27 00:22:41 +00:00
Joas Schilling 812a4d519e Merge pull request #51057 from nextcloud/backport/51049/stable30
[stable30] fix(l10n): Improve english source strings
2025-02-26 16:20:14 +01:00
nextcloud-command 898c7c644d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-26 14:21:59 +00:00
Louis 07f3a855c6 Merge pull request #51061 from nextcloud/backport/51050/stable30
[stable30] fix: Report duplicated extra files in integrity check
2025-02-26 15:10:31 +01:00
Joas Schilling a5e6f46eb0 fix(l10n): Improve english source strings
- No leading/trailing whitespace
- Use asci single quote

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

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

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-26 13:25:16 +00:00
Joas Schilling 5498f99b11 Merge pull request #51046 from nextcloud/automated/noid/stable30-update-ca-cert-bundle
[stable30] fix(security): Update CA certificate bundle
2025-02-26 08:50:09 +01:00
nextcloud-command 6bb0db88ca fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-02-26 02:31:16 +00:00
Nextcloud bot 6a92fc0eae Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-26 00:22:03 +00:00
Maksim Sukharev 3262ca0649 Merge pull request #50997 from nextcloud/backport/50956/stable30 2025-02-25 17:34:58 +01:00
Louis ff494f56dc Merge pull request #51024 from nextcloud/backport/50903/stable30
[stable30] fix(files_versions): Do not expire versions newer than min age
2025-02-25 17:22:16 +01:00
nextcloud-command 581abe3cdd chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-25 16:08:16 +00:00
Maksim Sukharev 4a7531ea0f fix: wipe local storages on log out
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-02-25 16:59:07 +01:00
Louis Chemineau 28959970dc fix(files_versions): Do not expire versions newer than min age
The auto expire logic does not take into account the min retention age set by the admin. So versions were eagerly deleted.

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

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-25 15:03:13 +00:00
Côme Chilliet 5c0af8565c Merge pull request #51016 from nextcloud/backport/50874/stable30
[stable30] fix: Initialize lastConnectionCheck after first connection
2025-02-25 16:01:34 +01:00
Louis Chemineau d3b4b21e29 fix: Initialize lastConnectionCheck after first connection
We are checking whether the DB connection is alive once every 30 seconds. But when we are lacking the last check time, we are skipping the check and reconnect logic. This is causing the reconnect logic to never fire in those cases.

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

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

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 b80f386be4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-25 00:21:46 +00:00
Nextcloud bot 26957e8a79 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-24 21:01:18 +00:00
Andy Scherzinger 62223af192 Merge pull request #51002 from nextcloud/backport/50958/stable30
[stable30] Fix: NotFoundException for anonymous users
2025-02-24 21:25:04 +01:00
dependabot[bot] 9fa48aed77 Merge pull request #50966 from nextcloud/dependabot/npm_and_yarn/stable30/nextcloud/cypress-1.0.0-beta.14 2025-02-24 20:06:49 +00:00
Andy Scherzinger b7e8bf8d6c Merge pull request #50965 from nextcloud/dependabot/npm_and_yarn/stable30/cypress-split-1.24.14
chore(deps-dev): bump cypress-split from 1.24.11 to 1.24.14
2025-02-24 21:04:43 +01:00
dependabot[bot] c8be2ca7c7 chore(deps-dev): bump @nextcloud/cypress
Bumps [@nextcloud/cypress](https://github.com/nextcloud/nextcloud-cypress) from 1.0.0-beta.13 to 1.0.0-beta.14.
- [Release notes](https://github.com/nextcloud/nextcloud-cypress/releases)
- [Commits](https://github.com/nextcloud/nextcloud-cypress/compare/v1.0.0-beta.13...v1.0.0-beta.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 19:50:20 +00:00
dependabot[bot] 5c88246c35 chore(deps-dev): bump cypress-split from 1.24.11 to 1.24.14
Bumps [cypress-split](https://github.com/bahmutov/cypress-split) from 1.24.11 to 1.24.14.
- [Release notes](https://github.com/bahmutov/cypress-split/releases)
- [Commits](https://github.com/bahmutov/cypress-split/compare/v1.24.11...v1.24.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 20:48:50 +01:00
Andy Scherzinger aa0a1797da Merge pull request #50969 from nextcloud/dependabot/npm_and_yarn/stable30/nextcloud/eslint-config-8.4.2
chore(deps-dev): bump @nextcloud/eslint-config from 8.4.1 to 8.4.2
2025-02-24 20:47:34 +01:00
nextcloud-command 3bd24ba401 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-24 19:32:30 +00:00
dependabot[bot] e3befb8df2 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>
2025-02-24 20:27:29 +01:00
Kate 88c506e31e Merge pull request #51004 from nextcloud/backport/50985/stable30 2025-02-24 20:03:41 +01:00
Ferdinand Thiessen d3dbe3ab2c refactor: convert sanitize account properties repair step to background job
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-24 16:44:49 +01:00
Ferdinand Thiessen bb73628ebe fix: Optimize repair step performance
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-24 16:42:45 +01:00
Ferdinand Thiessen 9fdd48dd2d fix: validate account properties as a repair step
Replace `ValidatePhoneNumber` from Nextcloud 21 with a new repair step,
`ValidateAccountProperties` which validates and sanitizes all account
properties.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-24 16:42:44 +01:00
Kostiantyn Miakshyn 3012a87bac Fix: NotFoundException for anonymous users
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
2025-02-24 15:13:48 +00:00
Nextcloud bot c4467ba1e4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-24 00:22:12 +00:00
dependabot[bot] 0733816c1d Merge pull request #50967 from nextcloud/dependabot/npm_and_yarn/stable30/libphonenumber-js-1.11.20 2025-02-23 13:45:28 +00:00
dependabot[bot] bec6021721 chore(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>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-23 13:29:12 +00:00
Nextcloud bot c25c45cc34 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-23 00:22:14 +00:00
Nextcloud bot efd8072040 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-22 00:22:10 +00:00
John Molakvoæ d13c7d1d61 Merge pull request #50947 from nextcloud/backport/50943/stable30 2025-02-21 14:33:54 +01:00
skjnldsv 2b844498da fix(cypress): selection key event trigger
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-21 14:17:52 +01:00
Joas Schilling bb2291d6d7 Merge pull request #50952 from nextcloud/backport/50949/stable30
[stable30] ci(autochecks): Run some autochecks also on non-PHP files
2025-02-21 14:11:50 +01:00
skjnldsv f0f1f53378 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-21 14:07:13 +01:00
skjnldsv e5c55bf562 fix(files): handle failed node properly
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-21 14:07:13 +01:00
John Molakvoæ 516a2fbb9a Merge pull request #50945 from nextcloud/backport/50930/stable30 2025-02-21 14:02:10 +01:00
Joas Schilling 03b3773c91 ci(autochecks): Run some autochecks also on non-PHP files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-21 13:48:48 +01:00
John Molakvoæ 356db0f6ec Merge pull request #50914 from nextcloud/chore/stable30-vue_8_23_1
[stable30] Update `@nextcloud/vue` to v8.23.1
2025-02-21 12:56:17 +01:00
Ferdinand Thiessen fcce38441f chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-21 12:50:57 +01:00
Ferdinand Thiessen 534f49f9fe chore(deps): Update @nextcloud/vue to v8.23.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-21 12:49:16 +01:00
John Molakvoæ b9f2926e9d Merge pull request #50940 from nextcloud/backport/50053/stable30
[stable30] fix: Change UserAgent to *cloud
2025-02-21 12:34:04 +01:00
John Molakvoæ de4a157de7 Merge pull request #50948 from nextcloud/backport/50946/stable30
[stable30] fix(l10n): Fix triple dot in translation
2025-02-21 12:28:51 +01:00
nextcloud-command 67ad65a81a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-21 11:21:01 +00:00
Joas Schilling 7914ee8e18 fix(l10n): Fix triple dot in translation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-21 11:04:46 +00:00
skjnldsv e601503000 fix(cypress): opendetails tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-21 09:55:23 +00:00
Johannes Endres b61ae01c52 fix: Change UserAgent to *cloud
Co-authored-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Johannes Endres <je@johannes-endres.de>
2025-02-21 09:29:26 +00:00
John Molakvoæ 306fa8da91 Merge pull request #50931 from nextcloud/backport/50910/stable30 2025-02-21 10:11:04 +01:00
nextcloud-command d84cd4fe65 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-21 09:54:04 +01:00
skjnldsv 0394037b80 fix(cypress): action selector menu lookup
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-21 09:54:04 +01:00
skjnldsv 01ffa31328 chore(cypress): also log the current server image sha
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

[skip ci]
2025-02-21 09:54:04 +01:00
skjnldsv 47cde4cf23 fix(files_external): inline storage check improvements
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-21 09:54:03 +01:00
skjnldsv 05f3f2dbb7 chore(files_external): add cypress tests for user credentials action
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-21 09:54:03 +01:00
Nextcloud bot fb5f90782b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-21 00:22:05 +00:00
skjnldsv 84eaba63a8 fix(files_external): request strict password auth on credentials enter action
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-20 20:40:03 +00:00
Ferdinand Thiessen 8c2177193e Merge pull request #50925 from nextcloud/backport/50922/stable30
[stable30] fix(files_sharing): Also list deleted team shares
2025-02-20 16:36:18 +01:00
Ferdinand Thiessen 7f8f8aa9d2 fix(files_sharing): Also list deleted team shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-20 15:00:43 +00:00
Nextcloud bot 3803fc5481 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-20 00:22:24 +00:00
Joas Schilling 0598fd74cd Merge pull request #50900 from nextcloud/backport/50896/stable30
[stable30] fix(cron): Keep job class limitation when searching for the next job
2025-02-19 13:34:00 +01:00
Ferdinand Thiessen f448d24507 Merge pull request #50877 from nextcloud/backport/50807/stable30
[stable30] fix(files): properly forward open params from short urls
2025-02-19 12:42:50 +01:00
Andy Scherzinger f425dee9f8 Merge pull request #50891 from nextcloud/backport/50820/stable30
[stable30] fix(files_sharing): Fix public share expiration being set when toggle is not enabled
2025-02-19 12:40:05 +01:00
nextcloud-command 1546873581 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-19 11:18:47 +00:00
Christopher Ng ac40896ba0 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:05:48 +01:00
Kate 4c6c93dc84 Merge pull request #50862 from nextcloud/backport/50860/stable30
[stable30] fix(activity): Fix activity parameter types
2025-02-19 11:46:14 +01:00
Joas Schilling 50a6f2540c fix(activity): Fix activity parameter types
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-19 10:40:41 +01:00
skjnldsv 461bf180d5 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-19 10:30:44 +01:00
Joas Schilling 2d1bfad11e fix(cron): Keep job class limitation when searching for the next job
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-19 09:27:50 +00:00
skjnldsv b2501601b8 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-19 10:13:55 +01:00
skjnldsv 145d3fd1a7 fix(files): properly show file not found error
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

[skip ci]
2025-02-19 10:13:55 +01:00
skjnldsv 137ff37cf8 fix(files): properly forward open params from short urls
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-19 10:13:55 +01:00
Nextcloud bot 78f532dd31 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-19 00:21:59 +00:00
Ferdinand Thiessen bcf07e9860 Merge pull request #50888 from nextcloud/backport/50814/stable30
[stable30] fix(systemtags): do not hide if no tags
2025-02-18 21:39:15 +01:00
skjnldsv 0532c49e74 fix(systemtags): do not hide if no tags
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-02-18 19:14:06 +01:00
Andy Scherzinger 6de6f5aad4 Merge pull request #50295 from nextcloud/backport/49261/stable30
[stable30] fix(files): Properly reset all file list filters on view change
2025-02-18 13:33:25 +01:00
Ferdinand Thiessen 301f0cf349 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-18 12:36:48 +01:00
Ferdinand Thiessen d693dc9a00 fix(files): Properly reset all file list filters on view change
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-18 12:34:11 +01:00
Nextcloud bot 6f30c32aca Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-18 00:22:14 +00:00
Andy Scherzinger 682c8e6a61 Merge pull request #50796 from nextcloud/backport/50781/stable30
[stable30] perf(files): faster query to fetch incomplete directories
2025-02-17 19:15:58 +01:00
Julien Veyssier 9951f2fffa Merge pull request #50853 from nextcloud/backport/50816/stable30
[stable30] fix(transferownership): Allow searching new owner by email
2025-02-17 13:26:51 +01:00
nextcloud-command d3cac18467 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-17 11:57:15 +00:00
Julien Veyssier 741c0f3cda 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:51:22 +01:00
Ferdinand Thiessen da03156559 Merge pull request #50849 from nextcloud/backport/50798/stable30
[stable30] fix(login): only show error state on login box if user interacted
2025-02-17 12:40:55 +01:00
Ferdinand Thiessen 981f3f2025 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-17 12:24:45 +01:00
Ferdinand Thiessen 72d48de6eb fix(login): only show error state on login box if user interacted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-17 11:00:43 +00:00
Git'Fellow 01667ff2ba Merge pull request #50813 from nextcloud/backport/50769/stable30
[stable30] fix(SharedStorage): Check if storage ID is set on cache
2025-02-17 10:01:10 +01:00
Andy Scherzinger d0b39d1955 Merge pull request #50803 from nextcloud/backport/50784/stable30
[stable30] fix: Fix regression in calendar invitation sending
2025-02-17 09:31:31 +01:00
Nextcloud bot 38bbc4984a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-17 00:21:58 +00:00
dependabot[bot] 405750cb87 Merge pull request #50825 from nextcloud/dependabot/npm_and_yarn/stable30/nextcloud/files-3.10.2 2025-02-17 00:00:07 +00:00
nextcloud-command 015fdd1a08 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-16 23:46:07 +00:00
Andy Scherzinger 52034786a3 Merge pull request #50826 from nextcloud/dependabot/npm_and_yarn/stable30/cypress-split-1.24.11
chore(deps-dev): bump cypress-split from 1.24.9 to 1.24.11
2025-02-16 23:43:35 +01:00
Nextcloud bot dee06977e9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-16 00:45:10 +00:00
Daniel 88b43178cb Merge pull request #49481 from nextcloud/backport/49004/stable30
[stable30] Bug/48678/restore dav error response
2025-02-15 16:50:32 +01:00
Git'Fellow 9cd0b43542 Merge pull request #50837 from nextcloud/backport/50809/stable30
[stable30] fix(repair): PHP8.3 deprecation warning
2025-02-15 16:05:16 +01:00
Robin Appelman 6cec3eef49 fix: use relative paths for upload locks
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-15 14:42:51 +01:00
Robin Appelman 33fb176651 fix: make locked exception path relative to the view
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-15 14:42:51 +01:00
Daniel Kesselberg d7b1ecb881 fix: Replace the TypeError to prevent exposing the installation path
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-02-15 14:42:51 +01:00
Daniel Kesselberg e8a5e0c392 Revert "fix(dav): Always respond custom error page on exceptions"
This reverts commit 9992e7d439.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-02-15 14:42:51 +01:00
Daniel Kesselberg cd296eb807 Revert "fix: Drop unnecessary exit"
This reverts commit d2bf3613f6.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-02-15 14:42:51 +01:00
Daniel Kesselberg 44ad5793a3 Revert "fix: Override start method of \Sabre\DAV\Server to remove exception output"
This reverts commit e202896a74.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-02-15 14:42:51 +01:00
Git'Fellow 4a8bea67c7 fix(repair): PHP8.3 deprecation warning
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-02-15 11:08:58 +00:00
dependabot[bot] f27b74ba52 chore(deps-dev): bump cypress-split from 1.24.9 to 1.24.11
Bumps [cypress-split](https://github.com/bahmutov/cypress-split) from 1.24.9 to 1.24.11.
- [Release notes](https://github.com/bahmutov/cypress-split/releases)
- [Commits](https://github.com/bahmutov/cypress-split/compare/v1.24.9...v1.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 02:28:36 +00:00
dependabot[bot] 5a016bb9c9 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>
2025-02-15 02:27:19 +00:00
Nextcloud bot edff281844 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-15 00:22:09 +00:00
Git'Fellow 59a0bc9982 fix(SharedStorage): Check if storage ID is set on cache
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-02-14 17:54:02 +01:00
Benjamin Gaussorgues 765b4921ff perf(files): faster query to fetch incomplete directories
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-02-14 10:57:26 +01:00
Andy Scherzinger 7bf1126b1f Merge pull request #49657 from nextcloud/backport/48769/stable30
[stable30] Fix incorrect permissions when copying shared files
2025-02-14 10:30:46 +01:00
Andy Scherzinger 0c7ddb3dab Merge pull request #50804 from nextcloud/backport/48651/stable30
[stable30] fix(files): Correctly copy the cache information during copy operations
2025-02-14 07:40:30 +01:00
Nextcloud bot 213d38f510 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-14 00:22:20 +00:00
Louis Chemineau b1cbeff17c test(View): Copy preserves content
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-13 23:35:59 +00:00
Louis Chemineau a663b3e0cd fix(files): Correctly copy the cache information on copy operations
Needed to copy the `encrypted` flag of encrypted files when those files are two level down in a moved folder.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-13 23:35:59 +00:00
SebastianKrupinski 978f0f542b fix: Fix regression in calendar invitation sending
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-02-13 20:11:28 +00:00
Robin Appelman 449ac364b3 test: add test for permissions of copied share
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-13 18:17:31 +01:00
Robin Appelman 9f1666ef3d fix: use scan_permissions when copying cache items
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-13 18:17:31 +01:00
Robin Appelman 5c9a3a2423 fix: store unmaked source permissions as scan_permissions when loading share cache items
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-13 18:17:31 +01:00
Andy Scherzinger 393eba8ea8 Merge pull request #49802 from nextcloud/backport/48235/stable30
[stable30] test: re-add object store primary storage phpunit tests
2025-02-13 18:16:46 +01:00
Robin Appelman b9ac12466e test: re-add object store primary storage phpunit tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-13 17:31:51 +01:00
Robin Appelman da334737e4 fix: rework move into object store to better preserve fileids
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-13 17:31:51 +01:00
Robin Appelman 5a772da95e test: fix share storage move test with object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-13 17:31:51 +01:00
Robin Appelman e85d5df5f0 fix: preserve fileid when moving from objectstore to non-objectstore
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-13 17:31:51 +01:00
Robin Appelman 9fd7dfd1c2 fix: ensure source folder is removed from cache when moving to objectstore
otherwise this causes confusion down the line as it's contents will be moved to the new cache

Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-13 17:31:51 +01:00
Andy Scherzinger 35847fb2c1 Merge pull request #50682 from nextcloud/backport/50640/stable30
[stable30] fix(TaskProcessing\Manager): Always use distributed cache and use PHP serialize
2025-02-13 17:30:24 +01:00
Marcel Klehr befca3e4b9 fix(TaskProcessing\Manager): Always use distributed cache and use PHP serialize
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-02-13 16:44:10 +01:00
Marcel Klehr be1759fcdc fix(TaskProcessing\Manager): Always use distributed cache and use PHP serialize
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-02-13 16:44:10 +01:00
Andy Scherzinger 094ea5c885 Merge pull request #50761 from nextcloud/backport/50324/stable30
[stable30] fix: don't use cached root info from shared cache if the watcher has detected an update
2025-02-13 16:43:50 +01:00
Andy Scherzinger 6964531134 Merge pull request #50704 from nextcloud/backport/50660/stable30
[stable30] fix: make sure we process mime extensions as string
2025-02-13 16:42:50 +01:00
Andy Scherzinger 2af31ab059 Merge pull request #50706 from nextcloud/backport/50669/stable30
[stable30] fix(files): Do not download files with openfile query flag
2025-02-13 16:40:42 +01:00
Ferdinand Thiessen 29348efd00 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-13 16:04:40 +01:00
Ferdinand Thiessen 03e15b9297 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-13 16:00:03 +01:00
Benjamin Gaussorgues a560c3e97d Merge pull request #50771 from nextcloud/release/30.0.6
30.0.6
2025-02-13 14:48:49 +01:00
John Molakvoæ e87bca73d4 Merge pull request #50777 from nextcloud/backport/46480/stable30
[stable30] fix(Mailer): Fix sendmail binary fallback
2025-02-13 11:58:37 +01:00
John Molakvoæ b99af3a570 Merge pull request #50789 from nextcloud/backport/50602/stable30
[stable30] fix: template field title
2025-02-13 11:07:04 +01:00
Elizabeth Danzberger 018cdb305d chore: rebuild assets
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-02-13 10:34:05 +01:00
Elizabeth Danzberger 181586123b fix(template-filler): Hide template fields with unknown labels
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-02-13 10:32:21 +01:00
Nextcloud bot e8fbb315f8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-13 00:21:54 +00:00
Josh 431c6d0609 fix(Mailer): Fix sendmail binary fallback
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-02-12 13:23:11 +01:00
Benjamin Gaussorgues c60fac4fc4 build(hub): 30.0.6
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-02-12 11:32:43 +01:00
Nextcloud bot bfa0888217 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-12 00:22:42 +00:00
Benjamin Gaussorgues de65911102 Merge pull request #50755 from nextcloud/release/30.0.6_rc2
30.0.6 RC2
2025-02-11 17:48:57 +01:00
Robin Appelman 3bfcd8371b fix: don't use cached root info from shared cache if the watcher has detected an update
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-11 16:21:37 +01:00
Robin Appelman bec0932038 test: add test for shared storage root being changed after watcher
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-11 16:21:34 +01:00
Benjamin Gaussorgues 87d16486c8 build(hub): 30.0.6 RC2
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-02-11 11:35:22 +01:00
Joas Schilling 8e55a8f29c Merge pull request #50750 from nextcloud/backport/50735/stable30
[stable30] fix(setupcheck): Update setup check for PHP version to be more accurate
2025-02-11 11:34:59 +01:00
Nextcloud bot 4fc86201b3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-11 00:22:02 +00:00
Joas Schilling 37948c5127 fix(setupcheck): Update setup check for PHP version to be more accurate
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-10 18:46:56 +00:00
Nextcloud bot 6c7be99290 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-10 00:21:59 +00:00
Andy Scherzinger 4e6b445f4e Merge pull request #50725 from nextcloud/dependabot/npm_and_yarn/stable30/nextcloud/cypress-1.0.0-beta.13
[stable30] chore(deps-dev): bump @nextcloud/cypress from 1.0.0-beta.12 to 1.0.0-beta.13
2025-02-09 22:58:38 +01:00
dependabot[bot] f3cd366068 chore(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.13.
- [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.13)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-09 22:43:01 +01:00
Andy Scherzinger b71f21c157 Merge pull request #50726 from nextcloud/dependabot/npm_and_yarn/stable30/cypress-split-1.24.9
[stable30] chore(deps-dev): bump cypress-split from 1.24.7 to 1.24.9
2025-02-09 22:42:29 +01:00
nextcloud-command 7c4a798cd9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-09 21:25:41 +00:00
dependabot[bot] ae003b463e chore(deps-dev): bump cypress-split from 1.24.7 to 1.24.9
Bumps [cypress-split](https://github.com/bahmutov/cypress-split) from 1.24.7 to 1.24.9.
- [Release notes](https://github.com/bahmutov/cypress-split/releases)
- [Commits](https://github.com/bahmutov/cypress-split/compare/v1.24.7...v1.24.9)

---
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 22:21:17 +01:00
Nextcloud bot e3429afd43 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-09 00:21:59 +00:00
Andy Scherzinger 2447d53ee6 Merge pull request #50687 from nextcloud/backport/50666/stable30
[stable30] feat(theming): allow to disable standalone windows
2025-02-08 14:05:46 +01:00
Simon L 8cafed838d feat(theming): allow to disable standalone windows
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>

Signed-off-by: Simon L. <szaimen@e.mail.de>

Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2025-02-08 13:43:12 +01:00
Nextcloud bot 66d7e8a5b7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-08 00:21:57 +00:00
Andy Scherzinger ea612c5e70 Merge pull request #50699 from nextcloud/backport/50678/stable30
[stable30] fix(AccountProperty): better validation of twitter and fediverse handles
2025-02-07 13:47:30 +01:00
Ferdinand Thiessen 9b041ff2df chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-07 12:42:23 +01:00
Ferdinand Thiessen e046ce6858 fix(settings): Also sanitize fediverse and twitter handle in the frontend
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-07 12:42:23 +01:00
Ferdinand Thiessen 422655bf1e fix(provisioning_api): Correct limit for editUser
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-07 12:42:23 +01:00
Ferdinand Thiessen 96384cd950 fix(FediverseAction): Ensure valid fediverse links are generated
Harden also for existing values of the profile.

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

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-07 12:41:49 +01:00
Nextcloud bot ba60652b38 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-07 00:22:08 +00:00
Andy Scherzinger e65409e37a Merge pull request #50694 from nextcloud/backport/50655/stable30
[stable30] enh: Fix display default expire date, add tests & tiny refactors
2025-02-06 23:01:16 +01:00
nextcloud-command baafbc4b96 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-06 22:14:16 +01:00
nfebe b1a6a47843 fix(files_sharing): Update QuickShareSelect if share is modified
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-06 22:14:16 +01:00
nfebe 23e70a574e test(files_sharing): Check that default expiration date is shown b4 create share
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-06 22:14:16 +01:00
nfebe b4cc4efaf2 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 22:14:16 +01:00
nfebe 08426e0a8f refactor: Remove some deprecated containers and exceptions
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-06 22:14:12 +01:00
John Molakvoæ 86408a5be7 fix: psalm and OCP @since declarations
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-02-06 15:15:41 +00:00
skjnldsv 80a4cb586f fix: make sure we process mime extensions as string
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-06 15:15:41 +00:00
John Molakvoæ 3e932491b9 Merge pull request #50672 from nextcloud/release/30.0.6_rc1
30.0.6 RC1
2025-02-06 10:56:09 +01:00
John Molakvoæ 5839a58737 Merge pull request #50217 from nextcloud/backport/49898/stable30 2025-02-06 10:34:54 +01:00
John Molakvoæ 0e6f3ba02b Merge pull request #50676 from nextcloud/backport/50193/stable30
[stable30] fix(oauth2): adjust db schemas when migrating from owncloud
2025-02-06 10:23:39 +01:00
Andy Scherzinger dee14f40ca Merge pull request #50677 from nextcloud/backport/50582/stable30
[stable30] fix(files): Correctly scroll selected file into view
2025-02-06 07:32:17 +01:00
Nextcloud bot b34530166c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-06 00:22:10 +00:00
nextcloud-command 98b974e6c4 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-05 23:23:52 +00:00
Ferdinand Thiessen b5a3fc58fd test(files): Make scrolling tests independent from magic values
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-06 00:09:23 +01:00
Ferdinand Thiessen 5251b25f4e fix(files): Correctly scroll selected file into view
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-06 00:08:47 +01:00
Ferdinand Thiessen 4fd8440493 test: Add Cypress command for deleting files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-06 00:07:18 +01:00
Richard Steinmetz 2f4d646246 fix(oauth2): adjust db schemas when migrating from owncloud
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-02-05 21:18:45 +00:00
Andy Scherzinger 6d1211c434 Merge pull request #50670 from nextcloud/backport/50284/stable30
[stable30] chore: update icewind/smb to 3.7.0
2025-02-05 21:52:06 +01:00
Benjamin Gaussorgues e7c4e74d34 build(hub): 30.0.6 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-02-05 21:19:07 +01:00
Sebastian Krupinski 4446037aa4 Merge pull request #50059 from nextcloud/backport/49852/stable30
[stable30] fix: change translation logic to handle plurals better
2025-02-05 19:58:36 +00:00
Robin Appelman ad7c64d3a8 chore: update icewind/smb to 3.7.0
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-05 20:14:58 +01:00
Andy Scherzinger 09dba0c327 Merge pull request #50664 from nextcloud/chore/30-symfony
[stable30] chore(deps): Bump the symfony group with 3 updates
2025-02-05 20:08:08 +01:00
SebastianKrupinski 53bc29335d fix: change translation logic to handle plurals better
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-02-05 13:16:58 -05:00
Ferdinand Thiessen 9bac458230 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:41:44 +01:00
Andy Scherzinger 725e6e6a22 Merge pull request #50120 from nextcloud/backport/50111/stable30
[stable30] fix(dashboard): don't reload hidden widgets
2025-02-05 12:01:52 +01:00
nextcloud-command be70db506d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-05 10:42:51 +00:00
Richard Steinmetz e1a3bb6571 fix(dashboard): don't reload hidden widgets
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-02-05 11:32:23 +01:00
Andy Scherzinger c5a85dcc1b Merge pull request #50658 from nextcloud/backport/50657/stable30
[stable30] fix(theming): high contrast themes scrollbar
2025-02-05 11:02:30 +01:00
skjnldsv 8b14c72fbf fix(theming): high contrast themes scrollbar
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-05 09:04:27 +00:00
Andy Scherzinger 32e23c4816 Merge pull request #50163 from nextcloud/backport/49552/stable30
[stable30] fix: improve checks for moving shares/storages into other mounts
2025-02-05 09:38:35 +01:00
nextcloud-command 526dd4b578 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-05 08:14:50 +00:00
Robin Appelman 5d094feee0 fix: explicitly ignore nested mounts when transfering ownership
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-05 09:09:04 +01:00
Robin Appelman 6cf97e929b fix: translate mount move error messages
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-05 09:09:03 +01:00
Christopher Ng 2159fb04f4 feat(files): Display meaningful error message on move failure
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-05 09:09:03 +01:00
Robin Appelman 68829ad47c fix: improve checks for moving shares/storages into other mounts
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-05 09:08:58 +01:00
Nextcloud bot 6118649d54 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-05 00:22:05 +00:00
Ferdinand Thiessen 70ac79876a Merge pull request #50300 from nextcloud/backport/50220/stable30
[stable30] fix(files): Ensure favorites set in sidebar work
2025-02-04 22:04:15 +01:00
nextcloud-command 1589663797 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-04 21:14:41 +01:00
Ferdinand Thiessen 8d6139f17c fix(files): Ensure favorites set in sidebar work
When marking a file as favorite from within the sidebar make sure it
really works, this fixes two issues:
1. The source needs to be the plain source not URL encoded, as otherwise
   the source of the node would be encoded twice (and show with encoding
   in the navigation)
2. The store should also listen for the update events as the sidebar has
   no access to the real node to update it, instead the store should -
   as long as we only have the legacy sidebar - update the node when
   added or removed as favorite.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-04 21:14:40 +01:00
Ferdinand Thiessen 290d630cb7 Merge pull request #50646 from nextcloud/backport/50642/stable30
[stable30] fix(sharing): better handle file share attributes
2025-02-04 18:14:49 +01:00
Ferdinand Thiessen f9bd0ed462 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 16:22:11 +01:00
John Molakvoæ 3d9d99d103 Merge pull request #50478 from nextcloud/backport/49141/stable30 2025-02-04 15:36:39 +01:00
skjnldsv aa10d46bb6 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-02-04 15:17:15 +01:00
skjnldsv bc79917d3e feat(core): offer clipboard fallback for non-secure environments
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-04 15:17:15 +01:00
Andy Scherzinger 6cac474944 Merge pull request #49284 from nextcloud/backport/49225/stable30
[stable30] fix(files): ensure valid mtime and fallback to crtime if defined
2025-02-04 15:07:44 +01:00
nextcloud-command 9404ade6a6 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-04 13:48:39 +00:00
skjnldsv bdc4b770ae fix(files): ensure valid mtime and fallback to crtime if defined
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-04 13:46:36 +00:00
Nextcloud bot 63ca2d403b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-04 00:21:33 +00:00
F. E Noel Nfebe b9af883bba Merge pull request #50626 from nextcloud/backport/50260/stable30
[stable30] chore : Comprehensive e2e testing for public sharing
2025-02-03 17:48:50 +01:00
F. E Noel Nfebe 82470ce5e5 Merge pull request #50631 from nextcloud/backport/50592/stable30
[stable30] fix(unified-search): filteredProviders now inherits all provider props
2025-02-03 17:47:38 +01:00
nextcloud-command 13d6a26f34 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-03 16:33:17 +00:00
nextcloud-command feea4c396a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-03 16:26:56 +00:00
nfebe f5f7687f1a fix(files_sharing): Adjust wrong labeling identified by test
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-03 17:21:39 +01:00
nfebe e3b9135f1e 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 17:21:22 +01:00
nfebe b1c5637a87 feat: Add setup-public-share.ts
This addition enhances the testing framework for public sharing by
improving the setup and management of share contexts.

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 17:19:36 +01:00
nfebe ab9dbe048e 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 16:04:50 +00:00
Ferdinand Thiessen 6a55819e71 Merge pull request #50595 from nextcloud/backport/50424/stable30
[stable30] fix(settings): Clarify peculiarities of enabling encryption
2025-02-03 11:01:41 +01:00
Nextcloud bot 6dc8a85caf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-03 00:39:38 +00:00
Nextcloud bot 6c508f9d50 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-02 00:22:37 +00:00
dependabot[bot] 7bfcdabf5e Merge pull request #50615 from nextcloud/dependabot/npm_and_yarn/stable30/libphonenumber-js-1.11.19 2025-02-01 15:22:00 +00:00
dependabot[bot] 6ddead972b 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>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-01 15:08:10 +00:00
dependabot[bot] f6ebf7ed32 Merge pull request #50616 from nextcloud/dependabot/npm_and_yarn/stable30/moment-timezone-0.5.47 2025-02-01 14:45:52 +00:00
dependabot[bot] b9363741e2 chore(deps): bump moment-timezone from 0.5.46 to 0.5.47
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.46 to 0.5.47.
- [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.47)

---
updated-dependencies:
- dependency-name: moment-timezone
  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-02-01 14:31:38 +00:00
Nextcloud bot 259265bc6c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-01 00:22:05 +00:00
Ferdinand Thiessen b58e0727b9 Merge pull request #50554 from nextcloud/backport/50503/stable30
[stable30] fix(theming): Do not throw in background color migration
2025-01-31 20:54:32 +01:00
Ferdinand Thiessen 6d3bdbc568 fix(theming): Bump app version
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 20:29:53 +01:00
Ferdinand Thiessen a1c846bfb1 fix(theming): Do not throw in background color migration
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 20:29:53 +01:00
Ferdinand Thiessen c3c61021a3 Merge pull request #50549 from nextcloud/fix/30-oc-files
[stable30] fix(OC_Files): Fix error response when `event` was not set
2025-01-31 19:37:31 +01:00
Ferdinand Thiessen 72e5d6df75 fix(OC_Files): Fix error response when event was not set
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 19:17:22 +01:00
Ferdinand Thiessen 2f1d14a60a Merge pull request #50506 from nextcloud/backport/50270/stable30
[stable30] fix(files_sharing): Respect permissions passed when creating link shares
2025-01-31 18:47:29 +01:00
Ferdinand Thiessen 922b12452c test: Reset sharing app config after test
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 18:21:26 +01:00
Ferdinand Thiessen dd5ce9eaa4 fix(sharing): Move permission validation to share manager
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 18:21:26 +01:00
Ferdinand Thiessen ee5f5bc159 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-31 18:21:26 +01:00
Ferdinand Thiessen 201a7f0581 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 17:32:31 +01:00
Ferdinand Thiessen 7635412076 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:30:20 +01:00
F. E Noel Nfebe abfe64fbca Merge pull request #50588 from nextcloud/backport/50550/stable30
[stable30] fix: unified search provider id
2025-01-31 13:20:47 +01:00
nfebe 3324b10307 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:01:28 +00:00
SebastianKrupinski 405cd7627c 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:30 +00:00
Kate eef6ef3244 Merge pull request #50564 from nextcloud/backport/50530/stable30 2025-01-31 08:51:33 +01:00
Kate 13fc9516f9 Merge pull request #50572 from nextcloud/backport/50292/stable30 2025-01-31 08:50:40 +01:00
provokateurin 5c70e503d0 chore: Compile assets
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-31 08:19:16 +01:00
provokateurin 359477f9c8 fix(files_sharing): Only clear permissions of pending federated shares
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-31 08:19:16 +01:00
provokateurin 8a34e0552c fix(files): Allow opening the same file repeatedly
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-31 08:10:39 +01:00
Nextcloud bot 67f417b7ee Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-31 00:22:36 +00:00
Andy Scherzinger 0a747be20c Merge pull request #50574 from nextcloud/backport/50298/stable30
[stable30] fix: detect deleted items as updated for smb storage
2025-01-30 19:10:43 +01:00
Robin Appelman b1ee1b80d4 fix: detect deleted items as updated for smb storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-30 14:27:31 +00:00
John Molakvoæ ec266ac99c Merge pull request #50570 from nextcloud/backport/50524/stable30 2025-01-30 15:22:02 +01:00
skjnldsv 46d58ce207 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:23:43 +00:00
Nils Wenninghoff b21070090b fix(ConvertType): Read dbtype in createConnectionParams and remove safeguard
Signed-off-by: Nils Wenninghoff <nils@ungemein.cool>
2025-01-30 12:19:39 +01:00
Louis e84a12c6f6 Merge pull request #50559 from nextcloud/backport/50519/stable30
[stable30] fix: Exclude non accepted shares when computing access list
2025-01-30 12:09:06 +01:00
Louis Chemineau 9e6cc5737f fix: Exclude non accepted shares when computing access list
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-30 11:07:23 +01:00
Ferdinand Thiessen 1143f8b8cb Merge pull request #50539 from nextcloud/chore/phpseclib-30
[stable30] Bump phpseclib/phpseclib from 2.0.47 to 2.0.48
2025-01-30 01:11:50 +01:00
Ferdinand Thiessen 87b1f41e0d chore(deps): Bump phpseclib/phpseclib from 2.0.47 to 2.0.48
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-30 00:53:59 +01:00
Andy Scherzinger 93a0f036a9 Merge pull request #50527 from nextcloud/backport/50494/stable30
[stable30] fix(performance): use low resolution for blurhash
2025-01-29 22:02:07 +01:00
Andy Scherzinger 2d986d50d8 Merge pull request #50546 from nextcloud/backport/50514/stable30
[stable30] feat(S3): add SSE-C support in S3 External Storage
2025-01-29 20:50:55 +01:00
Richard Steinmetz b081f3b7c4 fix(s3): treat empty sse_c_key as not set
Co-authored-by: Christian Becker <christian@dabecka.de>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-29 17:34:47 +00:00
F. E Noel Nfebe f3aa7cfd3d Merge pull request #50533 from nextcloud/backport/50129/stable30
[stable30] fix(unified-search): load more than 5 items in folder filter
2025-01-29 17:18:39 +01:00
nfebe a6a100ee64 fix(unified-search): Prevent multiple file picker triggers in in-folder search
Signed-off-by: nfebe <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-29 15:57:33 +00:00
nfebe 9d0238b291 refactor: Drop deprecated use of defineStore
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-29 16:47:21 +01:00
nfebe c680e74a82 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 16:47:21 +01:00
F. E Noel Nfebe 3290ec3abe Merge pull request #50536 from nextcloud/backport/50515/stable30
[stable30] fix: Show recipient email addresses in share owner notification email
2025-01-29 16:43:17 +01:00
nfebe 8db34f8ecd 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 13:37:52 +00:00
Daniel 262609bbb4 Merge pull request #50529 from nextcloud/dependabot/composer/stable30/mlocati/ip-lib-1.18.1
build(deps): Bump mlocati/ip-lib from 1.18.0 to 1.18.1
2025-01-29 13:33:17 +01:00
Joas Schilling 2cf1ea6ff0 build(deps): Bump mlocati/ip-lib from 1.18.0 to 1.18.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-29 12:40:19 +01:00
Max 12983f8079 fix(performance): use low resolution for blurhash
Improve blurhash performance by using a low res image.
The results are hard to destinguish visualy.
It is a **blur** hash after all.

Signed-off-by: Max <max@nextcloud.com>
2025-01-29 10:44:00 +00:00
Louis 77e324e182 Merge pull request #50523 from nextcloud/backport/50299/stable30
[stable30] fix(files_versions): Update `unencrypted_size` during rollback
2025-01-29 11:30:56 +01:00
Kate c1cd784c89 Merge pull request #50437 from nextcloud/fix/encoding-wrapper-scanner-stable30 2025-01-29 11:26:23 +01:00
Louis Chemineau c5be24db97 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:40:56 +00:00
Louis Chemineau b8c7533360 chore(files_versions): Remove unused $node variable
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-29 09:40:56 +00:00
Ferdinand Thiessen 3dec77b7d2 Merge pull request #50408 from nextcloud/backport/50398/stable30
[stable30] fix: Correctly return app id and app version for `core` styles and images
2025-01-29 09:09:23 +01:00
Ferdinand Thiessen a82a097e6a fix(TemplateLayout): core is not an app but the server itself
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-29 08:37:33 +01:00
Ferdinand Thiessen ef015a99d2 fix: Correctly return app id and app version for core styles and images
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-29 08:37:33 +01:00
Nextcloud bot 6856af875f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-29 00:22:21 +00:00
dependabot[bot] 9ac7cc1b1b Merge pull request #50348 from nextcloud/dependabot/npm_and_yarn/stable30/types/dockerode-3.3.34 2025-01-28 23:22:00 +00:00
dependabot[bot] 1fe41a7e21 chore(deps-dev): bump @types/dockerode from 3.3.33 to 3.3.34
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.33 to 3.3.34.
- [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-01-28 23:10:12 +01:00
Marcel Klehr fb7f1631d0 Merge pull request #50418 from nextcloud/backport/50331/stable30
[stable30] fix(taskprocessing): More caching
2025-01-28 23:03:09 +01:00
Andy Scherzinger 5efa2243e8 Merge pull request #50509 from nextcloud/backport/50490/stable30
[stable30] fix(CalDav): Spelling
2025-01-28 23:00:52 +01:00
Ferdinand Thiessen e8df690289 Merge pull request #50264 from nextcloud/backport/49259/stable30
[stable30] fix(files): File type filter UI sync with filter state
2025-01-28 22:10:00 +01:00
nextcloud-command 7e2fb5d78c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-28 20:55:35 +00:00
Ferdinand Thiessen 67e0ef5b72 fix(files): Do not array access null value
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-28 20:51:42 +01:00
SebastianKrupinski a74b3c2079 fix(CalDav): Spelling
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-01-28 19:51:38 +00:00
Ferdinand Thiessen 910495de1f fix(files): File type filter UI sync with filter state
When changing the folder the filter will be re-mounted by the file list,
so we need to pass the current state of the filter to the filter UI.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-28 20:25:55 +01:00
Joas Schilling 54a1a560bd Merge pull request #50463 from nextcloud/dependabot/composer/stable30/symfony-3c0242c262
[stable30] build(deps): Bump the symfony group across 1 directory with 7 updates
2025-01-28 15:57:14 +01:00
Côme Chilliet e5169b93fb Merge pull request #50480 from nextcloud/backport/45364/stable30
[stable30] fix(user_ldap): Do not map groups we do not know if they match filter
2025-01-28 14:23:15 +01:00
John Molakvoæ 1a8175e4c1 Merge pull request #50493 from nextcloud/backport/47889/stable30
[stable30] fix: `user:settings` command when user is not available
2025-01-28 10:17:04 +01:00
Marcel Klehr 4e10081e2a fix(TaskProcessing\Manager): Add missing cache->get()
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-28 10:10:18 +01:00
Côme Chilliet 002df12cd0 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>
(cherry picked from commit de77415c70)
2025-01-28 09:55:30 +01:00
Ferdinand Thiessen 48a13be4da 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 08:39:28 +00:00
Nextcloud bot f262fdf4b3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-28 00:22:28 +00:00
Andy Scherzinger 31c737302d Merge pull request #50422 from nextcloud/backport/50273/stable30
[stable30] fix: Metadata field search
2025-01-27 21:13:39 +01:00
Marcel Klehr c79179e22f fix(TaskProcessing): Cache providersById in getPreferredProviders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>

[skip ci]
2025-01-27 21:13:16 +01:00
Marcel Klehr 5b44411256 fix: copypasta
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-27 21:13:16 +01:00
Marcel Klehr 69bd525223 fix(taskprocessing): cache provider settings in distributed cache as well
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-27 21:13:16 +01:00
Marcel Klehr af8d0aee76 fix(taskprocessing): Fix tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-27 21:13:16 +01:00
Marcel Klehr 0a91ca4c51 fix(TaskProcessing\Manager): Cache the result of parsing JSON
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-27 21:13:16 +01:00
Marcel Klehr 7733a036cb fix(taskprocessing): Cache result of getAvailableTaskTypes between requests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-27 21:13:16 +01:00
Andy Scherzinger 8bd58baa25 Merge pull request #50488 from nextcloud/backport/50293/stable30
[stable30] fix(theming): Harden admin theming settings
2025-01-27 20:51:01 +01:00
Ferdinand Thiessen ef5dc058a4 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 18:37:55 +00:00
Ferdinand Thiessen ab39152951 fix(theming): Ensure to only send valid URLs to backend
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 17:58:56 +00:00
Ferdinand Thiessen 5adbdf459f fix(theming): Harden admin web link settings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 17:58:55 +00:00
Louis Chemineau 474d93625b fix: Metadata field search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-27 18:57:00 +01:00
Andy Scherzinger cfc29f8ddd Merge pull request #50472 from nextcloud/backport/48581/stable30
[stable30] fix: Filter for folders in cleanup old preview job
2025-01-27 18:29:17 +01:00
Andy Scherzinger cbd324ff7e Merge pull request #50404 from nextcloud/backport/50353/stable30
[stable30] feat: Support X-NC-Skip-Trashbin header
2025-01-27 17:05:31 +01:00
Dario Mehlich 654034638e fix(preview): Filter for folders in cleanup old preview job
Fixes #35936.
When running `OC\Preview\BackgroundCleanupJob`, the main iteration loop
in `run()` expects a folder, however, `getOldPreviewLocations()`
currently does not filter by mimetype and therefore can yield a
non-folder entry which causes an Exception when constructing the Folder
impl.
Filtering for `httpd/unix-directory`, as `getNewPreviewLocations()`
already does, fixes this issue.

Signed-off-by: Dario Mehlich <d.mehlich@gmail.com>
2025-01-27 15:09:36 +00:00
Joas Schilling b43643112c build(deps): Bump the symfony group across 1 directory with 7 updates
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-27 13:59:14 +01:00
Louis Chemineau 6f80c11d94 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-27 13:04:29 +01:00
Ferdinand Thiessen 458856b2f8 Merge pull request #50460 from nextcloud/backport/50455/stable30
[stable30] fix(log): Fix log level handling
2025-01-27 12:15:19 +01:00
Joas Schilling 241c9f348d fix(log): Fix log level handling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-27 10:22:20 +00:00
Kate 11f85702e8 Merge pull request #50457 from nextcloud/backport/50077/stable30 2025-01-27 09:35:59 +01:00
provokateurin 17cded643c fix(IInitialState): Allow provideLazyInitialState() closure to return array
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-27 05:42:33 +00:00
Nextcloud bot 6f4c3b73e0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-27 00:21:59 +00:00
Andy Scherzinger 65e9059e65 Merge pull request #50448 from nextcloud/backport/50447/stable30
[stable30] fix: Ensure `label` is always a string
2025-01-26 21:36:33 +01:00
Ferdinand Thiessen 9658c051de fix: Ensure label is always a string
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-26 19:59:25 +00:00
Andy Scherzinger 6a4f14bb29 Merge pull request #50316 from nextcloud/chore/stable30-doctrine
[stable30] chore(3rdParty): Bump doctrine/dbal from 3.9.1 to 3.9.4
2025-01-26 18:52:41 +01:00
Andy Scherzinger ebcdf9f5aa Merge pull request #50440 from nextcloud/backport/49440/stable30
[stable30] fix(SetupChecks): Pass webfinger if the handler returns 400 too
2025-01-26 17:58:32 +01:00
Andy Scherzinger 8bfa8f7114 Merge pull request #50441 from nextcloud/backport/50430/stable30
[stable30] files: harden thumbnail endpoint
2025-01-26 17:36:03 +01:00
Josh 8cfedc03b5 Merge pull request #50072 from nextcloud/backport/49988/stable30
[stable30] fix(settings): show the correct initial locale in Personal info
2025-01-26 11:30:46 -05:00
Kate c2dfb1a492 Merge pull request #50184 from nextcloud/backport/50046/stable30 2025-01-26 17:13:32 +01:00
Ferdinand Thiessen da32af0185 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 16:56:31 +01:00
nextcloud-command 2ed5acfa23 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-26 15:06:25 +00:00
provokateurin 2d9d6de9d1 fix(settings): Fix mail server settings form
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-26 15:47:15 +01:00
Josh 0ea6c5bb9d fix(SetupChecks): Pass webfinger if a handler is there
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-26 14:40:35 +00:00
Andy Scherzinger 823782b44d Merge pull request #50205 from nextcloud/backport/50161/stable30
[stable30] fix(files): sort not working after changing views
2025-01-26 14:27:23 +01:00
nextcloud-command 4f3eea935c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-26 13:14:06 +00:00
Richard Steinmetz 3efb46ca56 fix(files): sort not working after changing views
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-26 14:09:13 +01:00
Kate d8897dc258 Merge pull request #48084 from nextcloud/backport/48081/stable30 2025-01-26 14:05:53 +01:00
nextcloud-command 3aca915ba5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-26 12:51:51 +00:00
rakekniven a52673810f chore(1i8n): Fixed grammar and improved wording
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-01-26 13:47:09 +01:00
Josh acb7ac5c37 fix(settings): show the correct initial locale in Personal info
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-26 12:32:15 +01:00
Andy Scherzinger cfc0c1f80b Merge pull request #50144 from nextcloud/backport/50034/stable30
[stable30] fix(caldav): rename default calendar to keep it in the trashbin instead of purging it
2025-01-26 12:27:42 +01:00
Nextcloud bot be7de4fbf9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-26 00:22:47 +00:00
dependabot[bot] bbf174904f Merge pull request #50346 from nextcloud/dependabot/npm_and_yarn/stable30/testing-library/cypress-10.0.3 2025-01-25 08:33:47 +00:00
nextcloud-command bbec586c65 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-25 08:10:21 +00:00
dependabot[bot] b8f4df282c 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-01-25 09:04:28 +01:00
Andy Scherzinger baa6739cde Merge pull request #50387 from nextcloud/backport/46780/stable30
[stable30] fix(TaskProcessing): Catch JSON encode errors in Manager#setTaskResult
2025-01-25 08:57:22 +01:00
Andy Scherzinger fbf6a76def Merge pull request #50414 from nextcloud/backport/49639/stable30
[stable30] fix: adjust url for task links
2025-01-25 08:52:23 +01:00
Nextcloud bot 4a702554af Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-25 00:42:59 +00:00
Marcel Klehr 5f55acb2eb fix(TaskProcessing): Catch JSON encode errors in Manager#setTaskResult
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-24 23:53:48 +01:00
Raimund Schlüßler 0c61096ec9 fix(TasksSearchProviderTest): adjust deep link to Tasks app
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2025-01-24 22:26:27 +00:00
Raimund Schlüßler 8c83b96478 fix: adjust url for task links
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2025-01-24 22:26:27 +00:00
Ferdinand Thiessen 99c1838f87 Merge pull request #50327 from nextcloud/backport/50083/stable30
[stable30] fix: Trim tags on adding or editing
2025-01-24 20:09:34 +01:00
Andy Scherzinger 29533a6130 Merge pull request #50395 from nextcloud/backport/50394/stable30
[stable30] ci(reuse): Fix translation reuse mapping
2025-01-24 12:30:39 +01:00
Joas Schilling 66d664c7f1 ci(reuse): Fix translation reuse mapping
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-24 11:48:09 +01:00
Richard Steinmetz e4a20b8424 Merge pull request #50372 from nextcloud/backport/50369/stable30
[stable30] fix(dav): default calendar and address book not created on first login
2025-01-24 11:27:18 +01:00
Joas Schilling d11b1fbe06 Merge pull request #50382 from nextcloud/automated/noid/stable30-update-code-signing-crl
[stable30] fix(security): Update code signing revocation list
2025-01-24 11:01:49 +01:00
nextcloud-command a1915d398e fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-01-24 02:27:44 +00:00
Nextcloud bot 4a5cb44ab1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-24 00:21:26 +00:00
Richard Steinmetz 8fb04cd4d5 fix(dav): default calendar and address book not created on first login
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-23 22:29:07 +01:00
Joas Schilling 346253e95a Merge pull request #50333 from nextcloud/backport/50330/stable30
[stable30] fix(security): Update .well-known/security.txt expiration date
2025-01-23 15:06:17 +01:00
Nextcloud bot 286ceead15 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-23 13:39:59 +00:00
Joas Schilling de8e4b8f18 Merge pull request #50357 from nextcloud/backport/50355/stable30
fix(translations): Fix webhook_listeners
2025-01-23 14:15:36 +01:00
Joas Schilling 2442ec1dd0 fix(translations): Fix webhook_listeners
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 14:14:11 +01:00
Joas Schilling 22a8bf12da fix(security): Update .well-known/security.txt expiration date
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 09:46:23 +01:00
Nextcloud bot 5c86df4343 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-23 00:21:56 +00:00
Kostiantyn Miakshyn bc7ce1c84a fix: Trim tags on adding or editing
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
2025-01-23 00:10:10 +00:00
Josh 5bcce6b01f Merge pull request #50322 from nextcloud/backport/50319/stable30
[stable30] test(group): fix frequent `testSearchGroups` failure
2025-01-22 13:56:29 -05:00
Josh 4d31d418c2 test: fix periodic Test\Group\DatabaseTest::testSearchGroups failure
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-22 17:46:56 +00:00
Ferdinand Thiessen 598589e617 chore: Update psalm baseline
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-22 16:16:48 +01:00
Josh bb57c9e0ac Merge pull request #49934 from nextcloud/backport/49681/stable30
[stable30] add sse_c_key from S3 object storage properties config to list of sensitive values
2025-01-22 09:30:37 -05:00
Ferdinand Thiessen 06bfa9d7c8 chore(3rdParty): Bump doctrine/dbal from 3.9.1 to 3.9.4
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-22 15:25:59 +01:00
Robert Riemann 758fe6dc9d fix: add sse_c_key from S3 object storage properties config to list of sensitive values
Signed-off-by: Robert Riemann <robert@riemann.cc>
2025-01-22 09:09:24 -05:00
Git'Fellow 23b980d1cb Merge pull request #50291 from nextcloud/backport/49820/stable30
[stable30] fix(settings): Make header style inline with other pages
2025-01-22 11:42:30 +01:00
John Molakvoæ 90e45ea008 Merge pull request #50125 from nextcloud/backport/50123/stable30 2025-01-22 09:52:29 +01:00
nextcloud-command d1933dd4ec chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-22 08:28:34 +00:00
skjnldsv 62809b5d7e fix(files): rename actions submenu back entry
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-22 08:23:33 +00:00
skjnldsv 71e6fbed6e fix(files): close submenu on main actions state change
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-22 08:23:33 +00:00
Nextcloud bot 031aebed3b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-22 00:21:52 +00:00
Kate ad96892cce Merge pull request #50297 from nextcloud/chore/deps/nextcloud-upload-1.8.0-stable30 2025-01-21 17:44:33 +01:00
Ferdinand Thiessen 218f146cd6 Merge pull request #50296 from nextcloud/backport/50233/stable30
[stable30] fix(updatenotification): Parse pre-release version of apps
2025-01-21 17:42:57 +01:00
provokateurin a2b2da16b7 chore(deps): Update @nextcloud/upload to 1.8.0
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-21 17:27:58 +01:00
Ferdinand Thiessen f9c63d1f94 fix(updatenotification): Parse pre-release version of apps
The notitication is correctly created, but the changelog is not show.
We need to make sure the version passed to the manager is in the allowed
format (major.minor.patch).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-21 16:18:31 +00:00
Git'Fellow 069755d591 fix(settings): Make header style inline with other pages
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-01-21 11:43:43 +00:00
Maksim Sukharev 3b63c072cc Merge pull request #50197 from nextcloud/backport/50177/stable30 2025-01-21 12:39:44 +01:00
Nextcloud bot 01e9329dc9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-21 00:21:13 +00:00
max-nextcloud b5a7f91ca5 Merge pull request #50278 from nextcloud/backport/50265/stable30
[stable30] fix(encryption): handle empty encryptionModules fine
2025-01-20 18:15:07 +01:00
Kate 3d0e11770b Merge pull request #50106 from nextcloud/backport/50070/stable30 2025-01-20 17:57:45 +01:00
Kate 1c99b367be Merge pull request #49991 from nextcloud/backport/49887/stable30 2025-01-20 17:28:02 +01:00
Git'Fellow 57c0b06ebc Merge pull request #50276 from nextcloud/backport/50271/stable30
[stable30] fix(TemplateManager): Remove warning message
2025-01-20 17:16:49 +01:00
Ferdinand Thiessen a0748f1f66 Merge pull request #50268 from nextcloud/backport/49717/stable30
[stable30] chore(i18n): Improved grammar
2025-01-20 16:44:14 +01:00
nextcloud-command 2b432085e9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-20 15:38:48 +00:00
Max d48ce5bb67 fix(encryption): handle empty encryptionModules fine
`[].find(...)` will return `undefined`.
`undefined[0]` throws an exception.
Handle this case more gracefully.

Signed-off-by: Max <max@nextcloud.com>
2025-01-20 14:34:30 +00:00
Robin Appelman a2bcf725a6 chore: psalm fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-20 15:31:05 +01:00
Robin Appelman 910d25ed5e chore: update baseline
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-20 14:49:37 +01:00
Git'Fellow 1efa72d91a fix(TemplateManager): Remove warning message
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-01-20 13:41:38 +00:00
Robin Appelman 2f9b54ab38 fix: don't skip scanner users filesystem if they have a mountpoint at /<user>/files/
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-20 14:27:24 +01:00
rakekniven ab44e76b40 chore(i18n): Improved grammar
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-20 13:12:36 +01:00
Nextcloud bot f67a5550c7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-20 00:21:10 +00:00
dependabot[bot] e99ce27384 Merge pull request #50139 from nextcloud/dependabot/npm_and_yarn/stable30/nextcloud/calendar-availability-vue-2.2.6 2025-01-19 11:38:23 +00:00
nextcloud-command 3a71791969 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-19 11:23:39 +00:00
dependabot[bot] e3418eb272 build(deps): bump @nextcloud/calendar-availability-vue
Bumps [@nextcloud/calendar-availability-vue](https://github.com/nextcloud/calendar-availability-vue) from 2.2.4 to 2.2.6.
- [Release notes](https://github.com/nextcloud/calendar-availability-vue/releases)
- [Changelog](https://github.com/nextcloud/calendar-availability-vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/calendar-availability-vue/compare/v2.2.4...v2.2.6)

---
updated-dependencies:
- dependency-name: "@nextcloud/calendar-availability-vue"
  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-01-19 11:11:01 +00:00
Nextcloud bot 2dbf02c2a6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-19 00:21:19 +00:00
Konstantin Myakshin b5fbd71bfb Merge pull request #50122 from nextcloud/backport/50076/stable30
[stable30] fix: Apply enforce theme config for anonymous users as well
2025-01-18 21:17:31 +02:00
Kostiantyn Miakshyn 77e8a55405 fix: Apply enforce theme config for anonymous users as well
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
2025-01-18 21:00:33 +02:00
dependabot[bot] d42da42b60 Merge pull request #50247 from nextcloud/dependabot/npm_and_yarn/stable30/dockerode-4.0.4 2025-01-18 17:30:36 +00:00
dependabot[bot] 6d4faad626 Merge pull request #50248 from nextcloud/dependabot/npm_and_yarn/stable30/ts-loader-9.5.2 2025-01-18 17:19:54 +00:00
dependabot[bot] 3c0eb3449a Merge pull request #50249 from nextcloud/dependabot/npm_and_yarn/stable30/libphonenumber-js-1.11.18 2025-01-18 16:26:05 +00:00
Maksim Sukharev 8f5fa49bca Merge pull request #50253 from nextcloud/backport/50241/stable30
[stable30] fix(UnifiedSearch): request data only when opening modal
2025-01-18 17:23:32 +01:00
dependabot[bot] 30c6fc306c build(deps): bump libphonenumber-js from 1.11.16 to 1.11.18
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.11.16 to 1.11.18.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.11.16...v1.11.18)

---
updated-dependencies:
- dependency-name: libphonenumber-js
  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-01-18 16:10:44 +00:00
nextcloud-command ef7faf718e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-18 15:35:46 +00:00
Maksim Sukharev 0f41c35c17 fix(UnifiedSearch): request data only when opening modal
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-01-18 15:16:46 +01:00
dependabot[bot] 7c1866362e Merge pull request #50250 from nextcloud/dependabot/npm_and_yarn/stable30/nextcloud/password-confirmation-5.3.1 2025-01-18 13:01:16 +00:00
dependabot[bot] a1ee91ddf3 build(deps): bump @nextcloud/password-confirmation from 5.3.0 to 5.3.1
Bumps [@nextcloud/password-confirmation](https://github.com/nextcloud-libraries/nextcloud-password-confirmation) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-password-confirmation/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-password-confirmation/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-password-confirmation/compare/v5.3.0...v.5.3.1)

---
updated-dependencies:
- dependency-name: "@nextcloud/password-confirmation"
  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-01-18 12:13:49 +00:00
dependabot[bot] a615faff9c build(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-01-18 02:20:39 +00:00
dependabot[bot] 18e6b221a4 build(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-01-18 02:19:18 +00:00
Nextcloud bot f4a5ad7b6b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-18 00:21:18 +00:00
John Molakvoæ 5a99771354 Merge pull request #50237 from nextcloud/fix/legacy-file-drop 2025-01-17 19:00:15 +01:00
Ferdinand Thiessen 4e55694fb5 fix(files): Add empty alt text to purely decorative icons
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-17 15:42:15 +01:00
nextcloud-command 6cef3643c2 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-17 14:00:35 +00:00
Maksim Sukharev 21f0e61477 test(e2e): hide move dialog action if destination has no CREATE permission
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
(cherry picked from commit 868517f6d2)
2025-01-17 14:55:15 +01:00
Maksim Sukharev 03200b9679 fix(files): hide move dialog action if destination has no CREATE permission
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-01-17 14:53:08 +01:00
F. E Noel Nfebe d90b918170 Merge pull request #50154 from nextcloud/backport/50128/stable30
[stable30] feat: Adapt providers `disabled` property to match user applied filters
2025-01-17 11:45:25 +01:00
nextcloud-command b582de5e1e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-17 11:31:18 +01:00
nfebe d2ea5d2a61 feat: Adapt providers disabled property to match user applied filters
Some filters are only available for certain providers, the UI should give the user
a hint to what providers such filters are available in.

Currently, if a filter (date or person) is not support by an a provider, the provider is
blurred out in the places dropdown.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-17 11:31:18 +01:00
Ferdinand Thiessen 8bdaf80ead Merge pull request #49777 from nextcloud/dependabot/npm_and_yarn/stable30/moment-timezone-0.5.46
chore(deps): bump moment-timezone from 0.5.45 to 0.5.46
2025-01-17 09:12:15 +01:00
dependabot[bot] 99b5024efd chore(deps): bump moment-timezone from 0.5.45 to 0.5.46
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.45 to 0.5.46.
- [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.45...0.5.46)

---
updated-dependencies:
- dependency-name: moment-timezone
  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-01-17 07:26:57 +00:00
Nextcloud bot f44ca12cb3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-17 00:21:36 +00:00
dependabot[bot] e402dba916 Merge pull request #49865 from nextcloud/dependabot/npm_and_yarn/stable30/nextcloud/files-3.10.1 2025-01-16 23:11:58 +00:00
nextcloud-command b693f56c81 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-16 22:56:30 +00:00
dependabot[bot] c5895b495b chore(deps): bump @nextcloud/files from 3.10.0 to 3.10.1
---
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-01-16 23:49:16 +01:00
Ferdinand Thiessen d787ae9da5 Merge pull request #49940 from nextcloud/backport/49208/stable30
[stable30] fix: Redirect user to login if session is terminated
2025-01-16 23:44:04 +01:00
Ferdinand Thiessen 693fd5c53b Merge pull request #49680 from nextcloud/backport/49677/stable30
[stable30] fix(db): Create the systag_by_objectid index for new installations
2025-01-16 23:42:15 +01:00
Ferdinand Thiessen e315ca8fe8 Merge pull request #50174 from nextcloud/backport/50152/stable30
[stable30] fix(dashboard): don't initially load items of hidden api widgets
2025-01-16 23:40:59 +01:00
Ferdinand Thiessen 4322dc0608 Merge pull request #49306 from nextcloud/backport/49271/stable30
[stable30] fix(files): Make injected actions reactive
2025-01-16 23:39:26 +01:00
Pytal 92aff8efad Merge pull request #50218 from nextcloud/backport/50187/stable30
[stable30] fix(settings): Correctly parse and display default quota
2025-01-16 14:38:48 -08:00
nextcloud-command edd9ba764a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-16 22:24:13 +00:00
Ferdinand Thiessen 205d646f21 fix(settings): Correctly parse and display default quota
In the account management settings (default settings) the quota was
parsed not consistently with how we do it everywhere else.
Meaning `1 KB` should be 1024 bytes not 1000 bytes.

Also this fixes an issue where searching "1KB" does not yield any output
because of the space in the parsed value "1 KB".

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-16 22:17:26 +01:00
John Molakvoæ 568bd4f808 Merge pull request #50191 from nextcloud/release/30.0.5
30.0.5
2025-01-16 19:20:06 +01:00
Anna Larch 6af3bec748 fix(sharing): send share emails for internal users too
Signed-off-by: Anna Larch <anna@nextcloud.com>
2025-01-16 17:51:52 +00:00
nextcloud-command 6703e83e71 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-16 10:48:08 +00:00
Ferdinand Thiessen d0dbe21f4c test(dashboard): Add regression test for loading unneeded data
Prevent a regression of https://github.com/nextcloud/server/issues/48403

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-16 11:40:02 +01:00
Richard Steinmetz 6b55413c3e fix(dashboard): don't initially load items of hidden api widgets
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-16 11:39:34 +01:00
Andy Scherzinger 9f2b0f73d7 Merge pull request #50204 from nextcloud/backport/50192/stable30
[stable30] fix(files_sharing): Stop overwriting the share expiration date with the default expiration date
2025-01-16 09:54:31 +01:00
provokateurin 8cc90e46eb chore: Compile assets
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-16 09:11:04 +01:00
Ferdinand Thiessen 21805299dc test: Add end-to-end test for share expiration date
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-16 09:07:59 +01:00
Ferdinand Thiessen b7c550ad83 fix(files_sharing): Remove debounce from expiration date formatting
This should be done as soon as changed, as the value is not passed to
API but needs to be tracked internally (e.g. if you quickly press
"save").

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-16 09:02:29 +01:00
provokateurin 02b0c28a2b fix(files_sharing): Stop overwriting the share expiration date with the default expiration date
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-16 09:02:25 +01:00
Nextcloud bot 692764e48c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-16 00:21:39 +00:00
skjnldsv bf2767c3b8 build(hub): 30.0.5
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-15 09:51:05 +01:00
Nextcloud bot cd355d81ff Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-15 00:21:41 +00:00
Nextcloud bot 082a3faf4b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-14 07:58:55 +00:00
Ferdinand Thiessen 58b12fd00e chore: Build assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-13 11:28:49 +01:00
nextcloud-command afce574dbd chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-13 11:06:57 +01:00
Ferdinand Thiessen be25f51f40 fix(files): Make injected actions reactive
Provided values are not reactive by default and by design,
we must need computed to make them reactive.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-13 11:06:55 +01:00
Nextcloud bot a0ce8e4ee7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-13 00:21:23 +00:00
Nextcloud bot f01152dad9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-12 00:21:44 +00:00
Thomas Citharel 0747d03845 fix(caldav): rename default calendar to keep it in the trashbin instead of purging it
When doing a PROPFIND on default-calendar-url, if the current default calendar (fallbacking on personal uri)
is in the trashbin, it's being purged so that it's recreated.

This leads to loss of data.

We can simply rename the calendar URI and add a unique suffix so that it doesn't conflict with the new calendar
being created.
Shares are fine because they reference the resourceid and not the calendar URI.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2025-01-11 15:36:33 +00:00
Nextcloud bot f1899ed633 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-11 00:21:16 +00:00
Joas Schilling d1507f641d Merge pull request #50117 from nextcloud/backport/50113/stable30
[stable30] fix(SetupChecks): Don't test caches using binary data
2025-01-10 09:59:45 +01:00
Git'Fellow c38d308aa2 fix(setupchecks): Binary data can have problems with serialize
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-01-10 08:02:37 +00:00
Nextcloud bot 1fd8539a58 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-10 00:21:29 +00:00
Arthur Schiwon 3d95837217 Merge pull request #50096 from nextcloud/release/30.0.5_rc1
30.0.5 RC1
2025-01-09 12:45:07 +01:00
provokateurin 9f95760734 docs(HTTP): Add proper docs for CORS attribute
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-09 11:07:09 +00:00
nextcloud-command 3139ea48ac chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-09 08:56:15 +00:00
Ferdinand Thiessen f5f3ae2c19 fix: Redirect user to login if session is terminated
If a session timed out or was closed in another tab,
then currently the user gets random error messages.
This intercepts 401 responses (should only happen if logged out, or the
users does something wrong).

If we get a 401, we make sure its because of the session,
by checking if the user can access the files app.
If that is also the case we forward the user to the login page
and set the redirect URL to the last used URL.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-09 09:48:44 +01:00
Nextcloud bot 01f89cb2c7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-09 00:21:37 +00:00
Arthur Schiwon 2693125d43 build(hub): 30.0.5 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-01-08 18:09:12 +01:00
Kate 4a61702d4e Merge pull request #50089 from nextcloud/backport/49882/stable30 2025-01-08 11:38:02 +01:00
provokateurin cb81f6c11c fix(Http): Only allow valid HTTP status code values via template
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-08 10:14:12 +00:00
provokateurin 6eb843cc57 fix(settings): Fix log file download return type
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-08 10:14:11 +00:00
Nextcloud bot 9de0452071 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-08 00:21:18 +00:00
Andrey Borysenko 6e49df8b39 Merge pull request #50032 from nextcloud/backport/49885/stable30
[stable30] fix(app-store): add missing exApps list items to search filter
2025-01-07 20:51:59 +00:00
nextcloud-command 7a7b49fd0f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-07 20:21:10 +00:00
Andrey Borysenko 83611e08a0 fix(app-store): add missing exApps list items to search filter
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2025-01-07 22:14:34 +02:00
Andy Scherzinger 83ca89a79a Merge pull request #50079 from nextcloud/backport/50051/stable30
[stable30] fix(preview): Do not try to parse M3U files as MP3
2025-01-07 21:04:14 +01:00
Pauli Järvinen c57495a429 fix(preview): Do not try to parse M3U files as MP3
By default, the MP3 audio files get the mimetype `audio/mpeg` and the M3U and
M3U8 playlist files get the mimetype `audio/mpegurl`. PreviewManager had such
a problem that it registered the MP3 preview provider with a regular
expression which matched also the M3U files. This caused an error message to
be logged on the info (1) level for each M3U file every time a folder with
such files was viewed: "Error while getting cover from mp3 file:
File /path/to/some/playlist.m3u is not mpeg/audio!".

Signed-off-by: Pauli Järvinen <pauli.jarvinen@gmail.com>
2025-01-07 19:07:19 +00:00
Stephan Orbaugh 83c33465ab Merge pull request #50060 from nextcloud/backport/49966/stable30
[stable30] fix: block moving files to it's own parent with dav
2025-01-07 13:37:55 +01:00
Andy Scherzinger 0b849abbb5 Merge pull request #50062 from nextcloud/backport/49962/stable30
[stable30] Clarify installation wording to be clear that it is about account creation
2025-01-07 12:23:30 +01:00
Jan C. Borchardt 9b7b15532b fix(setup): clarify installation wording to be clear that it is about account creation
Signed-off-by: Jan C. Borchardt <925062+jancborchardt@users.noreply.github.com>
2025-01-07 09:48:18 +00:00
Robin Appelman c6e68988d2 fix: block moving files to it's own parent with dav
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-07 09:26:05 +00:00
Kate 32c726171a Merge pull request #50058 from nextcloud/backport/50035/stable30 2025-01-07 08:35:08 +01:00
provokateurin 8b322ff12c fix(HTTP): Adjust JSONResponse data type
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-07 05:41:45 +00:00
Nextcloud bot ef5dc1e2eb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-07 00:21:07 +00:00
F. E Noel Nfebe 09725cc750 Merge pull request #50021 from nextcloud/fix/stable30/share-types-references
[stable30] fix: remove references to non-existent ShareTypes
2025-01-06 11:10:41 +01:00
nextcloud-command 325c88d9a1 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-06 09:56:57 +00:00
nfebe c4ddb16a37 fix: remove references to non-existent ShareTypes
A refactor was done to remove ShareTypes and an incomplete backport of
00c2b94391 left incorrect references to shareTypes.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-06 10:50:55 +01:00
Nextcloud bot 64bbe80f3f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-06 00:30:38 +00:00
Nextcloud bot 4772cfb995 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-05 00:21:27 +00:00
dependabot[bot] 8555e502e4 Merge pull request #49765 from nextcloud/dependabot/npm_and_yarn/stable30/vue-material-design-icons-5.3.1 2025-01-04 18:50:32 +00:00
nextcloud-command 46cddde183 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-04 18:37:00 +00:00
dependabot[bot] 33bb850b76 chore(deps): bump vue-material-design-icons from 5.3.0 to 5.3.1
Bumps [vue-material-design-icons](https://github.com/robcresswell/vue-material-design-icons) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/robcresswell/vue-material-design-icons/releases)
- [Changelog](https://github.com/robcresswell/vue-material-design-icons/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/robcresswell/vue-material-design-icons/compare/5.3.0...5.3.1)

---
updated-dependencies:
- dependency-name: vue-material-design-icons
  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-01-04 18:18:01 +00:00
dependabot[bot] b8fef478ac Merge pull request #50036 from nextcloud/dependabot/npm_and_yarn/stable30/nextcloud/moment-1.3.2 2025-01-04 17:51:52 +00:00
dependabot[bot] 44dcd0c162 chore(deps): bump @nextcloud/moment from 1.3.1 to 1.3.2
Bumps [@nextcloud/moment](https://github.com/nextcloud/nextcloud-moment) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/nextcloud/nextcloud-moment/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-moment/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-moment/compare/v1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: "@nextcloud/moment"
  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-01-04 17:36:43 +00:00
dependabot[bot] b6bb20544a Merge pull request #50037 from nextcloud/dependabot/npm_and_yarn/stable30/types/dockerode-3.3.33 2025-01-04 02:57:29 +00:00
dependabot[bot] c5ec398cda chore(deps-dev): bump @types/dockerode from 3.3.31 to 3.3.33
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.31 to 3.3.33.
- [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-01-04 02:32:21 +00:00
Nextcloud bot caa38fdb49 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-04 00:21:50 +00:00
Joas Schilling c4d46a7ef8 Merge pull request #50031 from nextcloud/backport/50026/stable30
[stable30] fix(logger): Prevent infinite recursion with log.condition => users or matches
2025-01-03 22:33:10 +01:00
John Molakvoæ a86197a4a0 Merge pull request #50028 from nextcloud/backport/50025/stable30 2025-01-03 12:18:33 +01:00
Joas Schilling b9493cc12d fix(logger): Prevent infinite recursion with log.condition => matches
When we need to check the log condition for a user matches,
there is a risk that something on the way checks the log level
and would result in an infinite loop.
So we simply check if it's a nested call and use the default
warning level in that case.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-03 11:12:48 +00:00
skjnldsv f2d40badfd chore: enable cypress video recording in debug mode
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-03 11:42:22 +01:00
dependabot[bot] 2d77570e1e Merge pull request #49945 from nextcloud/dependabot/npm_and_yarn/stable30/mime-4.0.6 2025-01-03 09:56:29 +00:00
dependabot[bot] dbe7c077e1 chore(deps-dev): bump mime from 4.0.4 to 4.0.6
Bumps [mime](https://github.com/broofa/mime) from 4.0.4 to 4.0.6.
- [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.4...v4.0.6)

---
updated-dependencies:
- dependency-name: mime
  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-01-03 08:25:47 +00:00
Marcel Müller 028dcb0f8e Merge pull request #50023 from nextcloud/backport/50017/stable30
[stable30] chore(ci): Run kerberos tests on ubuntu-latest
2025-01-03 09:23:43 +01:00
Marcel Müller 93d1f08eec chore(ci): Run kerberos tests on ubuntu-latest
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-01-03 07:56:40 +00:00
Nextcloud bot 9d28389231 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-03 00:21:42 +00:00
F. E Noel Nfebe ac9bc09231 Merge pull request #49631 from nextcloud/backport/49351/stable30
[stable30] enh: Improvements on sharing details
2025-01-02 15:51:49 +01:00
nextcloud-command 7f3c343a53 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-02 14:35:07 +00:00
Louis Chemineau 377068e97f fix(files_sharing): List of share type during recipient lookup
ShareType lists both names and ids so Object.entries return too much.

This was also making useless the following condition adding ShareType.Email

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-02 15:28:22 +01:00
nfebe df02f539cc fix: Only show share permission if re-sharable
Signed-off-by: nfebe <fenn25.fn@gmail.com>

[skip ci]
2025-01-02 15:28:22 +01:00
nfebe 00c2b94391 refactor: Use new ShareType across file_sharing
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-02 15:28:17 +01:00
John Molakvoæ 209a6f00e6 Merge pull request #50014 from nextcloud/backport/49974/stable30 2025-01-02 12:27:23 +01:00
skjnldsv e645ef0f16 fix(federatedfilesharing): fix notification typo
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-02 10:52:18 +00:00
Nextcloud bot 088820acea Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-02 00:21:40 +00:00
Git'Fellow 16aaab3981 Merge pull request #49994 from nextcloud/backport/49847/stable30
[stable30] fix(shares): Remove noisy text from email
2025-01-01 11:43:08 +01:00
Joas Schilling fc6812bca7 Merge pull request #50000 from nextcloud/automated/noid/stable30-update-ca-cert-bundle
[stable30] fix(security): Update CA certificate bundle
2025-01-01 09:36:36 +01:00
nextcloud-command 821c4bfe1a fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-01-01 02:33:11 +00:00
Nextcloud bot e10925a932 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-31 00:21:20 +00:00
Git'Fellow c2b05000c7 fix(shares): Remove noisy text from emails
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-12-30 18:36:55 +00:00
Git'Fellow 999f5dee00 Merge pull request #49878 from nextcloud/backport/49746/stable30
[stable30] fix(share): Don't print twice the same text on emails
2024-12-30 19:35:20 +01:00
Richard Steinmetz a570d24dbd Merge pull request #49556 from nextcloud/backport/49281/stable30
[stable30] chore(i18n): Fixed grammar
2024-12-30 12:56:08 +01:00
Richard Steinmetz 38932220ef Merge pull request #49780 from nextcloud/backport/49503/stable30
[stable30] fix(CalDAV): disable both iTip and iMip messages
2024-12-30 12:50:30 +01:00
rakekniven 5423c3f01d chore(i18n): Fixed grammar
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-12-30 12:40:44 +01:00
Nextcloud bot 2ce84ef45d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-30 00:21:40 +00:00
Nextcloud bot 5631458219 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-29 00:21:22 +00:00
Nextcloud bot 818d7687c3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-28 00:21:39 +00:00
Nextcloud bot 9a93720cd1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-27 00:21:38 +00:00
Nextcloud bot cb05cfcf77 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-26 00:21:48 +00:00
Nextcloud bot 8488472727 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-25 00:22:12 +00:00
Nextcloud bot 437e96317f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-24 00:21:36 +00:00
Nextcloud bot 11f79c403b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-23 00:21:20 +00:00
Nextcloud bot ed9c919537 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-22 00:21:51 +00:00
Nextcloud bot 57f531315f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-21 00:21:54 +00:00
Arthur Schiwon 4f4b02cca0 Merge pull request #49936 from nextcloud/fix/empty-file-0byte-stable30
fix: Create empty file instead of file with a space
2024-12-20 13:10:58 +01:00
Julius Knorr 2b1d4be4b8 fix: Create empty file instead of file with a space
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-12-20 12:31:32 +01:00
Joas Schilling 3228a5cdb3 Merge pull request #49594 from nextcloud/backport/49588/stable30
[stable30] fix(setupcheck): Make the Memcache setupcheck use the cache
2024-12-20 11:15:49 +01:00
Nextcloud bot 08caae812f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-20 00:21:52 +00:00
Joas Schilling f12b81534a fix(setupcheck): Make the Memcache setupcheck use the cache
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-12-19 15:35:04 +01:00
Luka Trovic 6626ba40e9 Merge pull request #49629 from nextcloud/backport/47425/stable30
[stable30] fix: promote re-shares when deleting the parent share
2024-12-19 15:13:42 +01:00
Côme Chilliet 28c885dbf2 fix: Use getRelativePath method to check if node is inside folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-19 14:44:08 +01:00
Côme Chilliet e30cd2f03f fix: Fix promotion of reshares from subsubfolders
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-19 14:44:02 +01:00
Côme Chilliet ba76378e32 fix(tests): Revert changes to tests now that reshares are not deleted but promoted
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-19 14:43:57 +01:00
Côme Chilliet 10c7e100d1 fix(tests): Fix share tests to test new reshare promotion system
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-19 14:43:49 +01:00
Côme Chilliet ec85a49cad chore: Add comment to make code clearer
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-19 14:43:44 +01:00
Côme Chilliet 04b6eef246 chore: Turn method description into phpdoc
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2024-12-19 14:43:37 +01:00
Côme Chilliet c7dbe7e71c fix(shares): Promote reshares into direct shares when share is deleted
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-19 14:43:21 +01:00
Côme Chilliet f0e10eaeed fix: Transfer incomming shares first, do not delete non-migratable ones
Canceling the previous add of deletion of invalid shares in
 transferownership because in some cases it deletes valid reshares, if
 incoming shares are not transfered on purpose.
Inverting the order of transfer between incoming and outgoing so that
 reshare can be migrated when incoming shares are transfered.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-19 14:41:58 +01:00
Côme Chilliet 16decdede7 fix: Tidy up code for reshare deletion
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-19 14:41:50 +01:00
Luka Trovic 024f98a8a1 fix: delete re-shares when deleting the parent share
Note: Removed part about fix command from original PR

Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
(cherry picked from commit 42181c2f49)
2024-12-19 14:39:44 +01:00
Luka Trovic 021b335065 Merge pull request #49612 from nextcloud/backport/43025/stable30
[stable30] fix: Add command to update re-share if shared-by user has been revoked
2024-12-19 14:01:06 +01:00
max-nextcloud e703507892 Merge pull request #49924 from nextcloud/fix/link-share-conflict-modal
fix(share): render conflict modal in public shares
2024-12-19 12:00:57 +01:00
nextcloud-command 38c9c73793 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-19 09:37:16 +00:00
Max 13189d7990 fix(share): render conflict modal in public shares
Handle templates with license comments in `octemplate.js`.

Signed-off-by: Max <max@nextcloud.com>
2024-12-19 09:54:21 +01:00
Nextcloud bot 7e57d0df2b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-19 00:21:41 +00:00
Kate 7854569c37 Merge pull request #49918 from nextcloud/backport/49917/stable30
[stable30] fix(files): Only register preview service worker once when the instance is hosted at the root path
2024-12-18 18:07:39 +01:00
provokateurin eea37f13d6 fix(files): Only register preview service worker once when the instance is hosted at the root path
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-18 16:28:01 +00:00
Nextcloud bot 5e6b36aa2a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-18 00:22:31 +00:00
John Molakvoæ 8e7ce5cb71 Merge pull request #49900 from nextcloud/fix/ocm-host 2024-12-17 16:46:54 +01:00
skjnldsv b356cba2a6 fix: make sure we have a valid scheme when testing ocm urls
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-17 15:23:59 +01:00
Kate 164af6229c Merge pull request #49894 from nextcloud/backport/49880/stable30
[stable30] fix(View): Catch exceptions when executing mkdir for non-existent parents
2024-12-17 11:10:47 +01:00
Jonas 089a5fd827 Merge pull request #49884 from nextcloud/backport/49801/stable30
[stable30] fix(ReferenceApiController): Bump rate limit for public resolve endpoint
2024-12-17 11:02:05 +01:00
provokateurin 5cc14e2618 fix(View): Catch exceptions when executing mkdir for non-existent parents
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-17 09:40:42 +00:00
Nextcloud bot 03b3ac7cf5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-17 00:21:22 +00:00
Jonas 3737727a04 fix(ReferenceApiController): Bump rate limit for public resolve endpoint
E.g. text documents might contain hundreds of links whose previews need
to get loaded.

Fixes: nextcloud/collectives#1607

Signed-off-by: Jonas <jonas@freesources.org>
2024-12-16 15:52:05 +00:00
Git'Fellow 35c0ed1199 Merge pull request #49877 from nextcloud/backport/49451/stable30
[stable30] fix(TemplateManager): Make sure TemplateFolder is a Folder
2024-12-16 08:27:19 +01:00
Git'Fellow 0011d83bcc fix(share): Don't print twice the same information
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-12-16 07:17:32 +00:00
Git'Fellow 28c6c63cc5 fix(TemplateManager): Make sure TemplateFolder is a Folder
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-12-16 06:05:23 +00:00
Nextcloud bot 748f7dbbbe Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-16 00:21:31 +00:00
Nextcloud bot 326dadb869 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-15 00:21:23 +00:00
Sebastian Krupinski 0a87190d0a Merge pull request #49855 from nextcloud/backport/49528/stable30
[stable30] fix: replace null character when serializing
2024-12-14 04:40:00 -05:00
dependabot[bot] 08b6d4cf04 Merge pull request #49762 from nextcloud/dependabot/npm_and_yarn/stable30/libphonenumber-js-1.11.16 2024-12-14 09:07:12 +00:00
nextcloud-command 5d56038024 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-14 08:53:27 +00:00
dependabot[bot] 4b86c06c28 chore(deps): bump libphonenumber-js from 1.11.11 to 1.11.16
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.11.11 to 1.11.16.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.11.11...v1.11.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-14 08:46:33 +00:00
SebastianKrupinski 7bf1863545 fix: replace null character when serializing
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-13 20:41:06 -05:00
Nextcloud bot f3129c4e82 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-14 00:21:45 +00:00
Sebastian Krupinski 828594cdd4 Merge pull request #49851 from nextcloud/backport/49839/stable30
[stable30] fix: return 204 instead of 404
2024-12-13 16:53:38 -05:00
SebastianKrupinski 2f46f9801b fix: return 204 instead of 404
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-13 17:35:12 +00:00
Benjamin Gaussorgues 0475b0c1b8 Merge pull request #49846 from nextcloud/backport/49843/stable30 2024-12-13 13:27:58 +01:00
Benjamin Gaussorgues 8f779a5aab fix(files_external): wrong type for external mount id
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-12-13 10:32:13 +00:00
Kate 98187b5b03 Merge pull request #49838 from nextcloud/backport/49832/stable30
[stable30] Improve select handling for sharded queries
2024-12-13 08:21:57 +01:00
Marcel Müller 01dc3d380d Merge pull request #49595 from nextcloud/backport/49581/stable30
[stable30] chore(absence): Add capability
2024-12-13 08:21:31 +01:00
Marcel Müller c3fa1e4a25 chore(absence): Add capability for absence replacement support
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-12-13 07:46:20 +01:00
Marcel Müller 235e1fb878 chore(absence): Add capability for absence api
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-12-13 07:46:20 +01:00
Nextcloud bot 0718ac7c92 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-13 00:21:12 +00:00
Robin Appelman 68db21f829 fix: improve logic for ensuring join columns are selected for partitioned queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-12 21:44:05 +00:00
Robin Appelman f333fbb8f5 fix: handle calling select on partitioned queries with an array of columns
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-12 21:44:05 +00:00
Kate c2e9e078e1 Merge pull request #49822 from nextcloud/backport/49361/stable30
[stable30] fix(files_sharing): Fix error messages from password policy
2024-12-12 21:13:04 +01:00
John Molakvoæ 5c28f70647 Merge pull request #49792 from nextcloud/backport/49685/stable30 2024-12-12 20:50:29 +01:00
skjnldsv 9cd52975d2 fix(files): failsafe when executing actions methods
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 20:32:40 +01:00
John Molakvoæ 87cba94401 Merge pull request #49769 from nextcloud/dependabot/npm_and_yarn/stable30/nextcloud/upload-1.7.1
[stable30] chore(deps): bump @nextcloud/upload from 1.7.0 to 1.7.1
2024-12-12 20:30:54 +01:00
nextcloud-command 8af6a97f1d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-12 18:40:58 +00:00
dependabot[bot] 7ea3ce9b84 chore(deps): bump @nextcloud/upload from 1.7.0 to 1.7.1
Bumps [@nextcloud/upload](https://github.com/skjnldsv/nextcloud-upload) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/skjnldsv/nextcloud-upload/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-upload/blob/main/CHANGELOG.md)
- [Commits](https://github.com/skjnldsv/nextcloud-upload/compare/v1.7.0...v1.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-12 18:37:51 +00:00
rakekniven e2bef94b80 Merge pull request #49100 from nextcloud/backport/48809/stable30
[stable30] chore(i18n): Improved grammar
2024-12-12 19:27:57 +01:00
nextcloud-command 0597f780c8 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-12 18:13:48 +00:00
rakekniven 1a83e48693 chore(i18n): Improved grammar
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>

[skip ci]
2024-12-12 18:12:01 +00:00
John Molakvoæ 5fd288a915 Merge pull request #49752 from nextcloud/backport/49693/stable30 2024-12-12 19:08:07 +01:00
John Molakvoæ d8c9c0ca2e Merge pull request #49615 from nextcloud/backport/49569/stable30
[stable30] perf: improve performance of SharedStorage::getWatcher
2024-12-12 18:40:13 +01:00
nextcloud-command 7994eb1f1d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-12 18:25:03 +01:00
skjnldsv 0d5cda8aa4 fix(files): cancel renaming on enter if no file name changes
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 18:25:03 +01:00
John Molakvoæ 5df643cf37 Merge pull request #49784 from nextcloud/backport/49747/stable30 2024-12-12 17:11:22 +01:00
John Molakvoæ 1bac88b168 Merge pull request #49618 from nextcloud/backport/49232/stable30
[stable30] Add an error log message that notifications app isn't enabled at file…
2024-12-12 16:47:34 +01:00
provokateurin 7aa8d549e5 fix(SharingEntryQuickShareSelect): Disable quick share select if user can not edit share
Signed-off-by: provokateurin <kate@provokateurin.de>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-12 15:34:58 +00:00
provokateurin 37c6c5162b fix(SharingEntry): Hide edit button if user can not edit share
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-12 14:39:57 +00:00
Côme Chilliet 2546bc5f59 fix(tests): Adapt ManagerTest to change in Exception class used
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-12 15:38:18 +01:00
Côme Chilliet ca1e3828aa fix(shares): Wrap exceptions from password validation to set code to 400
This fixes a regression that bad password returned 403 instead of 400
 because of previous changes.

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

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-12 15:38:18 +01:00
Côme Chilliet 2fa67bfd52 fix(files_sharing): Fix error messages from password policy
Exceptions thrown from password_policy may bubble up in share creation
 or update when a password is used. Their message is meant to be shown
 to the user. This always the case for HintException so we catch that
 instead of the subclass GenericShareException.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-12 15:38:16 +01:00
John Molakvoæ 9e1b516e2b Merge pull request #49825 from nextcloud/revert-49650-backport/49293/stable30
Revert "[stable30] fix: Handle copy of folders containing live photos"
2024-12-12 15:37:18 +01:00
Louis cabedbf9c3 Revert "[stable30] fix: Handle copy of folders containing live photos" 2024-12-12 14:28:09 +01:00
John Molakvoæ d8c3425878 Merge pull request #49650 from nextcloud/backport/49293/stable30
[stable30] fix: Handle copy of folders containing live photos
2024-12-12 14:19:55 +01:00
John Molakvoæ 30ab68e3b4 Merge pull request #49562 from nextcloud/backport/49557/stable30
[stable30] FIX WebDav MacOS failed uploads php-fpm and big files (-36 error)
2024-12-12 14:18:47 +01:00
John Molakvoæ 4fc9ccafd9 Merge pull request #49561 from nextcloud/backport/49432/stable30 2024-12-12 14:17:47 +01:00
nextcloud-command fc4f71972f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-12 12:59:51 +00:00
skjnldsv 3250aeb427 fix(files): virtual scroller item size computation
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 12:58:16 +00:00
John Molakvoæ c62ce6f57c Merge pull request #49805 from nextcloud/backport/49803/stable30 2024-12-12 13:51:07 +01:00
nextcloud-command 6b696056d4 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-12 12:37:28 +00:00
nextcloud-command 4e92bab359 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-12 12:35:41 +00:00
skjnldsv 9205f373fc fix(files): throttle favorite with max 5 simultaneous requests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 12:35:41 +00:00
John Molakvoæ 00d225aacb Merge pull request #49165 from nextcloud/backport/48563/stable30 2024-12-12 13:32:37 +01:00
John Molakvoæ 4e92de20ca Merge pull request #49610 from nextcloud/backport/49398/stable30 2024-12-12 13:31:03 +01:00
John Molakvoæ 3ea30b4e8c Merge pull request #49591 from nextcloud/backport/49587/stable30
[stable30] fix(maintenance): Show a success message on data-fingerprint command
2024-12-12 13:24:16 +01:00
John Molakvoæ 418755b135 Merge pull request #49690 from nextcloud/backport/49477/stable30 2024-12-12 13:22:47 +01:00
John Molakvoæ 38e2936935 Merge pull request #49651 from nextcloud/backport/49288/stable30
[stable30] fix: smb: don't fail hard if we can't load acls for a file
2024-12-12 13:21:43 +01:00
John Molakvoæ 26ba904883 Merge pull request #49741 from nextcloud/backport/49459/stable30
[stable30] fix(CalDav): add support for Microsoft time zones
2024-12-12 13:20:44 +01:00
John Molakvoæ d108a12b0e Merge pull request #49794 from nextcloud/backport/40394/stable30
[stable30] fix mimetype not being updated when changing file extention on objectstore
2024-12-12 13:19:59 +01:00
John Molakvoæ 256e9a9404 Merge pull request #49624 from nextcloud/backport/49602/stable30
[stable30] fix(external_storage): Cast id to int
2024-12-12 13:18:57 +01:00
John Molakvoæ de61cbeda1 Merge pull request #49656 from nextcloud/backport/49551/stable30
[stable30] fix: don't propagate future mtimes
2024-12-12 13:14:08 +01:00
skjnldsv dc25343387 fix(jest): nextcloud/files Node structuredClone
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 13:12:48 +01:00
skjnldsv f1fe382aca fix(files): dav Node type declaration
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 13:12:47 +01:00
skjnldsv 36aaac41e2 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 13:12:47 +01:00
skjnldsv 037a96d19a chore: update @nextcloud/files to 3.10.0
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 13:10:03 +01:00
skjnldsv e09956787a fix(files): properly update paths and folder children on node move
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 13:10:03 +01:00
John Molakvoæ c2938b6512 Merge pull request #49798 from nextcloud/backport/49694/stable30 2024-12-12 13:09:41 +01:00
Arthur Schiwon f82ff164c3 Merge pull request #49810 from nextcloud/release/30.0.4
30.0.4
2024-12-12 11:00:09 +01:00
Arthur Schiwon 94722ba9c9 Merge pull request #49817 from nextcloud/backport/49815/stable30
[stable30] fix(files_sharing): also submit new share on password submit
2024-12-12 10:55:34 +01:00
nextcloud-command c985ba5925 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-12 09:36:12 +00:00
skjnldsv 9e145a866a fix(files_sharing): also submit new share on password submit
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 09:29:30 +00:00
Arthur Schiwon 9fa3893bfb Merge pull request #49809 from nextcloud/backport/49799/stable30
[stable30] fix(files_sharing): Correct property enforced property names
2024-12-12 09:32:15 +01:00
Luka Trovic 317c9b2c05 fix(sharing): add command to fix broken shares after ownership transferring
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2024-12-12 07:15:50 +01:00
Nextcloud bot c87755d955 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-12 00:21:31 +00:00
nextcloud-command 508a10a277 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-11 22:09:34 +00:00
Arthur Schiwon d957a1d0ce build(hub): 30.0.4
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-12-11 23:03:34 +01:00
nfebe ba32e9f44b fix(files_sharing): Correct property enforced property names
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2024-12-11 21:54:35 +01:00
nextcloud-command 314188df22 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-11 10:57:41 +00:00
nextcloud-command 3270d121f8 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-11 09:27:32 +00:00
Kostiantyn Miakshyn 48f88e5942 fix: Fix ServiceWorker scope when Nextcloud installed in subfolder
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
2024-12-11 09:27:31 +00:00
Robin Appelman c3a2d789f1 fix: fix mimetype not being updated when changing file extention on object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-11 09:00:44 +00:00
Nextcloud bot e7e902c304 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-11 00:21:47 +00:00
SebastianKrupinski 85fbce23aa fix: disable both iTip and iMip messages
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-10 13:27:00 -05:00
Nextcloud bot 394527e24e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-10 00:21:15 +00:00
SebastianKrupinski 6e4c6db9e7 fix: add support for Microsoft time zones
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-09 13:57:41 -05:00
Arthur Schiwon 168f97fd9a Merge pull request #49737 from nextcloud/release/30.0.4_rc1
30.0.4 RC1
2024-12-09 16:31:49 +01:00
Arthur Schiwon 0cb10e52b7 build(hub): 30.0.4 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-12-09 15:25:46 +01:00
F. E Noel Nfebe c1c64c7a80 Merge pull request #49724 from nextcloud/backport/49442/stable30
[stable30] fix(files_sharing): Stop infinite loop blocking link share requests
2024-12-09 14:24:55 +01:00
nextcloud-command 52f07bebe1 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-09 11:51:09 +00:00
nfebe ac0e075929 fix(files_sharing): Stop infinite loop blocking link share requests
Fixes infinite loop preventing share link creation requests

from being sent to the backend.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2024-12-09 12:42:17 +01:00
dependabot[bot] d2c60a8e53 Merge pull request #49714 from nextcloud/dependabot/npm_and_yarn/stable30/nextcloud/sharing-0.2.4 2024-12-09 11:20:52 +00:00
nextcloud-command 5ec1c2a380 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-09 11:00:39 +00:00
dependabot[bot] 54bf784229 chore(deps): bump @nextcloud/sharing from 0.2.3 to 0.2.4
Bumps @nextcloud/sharing from 0.2.3 to 0.2.4.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-09 09:08:34 +00:00
Nextcloud bot d8efc7e934 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-09 00:21:26 +00:00
Nextcloud bot 43539073f9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-08 00:36:57 +00:00
dependabot[bot] 24a552eb9e Merge pull request #49715 from nextcloud/dependabot/npm_and_yarn/stable30/pinia-2.2.8 2024-12-07 07:45:10 +00:00
nextcloud-command 5a0c24a4b5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-07 07:32:08 +00:00
dependabot[bot] 52554d2d0e Merge pull request #49716 from nextcloud/dependabot/npm_and_yarn/stable30/cypress-split-1.24.7 2024-12-07 04:59:14 +00:00
dependabot[bot] 2615d4805b Merge pull request #49712 from nextcloud/dependabot/npm_and_yarn/stable30/babel/node-7.25.9 2024-12-07 04:39:41 +00:00
dependabot[bot] f4480de28c Merge pull request #49713 from nextcloud/dependabot/npm_and_yarn/stable30/nextcloud/cypress-1.0.0-beta.12 2024-12-07 04:05:51 +00:00
dependabot[bot] 7e24752309 chore(deps-dev): bump cypress-split from 1.24.0 to 1.24.7
Bumps [cypress-split](https://github.com/bahmutov/cypress-split) from 1.24.0 to 1.24.7.
- [Release notes](https://github.com/bahmutov/cypress-split/releases)
- [Commits](https://github.com/bahmutov/cypress-split/compare/v1.24.0...v1.24.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-07 03:28:32 +00:00
dependabot[bot] 09783ee07d chore(deps): bump pinia from 2.2.6 to 2.2.8
Bumps [pinia](https://github.com/vuejs/pinia) from 2.2.6 to 2.2.8.
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/pinia@2.2.6...v2.2.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-07 03:28:03 +00:00
dependabot[bot] 5fc19c49fb chore(deps-dev): bump @nextcloud/cypress
Bumps [@nextcloud/cypress](https://github.com/nextcloud/nextcloud-cypress) from 1.0.0-beta.8 to 1.0.0-beta.12.
- [Release notes](https://github.com/nextcloud/nextcloud-cypress/releases)
- [Commits](https://github.com/nextcloud/nextcloud-cypress/compare/v1.0.0-beta.8...v1.0.0-beta.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-07 03:27:11 +00:00
dependabot[bot] ed89608048 chore(deps-dev): bump @babel/node from 7.25.0 to 7.25.9
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.25.0 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>
2024-12-07 03:26:32 +00:00
Nextcloud bot 04c3b7e315 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-07 00:21:33 +00:00
Kate 8c73f3518f Merge pull request #49691 from nextcloud/backport/49688/stable30
[stable30] fix(activity): make emails for link share uploads true by default
2024-12-06 16:16:57 +01:00
skjnldsv 8466d6adf3 fix(activity): make emails for link share uploads true by default
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-06 14:51:39 +00:00
Git'Fellow 0620fb8407 fix(migration): Check if table exists
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-12-06 13:48:04 +00:00
Ferdinand Thiessen e517e7d5fa Merge pull request #49216 from nextcloud/backport/49209/stable30
[stable30] fix(app-store): Add back legacy store API used for update and removal
2024-12-06 11:28:19 +01:00
nextcloud-command c007d67b95 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-06 10:14:28 +00:00
Ferdinand Thiessen c9941dc440 fix(app-store): Add back legacy store API used for update and removal
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-12-06 09:31:45 +01:00
Nextcloud bot eda37c0a62 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-06 00:22:29 +00:00
Christoph Wurst 9e54aa5216 fix(db): Create the systag_by_objectid index for new installations
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-12-05 18:24:06 +00:00
Gonzalo Cao Cabeza de Vaca 543bed6e91 FIX WebDav MacOS failed uploads php-fpm and big files (-36 error)
Current "SetEnvIf Transfer-Encoding "chunked" proxy-sendcl=1" setting fails with Macos Webdav Darwin client beacuse the header has a capital letter -> "Chunked" So you can fix it making condition case insensitive.
Extended description and tests results on https://github.com/nextcloud/server/issues/48878

Signed-off-by: Gonzalo Cao Cabeza de Vaca <57393+gonzalo@users.noreply.github.com>
2024-12-05 15:34:45 +01:00
Arthur Schiwon c8571e5cae Merge pull request #49665 from nextcloud/release/30.0.3
30.0.3
2024-12-05 13:11:54 +01:00
Arthur Schiwon 19b52ee4dc build(hub): 30.0.3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-12-05 12:04:31 +01:00
Louis Chemineau 3497725235 fix: Throw exception when copy failed
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-12-05 10:48:30 +01:00
Louis Chemineau 3b6920fa81 fix: Copying a live photo to a folder with a conflicting mov file
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-12-05 10:47:57 +01:00
Louis Chemineau cd82e0a584 test: Copying a folder containing live photos
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-12-05 10:47:57 +01:00
Louis Chemineau 62163890f7 fix: Handle copy of folders containing live photos
We need to recursively look for live photos in the folder,
and then handle them as usual.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-12-05 10:47:57 +01:00
Louis Chemineau 9ff3ba7ce0 fix: Correctly create NonExistingFolder during copy
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-12-05 10:35:42 +01:00
Robin Appelman be7b6a7b1b test: add some minimal testing for metadata storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-05 10:35:24 +01:00
Robin Appelman ca33a62ec6 fix: smuggle storage id to metadata insert queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-05 10:35:24 +01:00
Nextcloud bot 6204e2c88b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-05 00:43:47 +00:00
Robin Appelman 46ed8cdfde fix: don't propagate future mtimes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-04 19:14:51 +00:00
Robin Appelman f92de57ba0 fix: smb: don't fail hard if we can't load acls for a file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-04 17:23:34 +00:00
Joas Schilling 5b8c2d62f1 Merge pull request #49642 from nextcloud/backport/49633/stable30
[stable30] fix(setupcheck): Disable PhpMaxFileSize setupcheck for now
2024-12-04 09:50:39 +01:00
Joas Schilling 4ee7105f1c fix(setupcheck): Disable PhpMaxFileSize setupcheck for now
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-12-04 08:06:10 +00:00
Nextcloud bot 1ff90dc3da Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-04 00:21:35 +00:00
Robin Appelman 150fc1efde perf: improve performance of SharedStorage::getWatcher
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-03 14:17:02 +01:00
Oleksander Piskun 603174b614 fix(external_storage): Cast id to int 2024-12-03 13:01:40 +00:00
Faisal Alghamdi 696f7c3975 Fix(files_reminders): Add an error log message that notifications app isn't enabled at files_reminders app load.
Signed-off-by: Faisal Alghamdi <falghamdi125@gmail.com>
2024-12-03 09:57:41 +00:00
Joas Schilling 590e76501e fix(maintenance): Show a success message on data-fingerprint command
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-12-02 08:22:25 +00:00
Nextcloud bot 0c32d38383 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-02 00:21:52 +00:00
Nextcloud bot 833fa9e5f3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-01 00:22:39 +00:00
Nextcloud bot a871094374 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-30 00:21:17 +00:00
John Molakvoæ cb5cc88717 Merge pull request #49565 from nextcloud/release/30.0.3_rc2 2024-11-29 16:02:25 +01:00
skjnldsv a46c4c8512 build(hub): 30.0.3 RC2
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-29 15:57:51 +01:00
Nextcloud bot f1d2fb2fad Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-29 00:21:19 +00:00
John Molakvoæ 82874b331e Merge pull request #49524 from nextcloud/release/30.0.3_rc1 2024-11-28 14:39:18 +01:00
Louis 92cd894641 Merge pull request #49547 from nextcloud/backport/49493/stable30
[stable30] feat: Use inline password confirmation in external storage settings
2024-11-28 14:22:34 +01:00
Louis Chemineau b16336adb6 chore: Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-11-28 13:03:52 +01:00
Louis Chemineau d3274bc6d2 test(ExternalStorage): Send basic auth during integrations tests
Signed-off-by: Louis Chemineau <louis@chmn.me>

[skip ci]
2024-11-28 13:03:52 +01:00
Louis Chemineau d224b3fed2 test:(PasswordConfirmationMiddleware): Fix constructor call
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-11-28 13:03:52 +01:00
Louis Chemineau 69f6ba25c7 chore: Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-11-28 13:03:51 +01:00
Louis Chemineau 38add086c9 chore: Run npm run lint:fix
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-11-28 13:03:51 +01:00
Louis Chemineau 97732de328 feat: Use inline password confirmation in external storage settings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-11-28 13:03:51 +01:00
Louis Chemineau 5afae27af1 chore: Bump @nextcloud/password-confirmation to 5.3.0
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-11-28 13:03:51 +01:00
Benjamin Gaussorgues 642110942d Merge pull request #49544 from nextcloud/backport/49541/stable30 2024-11-28 13:01:18 +01:00
Benjamin Gaussorgues 7699598b94 chore: stricter access to testremote endpoint
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-11-28 10:49:27 +00:00
Christoph Wurst 40e60366fa Merge pull request #49537 from nextcloud/backport/49523/stable30
[stable30] fix(migration): Decrypt ownCloud secrets v2
2024-11-28 11:28:56 +01:00
Daniel 3e19016770 Merge pull request #49497 from nextcloud/backport/49494/stable30
[stable30] fix: throw correct exception type when we can't verify if an s3 bucket exists
2024-11-28 10:38:39 +01:00
Christoph Wurst b385520f21 fix(migration): Decrypt ownCloud secrets v2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-11-28 09:43:47 +01:00
Nextcloud bot 16df6aa7c8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-28 00:24:20 +00:00
skjnldsv 0dea8f3bc5 build(hub): 30.0.3 RC1
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-27 22:01:26 +01:00
Joas Schilling 90d440af42 Merge pull request #49522 from nextcloud/backport/49518/stable30
[stable30] fix(activity): Fix activity object type warnings
2024-11-27 14:08:46 +01:00
Joas Schilling 916e050bb5 fix(activity): Fix activity object type warnings
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-27 12:17:49 +00:00
Joas Schilling 76aae5e5e1 Merge pull request #49509 from nextcloud/automated/noid/stable30-update-ca-cert-bundle
[stable30] fix(security): Update CA certificate bundle
2024-11-27 06:47:06 +01:00
nextcloud-command dbd6456c1f fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2024-11-27 02:34:26 +00:00
Nextcloud bot bdd7078aba Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-27 00:21:22 +00:00
Robin Appelman 3ab58abfeb test: attempt to fix smb sso test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-26 18:51:33 +01:00
Robin Appelman 44727d4862 fix: fix availability wrapper not applying
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-26 18:50:00 +01:00
Robin Appelman 3522819624 fix: throw correct exception type when we can't verify if an s3 bucket exists
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-26 18:49:56 +01:00
Marcel Klehr c0cdbd545d Merge pull request #49491 from nextcloud/backport/49489/stable30
[stable30] fix(TaskProcessing): Set up fs in getFileContentsInternal
2024-11-26 13:35:22 +01:00
Marcel Klehr 25f558d004 fix(TaskProcessing): Set up fs in getFileContentsInternal
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-11-26 10:38:17 +00:00
Nextcloud bot a27f11e7ac Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-26 00:21:41 +00:00
Richard Steinmetz f8dfa2bab1 Merge pull request #49480 from nextcloud/backport/49454/stable30
[stable30] fix: invalid usage of IQueryBuilder::createNamedParameter()
2024-11-25 21:16:21 +01:00
Richard Steinmetz 11f444e34f fix: improve oci compatibility when purging calendar invitations
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-11-25 17:03:15 +00:00
Richard Steinmetz 87fd9434ee fix: invalid usage of IQueryBuilder::createNamedParameter()
And fix a typo: chunck -> chunk

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-11-25 17:03:15 +00:00
Kate 0935fd3b31 Merge pull request #49472 from nextcloud/backport/49311/stable30 2024-11-25 13:19:47 +01:00
provokateurin 8e9e893d29 fix(OCMDiscoveryService): Also cache error results during discovery
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-25 11:45:52 +00:00
Côme Chilliet 28d70d1dd8 Merge pull request #49468 from nextcloud/backport/49464/stable30
[stable30] fix(external_storage): Cast id to int
2024-11-25 12:35:19 +01:00
Marcel Klehr 0b4d0187c5 fix(external_storage): Cast id to int
follow up to #49218

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-11-25 10:33:19 +00:00
Stephan Orbaugh 03f8e90001 Merge pull request #49461 from nextcloud/backport/48600/stable30
[stable30] fix(BackgroundJobs): Adjust intervals and time sensitivities
2024-11-25 09:49:30 +01:00
Nextcloud bot fb439dad5e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-25 08:22:50 +00:00
provokateurin a7f5b452d1 fix(BackgroundJobs): Adjust intervals and time sensitivities
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-25 08:38:58 +01:00
provokateurin af800c8f9a feat(TimedJob): Add debug log about time sensitive jobs with long intervals
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-25 08:38:53 +01:00
Nextcloud bot cf3f7ca937 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-25 00:21:30 +00:00
Nextcloud bot ba26d9cd24 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-24 00:21:11 +00:00
Richard Steinmetz 7271d54c93 Merge pull request #49429 from nextcloud/backport/47832/stable30
[stable30] fix: (CalDav) Delete invitation link when deleting Calendars or Events
2024-11-23 16:58:54 +01:00
Nextcloud bot cfc6a5c695 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-23 00:21:48 +00:00
Nextcloud bot 2b0cf3fb68 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-22 00:20:32 +00:00
John Molakvoæ 688d69e54d Merge pull request #49419 from nextcloud/backport/49380/stable30 2024-11-21 16:02:32 +01:00
nextcloud-command 9647bb59d0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-21 14:36:24 +00:00
SebastianKrupinski ea484ec6d2 fix: (CalDav) Delete invitation when deleting Calendars or Events
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-21 14:34:07 +00:00
nextcloud-command 5a99efe890 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-21 14:31:43 +00:00
Ferdinand Thiessen 2fed7bcf82 fix(files): Restore page title (folder - view - product)
* Folder: Current folder if not root
* View: Name of current view
* Product: Nextcloud

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-21 14:31:43 +00:00
Git'Fellow 09ad3951e3 Merge pull request #49373 from nextcloud/backportArrayKeySetupCheks
fix(SetupChecks): Make sure array key is set
2024-11-21 13:08:14 +01:00
John Molakvoæ 2ebcfad1ee Merge pull request #49410 from nextcloud/backport/49315/stable30 2024-11-21 08:42:47 +01:00
Git'Fellow 003bb0aca4 fix(storage): Try to delete existing target
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-11-21 07:44:43 +01:00
Git'Fellow 824536d548 Merge pull request #49400 from nextcloud/backport/49332/stable30
[stable30] fix(job): Check if carddata is resource and read it to string
2024-11-21 05:42:03 +01:00
Nextcloud bot 3f6d5c1b4c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-21 00:21:37 +00:00
Andy Scherzinger ee54c17197 Merge pull request #49405 from nextcloud/backport/47670/stable30
[stable30] fix: Properly calculate intermediate icon for touch icon generation
2024-11-20 19:26:48 +01:00
Julius Härtl a0365b5cf1 fix: Properly calculate intermediate icon for touch icon generation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-11-20 16:42:09 +00:00
Mikhail Kotelnikov b94f396c4f fix(job): Check if carddata is resource and read it to string
Fixes nextcloud/server#46100

Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Mikhail Kotelnikov <fox@woland.me>
2024-11-20 11:34:16 +00:00
Ferdinand Thiessen 14f3dbefbb Merge pull request #49344 from nextcloud/backport/49203/stable30
[stable30] fix(files): Allow downloading multiple nodes not from same base
2024-11-20 10:26:25 +01:00
nextcloud-command 3aab8bd8c4 chore(assets): Recompile assets + lint fix
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-20 09:08:34 +00:00
Ferdinand Thiessen 39e34fd9d9 fix(files): Allow downloading multiple nodes not from same base
When downloading files in e.g. the *favorites* or *recent* view,
then the nodes are not always share the same parent folder
and we can not use the current directory as it is probably just a
virtual one.

So we calculate the longest common base and use that as the directory
for the download endpoint.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-20 09:06:11 +00:00
Nextcloud bot 8ef6145609 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-20 00:21:43 +00:00
John Molakvoæ df8f3d12f4 Merge pull request #49384 from nextcloud/backport/49372/stable30 2024-11-19 22:30:07 +01:00
skjnldsv 79bf1abb98 fix(settings): psalm PhpMaxFileSize setup check warning
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-19 19:05:35 +01:00
skjnldsv e22f8a8fa2 feat(settings): add big file upload setup checks
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-19 16:24:57 +00:00
Joas Schilling 03d7aa6fe4 Merge pull request #49358 from nextcloud/backport/49357/stable30
[stable30] test(fakeAI): Allow to specify whether the fake providers should fail
2024-11-19 17:02:08 +01:00
Git'Fellow 50d071e7d2 fix(SetupChecks): Make sure array key is set
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-11-19 14:11:20 +01:00
John Molakvoæ 75e6e7ca5e Merge pull request #49363 from nextcloud/backport/49346/stable30 2024-11-19 13:19:11 +01:00
John Molakvoæ 6c322e0fe7 Merge pull request #49369 from nextcloud/backport/49199/stable30 2024-11-19 12:44:04 +01:00
Richard Steinmetz b93bab42c5 fix(files): improve delete display name when trashbin is disabled
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-11-19 11:57:08 +01:00
nextcloud-command 7fdbd0b9c4 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-19 09:55:32 +00:00
Ferdinand Thiessen 94262a5c5c fix(core): Do not use v-html for translation output
The content that can be renderered does *not* include HTML (see
`recommended` object).
But `v-html` was used, this is potentially dangerous, even though we
sanitize the translation values, so no urgent harm but better safe than
sorry.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-19 09:49:07 +00:00
Nextcloud bot 0eb1a83179 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-19 00:21:18 +00:00
Joas Schilling a2e672b701 test(fakeAI): Allow to specify whether the fake providers should fail
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-18 21:06:15 +00:00
Pytal f61f0a20ae Merge pull request #48981 from nextcloud/backport/48572/stable30
[stable30] fix(settings): Align contents of profile picture heading
2024-11-18 02:48:10 -08:00
Nextcloud bot c2ce01f740 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-18 00:20:51 +00:00
Nextcloud bot 83b50f7dcf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-17 00:20:55 +00:00
dependabot[bot] 0dc0481cbc Merge pull request #49330 from nextcloud/dependabot/npm_and_yarn/stable30/types/jest-29.5.14 2024-11-16 05:41:49 +00:00
dependabot[bot] 503c92aca6 build(deps-dev): bump @types/jest from 29.5.13 to 29.5.14
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.5.13 to 29.5.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-16 05:25:56 +00:00
dependabot[bot] 64d42e6f52 Merge pull request #49321 from nextcloud/dependabot/npm_and_yarn/stable30/jsdoc-4.0.4 2024-11-16 04:04:43 +00:00
dependabot[bot] 5b879ccbef build(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>
2024-11-16 03:20:11 +00:00
Nextcloud bot f7b3ade8b9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-16 00:21:33 +00:00
Pytal 00f5f180d0 Merge pull request #48978 from nextcloud/backport/48542/stable30
[stable30] fix: Move cloud id into readonly input
2024-11-15 11:17:06 -08:00
nextcloud-command 4825798135 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-15 19:06:24 +00:00
nextcloud-command ef75a5f323 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-15 19:02:46 +00:00
Christopher Ng a7b0ab2b99 fix(settings): Align contents of profile picture heading
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-11-15 10:59:14 -08:00
Christopher Ng 86afd29f5a fix: Move cloud id into readonly input
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-11-15 10:54:50 -08:00
Ferdinand Thiessen c7fb0ed9c6 Merge pull request #49310 from nextcloud/backport/49130/stable30
[stable30] fix: Do not check for strict cookie when running webcron
2024-11-15 17:19:51 +01:00
Sebastian Krupinski 2f65ffd2dc Merge pull request #49302 from nextcloud/backport/48833/stable30
[stable30] fix: RDATE and EXDATE property instances
2024-11-15 07:49:08 -05:00
Ferdinand Thiessen 1fc6cceef8 fix: Do not check for strict cookie when running webcron
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-15 12:27:35 +00:00
Richard Steinmetz 52f85a00f4 Merge pull request #49254 from nextcloud/backport/48134/stable30
[stable30] feat: mail provider settings
2024-11-15 07:59:02 +01:00
SebastianKrupinski 2e807c9f99 fix: RDATE and EXDATE property instances
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-15 06:50:14 +00:00
SebastianKrupinski 1260ec5f21 feat: mail provider settings
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-14 20:26:22 -05:00
Nextcloud bot aba18bacb3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-15 00:21:38 +00:00
Sebastian Krupinski 1eba1a9f5f Merge pull request #49066 from nextcloud/backport/48723/stable30
[stable30] fix(caldav): duration handling in the event reader class
2024-11-14 13:19:46 -05:00
Sebastian Krupinski e93ed852f6 Merge branch 'stable30' into backport/48723/stable30 2024-11-14 12:58:41 -05:00
Richard Steinmetz 1d2124fd54 Merge pull request #49292 from nextcloud/backport/49290/stable30 2024-11-14 17:53:26 +01:00
SebastianKrupinski fe249daf76 fix: use invokePrivate for test
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-14 16:38:46 +00:00
Sebastian Krupinski 8378412d0f Merge pull request #49268 from nextcloud/backport/48583/stable30
[stable30] fix: override iTip Broker to fix several issues
2024-11-14 11:03:19 -05:00
Sebastian Krupinski 5e7e4b5236 Merge branch 'stable30' into backport/48583/stable30 2024-11-14 09:37:26 -05:00
Sebastian Krupinski bf12d4ce50 Merge pull request #49264 from nextcloud/3rdparty/stable30/sabre-dav-itip-broker
[stable30] chore(deps): Add SabreDav Patch for iTip Broker
2024-11-14 09:31:27 -05:00
SebastianKrupinski 61784e7458 chore(deps): Add SabreDav Patch for iTip Broker
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-14 08:44:49 -05:00
Côme Chilliet 23117a0a04 Merge pull request #49277 from nextcloud/backport/48675/stable30
[stable30] DNS: do not query CNAME if A succeeded already
2024-11-14 14:21:01 +01:00
Julien Veyssier 031df2eb2a Merge pull request #49280 from nextcloud/backport/49260/stable30
[stable30] [textprocessing] Fix: Accept scheduling a task if there are equivalent taskprocessing providers only
2024-11-14 12:52:04 +01:00
Richard Steinmetz 50c2661bc1 Merge pull request #49214 from nextcloud/backport/49196/stable30
[stable30] chore(github): Update groupware code owners
2024-11-14 12:34:37 +01:00
Julien Veyssier 8f02796a62 fix(textprocessing): accept scheduling a task if there are equivalent taskprocessing providers only
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-11-14 10:59:16 +00:00
georglauterbach 5915d7f7ce fix: remove superflous line
Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
2024-11-14 10:45:23 +00:00
georglauterbach c97cb962ee fix: do not query CNAME if A succeeded already
Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
2024-11-14 10:45:23 +00:00
Nextcloud bot e75ed32cac Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-14 00:22:48 +00:00
SebastianKrupinski 58a9fb3603 fix: override iTip Broker to fix several issues
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-13 23:33:39 +00:00
John Molakvoæ 2d4c08d965 Merge pull request #49250 from nextcloud/chore/update-nc-libs-stable30
[stable30] chore: Update `@nextcloud/upload` and `@nextcloud/files`
2024-11-13 19:32:10 +01:00
Christoph Wurst 12749a0aa2 chore(github): Update groupware code owners
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-11-13 17:42:47 +01:00
Ferdinand Thiessen 851bc1704b chore: Update @nextcloud/upload and @nextcloud/files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-13 13:44:52 +01:00
dependabot[bot] 445bdd4267 Merge pull request #49047 from nextcloud/dependabot/npm_and_yarn/stable30/cypress-13.13.3 2024-11-13 11:07:19 +00:00
Richard Steinmetz 442d036ac9 Merge pull request #49098 from nextcloud/backport/48933/stable30
[stable30] Clear pending two factor tokens also from configuration
2024-11-13 10:47:20 +01:00
yemkareems 56ce5d03bd Merge pull request #49241 from nextcloud/backport/38630/stable30
[stable30] Fix remaining readdir() calls in loops with undesirable false evaluation potential
2024-11-13 15:16:56 +05:30
Kate 05de3df5c5 Merge pull request #49242 from nextcloud/backport/49237/stable30 2024-11-13 10:46:27 +01:00
Kate cda0a65f38 Merge pull request #49239 from nextcloud/backport/49226/stable30 2024-11-13 09:24:39 +01:00
Sebastian Krupinski 339f6ffadd Merge pull request #49234 from nextcloud/backport/49139/stable30
[stable30] feat: Add X-NC-Disable-Scheduling property to allow skipping scheduling
2024-11-13 03:11:16 -05:00
skjnldsv bf728f9d51 fix(dav): file request guest nickname encoding
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-13 09:05:17 +01:00
Arthur Schiwon b45dc98ba1 fix(Middleware): log deprecation when annotation was actually used
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-11-13 06:29:31 +00:00
yemkareems 3b336466e4 fix: conflicts resolved in apps.php loadDirectory
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-11-13 09:11:43 +05:30
Josh Richards 1fc1543a8b fix: Clean-up some remaining readdir calls with undesirable false evaluation potential
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-11-13 09:11:17 +05:30
Nextcloud bot 0da87f178f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-13 00:21:30 +00:00
John Molakvoæ 0ac2b2b678 Merge pull request #49180 from nextcloud/backport/49143/stable30
[stable30] fix(files): view-in-folder enabled conditions
2024-11-13 00:00:53 +01:00
nextcloud-command f6072e72a0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-12 22:42:31 +00:00
skjnldsv 490716176e fix(files): check that node is in user root folder for view-in-folder action
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-12 22:39:38 +00:00
Richard Steinmetz 87ff49e1b8 fix(caldav): duration handling in the event reader class
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-11-12 18:45:17 +01:00
SebastianKrupinski bc77cf9259 feat: Add X-NC-Disable-Scheduling property to allow skipping scheduling
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-12 15:43:20 +00:00
Joas Schilling 38694e9acc Merge pull request #49230 from nextcloud/backport/49219/stable30
[stable30] docs: Adjust taiwan translators
2024-11-12 15:32:32 +01:00
Joas Schilling 0a9b704831 docs: Adjust taiwan translators
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-12 13:44:40 +00:00
Andy Scherzinger 357524dfd2 Merge pull request #49207 from nextcloud/backport/48736/stable30
[stable30] fix: log a warning when we can't build a background job
2024-11-12 11:43:00 +01:00
John Molakvoæ 049ed9fe0f Merge pull request #49222 from nextcloud/backport/49218/stable30 2024-11-12 11:25:10 +01:00
skjnldsv 51df897f73 fix(files_external): cast storage id int
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-12 09:55:21 +00:00
John Molakvoæ 1c28e81d00 Merge pull request #49160 from nextcloud/backport/49146/stable30
[stable30] fix: undefined variable $response in DAV storage
2024-11-12 10:36:10 +01:00
Nextcloud bot 616a3ea721 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-12 00:23:03 +00:00
Robin Appelman b195ca3920 fix: log a warning when we can't build a background job
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-11 16:33:16 +00:00
Joas Schilling 26ccbaed61 Merge pull request #49195 from nextcloud/backport/49176/stable30
[stable30] feat(testing): Add a fake summary task provider
2024-11-11 09:30:10 +01:00
Joas Schilling 5ff1aa8c81 feat(testing): Add a fake summary task provider
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-11 07:55:11 +00:00
Nextcloud bot 564e712edf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-11 00:21:39 +00:00
Nextcloud bot f7eb79fd9d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-10 00:23:26 +00:00
John Molakvoæ 8b5d9a7594 Merge pull request #49174 from nextcloud/dependabot/npm_and_yarn/stable30/pinia/testing-0.1.7
chore(deps-dev): Bump @pinia/testing from 0.1.5 to 0.1.7
2024-11-09 14:34:53 +01:00
nextcloud-command 68d5e3499e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-09 13:29:57 +00:00
dependabot[bot] cc216fc5f1 chore(deps-dev): Bump @pinia/testing from 0.1.5 to 0.1.7
Bumps [@pinia/testing](https://github.com/vuejs/pinia) from 0.1.5 to 0.1.7.
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/@pinia/testing@0.1.5...@pinia/testing@0.1.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-09 13:28:14 +00:00
John Molakvoæ f6357ebd4d Merge pull request #49157 from nextcloud/backport/49147/stable30 2024-11-09 12:52:35 +01:00
skjnldsv d32699a8c8 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-09 12:01:34 +01:00
skjnldsv 606241cf76 fix(files): open sidebar on sharing tab by default for files
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-09 11:42:08 +01:00
Nextcloud bot b48a877c62 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-09 00:22:21 +00:00
John Molakvoæ c96be6249e Merge pull request #49161 from nextcloud/backport/49150/stable30 2024-11-08 18:38:50 +01:00
skjnldsv 17bed7c3df fix(files): edit locally buttons
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-08 18:20:32 +01:00
Victor Dubiniuk e1df152eb9 Fix Undefined variable: response notice in case of non-404 error
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-08 16:14:47 +00:00
F. E Noel Nfebe cc1197d568 Merge pull request #49149 from nextcloud/backport/49115/stable30
[stable30] fix(SharingEntryLink): Show default password before create if any
2024-11-08 16:40:51 +01:00
skjnldsv 9d62dffc1f chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-08 16:20:27 +01:00
skjnldsv 780362c940 fix(files_sharing): share assignment issue in SharingEntryLink
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-08 16:20:27 +01:00
fenn-cs e581e11ae2 fix(SharingEntryLink): Show default password before create if any
Prevent silent addition of expiration date to shares.

Prevent silent addition for password to shares.

Both now have a `shareRequiresReview` check

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-11-08 16:20:19 +01:00
John Molakvoæ f090ebdb74 Merge pull request #49153 from nextcloud/fix/note-icon-color 2024-11-08 16:12:25 +01:00
skjnldsv 331b8ac927 fix(files_sharing): note icon color on public pages
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-08 14:12:41 +01:00
John Molakvoæ f743eb899b Merge pull request #49107 from nextcloud/backport/49039/stable30 2024-11-08 11:59:26 +01:00
John Molakvoæ fcf11d5828 Merge pull request #49110 from nextcloud/backport/46222/stable30 2024-11-08 10:45:10 +01:00
Kate 74239ef8ed Merge pull request #49138 from nextcloud/backport/49112/stable30 2024-11-08 08:29:34 +01:00
Nextcloud bot 0304e8d4e2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-08 00:21:58 +00:00
John Molakvoæ 8ec9c8fe8f Merge pull request #49136 from nextcloud/backport/49134/stable30 2024-11-07 23:29:14 +01:00
skjnldsv 87c34e63e2 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-07 23:13:57 +01:00
skjnldsv f5f59a8414 chore(files): add selection cypress tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-07 23:13:57 +01:00
provokateurin 6ac71e5ac7 fix(theming): Return default theme if the user never selected a theme
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-07 19:18:13 +00:00
skjnldsv d81e6ebdaf fix(files): multiselect and filters store declaration
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-07 19:13:46 +00:00
Josh fa17ed6fb4 fix(tests): Add IpAddressClassifier v6 zone ID test
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-11-07 09:30:06 -05:00
Benjamin Gaussorgues c23cdf609c Merge pull request #49120 from nextcloud/release/30.0.2 2024-11-07 09:37:28 +01:00
Benjamin Gaussorgues 24cae0370f build(hub): 30.0.2
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-11-07 09:07:28 +01:00
Nextcloud bot 6f868ac3f4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-07 00:25:51 +00:00
Marcel Klehr 7a309e7a99 fix(TaskProcessingApiController): Don't use + to merge non-assoc. arrays
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-11-06 09:44:11 +00:00
Josh 7ff1654ed3 fix(tests): Add RemoteAddress v6 zone ID test
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-11-06 08:19:56 +00:00
Josh e7fa55d59f fix(net): Add IPv6 zone handling to IpAddressClassifier
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-11-06 08:19:56 +00:00
Josh 5fd9c03d18 fix(security): Handle IPv6 zone IDs used in link-local addresses
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-11-06 08:19:56 +00:00
Josh b059bc970b fix(security): Handle IPv6 zone IDs used in link-local addresses
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-11-06 08:19:56 +00:00
Nextcloud bot 14013a5f18 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-06 00:20:27 +00:00
Benjamin Gaussorgues 0f0aa69025 Merge pull request #49079 from nextcloud/release/30.0.2_rc2 2024-11-05 14:28:52 +01:00
Daniel Calviño Sánchez fcefd37a5f fix: Handle exception when clearing previously removed two factor tokens
If a token was already removed from the database but not from the
configuration clearing the tokens will try to remove it again from the
database, which caused a DoesNotExistException to be thrown.

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

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-11-05 10:50:29 +00:00
Benjamin Gaussorgues 29e17ab2f8 Merge pull request #49067 from nextcloud/backport/49065/stable30 2024-11-05 11:07:05 +01:00
Benjamin Gaussorgues 6c9ee5cd9f Merge pull request #49080 from nextcloud/backport/48737/stable30 2024-11-05 11:06:45 +01:00
Benjamin Gaussorgues 6aa43be452 Merge pull request #49093 from nextcloud/chore/nextcloud-dialogs 2024-11-05 11:04:48 +01:00
Ferdinand Thiessen f45c744fd2 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-05 10:19:31 +01:00
Ferdinand Thiessen 431aab43de chore(deps): Update @nextcloud/dialogs to v6.0.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-05 10:19:15 +01:00
Nextcloud bot 1bf2a3213e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-05 00:21:27 +00:00
Benjamin Gaussorgues 33f8caf274 Merge pull request #49076 from nextcloud/backport/49075/stable30 2024-11-04 21:33:19 +01:00
Benjamin Gaussorgues b1759e9b1d Merge pull request #49044 from nextcloud/backport/48912/stable30 2024-11-04 21:33:00 +01:00
Anna Larch 05b9cdf453 fix(caldav): broken activity rich objects
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-11-04 14:46:47 +00:00
Benjamin Gaussorgues a1eff217a1 build(hub): 30.0.2 RC2
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-11-04 15:28:33 +01:00
Joas Schilling 8b5964c0bd fix(owncloud): Fix ownCloud migration with oauth2 app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-04 14:24:16 +01:00
Simon L. f3f3de1a0d docs: update overwrite.cli.url wording
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-11-04 10:48:20 +00:00
Joas Schilling 0319e50ae3 Merge pull request #49057 from nextcloud/backport/48684/stable30
[stable30] chore: Update code owners
2024-11-04 11:36:36 +01:00
Joas Schilling eeb07d1541 chore: Fix maintainer of federation app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-04 10:57:44 +01:00
Marcel Müller a63712ed55 chore: Change Fenn-CS to nfebe
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-11-04 10:57:11 +01:00
Daniel Kesselberg 27fac56c5d chore: rename julius
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-11-04 10:56:58 +01:00
Daniel Kesselberg 117f7f4b06 chore: update groupware code owners
Ref https://github.com/nextcloud/groupware?tab=readme-ov-file#components-and-roles

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-11-04 08:26:25 +00:00
Nextcloud bot bcb8fa8eac Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-04 00:20:28 +00:00
Nextcloud bot fe06d7e3b8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-03 00:21:39 +00:00
dependabot[bot] 6eba03523d build(deps-dev): bump cypress from 13.13.2 to 13.13.3
Bumps [cypress](https://github.com/cypress-io/cypress) from 13.13.2 to 13.13.3.
- [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.13.2...v13.13.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-02 02:16:45 +00:00
Nextcloud bot 8a4d53eb6e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-02 00:20:30 +00:00
Joas Schilling 849b205b59 fix(appinfo): Make sure screenshot, author and category are always arrays
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-01 14:48:33 +00:00
Claudio Cambra a4e2a7bb7b fix(appsmanagement): Fix exception on generating preview url for screenshots
Some installed apps meant for older server versions might unexpectedly
offer up screenshot values in a non-string format (e.g. health). Avoid
an exception by checking first if the first app screenshot is indeed a
string and otherwise we take the value of the parameter

Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-01 14:48:33 +00:00
Nextcloud bot 9bb42ef557 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-01 00:20:27 +00:00
Benjamin Gaussorgues 739a114a0e Merge pull request #48996 from nextcloud/release/30.0.2_rc1 2024-10-31 15:58:32 +01:00
F. E Noel Nfebe fb71f4b1b8 Merge pull request #49022 from nextcloud/backport/49017/stable30
[stable30] fix(ShareEntryLinkList): Append new links to the end of list
2024-10-31 15:20:58 +01:00
fenn-cs 454ac3651e fix(ShareEntryLinkList): Append new links to the end of list
Currently new shares are added to beginning of the share list in the UI

messing up the ordering with the original (first) looking like the most

recent and the most recent looking like the original share. This error

disappears on refresh.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-31 13:58:59 +00:00
Maxence Lange 98a66e289a Merge pull request #49028 from nextcloud/backport/49009/stable30
[stable30] fix(files-external): set password as sensitive
2024-10-31 10:44:37 -01:00
Maxence Lange 7e0ef243e8 fix(files-external): set password as sensitive
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-10-31 11:17:30 +00:00
Nextcloud bot 6c789ca9e1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-31 00:20:47 +00:00
Andrey Borysenko e3c0efa1a7 Merge pull request #48988 from nextcloud/backport/48665/stable30
[stable30] feat(settings): migrate AppAPI ExApps management to settings
2024-10-30 21:10:18 +02:00
nextcloud-command 0ee0e045ab chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-30 18:46:47 +00:00
nextcloud-command 487431fd62 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-30 20:37:32 +02:00
Andrey Borysenko 824aa30057 fix: add missing import after backport
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-30 20:36:59 +02:00
nextcloud-command d66f0cc2d3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-30 20:36:59 +02:00
nextcloud-command 864376d3c3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-30 20:36:59 +02:00
Andrey Borysenko 128b65e0dc fix(ci): eslint fix, minor correction after rebase
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-30 20:36:58 +02:00
Andrey Borysenko 41c61c31e2 fix: loading state reactivity
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-30 20:36:58 +02:00
Andrey Borysenko 6be8cbd16d fix(ci): fix eslint errors
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-30 20:36:58 +02:00
Andrey Borysenko cac5be5341 fix(ci): psalm, suppress undefined for viewApps
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-30 20:36:57 +02:00
Andrey Borysenko 67b4d3d62b fix: address review comments
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-30 20:36:57 +02:00
Andrey Borysenko d91a7feb60 WIP: remove app_api_apps vuex store
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-30 20:36:57 +02:00
Andrey Borysenko 606a9a3d64 WIP: migrate to Pinia, minor fixes
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-30 20:36:56 +02:00
Andrey Borysenko c53f5c43b4 WIP: address review comments, small fixes
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-30 20:36:56 +02:00
Andrey Borysenko fb4150ec86 fix(ci): suppress UndefinedClass for AppAPI related classes since it's bundled
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-30 20:36:56 +02:00
Andrey Borysenko a29e170012 fix(ci): resolve eslint errors
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-30 20:36:55 +02:00
Andrey Borysenko 9e694d12ba WIP: minor fixes
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-30 20:36:55 +02:00
Andrey Borysenko 3d4f0f9b55 WIP: add missing state checks
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-30 20:36:54 +02:00
Andrey Borysenko 18c9a03696 WIP: use global mutation, since app_api_apps is namespaced
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-30 20:36:54 +02:00
Andrey Borysenko 151a75812c WIP: add Daemon badge in app sidebar (2)
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-30 20:36:54 +02:00
Andrey Borysenko 475ce2ead8 feat(settings): migrate AppAPI ExApps management (1)
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-30 20:36:53 +02:00
Andrey Borysenko 3a51374ff3 feat(app_api): add initial state data for AppAPI UI part
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>

# Conflicts:
#	apps/settings/lib/Controller/AppSettingsController.php

# Conflicts:
#	apps/settings/lib/Controller/AppSettingsController.php
2024-10-30 20:36:50 +02:00
Ferdinand Thiessen 2ebef1e3ba Merge pull request #49013 from nextcloud/backport/48991/stable30
[stable30] fix(files_sharing): Password field must not be required if already set
2024-10-30 17:56:56 +01:00
nextcloud-command 72e0e08d5d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-30 16:34:22 +00:00
F. E Noel Nfebe 69bf5f1a83 Merge pull request #48294 from nextcloud/backport/48227/stable30
[stable30] fix(FileList): Show correct avatar for federated share owner
2024-10-30 17:15:00 +01:00
Ferdinand Thiessen 5f157d186e fix(files_sharing): Password field must not be required if already set
If there is already a password, there is no need to require the password
in the setting ('newPassword'). It is only required for new shares.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-30 16:45:31 +01:00
Benjamin Gaussorgues 5787e5f27d Merge pull request #49001 from nextcloud/backport/48559/stable30 2024-10-30 16:06:20 +01:00
nextcloud-command 9aaffb8495 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-30 14:37:05 +00:00
fenn-cs 2e31d35134 fix(Federation): Show some icon for federated users on shares
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-10-30 15:16:00 +01:00
Benjamin Gaussorgues 9fde83cbeb Merge pull request #48618 from nextcloud/backport/48597/stable30 2024-10-30 14:07:43 +01:00
yemkareems 301c42233e Merge pull request #49005 from nextcloud/backport/48992/stable30
[stable30] fix: add PasswordConfirmationRequired to saveGlobalCredentials
2024-10-30 18:01:09 +05:30
yemkareems a967355756 fix: add PasswordConfirmationRequired to saveGlobalCredentials
Co-authored-by: yemkareems <yemkareems@gmail.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-30 11:36:39 +00:00
Benjamin Gaussorgues 0cd1eeb509 fix(sharding): typo in addOrderBy
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-10-30 11:43:38 +01:00
Git'Fellow 45469eef85 Merge pull request #48694 from nextcloud/backport/48689/stable30
[stable30] fix(locking): Accept mixed as value on setTTL
2024-10-30 11:29:34 +01:00
Benjamin Gaussorgues 9a7ee321fa fix(users): improve recently active search
- Remove DISTINCT clause to fix PgSQL
- Join user table only if necessary
- Don't show people who never connected in active list
- Add test

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-10-30 10:17:03 +01:00
Benjamin Gaussorgues 51d8dc76c5 fix(users): use correct active user count
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-10-30 09:09:44 +00:00
Benjamin Gaussorgues 93a3288bd1 Merge pull request #48652 from nextcloud/backport/48638/stable30 2024-10-30 10:06:46 +01:00
Benjamin Gaussorgues c0f0d2bad4 Merge pull request #48245 from nextcloud/backport/48224/stable30 2024-10-30 09:59:15 +01:00
Benjamin Gaussorgues 4ee76302a7 Merge pull request #48620 from nextcloud/backport/48520/stable30 2024-10-30 09:54:01 +01:00
Benjamin Gaussorgues 1c474fc30e Merge pull request #48624 from nextcloud/backport/48619/stable30 2024-10-30 09:45:20 +01:00
Benjamin Gaussorgues 22d9f90742 Merge pull request #48622 from nextcloud/backport/48538/stable30 2024-10-30 09:41:54 +01:00
Git'Fellow 8f5aba2eb7 fix(locking): Accept mixed as value on setTTL
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-10-30 09:31:59 +01:00
Benjamin Gaussorgues 8af1e9f82d Merge pull request #48474 from nextcloud/backport/47846/stable30 2024-10-30 09:29:20 +01:00
John Molakvoæ 800cd53f57 Merge pull request #48667 from nextcloud/dependabot/npm_and_yarn/stable30/libphonenumber-js-1.11.11 2024-10-30 09:25:30 +01:00
Benjamin Gaussorgues 04e82698af Merge pull request #48970 from nextcloud/backport/48766/stable30 2024-10-30 08:58:12 +01:00
Benjamin Gaussorgues 0e27253448 build(hub): 30.0.2 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-10-30 08:42:18 +01:00
Nextcloud bot 5de250c69b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-30 00:20:32 +00:00
Ferdinand Thiessen 27907904d4 Merge pull request #48701 from nextcloud/backport/cachebuster-stable30
[stable30] fix: Shipped apps should include the Nextcloud version in the cache buster
2024-10-30 00:22:58 +01:00
Ferdinand Thiessen b0ddaaddc0 fix: Shipped apps should include the Nextcloud version in the cache buster
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-30 00:02:45 +01:00
Louis 609929888a Merge pull request #48979 from nextcloud/backport/48632/stable30
[stable30] fix(files): Do not jump to top when fileId is set to currentFolder
2024-10-29 18:21:15 +01:00
Kate 9c02abbad6 Merge pull request #48984 from nextcloud/backport/47847/stable30 2024-10-29 17:27:44 +01:00
Robin Appelman 8842fcb003 test: add test for nested jail cross-storage move
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-10-29 15:02:49 +00:00
Daniel Calviño Sánchez 1a98cd52b5 fix: Fix copying or moving from shared groupfolders
When copying or moving between two local storages the source path (on
disk) to copy or move from is got from the unjailed path of the source
storage. However, if the source storage has more than one jail getting
the unjailed path resolves the most external jail, but the source path
needs to be got from the most internal jail instead (the one closer to
the local storage).

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

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-10-29 15:02:49 +00:00
Louis Chemineau 592cdd9603 fix(files): Do not jump to top when fileId is set to currentFolder
Fix https://github.com/nextcloud/server/issues/48545

Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-29 14:38:10 +00:00
yemkareems c5a15be4ea Merge pull request #48976 from nextcloud/backport/48788/stable30
[stable30] fix: add PasswordConfirmationRequired to the external storages mentioned in review
2024-10-29 18:36:58 +05:30
yemkareems b9b23a76c9 fix: cs fix namespace
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-29 11:08:33 +00:00
yemkareems 8739a0add6 fix: add PasswordConfirmationRequired to the eternal storages mentioned in review
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-29 11:08:33 +00:00
Côme Chilliet f7185d8497 fix(provisioning_api): Fix getting disabled users for group admins
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-29 10:43:48 +00:00
Côme Chilliet b2b1be0475 chore(provisioning_api): Add tests for getDisabledUserDetails
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-29 10:43:48 +00:00
John Molakvoæ a9dd34ab35 Merge pull request #48746 from nextcloud/backport/46124/stable30 2024-10-29 11:33:42 +01:00
Kate 7bd791f327 Merge pull request #48571 from nextcloud/backport/48532/stable30 2024-10-29 10:26:18 +01:00
Kate 3521a11c4b Merge pull request #48957 from nextcloud/backport/48921/stable30 2024-10-29 08:42:28 +01:00
Ferdinand Thiessen 7278a1cce0 Merge pull request #48945 from nextcloud/backport/48871/stable30
[stable30] fix(app-store): Update update count in navigation
2024-10-29 08:33:16 +01:00
provokateurin 175035e5bf ci(psalm): Add missing imagick extension
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-29 07:12:59 +00:00
Kate 94a042a378 Merge pull request #48888 from nextcloud/backport/48887/stable30 2024-10-29 08:09:01 +01:00
nextcloud-command 468285ba1d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-29 06:39:48 +00:00
skjnldsv d39776c520 fix(files_sharing): federated shares avatar
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-10-29 07:32:07 +01:00
Nextcloud bot ef682b689d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-29 00:20:26 +00:00
Joas Schilling 084c43fb38 Merge pull request #48950 from nextcloud/backport/48947/stable30
[stable30] fix(config): Mark more configs as sensitive
2024-10-28 20:30:03 +01:00
Joas Schilling f7f875fe7f fix(config): Mark more configs as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-28 15:28:52 +00:00
Kate 5c460f23ae Merge pull request #48861 from nextcloud/backport/48850/stable30 2024-10-28 16:26:45 +01:00
nextcloud-command f9f0c9677a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-28 14:49:05 +00:00
Kate e708baeb88 Merge pull request #48939 from nextcloud/backport/48915/stable30 2024-10-28 15:31:42 +01:00
Joas Schilling f31ac7c1ae Merge pull request #48896 from nextcloud/dependabot/composer/stable30/guzzlehttp/guzzle-7.8.2
chore(deps): Bump guzzlehttp/guzzle from 7.8.1 to 7.8.2
2024-10-28 15:24:45 +01:00
nextcloud-command b1a35f7f79 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-28 14:14:41 +00:00
John Molakvoæ 8eaf664fa6 Merge pull request #48937 from nextcloud/backport/48918/stable30 2024-10-28 14:59:36 +01:00
Ferdinand Thiessen 2dea20bd4f fix(unified-search): Close on second ctrl+f
Also only add the event listener if short-cuts are not disabled for accessibility reasons.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-28 14:43:25 +01:00
Ferdinand Thiessen 663c33f6e0 fix(app-store): Update update count in navigation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-28 14:24:19 +01:00
Joas Schilling 75caf94ac8 chore(deps): Bump guzzlehttp/guzzle from 7.8.1 to 7.8.2
| Prod Packages       | Operation | Base  | Target |
|---------------------|-----------|-------|--------|
| guzzlehttp/guzzle   | Upgraded  | 7.8.1 | 7.8.2  |
| guzzlehttp/promises | Upgraded  | 2.0.2 | 2.0.4  |
| guzzlehttp/psr7     | Upgraded  | 2.6.2 | 2.7.0  |

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-28 14:23:03 +01:00
yemkareems 07d020b4d5 fix: crypto added manually as expected
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 18:42:47 +05:30
yemkareems 57b2150ea4 fix: crypto made inline for constructor and decrypt error handled in exception
Signed-off-by: yemkareems <yemkareems@gmail.com>

[skip ci]
2024-10-28 12:29:20 +00:00
yemkareems 1e18546f36 fix: crypto made inline for constructor and decrypt error handled in exception
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 12:29:20 +00:00
yemkareems b35d56da30 fix: use Icrypto in place of Cypto
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 12:29:20 +00:00
yemkareems 051cc83854 fix: crypto type made not nullable and tests run using ICrypto
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 12:29:20 +00:00
yemkareems b7e4138886 fix: encrypt and store password, decrypt and retrieve the same
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 12:29:20 +00:00
provokateurin 2ba4f6b2a0 fix(files_sharing): Cleanup error messages
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-28 13:07:38 +01:00
Kate 0e4ab29304 Merge pull request #48931 from nextcloud/backport/48917/stable30 2024-10-28 12:09:49 +01:00
provokateurin 321af53ebc fix(dav): Cleanup view-only check
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-28 09:26:03 +00:00
Kate f6421177f8 Merge pull request #48635 from nextcloud/backport/48623/stable30 2024-10-28 10:18:40 +01:00
Julius Knorr 643e9ffb06 fix: Allow overriding shouldApplyQuota check from child classes
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-10-28 09:46:45 +01:00
Grigorii K. Shartsev 34b9721c7b Merge pull request #48901 from nextcloud/backport/48898/stable30
[stable30] fix(files): add title for files list table header button
2024-10-28 13:28:10 +05:00
Nextcloud bot a8f54c0169 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-28 00:20:41 +00:00
Nextcloud bot c1f3c93a69 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-27 00:22:18 +00:00
nextcloud-command a179ec81cc chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-26 08:22:35 +00:00
Nextcloud bot 54438df1ee Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-26 00:20:26 +00:00
Grigorii K. Shartsev eba431074a fix(files): add title for files list table header button
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-25 20:52:12 +00:00
Grigorii K. Shartsev 5c188bf977 Merge pull request #48893 from nextcloud/backport/48625/stable30
[stable30] fix(files): handle empty view with error
2024-10-25 20:55:20 +05:00
Grigorii K. Shartsev 5f9511a3fd chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-25 15:12:39 +02:00
Grigorii K. Shartsev 73d0a04241 refactor(files): migrate to @nextcloud/sharing
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-25 15:12:39 +02:00
Grigorii K. Shartsev 9563f19651 fix(files): handle empty view with error
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-25 12:28:16 +00:00
Grigorii K. Shartsev 2f7eeab191 chore(files): migrate davUtils to TS
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-25 12:28:16 +00:00
F. E Noel Nfebe c02e8517d4 Merge pull request #48890 from nextcloud/backport/48882/stable30
[stable30] refactor(ShareApiController): Check for null and empty strings with e…
2024-10-25 12:58:58 +02:00
fenn-cs 26678174cc refactor(ShareApiController): Check for null and empty strings with empty()
Proactive measure to avoid warnings in higher php versions as well possible type errors

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-10-25 10:26:16 +00:00
Kate e46f180d26 Merge pull request #48881 from nextcloud/backport/48381/stable30 2024-10-25 08:26:36 +02:00
Nextcloud bot 935a545add Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-25 00:20:12 +00:00
Joas Schilling 2f7837e73c Merge pull request #48856 from nextcloud/backport/48839/stable30
[stable30] build: Print RTL limited characters in translation-checker
2024-10-24 21:16:29 +02:00
fenn-cs 0f2013d24f fix(ShareAPI): Send mails for mail shares by default
It looks like, the frontend it needs to provide the `sendMail` param
for the backend to decide wether mails would be sent.

Our UI does not have that at the moment so it should default to sending
emails always for mail shares.

Not exactly sure how this was handled earlier but this is a good starting point.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-10-24 16:29:20 +00:00
Ferdinand Thiessen e200099f82 Merge pull request #48872 from nextcloud/backport/48852/stable30
[stable30] fix(app-store): Correctly render Markdown in app description
2024-10-24 13:58:15 +02:00
nextcloud-command 939c849ee7 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-24 11:42:54 +00:00
Julien Veyssier e676cbf3cc Merge pull request #48877 from nextcloud/backport/48863/stable30
[stable30] [TextProcessing] Fix: Also list types that are available in task processing
2024-10-24 13:42:52 +02:00
Ferdinand Thiessen 3d7f2983ae fix(app-store): Correctly render Markdown in app description
This seems to be broken by an update because the renderer now passes an object instead of multiple arguments to the render functions.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-24 13:35:52 +02:00
Julien Veyssier 70db4f51db feat(textprocessing): factorize taskProcessingCompatibleTaskTypes
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-10-24 10:53:43 +00:00
Julien Veyssier 67437d0325 fix(textprocessing): also list types that are available in task processing
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-10-24 10:53:43 +00:00
Nextcloud bot 433d484e80 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-24 00:20:25 +00:00
Ferdinand Thiessen 61bb1c8d88 Merge pull request #48836 from nextcloud/backport/48799/stable30
[stable30] fix(files_sharing): Add correct context to translation
2024-10-23 22:52:36 +02:00
nextcloud-command 84055b057b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-23 19:44:31 +00:00
Ferdinand Thiessen 70df07bbf5 fix(files_sharing): Add correct context to translation
This string is extracted in the `files_sharing` app so it needs to be accessed there and not on `files`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-23 21:37:45 +02:00
Ferdinand Thiessen 6ec1f763d8 Merge pull request #48834 from nextcloud/backport/48728/stable30
[stable30] fix(files): Adjust NavigationQuota for Nextcloud 30 design
2024-10-23 21:37:30 +02:00
nextcloud-command c1955543c4 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-23 18:50:39 +00:00
Ferdinand Thiessen 6bf7dc1491 fix(files): Adjust NavigationQuota for Nextcloud 30 design
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-23 20:43:05 +02:00
Ferdinand Thiessen 7b2a614ca5 Merge pull request #48866 from nextcloud/backport/48853/stable30
[stable30] fix(app-store): Ensure the `groups` property is always an array
2024-10-23 19:08:38 +02:00
Ferdinand Thiessen 82398a6a0d Merge pull request #48868 from nextcloud/backport/48854/stable30
[stable30] fix(app-store): Also proxy images of locally installed apps
2024-10-23 19:08:15 +02:00
Ferdinand Thiessen 2198fe16c9 fix(app-store): Also proxy images of locally installed apps
Before this only app store apps got their screenshots proxied,
but this will cause locally installed apps to not be correctly shown on the app-store.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-23 15:19:24 +00:00
Ferdinand Thiessen c3d52f6681 Merge pull request #48748 from nextcloud/backport/48373/stable30
[stable30] fix: add PasswordConfirmationRequired to create user storages endpoint
2024-10-23 17:12:55 +02:00
Ferdinand Thiessen 35a1d4b224 fix(app-store): Ensure the groups property is always an array
If the value was a string, like a single group, then `json_decode` will also yield only a string.
So in this case we ensure the property is always an array with that value.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-23 15:05:23 +00:00
Joas Schilling 99eb553a33 build: Show the actual string
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-23 11:43:37 +00:00
provokateurin 18397178db build: Print RTL limited characters in translation-checker
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-23 11:43:37 +00:00
Nextcloud bot 0fef593f7b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-23 00:24:09 +00:00
Nextcloud bot 6998ef9107 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-22 12:31:24 +00:00
Nextcloud bot eb5e392095 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-22 11:39:27 +00:00
Joas Schilling 06c1328ce7 Merge pull request #48830 from nextcloud/backport/48603/stable30
[stable30] fix(logger): Remove more parameters of other methods
2024-10-22 08:43:59 +02:00
Nextcloud bot 9330d8e73b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-22 00:22:39 +00:00
Joas Schilling c6f0a422b0 fix(logger): Remove more parameters of other methods
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-21 16:52:48 +00:00
Joas Schilling cb65e75e18 Merge pull request #48550 from nextcloud/backport/48540/stable30
[stable30] fix(filesexternal): Remove unneeded 3rdparty library use
2024-10-21 18:50:10 +02:00
Ferdinand Thiessen 876262d6f5 Merge pull request #48731 from nextcloud/backport/48425/stable30
[stable30] fix(files): Ensure renaming state is correctly reset
2024-10-21 15:35:40 +02:00
nextcloud-command f6fe03927a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-21 12:02:19 +00:00
Ferdinand Thiessen d4685cb036 fix(files): Ensure renaming state is correctly reset
Problem: Is a node is renamed and the new name is out of the current
visible list of nodes the component will be recycled, this means
the props will change, so when the `onRename` functions is about to reset
the state the `this.source` will point to a different node.

To fix this, but also to separate business logic from visual representation,
the logic is moved into the renaming store and the component is only
responsible for rendering.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-21 13:53:08 +02:00
Ferdinand Thiessen 7f472cccf0 Merge pull request #48824 from nextcloud/backport/48787/stable30
[stable30] ci: Update list of installed PHP extensions (as some are not default …
2024-10-21 13:51:25 +02:00
Ferdinand Thiessen be931b75e9 Merge pull request #48730 from nextcloud/backport/48696/stable30
[stable30] fix(files_sharing): Add proper user facing messages on success
2024-10-21 12:25:03 +02:00
Joas Schilling 97dc0aae75 Merge pull request #48763 from nextcloud/dependabot/composer/stable30/symfony-6.4
[stable30] build: Bump symfony/* to 6.4
2024-10-21 12:13:56 +02:00
Joas Schilling 57069e35c7 test(settings): Correctly only return bool for Symfony Input::hasParameterOption calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-21 11:28:55 +02:00
Joas Schilling decc236f98 fix(message): Fix logic of Mail test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-21 11:28:54 +02:00
Joas Schilling 564040c3ae fix: Ensure we only pass string to writeln()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-21 11:28:54 +02:00
Joas Schilling b7a164427c test: Fix wrongly mocked method
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-21 11:28:53 +02:00
Joas Schilling c71097640a test: Fix mock creation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-21 11:28:53 +02:00
Joas Schilling 91b9562bdd ci: Fix psalm by typing the QuestionHelper
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-21 11:28:53 +02:00
Joas Schilling d1d30e0be7 ci: Update psalm-baseline
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-21 11:28:52 +02:00
Joas Schilling fd73366def fix(command): Make method compatible with upstream class (requires 3rdparty bump)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-21 11:28:52 +02:00
Joas Schilling dbb669d03d fix(command): Make method compatible with upstream class (backportable)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-21 11:28:51 +02:00
Joas Schilling 7e5ca85f63 build: Bump symfony/* to 6.4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-21 11:28:51 +02:00
Kate 9e28a1e0c7 Merge pull request #48710 from nextcloud/backport/48682/stable30 2024-10-21 10:16:05 +02:00
Joas Schilling 69949eb4e0 ci: Update list of installed PHP extensions (as some are not default enabled in new images)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-21 09:08:54 +02:00
Nextcloud bot a36273ac6a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-21 00:20:38 +00:00
Joas Schilling 496f7ae9fe Merge pull request #48818 from nextcloud/backport/48812/stable30
[stable30] fix(activity): Fix download activity parameters
2024-10-20 08:27:00 +02:00
Joas Schilling 58ac37dfcc fix(activity): Fix download activity parameters
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-20 06:05:14 +00:00
Nextcloud bot fc17a414b4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-20 00:20:42 +00:00
Joas Schilling 95017d2dbb Merge pull request #48778 from nextcloud/automated/noid/stable30-update-code-signing-crl
[stable30] fix(security): Update code signing revocation list
2024-10-19 08:24:04 +02:00
nextcloud-command 6390a5bbae fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2024-10-19 02:29:24 +00:00
Nextcloud bot 4bfa4fc07a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-19 00:23:04 +00:00
Marcel Müller 723a24e141 Merge pull request #48754 from nextcloud/backport/48743/stable30
[stable30] fix(appstore): Hide last modified information for shipped apps
2024-10-18 12:39:44 +02:00
Marcel Müller 2023f3cce3 fix(appstore): Hide last modified information for shipped apps
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-10-18 12:02:07 +02:00
Ferdinand Thiessen d613e8a2e3 fix: Add frontend code for password confirmation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-18 11:28:37 +02:00
yemkareems c9075d3379 fix: add PasswordConfirmationRequired to update and delete method
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-18 11:28:37 +02:00
yemkareems 501bea8226 fix: add PasswordConfirmationRequired to create user storages endpoint
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-18 11:28:37 +02:00
Joas Schilling 245b724edd Merge pull request #48785 from nextcloud/backport/48760/stable30
[stable30] feat(comments): Support mentioning emails
2024-10-18 09:05:31 +02:00
Joas Schilling 498c3dc566 fix(comments): Add test for email mention
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-18 06:21:01 +00:00
Joas Schilling 570428e4e6 fix(comments): Document supported types and provide psalm typing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-18 06:21:01 +00:00
Joas Schilling bd30a7ac21 feat(comments): Support mentioning emails
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-18 06:21:01 +00:00
Nextcloud bot 324451cbac Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-18 00:20:32 +00:00
Ferdinand Thiessen 50d4656f1c Merge pull request #48240 from nextcloud/backport/47905/stable30
[stable30] fix(files): Ensure children are removed from folder and not duplicated
2024-10-17 18:36:02 +02:00
Ferdinand Thiessen 761f7e1f70 Merge pull request #48703 from nextcloud/backport/48673/stable30
[stable30] fix(share): Return empty string if no label is set
2024-10-17 18:25:16 +02:00
nextcloud-command a78b0d2736 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-17 16:20:26 +00:00
Ferdinand Thiessen ef8547b5bd fix(files_sharing): Add proper user facing messages on success
1. Use proper translated strings
2. Fix invalid use of translation message on API result
3. Log all errors

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-17 18:10:18 +02:00
Ferdinand Thiessen 7b78a64fa8 test(files): Add tests for path handling
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-17 17:54:13 +02:00
Maksim Sukharev fb531e6c7d Merge pull request #48751 from nextcloud/backport/48734/stable30 2024-10-17 16:50:28 +02:00
Ferdinand Thiessen c7d22f9773 fix(files): Ensure children are removed from folder and not duplicated
* Resolves https://github.com/nextcloud/server/issues/47904

We need to make sure that we only add one source (unique!) once as a child,
this is ensured by simply use a native `Set`.
Also we need to remove children on from folders when the `files:node:deleted`
event is emitted.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-17 16:25:24 +02:00
Ferdinand Thiessen 47f29c5f0e Merge pull request #48458 from nextcloud/backport/47910/stable30
[stable30] fix(files): Add more visual move / copy notification
2024-10-17 16:24:04 +02:00
nextcloud-command e5f0dade30 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-17 13:26:59 +00:00
Maksim Sukharev d74fdbbf8f fix: add notification icon for transfer ownership
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-10-17 15:02:48 +02:00
Maksim Sukharev 5eecc0481c fix: do not duplicate existing entity
- this reverts 1e8048abee

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-10-17 15:02:48 +02:00
Maksim Sukharev 197cdfb480 fix: dismiss notification only after transfer bg job created
- do not create 'denied' notification if bg job exists

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-10-17 15:02:48 +02:00
Ferdinand Thiessen 64cc7afb12 fix(files): Add more visual move / copy notification
* Resolves: https://github.com/nextcloud/server/issues/46645

This adds loading toast notification while the move operation is running.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-17 15:02:15 +02:00
Benjamin Gaussorgues f2bdd06c4f Merge pull request #47878 from nextcloud/backport/47848/stable30 2024-10-17 14:58:58 +02:00
Ferdinand Thiessen 29a3448499 Merge pull request #48589 from nextcloud/backport/47896/stable30
[stable30] fix: Make user removal more resilient
2024-10-17 14:57:53 +02:00
nextcloud-command 6e21d94762 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-17 14:32:23 +02:00
Ferdinand Thiessen f8bb7c8b4d fix(files): Make openMenu watcher null safe
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-17 14:27:30 +02:00
Ferdinand Thiessen be33321059 fix(files): Reset context menu position on close
* Resolves https://github.com/nextcloud/server/issues/46934

Ensure that after a right-click the context menu position is resetted,
so that pressing the "actions"-menu button it is displayed on the correct location.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-17 14:27:30 +02:00
Arthur Schiwon fd746c69f4 Merge pull request #48757 from nextcloud/release/30.0.1
30.0.1
2024-10-17 12:37:38 +02:00
Arthur Schiwon 86798afaaa build(hub): 30.0.1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-10-17 09:26:52 +02:00
Nextcloud bot 8edcdbf538 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-17 00:21:20 +00:00
Christopher Ng 6090985ca3 refactor: Inject IRootFolder
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-16 16:16:38 -07:00
Christopher Ng a7ca1c6289 fix: Fix "Unknown path" error when source user files folder has not been initialized
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-16 16:16:11 -07:00
Nextcloud bot 281de601c7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-16 00:20:28 +00:00
Côme Chilliet 5b1cbaf583 fix(tests): Fix sharebymail tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 14:37:49 +02:00
Côme Chilliet 54905c3923 fix(sharebymail): Fix share update when node id changed
This fixes transfering an email share from a user to another one when using
 objectstore as primary storage.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 14:37:49 +02:00
Côme Chilliet 3a6d4ae3aa feat(transfer-ownership): Improve verbose output of command
Makes debbuging way easier

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 14:37:49 +02:00
provokateurin 091428f21f fix(AppConfig): Add external JWT private key to sensitive keys
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-15 08:43:29 +00:00
Nextcloud bot 8ab31fd4ab Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-15 00:20:20 +00:00
Ferdinand Thiessen d7d6874242 revert: "fix(files_sharing): Make share labels nullable"
This reverts commit 01c4fa3ba8.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-14 17:11:16 +00:00
Ferdinand Thiessen dfe8f642cd fix(share): Return empty string if no label is set
* Resolves: https://github.com/nextcloud/server/issues/48629

While the database supports NULL, the typing has always said it only returns *string*.
So to not break any apps that might trust the typings we should return `''` if the database is set to `NULL`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-14 17:11:16 +00:00
Nextcloud bot 4c06e3278d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-14 00:20:08 +00:00
dependabot[bot] a67f5e315a chore(deps): Bump libphonenumber-js from 1.11.9 to 1.11.11
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.11.9 to 1.11.11.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.11.9...v1.11.11)

---
updated-dependencies:
- dependency-name: libphonenumber-js
  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>
2024-10-13 08:47:53 +00:00
Nextcloud bot ea2848bfc5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-13 00:22:03 +00:00
Nextcloud bot 4d09238b40 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-12 00:20:21 +00:00
Nextcloud bot c88e71d4c4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-11 00:25:16 +00:00
Christopher Ng 489eda4c09 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-10 11:32:09 -07:00
Christopher Ng 6b1c747a08 fix: Fix "Reasons to use Nextcloud" design
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-10 11:31:20 -07:00
Christopher Ng 1fd0fa4a19 chore: generate icons css
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-10 11:29:58 -07:00
Christopher Ng cae3621395 chore: Add text file icon class
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-10 11:29:53 -07:00
Arthur Schiwon d94d23a8bc Merge pull request #48644 from nextcloud/release/30.0.1_rc2
30.0.1 RC2
2024-10-10 15:43:21 +02:00
Arthur Schiwon 0c90860e97 build(hub): 30.0.1 RC2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-10-10 09:49:47 +02:00
Stephan Orbaugh bb4d0c7a25 Merge pull request #48630 from nextcloud/backport/48628/stable30
[stable30] fix(dav): Public WebDAV endpoint should allow `GET` requests
2024-10-10 09:28:56 +02:00
Nextcloud bot 39bae6f325 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-10 00:20:23 +00:00
Christopher Ng 221f7a3368 test: Fix tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-09 14:53:41 -07:00
Christopher Ng deca48be5c refactor: Clean up
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-09 14:53:05 -07:00
Christopher Ng 31dbfcbae9 fix: Return correct list of managers for a user
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-09 14:53:00 -07:00
Christopher Ng 5611268a15 fix: Subadmin can access self
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-09 14:52:11 -07:00
Ferdinand Thiessen b79d2b7041 fix(dav): Public WebDAV endpoint should allow GET requests
`GET` should be allowed even without Ajax header to allow downloading files,
or show files in the viewer. All other requests could be guarded, but this should not.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-09 17:40:50 +02:00
nextcloud-command d6b86729fd chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-09 13:40:43 +00:00
Ferdinand Thiessen 1d3bc3f61f fix(federatedfilessharing): Use social media icons from core rather than inline SVGs
* Use correct facebook icon provided by Meta
  The legal terms require to exactly use the facebook logo as provided by Meta.
* Add correct X logo as provided by X Corp.
* Use social media icons from core rather than inline SVGs
* Make copy logic more resilient and use Typescript
* Add aria label to include the `X` in `X (formerly Twitter)` button.
* Use valid mastodon URL for sharing

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-09 15:34:21 +02:00
fenn-cs 6f8a3ee082 chore: Replace Twitter & Diaspora links and text
- Use Twitters new name "X"
- Remove Diaspora social and include Mastodon instead

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-10-09 15:34:21 +02:00
Stephan Orbaugh 8bf6a60199 Merge pull request #48553 from nextcloud/backport/48543/stable30
[stable30] fix(theming): Fix layout of themes
2024-10-09 15:24:10 +02:00
Robin Appelman f8278c13a6 fix: improve moving object store items to trashbin
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-10-09 14:46:36 +02:00
Hamza Mahjoubi ba9787088a fix: provision api's status codes
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-10-09 13:49:04 +02:00
Christopher Ng f582aba86e fix: Fix empty sections appearing in search results
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-09 08:59:46 +00:00
Nextcloud bot ec396e588f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-09 00:20:19 +00:00
provokateurin d10330b217 fix(UserTrait): Fix backend initialization
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-08 21:02:30 +02:00
Ferdinand Thiessen 198c2d3d68 fix: Skip users that still exist in backend
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-08 21:02:20 +02:00
Ferdinand Thiessen 7dd85e15b9 fix: Make user removal more resilient
Currently there is a problem if an exception is thrown in `User::delete`,
because at that point the user is already removed from the backend,
but not all data is deleted.

There is no way to recover from this state, as the user is gone no information is available anymore.
This means the data is still available on the server but can not removed by any API anymore.

The solution here is to first set a flag and backup the user home,
this can be used to recover failed user deletions in a way the delete can be re-tried.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-08 21:02:07 +02:00
Andy Scherzinger 3b51990d5b Merge pull request #48615 from nextcloud/backport/45765/stable30
[stable30] fix(settings): Use axios directly for health check to preven URL sanitizing
2024-10-08 17:08:21 +02:00
nextcloud-command a81768108b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-08 14:09:30 +00:00
Ferdinand Thiessen f1f265894e 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>
2024-10-08 13:51:46 +00:00
Stephan Orbaugh 631ceaf6b0 Merge pull request #48558 from nextcloud/backport/48522/stable30
[stable30] fix(QueryBuilder): Account for aliases in output columns
2024-10-08 11:13:35 +02:00
Stephan Orbaugh 166d2f06f3 Merge pull request #48551 from nextcloud/backport/48548/stable30
[stable30] fix(admin_audit): Listen to the right events
2024-10-08 10:17:59 +02:00
Nextcloud bot c4a8faaa19 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-08 00:20:15 +00:00
Joas Schilling aff5d46e47 Merge pull request #48586 from nextcloud/backport/48584/stable30
[stable30] fix(config): Mark more app configs sensitive
2024-10-07 13:01:48 +02:00
Joas Schilling 3956088049 fix(config): Mark more app configs sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-07 09:00:48 +00:00
Nextcloud bot eaabc28584 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-07 00:20:03 +00:00
Nextcloud bot fcbb1f3293 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-06 00:21:27 +00:00
Nextcloud bot a48a8e725e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-05 00:20:24 +00:00
Maksim Sukharev 6c73ba339a fix: do not reduce count for subadmins if they are members of group
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-10-04 18:22:16 +00:00
Nextcloud bot 561a11b311 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-04 00:20:11 +00:00
nextcloud-command 78d53c4ba1 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-03 18:16:54 +00:00
Christopher Ng b96c78308b fix(theming): Fix layout of themes
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-03 11:09:58 -07:00
Côme Chilliet bc125c982b fix(admin_audit): Listen to the right events
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-03 16:19:30 +02:00
provokateurin aab30afc25 fix(QueryBuilder): Account for aliases in output columns
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-03 13:49:00 +00:00
Joas Schilling fb95695f28 fix(filesexternal): Remove unneeded 3rdparty library use
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-03 10:29:10 +00:00
Nextcloud bot faf9b891e6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-03 00:20:43 +00:00
Daniel 3846e0aafc Merge pull request #48529 from nextcloud/backport/48519/stable30
[stable30] fix(dav): don't crash subscription on invalid calendar object
2024-10-02 18:29:13 +02:00
Benjamin Gaussorgues d0f14e5bdb Merge pull request #48500 from nextcloud/release/30.0.1_rc1 2024-10-02 16:15:18 +02:00
escoand 48eec1fd35 fix(dav): don't crash subscription on invalid calendar object
Signed-off-by: escoand <escoand@users.noreply.github.com>
2024-10-02 15:53:50 +02:00
Anna d2182e0611 Merge pull request #48531 from nextcloud/backport/48508/stable30
[stable30] fix(caldav): add missing handlers
2024-10-02 15:43:56 +02:00
Anna Larch e480fd39a2 fix(caldav): add missing handlers
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-10-02 13:13:52 +00:00
Benjamin Gaussorgues 56d88f74ee Merge pull request #48516 from nextcloud/backport/48512/stable30 2024-10-02 14:55:02 +02:00
Daniel 39c6aafe72 Merge pull request #48506 from nextcloud/backport/48451/stable30
[stable30] fix: make federation address book sync work with allow_local_remote_servers = false
2024-10-02 14:53:11 +02:00
Kate 7d3bf7cf59 Merge pull request #48523 from nextcloud/backport/48486/stable30 2024-10-02 13:25:59 +02:00
fenn-cs 8ec6e47bba chore: Move from Twitter to X
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-10-02 10:05:04 +00:00
Marcel Klehr 685fe09f09 Merge pull request #48514 from nextcloud/backport/48513/stable30
[stable30] fix(TaskProcessing\Manager): Don't provoke PHP notice in setTaskResult
2024-10-02 11:59:02 +02:00
nextcloud-command 1cbd3cea9a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-02 09:27:56 +00:00
Christopher Ng 56953f4315 fix(files): Fix folders not being selectable in the smart picker
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-02 09:09:04 +00:00
Benjamin Gaussorgues 8290de3b93 Merge pull request #48077 from nextcloud/backport/47852/stable30 2024-10-02 10:43:41 +02:00
Kate a13cc43d04 Merge pull request #48093 from nextcloud/backport/47316/stable30 2024-10-02 10:10:06 +02:00
Ferdinand Thiessen b764ad7a3a Merge pull request #48452 from nextcloud/backport/48439/stable30
[stable30] fix(theming): Use `AppConfig` for setting background image
2024-10-02 10:09:43 +02:00
Marcel Klehr ab8078a430 fix(TaskProcessing\Manager): Don't provoke PHP notice in setTaskResult
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-10-02 07:57:16 +00:00
Ferdinand Thiessen 7ca6e45c7a fix(theming): Use AppConfig for setting background image
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-02 09:21:57 +02:00
Vincent FarZz b146952b63 fix: Prevent crash when refreshing metadata for files without an owner
This crash was mostly happening when using external storages and for example the command "occ memories:migrate-google-takeout"

Signed-off-by: Vincent FarZz <farcry69@live.fr>
2024-10-02 09:21:44 +02:00
Josh fcf45b6869 Merge pull request #48489 from nextcloud/backport/48480/stable30
[stable30] fix(migration): Check if column exits before adding it
2024-10-01 21:24:02 -04:00
Nextcloud bot 080f7a73e4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-02 00:20:05 +00:00
Daniel Kesselberg 8026f7afba fix: make federation address book sync work with allow_local_remote_servers = false
Client.preventLocalAddress expects an absolute URL, which means the base_uri option cannot be used.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-10-01 21:37:18 +02:00
Josh 95f1a7b0be Merge pull request #48503 from nextcloud/backport/48426/stable30
[stable30] fix(config): Suppress `config.php` fopen error at install time
2024-10-01 14:10:12 -04:00
Arthur Schiwon b501c806a0 Merge pull request #48492 from nextcloud/backport/48484/stable30
[stable30] fix(Auth): ignore missing token when trying to set password-unconfirm…
2024-10-01 19:53:50 +02:00
Josh 60872a1c4c fix(config): Suppress error at install time
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-10-01 16:24:11 +00:00
Benjamin Gaussorgues 64c4f2ce20 build(hub): 30.0.1 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-10-01 17:46:51 +02:00
Arthur Schiwon f794ad0888 fix(Auth): ignore missing token when trying to set password-unconfirmable
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-10-01 13:48:57 +00:00
Git'Fellow 45fd3d2fe3 fix(migration): Check if column exits before adding it
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-10-01 13:19:01 +00:00
Nextcloud bot 8e093bd92f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-01 00:20:38 +00:00
Daniel 6560e3aa6c Merge pull request #48469 from nextcloud/backport/48466/stable30
[stable30] ci: fail psalm when baseline update required
2024-09-30 22:32:27 +02:00
Daniel Kesselberg 64ff9cd2f3 ci: fail psalm when baseline update required
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-30 17:05:19 +00:00
Kate 2bc11653e4 Merge pull request #48447 from nextcloud/backport/48437/stable30 2024-09-30 12:46:42 +02:00
Maksim Sukharev 962a971643 fix: correctly count disabled users for subadmins
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-09-30 10:10:22 +00:00
Kate 6949e21c09 Merge pull request #48317 from nextcloud/backport/48307/stable30 2024-09-30 10:24:20 +02:00
Richard Steinmetz c4ffd84439 fix: gracefully parse non-standard trusted certificates
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-09-30 09:11:42 +02:00
Nextcloud bot b2fa6ff197 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-29 00:28:04 +00:00
dependabot[bot] 157190e7e7 Merge pull request #48428 from nextcloud/dependabot/npm_and_yarn/stable30/vueuse/core-10.11.1 2024-09-28 23:05:19 +00:00
dependabot[bot] 52fa7053d4 chore(deps): Bump @vueuse/core from 10.11.0 to 10.11.1
Bumps [@vueuse/core](https://github.com/vueuse/vueuse/tree/HEAD/packages/core) from 10.11.0 to 10.11.1.
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v10.11.1/packages/core)

---
updated-dependencies:
- dependency-name: "@vueuse/core"
  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>
2024-09-28 22:51:23 +00:00
dependabot[bot] fc2759ef97 Merge pull request #48429 from nextcloud/dependabot/npm_and_yarn/stable30/libphonenumber-js-1.11.9 2024-09-28 21:57:35 +00:00
dependabot[bot] 6547cc127a chore(deps): Bump libphonenumber-js from 1.11.5 to 1.11.9
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.11.5 to 1.11.9.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.11.5...v1.11.9)

---
updated-dependencies:
- dependency-name: libphonenumber-js
  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>
2024-09-28 21:42:28 +00:00
Nextcloud bot d73fb7dd6e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-28 00:20:15 +00:00
Andy Scherzinger 451bf4f0b7 Merge pull request #48394 from nextcloud/backport/48375/stable30
[stable30] Skip future shipped apps from updatenotification check
2024-09-27 08:28:44 +02:00
Nextcloud bot aa8ef0e8b6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-27 00:20:41 +00:00
Kate 0676a52c1d Merge pull request #48401 from nextcloud/backport/48366/stable30 2024-09-26 19:07:15 +02:00
Joas Schilling dea14e3785 Merge pull request #48395 from nextcloud/backport/48153/stable30
[stable30] feat(app_api): make app_api shipped and default enabled
2024-09-26 17:29:44 +02:00
Louis 84d060f75c Merge pull request #48388 from nextcloud/backport/48359/stable30
[stable30] fix: Use placeholder for external storage password
2024-09-26 17:26:58 +02:00
Kate 673d85bbeb Merge pull request #48391 from nextcloud/backport/48361/stable30 2024-09-26 17:04:01 +02:00
Joas Schilling e0bc8271a7 Merge pull request #48374 from nextcloud/dependabot/composer/stable30/laravel/serializable-closure-1.3.5
[stable30] build(deps): Bump laravel/serializable-closure from 1.3.3 to 1.3.5
2024-09-26 16:53:58 +02:00
provokateurin 35d2da42ec fix(files_sharing): Check if propfind response is valid before accessing share permission props
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 14:23:55 +00:00
provokateurin 93b634f497 refactor(files_sharing): Make permissions prop checks less error prone
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 14:23:55 +00:00
provokateurin 7f22f3d42d fix(files_sharing): Parse OCM share permissions from OCM and not OCS prop
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 14:23:55 +00:00
Andrey Borysenko a5bc59f70f feat: add app_api to shipped and default enabled apps
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-09-26 13:27:08 +00:00
Joas Schilling c8f70716da fix(updatenotification): Communicate app_api as shipped in 30+
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-26 13:26:09 +00:00
Joas Schilling 1ab03a65cf fix(updatenotification): Communicate twofactor_nextcloud_notification as shipped in 30+
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-26 13:26:09 +00:00
Joas Schilling bff7282b16 fix(updatenotification): Communicate files_downloadlimit as shipped in 29+
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-26 13:26:09 +00:00
provokateurin bbeda126cc fix(QueryBuilder): Restrict identifier length to 30 characters due to Oracle limitations
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 13:16:02 +00:00
Joas Schilling 389b23af24 build(deps): Bump laravel/serializable-closure from 1.3.3 to 1.3.5
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-26 15:13:10 +02:00
Louis Chemineau 9668f48bd7 fix: Use hashed password in files_external settings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-26 13:04:58 +00:00
Daniel e4a564392e Merge pull request #48365 from nextcloud/backport/48345/stable30
[stable30] fix(files_external): Catch correct exception
2024-09-26 14:39:52 +02:00
Joas Schilling 5cc1fb9d0b Merge pull request #48142 from nextcloud/backport/47265/stable30
[stable30] feat(share): ensure unique share tokens with dynamic length adjustment
2024-09-26 12:33:34 +02:00
Joas Schilling 97527e698f Merge pull request #48330 from nextcloud/dependabot/composer/stable30/doctrine/dbal-3.9.1
[stable30] fix(deps): Bump doctrine/dbal from 3.8.3 to 3.9.1
2024-09-26 11:44:17 +02:00
Louis 5d7dd7ded6 Merge pull request #48369 from nextcloud/backport/48354/stable30
[stable30] fix: Show storage full warning when storage is actually full
2024-09-26 11:41:26 +02:00
Louis Chemineau 17ec9a2317 fix: Show storage full warning when storage is actually full
< 0 values for "free" do not mean that the storage is full: https://github.com/nextcloud/server/blob/6befdd6dd7cd20fe7f7036e4665bcfbb783d6803/lib/public/Files/FileInfo.php#L31-L42

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>
2024-09-26 08:58:26 +00:00
Joas Schilling d4afd23bcf fix(deps): Bump doctrine/dbal from 3.8.3 to 3.9.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-26 10:22:17 +02:00
Marcel Klehr 3b29a3959e fix(files_external): Catch correct exception
SMB#getFileInfo used to throw an icewind/smb exception, but nowadays throws \OCP\Files\ForbiddenException. This fixes downstream methods to catch the new exception.

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-09-26 07:37:40 +00:00
Nextcloud bot a4b5fc2e99 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-26 00:23:16 +00:00
Pytal 66702e19a7 Merge pull request #48350 from nextcloud/backport/48331/stable30
[stable30] fix(files): Fix having to resolve conflicts twice when dropping files
2024-09-25 14:49:57 -07:00
nextcloud-command 2a397d22a3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-25 21:33:53 +00:00
Christopher Ng 88687a8223 fix(files): Fix having to resolve conflicts twice when dropping files
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-25 14:25:58 -07:00
Joas Schilling 2cf9f0d04b Merge pull request #48358 from nextcloud/backport/48356/stable30
[stable30] fix(icons): Document icon requirements for notifications and activities
2024-09-25 18:02:15 +02:00
Joas Schilling e756dff419 fix(icons): Document icon requirements for notifications and activities
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-25 15:16:59 +00:00
ernolf 0551919bce fix(share): Ensure unique share tokens
- check for token collisions and retry up to three times.
- throw after 3 attempts without finding a unique token.

Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
2024-09-25 09:39:51 +02:00
Joas Schilling cfb8f1289e Merge pull request #48286 from nextcloud/backport/48215/stable30
[stable30] fix(tests): Fix test selection and run unit tests of DAV and user_status
2024-09-25 09:00:57 +02:00
Joas Schilling abe82432cb fix(querybuilder): Fix boolean type so that oracle handles boolean well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-25 08:40:53 +02:00
Joas Schilling 5bd1e28594 fix(tests): Check that the revert was successful
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-25 08:39:16 +02:00
Joas Schilling cd27ba7e54 fix(tests): Also check that the backup status works
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-25 08:39:16 +02:00
Joas Schilling 04a5e492ed fix(tests): Make timing test more reliable
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-25 08:39:16 +02:00
Anna Larch a75e432572 test: fix ContactsMigratorTest
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-25 08:39:15 +02:00
Joas Schilling 4b570cf643 fix(user_status): Fix integration test of user status
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-25 08:39:15 +02:00
Joas Schilling 8cf91a32d8 fix(tests): Fix test selection and run unit tests of DAV and user_status
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-25 08:39:14 +02:00
Joas Schilling 76ec595a03 Merge pull request #48337 from nextcloud/automated/noid/stable30-update-ca-cert-bundle
[stable30] fix(security): Update CA certificate bundle
2024-09-25 07:03:54 +02:00
nextcloud-command 5fe0688f0b fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2024-09-25 02:30:58 +00:00
Nextcloud bot 283dbf15a6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-25 00:21:23 +00:00
Joas Schilling f47463404f Merge pull request #48328 from nextcloud/dependabot/composer/stable30/giggsey/libphonenumber-for-php-lite-8.13.45
[stable30] build(deps): bump giggsey/libphonenumber-for-php-lite from 8.13.35 to…
2024-09-24 23:31:07 +02:00
Joas Schilling 3787dc6477 build(deps): bump giggsey/libphonenumber-for-php-lite from 8.13.35 to 8.13.45
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-24 23:01:10 +02:00
Joas Schilling 901b629462 Merge pull request #48319 from nextcloud/dependabot/composer/stable30/web-auth/webauthn-lib-4.8.7
chore(deps): Bump web-auth/webauthn-lib from 4.8.5 to 4.9.1
2024-09-24 21:19:19 +02:00
Joas Schilling 4699b46d58 chore(deps): Bump web-auth/webauthn-lib from 4.8.5 to 4.9.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-24 20:43:00 +02:00
Ferdinand Thiessen 2cda771ad6 Merge pull request #48314 from nextcloud/backport/48311/stable30
[stable30] fix: Ensure app discover section is returned as list
2024-09-24 17:03:10 +02:00
Ferdinand Thiessen dbe88caec5 fix: Ensure app discover section is returned as list
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-24 11:37:41 +00:00
Joas Schilling 79dd81995f Merge pull request #48308 from nextcloud/backport/47349/stable30
[stable30] Add bidirectional text support - Backend
2024-09-24 12:14:29 +02:00
Joas Schilling bff5d572af ci: Restrict RTL characters to RTL languages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-24 09:29:46 +00:00
Kate 6fab716caf Merge pull request #48279 from nextcloud/backport/48266/stable30 2024-09-24 08:31:17 +02:00
Grigorii K. Shartsev 8b56189f65 Merge pull request #48127 from nextcloud/backport/48114/stable30
[stable30] fix(appstoreFetcher): get list from a custom store and remove unnecessary warning
2024-09-24 00:10:22 +05:00
Andy Scherzinger 6044c9f512 Merge pull request #48285 from nextcloud/backport/48207/stable30
[stable30] fix: Don't crash if disabled user is missing in the database
2024-09-23 21:07:08 +02:00
Andy Scherzinger ea1833b48a Merge pull request #48298 from nextcloud/backport/44945/stable30
[stable30] fix(i18n): Changed grammar
2024-09-23 21:05:19 +02:00
Andy Scherzinger 2be8b76834 Merge pull request #48302 from nextcloud/backport/48268/stable30
[stable30] fix: skip the integrity check for nextcloud-init-sync.lock
2024-09-23 21:01:40 +02:00
Louis Chemineau 9a34a6c4c4 fix(users): Don't crash if disabled user is missing in the database
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-23 18:06:38 +02:00
Joas Schilling e4524334fa Merge pull request #48299 from nextcloud/backport/48162/stable30
[stable30] fix(autocomplete): Move known array keys to psalm docs
2024-09-23 17:52:01 +02:00
Daniel Kesselberg d80be49ed7 fix: skip the integrity check for nextcloud-init-sync.lock
nextcloud-init-sync.lock is used by nextcloud/docker to prevent running the initialization script on multiple containers at the same time.

Ref: https://github.com/nextcloud/docker/issues/2299.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-23 15:51:42 +00:00
Joas Schilling 9a91a60414 fix(autocomplete): Move known array keys to psalm docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-23 17:07:53 +02:00
Nextcloud bot 8383be8f67 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-23 14:52:40 +00:00
nextcloud-command c75aeb344f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-23 16:12:35 +02:00
rakekniven e35dca0972 fix(translations): Changed grammar
[skip-ci]

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-09-23 16:09:38 +02:00
Joas Schilling a46e951eb5 Merge pull request #48296 from nextcloud/stable30-3rdparty-bump
[stable30] chore: bump 3rdparty
2024-09-23 14:38:12 +02:00
Daniel Kesselberg cdc77439cc chore: bump 3rdparty
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-23 14:37:14 +02:00
Kate 887a339692 Merge pull request #48282 from nextcloud/chore/noid/git-blame-ignore-revs 2024-09-23 13:49:46 +02:00
Daniel Kesselberg 1237c1cfe0 chore: add .git-blame-ignore-revs
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-23 11:44:22 +02:00
provokateurin 4800215056 fix(psalm): Enable findUnusedBaselineEntry
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-23 11:17:39 +02:00
Nextcloud bot c15e2411db Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-23 00:20:31 +00:00
Nextcloud bot b79451c743 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-22 00:20:46 +00:00
dependabot[bot] a799b54e08 Merge pull request #48257 from nextcloud/dependabot/npm_and_yarn/stable30/nextcloud/axios-2.5.1 2024-09-21 11:26:06 +00:00
dependabot[bot] cb77d19d45 chore(deps): Bump @nextcloud/axios from 2.5.0 to 2.5.1
Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/nextcloud/nextcloud-axios/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-axios/blob/v2.5.1/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-axios/compare/v2.5.0...v2.5.1)

---
updated-dependencies:
- dependency-name: "@nextcloud/axios"
  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>
2024-09-21 11:11:53 +00:00
Andy Scherzinger da79d5abad Merge pull request #48061 from nextcloud/backport/48028/stable30
[stable30] fix(user_ldap): Use %n in plural translation to avoid a crash in L10N
2024-09-21 09:13:54 +02:00
dependabot[bot] 47d2454ff3 Merge pull request #48256 from nextcloud/dependabot/npm_and_yarn/stable30/types/jest-29.5.13 2024-09-21 04:32:56 +00:00
dependabot[bot] 806071d918 chore(deps-dev): Bump @types/jest from 29.5.12 to 29.5.13
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.5.12 to 29.5.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-21 04:11:54 +00:00
Nextcloud bot de01c48563 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-21 00:20:49 +00:00
Kate 61f3a09dcd Merge pull request #48233 from nextcloud/backport/48222/stable30 2024-09-20 23:02:25 +02:00
github-actions[bot] 69ca7c13ec Merge pull request #48229 from nextcloud/automated/noid/stable30-update-psalm-baseline
[stable30] Update psalm-baseline.xml
2024-09-20 11:05:59 +02:00
Kate ae7241f6c8 Merge pull request #48221 from nextcloud/backport/30/fix_move_on_same_bucket 2024-09-20 10:06:14 +02:00
Robin Appelman e8c8ab58f7 perf: reuse cache info we already have when moving to object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-20 07:50:23 +00:00
nextcloud-command 9c7eda4dc3 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-20 02:33:32 +00:00
Nextcloud bot 5f32c2f79f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-20 00:21:20 +00:00
Côme Chilliet 656e32c6c1 fix(tests): Fix most obvious errors in ObjectStore tests
Some are still failing

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-19 18:54:26 +02:00
Christoph Fiehe 82be489f53 perf(ObjectStoreStorage): Improve (slow) move on same object bucket
This commit fixes the issue #47856. When you upload a file into a group folder and when you use a single S3 bucket as primary storage, the final move operation hangs for a long time. In the background, Nextcloud initiates a copy-delete sequence from the bucket into the bucket, with causes a lot unnecessary overhead. Nextcloud thinks that the file must be imported to another storage and does not recognize that everything is done on the same object bucket. In that case, the import step can be completely skipped, which saves time, network bandwidth and reduces the load on the object storage.

The behavior improves a lot with https://github.com/nextcloud/server/pull/46013. However, there are still some put messages that are being sent to the object storage when you use an object storage as primary storage and upload files into a group folder.

Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
2024-09-19 18:53:36 +02:00
Christoph Wurst 4bd9b936a9 Merge pull request #48211 from nextcloud/backport/47399/stable30
[stable30] fix: expand select and group by for calendar reminder backend
2024-09-19 17:28:42 +02:00
Robin Appelman 10da080435 Merge pull request #48205 from nextcloud/ci-fix-30
[stable30] Ci fixes
2024-09-19 17:10:13 +02:00
Hamza Mahjoubi 2f2394cfa9 fix: expand select and group by for calandar reminder backend
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-09-19 14:58:13 +00:00
Ferdinand Thiessen afd88e0798 Merge pull request #48186 from nextcloud/dependabot/npm_and_yarn/stable30/nextcloud/calendar-availability-vue-2.2.4
chore(deps): Bump @nextcloud/calendar-availability-vue from 2.2.2 to 2.2.4
2024-09-19 15:51:31 +02:00
Ferdinand Thiessen 9bee896123 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-19 14:45:01 +02:00
dependabot[bot] b1f04a4e73 chore(deps): Bump @nextcloud/calendar-availability-vue
Bumps [@nextcloud/calendar-availability-vue](https://github.com/nextcloud/calendar-availability-vue) from 2.2.2 to 2.2.4.
- [Release notes](https://github.com/nextcloud/calendar-availability-vue/releases)
- [Changelog](https://github.com/nextcloud/calendar-availability-vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/calendar-availability-vue/compare/v2.2.2...v2.2.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-19 14:41:32 +02:00
Louis Chemineau 767af5485e fix: Prevent duplicate creation of print_exception function
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-19 14:24:22 +02:00
Côme Chilliet 61da345203 fix(tests): Fix Folder tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-19 14:24:22 +02:00
Côme Chilliet b44ac8238d fix(tests): Remove deprecated tests for ServerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-19 14:24:22 +02:00
Louis Chemineau 8bff8d22e2 fix: Override start method of \Sabre\DAV\Server to remove exception output
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-19 14:24:22 +02:00
Robin Appelman 25449de27b test: fix ShareControllerTest.php
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 14:24:22 +02:00
Robin Appelman d2d475a749 test: fix trashbin StorageTest
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Robin Appelman bf480bbde9 test: fix ShareAPIControllerTest.php
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Robin Appelman 8a156768a5 test: fix service overwrite in PartFileInRootUploadTest
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Robin Appelman 8b8508c8b1 test: put parent items into cache in tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Robin Appelman dd68f678b2 fix: ensure parent folder exists when writing a file to object storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Robin Appelman e82ab7816f test: fix incorrect ltrim usage in test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Robin Appelman 7b1b5526b7 fix: verify that parent exists in cache when inserting
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Robin Appelman 1e03bd5d18 fix: fix object store id for test object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Robin Appelman e8c7216d5b fix: cleanup objectstore file_put_content
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Robin Appelman 9b07b7d9c1 fix: create intermediate directories for objectstore moveFromStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Robin Appelman 5bcd74ae87 fix: get source file before moving the cache item in objectstore moveFromStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Louis Chemineau 337df1f760 fix: Drop unnecessary exit
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-19 13:59:08 +02:00
dependabot[bot] 6fd0ce410c Merge pull request #48189 from nextcloud/dependabot/npm_and_yarn/stable30/debounce-2.1.1 2024-09-19 11:51:17 +00:00
dependabot[bot] bb312facf3 chore(deps): Bump debounce from 2.1.0 to 2.1.1
Bumps [debounce](https://github.com/sindresorhus/debounce) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/sindresorhus/debounce/releases)
- [Commits](https://github.com/sindresorhus/debounce/compare/v2.1.0...v2.1.1)

---
updated-dependencies:
- dependency-name: debounce
  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>
2024-09-19 11:32:09 +00:00
Joas Schilling b57a61c5d7 Merge pull request #48120 from nextcloud/backport/48090/stable30
[stable30] fix(settings): disable Discover when appstore is disabled
2024-09-19 11:54:11 +02:00
Joas Schilling 0949bc718b Merge pull request #48191 from nextcloud/backport/48140/stable30
[stable30] ci: Bump phpunit to 9.6.19 and add dependabot
2024-09-19 11:53:05 +02:00
Nextcloud bot 406e74fae7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-19 00:20:49 +00:00
Ferdinand Thiessen 77321bc6cf Merge pull request #47944 from nextcloud/backport/47883/stable30
[stable30] fix(setup-checks): Ensure URL with webroot works
2024-09-19 00:19:19 +02:00
Joas Schilling 397e571b49 ci: Bump phpunit to 9.6.19 and add dependabot
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-18 18:30:07 +00:00
Nextcloud bot dd4caaff0c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-18 09:28:08 +00:00
Nextcloud bot 429fbaf470 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-18 00:22:13 +00:00
Grigorii K. Shartsev e49c16b696 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-17 18:06:24 +02:00
Kate e4f5d39464 Merge pull request #48088 from nextcloud/backport/48008/stable30 2024-09-17 12:53:41 +02:00
Grigorii K. Shartsev 3ee3542bdf fix(appstoreFetcher): get app list from custom app store
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-17 09:23:02 +00:00
Grigorii K. Shartsev 9da1675c9e fix(appstoreFetcher): remove unneeded warning
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-17 09:23:02 +00:00
Grigorii K. Shartsev 5468f645fb fix(settings): disable Discover when appstore is disabled
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-17 08:34:04 +00:00
John Molakvoæ 781cda5195 Merge pull request #48109 from nextcloud/backport/46218/stable30 2024-09-17 10:14:00 +02:00
Nextcloud bot 06b378c302 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-17 00:20:49 +00:00
Christoph Wurst 97fd49af8e Merge pull request #48097 from nextcloud/backport/47924/stable30
[stable30] 🥅 — Catch MaxInstancesExceededException on calendar events
2024-09-16 20:11:43 +02:00
John Molakvoæ 2308294a68 chore: improve hash_file php usage in Local Storage
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-09-16 17:08:10 +00:00
Louis Chemineau 7c99850958 fix(files): Ensure that the hash method does not return null
To match https://github.com/nextcloud/server/blob/beececf66068f57c416225efcde9b44ce5c2e835/lib/private/Files/View.php#L1050

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

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-16 17:08:10 +00:00
Robin Appelman c4eb1ac8fe Merge pull request #48101 from nextcloud/backport/46140/stable30
[stable30] fix(config): Add missing handling for `envCache` in `getKeys()`
2024-09-16 18:59:32 +02:00
Josh Richards 344c9682de fix: switch from explode to substr (faster)
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-09-16 15:06:03 +00:00
Josh Richards a7b4808b32 fix(config): add envCache tests for getKeys()
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-09-16 15:06:03 +00:00
Josh Richards f3e28596c4 fix(config): Add missing handling for envCache in getKeys()
NC_ env variable overrides were not appearing in
the output of `occ config:list system` nor `occ
config:system:get xxx`. This was creating nearly
impossible to diagnose configuration/ behavior
disprepancies.

- Refactored readData() so that we aren't saving
  the entire environment in the envCache anymore
  (only those prefixed "NC_") and so that we save
  NC_ provided config values under their real
  key.
- Refactored getValue() to accommodate readData()
  refactor
- Fixed getKeys() to properly return
  envCache keys too

Environment provided config variables now appear
in `occ config:list system` as expected.

Environment provided config variables now appear
when queried via `occ config:system:get KEY`

envCache is now free of non-NC stuff.

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-09-16 15:06:03 +00:00
Luc Didry f83cebf79e fix(dav): catch MaxInstancesExceededException on calendar events
Signed-off-by: Luc Didry <luc@didry.org>
2024-09-16 14:34:29 +00:00
provokateurin b7b5b50050 fix(Entity): Fix magic setter call for custom strong typed setters
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-16 13:52:27 +00:00
Kate cea10d643e Merge pull request #48072 from nextcloud/backport/48044/stable30 2024-09-16 14:35:09 +02:00
John Molakvoæ 66caa85e5e Merge pull request #48071 from nextcloud/backport/48030/stable30 2024-09-16 14:23:58 +02:00
Louis 139b2cdb6d Merge pull request #48000 from nextcloud/backport/47920/stable30
[stable30] feat: Reset route if neither the Viewer of the Sidebar is open
2024-09-16 14:21:19 +02:00
Kate e4074b6d54 Merge pull request #48076 from nextcloud/backport/48050/stable30 2024-09-16 13:14:23 +02:00
John Molakvoæ 0714e14ed7 Merge pull request #48073 from nextcloud/backport/48063/stable30 2024-09-16 13:00:22 +02:00
Kate 434992530d Merge pull request #48069 from nextcloud/backport/48031/stable30 2024-09-16 12:21:10 +02:00
Robin Appelman 914e8f9ce2 fix: misc code fixes around db sharding
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-16 12:19:20 +02:00
Louis Chemineau f44c76e61d chore: Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-16 11:53:45 +02:00
provokateurin 23a612ee5e fix(weather_status): Fix search address errors when offline
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-16 09:34:19 +00:00
Joas Schilling 9371d93249 fix(a11y): Add OTF font loading check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-16 09:26:59 +00:00
Louis Chemineau ae70a426ac feat: Reset route if neither the Viewer of the Sidebar is open
When the viewer or the sidebar is opened, we add the fileid to the route.
When both of them are closed, we do not remove the fileid from the route.
This means that, upon reload, the sidebar will be opened even though it was closed previously.

This PR ensure that the fileid is removed from the route when both the Sidebar and the Viewer are closed.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-16 11:18:13 +02:00
Anna Larch 4474357b3c test: cast node name and data to string
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-16 09:12:09 +00:00
Anna Larch eeb14df43b fix(dav): cast parameters to string
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-16 09:11:00 +00:00
Anna Larch ff49395e46 fix(filesreport): cast fileId to integer
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-16 09:09:54 +00:00
Kate 32866bc7ee Merge pull request #48056 from nextcloud/backport/48043/stable30 2024-09-16 11:06:27 +02:00
github-actions[bot] 3a22fe2770 Merge pull request #48059 from nextcloud/automated/noid/stable30-update-psalm-baseline
[stable30] Update psalm-baseline.xml
2024-09-16 11:06:07 +02:00
John Molakvoæ d74b5175a6 Merge pull request #47902 from nextcloud/backport/47881/stable30 2024-09-16 11:02:33 +02:00
Côme Chilliet e7ae6219cd fix(user_ldap): Use %n in plural translation to avoid a crash in L10N
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 06:33:17 +00:00
nextcloud-command 2d633fc014 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-16 02:36:54 +00:00
Nextcloud bot 70bd525c84 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-16 00:20:18 +00:00
Anna 1abcc9d03a Merge pull request #48053 from nextcloud/backport/48045/stable30
[stable30] fix(dav): set string type for sanitizeMtime
2024-09-16 00:19:26 +02:00
Anna Larch ce75384377 test(dav): imip service test expects integers for last occurence
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 22:13:18 +00:00
John Molakvoæ 3ab5bdc3f1 Merge pull request #47995 from nextcloud/backport/47928/stable30
[stable30] fix(a11y): Update OpenDyslexic from 0.920 to 2.001
2024-09-15 22:54:51 +02:00
John Molakvoæ f71f690398 Merge pull request #47868 from nextcloud/backport/47858/stable30 2024-09-15 22:52:11 +02:00
Anna Larch b652b6c60f fix(dav): set string type for sanitizeMtime
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 20:45:00 +00:00
Christopher Ng f50242bfa9 fix(settings): Add back create group icon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-15 20:15:16 +00:00
John Molakvoæ 78e11fb244 Merge pull request #47937 from nextcloud/backport/47854/stable30
[stable30] fix(appstore): Ensure returned apps from AppStore are valid
2024-09-15 22:12:12 +02:00
John Molakvoæ 474a323da6 Merge pull request #47872 from nextcloud/backport/47834/stable30 2024-09-15 22:10:02 +02:00
John Molakvoæ 6bc75b85f1 Merge pull request #47804 from nextcloud/backport/47801/stable30 2024-09-15 22:09:01 +02:00
John Molakvoæ 97aa0f7087 Merge pull request #47857 from nextcloud/backport/47737/stable30 2024-09-15 22:08:06 +02:00
Ferdinand Thiessen 71d870d1bd refactor(settings): CheckServerResponseTrait always expect absolute path
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>
2024-09-15 21:40:27 +02:00
Ferdinand Thiessen 27300ac6ce fix(setup-checks): Ensure URL with webroot works
We basically mock the way `URLGenerator::getAbsoluteURL` works,
so we must make sure that the URL might already contain the webroot.
Because `baseURL` and `cliURL` also contain the webroot we need to remove
the webroot from the URL first.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-15 21:40:27 +02:00
Joas Schilling 4957ee67cc fix(tests): Test OTF font file
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-15 21:33:52 +02:00
Joas Schilling 56dfc179d4 fix(a11y): Update OpenDyslexic from 0.920 to 2.001
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-15 21:33:52 +02:00
Andy Scherzinger d598598420 Merge pull request #47894 from nextcloud/backport/47339/stable30
[stable30] fix: Display 'Leave share' instead of 'Delete'
2024-09-15 21:29:34 +02:00
Andy Scherzinger 90a6b82579 Merge pull request #47940 from nextcloud/backport/47933/stable30
[stable30] fix(config): Throw PreconditionException always when it didn't match
2024-09-15 21:29:14 +02:00
Andy Scherzinger fa355386f7 Merge pull request #47796 from nextcloud/backport/47756/stable30
[stable30] fix(files): Check if target path is a descendant of the shared folder
2024-09-15 21:25:30 +02:00
Git'Fellow eb95e40d8d fix: check if key is set
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-15 21:24:08 +02:00
Git'Fellow 9c557066bc fix(appstore): Ensure returned apps from AppStore are valid
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: lint

chore: remove space

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: check if response array is null

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

chore: Add log
2024-09-15 21:24:08 +02:00
Andy Scherzinger 9561834b96 Merge pull request #47919 from nextcloud/backport/47914/stable30
[stable30] fix(LDAP): check index before accessing it
2024-09-15 21:23:53 +02:00
Andy Scherzinger 9686d41a5e Merge pull request #47838 from nextcloud/backport/47824/stable30
[stable30] chore(i18n): adapted lowercase
2024-09-15 21:22:12 +02:00
dependabot[bot] 9e7d588dbf Merge pull request #47814 from nextcloud/dependabot/npm_and_yarn/stable30/pinia/testing-0.1.5 2024-09-15 19:20:32 +00:00
dependabot[bot] 02c834eeeb Merge pull request #47815 from nextcloud/dependabot/npm_and_yarn/stable30/cypress-if-1.12.6 2024-09-15 19:19:35 +00:00
github-actions[bot] 02d7800857 Merge pull request #47989 from nextcloud/automated/noid/stable30-update-psalm-baseline
[stable30] Update psalm-baseline.xml
2024-09-15 21:18:23 +02:00
Andy Scherzinger d510ed3561 Merge pull request #48038 from nextcloud/backport/48037/stable30
[stable30] fix: correct link to trademark
2024-09-15 21:11:07 +02:00
Kate 5559ab8402 Merge pull request #48036 from nextcloud/backport/48016/stable30 2024-09-15 20:34:24 +02:00
Kate 7c4f35c981 Merge pull request #48035 from nextcloud/backport/48013/stable30 2024-09-15 20:33:34 +02:00
Andy Scherzinger db56bff240 fix: correct link to trademark
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-09-15 17:53:41 +00:00
provokateurin 69b01a265c fix(S3ConfigTrait): Allow proxy field to take false
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 17:19:40 +00:00
provokateurin ad895bd592 fix(BaseResponse): Cast XML element values to string
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 17:18:33 +00:00
Kate 80f8b7c650 Merge pull request #48027 from nextcloud/backport/48014/stable30 2024-09-15 19:00:24 +02:00
Kate a91374e1a6 Merge pull request #48025 from nextcloud/backport/48017/stable30 2024-09-15 18:50:54 +02:00
John Molakvoæ 58f4320a64 Merge pull request #48021 from nextcloud/backport/48015/stable30 2024-09-15 18:50:35 +02:00
provokateurin dd7fb60991 fix(Tags): Return boolean for userHasTags()
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 15:52:40 +00:00
provokateurin 0a1d9f6df7 fix(Comment): Initialize childrenCount as integer
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 15:51:01 +00:00
provokateurin eb3c1a2bee fix(Storage\Local): Do not call getSourcePath() on SplFileInfo
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 14:53:34 +00:00
Côme Chilliet f2deb7710a Merge pull request #47981 from nextcloud/backport/47971/stable30
[stable30] fix: Do not try to set HTTP response code on already closed connection
2024-09-15 09:45:00 +02:00
nextcloud-command b6becb3d69 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-15 02:36:57 +00:00
Nextcloud bot fbfead3859 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-15 00:26:46 +00:00
Ferdinand Thiessen 7537b5bcc4 Merge pull request #47923 from nextcloud/backport/47527/stable30
[stable30] fix(files_external): Handling in SFTP UI for custom ports
2024-09-14 22:52:01 +02:00
Côme Chilliet 6779729174 fix: Do not try to set HTTP response code on already closed connection
This avoids a PHP warning in the logs about trying to set the response
 code while the output already started. It’s useless to try to print an
 error page anyway in this situation because the connection was closed
 already.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-14 19:22:52 +00:00
John Molakvoæ bce59cb2eb Merge pull request #47976 from nextcloud/backport/47968/stable30 2024-09-14 20:29:11 +02:00
Git'Fellow 8a7cd1aefb fix(files_external): Check key exists before accessing it
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-14 16:57:21 +00:00
Kate b5347e89e7 Merge pull request #47957 from nextcloud/backport/47954/stable30 2024-09-14 14:30:01 +02:00
Nextcloud bot fb0a06b8cf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-14 00:21:28 +00:00
Kate 116b9a3bae Merge pull request #47951 from nextcloud/backport/47945/stable30 2024-09-13 22:08:35 +02:00
provokateurin 886561761a fix(files): Adjust Cache::searchQuery() parameter name to match interface
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-13 17:02:33 +00:00
nextcloud-command 2cc46d21db chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-13 15:33:42 +00:00
John Molakvoæ (skjnldsv) 89bf128708 fix(files_external): broken credentials dialog
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-09-13 15:21:45 +00:00
Joas Schilling 66a6b442b5 fix(config): Throw PreconditionException always when it didn't match
Previously even when the precondition did not match, the call "passed"
when the after value was the expected one. This however can lead to
race conditions, duplicate code excutions and other things.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-13 11:40:13 +00:00
Nextcloud bot 91533fb6f7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-13 00:20:54 +00:00
Benjamin Gaussorgues 656488893e Merge pull request #47926 from nextcloud/release/30.0.0 2024-09-12 20:58:53 +02:00
Benjamin Gaussorgues 60145c301f build(hub): 30.0.0
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-09-12 16:21:07 +02:00
Josh Richards 600fc1d4df fix: custom port handling in UI for SFTP
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-09-12 13:37:07 +00:00
Benjamin Gaussorgues 8a88d8bf92 Merge pull request #47890 from nextcloud/release/30.0.0_rc5 2024-09-12 14:44:24 +02:00
Julius Knorr 01bf24505d Merge pull request #47915 from nextcloud/backport/47913/stable30
[stable30] fix: Add whiteboard to education and public sector bundle
2024-09-12 13:16:05 +02:00
Arthur Schiwon f4990d7cd5 fix(LDAP): check index before accessing it
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-09-12 10:56:48 +00:00
Andy Scherzinger 7776d684e5 Merge pull request #47882 from nextcloud/backport/47294/stable30
[stable30] fix(files): Sort tree views correctly by natural order
2024-09-12 11:23:31 +02:00
Julius Knorr 80eec3f0ef fix: Add whiteboard to education and public sector bundle
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-09-12 09:08:22 +00:00
Andy Scherzinger e664039f84 Merge pull request #47897 from nextcloud/backport/47586/stable30
[stable30] fix(theming): Add migration to restore primary color after separating primary and background
2024-09-12 10:41:56 +02:00
Andy Scherzinger bb226dc430 Merge pull request #47912 from nextcloud/backport/47906/stable30
[stable30] chore: Update trashbin retention documentation with exceeded quota details
2024-09-12 10:40:43 +02:00
Christopher Ng 99a552c1c6 chore: Update trashbin retention documentation with exceeded quota details
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-12 06:52:24 +00:00
Nextcloud bot 218f18715f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-12 00:20:27 +00:00
Ferdinand Thiessen a8ae2f9755 fix: Adjust types of IQueryBuilder to properly allow joining with sub-query
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-11 15:20:42 +02:00
Ferdinand Thiessen b3ffd7356f fix: Use migration instead of repair step for restoring custom color
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-11 15:20:33 +02:00
Ferdinand Thiessen 9a7331d5ff chore: Use IAppConfig instead of IConfig->getAppValue
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-11 15:20:23 +02:00
Ferdinand Thiessen bf507fe537 fix: Add repair step to restore primary color after separating primary and background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-11 15:19:17 +02:00
Ferdinand Thiessen 6c84ff37e1 fix(theming): Allow to specify a userId manually in BackgroundService
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-11 15:19:10 +02:00
skjnldsv 338e045141 fix(files_sharing): adjust permissions from custom edit and delete check methods
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-11 11:48:25 +00:00
Marcel Klehr 1e08f91408 fix: Display 'Leave share' instead of 'Delete'
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-09-11 11:48:25 +00:00
Benjamin Gaussorgues 261cb7829d build(hub): 30.0.0 RC5
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-09-11 11:39:52 +02:00
Nextcloud bot 674dad0f1f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-11 00:21:20 +00:00
nextcloud-command 5e8df987ca chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-10 21:31:07 +00:00
Christopher Ng 0376f18ca9 fix(files): Render folders in natural sort order
- Nodes are returned from the endpoint in an undefined order

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-10 14:24:27 -07:00
Christopher Ng f88a84208c fix(files): Sort tree views correctly by natural order
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-10 14:24:23 -07:00
Christopher Ng a7dfaa1e42 chore(deps): Bump @nextcloud/files to v3.9.0
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-10 14:24:19 -07:00
Andy Scherzinger 6512e6371a Merge pull request #47810 from nextcloud/backport/47649/stable30
[stable30] fix: Fix inaccessible content on public pages due to overlapping footer
2024-09-10 21:06:25 +02:00
Andy Scherzinger 0fc355be58 Merge pull request #47874 from nextcloud/backport/47853/stable30
[stable30] fix: make swift connect exception message more informative
2024-09-10 20:58:06 +02:00
Anna Larch 35f266a2a4 fix(dav): also allow unsharing of circle shares
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-10 17:04:39 +02:00
Julius Knorr 33c9638a14 Merge pull request #47863 from nextcloud/backport/47860/stable30
[stable30] fix: Only write once to template instead of create/copy
2024-09-10 16:56:54 +02:00
Robin Appelman 7206e5e086 fix: make swift connect exception message more informative
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-10 14:47:23 +00:00
John Molakvoæ e0a6572e3c fix(appstore): disabled appstore log level bump from debug to info
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-09-10 14:34:18 +00:00
Git'Fellow 993abfdbf1 fix(appstore): return if appstore is manually disabled
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: camel case

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: log a debug log

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: typing

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: typo

fix: typing
2024-09-10 14:34:18 +00:00
Joas Schilling 5017d5000e Merge pull request #47839 from nextcloud/backport/47640/stable30
[stable30] fix: Run migration sql as statement so that the primary db node is used
2024-09-10 16:19:32 +02:00
Stephan Orbaugh 0d31f181d2 Merge pull request #47851 from nextcloud/backport/47807/stable30
[stable30] fix(files_sharing): password checkbox and labels in link share
2024-09-10 13:31:11 +02:00
Richard Steinmetz b738eaa0c9 fix(preview): gracefully handle file not being opened in ProviderV2
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-09-10 11:27:40 +00:00
Stephan Orbaugh 819bd7372d Merge pull request #47842 from nextcloud/backport/47805/stable30
[stable30] fix: Replace conflicting tags in `xml_exception` template
2024-09-10 11:47:34 +02:00
Julius Knorr a137eebb82 fix: Only write once to template instead of create/copy
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-09-10 08:07:26 +00:00
Andy Scherzinger bf35b27f9f Merge pull request #47855 from nextcloud/backport/47845/stable30
[stable30] Add an endpoint to remove all webhook registrations from an app
2024-09-10 09:45:01 +02:00
Nextcloud bot 49d911aa33 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-10 00:37:37 +00:00
Grigorii K. Shartsev a18ca8e323 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-09 23:42:26 +02:00
Grigorii K. Shartsev f5502038e5 fix(files_sharing): add accessible labels in link share creation
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-09 23:42:26 +02:00
Côme Chilliet 771b00f222 chore(webhook_listeners): Update openapi.json
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 18:40:45 +00:00
Côme Chilliet 9470ddbbd5 feat(webhook_listeners): Add API endpoint to remove all registrations from an AppAPI app
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 18:40:45 +00:00
Côme Chilliet 6c1a6d17c2 feat(webhook_listeners): Add mapper method to remove all registrations from a given AppAPI id
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 18:40:45 +00:00
Grigorii K. Shartsev ac09d4d382 fix(files_sharing): checkbox for password in link share is not shown
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-09 14:43:33 +00:00
Ferdinand Thiessen 1966c9d071 fix: Replace conflicting tags in xml_exception template
The `<?xml` tag is interpreted as PHP short tags, so this causes errors.
Instead just print that part of the template.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-09 11:45:34 +00:00
Julius Härtl 332b7a43a4 fix: Run migration sql as statement so that the primary db node is used
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-09-09 09:38:13 +00:00
nextcloud-command d779d31861 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-09 08:52:40 +00:00
rakekniven 3e4d8c4cb1 fix: Update AdminAI.vue
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-09-09 08:42:15 +00:00
rakekniven b5bb069575 chore(i18n): adapted lowercase
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-09-09 08:42:15 +00:00
Nextcloud bot 8f6620d552 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-09 00:23:33 +00:00
Nextcloud bot 43ec07fa5c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-08 00:36:42 +00:00
dependabot[bot] 9b8a2771cb chore(deps-dev): bump cypress-if from 1.12.5 to 1.12.6
Bumps [cypress-if](https://github.com/bahmutov/cypress-if) from 1.12.5 to 1.12.6.
- [Release notes](https://github.com/bahmutov/cypress-if/releases)
- [Commits](https://github.com/bahmutov/cypress-if/compare/v1.12.5...v1.12.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-07 01:21:45 +00:00
dependabot[bot] 777191ade4 chore(deps-dev): bump @pinia/testing from 0.1.4 to 0.1.5
Bumps [@pinia/testing](https://github.com/vuejs/pinia) from 0.1.4 to 0.1.5.
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/@pinia/testing@0.1.4...@pinia/testing@0.1.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-07 01:21:23 +00:00
Nextcloud bot 211b0160dc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-07 00:37:06 +00:00
nextcloud-command 163560316b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-06 22:58:07 +00:00
Christopher Ng f577d14bac chore: compile scss
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-06 15:43:13 -07:00
Christopher Ng 3b1a46fd73 fix: Fix inaccessible content on public pages due to overlapping footer
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-06 15:43:13 -07:00
Anupam Kumar 2853496dbb chore: update autoloader
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2024-09-06 13:26:24 +00:00
Anupam Kumar 7643a5438a fix(TaskProcessing): increase error_message column length
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2024-09-06 13:26:24 +00:00
Git'Fellow 2bb8c023c2 fix(files): Check if the target path is a descendant of the shared folder path
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: tests

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: fix tests

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: add tests

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: tests
2024-09-06 02:00:43 +00:00
Nextcloud bot 8274e3f239 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-06 00:25:17 +00:00
Andy Scherzinger cac3305ba9 Merge pull request #47787 from nextcloud/backport/47770/stable30
[stable30] fix(dav): Always respond custom error page on exceptions
2024-09-05 22:29:13 +02:00
Louis Chemineau 23b77dc7ec fix(dav): Always respond custom error page on exceptions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 18:17:10 +00:00
Arthur Schiwon 599b923188 Merge pull request #47757 from nextcloud/release/30.0.0_rc4
30.0.0 RC4
2024-09-05 20:14:24 +02:00
Arthur Schiwon eaa03b967d Merge pull request #47775 from nextcloud/backport/46255/stable30
[stable30] fix: add option to remove the webroot for setup checks and don't chec…
2024-09-05 20:11:50 +02:00
Arthur Schiwon 050a5d092a Merge pull request #47781 from nextcloud/backport/47519/stable30
[stable30] feat(transfer-ownership): Correctly react to encrypted files
2024-09-05 20:04:40 +02:00
Arthur Schiwon 289e5d7e26 Merge pull request #47778 from nextcloud/backport/47769/stable30
[stable30] fix: Use sha256 to hash arguments of background jobs
2024-09-05 20:03:46 +02:00
Côme Chilliet e1317962b0 fix(transfer-ownership): Improve comments according to code review
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-05 16:02:41 +00:00
Côme Chilliet 7bac8f0fca feat(transfer-ownership): Correctly react to encrypted files
For E2EE encrypted files, we abort the transfer.
For SSE encrypted files, we abort only if not using master key.
Also fixed the check for when the path to a single file is used.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-05 16:02:41 +00:00
Louis Chemineau 14a2efff86 fix: Migrate existing bg jobs to use sha256
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 15:58:45 +00:00
Louis Chemineau 94d307c331 fix: Use sha256 to hash arguments of background jobs
This is to prevent collision as we are sometime hashing user input, yet using that hash to target the background job in the database.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 15:58:45 +00:00
Côme Chilliet 6830b250b4 fix(setupchecks): Test overwrite.cli url first, then generated one, and
trusted domains as last fallback.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-05 15:54:56 +00:00
Daniel Kesselberg ed8759eab8 fix: add option to remove the webroot for setup checks and don't check trusted_domains.
1) The checks for well-known urls should always run against the root domain and therefore the option to remove the webroot.

2) For trusted domains, the available protocol is unknown, and thus some guesswork would be needed to make that work. I've decided for now to not consider them anymore to reduce false-positives.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-05 15:54:56 +00:00
Arthur Schiwon 83e6649cfa Merge pull request #47484 from nextcloud/backport/46013/stable30
[stable30] fix: write object to the correct urn when moving from another storage to object store
2024-09-05 10:49:06 +02:00
Andy Scherzinger 9f96455030 Merge pull request #47753 from nextcloud/backport/47745/stable30
[stable30] fix(files): undefined displayname for outdated `@nextcloud/files`<3.6.0 apps
2024-09-05 09:23:33 +02:00
Andy Scherzinger 5b55f6f3a5 Merge pull request #47764 from nextcloud/backport/47754/stable30
[stable30] fix(appstore): Cache apps.json also on dev instances
2024-09-05 09:18:52 +02:00
Marcel Müller 7a236cabdd fix(appstore): Cache apps.json also on dev instances
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-09-05 05:48:34 +00:00
nextcloud-command 03a22f94ce chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-05 07:23:42 +02:00
skjnldsv 2393b855ab fix(files): undefined displayname for outdated @nextcloud/files<3.6.0 apps
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-05 07:23:42 +02:00
Nextcloud bot 0cc6d2e879 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-05 00:23:58 +00:00
Robin Appelman 05f79f23cd fix: write object to the correct urn when moving from another storage to object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-04 23:17:04 +02:00
Andy Scherzinger 125e18d78b Merge pull request #47733 from nextcloud/backport/46859/stable30
[stable30] Fix status check and saving of external storages
2024-09-04 23:12:26 +02:00
Andy Scherzinger 46afe2e3c2 Merge pull request #47751 from nextcloud/backport/47417/stable30
[stable30] fix(files): Create non-existent parents of mountpoints
2024-09-04 23:11:18 +02:00
Arthur Schiwon eda4e0caa6 build(hub): 30.0.0 RC4
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-09-04 23:03:18 +02:00
provokateurin b9aaa9f2e0 fix(files): Create non-existent parents of mountpoints
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-04 18:04:13 +00:00
John Molakvoæ 957d4ad7dd Merge pull request #47748 from nextcloud/backport/47738/stable30 2024-09-04 18:08:18 +02:00
nextcloud-command 0eceb57ab3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-04 15:11:09 +00:00
skjnldsv a1902abf75 fix(files): undefined sidebar
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-04 14:57:26 +00:00
Daniel Calviño Sánchez b1ece04137 fix: Hide status tooltip in row to add a new mount point
The row to add a new mount point is cloned when a new mountpoint is

added, so it is expected that it includes a status span. However, it

should not be displayed in that row, only in the cloned row when its

status is updated.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-04 10:21:55 +00:00
Daniel Calviño Sánchez 61b64b109c fix: Fix unmodified placeholder replacing the actual value when updating
When updating global storages and user storages a property is not
updated by "StoragesService::updateStorage()" if the value matches the
unmodified placeholder. However, userglobal storages are not updated
through the "StoragesService"; as only the authentication mechanism is
updated it is directly done with "saveBackendOptions()" in
"IUserProvided" or "UserGlobalAuth". Due to this the unmodified
placeholder value needs to be explicitly checked in those cases and
replaced by the actual value (note that in this case it is not possible
to just skip updating a specific property).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 10:11:59 +00:00
Daniel Calviño Sánchez 9a8beb417e test: Add integration tests for saving external userglobal storages
As the external storage uses the Nextcloud server itself the number of
workers of the PHP process running the Nextcloud server had to be
increased. Otherwise if a request is sent for the external storage while
handling a request from the integration tests a deadlock would occur.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 10:11:59 +00:00
Daniel Calviño Sánchez c23321e956 fix: Reset selected backend when adding a new storage
As a new storage is added by selecting a backend the selected backend
needs to be reset. Otherwise it is not possible to add another storage
with the same backend.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 10:11:59 +00:00
Daniel Calviño Sánchez 2d7c44afd6 fix: Add missing translation for UI string
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 10:11:59 +00:00
Daniel Calviño Sánchez b37017a19c fix: Restore default status tooltip when no status message is provided
If the status is updated but no explicit message is provided (for
example, if the status check succeeded) the default tooltip (from the
template) is now set to prevent a mismatch between the status and the
tooltip (for example, if the configuration is fixed after a failed
status check).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 10:11:59 +00:00
Daniel Calviño Sánchez 01ee29c0d5 fix: Set status tooltip to error message on failed actions
When saving, updating and rechecking an storage fails (which is
different to the soft-fail when the action itself succeeds but the
status check does not) further details are provided in the error message
of the response, which is now set as the tooltip.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 10:11:59 +00:00
Daniel Calviño Sánchez aee7859d1f fix: Set status tooltip to status message when saving an storage
When a storage is saved the status check can fail even if saving the
storage succeeds. In those cases further details are provided in the
status message of the storage, which is now set as the tooltip,
similarly to how it is done when rechecking the storage.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 10:11:59 +00:00
Daniel Calviño Sánchez a0068126ee fix: Remove status check when configuration was changed
Setting a null status was supposed to remove the status check, but
nothing was changed in that case. Now the status check is properly
removed, and doing that by hiding the element rather than just turning
it invisible also prevents that clicking on the invisible status
triggers a check, as until the new configuration is saved the check will
still be performed with the old configuration, which could be misleading
for the user.

Additionally, an explicit width is set to the parent of the span element
to prevent its width from changing when the span is shown and hidden.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 10:11:59 +00:00
Daniel Calviño Sánchez 9e06254239 fix: Recheck userglobal storages when loaded
Userglobal storages are now automatically recheck when loaded, similarly
to how it is done for global storages.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 10:11:59 +00:00
Daniel Calviño Sánchez 5a350302dd refactor: Store result in its own variable
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 10:11:59 +00:00
Andy Scherzinger d415629010 Merge pull request #47728 from nextcloud/backport/47155/stable30
[stable30] fix(jobs): Switch to executeStatement() while deleting rows
2024-09-04 11:34:26 +02:00
Andy Scherzinger 14197c1a84 Merge pull request #47726 from nextcloud/backport/47285/stable30
[stable30] fix: Do not throw if appstore is unavailable during upgrade
2024-09-04 11:33:51 +02:00
Andy Scherzinger 8914668427 Merge pull request #47729 from nextcloud/artonge/backport/stable30/47511
[stable30] chore: Improve isEncrypted description
2024-09-04 10:54:32 +02:00
Louis Chemineau e3924d3173 chore: Improve isEncrypted description
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-04 10:32:36 +02:00
Git'Fellow 4b55a4dc1d fix: lint
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-04 07:42:42 +00:00
Git'Fellow 07a269cea4 fix(jobs): Swicth to executeStatement() while deleting rows
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-04 07:42:42 +00:00
Julius Härtl c726b2f8f6 fix: Do not throw if appstore is unavailable during upgrade
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-09-04 07:32:11 +00:00
Nextcloud bot 1a9ded4b42 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-04 00:22:03 +00:00
John Molakvoæ 858de5734e Merge pull request #47720 from nextcloud/backport/47709/stable30 2024-09-03 21:44:14 +02:00
John Molakvoæ 74b73877f9 Merge pull request #47719 from nextcloud/backport/stable30/47158 2024-09-03 21:44:03 +02:00
nextcloud-command a5cb97b928 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-03 19:40:06 +00:00
skjnldsv f5ab18d0e5 fix: only keep major as server version
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-03 19:31:10 +00:00
John Molakvoæ ebc7d440e2 Merge pull request #47716 from nextcloud/backport/47674/stable30 2024-09-03 21:10:11 +02:00
nextcloud-command f4a1dac431 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-03 18:52:50 +00:00
Christopher Ng 6897622546 fix(files): Fix navigating with breadcrumbs not highlighting navigation entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-03 11:44:30 -07:00
Andy Scherzinger 0d4cf4404e Merge pull request #47699 from nextcloud/backport/47635/stable30
[stable30] [oauth2] Store hashed secret instead of encrypted
2024-09-03 20:20:17 +02:00
provokateurin 93cc5297ef fix(settings): Fix sharing exclude groups from password requirement option not working
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-03 15:22:09 +00:00
Andy Scherzinger 7f62397f63 Merge pull request #47710 from nextcloud/fix/settings/admin/textprocessing2-stable30
[stable30] fix(settings): Don't display built-in task types in AI settings TextP…
2024-09-03 16:45:20 +02:00
nextcloud-command 20cda48c53 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-03 14:09:16 +00:00
Marcel Klehr 2ef6af9ee0 fix(settings): Add translators note
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit c8f4967ce2)
2024-09-03 13:19:29 +02:00
Marcel Klehr b590177d87 fix(settings): Don't display built-in task types in AI settings TextProcessing
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 44a5723973)
2024-09-03 13:19:21 +02:00
nextcloud-command b64b5e1ad7 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-03 10:49:21 +02:00
Julien Veyssier 4a2d2dbe15 fix(oauth2): fix tests
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-09-03 10:49:21 +02:00
Julien Veyssier 181b7fd543 fix(oauth2): store hashed secret instead of encrypted
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-09-03 10:49:21 +02:00
Andy Scherzinger 6e982631ad Merge pull request #47691 from nextcloud/fix/remote-share-parsing
[stable30] fix(files): Correctly parse external shares for files UI
2024-09-03 10:48:57 +02:00
Andy Scherzinger 5ce265f5c1 Merge pull request #47695 from nextcloud/backport/47627/stable30
[stable30] [LinkReferenceProvider] Better size check
2024-09-03 10:26:10 +02:00
nextcloud-command 84ec816f57 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-03 08:22:02 +00:00
Ferdinand Thiessen 5535151cc3 fix(files): Correctly parse external shares for files UI
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-03 07:13:21 +02:00
Julien Veyssier 6b5675f954 fix(linkReferenceProvider): better size check
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-09-03 02:38:43 +02:00
Nextcloud bot 8b7329bfb1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-03 00:21:04 +00:00
Andy Scherzinger 073b792dbf Merge pull request #47625 from nextcloud/backport/47581/stable30
[stable30] fix: Do not fail to get internal path on NonExistingFile
2024-09-03 01:29:35 +02:00
Andy Scherzinger a484760793 Merge pull request #47693 from nextcloud/backport/47617/stable30
[stable30] fix(css): make scrollbar visible again
2024-09-03 01:28:31 +02:00
nextcloud-command be1e98fc4c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-02 22:52:32 +00:00
protoclown 62165ae9b7 fix(css): make scrollbar visible again
Signed-off-by: protoclown <ornano@felinn.org>
2024-09-03 00:41:56 +02:00
Julius Härtl 2e312e47f4 fix: Do not fail to get internal path on NonExistingFile/NonExistingFolder
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-09-03 00:40:03 +02:00
Andy Scherzinger bf5d09c0a9 Merge pull request #47641 from nextcloud/backport/47616/stable30
[stable30] fix(css): Adjust header styles to only add focus-visible styles to menu
2024-09-03 00:37:01 +02:00
Andy Scherzinger a52faa9dcf Merge pull request #47456 from nextcloud/dependabot/npm_and_yarn/stable30/nextcloud/dialogs-5.3.7
[stable30] chore(deps): bump @nextcloud/dialogs from 5.3.5 to 6.0.0
2024-09-03 00:25:42 +02:00
nextcloud-command 33a688532d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-02 21:54:20 +00:00
Ferdinand Thiessen 8df58475d5 test: update snap shot for updated vue lib
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-02 23:47:23 +02:00
dependabot[bot] bb1118c63b chore(deps): bump @nextcloud/dialogs from 5.3.5 to 5.3.7
Bumps [@nextcloud/dialogs](https://github.com/nextcloud-libraries/nextcloud-dialogs) from 5.3.5 to 5.3.7.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-dialogs/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-dialogs/blob/v5.3.7/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-dialogs/compare/v5.3.5...v5.3.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 23:47:23 +02:00
Andy Scherzinger d934aa8b55 Merge pull request #47644 from nextcloud/backport/47628/stable30
[stable30] fix(UnifiedSearch): Restore normal dialog size
2024-09-02 23:45:51 +02:00
nextcloud-command e55ca0c635 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-02 20:52:16 +00:00
fenn-cs c637b23f65 fix(UnifiedSearch): Restore normal dialog size
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-09-02 15:38:21 +01:00
Andy Scherzinger 0380b0212e Merge pull request #47653 from nextcloud/dependabot/npm_and_yarn/stable30/ts-jest-29.2.5
chore(deps-dev): bump ts-jest from 29.2.4 to 29.2.5
2024-09-02 12:24:40 +02:00
Andy Scherzinger 946a45dcb0 Merge pull request #47651 from nextcloud/backport/hidden-ui-group-manager
[stable30] fix(settings): Hide forbidden UI elements for group managers
2024-09-02 12:14:03 +02:00
nextcloud-command c77580f7bf chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-02 09:26:18 +00:00
Ferdinand Thiessen 8c17f1ea04 fix(settings): Hide forbidden UI elements for group managers
1. The "recent" accounts API only works for admin and delegated admin -> hide for group managers
2. Group managers can not create new groups -> Hide the UI to add a new group for them
3. Accounts created by group managers require one of the groups, which is managed by the group manager, assigned.
   So if the group manager only manageres a single group, we should preselect that group.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-02 11:12:03 +02:00
Andy Scherzinger 4a0a645559 Merge pull request #47667 from nextcloud/automated/noid/stable30-fix-npm-audit
[stable30] Fix npm audit
2024-09-02 11:11:13 +02:00
nextcloud-command b3b0acf47e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-02 07:46:23 +00:00
nextcloud-command 47752a4ef9 fix(deps): Fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2024-09-02 09:35:06 +02:00
Nextcloud bot d6d476e1af Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-02 00:21:12 +00:00
Andy Scherzinger a905a04a37 Merge pull request #47666 from nextcloud/backport/node-loading-a11y
[stable30] fix(files): Node loading information should be accessible
2024-09-01 13:32:26 +02:00
nextcloud-command 1e6ce9a9b5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-01 09:54:06 +00:00
Ferdinand Thiessen 49d2d962b2 test: Add Cypress test for renaming loading state
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-01 11:48:05 +02:00
Ferdinand Thiessen b4b93d6bcd fix(files): Node loading information should be accessible
The loading icon visually informs that the node is currently loading,
but there is no non-visual information (accessible information).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-01 11:48:05 +02:00
Nextcloud bot f16d254aff Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-01 00:20:58 +00:00
dependabot[bot] 920ca8d26f chore(deps-dev): bump ts-jest from 29.2.4 to 29.2.5
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 29.2.4 to 29.2.5.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v29.2.4...v29.2.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-31 01:11:32 +00:00
Nextcloud bot 095375584f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-31 00:26:17 +00:00
Nextcloud bot 4758166e2d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-30 16:32:47 +00:00
nextcloud-command 5351a7a89b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-30 14:17:12 +00:00
Ferdinand Thiessen 282af4c89c fix(css): Adjust header styles to only add focus-visible styles to menu
Only the main menu should be styles by the header styles, not the popover menus.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-30 16:10:02 +02:00
John Molakvoæ 791fc9d95a Merge pull request #47626 from nextcloud/backport/47546/stable30 2024-08-30 15:56:47 +02:00
John Molakvoæ 9e0ddb64a9 Merge pull request #47621 from nextcloud/backport/47567/stable30 2024-08-30 15:45:26 +02:00
Ferdinand Thiessen 6ea52ed218 fix: Adjust filename validation messages
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-30 14:48:23 +02:00
Andy Scherzinger 5b852f863a Merge pull request #47633 from nextcloud/backport/47601/stable30
[stable30] [TaskProcessing] Use taskprocessing in TextProcessing and STT managers
2024-08-30 14:47:14 +02:00
nextcloud-command c8b1756839 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 14:06:16 +02:00
nextcloud-command 1979e8e39d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 14:06:16 +02:00
Marcel Klehr 133b396a1e Revert "fix(TaskProcessing): Use OCP\Server::get instead of copying methods"
This reverts commit d624c8da8f0dc2eaf18d416aa15db0a2035de398.

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 14:06:15 +02:00
Marcel Klehr 77464a4a0d fix(TaskProcessing): Fix namespace of TaskProcessingTest.php
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 14:06:15 +02:00
Marcel Klehr 0bd839f5ae fix(TextProcessing): Don't run taskProcessing if task type is not available
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 14:06:15 +02:00
Marcel Klehr b1dd7ff638 fix(settings): Don't show built-in textprocessing task types in textprocessing settings
TaskProcessing is transparent to textprocessing providers and TextProcessing can use Taskprocessing providers so these are unnecessary

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 14:06:15 +02:00
Marcel Klehr 64468b847d fix(settings): Remove STT admin settings
taskprocessing is transparent to STT providers so specific STT settings are obsolete

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 14:06:15 +02:00
Marcel Klehr 578e576b89 fix(SpeechToTextManager): Throw TaskProcessing Task failed
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 14:06:15 +02:00
Marcel Klehr f54eb30232 fix(TaskProcessing): Use OCP\Server::get instead of copying methods
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 14:06:15 +02:00
Julien Veyssier d2ec025fa4 fix(taskprocessing): fix tests
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 14:06:15 +02:00
Julien Veyssier aa64204075 feat(speech-to-text): SpeechToTextManager::transcribeFile calls TaskProcessingManager::runTask
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 14:06:15 +02:00
Julien Veyssier 17e48ee1a7 feat(textprocessing): TextProcessingManager::runTask calls TaskProcessingManager::runTask
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 14:06:14 +02:00
Andy Scherzinger a7406306c7 Merge pull request #47619 from nextcloud/backport/47598/stable30
[stable30] fix: re-enable content-length header via htaccess
2024-08-30 13:14:01 +02:00
Josh c8daa02524 fix(config): Avoid error messages for restricted opcache API
Make changes recently added via #44230 match #8188 to avoid failures in restricted hosting environments.

Fixes #47562

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-08-30 07:53:04 +00:00
Simon L. 391ab80972 fix: re-enable content-length header via htaccess
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-30 07:48:46 +00:00
Andy Scherzinger 88b04ba867 Merge pull request #47555 from nextcloud/backport/47400/stable30
[stable30] feat(files): Allow more than 50 favorite views
2024-08-29 23:26:54 +02:00
Arthur Schiwon 8c77516161 Merge pull request #47603 from nextcloud/release/30.0.0_rc3
30.0.0 RC3
2024-08-29 21:06:54 +02:00
Arthur Schiwon 59ba0554ef Merge pull request #47612 from nextcloud/backport/47611/stable30
[stable30] fix(DB): set sharding parameters only when intended
2024-08-29 21:06:11 +02:00
nextcloud-command 0eacea3d55 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-29 19:03:05 +00:00
Christopher Ng 94fbcf3d53 test(files): Adapt favorite views spec
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-29 11:54:22 -07:00
Christopher Ng 3eca671c36 feat(files): Allow more than 50 favorite views
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-29 11:54:22 -07:00
Christopher Ng 83ae86271c perf(files): Do not block files page load with server-side favorites retrieval
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-29 11:54:22 -07:00
Arthur Schiwon 656412daa4 test(phpunit): skip sharding tests on 32bit
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-29 20:19:33 +02:00
Arthur Schiwon cb31a40d99 build: bump version to force 32bit test
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-29 20:08:03 +02:00
Arthur Schiwon 1b89323703 fix(DB): do not assume sharding is always enabled
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-29 20:06:33 +02:00
Arthur Schiwon e9dcfbcfb7 fix(DB): set sharding parameters only when intended
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-29 20:06:31 +02:00
Arthur Schiwon 74e106f24d build: js assets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-29 18:29:55 +02:00
Arthur Schiwon acf98398ae build(hub): 30.0.0 RC3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-29 18:00:05 +02:00
Arthur Schiwon 0b5c424f3a Merge pull request #47607 from nextcloud/artonge/backport/stable30/47600
[stable30] fix(files): Remove margin and width to not break layout
2024-08-29 17:58:38 +02:00
Louis Chemineau edb05e6a70 fix(files): Remove margin and width to not break layout
In grid view, this was messing with the reported available list width which was breaking the computed layout.

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

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-29 17:16:08 +02:00
Andy Scherzinger 9e2db34aa7 Merge pull request #47547 from nextcloud/backport/47540/stable30
[stable30] fix(files): Correctly check for already used names when creating new folder
2024-08-29 16:26:22 +02:00
nextcloud-command 4debb50ef8 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-29 13:43:20 +00:00
Ferdinand Thiessen bc3d7a00b0 fix(files): Correctly check for already used names when creating new folder
Also add Cypress tests for the "new"-menu.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-29 15:33:26 +02:00
Andy Scherzinger a56f7cbc03 Merge pull request #47404 from nextcloud/backport/47363/stable30
[stable30] fix: use empty template by default when pressing enter
2024-08-29 15:33:13 +02:00
nextcloud-command 93d946bd3f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-29 12:28:15 +00:00
Elizabeth Danzberger 1d9066cc68 fix: use empty template by default when pressing enter
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-08-29 14:16:25 +02:00
Andy Scherzinger f81a3493a1 Merge pull request #47505 from nextcloud/backport/47448/stable30
[stable30] fix(user_status): add link to Availability page if user set predefined 'Vacationing'
2024-08-29 14:16:02 +02:00
Andy Scherzinger c8bd41c5d6 Merge pull request #47442 from nextcloud/backport/47204/stable30
[stable30] fix(files): Respect "Show hidden files" setting in tree
2024-08-29 14:11:51 +02:00
Andy Scherzinger 6d3c42e07e Merge pull request #47578 from nextcloud/backport/47525/stable30
[stable30] fix: optimise `getWrongShareOwnership` query
2024-08-29 13:13:40 +02:00
Andy Scherzinger 332d12e283 Merge pull request #47429 from nextcloud/backport/47415/stable30
[stable30] fix: Trusted server icon recovery without addressbook change
2024-08-29 11:43:05 +02:00
nextcloud-command f801a23ee7 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-29 09:42:14 +00:00
Christopher Ng 2908674ddd refactor(files): Consolidate node registration
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-29 11:31:00 +02:00
Christopher Ng 97b2f97f94 refactor(files): Organize event subscriptions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-29 11:31:00 +02:00
Christopher Ng 957f7c113e fix(files): Respect "Show hidden files" setting in tree
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-29 11:30:56 +02:00
Hamza Mahjoubi 6bc88231d6 fix: optimise getWrongShareOwnership query
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-08-29 11:16:22 +02:00
Andy Scherzinger d02c778fa5 Merge pull request #47597 from nextcloud/backport/47596/stable30
[stable30] fix(test): Fix provisioning enabled apps
2024-08-29 11:15:34 +02:00
Andy Scherzinger e9f3cb38ce Merge pull request #47593 from nextcloud/backport/47551/stable30
[stable30] fix(files_sharing): Make share labels nullable
2024-08-29 09:50:10 +02:00
provokateurin 863679f499 fix(test): Fix provisioning enabled apps
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-29 09:43:37 +02:00
Julius Härtl 29a0e33b88 Merge pull request #47564 from nextcloud/backport/47290/stable30
[stable30] feat(templates): add support for checkboxes in template filler
2024-08-29 09:17:27 +02:00
provokateurin c320bea7b5 fix(files_sharing): Make share labels nullable
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-29 06:45:35 +00:00
nextcloud-command 31aae22b0c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-29 05:28:20 +00:00
Elizabeth Danzberger 905adcaeb8 feat(templates): add support for checkboxes in template filler
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-08-29 05:26:58 +00:00
Nextcloud bot c24ca3c23d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-29 00:21:17 +00:00
Andy Scherzinger c265e33a46 Merge pull request #47471 from nextcloud/automated/noid/stable30-fix-npm-audit
[stable30] Fix npm audit
2024-08-29 01:10:18 +02:00
nextcloud-command 637f2dd580 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-29 00:47:26 +02:00
Maksim Sukharev a90a7696d2 fix(user_status): add link to Availability page if user set predefined 'Vacationing'
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-08-29 00:47:22 +02:00
nextcloud-command 6122125bf9 fix(deps): Fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2024-08-29 00:44:33 +02:00
Andy Scherzinger 3113d01b11 Merge pull request #47574 from nextcloud/backport/37303/stable30
[stable30] fix(provisionning_api): Remove parameters that are not set into template
2024-08-29 00:44:01 +02:00
Andy Scherzinger 618eeb3e29 Merge pull request #47543 from nextcloud/backport/47450/stable30
[stable30] "Line" manager instead of "Account" manager
2024-08-29 00:41:19 +02:00
Jérôme Herbinet 83e6cdbb0f chore: npm run build
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-29 00:22:45 +02:00
Jérôme Herbinet d3571c4d34 fix(wording): "Line" manager instead of "Account" manager
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2024-08-29 00:22:45 +02:00
Andy Scherzinger 656fdef932 Merge pull request #47528 from nextcloud/backport/47510/stable30
[stable30] fix(db): Increase log level for very slow transactions
2024-08-29 00:19:20 +02:00
Andy Scherzinger ce0b75c89e Merge pull request #47436 from nextcloud/backport/47407/stable30
[stable30] fix(files_versions): Migrate version name dialog from NcModal to NcDialog
2024-08-29 00:16:20 +02:00
Ferdinand Thiessen ffefa2137e fix(files_versions): Migrate version name dialog from NcModal to NcDialog
* Resolves https://github.com/nextcloud/viewer/issues/2390

Make the version name dialog a real dialog instead of a modal.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-28 22:42:24 +02:00
Andy Scherzinger 11a0878337 Merge pull request #47587 from nextcloud/backport/47532/stable30
[stable30] feat(webhook_listeners): Enable the app by default
2024-08-28 22:38:56 +02:00
Côme Chilliet 328b1e2b5f feat(webhook_listeners): Enable the app by default
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-28 22:09:34 +02:00
Andy Scherzinger d854ed5dfc Merge pull request #47588 from nextcloud/backport/47515/stable30
[stable30] fix(migration): Correctly sort migrations by version number
2024-08-28 22:08:16 +02:00
Andy Scherzinger 318a6f7492 Merge pull request #47583 from nextcloud/backport/47185/stable30
[stable30] fix: Filename validation should only forbid `create` and `update`
2024-08-28 22:07:13 +02:00
nextcloud-command 32a8b5ef5c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-28 18:56:59 +00:00
Joas Schilling 8894747257 fix(migration): Correctly sort migrations by version number
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-28 18:49:09 +00:00
Ferdinand Thiessen bcd26323c1 fix: Also validate parent path in verifyPath
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-28 20:24:03 +02:00
Ferdinand Thiessen ef3bd03849 fix: Allow read-only filename validation to allow reading files
Needed to read files with the "Windows compatibility" feature.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-28 20:23:54 +02:00
Ferdinand Thiessen 183fcef39b fix: Renaming does not need update but delete permissions
Renaming is basically copy + delete (a move), so no need to update permissions.
Especially if the node is in a invalid directory the node should be moveable but not editable.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-28 20:23:50 +02:00
Ferdinand Thiessen e5e3459a54 fix(dav): Pre-check if node can be copied or moved in DAV files plugin
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-28 20:23:42 +02:00
Stephan Orbaugh f014c52b5f Merge pull request #47561 from nextcloud/backport/46639/stable30
[stable30] Transparent* database sharding
2024-08-28 17:23:39 +02:00
Thomas Citharel 089edee35f fix(provisionning_api): Remove parameters that are not set into template
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-08-28 14:05:00 +00:00
Louis Chemineau 140b36fcea fix: Backport to 30
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-28 14:54:14 +02:00
Louis Chemineau e5a8f996bd chore: Apply php:cs recommendations
Signed-off-by: Louis Chemineau <louis@chmn.me>

[skip ci]
2024-08-28 14:54:14 +02:00
Robin Appelman e2bff39f73 fix: mark systemconfig value as not being tainted because they are implicitly trusted
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 14:54:14 +02:00
Robin Appelman 57ffbb7391 fix: make preload custom proterties sharding compatible
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 14:54:14 +02:00
Robin Appelman b2645590ce fix: implement sharding compatible cleanup for various bits
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 14:54:14 +02:00
Robin Appelman dc5f0f5fb7 fix: fix share cleanup for deleted groups with sharding
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 14:54:14 +02:00
Robin Appelman ddecae894a fix: adjust systemtag orphan cleanup query to work with sharding
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 14:54:14 +02:00
Robin Appelman 550072342b fix: make background scan job compatible with sharding
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 14:54:14 +02:00
Robin Appelman 1b6d76aa1b test: fix share provider tests for sharding
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 14:54:14 +02:00
Robin Appelman 0e40fa4fa5 fix: run mimetype repair query across all shards
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 14:54:14 +02:00
Robin Appelman 693ee5ea0f fix: hint storage id in more places
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 14:54:14 +02:00
Robin Appelman 22f76fca59 test: run sharding tests in ci
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 14:54:14 +02:00
Robin Appelman 3e5193957b fix: only allow pre-defined shards
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 14:54:14 +02:00
Robin Appelman ecf1cc2c3c test: mark share test cleanup as running across all shards
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 14:54:14 +02:00
Robin Appelman 82d7eaf80a feat: implement distributing partitioned queries over multiple shards
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 14:54:14 +02:00
Robin Appelman 4ec53e723e feat: add option to automatically partition queries by specific tables
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 14:54:14 +02:00
Robin Appelman 8f57d46a0b fix: delay calculating global cache prefix untill a cache is created
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 14:54:14 +02:00
Robin Appelman b1744e70a5 fix: don't make ICacheFactory depend on database
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 14:54:14 +02:00
Robin Appelman 8eaddbc038 feat: track expected output columns in query builder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 14:54:14 +02:00
Stephan Orbaugh 0d690ee11d Merge pull request #47398 from nextcloud/backport/47259/stable30
[stable30] feat: add negative compare-and-delete to imemcache
2024-08-28 14:54:00 +02:00
Stephan Orbaugh 175a09aabc Merge pull request #47559 from nextcloud/backport/47496/stable30
[stable30] feat: Improve encryption mode detection in occ info:file
2024-08-28 14:23:18 +02:00
Andy Scherzinger 1fcb0a3823 Merge pull request #47542 from nextcloud/backport/47522/stable30
[stable30] [TaskProcessing] Add manager::runTask method
2024-08-28 13:39:51 +02:00
Andy Scherzinger 30d0d08134 Merge pull request #47533 from nextcloud/backport/47509/stable30
[stable30] fix: gracefully handle unexpected exif orientation types
2024-08-28 13:11:42 +02:00
Andy Scherzinger b6096d2a22 Merge pull request #47499 from nextcloud/backport/47490/stable30
[stable30] chore(files): Adjust wording for file type filter
2024-08-28 12:15:52 +02:00
John Molakvoæ 77f6029c7e Merge pull request #47492 from nextcloud/backport/47467/stable30 2024-08-28 11:28:06 +02:00
Louis Chemineau 1c5eadba01 feat: Improve encryption mode detection in occ info:file
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-28 11:25:33 +02:00
Joas Schilling 028d59c8cd Merge pull request #47550 from nextcloud/backport/47521/stable30
[stable30] fix(logger): ignore session logging during setup
2024-08-28 08:18:24 +02:00
Nextcloud bot 3df82a14a5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-28 00:23:19 +00:00
nextcloud-command 377571fb16 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-27 21:36:40 +00:00
Joas Schilling bf3ff8bbb8 Merge pull request #47545 from nextcloud/backport/47541/stable30
[stable30] ci: Reduce required run time
2024-08-27 23:25:26 +02:00
Ferdinand Thiessen ceebf2df6a fix(files): Remove huge margin on bottom
Instead make it relative to screen size.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-27 23:16:05 +02:00
Joas Schilling 261e9a0f1d ci: Update integration-sqlite.yml
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2024-08-27 21:43:58 +02:00
Maxence Lange 5df51dbc73 fix(setup): ignore long session login during installation
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-08-27 19:14:03 +00:00
Joas Schilling ddf7e7acc9 ci: Don't run things normally and with coverage flag on the same configuration
Signed-off-by: Joas Schilling <coding@schilljs.com>

[skip ci]
2024-08-27 20:09:25 +02:00
Joas Schilling 07b3d4cc52 ci: Run things we only run on 1 PHP version on the preinstalled 8.1 which installs ~2m faster
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-27 20:09:25 +02:00
Julius Härtl 20d2430e49 Merge pull request #47539 from nextcloud/backport/47500/stable30 2024-08-27 20:02:50 +02:00
Elizabeth Danzberger a10497af22 chore: rebuild assets
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-08-27 12:43:08 -04:00
Elizabeth Danzberger c84cd0415e fix(files): fix list gap at bottom
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-27 12:41:19 -04:00
Andy Scherzinger ba1deb36b0 Merge pull request #47514 from nextcloud/backport/47495/stable30
[stable30] feat: Delegate is-encrypted handling to the e2ee app
2024-08-27 18:36:01 +02:00
Andy Scherzinger 15a0a3e86a Merge pull request #47518 from nextcloud/backport/47508/stable30
[stable30] fix(Router): Load attribute routes of all apps when not app is specified
2024-08-27 18:34:55 +02:00
Julien Veyssier cc78ff94a2 fix(taskprocessing): fix condition to reschedule SynchronousBackgroundJob
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-27 15:55:16 +00:00
Julien Veyssier 47b2175c86 feat(taskprocessing): add IManager::runTask method to run task synchronously
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-27 15:55:16 +00:00
Richard Steinmetz 3a9e33124b fix: gracefully handle unexpected exif orientation types
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-08-27 14:05:00 +00:00
Christoph Wurst 6d2394680c fix(db): Increase log level for very slow transactions
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-08-27 13:24:08 +00:00
Joas Schilling 4ea841721e Merge pull request #47512 from nextcloud/backport/47494/stable30
[stable30] fix(dav): Allow apps to get unshares for DAV resources
2024-08-27 13:33:12 +02:00
provokateurin c0f89e8b5f fix(Router): Load attribute routes of all apps when not app is specified
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-27 10:51:52 +00:00
Louis Chemineau e0c104af09 feat: Delegate is-encrypted handling to the e2ee app
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-27 10:34:54 +00:00
Joas Schilling 36aff9e8e4 fix(dav): Allow apps to get unshares for DAV resources
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-27 09:25:39 +00:00
John Molakvoæ fc9da19b99 Merge pull request #47498 from nextcloud/backport/47465/stable30 2024-08-27 09:20:26 +02:00
Andy Scherzinger cf7c1caf3a Merge pull request #47219 from nextcloud/dependabot/npm_and_yarn/stable30/webdav-5.7.1
chore(deps): bump webdav from 5.7.0 to 5.7.1
2024-08-27 06:57:50 +02:00
Nextcloud bot 43025173a3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-27 00:21:01 +00:00
nextcloud-command a597961b16 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-27 00:02:13 +00:00
nextcloud-command b6f6da9e93 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-26 21:58:27 +00:00
dependabot[bot] 5c5eaf2630 chore(deps): bump webdav from 5.7.0 to 5.7.1
Bumps [webdav](https://github.com/perry-mitchell/webdav-client) from 5.7.0 to 5.7.1.
- [Changelog](https://github.com/perry-mitchell/webdav-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/perry-mitchell/webdav-client/compare/v5.7.0...v5.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 23:51:35 +02:00
nextcloud-command 97343912de chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-26 21:34:00 +00:00
Ferdinand Thiessen 08391ee642 chore(files): Adjust wording for file type filter
* Resolves: https://github.com/nextcloud/server/issues/47440

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 19:42:16 +00:00
Ferdinand Thiessen fc64d5c838 fix(files): Reset drop notice on firefox
On firefox there is an old bug where when you move a dragged file outside
the window the `dragleave` event is never emitted.
So we just use a timeout to reset the drag over state.

Also a small change: Use the ID of the main container instead of relying on tag name and class.
(The ID is guranteed as other APIs rely on it, while the class is just used internally).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 19:03:42 +00:00
Arthur Schiwon 2b89ec16e3 Merge pull request #47483 from nextcloud/backport/47480/stable30
[stable30] fix(flow): cannot set custom user agent
2024-08-26 17:59:07 +02:00
Arthur Schiwon 5948d2bffb build: js assets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-26 13:09:15 +00:00
Arthur Schiwon 79e81dfe6e fix(flow): cannot set customer user agent
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-26 12:13:54 +00:00
Joas Schilling 14dfa3bcff Merge pull request #47475 from nextcloud/backport/47435/stable30
[stable30] fix(mailer): Call to custom mail_template_class
2024-08-26 10:07:30 +02:00
Andy Scherzinger 192803e337 Merge pull request #47434 from nextcloud/backport/47408/stable30
[stable30] fix(dashboard): Adjust widget border radius
2024-08-26 09:50:21 +02:00
Christoph Klaffl 2863af448a fix call to custom mail_template_class
Signed-off-by: Christoph Klaffl <christoph@phreaker.eu>
2024-08-26 06:59:31 +00:00
Nextcloud bot f136e8004f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-26 00:20:28 +00:00
Nextcloud bot 746ad60980 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-25 00:24:27 +00:00
Nextcloud bot eae454b67f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-24 00:20:35 +00:00
Joas Schilling d5d9143621 Merge pull request #47454 from nextcloud/backport/47452/stable30
[stable30] fix: correct documentation for mail provider
2024-08-23 19:58:05 +02:00
SebastianKrupinski cd9b32fec6 fix: correct documentation for mail provider
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-08-23 16:35:53 +00:00
SebastianKrupinski 8848b52946 fix: correct documentation for mail provider
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-08-23 16:35:53 +00:00
nextcloud-command ac9eeedacc chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-23 16:43:54 +02:00
Ferdinand Thiessen bc3bdc236e fix(dashboard): Adjust widget border radius
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-23 16:43:54 +02:00
Robin Appelman 3e35e62f6b feat: add negative compare-and-delete to imemcache
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-23 11:37:57 +00:00
Andy Scherzinger 4823bcb8cd Merge pull request #47437 from nextcloud/backport/47419/stable30
[stable30] fix(migration): Add missing migration attributes
2024-08-23 07:47:22 +02:00
Nextcloud bot 9caf35ac3b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-23 00:20:13 +00:00
Joas Schilling c6a2aa42de fix(migration): Add missing migration attributes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-22 19:36:17 +00:00
Pablo Zimdahl 7492f7c7cb fix(federation): always set server status to OK after successful runs
Previously if a server status got set to failure, it stayed that way
until an addressbook-sync found changes. Now the server status is set to
OK after each successful sync check (if that's not the case already),
regardless of addressbook changes.

This change also includes two new logging statements, which could help
next time someone debugs this.

Signed-off-by: Pablo Zimdahl <pablo@nextcloud.com>
2024-08-22 19:01:42 +02:00
Andy Scherzinger 91649f6f39 Merge pull request #47422 from nextcloud/backport/47413/stable30
[stable30] fix(caldav): limit property length
2024-08-22 19:00:30 +02:00
John Molakvoæ 1e7affae3d Merge pull request #47411 from nextcloud/release/30.0.0_rc2 2024-08-22 16:03:40 +02:00
nextcloud-command 4e0809e37c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-22 14:01:20 +00:00
skjnldsv 29fb1678ff build(hub): 30.0.0 RC2
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-22 13:56:33 +00:00
John Molakvoæ 11d2240cf5 Merge pull request #47249 from nextcloud/backport/47240/stable30 2024-08-22 15:43:19 +02:00
Ferdinand Thiessen aa383a8ff6 fix(webauthn): Increase database column for public key id
* Resolves https://github.com/nextcloud/server/issues/34476

There is no maximum length defined in the standard,
most common the length is between 128 and 200 characters,
but as we store it not in plain data but base64 encoded the length can grow about 1/3.

We had a regression with 'Nitrokey 3' which created IDs with 196 byte length -> 262 bytes encoded base64.
So to be save we increase the size to 512 bytes.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-22 14:43:18 +02:00
Anna Larch e9e4bacbfd fix(caldav): limit property length
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-08-22 11:22:43 +00:00
Andy Scherzinger 73e8ccbf72 Merge pull request #47387 from nextcloud/backport/47372/stable30
[stable30] fix: `FilenameValidator::isForbidden` should only check forbidden files
2024-08-22 09:26:17 +02:00
Ferdinand Thiessen ec7675c047 docs: Add information how forbidden filenames are handled on existing files.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-22 08:51:58 +02:00
Ferdinand Thiessen 1e49c83556 fix: FilenameValidator::isForbidden should only check forbidden files
And not forbidden basenames as this is used for different purposes.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-22 08:51:58 +02:00
Joas Schilling e5a14f6831 Merge pull request #47393 from nextcloud/backport/46991/stable30
[stable30] fix(ProvisioningAPI): set typed config values by via API
2024-08-22 08:42:15 +02:00
Joas Schilling aeac721795 fix(provisioning): Support setting new app configs as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-22 08:06:06 +02:00
Nextcloud bot ebd0c51915 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-22 00:20:28 +00:00
Andy Scherzinger e87b559939 Merge pull request #47283 from nextcloud/backport/47038/stable30
[stable30] fix: check for correct storage class when checking for link parent
2024-08-21 21:59:22 +02:00
Joas Schilling cb0f8566f4 Merge pull request #47401 from nextcloud/backport/47397/stable30
[stable30] Update `@nextcloud/vue` to v8.17.0
2024-08-21 21:52:28 +02:00
Ferdinand Thiessen 13a2bcaafd chore: Update @nextcloud/vue to v8.17.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-21 19:10:49 +00:00
Andy Scherzinger a1e1e2d840 Merge pull request #47392 from nextcloud/backport/47370/stable30
[stable30] fix(files): Move loading icon before grid toggle
2024-08-21 20:57:51 +02:00
Andy Scherzinger 86c2bd1c0e Merge pull request #47389 from nextcloud/backport/47381/stable30
[stable30] chore(deps): Update openapi-extractor to v1.0.0
2024-08-21 17:41:39 +02:00
Andy Scherzinger 40665faf3c Merge pull request #47395 from nextcloud/backport/47388/stable30
[stable30] ci: Skip flaky test on PHP 8.3
2024-08-21 17:40:24 +02:00
nextcloud-command 0f2ea4006b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-21 17:38:19 +02:00
Ferdinand Thiessen 0b29811e08 fix(files): Move loading icon before grid toggle
This prevents jumping of that toggle button when the view is loading.
Also adjust the design for Nextcloud 30 (prevent jumping of breadcrumbs when loading due to increased height).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-21 17:38:19 +02:00
Andy Scherzinger 25bbfd6e43 Merge pull request #47390 from nextcloud/backport/47352/stable30
[stable30] fix(TaskProcessing/ContextWrite): Fix wording "ContextWrite" -> "Context write"
2024-08-21 17:37:36 +02:00
John Molakvoæ 28af5012a2 Merge pull request #47391 from nextcloud/backport/47371/stable30 2024-08-21 16:29:51 +02:00
Joas Schilling eea5378344 ci: Skip flaky test on PHP 8.3
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-21 13:55:13 +00:00
Joas Schilling 1766bff1ed Merge pull request #47385 from nextcloud/backport/47380/stable30
[stable30] fix(theming): Make getImage() call save against missing non-SVG version
2024-08-21 15:54:34 +02:00
Arthur Schiwon 54c6f1be80 fix(ProvisioningAPI): set typed config values by via API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-21 13:00:17 +00:00
Ferdinand Thiessen 655b318b23 fix: Support Safari mobile
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-21 12:33:53 +00:00
Ferdinand Thiessen a67d98c31e fix: Disable auto-zoom on iOS
When using iOS and focussing an input element the view should not be zoomed.
So if we set a maximum scale iOS will not auto-zoom but still allow users to zoom.
But we can not do this by default as this will disable user zoom on Chrome.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-21 12:33:53 +00:00
Marcel Klehr 46dd99714a fix(TaskProcessing/ContextWrite): Fix wording "ContextWrite" -> "Context write"
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-08-21 11:26:44 +00:00
provokateurin 9f037c3ef3 chore(deps): Update openapi-extractor to v1.0.0
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-21 11:21:33 +00:00
Andy Scherzinger ccc39a41bb Merge pull request #47382 from nextcloud/backport/47331/stable30
[stable30] fix: adding blurhash to definitions
2024-08-21 13:21:14 +02:00
Joas Schilling 71c0b0053c fix(theming): Make getImage() call save against missing non-SVG version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-21 13:19:29 +02:00
Andy Scherzinger 947a5e73f6 Merge pull request #47374 from nextcloud/backport/47365/stable30
[stable30] fix(files_sharing): Sort by correct share attribute ("share with displayname")
2024-08-21 13:18:37 +02:00
Joas Schilling f5e40d11df fix: adding blurhash to definitions
Signed-off-by: skalidindi53 <s.teja2004@gmail.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-21 10:00:35 +00:00
nextcloud-command dc1a3ba2ff chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-21 09:21:23 +00:00
Ferdinand Thiessen dd30146ce9 fix(files_sharing): Sort by correct share attribute ("share with displayname")
There is no `title` attribute, so this causes an exception.

Instead sort by the "share with" displayname which will be the user or group the node is shared to.

Meaning this will also be the title of the share in the UI.

If this is not available or there are multiple for the same, then sort by the custom label.

If also this is not set sort by the creation time.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

[skip ci]
2024-08-21 07:55:24 +00:00
Andy Scherzinger 629bd67dab Merge pull request #47333 from nextcloud/backport/47319/stable30
[stable30] fix(UnifiedSearch): Focus search input on open
2024-08-21 09:43:06 +02:00
Andy Scherzinger fc9a45462d Merge pull request #47338 from nextcloud/backport/47332/stable30
[stable30] fix(caldav): allow renaming of birthday calendars
2024-08-21 08:58:15 +02:00
Joas Schilling 3b07eb9c7d Merge pull request #47260 from nextcloud/backport/47252/stable30
[stable30] fix(adminaudit): Don't crash when creating folder
2024-08-21 08:53:17 +02:00
Anna Larch b3698e1bdd fix(caldav): allow renaming of birthday calendars
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-08-21 08:35:46 +02:00
Nextcloud bot fae6b6f559 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-21 00:20:25 +00:00
Andy Scherzinger 9837d7707c Merge pull request #47364 from nextcloud/backport/47358/stable30
[stable30] Bump Hub 8 -> Hub 9
2024-08-21 01:09:51 +02:00
Joas Schilling ce5471b09f Merge pull request #47362 from nextcloud/backport/47356/stable30
[stable30] chore: Add webhook_listeners to list of shipped apps
2024-08-21 00:05:01 +02:00
Andy Scherzinger fe84af1cb1 chore: Bump Hub 8 -> Hub 9
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-20 22:02:26 +00:00
nextcloud-command ad27c5fbba chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-20 21:48:08 +00:00
fenn-cs 716b8c896e fix(UnifiedSearch): Focus search input on open
Resolves : https://github.com/nextcloud/server/issues/47056

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-08-20 23:13:31 +02:00
Andy Scherzinger cef2e2bcc8 Merge pull request #47322 from nextcloud/backport/47182/stable30
[stable30] perf: improve cleanup of tags/comments
2024-08-20 23:11:07 +02:00
Joas Schilling 08eb488e69 fix(CI): Add a check that all server apps are translated
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-20 20:54:35 +00:00
Côme Chilliet b4deb67ea7 chore: Add webhook_listeners to list of shipped apps
As well as CODEOWNERS and l10n

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-20 20:54:34 +00:00
John Molakvoæ 2dc3cd6112 Merge pull request #47355 from nextcloud/backport/47346/stable30 2024-08-20 20:24:11 +02:00
Robin Appelman fff198657f fix: use mountpoint from storage to find the encryption keys
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-20 14:24:43 +00:00
Robin Appelman ece54cf956 feat: store the mountpoint of storages in the mount options
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-20 14:24:43 +00:00
Joas Schilling b8adb8bfd6 Merge pull request #47255 from nextcloud/backport/47253/stable30
[stable30] feat(webauthn): Add user verification to webauthn challenges
2024-08-20 08:08:11 +02:00
Nextcloud bot b46f541015 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-20 00:20:39 +00:00
Julius Härtl 5789c99c4a Merge pull request #47292 from nextcloud/backport/47277/stable30
[stable30] [occ:bg-job:worker] Add 'stop_after' option
2024-08-19 15:36:36 +02:00
Robin Appelman 13231effd0 perf: improve cleanup of tags/comments
delete entire chunk at once instead of one-by-one

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-19 11:41:41 +00:00
Nextcloud bot 3b7014e5f7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-19 00:20:25 +00:00
John Molakvoæ fb6616e975 Merge pull request #47309 from nextcloud/automated/noid/stable30-fix-npm-audit 2024-08-18 17:30:33 +02:00
nextcloud-command 6c7726ab52 fix(deps): Fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2024-08-18 11:32:54 +00:00
John Molakvoæ eb1a26e530 Merge pull request #47305 from nextcloud/backport/47287/stable30 2024-08-18 13:28:00 +02:00
Nextcloud bot 4bc14ed801 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-18 00:23:03 +00:00
nextcloud-command 6f405780d2 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-17 18:35:02 +02:00
Ferdinand Thiessen 57bd5d06c1 fix: Access node owner by top level owner property
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-17 16:31:24 +00:00
John Molakvoæ b99c088dc3 Merge pull request #47295 from nextcloud/dependabot/npm_and_yarn/stable30/pinia-2.2.2
chore(deps): bump pinia from 2.2.0 to 2.2.2
2024-08-17 12:10:57 +02:00
dependabot[bot] 6c1e61763e chore(deps): bump pinia from 2.2.0 to 2.2.2
Bumps [pinia](https://github.com/vuejs/pinia) from 2.2.0 to 2.2.2.
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/pinia@2.2.0...pinia@2.2.2)

---
updated-dependencies:
- dependency-name: pinia
  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>
2024-08-17 08:08:08 +00:00
Nextcloud bot c6584da72c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-17 00:20:28 +00:00
Julien Veyssier 0a9b26f442 feat(occ): add 'stop_after' option to stop the worker after some time
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-16 22:29:30 +00:00
Robin Appelman 9791fa278f fix: check for correct storage class when checking for link parent
fixes #39123

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-16 15:17:07 +00:00
John Molakvoæ 037476d67b Merge pull request #47276 from nextcloud/backport/47248/stable30 2024-08-16 13:14:40 +02:00
Ferdinand Thiessen 941cd723b2 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-16 10:55:39 +00:00
Ferdinand Thiessen 9eeb360a09 fix: Adjust legacy CSS styles for new Nextcloud 30 design
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-16 10:55:39 +00:00
Joas Schilling a54375b976 Merge pull request #47264 from nextcloud/backport/47258/stable30
[stable30] Don't save translated predefined user status as custom status
2024-08-16 09:44:59 +02:00
nextcloud-command d30ba42a61 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-16 05:34:02 +00:00
Nextcloud bot 1a9b1e9a2a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-16 00:20:14 +00:00
Joas Schilling 5441f97d56 fix(userstatus): Don't set predefined user status as custom when changing "Clear at"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-15 17:22:37 +00:00
Joas Schilling b31a587be8 fix(adminaudit): Don't crash when creating folder
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-15 13:35:19 +00:00
S1m b7bf8ec3c5 feat(webauthn): Add user verification to webauthn challenges
Require user verification if all tokens are registered

with UV flag, else discourage it

Signed-off-by: S1m <git@sgougeon.fr>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-08-15 11:52:40 +02:00
Joas Schilling 3b6d9eb774 Merge pull request #47229 from nextcloud/backport/47212/stable30
[stable30] fix(security): Update expiration date in security.txt
2024-08-15 10:54:24 +02:00
Nextcloud bot 7c0932f208 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-15 00:25:56 +00:00
John Molakvoæ 551e3601a2 Merge pull request #47190 from nextcloud/release/30.0.0_rc1 2024-08-14 18:59:20 +02:00
Joas Schilling 2819d7e4ab fix: Update 3rdparty/ which was merged too early
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 17:16:46 +02:00
skjnldsv 8bb6279062 build(hub): 30.0.0 RC1
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-14 16:33:35 +02:00
John Molakvoæ f68065c4e1 Merge pull request #47236 from nextcloud/backport/47203/stable30
[stable30] fix(AppMenu): Prevent menu entries from jumping on hover
2024-08-14 16:27:51 +02:00
Ferdinand Thiessen f8bbb274e4 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-14 12:34:37 +00:00
Ferdinand Thiessen 70c6ff9e11 fix(AppMenu): Prevent menu entries from jumping on hover
Only grow and shrink app menu entry if needed

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-14 12:34:37 +00:00
Joas Schilling 9a1339d3b4 Merge pull request #47235 from nextcloud/branchoff/welcome-stable30
chore(branchoff): Test against stable30 branches
2024-08-14 13:56:56 +02:00
Joas Schilling 5a55410083 chore(branchoff): Test against stable30 branches
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 13:53:22 +02:00
dependabot[bot] 2659b2113d Merge pull request #47217 from nextcloud/dependabot/npm_and_yarn/stable30/karma-coverage-2.2.1 2024-08-14 11:16:31 +00:00
Joas Schilling 3c02c442af fix(security): Update expiration date in security.txt
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 10:43:32 +00:00
dependabot[bot] eaec634d2c 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>
2024-08-14 09:31:18 +00:00
11049 changed files with 365087 additions and 498743 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
-3
View File
@@ -1,3 +0,0 @@
watch_file lib/versioncheck.php
watch_file package.json
use flake
+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
+48
View File
@@ -0,0 +1,48 @@
/**
* 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',
},
},
overrides: [
// Allow any in tests
{
files: ['**/*.spec.ts'],
rules: {
'@typescript-eslint/no-explicit-any': 'warn',
},
}
],
}
-21
View File
@@ -2,24 +2,3 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
# Format control structures
caff1023ea72bb2ea94130e18a2a6e2ccf819e5f
# Update to coding-standard 1.1.1
aa5f037af71c915424c6dcfd5ad2dc82797dc0d6
# Update to coding-standard 1.2.3
af6de04e9e141466dc229e444ff3f146f4a34765
0bd284cb81b6866338aaaa67aa1d81ef9bfbb2ab
8af7ecb2576071f170ecbb0aa2311b26581e40e2
# Update to coding-standard 1.3.1
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
+40 -71
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 @blizzz
/apps/cloud_federation_api/appinfo/info.xml @nfebe @mejo-
/apps/comments/appinfo/info.xml @edward-ly @sorbaugh
/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 @JuliaKirschenheuter @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 @JuliaKirschenheuter @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
/resources/codesigning @mgallien @miaulalala @nickvergessen
/resources/config/ca-bundle.crt @miaulalala @nickvergessen
/.drone.yml @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 @miaulalala @st3iny @SebastianKrupinski
/build/integration/dav_features/carddav.feature @miaulalala @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
+1 -1
View File
@@ -48,7 +48,7 @@ In some areas unit testing is hard (aka almost impossible) as of today - in thes
### Sign your work
We use the Developer Certificate of Origin (DCO) as an additional safeguard
We use the Developer Certificate of Origin (DCO) as a additional safeguard
for the Nextcloud project. This is a well established and widely used
mechanism to assure contributors have confirmed their right to license
their contribution under the project's license.
+27 -13
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:
@@ -63,6 +62,22 @@ body:
description: Describe what you expected to happen instead.
validations:
required: true
- type: dropdown
id: install-method
attributes:
label: Installation method
description: |
Select installation method you've used.
_Describe the method in the "Additional info" section if you chose "Other"._
options:
- "Community Web installer on a VPS or web space"
- "Community Manual installation with Archive"
- "Community Docker image"
- "Community NextcloudPi appliance"
- "Community SNAP package"
- "Community VM appliance"
- "Other Community project"
- "Official All-in-One appliance"
- type: dropdown
id: nextcloud-version
attributes:
@@ -71,8 +86,8 @@ body:
Select Nextcloud Server version.
_Versions not listed here are not maintained and not supported anymore_
options:
- "32"
- "33"
- "28"
- "29"
- "master"
validations:
required: true
@@ -95,11 +110,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.0"
- "PHP 8.1"
- "PHP 8.2"
- "PHP 8.3"
- "Other"
- type: dropdown
id: webserver
@@ -133,8 +147,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
@@ -169,7 +183,7 @@ body:
./occ config:list system
```
> NOTE: This will be automatically formatted into code for better readability.
render: json
render: shell
- type: textarea
id: apps
attributes:
@@ -201,10 +215,10 @@ body:
attributes:
label: Nextcloud Logs
description: |
Provide relevant Nextcloud log entries (e.g. from the time period you reproduced the problem).
Copy full individual entries from `data/nextcloud.log` or use `Copy raw entry` from `/settings/admin/logging` section:
Provide Nextcloud logs lines.
Copy all contents from `data/nextcloud.log` or a RAW from `/settings/admin/logging` section:
> NOTE: This will be automatically formatted into code for better readability.
render: json
render: shell
- type: textarea
id: additional-info
attributes:
+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
+188 -192
View File
@@ -1,8 +1,193 @@
# 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: 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"]
# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
@@ -16,195 +201,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"]
# Composer dependencies for linting and testing
- package-ecosystem: composer
target-branch: stable31
directories:
- "/"
- "/build/integration"
- "/vendor-bin/cs-fixer"
- "/vendor-bin/openapi-extractor"
- "/vendor-bin/phpunit"
- "/vendor-bin/psalm"
schedule:
interval: weekly
day: saturday
time: "04:00"
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: stable31
directory: "/"
schedule:
interval: weekly
day: saturday
time: "04: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"
ignore:
# no major updates on stable branches
- dependency-name: "*"
update-types: ["version-update:semver-major"]
-2
View File
@@ -21,5 +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`)
+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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
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
@@ -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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
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
+7 -16
View File
@@ -27,23 +27,14 @@ jobs:
steps:
- name: Set server major version environment
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const regex = /^stable(\d+)$/
const baseRef = context.payload.pull_request.base.ref
const match = baseRef.match(regex)
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));
}
run: |
# retrieve version number from branch reference
server_major=$(echo "${{ github.base_ref }}" | sed -En 's/stable//p')
echo "server_major=$server_major" >> $GITHUB_ENV
echo "current_month=$(date +%Y-%m)" >> $GITHUB_ENV
- name: Checking if server ${{ env.server_major }} is EOL
if: ${{ env.server_major != '' }}
- name: Checking if ${{ env.server_major }} is EOL
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
+2 -24
View File
@@ -28,30 +28,8 @@ jobs:
runs-on: ubuntu-latest-low
steps:
- name: Register server reference to fallback to master branch
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const baseRef = context.payload.pull_request.base.ref
if (baseRef === 'main' || baseRef === 'master') {
core.exportVariable('server_ref', 'master');
console.log('Setting server_ref to master');
} else {
const regex = /^stable(\d+)$/
const match = baseRef.match(regex)
if (match) {
core.exportVariable('server_ref', match[0]);
console.log('Setting server_ref to ' + match[0]);
} else {
console.log('Not based on master/main/stable*, so skipping freeze check');
}
}
- name: Download version.php from ${{ env.server_ref }}
if: ${{ env.server_ref != '' }}
run: curl 'https://raw.githubusercontent.com/nextcloud/server/${{ env.server_ref }}/version.php' --output version.php
- name: Download version.php from ${{ github.base_ref }}
run: curl 'https://raw.githubusercontent.com/nextcloud/server/${{ github.base_ref }}/version.php' --output version.php
- name: Run check
if: ${{ env.server_ref != '' }}
run: cat version.php | grep 'OC_VersionString' | grep -i -v 'RC'
+4 -28
View File
@@ -31,49 +31,25 @@ jobs:
- 'version.php'
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: 3rdparty commit hash on current branch
id: actual
run: |
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
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const baseRef = context.payload.pull_request.base.ref
if (baseRef === 'main' || baseRef === 'master') {
core.exportVariable('server_ref', 'master');
console.log('Setting server_ref to master');
} else {
const regex = /^stable(\d+)$/
const match = baseRef.match(regex)
if (match) {
core.exportVariable('server_ref', match[0]);
console.log('Setting server_ref to ' + match[0]);
} else {
console.log('Not based on master/main/stable*, so skipping outdated 3rdparty check');
}
}
- name: Last 3rdparty commit on target branch
if: ${{ env.server_ref != '' }}
id: target
run: |
echo "commit=$(git ls-remote https://github.com/nextcloud/3rdparty refs/heads/${{ env.server_ref }} | awk '{ print $1}')" >> "$GITHUB_OUTPUT"
echo "commit=$(git ls-remote https://github.com/nextcloud/3rdparty refs/heads/${{ github.base_ref }} | awk '{ print $1}')" >> "$GITHUB_OUTPUT"
- name: Compare if 3rdparty commits are different
if: ${{ env.server_ref != '' }}
run: |
echo '3rdparty/ seems to not point to the last commit of the dedicated branch:'
echo 'Branch has: ${{ steps.actual.outputs.commit }}'
echo '${{ env.server_ref }} has: ${{ steps.target.outputs.commit }}'
echo '${{ github.base_ref }} has: ${{ steps.target.outputs.commit }}'
- name: Fail if 3rdparty commits are different
if: ${{ env.server_ref != '' && steps.changes.outputs.src != 'false' && steps.actual.outputs.commit != steps.target.outputs.commit }}
if: ${{ steps.changes.outputs.src != 'false' && steps.actual.outputs.commit != steps.target.outputs.commit }}
run: |
exit 1
@@ -27,9 +27,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: webiny/action-conventional-commits@8bc41ff4e7d423d56fa4905f6ff79209a78776c7 # v1.3.0
with:
-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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
config-file: ./.github/codeql-config.yml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10
with:
category: "/language:${{matrix.language}}"
+15 -58
View File
@@ -11,9 +11,6 @@ on:
issue_comment:
types: [created]
permissions:
contents: read
jobs:
init:
runs-on: ubuntu-latest
@@ -30,7 +27,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 +54,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 }}
@@ -79,17 +76,17 @@ jobs:
fi
- name: Init branch
uses: xt0rted/pull-request-comment-branch@e8b8daa837e8ea7331c0003c9c316a64c6d8b0b1 # v3.0.0
uses: xt0rted/pull-request-comment-branch@d97294d304604fa98a2600a6e2f916a84b596dc7 # v1
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 }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reactions: '-1'
reactions: "-1"
process:
runs-on: ubuntu-latest
@@ -97,16 +94,14 @@ jobs:
steps:
- name: Restore cached git repository
uses: buildjet/cache@3e70d19e31d6a8030aeddf6ed8dbe601f94d09f4 # v4.0.2
uses: buildjet/cache@e376f15c6ec6dc595375c78633174c7e5f92dc0e # v3
with:
path: .git
key: git-repo
- name: Checkout ${{ needs.init.outputs.head_ref }}
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
# Needed to allow force push later
persist-credentials: true
token: ${{ secrets.COMMAND_BOT_PAT }}
fetch-depth: 0
ref: ${{ needs.init.outputs.head_ref }}
@@ -120,11 +115,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@1e60f620b9541d16bece96c5465dc8ee9832be0b # v3
with:
node-version: ${{ steps.package-engines-versions.outputs.nodeVersion }}
cache: npm
@@ -136,41 +131,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,21 +163,17 @@ 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 }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reactions: '-1'
reactions: "-1"
+6 -38
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 }}
@@ -34,64 +34,32 @@ jobs:
exit 1
- name: Init branch
uses: xt0rted/pull-request-comment-branch@e8b8daa837e8ea7331c0003c9c316a64c6d8b0b1 # v1
uses: xt0rted/pull-request-comment-branch@d97294d304604fa98a2600a6e2f916a84b596dc7 # v1
id: comment-branch
- name: Checkout ${{ steps.comment-branch.outputs.head_ref }}
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
persist-credentials: false
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
ref: ${{ steps.comment-branch.outputs.head_ref }}
- name: Register server reference to fallback to master branch
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const baseRef = context.payload.pull_request.base.ref
if (baseRef === 'main' || baseRef === 'master') {
core.exportVariable('server_ref', 'master');
console.log('Setting server_ref to master');
} else {
const regex = /^stable(\d+)$/
const match = baseRef.match(regex)
if (match) {
core.exportVariable('server_ref', match[0]);
console.log('Setting server_ref to ' + match[0]);
} else {
console.log('Not based on master/main/stable*, so skipping pull 3rdparty command');
}
}
- name: Setup git
run: |
git config --local user.email 'nextcloud-command@users.noreply.github.com'
git config --local user.name 'nextcloud-command'
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v3.0.1
if: ${{ env.server_ref == '' }}
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reactions: '-1'
- name: Pull 3rdparty
if: ${{ env.server_ref != '' }}
run: git submodule foreach 'if [ "$sm_path" == "3rdparty" ]; then git pull origin '"'"'${{ env.server_ref }}'"'"'; fi'
run: git submodule foreach 'if [ "$sm_path" == "3rdparty" ]; then git pull origin '"'"'${{ github.event.issue.pull_request.base.ref }}'"'"'; fi'
- name: Commit and push changes
if: ${{ env.server_ref != '' }}
run: |
git add 3rdparty
git commit -s -m 'Update submodule 3rdparty to latest ${{ env.server_ref }}'
git commit -s -m 'Update submodule 3rdparty to latest ${{ github.event.issue.pull_request.base.ref }}'
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 }}
+32 -90
View File
@@ -18,15 +18,8 @@ env:
# Adjust APP_NAME if your repository name is different
APP_NAME: ${{ github.event.repository.name }}
# This represents the server branch to checkout.
# 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 }}
permissions:
contents: read
# Server requires head_ref instead of base_ref, as we want to test the PR branch
BRANCH: ${{ github.head_ref || github.ref_name }}
jobs:
init:
@@ -36,8 +29,6 @@ jobs:
npmVersion: ${{ steps.versions.outputs.npmVersion }}
env:
# We'll install cypress in the cypress job
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
steps:
@@ -48,9 +39,8 @@ jobs:
exit 1
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
# We need to checkout submodules for 3rdparty
submodules: true
@@ -58,7 +48,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 +58,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@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -84,8 +74,11 @@ 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
uses: buildjet/cache/save@e376f15c6ec6dc595375c78633174c7e5f92dc0e # v3
with:
key: cypress-context-${{ github.run_id }}
path: ./
@@ -99,82 +92,32 @@ 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' || ''}}
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' || ''}}
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' || ''}}
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' || ''}}
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 }}
steps:
- name: Restore context
uses: buildjet/cache/restore@3e70d19e31d6a8030aeddf6ed8dbe601f94d09f4 # v4.0.2
uses: buildjet/cache/restore@e376f15c6ec6dc595375c78633174c7e5f92dc0e # v3
with:
fail-on-cache-miss: true
key: cypress-context-${{ github.run_id }}
path: ./
- name: Set up node ${{ needs.init.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ needs.init.outputs.nodeVersion }}
- name: Set up npm ${{ needs.init.outputs.npmVersion }}
run: npm i -g 'npm@${{ needs.init.outputs.npmVersion }}'
- name: Install cypress
run: ./node_modules/cypress/bin/cypress install
- name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests
uses: cypress-io/github-action@2ad32e649e4db26c07674ebae31a297601dbcbaf # v6.10.8
uses: cypress-io/github-action@df7484c5ba85def7eef30db301afa688187bc378 # v6.7.2
with:
# We already installed the dependencies in the init job
install: false
component: ${{ matrix.containers == 'component' }}
group: ${{ matrix.use-cypress-cloud && matrix.containers == 'component' && 'Run component' || matrix.use-cypress-cloud && 'Run E2E' || '' }}
# cypress env
@@ -191,34 +134,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@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
- name: Upload snapshots
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
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@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
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@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
- name: Upload data dir archive
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
if: failure() && matrix.containers != 'component'
with:
name: nc_data_${{ matrix.containers }}
+9 -18
View File
@@ -3,13 +3,13 @@
# 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]
pull_request_target:
branches:
- main
- master
@@ -24,13 +24,11 @@ concurrency:
jobs:
auto-approve-merge:
if: github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'renovate[bot]'
if: github.actor == 'dependabot[bot]' || github.actor == 'renovate[bot]'
runs-on: ubuntu-latest-low
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 -30
View File
@@ -6,9 +6,6 @@ on:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: files-external-ftp-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -29,22 +26,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,21 +40,21 @@ 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.3']
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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
persist-credentials: false
submodules: true
- name: Set up ftpd
@@ -81,8 +68,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 +96,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@v4.5.0
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: |
+27 -65
View File
@@ -6,9 +6,6 @@ on:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: files-external-s3-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -29,22 +26,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,18 +40,17 @@ 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.3']
include:
- php-versions: '8.3'
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-s3-minio
name: php${{ matrix.php-versions }}-s3
services:
minio:
image: bitnami/minio@sha256:50cec18ac4184af4671a78aedd5554942c8ae105d51a465fa82037949046da01 # v2025.4.22
image: bitnami/minio
env:
MINIO_ROOT_USER: nextcloud
MINIO_ROOT_PASSWORD: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
@@ -74,14 +60,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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
@@ -99,38 +83,26 @@ jobs:
composer install
./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
./occ app:enable --force files_external
echo "<?php return ['run' => true, 'minio' => true, 'secret' => 'actually-not-secret', 'passwordsalt' => 'actually-not-secret', 'hostname' => 'localhost','key' => '$OBJECT_STORE_KEY','secret' => '$OBJECT_STORE_SECRET', 'bucket' => 'bucket', 'port' => 9000, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/files_external/tests/config.amazons3.php
echo "<?php return ['run' => true, 'secret' => 'actually-not-secret', 'passwordsalt' => 'actually-not-secret', 'hostname' => 'localhost','key' => '$OBJECT_STORE_KEY','secret' => '$OBJECT_STORE_SECRET', 'bucket' => 'bucket', 'port' => 9000, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/files_external/tests/config.amazons3.php
- name: Wait for S3
run: |
sleep 10
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 10 http://localhost:9000/minio/health/ready
- name: PHPUnit
run: |
composer run test:files_external -- \
--group S3 \
--log-junit junit.xml \
apps/files_external/tests/Storage \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
run: composer run test:files_external -- \
apps/files_external/tests/Storage/Amazons3Test.php \
apps/files_external/tests/Storage/VersionedAmazonS3Test.php \
${{ 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@v4.5.0
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,32 +117,30 @@ jobs:
strategy:
matrix:
php-versions: ['8.2', '8.4']
php-versions: ['8.1', '8.2', '8.3']
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:
env:
SERVICES: s3
DEBUG: 1
image: localstack/localstack@sha256:9d4253786e0effe974d77fe3c390358391a56090a4fff83b4600d8a64404d95d # v4.5.0
image: localstack/localstack
ports:
- "4566:4566"
steps:
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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
@@ -185,29 +155,21 @@ jobs:
composer install
./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
./occ app:enable --force files_external
echo "<?php return ['run' => true, 'localstack' => true, 'hostname' => 'localhost','key' => 'ignored','secret' => 'ignored', 'bucket' => 'bucket', 'port' => 4566, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/files_external/tests/config.amazons3.php
echo "<?php return ['run' => true,'hostname' => 'localhost','key' => 'ignored','secret' => 'ignored', 'bucket' => 'bucket', 'port' => 4566, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/files_external/tests/config.amazons3.php
- name: PHPUnit
run: |
composer run test:files_external -- \
--group S3 \
--log-junit junit.xml \
apps/files_external/tests/Storage \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
run: composer run test:files_external -- \
apps/files_external/tests/Storage/Amazons3Test.php \
apps/files_external/tests/Storage/VersionedAmazonS3Test.php \
${{ 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@v4.5.0
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 -30
View File
@@ -6,9 +6,6 @@ on:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: files-external-sftp-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -29,22 +26,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,21 +40,21 @@ 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.3']
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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
persist-credentials: false
submodules: true
- name: Set up sftpd
@@ -77,8 +64,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 +85,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@v4.5.0
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: |
@@ -6,9 +6,6 @@ on:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: files-external-smb-kerberos-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -29,22 +26,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,15 +43,13 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
persist-credentials: false
submodules: true
- name: Checkout user_saml
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
persist-credentials: false
repository: nextcloud/user_saml
path: apps/user_saml
@@ -77,10 +62,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
@@ -98,18 +83,6 @@ jobs:
run: |
apps/files_external/tests/sso-setup/test-sso-smb.sh ${{ env.DC_IP }}
- name: Show logs DC
if: always()
run: |
docker logs dc
echo "------------"
docker exec dc cat /var/log/samba/log.samba
- name: Show logs Apache
if: always()
run: |
docker logs apache
- name: Show logs
if: always()
run: |
@@ -117,7 +90,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 -38
View File
@@ -6,9 +6,6 @@ on:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: files-external-smb-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -29,22 +26,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 +40,28 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.1', '8.3']
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
ports:
- 445:445
steps:
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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 +88,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@922d8d7b314a529f2be903c1e79ee8283c492863 # v4.1.1
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]
+9 -32
View File
@@ -6,9 +6,6 @@ on:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: files-external-webdav-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -29,22 +26,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 +40,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']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
@@ -64,20 +50,18 @@ jobs:
services:
apache:
image: ghcr.io/nextcloud/continuous-integration-webdav-apache:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-webdav-apache:latest
ports:
- 8081:80
steps:
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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 +85,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@922d8d7b314a529f2be903c1e79ee8283c492863 # v4.1.1
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]
+7 -31
View File
@@ -6,9 +6,6 @@ on:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: files-external-generic-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -29,22 +26,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 +39,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']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
@@ -64,14 +49,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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
@@ -91,23 +74,16 @@ jobs:
./occ app:enable --force files_external
- name: PHPUnit
run: composer run test:files_external -- \
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
run: composer run test:files_external \
${{ 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@v4.5.0
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 ]
@@ -1,104 +0,0 @@
# SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Generate changelog on release
on:
release:
types: [published]
permissions:
contents: write
jobs:
changelog_generate:
runs-on: ubuntu-latest
# Only allowed to be run on nextcloud-releases repositories
if: ${{ github.repository_owner == 'nextcloud-releases' }}
steps:
- name: Check actor permission
uses: skjnldsv/check-actor-permission@69e92a3c4711150929bca9fcf34448c5bf5526e7 # v3.0
with:
require: write
- name: Checkout github_helper
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
repository: nextcloud/github_helper
path: github_helper
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
path: server
fetch-depth: 0
- name: Get previous tag
shell: bash
run: |
cd server
# Print all tags
git log --decorate --oneline | egrep 'tag: ' | sed -r 's/^.+tag: ([^,\)]+)[,\)].+$/\1/g'
# Get the current tag
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
# Current tag is pre-release, don't filter
PREVIOUS_TAG=$(echo "$TAGS" | sed -n '2p')
else
# Current tag is stable, filter out pre-releases
PREVIOUS_TAG=$(echo "$TAGS" | grep -v 'rc\|beta\|alpha' | sed -n '2p')
fi
echo "CURRENT_TAG=$CURRENT_TAG" >> $GITHUB_ENV
echo "PREVIOUS_TAG=$PREVIOUS_TAG" >> $GITHUB_ENV
# Since this action only runs on nextcloud-releases, ignoring is okay
- name: Verify current tag # zizmor: ignore[template-injection]
run: |
if [ "${{ github.ref_name }}" != "${{ env.CURRENT_TAG }}" ]; then
echo "Current tag does not match the release tag. Exiting."
exit 1
fi
- name: Set up php 8.2
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5
timeout-minutes: 5
with:
php-version: 8.2
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set credentials
run: |
echo '{"username": "github-actions"}' > github_helper/credentials.json
# Since this action only runs on nextcloud-releases, ignoring is okay
- name: Generate changelog between ${{ env.PREVIOUS_TAG }} and ${{ github.ref_name }} # zizmor: ignore[template-injection]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd github_helper/changelog
composer install
php index.php generate:changelog --no-bots --format=forum server ${{ env.PREVIOUS_TAG }} ${{ github.ref_name }} > changelog.md
# Since this action only runs on nextcloud-releases, ignoring is okay
- name: Set changelog to release # zizmor: ignore[template-injection]
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd server
gh release edit ${{ github.ref_name }} --notes-file "../github_helper/changelog/changelog.md" --title "${{ github.ref_name }}"
+7 -11
View File
@@ -4,9 +4,6 @@ name: DAV integration tests
on:
pull_request:
permissions:
contents: read
concurrency:
group: integration-caldav-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -43,9 +40,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 +51,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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 +67,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Python
uses: LizardByte/actions/actions/setup_python@e6bc045033a5614035b66daafc38ff86faecb23a # v2026.116.208
uses: LizardByte/setup-python-action@master
with:
python-version: '2.7'
@@ -103,9 +99,9 @@ jobs:
- name: Run CalDAVTester
run: |
cp "apps/dav/tests/testsuits/caldavtest/serverinfo-${{ matrix.endpoint }}${{ matrix.endpoint == 'old' && (matrix.service == 'CardDAV' && '-carddav' || '-caldav') || '' }}-endpoint.xml" "apps/dav/tests/testsuits/caldavtest/serverinfo.xml"
cp "apps/dav/tests/travis/caldavtest/serverinfo-${{ matrix.endpoint }}${{ matrix.endpoint == 'old' && (matrix.service == 'CardDAV' && '-carddav' || '-caldav') || '' }}-endpoint.xml" "apps/dav/tests/travis/caldavtest/serverinfo.xml"
pushd CalDAVTester
PYTHONPATH="../pycalendar/src" python testcaldav.py --print-details-onfail --basedir "../apps/dav/tests/testsuits/caldavtest" -o cdt.txt \
PYTHONPATH="../pycalendar/src" python testcaldav.py --print-details-onfail --basedir "../apps/dav/tests/travis/caldavtest" -o cdt.txt \
"${{ matrix.service }}/current-user-principal.xml" \
"${{ matrix.service }}/sync-report.xml" \
${{ matrix.endpoint == 'new' && format('{0}/sharing-{1}.xml', matrix.service, matrix.service == 'CalDAV' && 'calendars' || 'addressbooks') || ';' }}
+4 -8
View File
@@ -4,9 +4,6 @@ name: Litmus integration tests
on:
pull_request:
permissions:
contents: read
concurrency:
group: integration-litmus-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -43,23 +40,22 @@ 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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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
+12 -26
View File
@@ -4,9 +4,6 @@ name: S3 primary storage integration tests
on:
pull_request:
permissions:
contents: read
concurrency:
group: integration-s3-primary-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -27,23 +24,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,21 +40,22 @@ 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
services:
redis:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
ports:
- 6379:6379/tcp
minio:
image: bitnami/minio@sha256:50cec18ac4184af4671a78aedd5554942c8ae105d51a465fa82037949046da01 # v2025.4.22
image: bitnami/minio
env:
MINIO_ROOT_USER: nextcloud
MINIO_ROOT_PASSWORD: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
@@ -76,14 +65,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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
@@ -100,7 +87,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
+14 -29
View File
@@ -61,34 +61,28 @@ jobs:
- 'federation_features'
- '--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: ['stable30']
services:
redis:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
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
ports:
- 389:389
- 636:636
env:
SLAPD_DOMAIN: nextcloud.ci
SLAPD_ORGANIZATION: Nextcloud
@@ -97,32 +91,20 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Checkout Talk app
if: ${{ matrix.test-suite == 'videoverification_features' }}
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
repository: nextcloud/spreed
path: apps/spreed
ref: ${{ matrix.spreed-versions }}
- name: Checkout Activity app
if: ${{ matrix.test-suite == 'sharing_features' }}
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
repository: nextcloud/activity
path: apps/activity
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@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
@@ -132,9 +114,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 +150,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 -9
View File
@@ -20,9 +20,6 @@ concurrency:
jobs:
changes:
runs-on: ubuntu-latest-low
permissions:
contents: read
pull-requests: read
outputs:
src: ${{ steps.changes.outputs.src}}
@@ -56,19 +53,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- 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'
fallbackNode: '^20'
fallbackNpm: '^10'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
+5 -8
View File
@@ -44,19 +44,16 @@ jobs:
lint:
runs-on: ubuntu-latest
name: php-cs
name: PHP CS fixer lint
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up php
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5
timeout-minutes: 5
- name: Set up php8.1
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
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 -7
View File
@@ -47,22 +47,18 @@ jobs:
strategy:
matrix:
php-versions: [ '8.2', '8.3', '8.4', '8.5' ]
php-versions: [ '8.1', '8.2', '8.3' ]
name: php-lint
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5
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
coverage: none
ini-file: development
env:
-53
View File
@@ -1,53 +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: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Lint stylelint
on: pull_request
permissions:
contents: read
concurrency:
group: lint-stylelint-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
name: stylelint
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
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
env:
CYPRESS_INSTALL_BINARY: 0
run: npm ci
- name: Lint
run: npm run stylelint
@@ -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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
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
+93 -29
View File
@@ -23,9 +23,6 @@ concurrency:
jobs:
changes:
runs-on: ubuntu-latest-low
permissions:
contents: read
pull-requests: read
outputs:
src: ${{ steps.changes.outputs.src}}
@@ -44,61 +41,128 @@ 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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- 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'
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
node-version: ${{ needs.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
- name: Set up npm ${{ needs.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ needs.versions.outputs.npmVersion }}'
- name: Install dependencies
env:
CYPRESS_INSTALL_BINARY: 0
- 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@922d8d7b314a529f2be903c1e79ee8283c492863 # v4.3.1
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
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 +170,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 -20
View File
@@ -20,9 +20,6 @@ concurrency:
jobs:
changes:
runs-on: ubuntu-latest-low
permissions:
contents: read
pull-requests: read
outputs:
src: ${{ steps.changes.outputs.src}}
@@ -37,14 +34,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,32 +53,23 @@ jobs:
name: NPM build
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- 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'
fallbackNode: '^20'
fallbackNpm: '^10'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v3
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 +78,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)"
+9 -19
View File
@@ -14,9 +14,6 @@ on:
# At 2:30 on Sundays
- cron: '30 2 * * 0'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
@@ -24,32 +21,25 @@ jobs:
strategy:
fail-fast: false
matrix:
branches:
- ${{ github.event.repository.default_branch }}
- 'stable33'
- 'stable32'
- 'stable31'
branches: ['main', 'master', 'stable29', 'stable28', 'stable27']
name: npm-audit-fix-${{ matrix.branches }}
steps:
- name: Checkout
id: checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
ref: ${{ matrix.branches }}
continue-on-error: true
- 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'
fallbackNode: '^20'
fallbackNpm: '^10'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -58,10 +48,10 @@ jobs:
- name: Fix npm audit
id: npm-audit
uses: nextcloud-libraries/npm-audit-action@1b1728b2b4a7a78d69de65608efcf4db0e3e42d0 # v0.2.0
uses: nextcloud-libraries/npm-audit-action@2a60bd2e79cc77f2cc4d9a3fe40f1a69896f3a87 # v0.1.0
- name: Run npm ci and npm run build
if: steps.checkout.outcome == 'success'
if: always()
env:
CYPRESS_INSTALL_BINARY: 0
run: |
@@ -69,8 +59,8 @@ jobs:
npm run build --if-present
- name: Create Pull Request
if: steps.checkout.outcome == 'success'
uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8.0.0
if: always()
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'fix(deps): Fix npm audit'
+16 -34
View File
@@ -6,9 +6,6 @@ on:
schedule:
- cron: "15 2 * * *"
permissions:
contents: read
concurrency:
group: object-storage-azure-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -29,22 +26,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,18 +44,17 @@ 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
services:
azurite:
image: mcr.microsoft.com/azure-storage/azurite@sha256:0a47e12e3693483cef5c71f35468b91d751611f172d2f97414e9c69113b106d9 # v3.34.0
image: mcr.microsoft.com/azure-storage/azurite
env:
AZURITE_ACCOUNTS: nextcloud:bmV4dGNsb3Vk
ports:
@@ -72,21 +62,19 @@ jobs:
options: --health-cmd="nc 127.0.0.1 10000 -z" --health-interval=1s --health-retries=30
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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
@@ -106,28 +94,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@v4.5.0
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: |
+15 -33
View File
@@ -6,9 +6,6 @@ on:
schedule:
- cron: "15 2 * * *"
permissions:
contents: read
concurrency:
group: object-storage-s3-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -29,22 +26,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,24 +44,23 @@ 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
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
minio:
image: bitnami/minio@sha256:50cec18ac4184af4671a78aedd5554942c8ae105d51a465fa82037949046da01 # v2025.4.22
image: bitnami/minio
env:
MINIO_ROOT_USER: nextcloud
MINIO_ROOT_PASSWORD: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
@@ -80,14 +70,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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
@@ -107,7 +95,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 +107,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@v4.5.0
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: |
+15 -33
View File
@@ -6,9 +6,6 @@ on:
schedule:
- cron: "15 2 * * *"
permissions:
contents: read
concurrency:
group: object-storage-swift-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -29,22 +26,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,38 +44,35 @@ 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
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
swift:
image: ghcr.io/cscfi/docker-keystone-swift@sha256:e8b1ec21120ab9adc6ac6a2b98785fd273676439a8633fe898e37f2aea7e0712
image: ghcr.io/cscfi/docker-keystone-swift
ports:
- 5000:5000
- 8080:8080
steps:
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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
@@ -103,27 +91,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@v4.5.0
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 -6
View File
@@ -26,15 +26,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up php
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
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 -17
View File
@@ -4,9 +4,6 @@ name: Performance testing
on:
pull_request:
permissions:
contents: read
concurrency:
group: performance-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -17,13 +14,10 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
permissions:
pull-requests: write
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.1']
name: performance-${{ matrix.php-versions }}
@@ -35,15 +29,13 @@ jobs:
exit 1
- name: Checkout server before PR
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
persist-credentials: false
submodules: true
ref: ${{ github.event.pull_request.base.ref }}
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5
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, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
@@ -57,7 +49,7 @@ jobs:
php -S localhost:8080 &
- name: Apply blueprint
uses: icewind1991/blueprint@00504403f76cb2a09efd0d16793575055e6f63cb # v0.1.2
uses: icewind1991/blueprint@v0.1.2
with:
blueprint: tests/blueprints/basic.toml
ref: ${{ github.event.pull_request.head.ref }}
@@ -72,9 +64,9 @@ 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: stable30
- name: Apply PR # zizmor: ignore[template-injection]
- name: Apply PR
run: |
git remote add pr '${{ github.event.pull_request.head.repo.clone_url }}'
git fetch pr '${{ github.event.pull_request.head.ref }}'
@@ -94,19 +86,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: stable30
compare-with: before.json
- name: Upload profiles
if: always()
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b
with:
name: profiles
path: |
before.json
after.json
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v7
- uses: actions/github-script@v7
if: failure() && steps.compare.outcome == 'failure'
with:
github-token: ${{secrets.GITHUB_TOKEN}}
+29 -22
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,43 @@ 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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
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,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness"
run: composer run test -- --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness
+8 -24
View File
@@ -23,9 +23,6 @@ concurrency:
jobs:
changes:
runs-on: ubuntu-latest-low
permissions:
contents: read
pull-requests: read
outputs:
src: ${{ steps.changes.outputs.src}}
@@ -57,24 +54,19 @@ 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
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
@@ -92,14 +84,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5
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
@@ -125,24 +115,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@v4.5.0
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
+7 -16
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']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
@@ -65,21 +64,19 @@ jobs:
services:
memcached:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 11212:11212/tcp
- 11212:11212/udp
steps:
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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
@@ -97,24 +94,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@v4.5.0
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: |
+12 -21
View File
@@ -54,22 +54,21 @@ 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
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
mysql:
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest
ports:
- 4444:3306/tcp
env:
@@ -79,7 +78,7 @@ jobs:
MYSQL_DATABASE: oc_autotest
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 10
shard1:
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest
ports:
- 5001:3306/tcp
env:
@@ -89,7 +88,7 @@ jobs:
MYSQL_DATABASE: nextcloud
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 10
shard2:
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest
ports:
- 5002:3306/tcp
env:
@@ -99,7 +98,7 @@ jobs:
MYSQL_DATABASE: nextcloud
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 10
shard3:
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest
ports:
- 5003:3306/tcp
env:
@@ -109,7 +108,7 @@ jobs:
MYSQL_DATABASE: nextcloud
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 10
shard4:
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest
ports:
- 5004:3306/tcp
env:
@@ -121,14 +120,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.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 +152,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@v4.1.1
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: |
+9 -25
View File
@@ -23,9 +23,6 @@ concurrency:
jobs:
changes:
runs-on: ubuntu-latest-low
permissions:
contents: read
pull-requests: read
outputs:
src: ${{ steps.changes.outputs.src }}
@@ -57,30 +54,25 @@ 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
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
mysql:
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest
ports:
- 4444:3306/tcp
env:
@@ -92,14 +84,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5
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
@@ -125,24 +115,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@v4.5.0
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 -16
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']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
@@ -68,21 +67,19 @@ jobs:
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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
@@ -103,24 +100,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@v4.5.0
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: |
@@ -6,9 +6,6 @@ on:
schedule:
- cron: "15 2 * * *"
permissions:
contents: read
concurrency:
group: phpunit-object-store-primary-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -47,22 +44,23 @@ 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
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
minio:
image: bitnami/minio@sha256:50cec18ac4184af4671a78aedd5554942c8ae105d51a465fa82037949046da01 # v2025.4.22
image: bitnami/minio
env:
MINIO_ROOT_USER: nextcloud
MINIO_ROOT_PASSWORD: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
@@ -72,17 +70,15 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
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@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
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
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -96,7 +92,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: |
+11 -22
View File
@@ -23,9 +23,6 @@ concurrency:
jobs:
changes:
runs-on: ubuntu-latest-low
permissions:
contents: read
pull-requests: read
outputs:
src: ${{ steps.changes.outputs.src }}
@@ -60,21 +57,21 @@ 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
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
@@ -99,14 +96,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5
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
@@ -125,24 +120,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@v4.5.0
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
+12 -28
View File
@@ -23,9 +23,6 @@ concurrency:
jobs:
changes:
runs-on: ubuntu-latest-low
permissions:
contents: read
pull-requests: read
outputs:
src: ${{ steps.changes.outputs.src }}
@@ -57,49 +54,42 @@ jobs:
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
# To keep the matrix smaller we ignore PostgreSQL versions in between as we already test the minimum and the maximum
postgres-versions: ['14']
php-versions: ['8.1']
# To keep the matrix smaller we ignore PostgreSQL '13', '14', and '15' as we already test 12 and 16 as lower and upper bound
postgres-versions: ['12', '16']
include:
- php-versions: '8.3'
postgres-versions: '18'
postgres-versions: '16'
coverage: ${{ github.event_name != 'pull_request' }}
- php-versions: '8.4'
postgres-versions: '18'
- php-versions: '8.5'
postgres-versions: '18'
name: PostgreSQL ${{ matrix.postgres-versions }} (PHP ${{ matrix.php-versions }}) - database tests
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
postgres:
image: ghcr.io/nextcloud/continuous-integration-postgres-${{ matrix.postgres-versions }}:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-postgres-${{ matrix.postgres-versions }}:latest
ports:
- 4444:5432/tcp
env:
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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5
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
@@ -120,24 +110,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@v4.5.0
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
+8 -20
View File
@@ -23,9 +23,6 @@ concurrency:
jobs:
changes:
runs-on: ubuntu-latest-low
permissions:
contents: read
pull-requests: read
outputs:
src: ${{ steps.changes.outputs.src }}
@@ -57,32 +54,29 @@ 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']
include:
- php-versions: '8.2'
- php-versions: '8.1'
coverage: ${{ github.event_name != 'pull_request' }}
name: SQLite (PHP ${{ matrix.php-versions }})
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- name: Checkout server
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5
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,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-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' || '' }}
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@v4.5.0
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: |
+4 -9
View File
@@ -15,17 +15,12 @@ on:
schedule:
- cron: '30 1 * * *'
permissions:
contents: read
pull-requests: write
jobs:
pr-feedback:
if: ${{ github.repository_owner == 'nextcloud' }}
runs-on: ubuntu-latest
steps:
- name: The get-github-handles-from-website action
uses: marcelklehr/get-github-handles-from-website-action@06b2239db0a48fe1484ba0bfd966a3ab81a08308 # v1.0.1
uses: marcelklehr/get-github-handles-from-website-action@a739600f6b91da4957f51db0792697afbb2f143c # v1.0.0
id: scrape
with:
website: 'https://nextcloud.com/team/'
@@ -36,7 +31,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: marcelklehr/pr-feedback-action@1883b38a033fb16f576875e0cf45f98b857655c4
with:
feedback-message: |
Hello there,
@@ -50,6 +45,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
+5 -10
View File
@@ -11,17 +11,12 @@ name: REUSE Compliance Check
on: [pull_request]
permissions:
contents: read
jobs:
reuse-compliance-check:
runs-on: ubuntu-latest-low
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: REUSE Compliance Check
uses: fsfe/reuse-action@676e2d560c9a403aa252096d99fcab3e1132b0f5 # v6.0.0
- name: REUSE Compliance Check
uses: fsfe/reuse-action@3ae3c6bdf1257ab19397fab11fd3312144692083 # v4.0.0
+2 -4
View File
@@ -7,9 +7,6 @@ on:
schedule:
- cron: "0 0 * * *"
permissions:
contents: read
jobs:
stale:
runs-on: ubuntu-latest
@@ -20,7 +17,7 @@ jobs:
issues: write
steps:
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v9
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.COMMAND_BOT_PAT }}
stale-issue-message: >
@@ -30,6 +27,7 @@ jobs:
for your contributions.
stale-issue-label: 'stale'
only-labels: 'needs info'
labels-to-remove-when-unstale: 'needs info,stale'
exempt-issue-labels: '1. to develop,2. developing,3. to review,4. to release,security'
days-before-stale: 30
days-before-close: 14
+20 -68
View File
@@ -4,18 +4,6 @@ name: Psalm static code analysis
on:
pull_request:
push:
branches:
- main
- master
- stable*
paths:
- '.github/workflows/static-code-analysis.yml'
- '**.php'
permissions:
contents: read
security-events: write
concurrency:
group: static-code-analysis-${{ github.head_ref || github.run_id }}
@@ -25,20 +13,18 @@ jobs:
static-code-analysis:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'push' && github.repository_owner != 'nextcloud-gmbh' }}
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
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:
@@ -48,29 +34,31 @@ jobs:
run: composer i
- name: Psalm
run: composer run psalm -- --threads=1 --monochrome --no-progress --output-format=github --update-baseline
run: composer run psalm:ci -- --monochrome --no-progress --output-format=github --update-baseline --report=results.sarif
- name: Show potential changes in Psalm baseline
if: always()
run: git diff --exit-code -- . ':!lib/composer'
- name: Upload Analysis results to GitHub
if: always()
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
static-code-analysis-security:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
steps:
- name: Checkout code
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
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
@@ -78,35 +66,27 @@ jobs:
run: composer i
- name: Psalm taint analysis
run: composer run psalm:security -- --threads=1 --monochrome --no-progress --output-format=github --update-baseline --report=results.sarif
- name: Show potential changes in Psalm baseline
if: always()
run: git diff --exit-code -- . ':!lib/composer'
run: composer run psalm:ci -- --monochrome --no-progress --output-format=github --report=results.sarif --taint-analysis --ignore-baseline
- name: Upload Security Analysis results to GitHub
if: always()
uses: github/codeql-action/upload-sarif@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v3
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
static-code-analysis-ocp:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'push' && github.repository_owner != 'nextcloud-gmbh' }}
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
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:
@@ -116,36 +96,8 @@ jobs:
run: composer i
- name: Psalm
run: composer run psalm:ocp -- --threads=1 --monochrome --no-progress --output-format=github --update-baseline
run: composer run psalm:ci -- -c psalm-ocp.xml --monochrome --no-progress --output-format=github --update-baseline
- name: Show potential changes in Psalm baseline
if: always()
run: git diff --exit-code -- . ':!lib/composer'
static-code-analysis-ncu:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'push' && github.repository_owner != 'nextcloud-gmbh' }}
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
with:
persist-credentials: false
submodules: true
- name: Set up php
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
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:ncu -- --threads=1 --monochrome --no-progress --output-format=github
+3 -7
View File
@@ -7,9 +7,6 @@ on:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
jobs:
update-ca-certificate-bundle:
runs-on: ubuntu-latest
@@ -17,14 +14,13 @@ jobs:
strategy:
fail-fast: false
matrix:
branches: ['master', 'stable33', 'stable32', 'stable31', 'stable30', 'stable29', 'stable28', 'stable27', 'stable26', 'stable25', 'stable24', 'stable23', 'stable22']
branches: ['master', 'stable29', 'stable28', 'stable27', 'stable26', 'stable25', 'stable24', 'stable23', 'stable22']
name: update-ca-certificate-bundle-${{ matrix.branches }}
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
persist-credentials: false
ref: ${{ matrix.branches }}
submodules: true
@@ -32,7 +28,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@98357b18bf14b5342f975ff684046ec3b2a07725
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'fix(security): Update CA certificate bundle'
@@ -7,9 +7,6 @@ on:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
jobs:
update-code-signing-crl:
runs-on: ubuntu-latest
@@ -17,14 +14,13 @@ jobs:
strategy:
fail-fast: false
matrix:
branches: ['master', 'stable33', 'stable32', 'stable31', 'stable30', 'stable29', 'stable28', 'stable27', 'stable26', 'stable25', 'stable24', 'stable23', 'stable22']
branches: ['master', 'stable29', 'stable28', 'stable27', 'stable26', 'stable25', 'stable24', 'stable23', 'stable22']
name: update-code-signing-crl-${{ matrix.branches }}
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
persist-credentials: false
ref: ${{ matrix.branches }}
submodules: true
@@ -35,7 +31,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@98357b18bf14b5342f975ff684046ec3b2a07725
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c
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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
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@98357b18bf14b5342f975ff684046ec3b2a07725
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,69 +0,0 @@
# SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Update PRs titles on stable branches
on:
pull_request:
types: [opened, edited]
branches:
- "stable*"
concurrency:
group: stable-pr-title-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
update-pr-title:
runs-on: ubuntu-latest-low
permissions:
pull-requests: write
contents: read
steps:
- name: Wait for potential title edits
run: sleep 15
- name: Get PR details and update title
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const { data: pr } = await github.rest.pulls.get({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number,
});
const baseBranch = pr.base.ref;
const currentTitle = pr.title;
// Check if this is a stable branch
// Should not happen as we only trigger on stable* branches 🤷‍♀️
if (!baseBranch.startsWith('stable')) {
console.log(`Not a stable branch: ${baseBranch}`);
return;
}
const prefix = `[${baseBranch}]`;
// Check if title already has the correct prefix and no other stable tags
const correctTagRegex = new RegExp(`^\\[${baseBranch}\\]\\s*`);
const hasOtherStableTags = /\[stable[\d.]*\]/.test(currentTitle.replace(correctTagRegex, ''));
if (correctTagRegex.test(currentTitle) && !hasOtherStableTags) {
console.log(`Title already has correct prefix only: ${currentTitle}`);
return;
}
// Remove all stable tags and add the correct one
const cleanTitle = currentTitle.replace(/\[stable[\d.]*\]\s*/g, '').trim();
const newTitle = `${prefix} ${cleanTitle}`;
console.log(`Updating title from: "${currentTitle}" to: "${newTitle}"`);
await github.rest.pulls.update({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number,
title: newTitle,
});
+9 -6
View File
@@ -11,7 +11,7 @@
/apps/inc.php
/assets
/.htaccess
node_modules/
/node_modules
/translationfiles
/translationtool.phar
@@ -35,7 +35,6 @@ node_modules/
!/apps/lookup_server_connector
!/apps/user_ldap
!/apps/oauth2
!/apps/profile
!/apps/provisioning_api
!/apps/settings
!/apps/systemtags
@@ -55,6 +54,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 +130,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
@@ -144,8 +151,6 @@ Vagrantfile
# Tests - auto-generated files
/data-autotest
/results.sarif
/tests/.phpunit.cache
/tests/.phpunit.result.cache
/tests/coverage*
/tests/css
@@ -177,5 +182,3 @@ core/js/mimetypelist.js
cypress/downloads
cypress/snapshots
cypress/videos
/.direnv
+76 -159
View File
@@ -1,178 +1,97 @@
<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
# Let browsers cache OTF and WOFF files for a week
<FilesMatch "\.(otf|woff2?)$">
Header set Cache-Control "max-age=604800"
</FilesMatch>
# Avoid doubled headers by unsetting headers in "onsuccess" table,
# then add headers to "always" table: https://github.com/nextcloud/server/pull/19002
Header onsuccess unset Referrer-Policy
Header always set Referrer-Policy "no-referrer"
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: `QSA` seems unnecessary (no-op) here (query string is passed by default when the replacement URI doesn't contain a query string)
## - XXX: Is this even used anymore? Seems a relic from <NC12
##
RewriteRule ^remote/(.*) remote.php [QSA,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: `QSA` seems unnecessary (no-op) here (query string is passed by default when the replacement URI doesn't contain a query string)
## - 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 [QSA,L]
##
## Rule: Map the ocm-provider handling to our main frontend controller (/index.php)
##
## Context:
## - XXX: `QSA` seems unnecessary (no-op) here (query string is passed by default when the replacement URI doesn't contain a query string)
## - 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 [QSA,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.
@@ -183,18 +102,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>
-29
View File
@@ -1,29 +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
.git
.git-blame-ignore-revs
.gitattributes
.github
.gitignore
.gitmodules
.idea
.l10nignore
.nextcloudignore
.noopenapi
.tx
cypress
tests
# Server specific
/.devcontainer
/__mocks__
/__tests__
/autotest*.sh
/build
/config/config.php
/contribute
/data
+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);
+344
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
-6
View File
@@ -116,12 +116,6 @@ source_file = translationfiles/templates/oauth2.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:profile]
file_filter = translationfiles/<lang>/profile.po
source_file = translationfiles/templates/profile.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:provisioning_api]
file_filter = translationfiles/<lang>/provisioning_api.po
source_file = translationfiles/templates/provisioning_api.pot
+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
+39
View File
@@ -0,0 +1,39 @@
License Agreement for Freepik Content
The Company authorizes the User to download and use the Freepik Content under the terms of this Section (see Section 7 in relation to Sponsored Content). The Company and its licensors reserve all rights over the Freepik Content not expressly granted in this license to the User.
Subject to the fulfillment of these Terms, the Company authorizes the User in a non-transferable, revocable, limited, non-exclusive manner and on a worldwide basis for the duration of the relevant rights; to download, use and modify the Freepik Content, in a device the User owns or controls and only for the purposes and uses allowed in these Terms.
The User may use the Freepik Content (including any derivative work), either using the Freepik Contents in its entirety or using only some or some of its elements, either using the Freepik Contents without modification, combining them with other contents or having previously modified them, being the license granted with respect to the Freepik content, provided that it:
* Does not involve collective use;
* The Freepik Content is not used in a manner that suggests an association or endorsement of any kind by the Company or the Website;
* The Freepik Content or any derivative work is not used or included (in whole or in part) in a database, archive or in any other media/stock product, collection, set of clips, or library, for distribution or resale or used in any other way that could prevent or limit future visits or downloads from the Website;
* Does not resell, assign, transfer or sublicense the Freepik Content or any derived work from the Freepik Content;
* Does not use the Freepik Content in printed or electronic items (e.g. t-shirts, cups, postcards, birthday or greeting cards, invitations, calendars, web models or electronic devices, apps, NFTs, videogames, advertising spots, audiovisual animations) aimed to be resold, in which the content in the Freepik Content is the main element (because of size, relevance or any other cause, in case of doubt about whether the content is main element, it shall be deemed that the content is main element);
* Does not use the Freepik Content (totally or partially) in any trademark, or part of the same, which may be used by any other means to guarantee or to imply a guaranty of any product and/or service, unless the Freepik Content used in such cases is modified in such a way as to be a new and different content not confusingly similar with the original Freepik Content or implies a use of the Freepik Content as a template or test, and not as a final item or material;
* Does not use the Freepik Content (including any caption information, title, keywords or other metadata associated with the Freepik Content) for any machine learning and/or artificial intelligence purposes, or for any technologies designed or intended for the identification of natural persons.
* Does not make any use of the Freepik Content which might be considered defamatory, libellous, obscene, immoral or illegal, including, without limitation, using it in a way that places any person appearing in the Freepik Content in a negative light or depicts them in a way that they may find offensive such as the use in pornography, advertisements for escort or similar services, political endorsements, birth control products, and;
* Does not make any use of the Freepik Content to slander, libel or to vilify a person, race, sex, culture, sexual orientation, religion, country, region, town, village or any other place, or any other human group.
When any Freepik Content is marked or identified as for editorial use, or when within the same there are logos, recognizable products, public buildings, public events or images taken in places where recognizable persons appear in the background, the User shall only be entitled to use it for such editorial use. In such cases, the User undertakes not to use that content in any manner that entails any connection with any business activity, the use in economic traffic or advertising, marketing or commercialization of any product or service. The User shall be directly liable and the Company shall not assume any liability as a result of the use for commercial purposes by the User of any content belonging to the Freepik Content, which according to this paragraph should be for editorial use only.
The authorization to use the Freepik Content shall be free provided that any use of the content in the Freepik Content by the User is credited to the Company/Website as stated by the Company from time to time. In order to benefit from the Service or to use the Freepik Content without acknowledging the Company/Website, the User must purchase a premium subscription (hereinafter, the "Premium Subscription") in the Website and download the Freepik Content during the term of any such Premium Subscription. Conditions in Section 10 shall apply to the purchase of the Premium Subscription.
As a general rule, it is forbidden for a User to authorize any third parties to use the Freepik Content (or any modification of any content in the Freepik Content). As an exception to the prohibition, the User may allow third parties to use the Freepik Content, when each and every of the following conditions are met:
* The third party has professionally instructed the User to produce goods or provide services to it/him/her and the User uses a limited number of items within the Freepik Content to produce such goods or provide such services to the instructing third party;
* The authorization granted by the User to the third party is in writing and complies with every restriction of the Users authorization to use the relevant Freepik Content and includes, without limitation, a restriction for the third party to distribute, resell or license the relevant content in the Freepik Content (i.e. the third party is the final user of the relevant content in the Freepik Content);
* None of the contents in the Freepik Content which are subject to the authorization are used as the main element (because of size, relevance or any other cause; in case of doubt about whether the content is the main element, it shall be deemed as the main element) in printed or electronic items (e.g. t-shirts, cups, postcards, birthday or greeting cards, invitations, calendars, web models or electronic devices, apps, NFTs, videogames, advertising spots, audiovisual animations) aimed to be resold by the third party;
* The production of goods or provision of services by the User to the third party is not done by automatic means, it is tailor-made for the third party (and therefore its use is not authorized by the User to any other third party) and requires a specific substantial human intervention from the User in relation to each third party; and
* The User -and not the third party- chooses the specific items within the content of the Freepik Content to be used in the production of goods or provision of services for the third party.
When all of the above conditions are met, the User shall be entitled to authorize a third party to use the relevant content in the Freepik Content. This exception refers only to the prohibition for the User to authorize third parties to use the content in the Freepik Content without affecting or limiting in any way the remaining conditions of the Users right to use the Freepik Content. Whether the above conditions regarding the exception to the prohibition for Users to authorize third parties to use the content in the Freepik Content are met shall be interpreted restrictively so that, in case of doubt, it shall be deemed that the conditions are not met.
The User does not acquire any right as a result of the use of the content in the Freepik Content. In particular, the User is not authorized to distribute, resell or rent any content in the Freepik Content (or any modification of any content in the Freepik Content).
The Company may, at any time, offer any content on the Website under a different license from the one included in this Section (the "Specific License"). The Company will inform on the Website which content is licensed under an Specific License. The Specific License will be made available to the User and will include, without limitation, a description of the license itself, as well as the permitted and prohibited uses in relation to the content. In the event that a particular content is offered under a Specific License, the Specific License shall apply over the general license described in this Section. Notwithstanding the foregoing, all other obligations contained in these Terms shall continue to be binding on the User, unless they conflict with the Specific License, in which case the Specific License shall prevail.
The Users rights under this Section will end automatically without any notice if the User breaches any of the Terms. In case of termination of the rights hereunder, the User shall cease using content in the Freepik Content and will destroy every copy, whether total or partial, thereof.
A copy can be found at <https://www.freepikcompany.com/legal/#nav-freepik-agreement>
+3 -6
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=stable30)](https://scrutinizer-ci.com/g/nextcloud/server/?branch=stable30)
[![codecov](https://codecov.io/gh/nextcloud/server/branch/stable30/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/master/nextcloud-hub-files-25-preview.png)
## Why is this so awesome? 🤩
@@ -73,10 +74,6 @@ Otherwise, git checkouts can be handled the same as release archives, by using t
- Comment on a pull request with `/update-3rdparty` to update the 3rd party submodule. It will update to the last commit of the 3rd party branch named like the PR target.
#### Ignore code style updates in git blame
`git config blame.ignoreRevsFile .git-blame-ignore-revs`
## Contribution guidelines 📜
All contributions to this repository from June 16, 2016, and onward are considered to be
-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,
},
}
}
+13
View File
@@ -0,0 +1,13 @@
/**
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import { jest } from '@jest/globals'
export const showMessage = jest.fn()
export const showSuccess = jest.fn()
export const showWarning = jest.fn()
export const showInfo = jest.fn()
export const showError = jest.fn()
export const showUndo = jest.fn()
+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,
)
}
+18
View File
@@ -0,0 +1,18 @@
/**
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import JSDOMEnvironment from 'jest-environment-jsdom'
// https://github.com/facebook/jest/blob/v29.4.3/website/versioned_docs/version-29.4/Configuration.md#testenvironment-string
export default class FixJSDOMEnvironment extends JSDOMEnvironment {
constructor(...args: ConstructorParameters<typeof JSDOMEnvironment>) {
super(...args)
// https://github.com/jsdom/jsdom/issues/3363
// 31 ad above switched to vitest and don't have that issue
this.global.structuredClone = structuredClone
}
}
+12
View File
@@ -0,0 +1,12 @@
/**
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import '@testing-library/jest-dom'
// Mock `window.location` with Jest spies and extend expect
import 'jest-location-mock'
// Mock `window.fetch` with Jest
import 'jest-fetch-mock'
+8
View File
@@ -0,0 +1,8 @@
/**
* 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 }
+6
View File
@@ -0,0 +1,6 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"verbatimModuleSyntax": false
}
}
+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.20.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="30" max-version="30"/>
</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';

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