Compare commits

..

2153 Commits

Author SHA1 Message Date
John Molakvoæ
39780506f0 Merge pull request #47344 from nextcloud/release/28.0.9
28.0.9
2024-08-20 19:20:21 +02:00
John Molakvoæ
64dbca274d Merge pull request #47353 from nextcloud/backport/47346/stable28 2024-08-20 19:20:08 +02:00
skjnldsv
d9bdc6c481 build(hub): 28.0.9
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-20 15:56:46 +00:00
John Molakvoæ
bbcef60983 Merge pull request #47327 from nextcloud/revert-47326-revert-47227-backport/47192/stable28 2024-08-20 16:21:49 +02:00
Robin Appelman
c2af3e04b0 fix: use mountpoint from storage to find the encryption keys
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-20 14:18:16 +00:00
Robin Appelman
52da5f715f feat: store the mountpoint of storages in the mount options
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-20 14:18:16 +00:00
Nextcloud bot
3edc0f58c1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-20 00:20:52 +00:00
Stephan Orbaugh
9f1c6d7cd4 Merge pull request #47279 from nextcloud/backport/46881/stable28 2024-08-19 18:27:10 +02:00
Arthur Schiwon
15f160f8b9 Revert "Revert "[stable28] Apply group limit on remove from group"" 2024-08-19 16:11:38 +02:00
Arthur Schiwon
edd8a03a50 Merge pull request #47326 from nextcloud/revert-47227-backport/47192/stable28
Revert "[stable28] Apply group limit on remove from group"
2024-08-19 16:11:07 +02:00
Arthur Schiwon
f2559e4480 Revert "[stable28] Apply group limit on remove from group" 2024-08-19 15:27:34 +02:00
Arthur Schiwon
617e856f8e Merge pull request #47227 from nextcloud/backport/47192/stable28
[stable28] Apply group limit on remove from group
2024-08-19 15:12:11 +02:00
Côme Chilliet
aa25f6071d chore(tests): Revert "chore(tests): fix import in cypress test limit_to_same_group.cy.ts"
This reverts commit d49b453b437d533d913e28d859cbe083e9ca9b4a.
2024-08-19 11:14:34 +02:00
Côme Chilliet
c999fea57c fix: Remove call to non-existing method in 28 and add missing use in test
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-19 10:33:11 +02:00
Côme Chilliet
4680f2bef5 chore(tests): fix import in cypress test limit_to_same_group.cy.ts
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-19 10:33:11 +02:00
Côme Chilliet
1cf8815237 fix(tests): Fix PHP 8.0 compatibility
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-19 10:33:11 +02:00
Côme Chilliet
0ba3691ad4 chore(tests): Fix import in cypress test limit_to_same_group.cy.ts
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-19 10:33:11 +02:00
Côme Chilliet
47067e6d0c chore(tests): Fix SPDX license header on new cypress test
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-19 10:33:11 +02:00
Côme Chilliet
716ecf4e37 fix(tests): Adapt tests to change of DefaultShareProvider constructor
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-19 10:33:11 +02:00
Côme Chilliet
2e05ae2ffc fix: Remove shares only if there are no more common groups between users
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-19 10:33:11 +02:00
Louis Chemineau
e472831280 chore(tests): Test limiting sharing to same group
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-19 10:33:11 +02:00
Louis Chemineau
6b1266a49e fix(files_sharing): Delete user shares if needed when user is removed from a group
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-19 10:33:11 +02:00
Nextcloud bot
e889f335ee Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-19 00:20:37 +00:00
Nextcloud bot
cf7ceccdb5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-18 00:23:16 +00:00
Nextcloud bot
70ad22fcd8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-17 00:20:42 +00:00
Robin Appelman
0571aa16ea fix: try to find non-recursive share source
instead of always picking the first one, try to find one that won't blow up

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-16 16:36:52 +02:00
John Molakvoæ
6377b9c777 Merge pull request #47206 from nextcloud/chore/bump-28 2024-08-16 13:29:44 +02:00
Nextcloud bot
3db373e880 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-16 00:20:27 +00:00
Joas Schilling
57831626dc Merge pull request #47231 from nextcloud/backport/47212/stable28
[stable28] fix(security): Update expiration date in security.txt
2024-08-15 10:55:06 +02:00
Nextcloud bot
2f4abc774f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-15 00:26:17 +00:00
Joas Schilling
cd7d11c2e9 fix(security): Update expiration date in security.txt
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 10:47:10 +00:00
Nextcloud bot
14bf5c4ea9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-14 00:20:36 +00:00
skjnldsv
4c2cb7051a chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-13 21:37:04 +02:00
John Molakvoæ
7455a5c5cc Merge pull request #47130 from nextcloud/release/28.0.9_rc1 2024-08-13 09:34:17 +02:00
Nextcloud bot
c0362d4671 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-13 00:20:24 +00:00
Nextcloud bot
504150e0b1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-12 00:20:06 +00:00
Nextcloud bot
dc28f8a2cb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-11 00:20:10 +00:00
dependabot[bot]
0e78d96573 Merge pull request #47168 from nextcloud/dependabot/npm_and_yarn/stable28/cypress/webpack-preprocessor-6.0.2 2024-08-10 03:40:15 +00:00
dependabot[bot]
0ee9815295 build(deps-dev): bump @cypress/webpack-preprocessor from 6.0.1 to 6.0.2
Bumps [@cypress/webpack-preprocessor](https://github.com/cypress-io/cypress) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/@cypress/webpack-preprocessor-v6.0.1...@cypress/webpack-preprocessor-v6.0.2)

---
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>
2024-08-10 03:02:34 +00:00
Nextcloud bot
c05f08bf79 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-10 00:20:29 +00:00
John Molakvoæ
bb2b64df7a Merge pull request #47150 from nextcloud/backport/47147/stable28 2024-08-09 15:38:00 +02:00
skjnldsv
a768f45d25 fix(files): trim names on new node creation
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

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

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-09 13:11:52 +00:00
Nextcloud bot
93e9d50af6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-09 00:25:45 +00:00
Robin Appelman
d78f7acfd7 Merge pull request #47081 from nextcloud/backport/47038/stable28
[stable28] fix: check for correct storage class when checking for link parent
2024-08-08 15:55:42 +02:00
Andy Scherzinger
d94fa30f42 Merge pull request #47118 from nextcloud/backport/47044/stable28
[stable28] fix(encryption): Fix mountpoint check to accept if several are found
2024-08-08 13:09:55 +02:00
John Molakvoæ
6fae82a68e Merge pull request #47128 from nextcloud/backport/47120/stable28
[stable28] fix(systemtags): Correctly load tagged files in "tags"-files-view
2024-08-08 12:43:29 +02:00
nextcloud-command
b97ef6e16b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-08 09:20:01 +00:00
Andy Scherzinger
d90a456598 Merge pull request #47099 from nextcloud/backport/47095/stable28
[stable28] fix(theming): make cache buster depend on the app version
2024-08-08 10:54:23 +02:00
Andy Scherzinger
22fa192588 Merge pull request #47125 from nextcloud/backport/47116/stable28
[stable28] fix(migration): Add column only if it does not exist
2024-08-08 10:44:01 +02:00
Benjamin Gaussorgues
590f8ae2b5 build(hub): 28.0.9 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-08-08 10:22:30 +02:00
Ferdinand Thiessen
b97d9d5eef fix(systemtags): Correctly load tagged files in "tags"-files-view
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 08:02:09 +00:00
Git'Fellow
4218e7f6e4 fix(migration): Add column if not exists
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-08-08 07:54:46 +00:00
Nextcloud bot
df821f60e4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-08 00:21:11 +00:00
Côme Chilliet
a59176b7dc fix(encryption): Fix mountpoint check to accept if several are found
There is no strong requirement to have only one mount for a given
 storage id. Also the error in this case would be misleading.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-07 18:59:42 +00:00
Robin Appelman
f741191d25 fix: check for correct storage class when checking for link parent
fixes #39123

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-07 20:56:18 +02:00
Andy Scherzinger
e056f5c579 Merge pull request #47052 from nextcloud/backport/46534/stable28
[stable28] fix: Add direct parameter to flow auth v2
2024-08-07 20:54:38 +02:00
Andy Scherzinger
d611843651 Merge pull request #47067 from nextcloud/backport/47043/stable28
[stable28] fix(inherited-shares): ignore top root folder
2024-08-07 20:49:09 +02:00
Andy Scherzinger
8e5956ea6a Merge pull request #47079 from nextcloud/backport/38364/stable28
[stable28] fix(previews): Don't crash on animated WEBP images
2024-08-07 10:34:57 +02:00
Richard Steinmetz
a23ab367f0 fix(theming): make cache buster depend on the app version
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-08-07 08:27:44 +00:00
Andy Scherzinger
8a913e4cf6 Merge pull request #47088 from nextcloud/backport/45193/stable28
[stable28] docs: added customclient_fdroid key to the config.sample.php file
2024-08-07 09:34:00 +02:00
Nextcloud bot
9042b7b475 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-07 00:20:27 +00:00
Julius Härtl
606e2359ae Merge pull request #46982 from nextcloud/backport/46591/stable28 2024-08-07 00:43:15 +02:00
Bahman Jafarzadeh
bc086b10d0 docs: added customclient_fdroid config key to config.sample.php file
Co-authored-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Bahman Jafarzadeh <bahman026@gmail.com>
2024-08-06 21:48:29 +00:00
Andy Scherzinger
206931cea7 Merge pull request #47085 from nextcloud/backport/46229/stable28
[stable28] fix(config): Clarify smtp debugging config option usage
2024-08-06 23:40:18 +02:00
Josh
a7de510c34 fix(config) : Clarity smtp debugging config option usage
Requires temporary `loglevel` adjustment "99%" (made up statistic) of the time as currently implemented.

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-08-06 21:34:23 +00:00
Luka Trovic
b2357ba4f2 fix: add missing subtitle on search for share recipients
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-06 21:04:58 +00:00
Julius Härtl
94fbf3e9b3 fix: Add direct parameter to flow auth v2
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-08-06 22:46:14 +02:00
Andy Scherzinger
1389863f42 Merge pull request #47077 from nextcloud/backport/47065/stable28
[stable28] fix: Ensure database connection is setup when getting group details
2024-08-06 20:12:35 +02:00
Josh Richards
2c58184b85 fix(previews): Don't crash on animated WEBP images
Fixes #30029 and #37263

libgd handles animated WEBP images poorly and generates a meaningless error message as a result. We were returning a 500 error for these preview requests (web) and a fatal error at the command-line (occ). Now we bypass libgd if the we detect an animated WEBP image (and simply don't generate the preview). No more 500 error. Should fix occ too.

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-08-06 16:07:24 +00:00
Ferdinand Thiessen
7ad057ef94 fix: Ensure database connection is setup when getting group details
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-06 15:54:40 +00:00
Jonas
66773979e6 Merge pull request #47062 from nextcloud/fix/stable28/vue-8-16-0
Bump @nextcloud/vue from 8.14.0 to 8.16.0
2024-08-06 16:58:42 +02:00
Maxence Lange
518dccaa14 fix(inherited-shares): ignore top root folder
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-08-06 12:11:46 +00:00
nextcloud-command
1fa85f2a24 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-06 13:58:14 +02:00
Jonas
006f68c858 fix(deps): Bump @nextcloud/vue from 8.14.0 to 8.16.0
Fixes: nextcloud/richdocuments#3795

Signed-off-by: Jonas <jonas@freesources.org>
2024-08-06 12:43:55 +02:00
Nextcloud bot
6d44811cff Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-06 00:20:25 +00:00
Ferdinand Thiessen
48a1b78c85 Merge pull request #47024 from nextcloud/backport/47015/stable28
[stable28] fix(files): Correctly handle open file URL query
2024-08-05 20:04:59 +02:00
Ferdinand Thiessen
564b5ac8d4 fix(files): When redirecting to a file (internal link) then it should open by default
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-05 16:42:14 +02:00
Nextcloud bot
a280434b00 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-05 00:20:48 +00:00
John Molakvoæ
8d77eabf40 Merge pull request #47002 from nextcloud/dependabot/npm_and_yarn/stable28/throttle-debounce-5.0.2 2024-08-04 10:17:55 +02:00
dependabot[bot]
479cf8e8ee build(deps): bump throttle-debounce from 5.0.0 to 5.0.2
Bumps [throttle-debounce](https://github.com/niksy/throttle-debounce) from 5.0.0 to 5.0.2.
- [Release notes](https://github.com/niksy/throttle-debounce/releases)
- [Changelog](https://github.com/niksy/throttle-debounce/blob/master/CHANGELOG.md)
- [Commits](https://github.com/niksy/throttle-debounce/compare/v5.0.0...v5.0.2)

---
updated-dependencies:
- dependency-name: throttle-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-08-04 07:54:07 +00:00
Nextcloud bot
8f9e02e493 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-04 00:19:57 +00:00
dependabot[bot]
072b4c41cf Merge pull request #47004 from nextcloud/dependabot/npm_and_yarn/stable28/nextcloud/cypress-1.0.0-beta.8 2024-08-03 10:45:35 +00:00
John Molakvoæ
607ae6b5eb Merge pull request #46484 from nextcloud/dependabot/npm_and_yarn/stable28/jquery-ui-1.13.3 2024-08-03 08:37:52 +02:00
dependabot[bot]
a2f93e7cee build(deps): bump jquery-ui from 1.13.2 to 1.13.3
Bumps [jquery-ui](https://github.com/jquery/jquery-ui) from 1.13.2 to 1.13.3.
- [Release notes](https://github.com/jquery/jquery-ui/releases)
- [Commits](https://github.com/jquery/jquery-ui/compare/1.13.2...1.13.3)

---
updated-dependencies:
- dependency-name: jquery-ui
  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-03 06:25:17 +00:00
dependabot[bot]
9b87a232b5 build(deps-dev): bump @nextcloud/cypress
Bumps [@nextcloud/cypress](https://github.com/nextcloud/nextcloud-cypress) from 1.0.0-beta.7 to 1.0.0-beta.8.
- [Release notes](https://github.com/nextcloud/nextcloud-cypress/releases)
- [Commits](https://github.com/nextcloud/nextcloud-cypress/compare/v1.0.0-beta.7...v1.0.0-beta.8)

---
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-08-03 01:21:01 +00:00
Nextcloud bot
2611e88d16 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-03 00:20:04 +00:00
Ferdinand Thiessen
a9296ab5c2 Merge pull request #46971 from nextcloud/backport/46963/stable28
[stable28] fix(files): cancel move-copy action should not be handled as an error
2024-08-02 23:40:10 +02:00
Ferdinand Thiessen
ba14e7b3f2 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-02 20:14:37 +00:00
Ferdinand Thiessen
d041bf8e0e fix(files): cancel move-copy action should not be handled as an error
Instead we should just show an information message why the file is not moved / copied.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 22:01:01 +02:00
Ferdinand Thiessen
2c1883f152 Merge pull request #46994 from nextcloud/backport/46989/stable28
[stable28] fix(files): show folder sharing overlay on received shares
2024-08-02 21:33:40 +02:00
skjnldsv
247cd2a280 fix(files): show folder sharing overlay on received shares
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

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

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-02 17:53:56 +00:00
John Molakvoæ
e655d444f3 Merge pull request #46754 from nextcloud/backport/46648/stable28 2024-08-02 19:43:24 +02:00
Ferdinand Thiessen
fdd1e39ffd chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-02 18:53:24 +02:00
Louis Chemineau
aa39239c57 test: Add test selector on sharing and versions components
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-02 18:53:24 +02:00
skjnldsv
5183ba226a fix(cypress): add missing FilesSharingUtils.ts
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-02 18:53:24 +02:00
Ferdinand Thiessen
4df15b0e46 test: Add regression test for opening shared folders
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 15:31:32 +02:00
Ferdinand Thiessen
d190d4f328 fix(files_sharing): open-in-files should open a folder and not the parent
For files this behavior is fine, but for folders the folder itself should be opened.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 15:31:32 +02:00
John Molakvoæ
6ec72ce81d Merge pull request #46973 from nextcloud/backport/46432/stable28 2024-08-02 14:57:07 +02:00
skjnldsv
cefcf07206 chore(cypress): adjust files-sidebar.cy.ts
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-02 14:12:14 +02:00
Ferdinand Thiessen
8cd3154316 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 14:12:00 +02:00
Ferdinand Thiessen
3f34ef9115 fix(files): Close the sidebar on navigation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 14:10:35 +02:00
John Molakvoæ
1ea1f4ffee Merge pull request #44902 from nextcloud/backport/44868/stable28 2024-08-02 14:05:00 +02:00
dependabot[bot]
1d65b6eca5 Merge pull request #46485 from nextcloud/dependabot/npm_and_yarn/stable28/tslib-2.6.3 2024-08-02 11:43:06 +00:00
dependabot[bot]
b2396edd44 build(deps-dev): bump tslib from 2.6.2 to 2.6.3
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.6.2 to 2.6.3.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/v2.6.2...v2.6.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-02 09:39:05 +00:00
dependabot[bot]
8c3802e451 Merge pull request #46481 from nextcloud/dependabot/npm_and_yarn/stable28/typescript-5.4.5 2024-08-02 09:37:54 +00:00
Arthur Schiwon
eadfabe3dd Merge pull request #46968 from nextcloud/backport/46956/stable28
[stable28] fix(LDAP): remove unneeded dependencies
2024-08-02 10:54:57 +02:00
Ferdinand Thiessen
2fef12fbfc chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 10:10:25 +02:00
Ferdinand Thiessen
f2dcdf96be fix(comments): Fix issues thrown by comments sidebar tab code
When the comments tab is used instead of the merged activity+comments, then some issues are throws due to prop altering and duplicated names (resourceId as prop and data).

This is fixed as well as some other vue related errors in the sidebar

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 10:08:38 +02:00
dependabot[bot]
cb56d2cc08 build(deps-dev): bump typescript from 5.4.3 to 5.4.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.3 to 5.4.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.3...v5.4.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-02 08:07:32 +00:00
John Molakvoæ
24b423dec2 Merge pull request #46727 from nextcloud/backport/46690/stable28 2024-08-02 10:06:19 +02:00
Ferdinand Thiessen
ea513656f5 fix: Ensure displayname is a string
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 10:05:58 +02:00
Ferdinand Thiessen
8d00d46350 fix(files): Do not split filename into base and extension for folders
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 10:03:03 +02:00
Ferdinand Thiessen
aec506870c chore(deps): Update @nextcloud/files to v3.6.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 10:03:03 +02:00
John Molakvoæ
4714f0296f Merge pull request #46978 from nextcloud/backport/46938/stable28
[stable28] fix(systemtags): Correctly set the display name for the Nextcloud node
2024-08-02 10:02:15 +02:00
Ferdinand Thiessen
0535a95efb fix(systemtags): Correctly set the display name for the Nextcloud node
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

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

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-02 07:36:39 +00:00
John Molakvoæ
51aa19989c Merge pull request #46964 from nextcloud/backport/46353/stable28 2024-08-02 09:03:16 +02:00
Nextcloud bot
0d48e941a5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-02 00:19:53 +00:00
Arthur Schiwon
b541708cea fix(LDAP): remove unneeded dependencies
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-01 21:10:48 +00:00
Andy Scherzinger
29a586bad8 Merge pull request #46959 from nextcloud/backport/46287/stable28
[stable28] fix(userstatus): add missing parenthesis
2024-08-01 22:24:58 +02:00
Git'Fellow
356c49d026 fix: typo
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-08-01 18:03:36 +00:00
Git'Fellow
48309c7bc7 fix: check both CLI and value
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-08-01 18:03:36 +00:00
Git'Fellow
1c0bf29a2d fix(setupchecks): Skip checking for OPcache if running from CLI
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-08-01 18:03:36 +00:00
Anna Larch
64b8537afb fix(userstatus): add missing parenthesis
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-08-01 16:14:50 +00:00
Andy Scherzinger
31f1834a20 Merge pull request #46482 from nextcloud/dependabot/npm_and_yarn/stable28/eslint-plugin-cypress-2.15.2
build(deps-dev): bump eslint-plugin-cypress from 2.15.1 to 2.15.2
2024-08-01 16:42:52 +02:00
John Molakvoæ
807bd9a2a0 Merge pull request #46947 from nextcloud/backport/46928/stable28 2024-08-01 16:40:15 +02:00
skjnldsv
e1f55daa3e fix(files): empty folder pending size
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-01 12:41:54 +00:00
Anupam Kumar
0674f6316e Merge pull request #46950 from nextcloud/backport/46943/stable28
[stable28] fix(AdminSettings/AI): show pref list of only the enabled translation providers
2024-08-01 17:01:48 +05:30
Anupam Kumar
c2c117169f fix(AdminSettings/AI): show pref list of only the enabled translation providers
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2024-08-01 10:58:45 +00:00
dependabot[bot]
890fbe5873 build(deps-dev): bump eslint-plugin-cypress from 2.15.1 to 2.15.2
Bumps [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) from 2.15.1 to 2.15.2.
- [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases)
- [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v2.15.1...v2.15.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-01 08:00:32 +00:00
Git'Fellow
d84d55500e Merge pull request #46868 from nextcloud/backport/46379/stable28
[stable28] fix: `OCP\Files\Node\Folder::search` was not setting the owner
2024-08-01 09:53:38 +02:00
John Molakvoæ
2b83d9d6bf Merge pull request #46932 from nextcloud/backport/46927/stable28
[stable28] fix(files): do not show legacy `edit locally` action on public pages
2024-07-31 22:18:25 +02:00
skjnldsv
f64444bf60 fix(files): do not show legacy edit locally action on public pages
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-31 18:49:30 +00:00
F. E Noel Nfebe
656828a8bb Merge pull request #46909 from nextcloud/backport/46452/stable28
[stable28] feat(editLocallyAction): Handle possible no local client scenario
2024-07-31 14:21:22 +01:00
Ferdinand Thiessen
24d5c22ba5 Merge pull request #46808 from nextcloud/backport/46784/stable28
[stable28] fix(styles): Make sure footer with legal links is shown correctly
2024-07-31 14:30:22 +02:00
nextcloud-command
52ff995a44 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-31 12:17:46 +00:00
fenn-cs
d9896805b1 fix: Adjust tests for editLocallyAction
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-31 13:10:03 +01:00
fenn-cs
c8a36ab373 feat(editLocallyAction): Handle possible no local client scenario
Resolves: https://github.com/nextcloud/server/issues/46438

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-31 12:34:00 +01:00
Christoph Wurst
8dc28fd59d Merge pull request #46905 from nextcloud/backport/45306/stable28
[stable28] perf(systemtags): Add index for systemtags_object_mappings.objectid
2024-07-31 12:11:18 +02:00
Christoph Wurst
17b8173b10 perf(systemtags): Add index for systemtags_object_mappings.objectid
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-07-31 09:10:52 +00:00
Ferdinand Thiessen
4c66a2fe2b chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-31 11:02:45 +02:00
provokateurin
67c4ee55f1 test(theming): Fix broken footer links tests
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-31 11:01:10 +02:00
Ferdinand Thiessen
26fc01dfc6 fix(styles): Make sure footer with legal links is shown correctly
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-31 11:01:04 +02:00
F. E Noel Nfebe
778c118374 Merge pull request #46899 from nextcloud/backport/46830/stable28
[stable28] chore(ShareSettings): Proper wording for share autocompletion settings
2024-07-31 07:35:02 +01:00
nextcloud-command
2a0bef925b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-31 05:30:11 +00:00
Nextcloud bot
3dd5d55043 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-31 00:20:33 +00:00
fenn-cs
56d4a1fb74 chore(ShareSettings): Proper wording for share autocompletion settings
The existing is incorrect and can be misleading as seen in : https://github.com/nextcloud/server/issues/42501

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-30 22:22:59 +01:00
Ferdinand Thiessen
e102c752f9 fix: OCP\Files\Node\Folder::search was not setting the owner
The owner was not set on the file info causing e.g. webdav searches to never return the known owner.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-30 11:05:22 +00:00
Git'Fellow
2a6e868de6 Merge pull request #46862 from nextcloud/backport/46849/stable28
[stable28] fix: fix recursive share check
2024-07-30 10:00:17 +02:00
Robin Appelman
fbabe24f64 fix: fix recursive share check
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-30 07:02:30 +00:00
Nextcloud bot
3c5bc5827f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-30 00:20:10 +00:00
Joas Schilling
2091f446bc Merge pull request #46841 from nextcloud/bugfix/46364/incomplete-backport
[stable28] fix(sharing): Disable "Read permission" checkbox correctly
2024-07-29 22:05:18 +02:00
Joas Schilling
be140a8255 chore(assets): Recompile assets
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-29 13:34:13 +02:00
Joas Schilling
44de6b3280 fix(sharing): Disable "Read permission" checkbox correctly
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-29 13:31:25 +02:00
Nextcloud bot
2a4588a9df Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-29 00:20:29 +00:00
Andy Scherzinger
c8961c7160 Merge pull request #46763 from nextcloud/backport/46672/stable28
[stable28] Avoid using partial file info as valid one
2024-07-28 12:14:48 +02:00
John Molakvoæ
81846daf23 Merge pull request #46524 from nextcloud/backport/45867/stable28 2024-07-28 12:06:50 +02:00
Nextcloud bot
40e1d35526 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-28 00:39:51 +00:00
Andy Scherzinger
6ea2bd8863 Merge pull request #46781 from nextcloud/backport/46752/stable28
[stable28] fix: Add .whiteboard alias for .excalidraw files
2024-07-27 17:07:21 +02:00
John Molakvoæ
998dbd068e Merge pull request #46724 from nextcloud/backport/45092/stable28 2024-07-27 16:53:40 +02:00
Benjamin Gaussorgues
d561883587 fix(search): show user search provider for deactivated and admin pages
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-07-27 16:53:24 +02:00
nextcloud-command
1dc01406bc chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-27 16:52:15 +02:00
Ferdinand Thiessen
9154b8d6f4 fix(comments): Use proper icon components instead of icon classes to fix dark mode
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-27 16:50:10 +02:00
John Molakvoæ
ba8a0ef0b4 Merge pull request #46580 from nextcloud/backport/45974/stable28 2024-07-27 16:48:08 +02:00
John Molakvoæ
d97ea1bbca Merge pull request #46512 from nextcloud/automated/noid/stable28-fix-npm-audit 2024-07-27 16:28:45 +02:00
John Molakvoæ
f4b4485cdc Merge pull request #46712 from nextcloud/backport/45353/stable28 2024-07-27 16:12:15 +02:00
Julius Härtl
0be3b91e3f fix: Add .whiteboard alias for .excalidraw files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-27 15:24:14 +02:00
John Molakvoæ
6bb15c7b7f Merge pull request #46802 from nextcloud/backport/46786/stable28 2024-07-27 14:14:14 +02:00
skjnldsv
9b69ee639f fix(files): always ask for confirmation if trashbin app is disabled
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-27 10:05:59 +02:00
Nextcloud bot
d2a7a10925 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-27 00:19:38 +00:00
Maksim Sukharev
ebbdc348a7 Merge pull request #46788 from nextcloud/backport/46773/stable28
[stable28] style(settings): align icons at legacy help navigation
2024-07-26 19:14:36 +02:00
Maksim Sukharev
d9719ec9a4 style(settings): align icons at legacy help navigation
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-07-26 16:42:51 +00:00
Nextcloud bot
70839355c8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-26 00:20:10 +00:00
Ferdinand Thiessen
109bcfd389 Merge pull request #46757 from nextcloud/backport/46749/stable28
[stable28] fix: add a try and catch for delete versioning
2024-07-25 23:55:42 +02:00
greta
9e1304bd51 fix: add a try and catch for delete versioning
Signed-off-by: greta <gretadoci@gmail.com>
2024-07-25 23:14:27 +02:00
nextcloud-command
0954cba6a6 fix(deps): Fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2024-07-25 18:41:55 +00:00
Anna Larch
e95a46daac fix(caldav): lower scheduling table size warning
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-07-25 20:16:38 +02:00
Andy Scherzinger
9c94775260 Merge pull request #46668 from nextcloud/backport/46640/stable28
[stable28] fix(Token): take over scope in token refresh with login by cookie
2024-07-25 19:43:16 +02:00
Andy Scherzinger
f02bbf8eb6 Merge pull request #46678 from nextcloud/backport/44295/stable28
[stable28] Allow injecting the user temporarily for direct editing
2024-07-25 19:41:20 +02:00
Julius Härtl
ce6768027e fix: Do not return partial file info if we have a cache entry
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-25 17:40:12 +00:00
Julius Härtl
7f9b44d6a5 fix: Ignore preview requests for invalid file ids
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-25 17:40:12 +00:00
Andy Scherzinger
942a91916a Merge pull request #46683 from nextcloud/backport/46674/stable28
[stable28] feat: add config flag to toggle persistent redis connections
2024-07-25 19:39:20 +02:00
Andy Scherzinger
4100c1802e Merge pull request #46751 from nextcloud/backport/44788/stable28
[stable28] feat: add additional logging for database errors
2024-07-25 19:34:54 +02:00
John Molakvoæ
e126034461 Merge pull request #46384 from nextcloud/backport/46310/stable28 2024-07-25 16:38:43 +02:00
Robin Appelman
68c7d9eaf4 Merge pull request #46742 from nextcloud/backport/46693/stable28
[stable28] feat: add a specialized writeStream implementation for s3 external storage
2024-07-25 14:54:39 +02:00
Robin Appelman
bd28c9f70e feat: add additional logging for database errors
including the stack trace of the current database transaction

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-25 14:51:03 +02:00
Robin Appelman
e2ee8140b0 feat: add a specialized writeStream implementation for s3 external storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-25 11:01:12 +00:00
skjnldsv
38b0e47327 fix(cypress): wait for apps list fetch for better testing stability
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-25 12:53:56 +02:00
Hoang Pham
da0353dc6a feat: support excalidraw file
Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
2024-07-25 16:59:25 +07:00
Julius Härtl
facb17bcfe fix: Adapt icon color to new default for mime icons
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-25 16:59:25 +07:00
Hoang Pham
b3143bf930 feat: support excalidraw file
Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
2024-07-25 16:59:24 +07:00
Ferdinand Thiessen
4a4f90c075 Merge pull request #46734 from nextcloud/backport/46731/stable28
[stable28] fix(files): ensure forbiddenCharacters is an array
2024-07-25 11:36:35 +02:00
nextcloud-command
259c80f473 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-25 08:47:22 +00:00
Maksim Sukharev
c72dd3cb95 fix(files): ensure forbiddenCharacters is an array
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-07-25 08:13:36 +00:00
Joas Schilling
12a672fbfa Merge pull request #46563 from nextcloud/backport/46450/stable28
[stable28] fix(files_metadata): Don't run generation job on every upgrade
2024-07-25 08:49:47 +02:00
Ferdinand Thiessen
07b906807e Merge pull request #46717 from nextcloud/backport/46689/stable28
[stable28] fix(files): validate input when creating file/directory
2024-07-25 00:45:53 +02:00
nextcloud-command
7bf8dbadf2 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-24 20:04:04 +00:00
Maksim Sukharev
1c0a1cbbe0 fix(files): validate input when creating file/directory
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-07-24 20:43:34 +02:00
Ferdinand Thiessen
b305be43ca Merge pull request #46720 from nextcloud/backport/46694/stable28
[stable28] fix: FileInfo from `View` should have the correct name of a mountpoint
2024-07-24 20:42:41 +02:00
Ferdinand Thiessen
1f1d625212 fix: FileInfo from View should have the correct name of a mountpoint
If a mountpoint is returned from a `View` the name must match the view scoped name
and not the global name.
For example group folders have a name like `1` or `2` (the ID),
but the name of the FileInfo returned fro mthe View should be the mount point name,
like `First groupfolder` or similar.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-24 13:25:05 +00:00
Nextcloud bot
06fb25b6a2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-24 00:20:01 +00:00
Nextcloud bot
bc0a335492 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-23 00:19:42 +00:00
Robin Appelman
7c33e5c00f feat: add config flag to toggle persistent redis connections
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-22 13:08:39 +00:00
Joas Schilling
be5d40e3e2 fix(logging): Restore the option to log with debug level
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-22 14:45:44 +02:00
Julius Härtl
1c75c5f1e0 fix: Implement option to temporarily set the user session
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-22 12:44:21 +00:00
Julius Härtl
f413e80fed fix: Do not use incognito mode for direct editing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-22 12:44:21 +00:00
Joas Schilling
03a08e3863 Merge pull request #46628 from nextcloud/backport/46419/stable28
[stable28] fix(mail): Fix big logos in mail templates for Outlook
2024-07-22 09:00:11 +02:00
Arthur Schiwon
79dcb5ae76 fix(Token): take over scope in token refresh with login by cookie
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-22 06:53:35 +00:00
Nextcloud bot
cd24a8634b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-22 00:19:27 +00:00
Nextcloud bot
cb121d429c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-21 00:20:00 +00:00
Nextcloud bot
71341a5d3b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-20 00:19:53 +00:00
Andy Scherzinger
a8d1673d9f Merge pull request #46647 from nextcloud/backport/46225/stable28
[stable28] fix(dav): Thrown forbidden error for authenticated user instead of no…
2024-07-19 20:23:52 +02:00
SebastianKrupinski
5cf9d62c6d fix(dav): Thrown forbidden error for authenticated user instead of not found
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-19 17:21:18 +00:00
Git'Fellow
3aef5ac05c Merge pull request #46577 from nextcloud/backport/46555/stable28
[stable28] fix(appstore): Return an empty array in case of fail
2024-07-19 17:52:02 +02:00
Git'Fellow
71f4e01a5d Merge pull request #46523 from nextcloud/backport/46504/stable28
[stable28] fix(theming): enforce theme should still provide dark as fallback
2024-07-19 17:49:55 +02:00
Git'Fellow
62e45de6c5 Merge pull request #46520 from nextcloud/backport/46475/stable28
[stable28] fix(redis): Require version >=4 for unlink
2024-07-19 17:49:13 +02:00
Anupam Kumar
34239aca6f Merge pull request #46637 from nextcloud/backport/46608/stable28
[stable28] fix(TextProcessing): use error instead of info for exception logging
2024-07-19 18:28:30 +05:30
Joas Schilling
c42048e8fd Merge pull request #46125 from nextcloud/automated/noid/stable28-update-psalm-baseline
[stable28] Update psalm-baseline.xml
2024-07-19 14:26:12 +02:00
Anupam Kumar
aa66e16699 fix(TextProcessing): use error instead of info for exception logging
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2024-07-19 12:02:25 +00:00
Joas Schilling
b087e140e6 fix(mail): Fix big logos in mail templates for Outlook
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 10:11:43 +02:00
nextcloud-command
9b893b5235 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-07-19 02:31:00 +00:00
Nextcloud bot
9971121509 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-19 00:19:56 +00:00
Sebastian Krupinski
1dd731d893 Merge pull request #46603 from nextcloud/backport/46593/stable28
[stable28] fix(caldav): Throw 403 Forbidden Error instead of 500 Internal Server…
2024-07-18 18:03:41 -04:00
Sebastian Krupinski
6253c26dff Merge pull request #46613 from nextcloud/backport/46594/stable28
[stable28] fix(caldav): decode values before returning
2024-07-18 16:16:41 -04:00
SebastianKrupinski
71f4089673 fix(caldav): decode values before returning
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-18 14:01:07 +00:00
Benjamin Gaussorgues
9d56d3da3d Merge pull request #46585 from nextcloud/release/28.0.8 2024-07-18 14:07:31 +02:00
John Molakvoæ
f7afe8c6b6 Merge pull request #46561 from nextcloud/backport/46354/stable28 2024-07-18 12:11:03 +02:00
SebastianKrupinski
4ee152709e fix(caldav): Throw 403 Forbidden Error instead of 500 Internal Server Error
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-18 08:18:38 +00:00
John Molakvoæ
00042ce3d2 Merge pull request #46599 from nextcloud/backport/46589/stable28 2024-07-18 09:41:08 +02:00
skjnldsv
7618bb6f49 fix(files_sharing): also allow removing READ permissions on email shares
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-18 06:49:37 +00:00
Nextcloud bot
2addd48b2e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-18 00:19:45 +00:00
Benjamin Gaussorgues
0ad439c387 build(hub): 28.0.8
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-07-17 16:01:24 +02:00
Joas Schilling
104f51e153 Merge pull request #46576 from nextcloud/backport/46575/stable28
[stable28] fix(CI): Update setup-php, setup-node, checkout and paths-filter actions
2024-07-17 13:24:49 +02:00
Git'Fellow
e4a67f271e chore: add warning in case of failure
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-07-17 10:34:43 +00:00
Git'Fellow
803bc2cfc4 fix(appstore): Return an empty array in case of fail
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-07-17 10:34:43 +00:00
Joas Schilling
1b506a481c ci(smb-kerberos): Fixate to 22.04 like on stable29 and master
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-17 11:32:38 +02:00
Louis Chemineau
71247f22ef fix(files_metadata): Don't run generation job on every upgrade
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-17 11:17:05 +02:00
Joas Schilling
0b6bf77645 fix(CI): Update setup-php, setup-node, checkout and paths-filter actions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-17 11:01:13 +02:00
Nextcloud bot
f129a88fc2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-17 00:19:50 +00:00
grnd-alt
6e030c7176 fix: stop file actions when conflict dialog skipped
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-16 19:56:04 +00:00
skjnldsv
9e21479296 fix(theming): enforce theme should still provide dark as fallback
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-16 08:27:16 +02:00
Nextcloud bot
4689f3d2ab Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-16 00:20:09 +00:00
Git'Fellow
73913936ff fix(redis): Require version >=4 for unlink
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-07-15 07:55:45 +00:00
Nextcloud bot
0b4c337469 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-15 00:20:09 +00:00
Nextcloud bot
4641bcd31d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-14 00:19:44 +00:00
Nextcloud bot
01bce97d6c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-13 00:20:05 +00:00
Joas Schilling
49181aedd1 Merge pull request #46468 from nextcloud/fix/noid/stable28-use-low-runners
[stable28] fix(ci): Use low runners were possible
2024-07-12 16:17:25 +02:00
Joas Schilling
bd73f17a18 fix(CI): Require compilation check when touching version.php
NPM is using version.php as app version and that seems to be part of the dist files now

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-12 15:08:33 +02:00
Joas Schilling
bbed448a66 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-12 13:39:02 +02:00
Joas Schilling
cf906baba0 fix(CI): Ensure we recompile when needed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-12 13:36:15 +02:00
Marcel Müller
2cc84b2272 fix(ci): Use low runners were possible
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-07-12 13:13:08 +02:00
Nextcloud bot
e632becae1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-12 00:19:52 +00:00
Benjamin Gaussorgues
4f406c87be Merge pull request #46390 from nextcloud/release/28.0.8_rc1 2024-07-11 20:09:34 +02:00
Andy Scherzinger
e8b4d4e97d Merge pull request #46431 from nextcloud/backport/46258/stable28
[stable28] fix(theming): Conitionally disable blur filter for performance
2024-07-11 19:49:22 +02:00
Andy Scherzinger
7b2c1836a9 Merge pull request #44323 from nextcloud/backport/44132/stable28
[stable28] fix: don't return null for SharedStorage::getWrapperStorage with share recursion
2024-07-11 19:18:14 +02:00
nextcloud-command
ea74543f0c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-11 18:23:48 +02:00
Ferdinand Thiessen
d73a50c980 feat(theming): Add checkbox for force enable / disable blurry background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-11 18:23:48 +02:00
Ferdinand Thiessen
931a7ce282 fix(theming): Conitionally disable blur filter for performance
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-11 18:23:43 +02:00
Robin Appelman
e0f3de8150 chore: improve typing for SharedStorage::$storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-11 17:39:56 +02:00
Robin Appelman
22596234fc fix: don't return null for SharedStorage::getWrapperStorage with share recursion
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-11 17:39:20 +02:00
Andy Scherzinger
290ccdb684 Merge pull request #46090 from nextcloud/backport/46073/stable28
[stable28] fix: allows admin to edit global credentials
2024-07-11 17:06:24 +02:00
Joas Schilling
c170be3352 Merge pull request #46442 from nextcloud/backport/46392/stable28
[stable28] feat: don't count failed CSRF as failed login attempt
2024-07-11 16:05:44 +02:00
Andy Scherzinger
1135d77a9d Merge pull request #46060 from nextcloud/backport/45938/stable28
[stable28] fix: Do not log an error when connecting to SFTP without a logged in user
2024-07-11 14:56:07 +02:00
Benjamin Gaussorgues
8df095f368 feat: don't count failed CSRF as failed login attempt
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-07-11 14:27:08 +02:00
Andy Scherzinger
52718fe2f5 Merge pull request #46422 from nextcloud/backport/46374/stable28
[stable28] fix: Update Nextcloud libraries
2024-07-11 14:25:19 +02:00
Arthur Schiwon
7096ef29f1 Merge pull request #46436 from nextcloud/backport/46398/stable28
[stable28] fix(Session): avoid race conditions on clustered setups
2024-07-11 13:33:08 +02:00
Marcel Müller
3f06411700 Merge pull request #46433 from nextcloud/backport/46428/stable28
[stable28] fix(theming): Don't reset the cachebuster value when we reset theming
2024-07-11 12:07:28 +02:00
Andy Scherzinger
ee8872d333 Merge pull request #46421 from nextcloud/backport/46315/stable28
[stable28] fix(caldav): limit vevent size
2024-07-11 10:56:22 +02:00
Arthur Schiwon
a7947567a6 ci(psalm): update baseline
prefer to keep this check as PublicEmitter should be dropped sooner or
later

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-11 07:27:29 +00:00
Arthur Schiwon
f5866137ad fix(Session): avoid race conditions on clustered setups
- re-stablishes old behaviour with cache to return null instead of throwing
  an InvalidTokenException when the token is cached as non-existing
- token invalidation and re-generation are bundled in a DB transaction now

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-11 07:27:29 +00:00
Andy Scherzinger
e9b18f78a8 Merge pull request #46430 from nextcloud/bug/noid/fix-wonky-router-test-for-28
[stable28] test: run tests in child process
2024-07-11 09:26:39 +02:00
Joas Schilling
ef5249bb64 Merge pull request #46394 from nextcloud/backport/46320/stable28
[stable28] perf: Set session.cache_limiter at runtime to avoid clients caching static assets served by PHP
2024-07-11 09:19:11 +02:00
Marcel Müller
abe6442b5b fix(theming): Don't reset the cachebuster value when we reset theming
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-07-11 08:31:04 +02:00
Daniel Calviño Sánchez
c360c208ee fix: Do not log an error when connecting to SFTP without a logged in user
When connecting to a SFTP server from a SFTP storage the host key is
checked against the known host keys stored in a file in the data
directory of the logged in Nextcloud user. The path to the file is
(indirectly) got using "OC_App::getStorage", which logs an error if
called when there is no logged in user; this can happen, for example, if
the storage is used from a background job or a command.

Not being able to read or write the file just causes the host key check
to be skipped, but it has no other consequence. Moreover, even with
logged in users it is likely that the file can not be read either and
the check is also skipped, as the file needs to have been manually
created by an admin.

Due to all that now the path to the file is directly created using a
View rather than relying on "OC_App::getStorage" to prevent the unneeded
error from being logged.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-07-11 08:16:07 +02:00
Andy Scherzinger
1aa86f20ea Merge pull request #45891 from nextcloud/automated/noid/stable28-fix-npm-audit
[stable28] Fix npm audit
2024-07-11 08:15:28 +02:00
Benjamin Gaussorgues
c7082d5fb8 fix: allows admin to edit global credentials
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-07-11 08:13:47 +02:00
Joas Schilling
127ea972bc Merge pull request #46411 from nextcloud/backport/46388/stable28
[stable28] fix(workflows): Fix file systemtag cache
2024-07-11 06:40:13 +02:00
Nextcloud bot
950a66aefe Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-11 00:20:14 +00:00
Daniel Kesselberg
ee65749138 test: run tests in child process
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-11 00:25:32 +02:00
Ferdinand Thiessen
5565ac6186 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-11 00:20:49 +02:00
Ferdinand Thiessen
9e8effe3c7 test: Mock _oc_webroot for frontend unit tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 23:50:21 +02:00
Ferdinand Thiessen
a759182e90 refactor: Use composable for currentView and views to make it reactive when shared with other Vue apps
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 23:50:21 +02:00
Ferdinand Thiessen
7e05d37bfc chore(deps): Update debounce to 2.1.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 23:50:21 +02:00
Ferdinand Thiessen
16b9e67eb1 refactor(files): Update @nextcloud/files to v3.5.1
* Removed now duplicated code

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 23:50:20 +02:00
nextcloud-command
dc97fcd229 fix(deps): Fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2024-07-10 23:38:04 +02:00
Andy Scherzinger
d7ea479a33 Merge pull request #46417 from nextcloud/fix/28-files-trashbin-init
[stable28] fix(files_trashbin): Make files view registering an init script
2024-07-10 23:22:27 +02:00
Andy Scherzinger
e319057a93 Merge pull request #45955 from nextcloud/backport/45228/stable28
[stable28] fix(settings): define a 'heartbeat' route, so SecurityHeaders can handle redirected root
2024-07-10 22:29:01 +02:00
Andy Scherzinger
242770089e Merge pull request #46067 from nextcloud/backport/45877/stable28
[stable28] fix: don't use custom certificate bundle if no customer certificates are configured
2024-07-10 22:27:14 +02:00
Andy Scherzinger
e57dd34846 Merge pull request #45920 from nextcloud/backport/45582/stable28
[stable28] delete background jobs by id when cleaning up
2024-07-10 22:26:43 +02:00
Andy Scherzinger
7a3805607e Merge pull request #46011 from nextcloud/backport/45999/stable28
[stable28] fix(caldav): encode calendar URIs with umlauts for activities
2024-07-10 22:18:58 +02:00
SebastianKrupinski
bb603b23f3 fix(caldav): limit vevent size
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-10 15:07:06 -04:00
Richard Steinmetz
63acc67d61 Merge pull request #46313 from nextcloud/backport/46193/stable28
[stable28] fix(carddav): limit vcard size
2024-07-10 20:38:55 +02:00
Ferdinand Thiessen
3b71eacd1c fix(files_trashbin): Make files view registering an init script
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 17:40:31 +02:00
Joas Schilling
ee30cc8438 fix(workflows): Fix file systemtag cache
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-10 14:52:37 +00:00
SebastianKrupinski
cce95586ce fix(carddav): limit vcard size
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-10 10:43:13 -04:00
Richard Steinmetz
53f0d5516b fix(caldav): encode calendar URIs with umlauts for activities
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-07-10 15:23:54 +02:00
Côme Chilliet
82f9c66dfc fix(tests): Strong type property $router in RouterTest
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2024-07-10 14:38:34 +02:00
Steve Mokris
1226e79cf1 fix(settings): define a 'heartbeat' route, so SecurityHeaders can handle redirected root
Signed-off-by: Steve Mokris <steve@kosada.com>
2024-07-10 14:38:34 +02:00
Julius Härtl
9974f0b722 perf: Set session.cache_limiter at runtime to avoid clients caching static assets served by PHP
By default there is a Pragma: no-cache header set due to the default
value `no-cache` of session.cache-limiter, which will cause Chrome and
iOS to not cache even with a different Cache-Control header set on the
response.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-10 09:55:28 +00:00
Benjamin Gaussorgues
73c2de6db0 build(hub): 28.0.8 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-07-10 11:26:32 +02:00
Nextcloud bot
974fd522e4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-10 00:34:36 +00:00
Andy Scherzinger
adf6ce642b Merge pull request #46238 from nextcloud/dependabot/npm_and_yarn/stable28/nextcloud/calendar-availability-vue-2.2.2
build(deps): Bump @nextcloud/calendar-availability-vue from 2.2.0 to 2.2.2
2024-07-09 22:21:16 +02:00
Ferdinand Thiessen
85e64a2721 Merge pull request #46316 from nextcloud/backport28SidebarOffTags
[stable28] sidebar: allow turning off tags view by default
2024-07-09 20:33:07 +02:00
dependabot[bot]
6062b3432c build(deps): Bump @nextcloud/calendar-availability-vue
Bumps [@nextcloud/calendar-availability-vue](https://github.com/nextcloud/calendar-availability-vue) from 2.2.0 to 2.2.2.
- [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.0...v2.2.2)

---
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>
2024-07-09 19:34:23 +02:00
Git'Fellow
1ee54e39c6 sidebar: allow turning off tags view by default
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

sidebar: allow turning off tags view by default

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-09 19:30:50 +02:00
Git'Fellow
7a3a8cdac4 Merge pull request #46191 from nextcloud/backport/45804/stable28
[stable28] fix(cron): Log long running jobs
2024-07-09 18:23:10 +02:00
Git'Fellow
936de57201 Merge pull request #46297 from nextcloud/backport/46174/stable28
[stable28] fix(IntegrityCheck): Ensure the check is run if no results are available
2024-07-09 18:22:31 +02:00
Git'Fellow
e395d1f693 Merge pull request #46302 from nextcloud/fix/noid/jsm-check-pickiness
[stable28] fix(SetupCheck): jsm test shall not give up with first no-response
2024-07-09 18:21:47 +02:00
F. E Noel Nfebe
19ab1ffd0b Merge pull request #46364 from nextcloud/backport/46321/stable28
[stable28] fix(SharingDetailsView): Prevent illegal unselection of read permissions
2024-07-09 14:44:03 +01:00
Git'Fellow
2595e488fd Merge pull request #46366 from nextcloud/backport/46317/stable28
[stable28] fix(s3): Don't wait indefinitely for S3 to return
2024-07-09 15:31:45 +02:00
fenn-cs
710287f6c8 fix(SharingDetailsView): Prevent illegal unselection of read permissions
With the exception of "file drop" on link shares all other shares need the read permissions at least.

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

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-09 11:43:07 +00:00
Git'Fellow
18ffec158c fix(s3): Don't wait indefinitely for S3 to return
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: lint

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

fix: use AwsException

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

fix: Throw on connection failure

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

fix: Wrap all in try catch block

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

fix: use RequestTimeout error message

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

log: use OCP Server class

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

fix: Handle connect timeout only

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

fix: Handle errors more generically

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-07-09 07:50:39 +00:00
F. E Noel Nfebe
21226928fc Merge pull request #46118 from nextcloud/backport/46030/stable28
[stable28] fix(FilesView): Update files view upon share creation/delete
2024-07-09 08:04:04 +01:00
Nextcloud bot
42ecc1d6af Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-09 00:20:10 +00:00
nextcloud-command
9eb1269374 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-08 19:46:48 +00:00
fenn-cs
4c25c02fd9 refactor(SharingDetailsView): Use NC logger
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-08 20:39:13 +01:00
fenn-cs
9d1431c38a fix(FilesView): Update files view upon share creation/delete
Resolves : https://github.com/nextcloud/server/issues/44961

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-08 20:39:12 +01:00
Daniel
a8a7c4cf26 Merge pull request #46341 from nextcloud/backport/46276/stable28
[stable28] chore(mp3info): apply upstream patch for invalid array access
2024-07-08 12:43:00 +02:00
Daniel Kesselberg
470cfe2dbc feat: log file id and path when extracting the mp3 cover fails
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-08 11:39:19 +02:00
Daniel Kesselberg
6ca476f5e9 chore(mp3info): apply upstream patch for invalid array access
Patch: wapmorgan/Mp3Info#36

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-08 11:39:17 +02:00
Nextcloud bot
e2b478db58 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-08 00:19:56 +00:00
Nextcloud bot
e4e0a9854e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-07 00:19:38 +00:00
dependabot[bot]
ef7a473d7a Merge pull request #46335 from nextcloud/dependabot/npm_and_yarn/stable28/dompurify-3.1.6 2024-07-06 10:50:29 +00:00
dependabot[bot]
5a8d766cd7 chore(deps): bump dompurify from 3.1.4 to 3.1.6
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.1.4 to 3.1.6.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.1.4...3.1.6)

---
updated-dependencies:
- dependency-name: dompurify
  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-07-06 12:33:11 +02:00
John Molakvoæ
afae77a643 Merge pull request #46337 from nextcloud/dependabot/npm_and_yarn/stable28/mime-4.0.4
chore(deps-dev): bump mime from 4.0.1 to 4.0.4
2024-07-06 05:49:35 +02:00
dependabot[bot]
b96eb79181 Merge pull request #46338 from nextcloud/dependabot/npm_and_yarn/stable28/ts-jest-29.1.5 2024-07-06 02:38:38 +00:00
dependabot[bot]
2f02103831 chore(deps-dev): bump mime from 4.0.1 to 4.0.4
Bumps [mime](https://github.com/broofa/mime) from 4.0.1 to 4.0.4.
- [Changelog](https://github.com/broofa/mime/blob/main/CHANGELOG.md)
- [Commits](https://github.com/broofa/mime/compare/v4.0.1...v4.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-06 02:37:30 +00:00
dependabot[bot]
1a73f012be Merge pull request #46336 from nextcloud/dependabot/npm_and_yarn/stable28/jsdoc-4.0.3 2024-07-06 02:36:00 +00:00
dependabot[bot]
b4c13ef311 chore(deps-dev): bump ts-jest from 29.1.2 to 29.1.5
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 29.1.2 to 29.1.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.1.2...v29.1.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-07-06 01:34:18 +00:00
dependabot[bot]
126dcdebee chore(deps-dev): bump jsdoc from 4.0.2 to 4.0.3
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/4.0.3/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/4.0.2...4.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-06 01:33:31 +00:00
Nextcloud bot
fd13f90fca Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-06 00:19:37 +00:00
Ferdinand Thiessen
90d3160185 fix(IntegrityCheck): Ensure the check is run if no results are available
If there are no cached results the current implementation was also returning an empty array,
but this was the same as when there was a successful run.
So to distinguish this we return `null` if there are *no* results.
In this case we need to rerun the integrity checker.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-05 12:42:29 +02:00
Nextcloud bot
286a952efb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-05 00:19:40 +00:00
John Molakvoæ
6e1fa2c51b Merge pull request #46239 from nextcloud/dependabot/npm_and_yarn/stable28/nextcloud/vue-8.11.3 2024-07-04 18:36:00 +02:00
dependabot[bot]
8cbdcfeff6 build(deps): Bump @nextcloud/vue from 8.11.2 to 8.14.0
Bumps [@nextcloud/vue](https://github.com/nextcloud-libraries/nextcloud-vue) from 8.11.2 to 8.11.3.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-vue/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-vue/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-vue/compare/v8.11.2...v8.11.3)

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

Signed-off-by: dependabot[bot] <support@github.com>

chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-04 17:22:51 +02:00
Arthur Schiwon
fa55d97dde fix(SetupCheck): jsm test shall not give up with first no-response
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-04 13:08:31 +02:00
Nextcloud bot
23cc6cf7ce Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-04 00:21:48 +00:00
Daniel
f9ec46d35b Merge pull request #45770 from nextcloud/backport/45765/stable28
[stable28] fix(settings): Use axios directly for health check to preven URL sanitizing
2024-07-03 18:30:33 +02:00
Arthur Schiwon
b8b0ad613e Merge pull request #46221 from nextcloud/backport/46219/stable28
[stable28] fix(DAV): offset not applied
2024-07-03 17:18:54 +02:00
F. E Noel Nfebe
47c74a9dd3 Merge pull request #46280 from nextcloud/backport/46068/stable28
[stable28] fix(ExternalSharing): Handle template shares from external sources
2024-07-03 16:01:14 +01:00
nextcloud-command
7f4725306e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-03 13:55:41 +00:00
Ferdinand Thiessen
6e52a19b96 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>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-03 15:10:44 +02:00
fenn-cs
d505449e45 refactor(SharingInput): Remove unused addShare
The new sharing flow since NC27 requires that users open the sharing details tab and

customize their share before creating it.

In https://github.com/nextcloud/server/pull/39472 the work of `addShare` was handed down to

`openSharingDetails` that opens the sharing details tab for the user to customize and manually

creat their share.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-03 13:44:20 +01:00
fenn-cs
37a55357b9 fix(ExternalSharing): Handle template share from external sources
The new sharing flow requires or implies that users should edit share before creating.
External sources should not created the share IF we would upon sharing details tab on first request.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-03 10:31:46 +00:00
John Molakvoæ
5649cddccb Merge pull request #46236 from nextcloud/fix/npm-nextcloud-files 2024-07-03 11:44:23 +02:00
skjnldsv
4df7bae601 fix: downgrade @nextcloud/files to 3.4.1
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-03 10:05:17 +02:00
skjnldsv
1f0f3c9054 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-03 10:05:17 +02:00
skjnldsv
b1cec44fc8 chore: upgrade @nextcloud/sharing
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-03 10:05:17 +02:00
skjnldsv
16aad8d2e8 chore: upgrade @nextcloud/files
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-03 10:05:17 +02:00
Joas Schilling
7cc1f0e747 Merge pull request #46265 from nextcloud/automated/noid/stable28-update-ca-cert-bundle
[stable28] fix(security): Update CA certificate bundle
2024-07-03 08:46:10 +02:00
nextcloud-command
2732c64f96 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2024-07-03 02:19:47 +00:00
Nextcloud bot
600ea7e460 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-03 00:20:25 +00:00
Joas Schilling
57d41e47e4 Merge pull request #46223 from nextcloud/backport/46190/stable28
[stable28] fix(setupchecks): skip check when disk_free_space is disabled
2024-07-02 15:24:07 +02:00
John Molakvoæ
b15af13f13 Merge pull request #46245 from nextcloud/dependabot/npm_and_yarn/stable28/cypress-13.7.3 2024-07-02 14:14:20 +02:00
John Molakvoæ
b85d4b1099 Merge pull request #46243 from nextcloud/dependabot/npm_and_yarn/stable28/types/dockerode-3.3.29 2024-07-02 14:14:09 +02:00
John Molakvoæ
703b53c13c Merge pull request #46241 from nextcloud/dependabot/npm_and_yarn/stable28/karma-coverage-2.2.1 2024-07-02 14:14:02 +02:00
dependabot[bot]
eddb7407e0 build(deps-dev): Bump cypress from 13.7.2 to 13.7.3
Bumps [cypress](https://github.com/cypress-io/cypress) from 13.7.2 to 13.7.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.7.2...v13.7.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-07-02 10:29:47 +00:00
dependabot[bot]
1602193e4e build(deps-dev): Bump @types/dockerode from 3.3.28 to 3.3.29
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.28 to 3.3.29.
- [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>
2024-07-02 10:29:28 +00:00
dependabot[bot]
e9a53063db build(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-07-02 10:29:04 +00:00
Daniel Kesselberg
03534247d3 fix(setupchecks): skip check when disk_free_space is disabled
Make it easier to discover that the check failed because disk_free_space is disabled.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-02 11:59:01 +02:00
Nextcloud bot
4e2bb889ee Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-02 00:19:36 +00:00
Louis
e78c4f4018 Merge pull request #45987 from nextcloud/backport/45963/stable28
[stable28] Rename openFileInfo to fileInfo
2024-07-01 23:20:03 +02:00
nextcloud-command
c8b5baa17b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-01 22:22:54 +02:00
nextcloud-command
63a2f1045b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-01 22:17:46 +02:00
Louis Chemineau
45ec17514a fix(files): Rename openFileInfo to fileInfo
And check if openFile is set in the URL before opening a file.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-01 22:17:46 +02:00
Louis
6b00b80cc4 Merge pull request #46019 from nextcloud/backport/45984/stable28
[stable28] Don't trigger action when renaming
2024-07-01 22:15:33 +02:00
nextcloud-command
baf7590114 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-01 18:34:08 +02:00
Louis Chemineau
841cf96def fix(files): Don't react to clicks when renaming
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-01 18:30:45 +02:00
Louis
e22eabb5c3 Merge pull request #46129 from nextcloud/backport/46127/stable28
[stable28] feat(files): increase max copy-move concurrency to 5
2024-07-01 18:14:53 +02:00
Louis Chemineau
c192437ec7 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-01 14:46:25 +02:00
John Molakvoæ
8e7ce5d2db feat(files): increase max copy-move concurrency to 5
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-07-01 14:46:25 +02:00
Arthur Schiwon
c3895990c5 fix(BuildSocialSearchIndexBackgroundJob): offset not applied
with more than 100 results, this job may never finish

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-01 14:40:28 +02:00
Ferdinand Thiessen
db5fbe46ab Merge pull request #46214 from nextcloud/backport/45258/stable28
[stable28] fix: getMountsForFileId may return an unordered list
2024-07-01 13:18:43 +02:00
Louis
dbbbefa408 Merge pull request #46141 from nextcloud/backport/46097/stable28
[stable28] fix(files_sharing): Also set the expiration date timezone during validation
2024-07-01 12:03:23 +02:00
Daniel Kesselberg
e417f235ba fix: getMountsForFileId may return an unordered list
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-01 10:00:44 +00:00
Nextcloud bot
95ecf7e3a5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-01 00:19:37 +00:00
Nextcloud bot
934509f111 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-30 00:19:37 +00:00
Nextcloud bot
d379e4e587 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-29 00:19:59 +00:00
Christoph Wurst
949c386943 fix(cron): Log long running jobs
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-06-28 15:09:28 +02:00
Nextcloud bot
faf3017762 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-28 00:20:56 +00:00
Louis
8b3705bdeb Merge pull request #46138 from nextcloud/backport/45977/stable28
[stable28] Update favorites navigation list on folder renames
2024-06-27 18:05:59 +02:00
Louis Chemineau
f1c50472d8 fix(files): Update favorites navigation list on folder renames
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-27 15:25:17 +02:00
Louis
bdbf00cd8d Merge pull request #45994 from nextcloud/backport/45580/stable28
[stable28] fix: avoid duplicate tag inserts by checking if the mapping exists already in db
2024-06-27 14:16:06 +02:00
yemkareems
6f9c67d8af fix: removed unused variable and check if tag ids are empty before starting the inserts
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-06-27 11:39:54 +02:00
yemkareems
f8700e8add fix: filtering tags based on existing tags and doing a transaction around the select and insert
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-06-27 11:39:54 +02:00
yemkareems
48ab7fce3b fix: do a select in systemtag_object_mapping to see if tag exists already in db. if it does not exist alone insert the same or else do nothing
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-06-27 11:39:54 +02:00
Louis Chemineau
d7093ed24b fix(files_sharing): Store the expiration date relative to the server's timezone
This is needed as we want to store the difference between the server's and the user's timezones.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-27 11:39:31 +02:00
Joas Schilling
aea9eaf7a9 Merge pull request #46164 from nextcloud/bugfix/noid/fix-openapi
[stable28] fix(openapi): Regenerate OpenAPI after server changes
2024-06-27 11:36:39 +02:00
Daniel
7c60d706b7 Merge pull request #46145 from nextcloud/backport/44893/stable28
[stable28] fix(caldav): When message is a reply compare the message sender not the recipient
2024-06-27 11:04:34 +02:00
Joas Schilling
2dbec08b70 fix(CI): Install all required dependencies like on master
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-27 10:07:45 +02:00
Joas Schilling
5d5091bb2d fix(openapi): Regenerate OpenAPI after server changes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-27 09:54:48 +02:00
Joas Schilling
427f3c9a53 Merge pull request #46155 from nextcloud/automated/noid/stable28-update-code-signing-crl
[stable28] fix(security): Update code signing revocation list
2024-06-27 09:42:07 +02:00
nextcloud-command
87a61c93b1 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2024-06-27 02:21:13 +00:00
Nextcloud bot
700628d233 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-27 00:20:10 +00:00
Ferdinand Thiessen
3eae9da2e7 Merge pull request #46092 from nextcloud/backport-45958
[stable28] fix(files_versions): renaming file version when its not a string
2024-06-27 00:55:56 +02:00
nextcloud-command
1b5b8708cd chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-26 22:16:48 +00:00
Ferdinand Thiessen
ca413ad11f fix(files_versions): renaming file version when its not a string
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-26 23:49:52 +02:00
SebastianKrupinski
77291ce2ae fix(caldav): when message is a reply compare the message sender not the recipient
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-06-26 17:45:22 -04:00
Nextcloud bot
f65d956a72 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-26 00:20:02 +00:00
Ferdinand Thiessen
d126e17741 Merge pull request #45905 from nextcloud/backport/45884/stable28
[stable28] fix(files): Properly handle denied ownership transfers
2024-06-25 21:27:48 +02:00
Ferdinand Thiessen
320283b67d fix(files): Properly handle denied ownership transfers
When the receiver denies the transfer the notification handler was missing,
so no notification was created for the transfer owner.

But also the internal notification was created two times:
1. When rejecting the transfer
2. By the reject function when dismissing the notification

This is fixed by only relying on the dismiss function.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-25 18:01:04 +02:00
Ferdinand Thiessen
b2dcb8e254 Merge pull request #45896 from nextcloud/chore/zipstreamer28
[stable28] chore(deps): Bump deepdiver/zipstreamer
2024-06-25 15:01:46 +02:00
Ferdinand Thiessen
9a357ff273 chore(deps): Bump deepdiver/zipstreamer
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-25 13:34:13 +02:00
Arthur Schiwon
578068e1d8 Merge pull request #46064 from nextcloud/release/28.0.7
28.0.7
2024-06-25 12:10:13 +02:00
Arthur Schiwon
0d94a04691 Merge pull request #46088 from nextcloud/backport/46075/stable28
[stable28] fix(Token): add FILESYSTEM scope with SCOPE_SKIP_PASSWORD_VALIDATION
2024-06-25 12:09:22 +02:00
Arthur Schiwon
f016e7e350 fix(Token): add FILESYSTEM scope with SCOPE_SKIP_PASSWORD_VALIDATION
The scope design requires scopes to be either not specified, or
specified explicitely. Therefore, when setting the
skip-password-validation scope for user authentication from mechanisms
like SAML, we also have to set the filesystem scope, otherwise they will
lack access to the filesystem.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-25 07:39:20 +00:00
Nextcloud bot
93dcf8cbc4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-25 00:20:09 +00:00
Robin Appelman
b86392691e fix: don't use custom certificate bundle if no customer certificates are configured
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-24 09:30:17 +00:00
Arthur Schiwon
9ba0b614be build(hub): 28.0.7
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-24 11:08:40 +02:00
Nextcloud bot
9c018a3a5c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-24 00:19:46 +00:00
Nextcloud bot
0e83db5450 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-23 00:19:53 +00:00
Arthur Schiwon
fd066f90a5 Merge pull request #46033 from nextcloud/release/28.0.7_rc4
28.0.7 RC4
2024-06-21 15:19:51 +02:00
Andy Scherzinger
1f13246d72 Merge pull request #45903 from nextcloud/backport/45875/stable28
[stable28] fix(theming): also apply enforced theme for guests
2024-06-21 14:09:46 +02:00
Andy Scherzinger
b6f2e83fd5 Merge pull request #46031 from nextcloud/backport/45966/stable28
[stable28] fix: move repair mimetype repair step to the expensive steps
2024-06-21 13:29:58 +02:00
Arthur Schiwon
5f6a9404a4 build(hub): 28.0.7 RC4
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-21 11:42:16 +02:00
Robin Appelman
97cdd9b90c fix: set mimetype_version during upgrade to the old version
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-21 11:37:13 +02:00
Robin Appelman
5a9e8e7d3f feat: add setup check for needed mimetype migrations
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-21 11:37:13 +02:00
Robin Appelman
cea49e0898 fix: move repair mimetype repair step to the expensive steps
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-21 11:33:23 +02:00
Nextcloud bot
8271b2258e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-21 00:20:15 +00:00
John Molakvoæ
3ae8139ed7 Merge pull request #46006 from nextcloud/release/28.0.7_rc3 2024-06-20 14:58:22 +02:00
skjnldsv
71aee7baed build(hub): 28.0.7 RC3
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-20 14:02:52 +02:00
Andy Scherzinger
deef64fed5 Merge pull request #45990 from nextcloud/backport/45968/stable28
[stable28] fix(dav): Limit number of UPDATES for sync token created_at
2024-06-20 12:13:37 +02:00
Nextcloud bot
8a85b41dee Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-20 00:20:09 +00:00
Christoph Wurst
ca15306721 fix(dav): Limit number of UPDATES for sync token created_at
Address book and calendar sync tokens have a created_at column in 26+
and we need to assign a current timestamp to the existing data at
upgrade so the data isn't cleaned up immediately. Updating the full
table is expensive and fails on clustered setups that limit transaction
size. We don't need a timestamp for the oldest rows so we can skip
updating them.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-06-19 16:07:37 +00:00
Nextcloud bot
24ee65746e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-19 00:20:41 +00:00
Nextcloud bot
924e1d35ac Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-18 00:20:43 +00:00
Arthur Schiwon
6e6fdf52c3 Merge pull request #45914 from nextcloud/release/28.0.7_rc2
28.0.7 RC2
2024-06-17 21:53:32 +02:00
Arthur Schiwon
45fee69a5f Merge pull request #45933 from nextcloud/fix/stable28-files-store
[stable28] fix(files): correctly import WebDAV client in files store
2024-06-17 21:50:54 +02:00
Arthur Schiwon
ddbe67d621 Merge pull request #45927 from nextcloud/backport/45912/stable28
[stable28] ci: use precise ref for 3rdparty check
2024-06-17 21:26:34 +02:00
Arthur Schiwon
03e6de5076 build: assets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-17 21:22:27 +02:00
Ferdinand Thiessen
b228c5e4fe fix(files): correctly import WebDAV client in files store
The files store was importing the client, but this is only on current master
on stableX we still need to import the getter function.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-17 17:55:43 +02:00
Arthur Schiwon
0040a729d5 ci: use precise ref for 3rdparty check
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-17 14:37:37 +00:00
Robin Appelman
1b346aa9a4 test: update DummyJobList
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-17 13:25:03 +02:00
Robin Appelman
40442f5337 fix: delete background jobs by id when cleaning up
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-17 11:23:24 +00:00
Arthur Schiwon
78fd195e6a Merge pull request #45909 from nextcloud/backport/45902/stable28
[stable28] fix(deleteAction): Bump up delete requests concurrency to 5
2024-06-17 11:47:58 +02:00
Arthur Schiwon
d7c39c654a build(hub): 28.0.7 RC2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-17 11:40:25 +02:00
Arthur Schiwon
7a2a0f726c build: assets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-17 11:08:26 +02:00
Arthur Schiwon
2817b04a80 fix(deleteAction): Bump up delete requests concurrency to 5
A concurrency of who is not efficient. Low throughput, underutilization, high latency etc...

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-17 11:05:26 +02:00
Arthur Schiwon
323162f0f7 Merge pull request #45881 from nextcloud/revert-45870-backport/45867/stable28
Revert "[stable28] fix(comments): Use proper icon components instead …
2024-06-17 09:41:49 +02:00
skjnldsv
c3b2e681a0 fix(theming): also apply enforced theme for guests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-17 07:21:32 +00:00
Nextcloud bot
5ba6f3e4b7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-17 00:19:35 +00:00
Nextcloud bot
b9b4f1d36a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-16 00:19:31 +00:00
Nextcloud bot
c6a59c2a0e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-15 00:20:55 +00:00
John Molakvoæ
28acd82f3f Revert "[stable28] fix(comments): Use proper icon components instead of icon classes to fix dark mode" 2024-06-14 14:53:16 +02:00
John Molakvoæ
01768392f4 Merge pull request #45870 from nextcloud/backport/45867/stable28
[stable28] fix(comments): Use proper icon components instead of icon classes to fix dark mode
2024-06-14 14:29:59 +02:00
Arthur Schiwon
e104b616ca Merge pull request #45796 from nextcloud/release/28.0.7_rc1
28.0.7 RC1
2024-06-14 12:54:28 +02:00
Arthur Schiwon
b147ef8df1 Merge pull request #45865 from nextcloud/backport/45688/stable28
[stable28] Show non writable folders during move or copy
2024-06-14 12:53:28 +02:00
Arthur Schiwon
a20e883de3 build: assets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-14 11:05:01 +02:00
Louis Chemineau
6e9f04b59e fix(files): Show non writable folders during move or copy
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-14 11:03:13 +02:00
skjnldsv
e4aee6fbc3 fix(comments): vue-material-design-icons imports
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-14 11:02:27 +02:00
nextcloud-command
949a26c37f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-14 11:02:27 +02:00
Ferdinand Thiessen
fab4542b57 fix(comments): Use proper icon components instead of icon classes to fix dark mode
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-14 11:02:27 +02:00
Arthur Schiwon
3187425ca5 Merge pull request #45024 from nextcloud/man/backport/44839/stable28
[stable28] fix(files_sharing): Add one string for every share type + fix(sharingDetails): Show correct share target
2024-06-14 10:25:10 +02:00
John Molakvoæ
2bcf13ffd6 Merge pull request #45863 from nextcloud/backport/45861/stable28 2024-06-14 10:16:34 +02:00
Nextcloud bot
5a7e8a7f90 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-14 00:20:02 +00:00
F. E Noel Nfebe
22a2483362 Merge pull request #45604 from nextcloud/backport/45483/stable28
[stable28] Respect empty `expiryDate` value in server
2024-06-14 00:30:51 +01:00
nextcloud-command
deafcc4f3a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-13 17:41:07 +00:00
fenn-cs
530b45e96d test(Sharing): Integration test for no expiration set date for share
- Verify that explicitly sending empty `expireDate` param to server overwrite default

and sets not expiry date, if non is enforced.

- Update tests to avoid converting empty string to date.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-13 18:34:51 +02:00
fenn-cs
da7ac549f0 refactor(shareManager): Use constructor property promotion
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-13 18:34:51 +02:00
fenn-cs
0bee2a6fca fix(shareManager): Respect empty expireDate in server
If `expireDate` is an empty string and not `null` then the server should not set a default.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-13 18:34:51 +02:00
Robin Appelman
0ab1cc5f17 refactor: make share manager buildable
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-13 18:34:51 +02:00
Andy Scherzinger
e1af6af627 Merge pull request #45839 from nextcloud/backport/45649/stable28
[stable28] fix(ObjectStore): Fix regression when hostname is empty
2024-06-13 18:28:50 +02:00
Andy Scherzinger
bdf8dc3737 Merge pull request #45857 from nextcloud/backport/45172/stable28
[stable28] feat: add option to disable scanner transactions
2024-06-13 18:26:49 +02:00
Louis Chemineau
f0a46e6cdf fix(files): Ignore right click for default action
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-13 16:26:22 +02:00
fenn-cs
67965863a7 fix(sharingDetails): Show correct share target
The share details page should show the target email or user/server to which

the user is creating the share.

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

[skip ci]
2024-06-13 15:07:01 +01:00
Ferdinand Thiessen
e60fdc79c6 fix(files_sharing): Add one string for every share type to not assume any language
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-13 15:07:01 +01:00
Robin Appelman
44eba1c925 Merge pull request #45850 from nextcloud/backport/43531/stable28
[stable28] get child ids for folder in a separate query during move
2024-06-13 15:58:41 +02:00
Robin Appelman
e93017d308 feat: add option to disable scanner transactions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-13 14:11:18 +02:00
Robin Appelman
4314997a2a fix: get child ids for folder in a separate query during move
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-13 09:45:20 +00:00
Josh
d285adee2a fix(ObjectStore): handle empty S3 hostname
Fixes #45637

The support for s3-accelerate added in #44496 introduced a regression in AWS S3 environments when `hostname` is blank (which is a valid configuration w/ AWS since the hostname gets auto-generated).

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-06-13 11:22:58 +02:00
Arthur Schiwon
c23002bd76 Merge pull request #45807 from nextcloud/backport/45768/stable28
[stable28] Use isRetryable to catch retryable exceptions
2024-06-13 11:07:05 +02:00
John Molakvoæ
683ae3c2fd Merge pull request #45836 from nextcloud/backport/45251/stable28
[stable28] fix(files): do not rely on unique fileid
2024-06-13 10:33:43 +02:00
nextcloud-command
7c20360066 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-13 09:28:34 +02:00
skjnldsv
6f6f1ad2ed fix(files): fetch nodes if we have multiple of the same fileid in the store
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-13 09:28:34 +02:00
skjnldsv
e1248947fb fix(files): do not rely on unique fileid
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-13 09:28:34 +02:00
F. E Noel Nfebe
857b208c14 Merge pull request #45303 from nextcloud/backport/44464/stable28
[stable28] 44032 fix show new shares without refresh
2024-06-13 01:23:44 +01:00
Nextcloud bot
7c657e205f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-13 00:20:05 +00:00
nextcloud-command
34ff9db8eb chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-12 23:25:21 +00:00
fenn-cs
013768a9bc fix(files_sharing): Improve recursion in onNewLinShare
These changes fixes the issue of having the refresh the UI after share creation, as the share is not
immediately removed from the UI list.

Important changes

- The basis of checking wether a password/expire date is no longer based on config values alone
because the config is not expected in a share creation circle. Hence we check the configs and check
if the share object (this.share) has the expected values set. This way, once the required properties
are set, code control does not enter the block meant to handle the setting of required properties
unneccessarily.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-13 00:18:54 +01:00
fenn-cs
2b62e1794c refactor(ShareDetails): Prevent undefined errors for share.permissions
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-12 23:08:07 +01:00
Daniel
f7eadd8c71 Merge pull request #45823 from nextcloud/backport/45811/stable28
[stable28] test: add tests for ProfilePageController
2024-06-12 22:11:19 +02:00
Arthur Schiwon
9943f3ba46 Merge pull request #45774 from nextcloud/backport/45347/stable28
[stable28] fix: Only list remnants as disabled if option is enabled
2024-06-12 19:52:39 +02:00
Daniel Kesselberg
01a6c9119e test: add tests for ProfilePageController
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-06-12 19:35:45 +02:00
John Molakvoæ
82ee83a464 Merge pull request #45825 from nextcloud/backport/45571/stable28 2024-06-12 17:00:46 +02:00
John Molakvoæ (skjnldsv)
63ca843105 fix(files): also trigger new tab on file name middle click
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>

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

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-12 14:41:39 +00:00
John Molakvoæ
b9857b9a7f Merge pull request #45817 from nextcloud/backport/45698/stable28 2024-06-12 16:30:45 +02:00
Arthur Schiwon
b54668be35 Merge pull request #45704 from nextcloud/backport/43942/stable28
[stable28] fix(Session): avoid password confirmation on SSO
2024-06-12 14:31:37 +02:00
skjnldsv
b0c83ae91e chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-12 11:57:35 +00:00
provokateurin
0f9e5ddd6c fix(core): Return X-NC-IsCustomAvatar for guest avatars too
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-06-12 13:30:16 +02:00
skjnldsv
f1f2f5ca98 fix(files_sharing): dark avatar support
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-12 13:30:16 +02:00
skjnldsv
14c1b53b56 fix(dav): also return shared-with-me shares data
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-12 13:23:39 +02:00
skjnldsv
339fdfb6b5 fix(core): allow guest avatar fallback
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-12 13:23:39 +02:00
skjnldsv
d991eaed92 fix(files_sharing): fix parsing of remote shares
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-12 13:23:39 +02:00
John Molakvoæ
81e7b599a8 Merge pull request #45803 from nextcloud/backport/45764/stable28 2024-06-12 13:22:34 +02:00
Sanskar Soni
cc09bcf19e fix(files): handling numbered type owner name & id
Signed-off-by: Sanskar Soni <sanskarsoni300@gmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-12 09:49:47 +00:00
Arthur Schiwon
4ec174197f fix(Token): make new scope future compatible
- "password-unconfirmable" is the effective name for 30, but a draft
  name was backported.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-12 11:25:35 +02:00
Arthur Schiwon
86a496d589 fix(Session): avoid password confirmation on SSO
SSO backends like SAML and OIDC tried a trick to suppress password
confirmations as they are not possible by design. At least for SAML it was
not reliable when existing user backends where used as user repositories.

Now we are setting a special scope with the token, and also make sure that
the scope is taken over when tokens are regenerated.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-12 11:14:25 +02:00
John Molakvoæ
300d113319 Merge pull request #45665 from nextcloud/backport/45581/stable28 2024-06-12 10:27:55 +02:00
Louis Chemineau
536d1cc26a fix(files): Use isRetryable to catch retryable exceptions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-12 08:14:11 +00:00
Côme Chilliet
cade682752 fix: Only list remnants as disabled if option is enabled
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-12 09:59:22 +02:00
nextcloud-command
d8a10927ec chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-12 09:59:04 +02:00
John Molakvoæ (skjnldsv)
b967dcc041 fix(files): reset menu pos when opening in grid mode
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-06-12 09:55:38 +02:00
Andy Scherzinger
21ef938fbc Merge pull request #45799 from nextcloud/backport/45775/stable28
[stable28] fix(caldav): event links in shared calendar notifications
2024-06-12 09:08:25 +02:00
Nextcloud bot
88f2a30931 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-12 00:20:20 +00:00
Ferdinand Thiessen
d1eaf26ade Merge pull request #45793 from nextcloud/backport/45660/stable28
[stable28] fix(Mailer): Allow to enforce strict email format
2024-06-11 21:22:22 +02:00
Richard Steinmetz
051d94117f fix(caldav): event links in shared calendar notifications
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-06-11 18:42:56 +00:00
Ferdinand Thiessen
95cd3d59bd fix(Mailer): Allow to enforce strict email format
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-11 18:38:00 +02:00
Ferdinand Thiessen
9db32d1ef6 Merge pull request #45790 from nextcloud/backport/45781/stable28
[stable28] fix(search): tags redirect route
2024-06-11 18:25:20 +02:00
Arthur Schiwon
a427a409d6 build(hub): 28.0.7 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-11 17:05:13 +02:00
skjnldsv
3a11a49e48 fix(search): tags redirect route
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-11 16:56:43 +02:00
Andy Scherzinger
9cc641b13a Merge pull request #45719 from nextcloud/automated/noid/stable28-update-psalm-baseline
[stable28] Update psalm-baseline.xml
2024-06-11 16:00:49 +02:00
nextcloud-command
111d913121 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-06-11 14:12:53 +02:00
Andy Scherzinger
400d11d54f Merge pull request #45777 from nextcloud/backport/45669/stable28
[stable28] fix: Autodetect legacy filekey instead of trusting the header for legacy header
2024-06-11 14:02:39 +02:00
Louis Chemineau
71188dc3f2 test: Fix encryption test
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-11 11:53:57 +02:00
Côme Chilliet
9026c98243 fix: add default value for new flag $useDecryptAll on getFileKey
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 08:35:51 +00:00
Côme Chilliet
92e053aab3 fix: Autodetect legacy filekey instead of trusting the header for legacy header
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 08:35:51 +00:00
John Molakvoæ
436663f3c7 Merge pull request #44912 from nextcloud/backport/44838/stable28 2024-06-11 09:44:08 +02:00
Nextcloud bot
974c9f2e09 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-11 00:19:46 +00:00
Ferdinand Thiessen
9286eb32e4 Merge pull request #45658 from nextcloud/backport/44897/stable28
[stable28] fix(files): Close sidebar and update fileid when current node is deleted
2024-06-10 19:01:09 +02:00
Ferdinand Thiessen
83877b3c60 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-10 18:11:51 +02:00
Ferdinand Thiessen
892f17a7a8 feat(cypress): Add tests for files sidebar
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-10 18:11:45 +02:00
Ferdinand Thiessen
3808a5b056 fix(files): Update current fileid in route if that node was deleted
We do not change the view to the trash bin but stay in the current view,
so we need to update the current fileid on the route if that was deleted.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-10 17:48:09 +02:00
Ferdinand Thiessen
3c74559e4c fix(files): Close sidebar if shown node is deleted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-10 17:48:09 +02:00
Daniel
c750ed66a7 Merge pull request #45758 from nextcloud/backport/45120/stable28
[stable28] fix(dav): Don't log access control as error
2024-06-10 14:55:16 +02:00
Joas Schilling
c57df2777a fix(dav): Don't log access control as error
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-10 11:57:00 +00:00
Ferdinand Thiessen
19d11117a5 Merge pull request #45735 from nextcloud/ci/eol/update-workflow-stable28
[stable28] ci(eol): update workflow from template
2024-06-10 11:42:40 +02:00
Benjamin Gaussorgues
2691ceb575 Merge pull request #45727 from nextcloud/backport/45611/stable28 2024-06-10 11:42:25 +02:00
Joas Schilling
4d748b9f5a fix(sharing): Don't change the type of the controller argument
[EA] New value type (\DateTime) is not matching the resolved parameter type and might introduce types-related false-positives.

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-10 09:10:29 +01:00
fenn-cs
3c507773b7 fix(shareApiController): avoid duplicated expiryDate operations
`expireDate` can be set once and used anywhere needed, the current implementation,

duplicates this behavior which leads to `parseDate` receiving an a date object it

parsed and returend earlier in the createShare method.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-10 09:08:02 +01:00
fenn-cs
30900ae751 refactor(shareApiController): use contrusctor property promotion & DI logger
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-10 09:08:02 +01:00
Nextcloud bot
0ac234c4e8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-10 00:19:53 +00:00
Richard Steinmetz
ea6d0d350c ci(eol): update workflow from template
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-06-09 10:35:21 +02:00
Nextcloud bot
09abd43ee0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-09 00:19:35 +00:00
nextcloud-command
f698404d64 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-08 16:31:47 +00:00
Ferdinand Thiessen
280a9bdd21 fix(files): Ensure that focussed file is always scrolled right
Ensure the correct file is scrolled if the content changes,
this also sets a minimal height to the virtual scrolling area
so that the `scrollTop` can be set.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-08 15:09:18 +00:00
Ferdinand Thiessen
e6fc2e4a82 fix(files): Keep query when trigger the sidebar action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-08 15:09:18 +00:00
Ferdinand Thiessen
684c067511 fix(files): open-in-files action should also set openfile query
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-08 15:09:18 +00:00
Ferdinand Thiessen
5b1969b0f5 refactor(files): Fix TypeScript issues in FileEntryActions
* We filter the array in `enabledSubmenuActions` so we can be sure the action does have a parent
* Node attributes must be accessed using the `attributes` getter not the private `_attributes` property
* Cast action ref to correct component interface to make TypeScript happy

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-08 15:09:18 +00:00
Nextcloud bot
2770a56bb9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-08 00:19:27 +00:00
John Molakvoæ
aac7d33865 Merge pull request #45542 from nextcloud/backport/44664/stable28
[stable28] fix(dav): Rate limit address book creation
2024-06-07 13:42:33 +02:00
John Molakvoæ
4c7285623c Merge pull request #45294 from nextcloud/backport/44791/stable28 2024-06-07 12:18:35 +02:00
John Molakvoæ
fc66712d59 Merge pull request #44926 from nextcloud/backport/44039/stable28 2024-06-07 12:18:16 +02:00
Hamza Mahjoubi
aafab6987b fix(dav): Rate limit address book creation
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-06-07 12:14:42 +02:00
John Molakvoæ
bf904e7faf Merge pull request #44010 from nextcloud/backport/43252/stable28 2024-06-07 12:14:11 +02:00
John Molakvoæ
aeb17e825f Merge pull request #45198 from nextcloud/backport/45196/stable28 2024-06-07 12:12:23 +02:00
John Molakvoæ
1aeb49e74f Merge pull request #45110 from nextcloud/backport/45105/stable28 2024-06-07 12:01:47 +02:00
John Molakvoæ
378833e343 Merge pull request #45528 from nextcloud/backport/45014/stable28 2024-06-07 12:01:04 +02:00
John Molakvoæ
309697d5dc Merge pull request #44958 from nextcloud/backport/44884/stable28 2024-06-07 11:29:15 +02:00
John Molakvoæ
ca2081409e Merge pull request #45028 from nextcloud/backport/44972/stable28 2024-06-07 11:28:40 +02:00
fenn-cs
0633d9566c fix(unifiedSearch): Prevent broken avatars for federated users
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-07 11:28:14 +02:00
John Molakvoæ
415be1f4d2 Merge pull request #44990 from nextcloud/backport/44923/stable28 2024-06-07 11:26:19 +02:00
Christopher Ng
9da6adf917 fix: Fix truncation on public shares
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-06-07 11:25:36 +02:00
John Molakvoæ
7982b3bcea Merge pull request #44908 from nextcloud/backport/44805/stable28 2024-06-07 11:24:25 +02:00
Christopher Ng
0fd69a6851 fix(files): Display selected files count
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit a999544ff2)
2024-06-07 11:24:03 +02:00
Nextcloud bot
bf4d2ec50b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-07 00:35:32 +00:00
Andy Scherzinger
de4ce97ea0 Merge pull request #45674 from nextcloud/backport/45606/stable28
[stable28] fix(federatedfilesharing): import external federated share script
2024-06-06 16:05:41 +02:00
skjnldsv
d7f3dc390b fix(federatedfilesharing): import external federated share script
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-06 12:59:32 +00:00
Andy Scherzinger
7a9cb7fe9f Merge pull request #45689 from nextcloud/backport/45679/stable28
[stable28] fix(files_sharing): usage of NcTextField in SelectShareFolderDialogue
2024-06-06 14:49:16 +02:00
nextcloud-command
99af7042ee chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-06 11:32:38 +00:00
provokateurin
de7f1054eb fix(OC_Image): Set correct return type for exif_imagetype stub
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-06-06 12:52:09 +02:00
Louis Chemineau
6fb0ac6116 fix(files_sharing): usage of NcTextField in SelectShareFolderDialogue
The NcTextField needs a value property to be set.

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

[skip ci]
2024-06-06 10:20:37 +00:00
Nextcloud bot
c114b362c3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-06 00:21:06 +00:00
Benjamin Gaussorgues
393406bbae Merge pull request #44398 from nextcloud/backport/44075/stable28 2024-06-05 14:54:24 +02:00
Benjamin Gaussorgues
0283620f37 Merge pull request #45643 from nextcloud/backport/45632/stable28 2024-06-05 14:54:12 +02:00
Benjamin Gaussorgues
75d6cc518a Merge pull request #45646 from nextcloud/backport/45455/stable28 2024-06-05 14:53:59 +02:00
Nextcloud bot
a62a1faf3b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-05 09:56:25 +00:00
Christoph Wurst
402bb77753 fix(dav): Add retention time to sync token cleanup
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-06-04 19:07:01 +02:00
John Molakvoæ
a8d317942b Merge pull request #45663 from nextcloud/backport/45586/stable28 2024-06-04 17:14:09 +02:00
Ferdinand Thiessen
b84820387c fix(files): Only execute default action if there is an action to perform
Some files do not have a default action (can not be viewed and only downloaded).
If the `openfile` query is set on them the `handleOpenFile` will throw an error.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-04 14:23:52 +00:00
Benjamin Gaussorgues
54165f0811 Merge pull request #45052 from nextcloud/backport/44938/stable28 2024-06-04 16:18:00 +02:00
John Molakvoæ
86635c3965 Merge pull request #45622 from nextcloud/backport/45494/stable28 2024-06-04 15:48:39 +02:00
John Molakvoæ
a03262992f fix(core): remove unwanted unsupported browser import
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-04 13:29:27 +00:00
John Molakvoæ
490a4ff3ab fix(core): unsupported browser getRootUrl import
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-04 13:27:16 +00:00
John Molakvoæ (skjnldsv)
c0f0ec4693 fix(core): unsupported browser redirect url
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-06-04 13:27:16 +00:00
Anna Larch
fc33ee0527 fix(CalDAV): remove UNKNOWN from room / resource consideration
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-06-04 12:32:09 +02:00
Anna
13c4787193 Merge pull request #45640 from nextcloud/backport/45235/stable28
[stable28] fix(caldav): automatically delete outdated scheduling objects
2024-06-04 12:08:33 +02:00
provokateurin
4b4572acd9 fix(core): Add missing null value possibility to Resource and Reference richObject
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-06-04 09:32:09 +02:00
provokateurin
bba54b5556 fix(core): Fix NavigationEntry typing
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-06-04 09:31:04 +02:00
provokateurin
d96f8e0ab2 fix(NavigationManager): Make entry order always an integer
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-06-04 09:31:04 +02:00
provokateurin
43b0f1ceeb fix(INavigationManager): Fix psalm alias not set in the right place
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-06-04 09:31:04 +02:00
Robin Appelman
478b2859e6 feat: add request id as comment to all queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-04 07:50:58 +02:00
Josh
5ebd5626c5 Merge pull request #45059 from nextcloud/backport/44496/stable28
[stable28] feat: support "s3-accelerate" endpoint
2024-06-03 17:19:37 -04:00
Daniel
8c3376d609 Merge pull request #45567 from nextcloud/backport/45222/stable28
[stable28] CalDAV fix search with limit and time range
2024-06-03 17:44:47 +02:00
Anna Larch
57f7f0278e fix(caldav): automatically delete outdated scheduling objects
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-06-03 17:31:03 +02:00
yemkareems
0b39ab1c6d Merge pull request #45362 from nextcloud/backport/45355/stable28
[stable28] fix: delete user credentials stored in storages_credentials when user gets deleted
2024-06-03 18:38:15 +05:30
Daniel Kesselberg
0d920c87d4 feat(caldav): order the calendar objects by start date for search
Sorting the events by the start date leads to more predictable results for the search API consumers.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-06-03 12:18:19 +02:00
Daniel Kesselberg
4be308ab26 fix(caldav): event search with limit and timerange
Event recurrences are evaluated at runtime because the database only knows the first and last occurrence.

Given, a user created 8 events with a yearly reoccurrence and two for events tomorrow.
The upcoming event widget asks the CalDAV backend for 7 events within the next 14 days.

If limit 7 is applied to the SQL query, we find the 7 events with a yearly reoccurrence and discard the events after evaluating the reoccurrence rules because they are not due within the next 14 days and end up with an empty result even if there are two events to show.

The workaround for search requests with a limit and time range is asking for more row than requested and retrying if we have not reached the limit.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-06-03 12:18:19 +02:00
Daniel
06c01c568d Merge pull request #44197 from nextcloud/backport/44130/stable28
[stable28] fix(dav): Add occ command to fix missing caldav sync tokens
2024-06-03 11:16:24 +02:00
Git'Fellow
1a701ed86c Merge pull request #45588 from nextcloud/backport/36942/stable28
[stable28] unmark deleted users if their last login date is more recent than deleted date
2024-06-03 10:03:52 +02:00
Git'Fellow
37592233e1 Merge pull request #44980 from nextcloud/backport/44794/stable28
[stable28] fix(memcache): remove double $$ to fix error
2024-06-03 09:11:38 +02:00
Daniel
aac7365d7e Merge pull request #45349 from nextcloud/backport/45026/stable28
[stable28] Avoid updating the same oc_authtoken row twice
2024-06-02 22:06:38 +02:00
Ferdinand Thiessen
7b087eeff9 Merge pull request #45600 from nextcloud/backport/45538/stable28
[stable28] fix: Update `@nextcloud/files` to fix public link shares
2024-06-01 16:48:41 +02:00
Ferdinand Thiessen
34f63f0bc5 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-01 16:34:01 +02:00
Ferdinand Thiessen
5cb0ff8e51 fix(tests): Adjust tests for updated webdav library
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-01 16:31:44 +02:00
Ferdinand Thiessen
042b62f80a fix: Update @nextcloud/files to 3.4.0 to fix public link shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-01 16:30:09 +02:00
Pytal
8f7831deeb Merge pull request #45575 from nextcloud/fix/new-folder-refresh
[stable28] fix: Refresh file picker on folder creation
2024-05-31 16:10:04 -07:00
Christopher Ng
837b246c50 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-31 15:38:45 -07:00
Ferdinand Thiessen
dc1ca39f0f fix(deps): Update @nextcloud/event-bus to version 3.3.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 15:38:45 -07:00
Varun Patil
39ddfb07b5 fix(dav): multiple fixes in usage of webdav library
1. Refresh token on update
2. Fix some very weird imports
3. Patch fetch instead of request to prevent accessing impl details

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2024-05-31 15:38:45 -07:00
Christopher Ng
0f90cc97ca fix: Refresh file picker on folder creation
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-31 15:38:45 -07:00
Daniel
49b970470e Merge pull request #45225 from nextcloud/backport/44752/stable28
[stable28] Expose subscription calendars
2024-05-31 20:09:58 +02:00
Velwark
0ab72ee66d Update LoggerWrapperCache.php
Extra Dollar Sign caused errors in Nextcloud. Removing the Dollar Sign Solved the Problem.

Signed-off-by: Velwark <levinfrerich9@gmail.com>
2024-05-31 18:10:02 +02:00
Daniel Kesselberg
951a679788 feat(caldav): expose calendar subscriptions
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-05-31 17:58:45 +02:00
Christoph Wurst
9880800aee fix(auth): Update authtoken activity selectively
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-05-31 17:30:07 +02:00
Julius Härtl
41528b1541 fix: Always set last activity if we update the row of an authtoken anyways
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-05-31 17:30:07 +02:00
Julius Härtl
9b14de0950 docs: Update token_auth_activity_update default value to match implementation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-05-31 17:30:07 +02:00
Ferdinand Thiessen
981101f927 Merge pull request #45610 from nextcloud/backport/45577/stable28
[stable28] fix(theming): replace standard generic package icon by material design
2024-05-31 17:16:18 +02:00
John Molakvoæ
1fe620e734 fix(core): package-x-generic svg width and height
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-05-31 13:47:55 +00:00
Christoph Wurst
8dd067a763 fix(dav): Add occ command to fix missing caldav sync tokens
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-05-31 14:41:38 +02:00
Ferdinand Thiessen
67dfc8d34c Merge pull request #45598 from nextcloud/backport/45594/stable28
[stable28] fix(files): Ensure active file list entry is highlighted
2024-05-31 14:00:34 +02:00
nextcloud-command
a87f425b03 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-31 10:45:50 +00:00
Ferdinand Thiessen
4299f57d1d refactor(files): Consistently sort imports of FileEntryMixin
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 10:20:25 +00:00
Ferdinand Thiessen
d88d34c561 fix(files): Ensure entry with fileid is marked as active
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 10:20:25 +00:00
Benjamin Gaussorgues
46bf8b82df Merge pull request #45368 from nextcloud/backport/44763/stable28 2024-05-31 11:30:59 +02:00
Benjamin Gaussorgues
ca5cfdf88a fix(groups): allows to save group names with more than 64 characters
Mimic behaviour from LDAP users and add a hard limit to 255 characters

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-05-31 10:54:53 +02:00
Git'Fellow
d3b5db8176 Merge pull request #45591 from nextcloud/backport/45413/stable28
[stable28] fix(files): Don't fail if dir exists
2024-05-31 09:54:10 +02:00
Git'Fellow
4df77c6fa1 Try create folder first and check if it exists after
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-05-30 18:30:37 +00:00
Git'Fellow
fe459f9d74 fix(files): Try to create dir only if it not exists
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-05-30 18:30:37 +00:00
John Molakvoæ
bb05f26364 fix: php lint
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-05-30 16:53:47 +00:00
Robin Appelman
0cae558fa9 unmark deleted users if their last login date is more recent than deleted date
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-05-30 16:53:47 +00:00
John Molakvoæ
3bad1819dd Merge pull request #45578 from nextcloud/backport/45480/stable28 2024-05-30 17:48:57 +02:00
yemkareems
043c64aef1 fix: delete user credentials stored in storages_credentials when user gets deleted
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-05-30 15:00:28 +02:00
skjnldsv
3bbfa8328a fix(theming): replace standard generic package icon by material design
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-05-30 06:47:42 +00:00
Josh
8d2502aca2 Merge pull request #45214 from nextcloud/backport/45058/stable28
[stable28] perf(db): Sort data for IN before chunking
2024-05-29 11:02:26 -04:00
Christoph Wurst
66898f82f1 perf(db): Sort data for IN before chunking
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-05-29 08:39:44 -04:00
Josh
f0902dbabc Merge pull request #45205 from nextcloud/backport/45055/stable28
[stable28] fix(userstatus): catch unique constrain violation on revert
2024-05-29 08:08:31 -04:00
Daniel
82a53ae795 Merge pull request #45063 from nextcloud/backport/44670/stable28
[stable28] fix(session): Do not update authtoken last_check for passwordless
2024-05-29 14:03:09 +02:00
Christoph Wurst
3534f3dd7a fix(session): Do not update authtoken last_check for passwordless
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-05-29 13:23:05 +02:00
Git'Fellow
1a50eb42e8 Fix backport
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-05-29 10:55:28 +02:00
Christoph Wurst
64469efa29 fix(sharing): Avoid (dead)locking during orphan deletion
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>

[skip ci]
2024-05-29 10:55:28 +02:00
Ferdinand Thiessen
d125aa32cd Merge pull request #45552 from nextcloud/backport/45430/stable28
[stable28] Fix header menu icon color
2024-05-29 10:25:02 +02:00
Ferdinand Thiessen
b97cd77706 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-29 07:35:24 +00:00
Josh
824704d8b7 Merge pull request #45442 from nextcloud/backport/45390/stable28
[stable28] fix: Mark more configs as sensitive
2024-05-28 19:52:06 -04:00
Josh
36ba08ee2f Merge pull request #45289 from nextcloud/backport/44218/stable28
[stable28] feat: Limit email input to 255 chars
2024-05-28 18:21:23 -04:00
Joas Schilling
81805039d1 fix: Mark more configs as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-05-28 17:57:50 -04:00
Anna Larch
5188f08fad fix(userstatus): catch unique constrain violation on revert
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-05-28 17:44:27 -04:00
Josh
5b7331ab75 Merge pull request #45426 from nextcloud/backport/45406/stable28
[stable28] fix(contactsmenu): empty content margin
2024-05-28 17:33:35 -04:00
nextcloud-command
9b44c8d521 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-28 21:32:54 +00:00
fenn-cs
15115a4353 feat: Limit email input on auth pages to 255 chars
Excessively long emails reported make server unresponsive.

We could at some point, consider adding a configuration for sysadmins to bypass this setting
on their instance if they want.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-28 21:29:57 +00:00
Ferdinand Thiessen
8f0bbcd4e8 Merge pull request #45533 from nextcloud/backport/45419/stable28
[stable28] fix(files): Implement `SortingService` to fix sorting of files
2024-05-28 22:10:27 +02:00
Ferdinand Thiessen
59b85b811b fix(theming): When selected a background image make header color independent of primary color
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-28 15:32:19 +00:00
Ferdinand Thiessen
7de1cc786b chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-28 14:11:56 +02:00
Ferdinand Thiessen
1d811291a5 fix(files): Implement SortingService to fix sorting of files
The previously used library was parsing strings to try to detect dates,
but for filenames it makes no sense to parse them as dates.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-28 14:10:09 +02:00
Git'Fellow
91c1d0bf7e Fix backport
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-05-28 11:30:00 +02:00
Ferdinand Thiessen
5e24a34103 Merge pull request #45432 from nextcloud/backport/44062/stable28
[stable28] fix(files): properly reset preview component
2024-05-27 19:34:22 +02:00
Côme Chilliet
4607ff477b Merge pull request #45478 from nextcloud/backport/45370/stable28
[stable28] feat: Add back searching in disabled user list
2024-05-27 18:31:29 +02:00
nextcloud-command
303ffbf26d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-27 14:04:21 +00:00
Côme Chilliet
f15f51c2ce chore: Adapt @since version number in OCP for backport to 28
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-05-27 15:03:34 +02:00
Côme Chilliet
16c5b28649 fix: Update openapi spec for provisioning_api app
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-05-27 15:03:13 +02:00
Côme Chilliet
5fc46cd516 fix: Also search in email field for disabled users
To match what is done for Database backend for enabled users

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-05-27 15:03:07 +02:00
Côme Chilliet
896c539705 feat: Add back searching in disabled user list
When disabled users where moved to their own endpoint we overlooked
 search, so adding it back.
The search is done case-insensitive in uid and display name.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-05-27 15:03:03 +02:00
Robin Appelman
d1e53c64cc fix: forbid moving a folder into a subfolder of itself
Signed-off-by: Robin Appelman <robin@icewind.nl>

[skip ci]
2024-05-27 12:31:49 +00:00
nextcloud-command
626d51f870 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-27 12:04:47 +00:00
Richard Steinmetz
60e9c28bc9 fix(contactsmenu): empty content margin
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-26 01:28:33 +00:00
John Molakvoæ (skjnldsv)
6f74f5027a fix(files): properly reset preview component
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-05-25 20:35:18 -04:00
Christoph Wurst
1e9a7e4779 Merge pull request #45286 from nextcloud/backport/44457/stable28
[stable28] fix(contactsinteraction): Allow vCard download
2024-05-26 02:33:00 +02:00
John Molakvoæ
5481d81792 Merge pull request #45467 from nextcloud/release/28.0.6 2024-05-23 17:22:49 +02:00
skjnldsv
dccc7362b2 build(hub): 28.0.6
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-05-22 17:33:30 +02:00
Christoph Wurst
6f73e02be8 fix(contactsinteraction): Allow vCard download
Sabre calculates a header for the size of a vcard, therefore we have to
implement the size method.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-05-21 17:35:22 +02:00
Josh
278aafd4a4 Merge pull request #45282 from nextcloud/backport/45242/stable28
[stable28] fix(setupCheck): Only warn when memcache present w/o memcached
2024-05-16 21:59:43 -04:00
Louis
58711fbf3c Merge pull request #45327 from nextcloud/backport/45237/stable28
[stable28] perf(deleteAction): Queue delete requests
2024-05-16 19:44:40 +02:00
John Molakvoæ
4722123dfe Merge pull request #45335 from nextcloud/release/28.0.6_rc1 2024-05-16 18:57:00 +02:00
fenn-cs
c6a0f23bb5 perf(deleteAction): Queue delete requests
When multiple files are deleted at once, all the requests bombard the server
simultaneously, causing performance issues.

This commit adds queuing that limits the concurrency of these requests to 5
at a time.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-16 16:27:59 +00:00
Joas Schilling
b042aacd59 Merge pull request #45372 from nextcloud/backport/45236/stable28
[stable28] Hide 'updater.server.url' As It May Contain Enterprise Key
2024-05-16 16:51:36 +02:00
Joas Schilling
5c1c789040 Merge pull request #45359 from nextcloud/backport/45357/stable28
[stable28] fix: add ldap_exop_passwd function to sensitive value
2024-05-16 16:46:32 +02:00
Joas Schilling
55dd8087c4 Merge pull request #45339 from nextcloud/backport/44710/stable28
[stable28] fix(preview): check mime type before processing with Imagick
2024-05-16 16:42:05 +02:00
derschiw
a70d14aa3a fix(SystemConfig.php): Add 'updater.server.url' to Private Variables
Add "updater.server.url" to the privacy redacted values, as it may contain the enterprise key.

Signed-off-by: derschiw <37687705+derschiw@users.noreply.github.com>
2024-05-16 14:31:10 +00:00
Josh Richards
166b8b8135 fix(setupCheck): Only warn when memcache present w/o memcached
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-05-16 10:31:08 -04:00
yemkareems
140ca2bbec fix: add ldap_exop_passwd function to sensitive value
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-05-16 12:21:42 +00:00
John Molakvoæ
99d9244ef6 Merge pull request #45147 from nextcloud/backport/45138/stable28 2024-05-16 14:10:13 +02:00
Joas Schilling
9551fe5255 Merge pull request #45342 from nextcloud/backport/45340/stable28
[stable28] fix: Extend SVG reference check
2024-05-16 11:18:19 +02:00
Joas Schilling
794bf744d5 Merge pull request #45323 from nextcloud/backport/45321/stable28
[stable28] fix: Correctly check result of function
2024-05-16 10:16:14 +02:00
Joas Schilling
9b1216b744 Merge pull request #45319 from nextcloud/backport/45317/stable28
[stable28] fix(search): Limit maximum number of search results
2024-05-16 10:10:49 +02:00
Joas Schilling
5b07cfa5db fix: Extend SVG reference check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-05-16 10:03:54 +02:00
Varun Patil
312dc5612f fix(preview): check mime type before processing with Imagick
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2024-05-15 20:16:43 +00:00
skjnldsv
fa2c11e5c6 build(hub): 28.0.6 RC1
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-05-15 20:25:54 +02:00
Anna
10dfb76f28 Merge pull request #45312 from nextcloud/backport/45309/stable28
[stable28] fix(caldav): loop through all events for busy events
2024-05-15 13:07:15 +02:00
Joas Schilling
901be699e4 fix(search): Limit maximum number of search results
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-05-15 10:45:51 +02:00
Joas Schilling
9379fd9f70 fix: Correctly check result of function
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-05-15 10:40:15 +02:00
John Molakvoæ
1db0220de5 Merge pull request #45203 from nextcloud/backport/44939/stable28
[stable28] fix(settings): Save one HTTP request on enabling an app
2024-05-14 16:01:18 +02:00
Anna Larch
19f95cd10d fix(caldav): loop through all events for busy events
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-05-14 13:34:01 +00:00
Robin Appelman
d1d6e79375 test: adjust test to new permissions check logic
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-05-13 16:41:56 +02:00
Robin Appelman
dd5d75d86f fix: cleanup logic for getting the max reshare permissions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-05-13 16:41:09 +02:00
Côme Chilliet
7101ae8eab Merge pull request #45278 from nextcloud/backport/43794/stable28
[stable28] fix(files): handle multidimensional arrays in scanner
2024-05-13 12:15:52 +02:00
Josh
b62901131f fix(Files): Change how scanner diffs for changed metadata
Fixes #43408 

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-05-13 09:06:41 +00:00
Ferdinand Thiessen
2cbb3baf2a chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-11 16:11:56 +02:00
Ferdinand Thiessen
773823792b fix(settings): When testing server stability, request URL with trailing slash
This prevents one HTTP request for most situations (301 from `apps/files` to `apps/files/`)
and helps users with faulty reverse-proxy configuration.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-11 16:11:56 +02:00
Robin Appelman
2f0b200665 feat: add option to enable s3 acceleration
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-05-10 10:03:40 -04:00
Robin Appelman
623023c8e5 test: retry smb notify test a few times
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-05-10 09:59:39 -04:00
Nextcloud bot
efb03b726d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-09 00:20:23 +00:00
Joas Schilling
d3ac782399 Merge pull request #45230 from nextcloud/backport/45219/stable28
[stable28] fix(userstatus): Fix docs of user status manager
2024-05-08 20:55:00 +02:00
Joas Schilling
1550776a98 fix(userstatus): Fix docs of user status manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-05-08 07:26:46 +00:00
Nextcloud bot
2967c21465 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-08 00:21:13 +00:00
Joas Schilling
46db517ff4 Merge pull request #45201 from nextcloud/backport/45088/stable28
[stable28] fix(User\Manager): Avoid future collisions with updater/audit logs
2024-05-07 09:47:01 +02:00
Côme Chilliet
6ab53e23f9 Merge pull request #45133 from nextcloud/automated/noid/stable28-update-psalm-baseline
[stable28] Update psalm-baseline.xml
2024-05-07 09:09:36 +02:00
nextcloud-command
c3fa6b6f4e chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-05-07 02:25:32 +00:00
Nextcloud bot
bae9e2e6e1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-07 00:20:24 +00:00
Côme Chilliet
b649ee9a61 Merge pull request #45112 from nextcloud/backport/45106/stable28
[stable28] [stable29] fix(setupchecks): Fix opcache buffer check
2024-05-06 19:33:35 +02:00
Côme Chilliet
253167626a fix(setupchecks): Fix opcache buffer check
This was broken because of operator precedence.
Now using vars to make it readable and correct at the same time.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-05-06 18:02:57 +02:00
Côme Chilliet
7c6ba41b82 Merge pull request #45187 from nextcloud/automated/noid/stable28-fix-npm-audit
[stable28] Fix npm audit
2024-05-06 17:18:31 +02:00
Josh
9046cd9c0f fix(User\Manager): Avoid future collisions with updater/audit logs
Avoid future collisions for not yet created updater and audit log files (at least using default names).

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-05-06 14:31:49 +00:00
Joas Schilling
9517e56ec9 Merge pull request #45191 from nextcloud/backport/45093/stable28
[stable28] fix(session): Avoid race condition for cache::get() vs. cache::hasKey()
2024-05-06 16:30:06 +02:00
Ferdinand Thiessen
bf017c3c5d Merge pull request #44984 from nextcloud/backport/44982/stable28
[stable28] fix(provisioning_api): Show warning but do not fail when listing accounts in case of users removed from backend but still in database
2024-05-06 16:07:52 +02:00
Joas Schilling
f09f4ec8db fix(session): Avoid race condition for cache::get() vs. cache::hasKey()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-05-06 12:08:41 +02:00
Joas Schilling
afe8b9b1f1 Merge pull request #45017 from nextcloud/backport/45001/stable28
[stable28] fix(DAV): Migrate known exceptions to Sabre exceptions when copying
2024-05-06 07:59:24 +02:00
Nextcloud bot
24c2c0a307 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-06 00:20:31 +00:00
nextcloud-command
57469e85e9 chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2024-05-05 02:49:05 +00:00
Nextcloud bot
3e31eb6746 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-05 00:20:28 +00:00
Nextcloud bot
4d5059f8d1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-04 00:21:13 +00:00
Andy Scherzinger
6ea4be2942 Merge pull request #45170 from nextcloud/backport/45163/stable28
[stable28] fix(icons): Update files icon
2024-05-03 19:05:36 +02:00
provokateurin
af24912117 fix(icons): Update files icon
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-05-03 16:09:48 +02:00
Nextcloud bot
d1a0b1946c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-03 00:20:05 +00:00
Nextcloud bot
fc979cf3f2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-02 00:20:28 +00:00
Nextcloud bot
83a07e7193 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-01 00:20:45 +00:00
Ferdinand Thiessen
26372c429e Merge pull request #43412 from nextcloud/automated/noid/stable28-update-psalm-baseline
[stable28] Update psalm-baseline.xml
2024-04-30 18:14:59 +02:00
Côme Chilliet
9589ac4468 Merge pull request #45116 from nextcloud/backport/45104/stable28
[stable28] fix: Remove bogus code from query builder and fix parameter name
2024-04-30 17:24:00 +02:00
Côme Chilliet
706ec3b5b4 Merge pull request #45114 from nextcloud/backport/45107/stable28
[stable28] fix: Fix default values for ini var in lib/base.php
2024-04-30 16:20:49 +02:00
Côme Chilliet
8edf5eee74 Merge pull request #45119 from nextcloud/backport/45108/stable28
[stable28] fix(user_ldap): Fix a var name
2024-04-30 15:45:11 +02:00
Ferdinand Thiessen
ebf51cfed0 chore(tests): Update psalm baseline
Co-authored-by: GitHub <noreply@github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-30 15:23:03 +02:00
Côme Chilliet
f4420625f8 fix(user_ldap): Fix a var name
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 11:13:03 +00:00
Côme Chilliet
a3456b74be fix: Remove bogus code from query builder and fix parameter name
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 10:35:50 +00:00
Côme Chilliet
8915a984d3 fix: Fix default values for ini var in lib/base.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 10:12:34 +00:00
Côme Chilliet
229716939e fix(files): Fix ownership transfer encrypted files detection
Discovered by psalm update

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:52:24 +00:00
Nextcloud bot
3750072975 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-30 00:20:51 +00:00
Côme Chilliet
369247338b Merge pull request #44500 from nextcloud/backport/44484/stable28
[stable28] fix(share): Send correct share attributes upon share creation
2024-04-29 15:25:21 +02:00
Simon L
5b72d48cff Merge pull request #45039 from nextcloud/backport/45035/stable28
[stable28] fix: chunked upload leading to 0-byte files
2024-04-29 12:57:45 +02:00
Simon L.
c1a90cbfb9 fix: chunked upload leading to 0-byte files
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-04-29 11:10:28 +02:00
Nextcloud bot
0d64cff139 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-29 00:20:55 +00:00
Nextcloud bot
b12b6ba6c3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-28 00:20:34 +00:00
Nextcloud bot
4be7b83426 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-27 00:20:28 +00:00
nextcloud-command
a37aa0333c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-04-26 21:48:48 +00:00
fenn-cs
bbb28fd483 fix(share): Send correct share attributes upon share creation
- Send correct share attributes (`share.attributes`) to server upon creation.

- Delete parts of code that create or reference, `share.hasDownloadPermission`

(Not required by Share API)

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-04-26 20:59:57 +01:00
Nextcloud bot
4006d9961e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-26 00:21:20 +00:00
Benjamin Gaussorgues
0d911312f5 Merge pull request #45005 from nextcloud/release/28.0.5 2024-04-25 10:28:10 +02:00
Nextcloud bot
93c8d1df3b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-25 00:21:04 +00:00
Joas Schilling
f294ea13a8 fix(DAV): Migrate known exceptions to Sabre exceptions when copying
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-24 16:31:29 +00:00
Benjamin Gaussorgues
813d4650d5 build(hub): 28.0.5
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-04-24 09:43:08 +02:00
Nextcloud bot
fc8bbf6154 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-24 00:20:37 +00:00
Ferdinand Thiessen
e524bf3e85 fix(provisioning_api): Show warning but do not fail when listing accounts in case of users removed from backend but still in database
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Louis <louis@chmn.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-23 10:38:50 +00:00
Nextcloud bot
7da3f87817 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-23 00:21:02 +00:00
Nextcloud bot
a7b52f82f9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-22 00:21:18 +00:00
Nextcloud bot
1cb891c8fd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-21 00:20:48 +00:00
Nextcloud bot
8acbcf5edb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-20 00:20:22 +00:00
Nextcloud bot
7fca7ff774 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-19 00:20:45 +00:00
Benjamin Gaussorgues
10989fc367 Merge pull request #44874 from nextcloud/release/28.0.5_rc1 2024-04-18 21:15:13 +02:00
Sam Bull
6ff1f464ce fix: regression with updating read-only config
Signed-off-by: Sam Bull <git@sambull.org>
2024-04-18 19:01:50 +00:00
Benjamin Gaussorgues
0a5d9827f7 Merge pull request #44921 from nextcloud/backport/44904/stable28 2024-04-18 20:52:51 +02:00
Benjamin Gaussorgues
0a83089653 Merge pull request #44434 from nextcloud/backport/44417/stable28 2024-04-18 16:18:08 +02:00
Ferdinand Thiessen
82e53690b8 fix(files): Also restore shares after ownership transfer for object storage
When a file is moved between different storages then the file id is not (always) preserved.
This means the file id has to be adjusted for all shares.

So in case the file id does not exist anymore we try to find the new file id based on the
target path of the transfer and the path suffix of the share.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-18 14:01:40 +00:00
Ferdinand Thiessen
a015016236 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-18 12:58:06 +02:00
Ferdinand Thiessen
f8d451f95f fix(files): When copying nodes only add the copy suffix for file before file extension
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-18 12:53:28 +02:00
Joas Schilling
2a9a5b3513 Merge pull request #44891 from nextcloud/backport/44889/stable28
[stable28] fix(files): Also skip cross storage move with access control
2024-04-18 10:53:43 +02:00
Joas Schilling
0095ce7723 fix(CI): Suppress psalm UndefinedClass
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-18 09:32:35 +02:00
Benjamin Gaussorgues
9b31ff5077 Merge pull request #44867 from nextcloud/backport/44661/stable28 2024-04-18 09:09:18 +02:00
Nextcloud bot
243a98adb6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-18 00:20:50 +00:00
Ferdinand Thiessen
f533e04e7f chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-18 00:09:17 +02:00
Ferdinand Thiessen
2cf4f08353 fix(files): Do not show files from hidden folders in "Recent"-view if hidden files are disabled by user
Needed to adjust the store creation to be able to inject pinia before the vue app is initialized.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-18 00:06:42 +02:00
Ferdinand Thiessen
6818790fd3 Merge pull request #44883 from nextcloud/backport/44882/stable28
[stable28] fix(files): Clear search filter when changing directory or view
2024-04-17 22:26:43 +02:00
Ferdinand Thiessen
5656a04690 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-17 21:22:48 +02:00
Ferdinand Thiessen
068ab4130f fix(files): Ensure search query is cleared when changing view or directory
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-17 21:22:47 +02:00
Joas Schilling
1dcc48ac4f fix(files): Also skip cross storage move with access control
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-17 14:32:55 +00:00
Ferdinand Thiessen
8c87769b8d Merge pull request #44416 from nextcloud/backport/44407/stable28
[stable28] fix(files): Do not escape file names in the file picker
2024-04-17 16:13:42 +02:00
Benjamin Gaussorgues
63c970030a Merge pull request #44296 from nextcloud/backport/44154/stable28 2024-04-17 14:23:29 +02:00
Ferdinand Thiessen
1f0ea58148 Merge pull request #44879 from nextcloud/backport/44869/stable28
[stable28] fix(systemtags): Use built-in input label to satisfy a11y check of NcSelect
2024-04-17 14:19:45 +02:00
Ferdinand Thiessen
721521ff01 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-17 14:19:03 +02:00
Ferdinand Thiessen
9c207cd4e7 fix(cypress): Adjust cypress tests and add common functions for files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-17 14:18:46 +02:00
Ferdinand Thiessen
df83e9dcca chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-17 12:55:43 +02:00
Ferdinand Thiessen
200573445b fix(systemtags): Use built-in input label to satisfy a11y check of NcSelect
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-17 10:47:59 +00:00
Ferdinand Thiessen
4767830d7a fix(files): Do not escape file names for filepicker buttons
The text is already escaped by Vue, so we should not escape or sanitize the filename.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-17 12:40:01 +02:00
Benjamin Gaussorgues
8d91e071d7 Merge pull request #44473 from nextcloud/backport/44017/stable28 2024-04-17 11:24:12 +02:00
Florian Klinger
ca655ba100 fix: add check for app_api_system session flag to bypass rate limit
Signed-off-by: Florian Klinger <florian.klinger@nextcloud.com>
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-04-17 11:22:05 +02:00
Benjamin Gaussorgues
88859aa41c Merge pull request #44461 from nextcloud/backport/44394/stable28 2024-04-17 11:19:04 +02:00
Benjamin Gaussorgues
c4370b625b Merge pull request #44495 from nextcloud/backport/44483/stable28 2024-04-17 11:18:21 +02:00
Benjamin Gaussorgues
66abfb4322 Merge pull request #44489 from nextcloud/backport/44474/stable28 2024-04-17 11:17:14 +02:00
Benjamin Gaussorgues
2981694fc9 Merge pull request #44446 from nextcloud/backport/43057/stable28 2024-04-17 10:06:14 +02:00
Benjamin Gaussorgues
5fb2d7e73f build(hub): 28.0.5 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-04-17 09:51:01 +02:00
Nextcloud bot
2001e14157 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-17 00:21:00 +00:00
Ferdinand Thiessen
7e14335d46 Merge pull request #44851 from nextcloud/backport/44847/stable28
[stable28] fix(files): Focus filename input in new-node dialog when opened
2024-04-16 16:47:23 +02:00
Ferdinand Thiessen
2392602c30 Merge pull request #44268 from nextcloud/backport/setupchecks-3/stable28
[stable28] Migrate setup checks to new API - round 3
2024-04-16 15:19:07 +02:00
nextcloud-command
7c6e68ebf3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-04-16 12:38:08 +00:00
Ferdinand Thiessen
65d09bdfbd fix(files): Focus filename input in new-node dialog when opened
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-16 11:58:26 +00:00
Ferdinand Thiessen
cfd7e99240 Merge pull request #44844 from nextcloud/backport/44834/stable28
[stable28] fix(files): Inherit some node attributes when creating new nodes to preserve shared state
2024-04-16 12:56:48 +02:00
nextcloud-command
96e200ff49 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-04-16 10:18:55 +00:00
Ferdinand Thiessen
df3b2ebbfd fix(files): Inherit some node attributes when creating new nodes to preserve shared state
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-16 12:02:30 +02:00
Ferdinand Thiessen
3091c31d6e fix(files): Sanitize share-types attribute in download action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-16 09:53:42 +00:00
F. E Noel Nfebe
cab9fc22ba Merge pull request #44490 from nextcloud/backport/44291/stable28
[stable28] enh: Send empty expireDate when not expireDate set
2024-04-16 10:45:06 +01:00
nextcloud-command
2611c01ad7 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-04-16 09:10:58 +00:00
fenn-cs
713f2667c1 fix(share): Send empty expireDate when not expireDate set
When creating a new share, if the user unchecks "Set expiry date"

no `expireDate` is sent to the server.

However, the server then assumes the default configured, hence better

to send an empty value.

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

[skip ci]
2024-04-16 09:51:39 +01:00
Pytal
f88f3b7473 Merge pull request #44815 from nextcloud/backport/44795/stable28
[stable28] chore(deps): Bump @nextcloud/vue to v8.11.2
2024-04-15 17:25:30 -07:00
Christopher Ng
de4e4e17ce test(jest): Transform unist modules
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 43af7923aa)
2024-04-15 16:48:55 -07:00
Christopher Ng
52dffb820d chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-15 16:48:55 -07:00
Christopher Ng
ebb4a34f20 chore(deps): Bump @nextcloud/vue to v8.11.2
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 45e2220e24)
2024-04-15 16:45:40 -07:00
Pytal
d06eb571bd Merge pull request #44837 from nextcloud/fix/stable28-upload
[stable28] chore: Update @nextcloud/upload to 1.1.1 to fix uploading large files
2024-04-15 16:27:32 -07:00
nextcloud-command
cfb2b77406 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-04-15 23:14:02 +00:00
Ferdinand Thiessen
d45564558d chore: Update @nextcloud/upload to 1.1.1 to fix uploading large files
* Backport of #44835
* Server part of #43627

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-15 18:28:55 +02:00
Eduardo Morales
bf78bf3ee0 Merge pull request #44817 from nextcloud/automated/noid/stable28-fix-npm-audit
[stable28] Fix npm audit
2024-04-15 11:17:18 -05:00
nextcloud-command
33dccde4f8 chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2024-04-15 08:35:30 -05:00
Nextcloud bot
ab5c38b9ed Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-15 00:19:57 +00:00
F. E Noel Nfebe
eed0a66885 Merge pull request #44779 from nextcloud/backport/44771/stable28
[stable28] fix(federation): give some time to prepare both servers
2024-04-14 11:59:51 +01:00
Nextcloud bot
67b4ddd276 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-14 00:20:14 +00:00
Nextcloud bot
c01e413c15 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-13 00:21:11 +00:00
Nextcloud bot
d7480e709e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-12 00:20:28 +00:00
Arthur Schiwon
ae87997861 Merge pull request #44352 from nextcloud/backport/44350/stable28
[stable28] fix(LDAP): escape DN on check-user
2024-04-11 14:32:31 +02:00
Arthur Schiwon
4c59bc1b9d fix(federation): give some time to prepare both servers
- when this background job runs, while the current server was not being
  added as trusted_server in the other instance, yet, the secret sharing
  would not be attempted again, without visual feedback.
- the change allows 5 attempts, which gives more than 20minutes to
  complete. More do not really help as the endpoint is brute force
  protected.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-04-11 09:53:41 +00:00
Nextcloud bot
9051cc54b2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-11 00:21:05 +00:00
Ferdinand Thiessen
0ca99b026d Merge pull request #44759 from nextcloud/backport/44450/stable28
[stable28] fix(breadcrumbs): improved rendering of breadcrumb progress bar
2024-04-10 15:56:16 +02:00
Eduardo Morales
667266044f chore(assets): recompile assets
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-04-10 07:57:32 -05:00
Ferdinand Thiessen
fd1ee85fd5 fix(files): Hide full view name on small mobile to prevent overflow
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-04-10 07:57:32 -05:00
Eduardo Morales
941cb02f73 fix(breadcrumbs): Improved breadcrumb progress bar mobile rendering
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-04-10 07:57:32 -05:00
Arthur Schiwon
a5acdf24ed docs(LDAP): add info on stored DN form
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-04-10 10:05:23 +00:00
Arthur Schiwon
4d12cd6eac fix(LDAP): escape DN on check-user
the DN has to be escaped differently when used as a base and we were
missing it here in the search method call in the check-user command.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-04-10 10:05:23 +00:00
Benjamin Gaussorgues
b392041b42 Merge pull request #44750 from nextcloud/backport/44730/stable28 2024-04-10 08:20:32 +02:00
Nextcloud bot
87f3d2140e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-10 00:20:04 +00:00
Robin Appelman
da114d5c7d test: add test for jail watcher
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-04-10 01:21:01 +02:00
Robin Appelman
4bd5b49077 fix: use proper jailed patch in watcher
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-04-10 01:21:01 +02:00
Louis
16c07f022f Merge pull request #44734 from nextcloud/backport/44714/stable28
[stable28] Call davGetFavoritesReport after the registration of propfind properties
2024-04-09 13:58:33 +02:00
Ferdinand Thiessen
fe643bb473 Merge pull request #44738 from nextcloud/backport/stable28/44736
[stable28] fix: Fix avatar images
2024-04-09 11:18:07 +02:00
Louis Chemineau
a07456c413 fix(files): Call davGetFavoritesReport after the registration of propfind properties
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-04-09 10:34:23 +02:00
Nextcloud bot
17dce74197 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-09 00:20:23 +00:00
Christopher Ng
eb063928f1 test: Update tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-08 17:09:26 -07:00
Christopher Ng
dbb6213c1a fix: Fix avatar images
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-08 17:09:26 -07:00
Julien Veyssier
f89dabb828 Merge pull request #44343 from nextcloud/backport/43993/stable28
[stable28] Fix default text processing provider in AI settings
2024-04-08 12:07:56 +02:00
Julien Veyssier
52de9ea515 fix: when no AI setting has been set, make sure the selected text processing provider is the same as the one that will be used
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-04-08 10:36:55 +02:00
Nextcloud bot
6528cdd78e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-08 00:20:20 +00:00
Nextcloud bot
0790e3f849 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-07 00:20:27 +00:00
Joas Schilling
1f1a9cbc05 Merge pull request #44691 from nextcloud/backport/44678/stable28
[stable28] fix(3rdparty): Add a CI job to check 3rdparty integrity
2024-04-06 14:50:36 +02:00
Nextcloud bot
e958272589 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-06 00:20:58 +00:00
Julius Härtl
db0ce19fab Merge pull request #44679 from nextcloud/backport/42597/stable28 2024-04-05 19:31:28 +02:00
Joas Schilling
eea394bbe3 fix(3rdparty): Add a CI job to check 3rdparty integrity
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-05 15:20:48 +00:00
Ferdinand Thiessen
7f36525c01 Merge pull request #44672 from nextcloud/backport/44662/stable28
[stable28] fix(deps): Update phpseclib from 2.0.45 to 2.0.47
2024-04-05 15:31:09 +02:00
Julius Härtl
5ec8f0b075 perf: Avoid updating the folder size if we know the size difference
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-04-05 12:57:39 +00:00
Ferdinand Thiessen
6747479570 fix: Update psalm baseline to ignore setKey being internal of phpseclib
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-05 14:26:43 +02:00
Ferdinand Thiessen
421c3bd2b5 fix(deps): Update phpseclib from 2.0.45 to 2.0.47
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-05 14:26:41 +02:00
Nextcloud bot
90e68f0ff5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-05 00:20:06 +00:00
John Molakvoæ
85ebbab6ae Merge pull request #43834 from nextcloud/backport/43325/stable28 2024-04-04 19:41:18 +02:00
Eduardo Morales
e22b67d02c fix(files): fixed breadcrumbs dissapearing on narrow screens
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-04-04 18:40:23 +02:00
Andrii Rublov
1a845dd0c0 feat: hide breadcrumbs when an upload is ongoing on narrow screen #40942
Signed-off-by: Andrii Rublov <airublev@outlook.com>
2024-04-04 18:32:40 +02:00
John Molakvoæ
233e8639cc Merge pull request #44652 from nextcloud/backport/44409/stable28 2024-04-04 17:59:00 +02:00
skjnldsv
7b326c1d4e chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 17:04:31 +02:00
skjnldsv
e6acc31692 chore: add cypress video recording
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 17:04:30 +02:00
skjnldsv
b2737451b1 fix(files): breadcrumbs native drop event
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 17:04:30 +02:00
skjnldsv
2a6185e32a chore: add drag and drop recursion and FilesystemAPI testing
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 17:04:30 +02:00
skjnldsv
b22829d43d chore: adjusting cypress drag and drop tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 17:04:30 +02:00
skjnldsv
4becc2676f feat(files): unify drag and drop methods
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 17:04:30 +02:00
skjnldsv
4f27c0bb25 fix(files): breadcrumbs dnd
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 17:04:30 +02:00
John Molakvoæ
3127999a44 Merge pull request #44655 from nextcloud/backport/44332/stable28 2024-04-04 16:47:24 +02:00
Côme Chilliet
f95a800de2 chore(dav): Fix tests for length headers on upload
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-04 12:49:28 +00:00
Côme Chilliet
85491ff1e8 fix(dav): Fix quota check for chunk upload
Do not ignore OC-Total-Length when Content-Length and
 X-Expected-Entity-Length are missing

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-04 12:49:28 +00:00
Nextcloud bot
6f353f3919 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-04 00:20:23 +00:00
Louis
442dfb7053 Merge pull request #44561 from nextcloud/backport/44069/stable28
[stable28] Split live photo listener to extract trashbin specific code into its own listener
2024-04-03 22:35:35 +02:00
Pytal
362d6b3ec2 Merge pull request #44583 from nextcloud/backport/44512/stable28
[stable28] feat(trashbin): Show original location of deleted file
2024-04-03 12:10:05 -07:00
nextcloud-command
360400c656 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-04-03 11:38:43 -07:00
Christopher Ng
55c5408fba feat(trashbin): Show original location of deleted file
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 1ae78095c8)
2024-04-03 11:38:43 -07:00
Louis Chemineau
2a26e46c7c fix(files): Do not require files_trashbin in live photo sync listener
Fix https://github.com/nextcloud/server/issues/43299

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-04-03 19:04:42 +02:00
Louis
e8e6d28e5e Merge pull request #44633 from nextcloud/backport/44604/stable28
[stable28] fix(encryption): Clicking default module in UI sets bogus value
2024-04-03 17:58:53 +02:00
Benjamin Gaussorgues
927fd65c27 Merge pull request #44605 from nextcloud/backport/44230/stable28 2024-04-03 16:04:08 +02:00
Varun Patil
d41918f4ab fix(config): correctness issues in reading
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2024-04-03 08:19:20 -05:00
Pytal
e655e52ca0 Merge pull request #44599 from nextcloud/backport/43589/stable28
[stable28] fix(files_reminders): Fix translations
2024-04-03 04:24:22 -07:00
Josh
e7002b4738 fix(encryption): Clicking default module in UI sets bogus value
Fixes #44532

Likely fixes #43123

Signed-off-by: Josh <josh.t.richards@gmail.com>

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

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-04-03 09:33:02 +00:00
Nextcloud bot
be17be68f0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-03 00:20:05 +00:00
Ferdinand Thiessen
7e9ab7fcfc Merge pull request #44616 from nextcloud/backport/44575/stable28
[stable28] fix(files_sharing): Disable autocomplete for share label and password
2024-04-02 15:47:36 +02:00
Joas Schilling
b261cc3cc9 Merge pull request #44610 from nextcloud/backport/44526/stable28
[stable28] fix(files): Fix translation of "Delete file"
2024-04-02 15:16:21 +02:00
nextcloud-command
015faf58c0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-04-02 12:17:34 +00:00
Côme Chilliet
8d36336bc9 Merge pull request #44615 from nextcloud/backport/44612/stable28
[stable28] fix(tests): Fix tests when daytime saving time change happened recently
2024-04-02 14:15:36 +02:00
Ferdinand Thiessen
697dafaabc fix(files_sharing): Disable autocomplete for share label and password
Prevent browsers - as good as possible - from filling in user credentials as share label and password.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-02 14:10:19 +02:00
Côme Chilliet
d6066bf73d fix(tests): Fix tests when daytime saving time change happened recently
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-02 11:16:10 +00:00
Joas Schilling
64d1fb024c chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-02 10:09:09 +02:00
Joas Schilling
e08d77d778 fix(files): Fix translation of "Delete file"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-02 10:01:30 +02:00
Nextcloud bot
0e290ca9a2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-02 00:19:47 +00:00
nextcloud-command
7ab0f45111 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-04-01 18:40:21 +00:00
Christopher Ng
8cec4fe9cb fix(files_reminders): Fix translations
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-01 18:35:03 +00:00
Nextcloud bot
8db8c615d0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-01 00:19:50 +00:00
Nextcloud bot
b5e233eb95 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-31 00:19:49 +00:00
Nextcloud bot
cfe54be838 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-30 00:20:48 +00:00
Ferdinand Thiessen
ae28d13778 Merge pull request #44570 from nextcloud/backport/44569/stable28
[stable28] fix(files_sharing): Create passwords when enforced for mail shares
2024-03-29 23:43:22 +01:00
nextcloud-command
edc40243cc chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-03-29 14:43:00 +00:00
Ferdinand Thiessen
237e78c84e fix(files_sharing): Create passwords when enforced for mail shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-29 14:36:02 +00:00
Ferdinand Thiessen
6044442ecf Merge pull request #44413 from nextcloud/backport/44408/stable28
[stable28] fix(JSRecourceLocator): Add missing slash after server root
2024-03-29 14:09:13 +01:00
Ferdinand Thiessen
cee151a14f fix(JSRecourceLocator): Add missing slash after server root
The `OC::$SERVERROOT` is always returned without a trailing slash, so we need to add a slash between server root and apps directory.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-29 08:27:46 -04:00
Nextcloud bot
724a62daee Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-29 00:24:46 +00:00
Louis
a357c065bd Merge pull request #44551 from nextcloud/backport/44504/stable28
[stable28] Add retry logic to cover deadlock situations during move operations
2024-03-28 16:45:32 +01:00
Joas Schilling
79be101eb7 Merge pull request #44541 from nextcloud/backport/44530/stable28
[stable28] fix(security): Update expiration date in security.txt
2024-03-28 14:03:45 +01:00
Louis Chemineau
ad2b367dbd feat(files)): Add retry logic to cover deadlock situations when moving many files
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-03-28 13:01:38 +00:00
Joas Schilling
74b952a7aa fix(security): Update expiration date in security.txt
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-03-28 11:05:34 +00:00
John Molakvoæ
6403fd1828 Merge pull request #44525 from nextcloud/release/28.0.4 2024-03-28 08:54:13 +01:00
skjnldsv
2e24e4c57e build(hub): 28.0.4
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-03-28 08:36:30 +01:00
Joas Schilling
890ad54eaf Merge pull request #44522 from nextcloud/automated/noid/stable28-update-code-signing-crl
[stable28] fix(security): Update code signing revocation list
2024-03-28 07:49:00 +01:00
nextcloud-command
9d3ea025c9 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2024-03-28 02:15:30 +00:00
Nextcloud bot
b9bd149534 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-28 00:19:17 +00:00
Nextcloud bot
49a2efe22c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-27 00:20:21 +00:00
Ferdinand Thiessen
3203db8160 fix(settings): Also verify that trusted_proxies only contains IP addresses (with range)
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-26 17:41:06 +00:00
Richard Steinmetz
e55f08372f fix(preview): webp preview format
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-03-26 14:18:52 +00:00
Robert C. Schaller
823a07bb1d fix(dav): wrong comparison method between two events
Old comparison implementation compares each element of the array against each other with no respect for the associated array label, which leads to wrongful removals because one value is accidentally present in a completely different label. New comparison works 'by-label' individually.

Partly fixes #41084 because changes between 'SEQUENCE' not present, 'SEQUENCE:0' and 'SEQUENCE:1' were not detected in the old implementation and thus no email update sent.

Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Robert C. Schaller <gtbc_robert.schaller@rsxc.de>
2024-03-26 08:49:34 +00:00
Joas Schilling
bfa6ef8497 Merge pull request #44469 from nextcloud/backport/44388/stable28
[stable28] chore(ci): update block merge EOL workflow
2024-03-26 09:41:45 +01:00
Benjamin Gaussorgues
c1ce8e9efd chore(ci): update block merge EOL workflow
See nextcloud/.github#329

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-03-26 00:28:40 +00:00
Nextcloud bot
e54a0e1ca4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-26 00:19:32 +00:00
Ferdinand Thiessen
2cabc708fb fix(DB): Sanitize host parameter for postgres databases when IPv6 address is passed
Doctrine is using `pg_connect` with the `host` parameter, this does not allow IPv6 addresses in URI notation.
So we need to extract the IP address and pass it directly

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-25 23:55:04 +01:00
Stephan Orbaugh
08444f45f1 Merge pull request #44320 from nextcloud/backport/39990/stable28
[stable28] add some recrusive detection/prevention
2024-03-25 15:27:27 +01:00
Benjamin Gaussorgues
db00cd54ba feat(perf): add cache for authtoken lookup
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-03-25 08:37:00 +00:00
Nextcloud bot
d1a7e88605 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-25 00:20:09 +00:00
Nextcloud bot
0645383847 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-24 00:20:09 +00:00
John Molakvoæ
2e0a7648cf Merge pull request #44420 from nextcloud/backport/44357/stable28 2024-03-23 10:32:20 +01:00
Nextcloud bot
d4f71ef1ec Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-23 00:19:28 +00:00
Robin Appelman
93dc9fca32 fix: add extra check to ensure wrapped shared storage is set
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-22 19:46:00 +00:00
Robin Appelman
e2eb5eec3c fix: log error when default getWrapperStorage would return null
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-22 19:46:00 +00:00
Robin Appelman
7d98e83e3f fix: add some recrusive detection/prevention
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-22 17:17:57 +01:00
Nextcloud bot
32ea6058ba Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-22 00:19:24 +00:00
Benjamin Gaussorgues
3c1798dad4 Merge pull request #44373 from nextcloud/release/28.0.4_rc1 2024-03-21 20:42:09 +01:00
Julius Härtl
82bcbce12c Merge pull request #43816 from nextcloud/backport/43060/stable28
[stable28] fix: Allow to disable multipart copy on external s3 storage
2024-03-21 19:05:07 +01:00
Julius Härtl
d0e26cfd57 fix: Allow to disable multipart copy on external s3 storage
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-21 16:45:33 +01:00
Andy Scherzinger
1b237b19f1 Merge pull request #44386 from nextcloud/backport/44360/stable28
[stable28] fix(caldav): add EXDATE and EXRULE to confidential object
2024-03-21 16:35:28 +01:00
Andy Scherzinger
4af56d52d5 Merge pull request #44382 from nextcloud/backport/44381/stable28
[stable28] fix(workflowengine): Use correct event names to make search for groups work again
2024-03-21 15:55:36 +01:00
Andy Scherzinger
fb3d58d4a5 Merge pull request #44377 from nextcloud/backport/44376/stable28
[stable28] fix(dav): ACLs for shared addressbooks
2024-03-21 15:55:23 +01:00
Anna Larch
2e0eb60177 fix(caldav): add EXDATE and EXRULE to confidential object
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-03-21 13:39:49 +00:00
Ferdinand Thiessen
1928853656 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-21 14:32:56 +01:00
Ferdinand Thiessen
15a87d9251 fix(workflowengine): Use correct event for searching for groups
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-21 13:29:24 +00:00
Christoph Wurst
e6df2a4981 fix(dav): ACLs for shared addressbooks
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-03-21 11:56:42 +01:00
Côme Chilliet
157881412b Merge pull request #44298 from nextcloud/backport/44297/stable28
[stable28] Forbid tagging readonly files
2024-03-21 11:45:01 +01:00
John Molakvoæ
191b977fb9 Merge pull request #44285 from nextcloud/backport/44279/stable28 2024-03-21 10:21:22 +01:00
Benjamin Gaussorgues
bf6ae162a1 build(hub): 28.0.4 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-03-21 08:52:50 +01:00
Nextcloud bot
ee37fd509b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-21 00:20:37 +00:00
Stephan Orbaugh
8c0eecd2ca Merge pull request #44347 from nextcloud/backport/44339/stable28
[stable28] fix(share): use share owner to get ownership
2024-03-20 14:55:42 +01:00
Maxence Lange
426aecfc42 fix(share): use share owner to confirm reshare
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-03-20 11:09:50 +00:00
Nextcloud bot
2255a7a8b9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-20 00:19:33 +00:00
Joas Schilling
5782313297 Merge pull request #44336 from nextcloud/backport/44276/stable28
[stable28] fix(config): Make sure user keys are strings
2024-03-19 20:26:32 +01:00
Christoph Wurst
3eb8082f0c fix(config): Make sure user keys are strings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-03-19 17:30:47 +00:00
Ferdinand Thiessen
6761c0a826 Merge pull request #44313 from nextcloud/backport/44305/stable28
[stable28] fix(federatedfilesharing): Use correct language file to render notifi…
2024-03-19 14:56:20 +01:00
Joas Schilling
b6f8fb3caa fix(sharing): Align wording for declining a share
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-03-19 11:21:27 +00:00
Joas Schilling
9880016870 fix(federatedfilesharing): Use correct language file to render notification
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-03-19 11:21:26 +00:00
Côme Chilliet
7f50e5f2d8 chore: Break closure call on two lines to make it readable
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-19 09:08:00 +00:00
Côme Chilliet
52aa280735 fix(systemtags): Forbid tagging of readonly files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-19 09:08:00 +00:00
John Molakvoæ
6209b6e304 Merge pull request #44053 from nextcloud/backport/43086/stable28 2024-03-19 09:14:58 +01:00
John Molakvoæ
2b6affcd56 Merge pull request #44265 from nextcloud/backport/30417/stable28 2024-03-19 09:14:16 +01:00
Nextcloud bot
836af3c179 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-19 00:20:00 +00:00
Robin Appelman
e286622d0b fix: ensure nested mount points are handled in the correct order
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-18 18:03:24 +00:00
Ferdinand Thiessen
7186183140 Merge pull request #44273 from nextcloud/backport/44254/stable28
[stable28] fix(files): Adjust dropservice to work with Blink engine
2024-03-18 16:38:28 +01:00
Ferdinand Thiessen
a5922fd979 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-18 14:43:50 +01:00
Ferdinand Thiessen
1ee4a815ff fix(files): Adjust files drop to work with Blink engine (chrom(ium), edge)
The datatransfer items list is cleared on Blink after the first access to an inner prop due to async handling and GC.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-18 12:50:16 +00:00
F. E Noel Nfebe
fc402e5515 Merge pull request #44251 from nextcloud/backport/manual/44217/stable28
fix: List specific share permissions as subline
2024-03-18 11:39:19 +01:00
Côme Chilliet
71e051079b Migrate debug mode check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:11:19 +01:00
Côme Chilliet
1ad788d5f0 Rename to "Push service" and enable on all instances to avoid trouble
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:11:11 +01:00
Côme Chilliet
44c0b7d9b4 Migrate fair use of free push service check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:11:06 +01:00
Côme Chilliet
b92024efa0 Merge writable temporary space check with the s3 one, and improve
It will now show available space and path of both PHP and Nextcloud
 temporary directories if they differ.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:10:59 +01:00
Côme Chilliet
11cde3096a Remove old version of temporary space setup check and fix tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:10:54 +01:00
Côme Chilliet
9dcf13fa12 Migrate available temp space check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:10:49 +01:00
Côme Chilliet
28dafd9413 Migrate MySQL utf8mb4 check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:10:39 +01:00
Côme Chilliet
bfb451c883 Remove bz2 leftover description
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:10:30 +01:00
Côme Chilliet
873912c3b9 Add missing recommended modules gmp and bcmath
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:10:24 +01:00
Côme Chilliet
ec0a9acef4 Fix description for exif PHP module
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:10:18 +01:00
Côme Chilliet
b2cc51cf32 Merge gmp and bcmath module checks with the existing PHP modules setup check
Also add description for why each module is recommended

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:10:13 +01:00
Côme Chilliet
b31d51639d Migrate set_time_limit setup check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:10:03 +01:00
Côme Chilliet
06952c4ef2 Migrate memcached PHP module setup check to new API
Merged it with the other existing memcache setup check as it fits

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:08:49 +01:00
nextcloud-command
aaf94216ab chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-03-18 09:53:28 +00:00
fenn-cs
7474f4da48 fix: List specific share permissions as subline
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-03-18 10:47:28 +01:00
fenn-cs
ac7d767461 Show quick permission subline on newline
- Show quick permission details/explanations on subline

- Fix icon colors, should be white (or component set color) when highlighted.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-03-18 10:47:28 +01:00
Klaus
354387b135 fix xml ocs response for serializable objects
Signed-off-by: sualko <klaus@jsxc.org>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-03-18 01:13:19 +00:00
Nextcloud bot
7ef67b82c9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-18 00:20:05 +00:00
Nextcloud bot
aa2cd0fdf4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-17 00:19:49 +00:00
Ferdinand Thiessen
666aa63b66 Merge pull request #44248 from nextcloud/backport/43613/stable28
[stable28] fix: fallback from guessing the owner from path in versioning
2024-03-16 21:21:31 +01:00
John Molakvoæ
1d3e74b699 Merge pull request #44228 from nextcloud/backport/44223/stable28 2024-03-16 14:08:03 +01:00
Robin Appelman
3263de77f2 fix: fallback from guessing the owner from path in versioning
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-16 12:26:12 +00:00
John Molakvoæ
92e43540ba Merge pull request #44208 from nextcloud/backport/44203/stable28 2024-03-16 13:20:25 +01:00
John Molakvoæ
1c35f29b7d Merge pull request #43916 from nextcloud/backport/43876/stable28 2024-03-16 13:16:02 +01:00
Eduardo Morales
a2222a6dbc fix: changed text alignment and icon logic
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-03-16 13:15:44 +01:00
John Molakvoæ
6ac14638e0 Merge pull request #43858 from nextcloud/backport/43854/stable28 2024-03-16 13:13:49 +01:00
Ty Davis
5cb0422a38 fix: Display "+New" while files page loads instead of "+Add".
Signed-off-by: Ty Davis <noreply@mail.theTyster.dev>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-03-16 13:13:33 +01:00
John Molakvoæ
57cb18fa37 Merge pull request #44080 from nextcloud/backport/43992/stable28 2024-03-16 13:13:11 +01:00
Nextcloud bot
178a60bc68 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-16 00:19:32 +00:00
Pytal
be116f9ba2 Merge pull request #44212 from nextcloud/backport/44179/stable28
[stable28] fix: Ensure correct stacking context for right click menu
2024-03-15 11:05:20 -07:00
Ferdinand Thiessen
ee02016dc1 fix(files_sharing): ShareesAPI - Return empty response when user is not allowed to share
Resolves: https://github.com/nextcloud/server/issues/20950

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-15 16:47:50 +00:00
Christopher Ng
d31cce7794 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-03-15 16:42:53 +01:00
Christopher Ng
04bb2561f4 fix: Ensure correct stacking context for right click menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-15 16:41:15 +01:00
Pytal
fd54328d4b Merge pull request #44024 from nextcloud/backport/43665/stable28
[stable28] feat: Restore unified search filtering in files view
2024-03-15 06:12:46 -07:00
nextcloud-command
2d1debac97 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-03-15 11:40:15 +00:00
fenn-cs
c11ef28193 feat(files): restore unified search filtering in files view
The unified search emits, search events that other apps can subscribe to and
 react however they want to search queries, following
 4b55594f55 and prior updates to migrate the Files
app ui to vue.js that feature was broken.

This commit reintroduces the feature using the current `FileList` implementation.

This commit also adds some logging to an empty exception handler.

Resolve : https://github.com/nextcloud/server/issues/43365

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
(cherry picked from commit 29c37af40c)
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-15 12:29:54 +01:00
Nextcloud bot
14cc22b282 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-15 00:29:31 +00:00
Benjamin Gaussorgues
e13e8c1349 fix: avoid scanning a non existing directory
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-03-14 18:47:14 +00:00
Ferdinand Thiessen
cd9c0b1c43 Merge pull request #44201 from nextcloud/backport/43652/stable28
[stable28] Fixes for getting the filename in the FileInfo class
2024-03-14 18:34:34 +01:00
F. E Noel Nfebe
d72a52edfe Merge pull request #44194 from nextcloud/backport/44184/stable28
[stable28] fix: No password set for new mail shares
2024-03-14 17:23:00 +01:00
hopleus
c834200b48 Refactoring getName function
Signed-off-by: hopleus <hopleus@gmail.com>
2024-03-14 14:54:58 +00:00
hopleus
abb30aae11 Fixes for getting the file name in the cases when the file name key is received, but it is empty
Signed-off-by: hopleus <hopleus@gmail.com>
2024-03-14 14:54:58 +00:00
nextcloud-command
3a303c50ea chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-03-14 12:47:41 +00:00
Kate
ebf9e0d8a7 Merge pull request #44192 from nextcloud/backport/43877/stable28 2024-03-14 13:43:23 +01:00
fenn-cs
6570f8711e fix: No password set for new mail shares
Before the password is set on a new share, the computed property `hasUnsavedPassword`
is used to check that `this.share.newPassword` is not undefined. Direct assignment without
using Vue's `this.$set` makes it impossible for vue to detect that changes have happened on the share
object. Hence the inreactivity.
This worked initially most likely because `this.share.newPassword = await GeneratePassword()` was executed
before the computed properties where evaluated.
Resolves : https://github.com/nextcloud/server/issues/43919

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-03-14 13:41:23 +01:00
provokateurin
34c1a56e55 fix(provisioning_api): Fix AppInfo schema for OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-03-14 11:33:38 +00:00
Benjamin Gaussorgues
9f0028c8d7 Merge pull request #44182 from nextcloud/backport/43334/stable28 2024-03-14 10:04:12 +01:00
John Molakvoæ
ea9e01e21d Merge pull request #44150 from nextcloud/backport/44140/stable28 2024-03-14 08:23:18 +01:00
Nextcloud bot
23e9c97a25 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-14 00:20:48 +00:00
Pytal
12b2eb0a46 Merge pull request #44174 from nextcloud/backport/44139/stable28
[stable28] fix(files): Right click menu offset and list scrolled glitch
2024-03-13 16:30:56 -07:00
Christopher Ng
2336455167 fix(cypress): ResizeObserver loop undelivered notifications error
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 84ceaddc66)
2024-03-13 09:18:21 -07:00
Christopher Ng
afede61219 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit c7fc4b1010)
2024-03-13 09:18:21 -07:00
Christopher Ng
2f31ebbb35 fix(files): Right click menu positioning
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 742e5b6329)
2024-03-13 09:18:21 -07:00
Christopher Ng
152e559a17 fix(files): Right click menu scroll reset glitch
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 26bbb8c0e4)
2024-03-13 09:18:21 -07:00
Ferdinand Thiessen
0bea5146f4 fix(settings): posix_getpwuid can return false which should not be accessed using array operation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-13 16:17:55 +00:00
Josh
afdc0ed748 Merge pull request #44168 from nextcloud/backport/44138/stable28
[stable28] docs(config.sample.php): Warn that `updatedirectory` will break updates if set to a value within the installation folder
2024-03-13 07:49:19 -04:00
Nextcloud bot
7934213460 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-13 00:20:02 +00:00
Louis
9d8e55d582 Merge pull request #44085 from nextcloud/backport/43983/stable28
[stable28] Use the proper path to check if a file needs to be copied/moved to the actual target storage
2024-03-12 19:28:20 +01:00
Josh
3639959677 docs(config.sample.php):
When setting a custom `updatedirectory` it's important that it not be located within the Server installation folder structure.

Partially addresses nextcloud/updater#463

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-03-12 16:57:42 +00:00
Julius Härtl
0bc8908666 fix: Use proper path when trying to check if a file needs to get copied
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-12 17:57:30 +01:00
John Molakvoæ
7d58ae3ac8 Merge pull request #44056 from nextcloud/backport/44042/stable28 2024-03-12 10:24:21 +01:00
Christopher Ng
86cdab3c42 fix(settings): Fix always empty disabled users list for subadmins
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-12 09:01:58 +00:00
Joas Schilling
2fea1bb543 Merge pull request #44148 from nextcloud/automated/noid/stable28-update-ca-cert-bundle
[stable28] fix(security): Update CA certificate bundle
2024-03-12 08:04:51 +01:00
nextcloud-command
43cb5df376 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2024-03-12 02:11:14 +00:00
Nextcloud bot
e3dccf8ca7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-12 00:20:29 +00:00
Andy Scherzinger
37ba29afec Merge pull request #44135 from nextcloud/backport/44134/stable28
[stable28] chore(deps): bump @nextcloud/vue from 8.8.1 to 8.10.0
2024-03-11 21:22:24 +01:00
Grigorii K. Shartsev
9aedf5333b chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-03-11 20:49:06 +01:00
Grigorii K. Shartsev
0f545aabef chore(deps): bump @nextcloud/vue from 8.8.1 to 8.10.0
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-03-11 20:18:56 +01:00
Eduardo Morales
47a191429a Merge pull request #44111 from nextcloud/backport/43946/stable28
[stable28] fix: changed login-page to reflect correct LDAP settings
2024-03-11 14:14:57 -05:00
Ferdinand Thiessen
01a7d4528c Merge pull request #44088 from nextcloud/backport/43778/stable28
[stable28] Fix CSP for script-src with nonce on edge
2024-03-11 16:32:07 +01:00
Ferdinand Thiessen
57410d20f3 Merge pull request #44118 from nextcloud/backport/44117/stable28
[stable28] tests(dav): Add unit test for no calendars/subscription limit
2024-03-11 16:31:26 +01:00
Eduardo Morales
7b4d98ffca chore(assets): compile assets
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-03-11 10:30:20 -05:00
Eduardo Morales
3d9ed5e469 chore: update logincontroller tests
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-03-11 10:30:20 -05:00
Eduardo Morales
8db750f661 fix: login page now correctly shows email LDAP settings
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-03-11 10:30:20 -05:00
Eduardo Morales
0045eec589 feat: added login's initial possible email-states
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-03-11 10:30:20 -05:00
Louis
6608b7d664 Merge pull request #44124 from nextcloud/backport/42628/stable28
[stable28] deprecated sysconfig 'enable_file_metadata'
2024-03-11 14:01:44 +01:00
Maxence Lange
f470690820 fix(config): deprecated enable_file_metadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-03-11 12:01:21 +00:00
Christoph Wurst
44ab814685 tests(dav): Add unit test for no calendars/subscription limit
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-03-11 10:46:48 +01:00
Julius Härtl
8df5864db7 fix: Allow nonce in csp header also if no other reasons are given
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-11 10:08:56 +01:00
Julius Härtl
3103a85c18 fix: Add edge as supported user agent for CSPv3 nonces
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-11 10:08:56 +01:00
Julius Härtl
b26fbc3c84 fix: Adjust user agent pattern for Edge
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-11 10:08:56 +01:00
Nextcloud bot
b0b965cfb5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-11 00:34:10 +00:00
Nextcloud bot
163dea095e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-10 00:19:43 +00:00
Eduardo Morales
da2a6c0ec4 Merge pull request #43811 from nextcloud/backport/43667/stable28
[stable28] fix: merge conflict dialog added when overwriting files on move-file action
2024-03-09 11:18:13 -06:00
Eduardo Morales
ed0ad08523 chore: compile assets
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-03-09 10:31:58 -06:00
Eduardo Morales
960bf248ad feat: files update correctly on destination/current folder
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-03-09 10:31:58 -06:00
Eduardo Morales
9d613d049e fix: conflict picker moves files correctly to its directory
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-03-09 10:31:58 -06:00
Eduardo Morales
650b6090df fix: merge conflict dialog added when overwriting files on move-file action
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-03-09 10:31:58 -06:00
Nextcloud bot
f259d7a377 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-09 00:46:43 +00:00
Joas Schilling
996f3593ac Merge pull request #44095 from nextcloud/fix/updatenotifications/numeric-ids-v28-and-lower
[stable28] fix(UpdateNotifications): Handle numeric user ids
2024-03-08 23:14:43 +01:00
Josh
4fedc74034 [stable28] fix(UpdateNotifications): Handle numeric user ids
manual backport of #44093 to fix #44051 for <=v28

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-03-08 14:17:32 -05:00
Louis
e5b2c0fbfa Merge pull request #44037 from nextcloud/backport/43263/stable28
[stable28] Cleanup versions entities in versions:clean command
2024-03-08 17:25:10 +00:00
Louis Chemineau
080850d431 fix(files_versions): Improve files version listing
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-03-08 16:08:21 +00:00
Andy Scherzinger
7c2aac3e6d Merge pull request #44089 from nextcloud/backport/stable28/44057
[stable28] fix(settings): users settings cypress
2024-03-08 16:39:43 +01:00
John Molakvoæ (skjnldsv)
eae44976bd fix(settings): users settings cypress
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
(cherry picked from commit b5b658c0d0)
2024-03-08 06:21:11 -08:00
Julius Härtl
0d0855b596 fix: Avoid clear cache with prefix
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-08 08:51:08 +00:00
Nextcloud bot
89b8f86eec Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-08 00:19:29 +00:00
John Molakvoæ
f8699ecfa8 Merge pull request #44065 from nextcloud/backport/43824/stable28
[stable28] fix(db): db-convert supports disabled apps but not removed ones
2024-03-08 00:05:02 +01:00
Josh
5cbb6fd9d8 fix(db): db-convert supports disabled apps but not removed ones
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-03-07 15:19:05 +00:00
John Molakvoæ
da7bdd26c2 Merge pull request #44050 from nextcloud/backport/43917/stable28
[stable28] fix(JSResourceLocator): Consider configured app roots for files
2024-03-07 15:19:17 +01:00
Côme Chilliet
c26685a4df fix(user_ldap): Early failure for empty password login attempt
This avoids user_ldap logging about an invalid configuration with an
 empty password when the empty password actually comes from a login
 attempt.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-07 10:02:15 +00:00
Robin Appelman
33699b29d9 fix: disable the internal s3sdk multi part copy logic
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-07 09:15:28 +00:00
Ferdinand Thiessen
d0d9b39843 fix(JSResourceLocator): Consider configured app roots for files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-07 08:03:09 +00:00
Côme Chilliet
d046bf6e82 Merge pull request #44030 from nextcloud/backport/43764/stable28
[stable28] fix(user_ldap): Ignore unserialize error in group membership migration
2024-03-06 22:03:41 +01:00
John Molakvoæ
3991365ce3 Merge pull request #44047 from nextcloud/backport/43804/stable28
[stable28] fix(settings): Split group lists
2024-03-06 21:04:23 +01:00
Christopher Ng
3aaa7235dd chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-06 11:59:01 -08:00
Christopher Ng
5a2fd7ba77 fix(cypress): Adjust cypress tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>

[skip ci]
2024-03-06 19:52:31 +00:00
Christopher Ng
110e727f08 fix(settings): Split group lists
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-06 19:52:31 +00:00
Pytal
67c9ab49ea Merge pull request #44021 from nextcloud/backport/44016/stable28
[stable28] fix(settings): Disable app again if it breaks the files app
2024-03-06 11:05:01 -08:00
nextcloud-command
e0bd5ada79 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-03-06 12:21:55 +00:00
Côme Chilliet
17173d3762 fix(user_ldap): Ignore unserialize error in group membership migration
The memberships will be checked by the background job later and data
 will be added to the table anyway.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-06 12:05:32 +00:00
Ferdinand Thiessen
9ca98c1604 Merge pull request #44019 from nextcloud/fix/stable28-open-new-file
[stable28] fix(files): Open new file when created from template
2024-03-06 13:02:01 +01:00
Ferdinand Thiessen
6c4a966c15 fix(settings): Disable app again if it breaks the files app
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-06 11:30:21 +01:00
Ferdinand Thiessen
c89b9a2607 fix(files): Open new file when created from template
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-06 10:25:36 +01:00
Pytal
db07e6a1b9 Merge pull request #43994 from nextcloud/backport/43988/stable28
[stable28] fix(files): Adjust sidebar - remove deprecated function calls and add aria label for favorite icon
2024-03-05 08:03:52 -08:00
Ferdinand Thiessen
3d5a80dcc6 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-03-05 12:23:58 +01:00
Ferdinand Thiessen
363a46566c fix(files): Remove deprecated function calls from sidebar and add aria-label to favorite icon
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-05 10:53:02 +00:00
Louis
1c0afb0d1d Merge pull request #43981 from nextcloud/backport/43898/stable28
[stable28] Improve files version listing
2024-03-05 11:38:56 +01:00
Julius Härtl
5c88d11790 Merge pull request #43985 from nextcloud/backport/43972/stable28
[stable28] fix: Fetch custom app store url without internet connection
2024-03-05 11:09:36 +01:00
Nextcloud bot
989ac4175d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-05 00:19:49 +00:00
Julius Härtl
a258abfe59 fix: Fetch custom app store url without internet connection
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-04 20:17:01 +00:00
Louis Chemineau
cabe6e8093 fix(files_versions): Improve files version listing
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-03-04 16:36:40 +00:00
Ferdinand Thiessen
a14ec0ace6 Merge pull request #43978 from nextcloud/backport/43959/stable28
[stable28] fix(IUrlGenerator): Add `throws` documentation for `imagePath` function
2024-03-04 15:09:31 +01:00
Ferdinand Thiessen
919a9c29c6 fix(IUrlGenerator): Add throws documentation for imagePath function
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-04 11:07:27 +00:00
Grigorii K. Shartsev
8640cf6173 Merge pull request #43909 from nextcloud/backport/43897/stable28
[stable28] fix(files): fix html structure on the profile page
2024-03-04 15:55:58 +05:00
nextcloud-command
6741394ef5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-03-04 02:22:39 -08:00
julia.kirschenheuter
f5f957336f fix(files): fix html structure on pre profile page
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-03-04 02:22:39 -08:00
Nextcloud bot
887bed485b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-04 00:20:05 +00:00
Nextcloud bot
b1934126ef Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-03 00:19:25 +00:00
Nextcloud bot
1f19464207 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-02 00:19:13 +00:00
Eduardo Morales
26a622aa39 Merge pull request #43841 from nextcloud/chore/stable28-update-calendar-availability-vue-to_v2.2.0
[stable28] chore(deps): Bump calendar-availability-vue from 2.1.0 to 2.2.0
2024-03-01 13:12:10 -06:00
nextcloud-command
40e03c8a01 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-03-01 17:58:36 +01:00
julia.kirschenheuter
94cafb4c9b chore(deps): Bump calendar-availability-vue from 2.1.0 to 2.2.0
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-03-01 17:16:56 +01:00
Grigorii K. Shartsev
ada3a8eb38 Merge pull request #43785 from nextcloud/backport/43746/stable28
[stable28] fix(updatenotification): a11y of channel menu and new icons
2024-03-01 16:09:48 +05:00
Grigorii K. Shartsev
93ee0f74cd chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-03-01 11:21:41 +01:00
Grigorii K. Shartsev
a7f5af639a fix(updatenotification): use new SVG icons
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-03-01 11:19:30 +01:00
Grigorii K. Shartsev
ee580ec81d fix(updatenotification): a11y of channel menu
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-03-01 11:19:30 +01:00
Grigorii K. Shartsev
f500a0f87f chore(updatenotification): lint
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-03-01 11:19:30 +01:00
John Molakvoæ
4eefeba57e Merge pull request #43915 from nextcloud/chore/stable28-bump-ncvue-to_8.8.1 2024-03-01 11:06:51 +01:00
John Molakvoæ
ea406f188d Merge pull request #43929 from nextcloud/backport/43896/stable28 2024-03-01 11:00:27 +01:00
Louis Chemineau
68fcbbd31c fix(files_versions): Do not create a new version for empty files
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-03-01 09:14:07 +00:00
Nextcloud bot
94e8727af3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-01 00:38:43 +00:00
nextcloud-command
162dd8484c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-29 16:47:36 +00:00
julia.kirschenheuter
52038751a0 chore(deps): Bump nextcloud/vue from 8.7.0 to 8.8.1
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-02-29 15:42:05 +01:00
John Molakvoæ
f63e0fd8e9 Merge pull request #43773 from nextcloud/backport/43762/stable28 2024-02-29 15:03:55 +01:00
nextcloud-command
ce19708340 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-29 11:58:19 +00:00
skjnldsv
13014e1653 fix(cypress): files_versions flakyness
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-02-29 11:54:37 +00:00
skjnldsv
8632f489a2 fix(cypress): more stable navigation-bar-settings cypress tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-02-29 11:54:37 +00:00
John Molakvoæ
226600b4fe Merge pull request #43900 from nextcloud/backport/30957/stable28 2024-02-29 12:32:11 +01:00
John Molakvoæ
e9e027a9e2 Merge pull request #43796 from nextcloud/backport/42459/stable28 2024-02-29 11:34:48 +01:00
John Molakvoæ
b9edb55381 Merge pull request #43864 from nextcloud/backport/43850/stable28 2024-02-29 11:33:52 +01:00
John Molakvoæ
c5cbc49f1e Merge pull request #43835 from nextcloud/backport/43605/stable28 2024-02-29 11:33:37 +01:00
John Molakvoæ
f318c296ee Merge pull request #43833 from nextcloud/backport/43428/stable28 2024-02-29 11:33:03 +01:00
John Molakvoæ
ad6f72d0d1 Merge pull request #43828 from nextcloud/backport/43787/stable28 2024-02-29 11:32:48 +01:00
John Molakvoæ
f48e478791 Merge pull request #43813 from nextcloud/backport/43248/stable28 2024-02-29 11:32:08 +01:00
John Molakvoæ
7fe1a22262 Merge pull request #43801 from nextcloud/backport/43187/stable28 2024-02-29 11:31:40 +01:00
John Molakvoæ
ac6fe28da4 Merge pull request #43800 from nextcloud/backport/39553/stable28
[stable28] Bug fix: Select the correct table based on CALENDAR_TYPE_CALENDAR
2024-02-29 11:31:16 +01:00
John Molakvoæ
1453173f82 Merge pull request #43795 from nextcloud/backport/43784/stable28 2024-02-29 11:30:50 +01:00
John Molakvoæ
6a268218fc Merge pull request #43788 from nextcloud/backport/39607/stable28 2024-02-29 11:30:23 +01:00
John Molakvoæ
d692b2a94b Merge pull request #43817 from nextcloud/backport/42706/stable28 2024-02-29 11:29:05 +01:00
Claus-Justus Heine
7300db7e9b fix(collaboration): collaboration MailPlugin: Protect access to a potentially missing array component by ??.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2024-02-29 07:50:16 +00:00
John Molakvoæ
f7470ab973 Merge pull request #43888 from nextcloud/release/28.0.3 2024-02-29 08:42:55 +01:00
John Molakvoæ
9613e62e29 Merge pull request #43869 from nextcloud/backport/43768/stable28 2024-02-29 08:33:23 +01:00
Nextcloud bot
0f4e3f3622 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-29 00:20:29 +00:00
skjnldsv
8854744991 28.0.3
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-02-28 10:42:56 +01:00
Louis Chemineau
427508bac0 fix(dav): Init ViewOnlyPlugin after auth
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-28 10:17:39 +01:00
Nextcloud bot
cf035c8cad Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-28 00:28:36 +00:00
Arthur Schiwon
a23cf50d5e fix(admin role): fix old and wrong way to determine whether user is admin
- fixes Settings knowing who is an admin of non-local group backend groups
- obsoletes and removes a little old, deprecated code
- double checks proper parameter type on Group\Manager::isAdmin
- also fixes legacy OC_User code to check whether user is an admin

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-02-27 23:57:45 +01:00
Arthur Schiwon
0181e189a6 Merge pull request #43822 from nextcloud/automated/noid/stable28-fix-npm-audit
[stable28] Fix npm audit
2024-02-27 14:48:57 +01:00
Ferdinand Thiessen
792a840a55 fix(core): Convert text to path in f-droid banner SVG
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-27 11:01:10 +00:00
nextcloud-command
28dc6e49e0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-27 01:42:17 +00:00
Nextcloud bot
823d3c2b42 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-27 00:19:51 +00:00
Robin Appelman
95dcb7d56b fix: only cleanup orphaned shared daly
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-26 10:30:57 +01:00
Benjamin Gaussorgues
a4a7d82a0c feat(share): save date and time for expiration
Because of timezones, not saving time can lead to unexpected behaviour
when sharing an item sooner than timezone offset
Example: sharing a file before 9am when in UTC+9

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-02-26 09:12:03 +00:00
Julius Härtl
44524b1388 fix: Throw instead of yielding nothing when listing local directories
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-26 07:42:12 +00:00
Nextcloud bot
3f04d6aa00 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-26 00:19:32 +00:00
nextcloud-command
4eee001a4a chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2024-02-25 02:57:27 +00:00
Nextcloud bot
2e64253c53 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-25 00:20:44 +00:00
Christopher Ng
9d4143b1bd fix(user_status): Fix status update request not being sent
Signed-off-by: Christopher Ng <chrng8@gmail.com>

[skip ci]
2024-02-24 12:25:19 +00:00
Nextcloud bot
d787449b67 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-24 00:19:52 +00:00
hschletz
4bc9ba2a03 Fix data type in FilesMetadata::setIntList()
FilesMetadata::setIntList() throws an exception because it uses the incorrect type IMetadataValueWrapper::TYPE_STRING_LIST instead of IMetadataValueWrapper::TYPE_INT_LIST.

Signed-off-by: hschletz <holger.schletz@web.de>
2024-02-23 20:54:16 +00:00
Patrick Fischer
76560a51b6 Bug fix: Select the correct table based on CALENDAR_TYPE_CALENDAR
Signed-off-by: Patrick Fischer <mail@patrickfischer.ch>
2024-02-23 20:46:07 +00:00
MichaIng
54f47f53a8 fix(dav): fallback realm for HTTP authentication
By default, the name of the Nextcloud instance is an empty string, until changed by the admin. This leads to an empty realm sent with the WWW-Authenticate header, while the realm is mandatory for Basic HTTP authentication. Some clients have issues with an empty realm, e.g. Thunderbird cannot store passwords in this case.

This commit applies "Nextcloud" as fallback for the realm, in case the name of the Nextcloud instance is not set.

Solves: https://help.nextcloud.com/t/thunderbird-dont-save-caldav-password-because-of-missing-httprealm-or-formsubmiturl/93233

Signed-off-by: MichaIng <micha@dietpi.com>
2024-02-23 20:29:43 +00:00
nextcloud-command
8270edac44 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-23 20:29:23 +00:00
Grigorii K. Shartsev
d314554148 fix(files): page h1 heading
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-23 18:41:26 +00:00
FedericoHeichou
354f895fa5 Add "-i" to MailTest's pipe
Signed-off-by: FedericoHeichou <federicoheichou@gmail.com>
2024-02-23 15:15:59 +00:00
FedericoHeichou
39d81aff8f Add "-i" to sendmail's pipe
Signed-off-by: FedericoHeichou <federicoheichou@gmail.com>
2024-02-23 15:15:59 +00:00
Nextcloud bot
5087de9f98 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-23 00:19:41 +00:00
John Molakvoæ
4d8907f471 Merge pull request #43718 from nextcloud/release/28.0.3rc2 2024-02-22 19:15:03 +01:00
skjnldsv
b9f05efd4e 28.0.3rc2
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-02-22 18:51:20 +01:00
John Molakvoæ
e09053f9de Merge pull request #43751 from nextcloud/backport/43732/stable28 2024-02-22 18:38:53 +01:00
John Molakvoæ
3d01af294a Merge pull request #43766 from nextcloud/backport/43765/stable28 2024-02-22 16:43:53 +01:00
Christoph Wurst
c7ddc5fd54 fix(dav): Rate limit calendar/subscription creation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-02-22 15:16:09 +01:00
Ferdinand Thiessen
73b3cfcd12 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-22 14:07:40 +01:00
Ferdinand Thiessen
633e90994b chore: Update @nextcloud/dialogs to 5.1.2
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-22 14:04:50 +01:00
Joas Schilling
7d05faa07e Merge pull request #43708 from nextcloud/backport/43698/stable28
[stable28] fix(dav): fix getNodeForPath cache
2024-02-22 13:34:08 +01:00
John Molakvoæ
4d7455a3d5 Merge pull request #43741 from nextcloud/backport/43727/stable28 2024-02-22 10:37:22 +01:00
John Molakvoæ
d61972445b Merge pull request #43726 from nextcloud/backport/43653/stable28 2024-02-22 10:37:11 +01:00
John Molakvoæ
ff541493a8 Merge pull request #43685 from nextcloud/backport/43661/stable28 2024-02-22 10:37:02 +01:00
John Molakvoæ
836e37842e Merge pull request #43669 from nextcloud/backport/43637/stable28 2024-02-22 10:36:44 +01:00
John Molakvoæ
ca2e57d57f Merge pull request #43304 from nextcloud/backport/43296/stable28 2024-02-22 10:36:23 +01:00
Anna Larch
79b8f2cffa [stable28] fix(dav): fix getNodeForPath cache
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-02-22 10:22:11 +01:00
John Molakvoæ
4b71b09c42 Merge pull request #43755 from nextcloud/backport/42987/stable28 2024-02-22 10:21:48 +01:00
John Molakvoæ
14353d953b chore(cypress): add 3 more runners
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-02-22 08:59:03 +00:00
John Molakvoæ
be5d576c0c Merge pull request #43525 from nextcloud/backport/42544/stable28 2024-02-22 09:23:08 +01:00
Joas Schilling
3decdd9b19 fix(tests): Fix remaining tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-22 08:41:26 +01:00
Louis Chemineau
c1ef86cbdd Fix tests after slow logout fix
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-22 08:41:26 +01:00
Gaspard d'Hautefeuille
7e7a4ddd5c Keep https check
https://github.com/nextcloud/server/issues/41196 + keep https check

Co-authored-by: Louis <louis@chmn.me>
Signed-off-by: Gaspard d'Hautefeuille <github@dhautefeuille.eu>
2024-02-22 08:41:26 +01:00
Gaspard d'Hautefeuille
7418c3e1f4 Cancel PR #37405, remove regression code
Signed-off-by: Gaspard d'Hautefeuille <github@dhautefeuille.eu>
2024-02-22 08:41:26 +01:00
John Molakvoæ
c8704b4970 Merge pull request #43719 from nextcloud/backport/43493/stable28 2024-02-22 08:40:35 +01:00
John Molakvoæ
c35108c2c9 Merge pull request #43743 from nextcloud/backport/43656/stable28 2024-02-22 08:39:25 +01:00
Nextcloud bot
04300cc72b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-22 00:19:44 +00:00
Louis Chemineau
986459e1e4 Hide some actions based on node permissions and share attributes
Signed-off-by: Louis Chemineau <louis@chmn.me>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-21 21:49:23 +01:00
Louis Chemineau
3c184c44a9 Check permissions when labeling a version
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-21 21:49:23 +01:00
Louis Chemineau
19fcee2ede Check node permissions when restoring a version
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-21 21:49:23 +01:00
Louis Chemineau
fa1a08f5ee Check node permissions when deleting a version
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-21 21:49:23 +01:00
Louis Chemineau
0e07be4b88 Check share attributes when downloading versions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-21 21:49:23 +01:00
Eduardo Morales
62ab6f1500 chore: compile assets
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-21 19:23:30 +00:00
Eduardo Morales
2cca0c34e9 feat: added l10n translation prop to calendar component
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-02-21 19:09:57 +00:00
Christopher Ng
ff497306fd fix(settings): Fix required groups validation for subadmins
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-21 18:26:05 +00:00
John Molakvoæ
4b06b5994d Merge pull request #43710 from nextcloud/backport/43697/stable28 2024-02-21 19:20:39 +01:00
Ferdinand Thiessen
211e808995 chore: Build CSS from SCSS
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-21 18:27:29 +01:00
Ferdinand Thiessen
ce9f39e44d fix(styles): Add default styles for disabled input elements
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-21 18:26:19 +01:00
Ferdinand Thiessen
fdf4234922 fix(styles): Replace deprecated CSS variables
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-21 18:26:19 +01:00
John Molakvoæ
c7ad3bbbbb Merge pull request #43622 from nextcloud/backport/43604/stable28 2024-02-21 18:25:21 +01:00
John Molakvoæ
09c1f0db5e Merge pull request #43706 from nextcloud/backport/43701/stable28 2024-02-21 18:16:07 +01:00
nextcloud-command
644aeeaf49 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-02-21 17:54:05 +01:00
Eduardo Morales
9a10f31eae enh: breadcrumb icon matches nav view icon
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-02-21 17:54:05 +01:00
John Molakvoæ
dc68447a22 Merge pull request #43722 from nextcloud/backport/43664/stable28 2024-02-21 17:30:23 +01:00
Eduardo Morales
fdc379b8f5 enh: breadcrumbs icons are now more visually descriptive
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-02-21 08:38:30 -06:00
Josh
4a008e22cd fix(security): Describe occ security:bruteforce:attempts accurately
This command is used to list a summary of brute force protection attempts associated with a given IP address and, optionally, a specific action. It does not reset attempts (there's already another command for that).

Signed-off-by: Josh <josh.t.richards@gmail.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2024-02-21 14:32:41 +00:00
Richard Steinmetz
4adda64d4e perf: skip request without read permission
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-02-21 12:46:33 +00:00
nextcloud-command
823143f43c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-21 11:27:29 +00:00
John Molakvoæ
21bc3a3de7 Merge pull request #43672 from nextcloud/backport/43666/stable28 2024-02-21 12:03:52 +01:00
fenn-cs
7200241932 Fix undefined share object during expirationDate update
In 04e8733721 a regression was introduced.

`this` means nothing inside arrow functions, hence this.share was referring to

an undefined object and so all attempted updates for expiration dates would fail.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-02-21 11:43:31 +01:00
Julien Veyssier
e34df6f25e compile assets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-02-21 10:42:22 +01:00
Julien Veyssier
b3fc30a077 stop the auto-logout loop after redirecting to the logout
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-02-21 10:40:53 +01:00
Joas Schilling
1442477d2d Merge pull request #43713 from nextcloud/backport/43712/stable28
[stable28] fix: Add bruteforce protection to federation endpoint
2024-02-21 10:20:10 +01:00
Josh
0d4a12b5db fix(files): Dont't warn re: full storage on either zero or unlimited quotas
Fixes #43535

Fixes #43280

Replaces #43544

Signed-off-by: Josh <josh.t.richards@gmail.com>

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

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-21 09:06:01 +00:00
John Molakvoæ
4d077e9162 Merge pull request #43695 from nextcloud/backport/43688/stable28 2024-02-21 09:33:14 +01:00
Joas Schilling
33246095de fix: Add bruteforce protection to federation endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-21 08:22:46 +00:00
Nextcloud bot
a1bbef14e6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-21 00:19:15 +00:00
Eduardo Morales
de7eb50ed0 chore(deps): bumped NcVue to 8.7.0
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-02-20 17:33:39 +01:00
Git'Fellow
ca8f6fd94f Move away from deprecated utf_encode() on PHP 8.2+
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-02-20 08:13:57 +00:00
Nextcloud bot
5a5a8961e8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-20 00:19:11 +00:00
Nextcloud bot
88c5e1ae6a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-19 00:19:09 +00:00
Nextcloud bot
533dec0df0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-18 00:19:55 +00:00
Nextcloud bot
8e596bb5e8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-17 00:19:11 +00:00
Christoph Wurst
e108fd2753 Merge pull request #43530 from nextcloud/backport/43464/stable28
[stable28] fix(userstatus): add back 0 timestamp for status without message
2024-02-16 17:02:56 +01:00
Nextcloud bot
e622875f85 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-16 00:19:21 +00:00
Ferdinand Thiessen
e302283b9f Merge pull request #43587 from nextcloud/backport/43558/stable28
[stable28] fix(settings): Disable SSL cert check for JavaScript modules SetupCheck
2024-02-15 12:51:29 +01:00
John Molakvoæ
0c1a0cdbbe Merge pull request #43578 from nextcloud/release/28.0.3_rc1 2024-02-15 11:16:39 +01:00
John Molakvoæ
129848afb4 Merge pull request #43591 from nextcloud/backport/stable28/43560 2024-02-15 09:21:36 +01:00
Pytal
c1bb1f327d Merge pull request #43590 from nextcloud/backport/stable28/41670
[stable28] fix(papercut): rerendered submenu actions for time sensitive actions
2024-02-15 00:21:20 -08:00
Joas Schilling
54d5930175 Merge pull request #43596 from nextcloud/backport/43593/stable28
[stable28] fix: Add bruteforce protection to email endpoint
2024-02-15 09:09:14 +01:00
nextcloud-command
87b2f5a75b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-15 08:00:08 +00:00
Christopher Ng
a7fa944d55 enh(files_reminders): Allow clearing reminders
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit e64b4fe649)
2024-02-15 07:57:12 +00:00
Christopher Ng
2589e3dbf5 feat(files_reminders): Add propfind dav plugin
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 66f4c677c7)
2024-02-15 07:57:12 +00:00
John Molakvoæ
3c5b7e6323 Merge pull request #43585 from nextcloud/backport/43570/stable28 2024-02-15 08:30:57 +01:00
Joas Schilling
e1e70267ec fix: Add bruteforce protection to email endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-15 08:13:03 +01:00
Joas Schilling
b328015c71 Merge pull request #43037 from nextcloud/fix/36463/preview-not-generated-stable28
[stable28] Fix for previews not being generated sometimes
2024-02-15 07:53:16 +01:00
Marcel Müller
983336c36c fix(preview): Check if node id is null before deleting the preview folder
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-02-15 07:19:58 +01:00
nextcloud-command
f4d3af99db chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-15 02:07:23 +00:00
Eduardo Morales
b83da59399 fix(papercut): rerendered submenu actions for time sensitive actions
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
(cherry picked from commit c4f6803549)
2024-02-14 17:49:13 -08:00
Nextcloud bot
82a3d2b5c1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-15 00:20:09 +00:00
Ferdinand Thiessen
3df77839b7 fix(settings): Disable SSL cert check for JavaScript modules SetupCheck
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-14 23:38:44 +00:00
Julius Härtl
b1b096a2c6 chore: Remove old theming migration steps as they are only needed once
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-14 21:14:11 +00:00
John Molakvoæ
9345af7af7 Merge pull request #43583 from nextcloud/backport/43582/stable28
[stable28] chore(deps): bump `@nextcloud/upload` to `1.0.5`
2024-02-14 20:36:12 +01:00
skjnldsv
b4d10868ac chore(deps): bump @nextcloud/upload to 1.0.5
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-02-14 18:14:18 +01:00
skjnldsv
3d17db9cf8 28.0.3 RC1
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-02-14 16:58:09 +01:00
Grigorii K. Shartsev
b0d6294125 Merge pull request #43559 from nextcloud/backport/43491/stable28
[stable28] fix(files_sharing): SharingEntryLink lost styles
2024-02-14 15:06:50 +05:00
Nextcloud bot
80052ba7a3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-14 00:19:42 +00:00
Joas Schilling
88d0c825f6 Merge pull request #43483 from nextcloud/chore/stable28-adjust-db-testing
[stable28] fix(tests): Adjust mariadb testing matrix
2024-02-14 00:33:41 +01:00
nextcloud-command
5908f93b50 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-13 21:15:03 +00:00
Grigorii K. Shartsev
1619d1c7d5 fix(files_sharing): lost styles for SharingEntryLink
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-13 20:46:29 +00:00
Joas Schilling
9d4ea50696 chore(drone): Sign adjusted .drone.yml config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-13 20:42:08 +01:00
Ferdinand Thiessen
7df59110b0 fix(tests): Adjust mariadb testing matrix
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-13 20:42:08 +01:00
Joas Schilling
9577dde49e Merge pull request #43546 from nextcloud/backport/43519/stable28
[stable28] fix(sharing): Move video verification option to password and hide without Talk
2024-02-13 13:04:06 +01:00
nextcloud-command
f0215e921f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-13 11:15:07 +00:00
Joas Schilling
2b3cefc983 fix(sharing): Move video verification option to password and hide without Talk
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-13 10:06:32 +00:00
Nextcloud bot
79f2eb68e6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-13 00:19:28 +00:00
Anna Larch
ca179b7263 fix(userstatus): add back 0 timestamp for status without message
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-02-12 15:07:52 +00:00
Benjamin Gaussorgues
243d31c035 Merge pull request #43523 from nextcloud/backport/43349/stable28 2024-02-12 13:25:46 +01:00
Kate
5d409f75bf Merge pull request #43520 from nextcloud/backport/43251/stable28 2024-02-12 12:10:35 +01:00
Benjamin Gaussorgues
1afaac7031 fix(files_external): list root when using SMB case-insensitive option
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-02-12 10:16:31 +00:00
Côme Chilliet
4cf140b5e5 fix: Support other schemes than HTTP and HTTPS in app navigation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-12 10:14:21 +00:00
Côme Chilliet
ce808eefb5 fix: Revert external url support in icon as it’s not allowed
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-12 10:14:21 +00:00
Côme Chilliet
eba0ff339b Allow application to pass external links in navigation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-12 10:14:20 +00:00
Nextcloud bot
6c6af170c5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-12 00:19:13 +00:00
Nextcloud bot
564065f69c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-11 00:19:41 +00:00
Git'Fellow
9efab3a289 Merge pull request #43511 from nextcloud/backport/42991/stable28
[stable28] Lower failed movie preview generation logs to level info
2024-02-10 16:48:13 +01:00
Git'Fellow
0da4d1cd5a Lower failed movie preview to info
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-02-10 12:47:46 +00:00
Joas Schilling
0337414f6f Merge pull request #43505 from nextcloud/automated/noid/stable28-update-code-signing-crl
[stable28] fix(security): Update code signing revocation list
2024-02-10 13:27:42 +01:00
John Molakvoæ
ef4d337854 Merge pull request #43470 from nextcloud/backport/42993/stable28 2024-02-10 09:48:29 +01:00
Ferdinand Thiessen
51e7e247f9 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-10 09:35:54 +01:00
Ferdinand Thiessen
0a71193436 fix(files): Do not scroll if there is no scrolling area
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-10 09:28:48 +01:00
Ferdinand Thiessen
139dfab45a fix(files): Fix some type errors in TemplatePicker
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-10 09:28:48 +01:00
Ferdinand Thiessen
e1c1ce779d enh(files): Add modal to set filename before creating new files in the fileslist
* Reactive `openfile` query

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-10 09:28:47 +01:00
nextcloud-command
dbe9c8bda2 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2024-02-10 02:12:39 +00:00
Nextcloud bot
bfb466f6b0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-10 00:20:05 +00:00
Grigorii K. Shartsev
04a918cab3 Merge pull request #43485 from nextcloud/bump/bump-calendar-availability-vue-v2.1.0
Bump calendar-availability-vue to `v2.1.0`
2024-02-09 21:13:16 +05:00
julia.kirschenheuter
84b2251e59 Bump calendar-availability-vue to v2.1.0
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-02-09 15:32:30 +01:00
Robin Appelman
57ee788f01 Merge pull request #43391 from nextcloud/backport/43131/stable28
[stable28] fix(files): Don't attempt to format a partial cache entry
2024-02-09 14:29:23 +01:00
John Molakvoæ
ad46f5841f Merge pull request #43473 from nextcloud/backport/43353/stable28 2024-02-09 14:16:00 +01:00
Ferdinand Thiessen
6bc949a678 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-09 12:07:46 +01:00
Ferdinand Thiessen
6edcc0388e fix(files): Update webdav to 5.3.2 fixing handling of files with XML entities in their names
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-09 12:05:58 +01:00
Ferdinand Thiessen
c4b164dee0 Merge pull request #43422 from nextcloud/backport/43317/stable28
[stable28] fix(ContactsStore): Sanitize user ID given to guest avatar route
2024-02-09 02:17:42 +01:00
Ferdinand Thiessen
57c72f830b Merge pull request #43456 from nextcloud/backport/43435/stable28
[stable28] do not break personal settings page is viewer is not there
2024-02-09 01:47:55 +01:00
Nextcloud bot
7daddb0f8c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-09 00:19:50 +00:00
Ferdinand Thiessen
1363c4cc11 Merge pull request #43409 from nextcloud/backport/43385/stable28
[stable28] chore: Update `nextcloud-vue-collection` to drop duplicated nextcloud-vue
2024-02-08 23:32:25 +01:00
Ferdinand Thiessen
a439f31447 chore: Update nextcloud-vue-collection to drop duplicates @nextcloud/vue dependency
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-02-08 18:42:19 +01:00
Simon L
365ec53d21 Merge pull request #43451 from nextcloud/backport/43433/stable28
[stable28] Use AccountPlusIcon in broadcrombs
2024-02-08 15:12:06 +01:00
Simon L
257b4fb683 fix psalm
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-02-08 13:40:22 +00:00
Simon L
01302f770f do not break personal settings page is viewer is not there
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-02-08 13:40:22 +00:00
Andy Scherzinger
905224d9c7 Merge pull request #43449 from nextcloud/backport/43213/stable28
[stable28] fix(sharing): migrate QuickShareSelect to NcActions
2024-02-08 14:21:50 +01:00
nextcloud-command
87745944d9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-08 13:12:22 +00:00
Simon L
3c0505eb90 fix(files_sharing): use proper sharing AccountPlus icon in breadcrumbs
Signed-off-by: Simon L <szaimen@e.mail.de>

[skip ci]
2024-02-08 13:10:55 +00:00
Grigorii K. Shartsev
bd45e71921 Merge pull request #43448 from nextcloud/backport/42444/stable28
[stable28] fix(files): move focus to sidebar on open
2024-02-08 17:54:01 +05:00
Grigorii K. Shartsev
33c7f9ba91 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-08 11:24:05 +00:00
Simon L
32fbcd3b25 Merge pull request #43445 from nextcloud/backport/43357/stable28
[stable28] fix(migration): Make naming constraint fail softer on updates
2024-02-08 12:15:04 +01:00
Grigorii K. Shartsev
4c18023ad5 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-08 11:56:17 +01:00
Grigorii K. Shartsev
01ce061cc8 fix(sharing): migrate QuickShareSelect to NcActions
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-08 10:52:44 +00:00
Grigorii K. Shartsev
b3958652df fix(files): focus sidebar tab on tab or file change
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-08 10:45:42 +00:00
Grigorii K. Shartsev
78a7f74357 fix(files): do not disable action on load to keep focus
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-08 10:45:42 +00:00
Joas Schilling
1412eedbc4 fix(migration): Make naming constraint fail softer on updates
Only on installation we want to break hard, so that all developers notice
the bugs when installing the app on any database or CI, and can work on
fixing their migrations before releasing a version incompatible with Postgres.

In case of updates we might be running on production instances and the
administrators being faced with the error would not know how to resolve it
anyway. This can also happen with instances, that had the issue before the
current update, so we don't want to make their life more complicated
than needed.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-08 10:07:19 +00:00
Robin Appelman
62a8f2db5c Merge pull request #43421 from nextcloud/backport/41015/stable28
[stable28] continue background scanning different storages if one fails
2024-02-08 10:16:57 +01:00
Nextcloud bot
6f622c170e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-08 00:19:54 +00:00
Pytal
7a6e6e0f55 Merge pull request #43434 from nextcloud/stable28-bump-ncvue-to-v8.6.2
[stable28] Bump NcVue to `v8.6.2`
2024-02-07 11:41:18 -08:00
nextcloud-command
7508c89154 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-07 18:37:09 +00:00
julia.kirschenheuter
f3860ad943 Bump NcVue to v8.6.2
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-02-07 10:32:27 -08:00
John Molakvoæ
7d9c4cf699 Merge pull request #43418 from nextcloud/backport/43267/stable28 2024-02-07 12:15:56 +01:00
nextcloud-command
8b12b16a91 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-07 09:53:53 +00:00
Ferdinand Thiessen
d15d7bcba0 fix(ContactsStore): Sanitize user ID given to guest avatar route
It is not allowed to use slashes within path parameters, so they would need to be encoded.
But URL encoded slashes are not suported by Apache, so instead replace slash with space.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-07 09:23:52 +00:00
Robin Appelman
b2487de1e1 continue background scanning different storages if one fails
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-07 09:08:15 +00:00
John Molakvoæ
6dd7cd4874 fix(files): setup cannot be in mixins
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-07 08:53:32 +00:00
John Molakvoæ
a3adb15dcd chore(files): move shared FileEntry and FileEntryGrid into a mixin
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-07 08:53:32 +00:00
John Molakvoæ
468bb92250 fix(files) selection store typing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-07 08:53:32 +00:00
John Molakvoæ
c48edcb2be fix(files): drop to folder path and user feedback
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-07 08:53:32 +00:00
John Molakvoæ
5dc2200ca0 Merge pull request #43404 from nextcloud/backport/43217/stable28 2024-02-07 08:54:42 +01:00
Matthieu Gallien
13d0f5a34b Merge pull request #43372 from nextcloud/automated/noid/stable28-update-code-signing-crl
[stable28] fix(security): Update code signing revocation list
2024-02-07 08:45:02 +01:00
nextcloud-command
d33c95775e fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2024-02-07 02:11:42 +00:00
Ferdinand Thiessen
9d04d93d92 Merge pull request #43392 from nextcloud/backport/43319/stable28
[stable28] Fix color of app menu entries and background color
2024-02-07 02:54:07 +01:00
Ferdinand Thiessen
a2a5a7a217 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-07 02:00:52 +01:00
Ferdinand Thiessen
31a72b4ad7 fix(cypress): Adjust cypress tests for changed theming
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-07 02:00:52 +01:00
Ferdinand Thiessen
2d548e6496 fix(theming): The background is the primary color and must not be double inverted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-07 02:00:40 +01:00
Nextcloud bot
a37fe5b6e3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-07 00:19:20 +00:00
John Molakvoæ
647b8746b0 fix(files): add mount root property and adjust delete wording
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-06 20:50:47 +00:00
Pytal
7412cb02a6 Merge pull request #43403 from nextcloud/backport/43369/stable28
[stable28] fix: added last two places for aria-labels on setting icons
2024-02-06 12:42:55 -08:00
Eduardo Morales
4b40638d00 fix: added last two places for aria-labels on setting icons
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-02-06 18:56:02 +00:00
Julia Kirschenheuter
2f6b641011 Merge pull request #43388 from nextcloud/backport/43358/stable28
[stable28] fix(settings): focus on federation scope after dialog
2024-02-06 14:37:06 +01:00
Joas Schilling
a523a87951 Merge pull request #43384 from nextcloud/backport/40725/stable28
[stable28] chore: Use the same configuration in update-baseline as in psalm workflow
2024-02-06 14:00:04 +01:00
Christoph Wurst
700a5d7ba2 fix(files): Don't attempt to format a partial cache entry
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-02-06 12:53:13 +00:00
nextcloud-command
87dde68b18 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-06 12:32:08 +00:00
Grigorii K. Shartsev
528d69d87f chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-06 12:25:25 +00:00
Grigorii K. Shartsev
95aecf6216 techdebt(settings): mark visibility selects as label-outside
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-06 12:25:25 +00:00
Grigorii K. Shartsev
723cbcb708 fix(settings): focus on trigger after federation scope dialog close
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
2024-02-06 12:25:25 +00:00
Côme Chilliet
7b0a559e63 chore: Use the same configuration in update-baseline as in psalm workflow
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-06 10:32:05 +01:00
Andy Scherzinger
de19878cdf Merge pull request #43347 from nextcloud/backport/42552/stable28
[stable28] fix(theming): change color button contrast
2024-02-06 10:19:56 +01:00
Nextcloud bot
341375b750 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-06 00:19:20 +00:00
John Molakvoæ
35934f356b Merge pull request #43359 from nextcloud/backport/43318/stable28 2024-02-05 16:54:25 +01:00
John Molakvoæ
34a53941fb fix(files): dav owner and mime types
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>

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

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-05 15:24:51 +00:00
John Molakvoæ
7b7df96fd6 Merge pull request #43336 from nextcloud/backport/43330/stable28 2024-02-05 15:42:32 +01:00
nextcloud-command
bccad8350c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-05 12:55:41 +00:00
John Molakvoæ
ff5d0f3c08 fix(files): better null relatedTarget event detection
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>

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

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-05 12:55:00 +00:00
John Molakvoæ
a1662d8bb9 fix(files): drag leave detection on safari
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-05 12:50:56 +00:00
Ferdinand Thiessen
e8fa96ba5d fix(cypress): Wait for color change in pickRandomColor
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-05 12:00:12 +01:00
Grigorii K. Shartsev
360ca48ad0 test(theming): update e2e tests after separating color button and preview
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-05 09:49:53 +00:00
Grigorii K. Shartsev
b025ee0701 fix(theming): change color button contrast on admin settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-05 09:49:53 +00:00
Grigorii K. Shartsev
d36f846d35 fix(theming): change color button contrast on user settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-05 09:49:53 +00:00
Nextcloud bot
9a0c5686c7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-05 00:19:49 +00:00
Nextcloud bot
caa2a97890 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-04 00:19:39 +00:00
Ferdinand Thiessen
b96a2876c2 Merge pull request #43294 from nextcloud/backport/42811/stable28
[stable28] make failure to load app commands non-fatal
2024-02-03 21:18:09 +01:00
Ferdinand Thiessen
54e8c8f0b6 Merge pull request #43278 from nextcloud/backport/43024/stable28
[stable28] Consider admin defaults when creating shares
2024-02-03 21:17:17 +01:00
nextcloud-command
9be6d0f9e5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-03 19:38:44 +00:00
fenn-cs
d36c002305 Use @nextcloud/capabilities to obtain share api defaults
- Remove redundant initial state added

- Call `getCapabilities()` in share config file.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-02-03 20:31:03 +01:00
fenn-cs
61adb716fe Consider admin defaults when creating shares
The current share logic always uses the default `BUNDLED_PERMISSIONS.ALL`
which includes everything.

This commit updates share creation logic to use `defaultPermissions` if set
by admin for the creation of new shares.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-02-03 20:30:51 +01:00
Ferdinand Thiessen
44c9651c1c Merge pull request #43236 from nextcloud/backport/40594/stable28
[stable28] dav: fix wrong decoding of pluses in URLs
2024-02-03 19:59:07 +01:00
Lorenz Brun
745b6970bb dav: fix wrong decoding of pluses in URLs
PHP's urldecode function does not decode URLs according to RFC 3986, but
according to the HTML 4.01 query parameter
encoding. This results in pluses being wrongly decoded to spaces even
though they should not be decoded at all.

Use rawurldecode instead, which follows RFC 3986 properly.

This fixes an issue where files on DAV shares containing pluses were
incorrectly decoded to spaces.

Fixes: #15849
Signed-off-by: Lorenz Brun <lorenz@brun.one>
2024-02-03 15:29:18 +01:00
Ferdinand Thiessen
d0295750b9 Merge pull request #43282 from nextcloud/backport/42696/stable28
[stable28] fix(caldav): only call getTimestamp() on actual DateTime data
2024-02-03 15:26:31 +01:00
Ferdinand Thiessen
8bf8074dc5 Merge pull request #43222 from nextcloud/backport/43172/stable28
[stable28] fix(files): selected files actions position on scroll/with readme block
2024-02-03 15:21:54 +01:00
nextcloud-command
4b8f25cebf chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-03 14:25:18 +01:00
Thomas Citharel
020c2960b8 fix(caldav): only call getTimestamp() on actual DateTime data
For some reason the value of $component['DTSTART'][0] may not be a DateTimeImmutable

Closes #42464

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-03 14:24:09 +01:00
Grigorii K. Shartsev
5b792407a1 fix(files): selected files actions position on scroll/with readme block
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-03 14:22:43 +01:00
Ferdinand Thiessen
7a7f6c84d4 Merge pull request #43175 from nextcloud/backport/43147/stable28
[stable28] fix(files): Consistent sorting for folders before files (user configurable)
2024-02-03 14:22:11 +01:00
Ferdinand Thiessen
b91688ed55 Merge pull request #43046 from nextcloud/backport/43045/stable28
[stable28] fix(apps): Fix type information of app manager
2024-02-03 14:11:17 +01:00
Ferdinand Thiessen
933ad5e4d2 Merge pull request #43181 from nextcloud/backport/42930/stable28
[stable28] Fix: config param 'overwritecondaddr' not working
2024-02-03 12:16:56 +01:00
Ferdinand Thiessen
41dadfabaf chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-03 12:05:06 +01:00
Ferdinand Thiessen
2bfa14ed87 fix(cypress): Adjust files sorting tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-03 11:53:21 +01:00
Ferdinand Thiessen
8b57f5d4bb fix(files): Consistent sorting for folders before files (user configurable)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-03 11:53:21 +01:00
Joas Schilling
44023ff047 fix(apps): Fix type information of app manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-03 11:47:47 +01:00
Julia Kirschenheuter
e0f96bc1ac Merge pull request #43040 from nextcloud/backport/43028/stable28
[stable28] Correct values and attributes
2024-02-03 11:35:44 +01:00
Julia Kirschenheuter
363f95c9c8 Merge pull request #43044 from nextcloud/backport/43015/stable28
[stable28] Replace inaccessible disabled option of NcCheckboxRadioSwitch with NcNoteCard
2024-02-03 11:35:35 +01:00
nextcloud-command
4b2bea68ec chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-03 09:36:25 +00:00
nextcloud-command
811cc1226b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-03 10:16:27 +01:00
julia.kirschenheuter
1380e5b5e2 Correct values and attributes
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-02-03 10:14:59 +01:00
nextcloud-command
a2298b8f09 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-03 09:31:48 +01:00
julia.kirschenheuter
8f5d05c3d8 fix(files): replace inaccessible disabled option of NcCheckboxRadioSwitch with NcNoteCard
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-02-03 09:31:35 +01:00
Julia Kirschenheuter
fad72344c5 Merge pull request #43112 from nextcloud/backport/43098/stable28
[stable28] fix(settings): federation scope menu a11y
2024-02-03 09:20:51 +01:00
Nextcloud bot
0f6b626ce8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-03 00:19:24 +00:00
Julia Kirschenheuter
a4a6c5f455 Merge pull request #43291 from nextcloud/backport/43271/stable28
[stable28] fix(user_status): Fix losing focus to body when closing user status modal
2024-02-02 21:05:07 +01:00
nextcloud-command
1c9d0989b4 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-02 11:18:47 -08:00
Christopher Ng
ac2d5924aa fix(user_status): Fix losing focus to body when closing user status modal
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-02-02 11:18:47 -08:00
Joas Schilling
0aa9e2c3c7 Merge pull request #43295 from nextcloud/backport/43273/stable28
[stable28] fix(tests): Make the cypress apps management test more reliable
2024-02-02 19:40:07 +01:00
Robin Appelman
d404202869 fix successfull authentication detection
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-02 18:38:16 +00:00
Grigorii K. Shartsev
2d8c0dfeaa Merge pull request #43292 from nextcloud/backport/43174/stable28
[stable28] fix(files): do not open file by id on load for folders
2024-02-02 23:16:20 +05:00
Grigorii K. Shartsev
85d2baa4ae chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-02 17:08:00 +01:00
Ferdinand Thiessen
eab6b49854 Merge pull request #43013 from nextcloud/backport/42821/stable28
[stable28] Remove disputed bz2 check
2024-02-02 17:07:49 +01:00
Grigorii K. Shartsev
f90d70d0b0 fix(files): do not open file by id on load for folders
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-02 17:04:58 +01:00
Grigorii K. Shartsev
453fa74de4 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-02 17:01:18 +01:00
Grigorii K. Shartsev
2909263b30 fix(settings): use default styles for federation scope menu
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-02 16:56:59 +01:00
Grigorii K. Shartsev
b1ed3f888a fix(settings): federation scope menu a11y
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-02 16:56:59 +01:00
Ferdinand Thiessen
3658380733 Merge pull request #43066 from nextcloud/backport/42732/stable28
[stable28] fix(a11y): Fix informative graphics contrast of user status icons
2024-02-02 16:56:33 +01:00
Joas Schilling
2be083169e fix(tests): Make the cypress apps management test more reliable
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-02 15:37:44 +00:00
Ferdinand Thiessen
579242ef07 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-02 16:10:24 +01:00
Christopher Ng
72c0626ac3 chore(user_status): Remove unused styles + svgs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit b61c13c8eb)
2024-02-02 16:08:51 +01:00
Christopher Ng
6553d91638 fix(user_status): Migrate to NcUserStatusIcon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit f060475189)
2024-02-02 16:08:51 +01:00
Christopher Ng
e429435349 fix(dashboard): Migrate to NcUserStatusIcon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 693eb6926e)
2024-02-02 16:08:51 +01:00
Ferdinand Thiessen
5e22ee1e05 Merge pull request #43167 from nextcloud/backport/43084/stable28
[stable28] Move modal outside of the Version component.
2024-02-02 16:07:51 +01:00
Robin Appelman
44d3a4ffba make failure to load app commands non-fatal
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-02 15:01:13 +00:00
nextcloud-command
b65c5ead68 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-02 14:36:01 +00:00
J0WI
d8ba5f621f Remove disputed bz2 check
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-02-02 15:34:36 +01:00
Ferdinand Thiessen
30706d4f41 Merge pull request #43126 from nextcloud/backport/43078/stable28
[stable28] handle storage not available when expiring versions
2024-02-02 15:14:41 +01:00
Louis Chemineau
a445a87339 Move modal outside of the Version component.
This is for accessibility, to have the NcListItem (<li>) as a direct child of the <ul>

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-02 15:14:02 +01:00
Ferdinand Thiessen
36f58ae4d8 Merge pull request #43064 from nextcloud/backport/43061/stable28
[stable28] chore: Bump @nextcloud/vue to v8.5.1
2024-02-02 15:12:34 +01:00
Robin Appelman
27ac4e25b7 handle storage not available when expiring versions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-02 12:51:13 +01:00
Christopher Ng
45cd4dfa20 test(files): Fix file picker test
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-02-02 12:44:25 +01:00
Christopher Ng
bd50327fd1 test(theming): Fix navigation bar tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-02-02 12:44:25 +01:00
Christopher Ng
0ed973b3f6 chore: Update dav snapshot
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-02-02 12:44:25 +01:00
Christopher Ng
ae1e1d30d7 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-02-02 12:44:23 +01:00
Christopher Ng
7a0d9e7ab5 chore: Bump @nextcloud/vue to v8.5.1
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-02-02 12:38:34 +01:00
Ferdinand Thiessen
1f80acb0ea Merge pull request #43065 from nextcloud/backport/42822/stable28
[stable28] fix(settings): set viewBox on SVG icons
2024-02-02 12:36:30 +01:00
Ferdinand Thiessen
7dc0234775 Merge pull request #43158 from nextcloud/backport/43094/stable28
[stable28] fix: added a label element to the NcSelect in update settings
2024-02-02 12:07:32 +01:00
Simon L
dce5df4a5c Merge pull request #43129 from nextcloud/backport/43047/stable28
[stable28] Buffer chunked requests
2024-02-02 06:55:34 +01:00
Nextcloud bot
477f6f1f86 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-02 00:19:41 +00:00
nextcloud-command
c1f76cda94 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-01 23:49:07 +01:00
Grigorii K. Shartsev
0df65df58f fix(settings): set viewBox on SVG icons
Without viewBox they don't scale

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-01 23:40:51 +01:00
Ferdinand Thiessen
8d1d8da6b5 Merge pull request #43108 from nextcloud/backport/43090/stable28
[stable28] fix(files): combine navigation and files list into single Vue app
2024-02-01 23:34:27 +01:00
Ferdinand Thiessen
5249783dc8 Merge pull request #42776 from nextcloud/backport/42184/stable28
[stable28] enh(UnifiedSearch): Keep the searchbar on top of the modal
2024-02-01 23:18:23 +01:00
Pytal
2e4154d2ca Merge pull request #43155 from nextcloud/backport/43137/stable28
[stable28] fix(files_sharing): Return focus to trigger element on sharing details close
2024-02-01 13:38:31 -08:00
Christopher Ng
ab2cd8cd86 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-02-01 10:20:54 -08:00
Ferdinand Thiessen
257ea23245 Merge pull request #43133 from nextcloud/backport/43099/stable28
[stable28] fix(tests): Make PostgreSQL unit tests less flacky by ordering
2024-02-01 19:20:26 +01:00
Christopher Ng
d32abae55d fix(files_sharing): Return focus to trigger element on sharing details close
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-02-01 10:15:58 -08:00
nextcloud-command
ddb1610ca2 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-01 19:13:28 +01:00
John Molakvoæ
8b92cf8692 fix(files): right lick actions menu
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-01 18:37:43 +01:00
Grigorii K. Shartsev
5620e057cf fix(files): combine navigation and files list into single Vue app
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-01 18:35:56 +01:00
Ferdinand Thiessen
ffeecd86cf enh(UnifiedSearch): Keep the searchbar on top of the modal
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-01 17:21:23 +01:00
Ferdinand Thiessen
e49c331b71 Merge pull request #42777 from nextcloud/backport/42292/stable28
[stable28] fix(a11y): Unified search headings the sequel
2024-02-01 17:13:45 +01:00
Ferdinand Thiessen
5ea2f483d9 Merge pull request #43242 from nextcloud/backport/41338/stable28
[stable28] fix(files): make sure we focus the parent actions submenu entry
2024-02-01 16:16:03 +01:00
Louis Chemineau
2367b57593 Buffer chunked requests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-01 15:55:39 +01:00
Ferdinand Thiessen
2b17710ce5 Merge pull request #43196 from nextcloud/backport/43031/stable28
[stable28] Document throwing behavior of SetupResult upon invalid rich object
2024-02-01 14:28:41 +01:00
Ferdinand Thiessen
ca8d71966f Merge pull request #43244 from nextcloud/backport/41327/stable28
[stable28] dont reuse etag for folders marked explicitly unscanned
2024-02-01 14:21:40 +01:00
Joas Schilling
f1af8ea48d fix(tests): Make PostgreSQL unit tests less flacky by ordering
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-01 12:19:08 +01:00
Ferdinand Thiessen
6bdee0564e Merge pull request #43192 from nextcloud/backport/42794/stable28
[stable28] fix(Request): Catch exceptions in `isTrustedProxy`
2024-02-01 12:16:51 +01:00
Ferdinand Thiessen
d501f2de92 Merge pull request #43195 from nextcloud/backport/42331/stable28
[stable28] fix(settings): Disable renaming for tokens marked to be wiped
2024-02-01 12:15:23 +01:00
Benjamin Gaussorgues
619dd9396b Merge pull request #43253 from nextcloud/release/28.0.2
28.0.2
2024-02-01 10:31:30 +01:00
Benjamin Gaussorgues
b80ee59e1c 28.0.2
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-02-01 10:18:29 +01:00
Nextcloud bot
0f24d9d590 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-01 00:19:14 +00:00
Robin Appelman
9616d48c38 also updated parent etags when a changed etag is detected during scanning
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-31 18:27:29 +00:00
Robin Appelman
404b340dda add test for updating etag with unchanged mtime in child folder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-31 18:27:29 +00:00
Robin Appelman
f56a8e7e9e add test for updating etag with unchanged mtime
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-31 18:27:29 +00:00
Robin Appelman
b38708afaf dont reuse etag for folders marked explicitly unscanned
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-31 18:27:29 +00:00
nextcloud-command
659a3afa1a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-31 17:28:18 +00:00
John Molakvoæ
02f2850817 fix(files): make sure we focus the parent actions submenu entry
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-31 17:14:53 +00:00
Nextcloud bot
4b01ca87a4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-31 00:19:32 +00:00
Nextcloud bot
032adc0080 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-30 00:19:17 +00:00
Côme Chilliet
7fe2c6f3f0 Document throwing behavior of SetupResult upon invalid rich object
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-29 21:11:18 +00:00
Ferdinand Thiessen
a61c11fc23 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-29 22:06:49 +01:00
Ferdinand Thiessen
193bb176d5 fix(settings): Disable renaming for tokens marked to be wiped
This otherwise a WipeException will be thrown when trying to rename

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-29 17:47:46 +00:00
Ferdinand Thiessen
cfc12b8650 fix(Request): Catch exceptions in isTrustedProxy
The function fails if the configured trusted proxies contain invalid characters and the underlying IpUtils will throw.
But as it is used by `getRemoteAddress` which is used by logging / templating, thrown errors are not reported but silently fail with error 500.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-29 15:23:50 +00:00
Benjamin Gaussorgues
27c5c17f1e Merge pull request #43151 from nextcloud/release/28.0.2_rc5
28.0.2 RC5
2024-01-29 16:01:46 +01:00
Eduardo Morales
f59ef7ba2f chore: compile assets
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-29 08:33:13 -06:00
Eduardo Morales
eea9900e56 fix: added a label element to the NcSelect in update settings
Signed-off-by: Eduardo Morales <emoral435@gmail.com>

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

[skip ci]
2024-01-29 08:33:13 -06:00
Arthur Schiwon
d7b8f586d4 test(unit): fix RequestTest
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-01-29 09:58:56 +00:00
Pavel Kryl
8442ed014d code style: ommited space, reverted [code review] 2024-01-29 09:58:56 +00:00
Pavel Kryl
21625f0d66 fixing bug #6914: Config Param 'overwritecondaddr' not working
- just ignoring/removing extra parameter 'protocol' as suggested by
  blizzz

Signed-off-by: Pavel Kryl <pavel@kryl.eu>
2024-01-29 09:58:56 +00:00
Nextcloud bot
a35ba912b9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-29 00:19:37 +00:00
Nextcloud bot
a6b0fb1db7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-28 00:19:17 +00:00
Ferdinand Thiessen
b062e03030 Merge pull request #43169 from nextcloud/backport/43152/stable28
[stable28] fix(files): disable `Unshare` until proper fix
2024-01-27 14:24:50 +01:00
John Molakvoæ
dd87b3a9ad fix(files): disable Unshare until proper fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-27 13:10:48 +01:00
Nextcloud bot
787b2a3c90 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-27 00:38:38 +00:00
Ferdinand Thiessen
af78145e21 Merge pull request #43150 from nextcloud/backport/43148/stable28
[stable28] Update `@nextcloud/dialogs` to 5.1.1
2024-01-27 01:19:12 +01:00
Ferdinand Thiessen
4b3e6eabab fix(cypress): Await copy move request to avoid flaky CI
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 16:25:43 +01:00
Arthur Schiwon
b61ab2b968 28.0.2 RC5
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-01-26 16:12:36 +01:00
Ferdinand Thiessen
02432159f5 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:56:12 +01:00
Ferdinand Thiessen
9d949c15a2 chore: Update @nextcloud/dialogs to 5.1.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:55:03 +01:00
Nextcloud bot
b0c003d7be Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-26 00:19:18 +00:00
Arthur Schiwon
a997193815 Merge pull request #43095 from nextcloud/release/28.0.2_rc4
28.0.2 RC4
2024-01-25 20:12:52 +01:00
Arthur Schiwon
400f459465 Merge pull request #43119 from nextcloud/backport/42992/stable28
[stable28] fix(files): Make the navigation reactive to view changes and show also sub routes as active
2024-01-25 20:09:14 +01:00
nextcloud-command
732283f6d1 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-25 17:45:05 +01:00
Ferdinand Thiessen
6a5181f534 fix(files): Ensure the correct dir query is set on folder action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 17:43:48 +01:00
Ferdinand Thiessen
3add75cd16 fix(files): Make sure to add the fileid on favorite folders navigation entries
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 17:43:48 +01:00
Ferdinand Thiessen
5db658c655 fix(files): Make sure $navigation is observable to react on changes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 17:43:48 +01:00
Ferdinand Thiessen
d1fc93ede1 fix(files): Set default view and match also child routes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 17:43:43 +01:00
Ferdinand Thiessen
24f4997778 fix(files): Add declaration for $navigation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 15:48:11 +00:00
Joas Schilling
ddc22c857e Merge pull request #43107 from nextcloud/backport/42896/stable28
[stable28] fix(userstatus): CALL status should overwrite MEETING status
2024-01-25 14:03:55 +01:00
Joas Schilling
aa24c671dc fix(userstatus): Also set the user status when the user has no status at all
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-25 10:10:41 +00:00
Anna Larch
a3095303d5 fix(userstatus): CALL status should overwrite MEETING status
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-01-25 10:10:41 +00:00
Nextcloud bot
4d43b6e3d5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-25 00:19:22 +00:00
Arthur Schiwon
35fa77c5b8 28.0.2 RC4
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-01-24 20:51:15 +01:00
Arthur Schiwon
20e16b9d6f Merge pull request #43091 from nextcloud/fix/28-router
[stable28] chore: Update `@nextcloud/router` to 2.2.1
2024-01-24 20:34:23 +01:00
Ferdinand Thiessen
5f380181f9 fix(tests): Adjust legacy tests for nextcloud-router update
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-24 19:29:08 +01:00
Ferdinand Thiessen
425729d8a3 chore: Update @nextcloud/router to 2.2.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-24 18:31:50 +01:00
Joas Schilling
520f3d41f5 Merge pull request #43070 from nextcloud/automated/noid/stable28-update-code-signing-crl
[stable28] fix(security): Update code signing revocation list
2024-01-24 08:58:43 +01:00
nextcloud-command
41a6392979 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2024-01-24 02:19:39 +00:00
Nextcloud bot
017589fb29 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-24 00:20:19 +00:00
Arthur Schiwon
b9faaef35a Merge pull request #43059 from nextcloud/release/28.0.2_rc3
28.0.2 RC3
2024-01-23 20:03:38 +01:00
Arthur Schiwon
bcea51d6bf Merge pull request #43055 from nextcloud/backport/42999/stable28
[stable28] fix(settings): Allow to connect to local address when checking for `.mjs` support
2024-01-23 19:54:05 +01:00
Arthur Schiwon
ae1fa1828f Merge pull request #43058 from nextcloud/backport/43029/stable28
[stable28] Wrap versions list in virtual scroll
2024-01-23 19:06:35 +01:00
Arthur Schiwon
20e3f79806 28.0.2 RC3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-01-23 18:24:07 +01:00
Louis Chemineau
9cfa6ef77b Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-23 18:02:39 +01:00
Louis Chemineau
a256b73cff Wrap versions list in virtual scroll
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-23 16:57:49 +00:00
Ferdinand Thiessen
71e9036e03 fix(settings): Allow to connect to local address when checking for .mjs support
Also reduce the severity in case of a failed check to warning.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-23 14:12:29 +00:00
Benjamin Gaussorgues
92a776d07b Merge pull request #43003 from nextcloud/release/28.0.2_rc2
28.0.2 RC2
2024-01-23 10:26:50 +01:00
Arthur Schiwon
667b0bc3ff Merge pull request #43032 from nextcloud/fix/stable28-capabilities
[stable28] fix(theming): Apply same logic on capabilities for primary color as done on themes
2024-01-23 10:12:09 +01:00
Nextcloud bot
c6c9ec9c14 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-23 00:27:14 +00:00
Ferdinand Thiessen
afa56bb8a4 fix(theming): Apply same logic on capabilities for primary color like on themes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-23 01:01:03 +01:00
nextcloud-command
d6a58ef792 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-22 20:25:10 +00:00
Arthur Schiwon
52a6789423 Merge pull request #43030 from nextcloud/backport/42967/stable28
[stable28] fix(files): do not show `View in folder` in the Files view
2024-01-22 21:11:22 +01:00
Christopher Ng
a3732d5639 fix(a11y): Unified search headings the sequel
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-22 11:54:35 -08:00
nextcloud-command
14c1d3da4d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-22 20:42:41 +01:00
John Molakvoæ
3c5a09b9a4 fix(files): do not show View in folder in the Files view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-22 20:39:37 +01:00
Arthur Schiwon
9398e90828 Merge pull request #43012 from nextcloud/backport/42971/stable28
[stable28] fix(auth): Fix logging in with email and app password
2024-01-22 20:24:26 +01:00
Arthur Schiwon
dad03dbc73 Merge pull request #43006 from nextcloud/backport/42996/stable28
[stable28] fix(weather_status): Fix location format for OpenAPI
2024-01-22 20:16:14 +01:00
Arthur Schiwon
9657dbcfae Merge pull request #43014 from nextcloud/backport/42963/stable28
[stable28] fix header inversion bug
2024-01-22 20:03:47 +01:00
Benjamin Gaussorgues
2be4fb7e7b Merge pull request #42820 from nextcloud/enh/noid/prep-appconfig-migration-for-29
[stable28] prepare migration to lazy config
2024-01-22 15:58:43 +01:00
Maxence Lange
7b6b3589f3 prepare migration to lazy config
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-22 11:32:23 -01:00
Ferdinand Thiessen
b0679e2384 chore: Built CSS assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-22 11:19:59 +00:00
Simon L
99043c363d fix header inversion bug
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-22 10:15:43 +00:00
Christoph Wurst
0e3f68079e fix(auth): Fix logging in with email, password and login name mismatch
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-22 09:43:59 +00:00
Joas Schilling
7026fa6fa2 Merge pull request #42960 from nextcloud/backport/42955/stable28
[stable28] fix(a11y): Fix avatar menu icon color in dark mode
2024-01-22 10:27:00 +01:00
provokateurin
a7e9803461 fix(weather_status): Fix location format for OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-22 09:00:53 +00:00
Benjamin Gaussorgues
1f341feac8 28.0.2 RC2
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-01-22 09:30:41 +01:00
Joas Schilling
827baadbff chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-22 09:16:01 +01:00
Joas Schilling
2fec523604 fix(a11y): Fix avatar menu icon color in dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-22 09:15:44 +01:00
Nextcloud bot
0004ba890c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-22 00:20:18 +00:00
John Molakvoæ
753425f622 Merge pull request #42994 from nextcloud/fix/stable28-dialogs 2024-01-21 11:00:14 +01:00
Ferdinand Thiessen
efaf1ceddc chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-21 10:04:21 +01:00
Ferdinand Thiessen
0fed5f3c8f chore(deps): Update @nextcloud/dialogs to 5.1.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-21 10:04:20 +01:00
John Molakvoæ
c67ff102e4 Merge pull request #42983 from nextcloud/backport/42949/stable28 2024-01-21 10:01:31 +01:00
Nextcloud bot
0c89b042a5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-21 00:38:52 +00:00
nextcloud-command
f64af7cb83 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-21 01:20:02 +01:00
Christopher Ng
fad87c58a7 fix(files): Fix checkbox state semantics
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-21 01:13:56 +01:00
Ferdinand Thiessen
3c6fc68561 Merge pull request #42988 from nextcloud/backport/42889/stable28
[stable28] enh(files): Allow to copy files into same directory
2024-01-21 01:02:01 +01:00
Ferdinand Thiessen
79ef297fea Merge pull request #42986 from nextcloud/backport/stable28-profile-vue
[stable28] profile: Refactor code to use vue components and styles where possible
2024-01-21 00:58:47 +01:00
nextcloud-command
9818ba83fa chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-20 12:42:45 -06:00
Ferdinand Thiessen
84e2165aef fix(files): Allow to copy or move file to folder with similar name
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 12:42:45 -06:00
Ferdinand Thiessen
20331e4349 fix(files): Adjust getUniqueName for custom suffix and reuse for copy-move-action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 12:42:45 -06:00
Ferdinand Thiessen
d2446762b5 enh(files): Allow to copy files into same directory
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 12:42:45 -06:00
Ferdinand Thiessen
ea2ba8b27e Merge pull request #42982 from nextcloud/backport/42974/stable28
[stable28] fix(build): Fix OpenAPI diff on non-default specs
2024-01-20 17:41:35 +01:00
Ferdinand Thiessen
6e693e633c chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 17:37:32 +01:00
Ferdinand Thiessen
e20a87bf7f enh(core): Refactor profile page to use vue components
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 17:36:03 +01:00
John Molakvoæ
74f3d0fd45 Merge pull request #42952 from nextcloud/backport/42888/stable28 2024-01-20 17:25:22 +01:00
John Molakvoæ
d1ef76913c Merge pull request #42948 from nextcloud/backport/42940/stable28 2024-01-20 17:24:58 +01:00
John Molakvoæ
0285fbe430 Merge pull request #42984 from nextcloud/backport/42950/stable28 2024-01-20 16:10:37 +01:00
Eduardo Morales
df15045541 fix(files): fixed home aria-label and desc logic
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-20 13:36:24 +01:00
provokateurin
54b9636e17 fix(build): Fix OpenAPI diff on non-default specs
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-20 11:10:37 +00:00
Nextcloud bot
1086d1e1b5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-20 00:19:33 +00:00
provokateurin
651caed6aa refactor: Configure OpenAPI scopes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-19 09:12:34 +01:00
provokateurin
98d64ea05d refactor: Migrate IgnoreOpenAPI attributes to OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-19 09:12:34 +01:00
provokateurin
4420923009 chore: Adjust codeowners
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-19 09:12:26 +01:00
provokateurin
846fb6f701 chore(deps): Update openapi-extractor
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-19 09:12:26 +01:00
provokateurin
b8b15b725b chore(files): Remove unused type alias
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-19 09:12:26 +01:00
Nextcloud bot
2988f7f220 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-19 00:19:35 +00:00
Arthur Schiwon
e93520a2c5 Merge pull request #42789 from nextcloud/release/28.0.2_rc1
28.0.2 RC1
2024-01-18 15:01:31 +01:00
Arthur Schiwon
ddb95cef5b Merge pull request #42921 from nextcloud/backport/42891/stable28
[stable28] Improve path resolution in files_version hooks
2024-01-18 14:59:57 +01:00
John Molakvoæ
1fc89782c5 Merge pull request #42767 from nextcloud/backport/42598/stable28 2024-01-18 13:57:25 +01:00
Arthur Schiwon
a3d525b46d Merge pull request #42779 from nextcloud/backport/42126/stable28
[stable28] Tooltip outside click, should abort share creation
2024-01-18 13:21:19 +01:00
Arthur Schiwon
b692fbf061 Merge pull request #42918 from nextcloud/backport/setupchecks-2/stable28
[stable28] Setup check migrations to new API
2024-01-18 12:34:52 +01:00
John Molakvoæ
8147874698 Merge pull request #42882 from nextcloud/backport/42853/stable28 2024-01-18 12:27:35 +01:00
John Molakvoæ
f9c770bbc3 fix(files): use backend error message if provided
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-18 12:25:16 +01:00
John Molakvoæ
9ff82cd326 Merge pull request #42895 from nextcloud/backport/42840/stable28 2024-01-18 12:22:55 +01:00
Joas Schilling
ccd3a99f02 Merge pull request #42928 from nextcloud/backport/42923/stable28
[stable28] fix(build): Do not generated OpenAPI for non-shipped apps or apps without OpenAPI support
2024-01-18 12:17:54 +01:00
provokateurin
3e59696c1a fix(build): Do not generated OpenAPI for non-shipped apps or apps without OpenAPI support
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-18 11:54:49 +01:00
Louis Chemineau
eaddf36012 Improve path resolution in files_version hooks
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-18 10:21:46 +00:00
Arthur Schiwon
c16744c70f Merge pull request #42899 from nextcloud/backport/42860/stable28
[stable28] Update ContactsStore: Avoid exceptions on empties
2024-01-18 11:13:11 +01:00
Arthur Schiwon
0f3af00334 Merge pull request #42906 from nextcloud/fix/caldav/update-acls-deletedcalendarobjectscollection-stable28
[stable28] fix(CalDAV): set acls for DeletedCalendarObjectsCollection
2024-01-18 11:01:33 +01:00
Côme Chilliet
f9eeb285c9 Remove obsolete check of curl SSL version
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 10:02:42 +01:00
Côme Chilliet
19aaaad8df Remove references to removed functions in tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 10:02:34 +01:00
Côme Chilliet
d5c9d6037f Fix Cron setup check tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 10:02:28 +01:00
Côme Chilliet
27514adef4 Migrate Cron checks to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 10:02:23 +01:00
Côme Chilliet
86bfd7339c Fix CheckSetupControllerTest following overwrite.cli.url migration
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 10:02:15 +01:00
Côme Chilliet
2bc1f78af5 Migrate overwrite.cli.url setup check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 10:02:10 +01:00
Côme Chilliet
956d7ae765 Fix tests because we added escaping to setupchecks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 09:54:59 +01:00
Côme Chilliet
6e86870b6e Fix tests in CheckSetupControllerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 09:54:55 +01:00
Côme Chilliet
7305fd7b48 Remove CSRF check from code integrity rescan
Did not find a way to get a valid token from SetupCheck

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 09:54:49 +01:00
Côme Chilliet
a59dcd4bd5 Properly escape HTML and add support for highlight links in setupchecks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 09:54:38 +01:00
Côme Chilliet
985a91ca43 Improve validator output in case of invalid RichObject
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 09:54:33 +01:00
Côme Chilliet
44b8cf650c Use highlight rich objecttype to render links in CodeIntegrity setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 09:54:28 +01:00
Côme Chilliet
e35fa737e4 Migrate code integrity to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 09:54:06 +01:00
John Molakvoæ
1f8e3724b8 fix(files): prevent dragging previews and appear as an external files DnD
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-18 08:09:34 +00:00
Johannes Merkel
a509c85662 fix(CalDAV): set acls for DeletedCalendarObjectsCollection
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2024-01-18 08:39:24 +01:00
Ferdinand Thiessen
0b9e2fa4bc Merge pull request #42897 from nextcloud/backport/42887/stable28
[stable28] fix(theming): Make sure `color-border-maxcontrast` fulfills 3:1 contrast
2024-01-18 02:28:07 +01:00
Nextcloud bot
b1515fff11 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-18 00:19:55 +00:00
Eduardo Morales
6bf94d35b1 Merge pull request #42898 from nextcloud/backport/42856/stable28
[stable28] enh(a11y): improved contrast on user menu
2024-01-17 14:43:46 -06:00
Arthur Schiwon
697d0de511 Merge pull request #42697 from nextcloud/fix/add-settings-section-type-attribute-stable28
[stable28] Fix/add settings section type attribute
2024-01-17 21:03:44 +01:00
Eduardo Morales
54bed640ca Merge pull request #42859 from nextcloud/backport/stable28/42744/fix/updatenotification/42637/move-title-and-aria-label-to-interactive-element
[stable28] fix(update-section): changed span to an interactive element
2024-01-17 13:49:45 -06:00
Arthur Schiwon
a380014c12 Merge pull request #42868 from nextcloud/backport/42607/stable28
[stable28] fix(session): Avoid useless authtoken DB queries for anonymous requests
2024-01-17 20:40:35 +01:00
Arthur Schiwon
c2bbe807a7 Merge pull request #42861 from nextcloud/backport/42834/stable28
[stable28] chore(theming): fix warning of incorrect `NcCheckboxRadioSwitch` usage
2024-01-17 20:37:51 +01:00
nextcloud-command
a116ea98e9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-17 18:53:32 +00:00
Josh
2a386f8360 Update ContactsStore: Avoid exceptions on empties
Fixes #42858 and makes things more robust

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-01-17 18:48:08 +00:00
Eduardo Morales
057b8e060b enh(a11y): improved contrast on user menu
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-17 19:36:48 +01:00
Eduardo Morales
09015a1507 fix(update-section): changed span to an interactive element
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-17 11:43:25 -06:00
Ferdinand Thiessen
74c63997a3 fix(theming): Make sure color-border-maxcontrast fulfills 3:1 contrast
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-17 18:30:23 +01:00
Eduardo Morales
81d49265c6 Merge pull request #42430 from nextcloud/backport/42334/stable28
[stable28] enh(settings): Refactor UI for session and app token management
2024-01-17 10:27:37 -06:00
nextcloud-command
761d9dd7e4 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-17 08:37:09 -06:00
Grigorii K. Shartsev
c5ed482a9d chore(theming): fix warning of incorrect NcCheckboxRadioSwitch usage
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>

[skip ci]
2024-01-17 08:37:09 -06:00
Ferdinand Thiessen
eb8724c8a4 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-17 08:26:31 -06:00
Ferdinand Thiessen
fe60c1e1fd enh(settings): Refactor frontend for session and app token management
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-17 08:19:06 -06:00
Arthur Schiwon
9b88869e0d Merge pull request #42874 from nextcloud/backport/42563/stable28
[stable28] Update crl after revoke integration_homeassistant.csr
2024-01-17 14:55:53 +01:00
Anna
286c131893 Merge pull request #42854 from nextcloud/backport/42805/stable28
[stable28] fix(userstatus): catch unique constraint violation
2024-01-17 14:26:21 +01:00
Joas Schilling
00d74d1e2c Merge pull request #42871 from nextcloud/backport/42658/stable28
[stable28] fix(systemreport): Mark more configs as sensitive
2024-01-17 12:52:04 +01:00
John Molakvoæ
dd10697536 fix(dav): ajax request check on public remote endpoints
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-17 11:11:14 +01:00
Joas Schilling
fc1bfee8a4 Merge pull request #42864 from nextcloud/backport/42862/stable28
[stable28] fix(manifest): Check if app exists instead of accessing null as an array
2024-01-17 10:50:41 +01:00
Matthieu Gallien
f01fcd2db6 Update crl after revoke integration_homeassistant.csr
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-01-17 10:31:52 +01:00
Joas Schilling
f7f94bf919 fix(systemreport): Mark more configs as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-17 10:30:43 +01:00
Git'Fellow
980b14f629 fix(session): Avoid two useless authtoken DB queries for every anonymous request
Co-Authored-By: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-17 09:16:22 +00:00
Thomas Citharel
6862ed49ba fix(settings): check if activeSectionId and activeSectionType are defined before using them
Closes #41513

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-01-17 09:48:05 +01:00
Thomas Citharel
9034cc2e6f Add data-active-section-type attribute to app-content settings section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-01-17 09:48:05 +01:00
Arthur Schiwon
ee0f4f067d Merge pull request #42824 from nextcloud/backport/42768/stable28
[stable28] (dashboard): Lower error to info log message
2024-01-17 09:47:13 +01:00
Joas Schilling
84a380a3b2 fix(manifest): Check if app exists instead of accessing null as an array
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-17 09:30:44 +01:00
Nextcloud bot
c21df323b0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-17 00:20:25 +00:00
Simon L
aba6e3c1ad Merge pull request #42851 from nextcloud/backport/42720/stable28
[stable28] use showError in TransferOwnershipDialogue
2024-01-16 21:59:51 +01:00
Anna Larch
46674e2889 fix(userstatus): catch unique constraint violation
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-01-16 18:21:36 +00:00
Arthur Schiwon
f0a6c4429d Merge pull request #42827 from nextcloud/backport/41272/stable28
[stable28] fix: reduce memory consumption of scans
2024-01-16 19:17:23 +01:00
John Molakvoæ
14f2461aef Merge pull request #42735 from nextcloud/backport/41979/stable28 2024-01-16 17:57:26 +01:00
Ferdinand Thiessen
07540d5433 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-16 10:14:45 -06:00
Simon L
b178229839 use showError in TransferOwnershipDialogue
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-16 10:14:45 -06:00
Eduardo Morales
76ef1a81ed chore(sharing): compiled assets
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-16 10:09:33 -06:00
John Molakvoæ
c1b95ab025 fix(files_sharing): fix sharing status indicator side after component update
Seems like the components now have max-height/width set too

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-01-16 10:09:33 -06:00
Benjamin Gaussorgues
b74a59b331 Merge pull request #42795 from nextcloud/backport/setupchecks/stable28
[stable28] Migrate setup checks to new SetupCheck API
2024-01-16 16:55:45 +01:00
Grigorii K. Shartsev
04a4078e61 Merge pull request #42848 from nextcloud/stable28-fix/41826-avoid_same_h1_and_h2_headings
[stable28] fix/41826 avoid same h1 and h2 headings
2024-01-16 20:53:50 +05:00
Joas Schilling
730f205878 Merge pull request #42832 from nextcloud/backport/42806/stable28
[stable28] fix(appstore): Only send subscription keys to valid appstores
2024-01-16 15:29:05 +01:00
julia.kirschenheuter
acc78272a5 Complete <h1> settings heading
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>

(cherry picked from commit f6ec297df6)
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-01-16 14:50:02 +01:00
Ferdinand Thiessen
95baf48216 Merge pull request #42816 from nextcloud/backport/42436/stable28
[stable28] enh(settings): Add SetupCheck to ensure webserver correctly serves `.mjs` files
2024-01-16 11:54:52 +01:00
Arthur Schiwon
28473f70be Merge pull request #42772 from nextcloud/backport/42718/stable28
[stable28] Remove unneeded role="radiogroup" from "Predefined statuses"
2024-01-16 11:35:01 +01:00
John Molakvoæ
f05252f7ca Merge pull request #42591 from nextcloud/backport/41346/stable28 2024-01-16 11:08:23 +01:00
John Molakvoæ
e5f4eb487d fix(files): better upload error handling
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-16 10:27:38 +01:00
John Molakvoæ
6878313500 feat(files): disable upload button if quota is reached
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-16 10:25:04 +01:00
John Molakvoæ
129cd5e09c feat(files): show quota warning on page load or if storage becomes full
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-16 10:25:03 +01:00
Joas Schilling
1c38f8952f fix(appstore): Only send subscription keys to valid appstores
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-16 10:16:57 +01:00
Git'Fellow
d2da9c8fbe fix: reduce memory consumption of scans
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Fix lint

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-01-16 09:28:43 +01:00
Git'Fellow
27bf7c6f8c Lower to info
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-01-16 09:24:27 +01:00
Git'Fellow
a60bf6a00d Lower error to warning
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-01-16 09:24:26 +01:00
Nextcloud bot
21042c3e0f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-16 00:19:00 +00:00
Pytal
34783ca98b Merge pull request #42819 from nextcloud/backport/42727/stable28
[stable28] fix(l10n): Add context note for table footers
2024-01-15 15:11:28 -08:00
nextcloud-command
1cbf7e41d5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-15 22:26:59 +00:00
Christopher Ng
0008f6eb88 fix(l10n): Add context note for table footers
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-15 23:09:18 +01:00
Maxence Lange
662b069c99 Merge pull request #42810 from nextcloud/backports/42670/42670-stable28
[stable28] occ background-job:delete
2024-01-15 19:52:12 -01:00
Arthur Schiwon
ab2f7707b2 Merge pull request #42786 from nextcloud/backport/42660/stable28
[stable28] fix(share): use user timezone to parse share expiration date
2024-01-15 21:42:47 +01:00
Arthur Schiwon
873357955e Merge pull request #42758 from nextcloud/automated/noid/stable28-fix-npm-audit
[stable28] Fix npm audit
2024-01-15 21:42:16 +01:00
Arthur Schiwon
ac1b989388 Merge pull request #42815 from nextcloud/backport/42781/stable28
[stable28] Fix crash of login in case of duplicated group membership
2024-01-15 21:40:00 +01:00
Arthur Schiwon
82cd4f8f0d Merge pull request #42739 from nextcloud/fix/a11y/aria-hide-contacts-menu-images-stable28
[stable28] fix(a11y): Aria-hide contacts menu icon images
2024-01-15 21:37:11 +01:00
Pytal
6c55500dbb Merge pull request #42766 from nextcloud/backport/42723/stable28
[stable28] fix(settings): set default or unlimited user quota
2024-01-15 11:51:46 -08:00
Ferdinand Thiessen
5406ffb3ea Update apps/settings/lib/SetupChecks/JavaScriptModules.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-15 18:21:54 +01:00
Ferdinand Thiessen
fcdc53a2ba enh(settings): Add SetupCheck to ensure webserver correctly serves .mjs files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-15 18:21:53 +01:00
Ferdinand Thiessen
b8aa466b0e Merge pull request #42804 from nextcloud/backport/42585/stable28
[stable28] Add RichObject support for SetupCheck descriptions
2024-01-15 18:16:41 +01:00
Côme Chilliet
b18aabcc79 Fix crash of login in case of duplicated group membership
If several LDAP configurations return the same group id for a user it
 should still only appear once in the return of getUserGroups

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 17:55:57 +01:00
Joas Schilling
278f770a17 Merge pull request #42771 from nextcloud/backport/42619/stable28
[stable28] fix(dav): Fix user status "Undefined array key 0 at StatusService.php…
2024-01-15 17:24:06 +01:00
Maxence Lange
861611322e occ background-job:delete
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-15 14:02:11 -01:00
Benjamin Gaussorgues
596f0c1a69 Merge branch 'stable28' into backport/42660/stable28 2024-01-15 15:56:12 +01:00
Côme Chilliet
23bab8a61d Use match statement in richToParsed implementation
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 15:11:58 +01:00
Côme Chilliet
5a8004e90b Document new throw possibility in SetupResult
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 15:11:58 +01:00
Côme Chilliet
ba78b6cc1d Add TODO for richToParsed refactor
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 15:11:58 +01:00
Côme Chilliet
18533bba13 Fix UI for rich object in setupcheck results
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 15:11:58 +01:00
Côme Chilliet
c335d369e1 Fix psalm issue in SetupChecks command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 15:11:58 +01:00
Côme Chilliet
0b58618712 Validate rich objects passed to SetupResult
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 15:11:57 +01:00
Côme Chilliet
25c91e6eea Add RichObject support for SetupChecks descriptions
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 15:11:56 +01:00
nextcloud-command
0f7c33c4b0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-15 12:39:23 +00:00
Côme Chilliet
ed87e4b4ca Fix AppDirsWithDifferentOwnerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:31:35 +01:00
Côme Chilliet
17dd695e0e Migrate PHP imagick module check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:31:13 +01:00
Côme Chilliet
cf8c7e9270 Migrate tests for AppDirsWithDifferentOwner setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:31:06 +01:00
Côme Chilliet
14d132a4e6 Migrate app dir owner check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:31:01 +01:00
Côme Chilliet
3de96ac17f Improve PHP opcache setup check and reduce level in some cases
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:30:00 +01:00
Côme Chilliet
4cfab5dc7c Fix small psalm issue
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:55 +01:00
Côme Chilliet
26d1d84e0c Remove unsupported <code> tag and use quotes instead
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:50 +01:00
Côme Chilliet
e9ed7e7f9e Remove unused properties from CheckSetupControllerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:45 +01:00
Côme Chilliet
265f6dc136 Migrate opcache check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:40 +01:00
Côme Chilliet
ca63726a89 Merge SQlite warning to existing SupportedDatabase setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:28 +01:00
Côme Chilliet
004d3c4bd0 Migrate away from deprecated doctrine/dbal getName function
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:18 +01:00
Côme Chilliet
4342cf4db8 Migrate database pending bigint conversions check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:13 +01:00
nextcloud-command
8b2a10796e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-15 10:00:41 +00:00
Louis
4eaf7e7bbd Merge pull request #42734 from nextcloud/backport/42716/stable28
[stable28] fix(files): use getSummaryFor for better files summary translations
2024-01-15 10:42:25 +01:00
Arthur Schiwon
efe28fd479 28.0.2 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-01-15 10:23:45 +01:00
Benjamin Gaussorgues
57574d9d9a fix(share): use user timezone to parse share expiration date
If an user in UTC+1 try to create a share at 00:00, it's day D for him, but
D-1 for the server (UTC).
This fix aims to apply the correct offset

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-01-15 09:22:09 +00:00
fenn-cs
b5edb389bc Allow user to finish typing date before formatting
Debounce `onExpirationChange` to avoid calling `formatDateToString`
on invalid on uncompletely inputed date strings.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-01-15 09:39:03 +01:00
fenn-cs
67e3367c48 Tooltip outside click, should abort share creation
It's unexpected that click outside a tooltip would proceed with the
 action that could be carried out inside the tooltip.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-01-15 09:39:03 +01:00
Côme Chilliet
b768934478 Merge pull request #42726 from nextcloud/backport/42640/stable28
[stable28] Always catch OCP versions of authentication exceptions
2024-01-15 09:37:49 +01:00
julia.kirschenheuter
9314ecf98f Remove unneeded role="radiogroup" from "Predefined statuses"
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>

[skip ci]
2024-01-15 09:16:37 +01:00
Joas Schilling
ac3f3a0629 fix(dav): Fix user status "Undefined array key 0 at StatusService.php#98"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-15 09:15:25 +01:00
Nextcloud bot
460d723140 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-15 00:18:52 +00:00
nextcloud-command
a9be93e4bb chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-14 20:53:38 +00:00
John Molakvoæ
9dee49be4c fix(settings): set default or unlimited user quota
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-14 21:50:24 +01:00
nextcloud-command
31442c0acf chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2024-01-14 03:00:54 +00:00
Nextcloud bot
bcfbedd799 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-14 00:19:38 +00:00
Maxence Lange
bd8c472fb9 Merge pull request #42728 from nextcloud/backport/42667/stable28
[stable28] better users cycle
2024-01-13 00:56:34 -01:00
Nextcloud bot
aa051fd0b9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-13 00:20:32 +00:00
Grigorii K. Shartsev
0b515f7708 Merge pull request #42745 from nextcloud/backport/42676/stable28
[stable28] enh(comments): Add visual labels for editor
2024-01-13 02:42:24 +05:00
nextcloud-command
3f4bc1f25b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-12 21:21:16 +00:00
Ferdinand Thiessen
14f690664d enh(comments): Add always visible labels for comment input
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-12 20:56:03 +00:00
Maxence Lange
d1088e82b0 better users cycle
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-12 07:54:40 -06:00
Christoph Wurst
a3f05bbda6 fix(a11y): Aria-hide contacts menu icon images
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-12 14:16:59 +01:00
Nextcloud bot
b9540a8964 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-12 11:00:43 +00:00
Nextcloud bot
b906e1eda0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-12 10:40:22 +00:00
John Molakvoæ
75ecdec8fa chore(assets): Recompile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-12 10:15:52 +01:00
John Molakvoæ
aa6241067e fix(files): use getSummaryFor for better files summary translations
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-12 10:07:29 +01:00
John Molakvoæ
2606c99666 Merge pull request #42719 from nextcloud/feature/filelist_refresh_current_folder_on_update-stable28 2024-01-12 08:45:11 +01:00
Eduardo Morales
d2133574e7 Merge pull request #42711 from nextcloud/backup/stable28/42636/fix/core/42596/fix-button-accessibility-in-view-profile-page
Backup/stable28/42690/fix/core/42593/replace-transfer-button-with-NcVue-Button
2024-01-11 22:16:53 -06:00
Simon L
28d0999c20 Merge pull request #42730 from nextcloud/backport/42712/stable28
[stable28] fix header-elements being not shown correctly
2024-01-12 02:04:33 +01:00
Eduardo Morales
3d5f1caec2 chore(core): compile assets
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-11 19:00:01 -06:00
Eduardo Morales
36a2406430 fix(files): switched native input to NcButton
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-11 18:57:25 -06:00
Nextcloud bot
fd3d113fba Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-12 00:19:50 +00:00
nextcloud-command
a5489c825d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-11 22:37:19 +00:00
Simon L
1152bfcecc fix header-elements being not shown correctly
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-11 22:20:57 +00:00
Eduardo Morales
83149237be Merge pull request #42724 from nextcloud/backport/42709/stable28
[stable28] `SharingEntrySimple` needs `ul` or `ol` around it
2024-01-11 16:02:15 -06:00
Simon L
ab6d7d2f69 Merge pull request #42725 from nextcloud/backport/42700/stable28
[stable28] fix styling of development-notice
2024-01-11 22:53:39 +01:00
nextcloud-command
b9fce06452 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-11 20:47:52 +00:00
nextcloud-command
9cd98b8c66 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-11 20:29:54 +00:00
Côme Chilliet
4acb4a5f4c Import OCP IToken as OCPIToken to avoid a name clash in lib/private
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 18:01:01 +00:00
Côme Chilliet
6893aa1f6b Use OCP version of IToken in AppPasswordCreatedEvent
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 18:01:00 +00:00
Côme Chilliet
9e75c75f86 Use IToken from OCP instead of OC
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 18:01:00 +00:00
Côme Chilliet
63fbf90570 Suppress or fix psalm errors related to InvalidTokenException
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 18:01:00 +00:00
Côme Chilliet
360e7ffcca Always catch OCP versions of authentication exceptions
And always throw OC versions for BC

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 18:00:59 +00:00
Simon L
5242c2c84c fix styling of development-notice
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-11 17:52:36 +00:00
Simon L
c71d08cd4b sharing-entry__reshare needs ul or ol around it
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-11 17:52:20 +00:00
nextcloud-command
17651a37e9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-11 17:34:55 +00:00
Raul Ferreira
cd4796c87c Refresh FileList on current folder update
Signed-off-by: Raul Ferreira <r.ferreira.fuentes@gmail.com>
2024-01-11 18:14:19 +01:00
Simon L
2b378f6ab2 Merge pull request #42715 from nextcloud/backport/42698/stable28
[stable28] update webauthn section to feature components
2024-01-11 18:03:45 +01:00
John Molakvoæ
286f2e00d9 Merge pull request #42703 from nextcloud/backport/42584/stable28 2024-01-11 16:19:43 +01:00
John Molakvoæ
99d3f1399b chore(assets): Recompile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-11 15:44:08 +01:00
nextcloud-command
5f9a490aa5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-11 14:43:31 +00:00
John Molakvoæ
8481393581 chore(deps): bump @nextcloud/files to 3.1.0
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-11 15:42:56 +01:00
John Molakvoæ
e4fdd24d2f fix(files): group duplicate shares
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-11 15:42:56 +01:00
John Molakvoæ
b77afb4ed1 fix(files): fix unshare action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-11 15:42:55 +01:00
Simon L
881523adb6 update webauthn section to feature components
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-11 14:36:36 +00:00
Simon L
7832559177 Merge pull request #42699 from nextcloud/backport/42402/stable28
[stable28] Remove display name ellipsis in user menu
2024-01-11 15:16:17 +01:00
nextcloud-command
690b945901 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-11 11:47:49 +00:00
John Molakvoæ
afa59d6ef7 Merge pull request #42691 from nextcloud/backport/41972/stable28 2024-01-11 12:43:45 +01:00
Julius Härtl
f297de9e6f Merge pull request #42651 from nextcloud/backport/41927/stable28
[stable28] perf: Use more performant way to obtain and check the email as a login name with token login
2024-01-11 11:53:09 +01:00
Julius Härtl
8e96ab96f0 Merge pull request #42693 from nextcloud/backport/42533/stable28
[stable28] fix(weather_status): Fix forecast format in OpenAPI
2024-01-11 11:10:18 +01:00
Jérôme Herbinet
a1e30d23a0 Update UserMenu.vue
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Update UserMenu.vue

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

npm run build

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Revert with a higher max-width value

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2024-01-11 09:44:23 +00:00
provokateurin
93fa6bb8b6 fix(weather_status): Fix forecast format in OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-11 08:23:23 +00:00
Nextcloud bot
ab98a66c13 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-11 00:19:10 +00:00
Grigorii K. Shartsev
bb198828f2 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-10 19:48:15 +01:00
Grigorii K. Shartsev
33f208d156 refactor(files): remove merged to @nextcloud/vue changes
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-10 19:46:40 +01:00
Grigorii K. Shartsev
41183b9089 fix(files): move header actions out from the table
Having actions in the table header is no valid for a11y and counts as a column name.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-10 18:43:06 +00:00
Kate
9aaead8bfb Merge pull request #42684 from nextcloud/backport/42527/stable28 2024-01-10 17:56:49 +01:00
provokateurin
bb752fa304 feat(user_status): Add online status type for OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-10 15:56:34 +00:00
Marcel Klehr
511790dc80 Merge pull request #42677 from nextcloud/backport/stable28/42377
[stable28] Return providers as indexed array
2024-01-10 15:29:01 +01:00
Marcel Klehr
a85ee2e0ce fix(psalm issues)
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-10 14:37:24 +01:00
MB-Finski
b83e53d1ba Update doc blocks
Signed-off-by: MB-Finski <sami.finnila@gmail.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-10 14:37:24 +01:00
Sami Finnilä
283952e857 Return providers as indexed array
Signed-off-by: MB-Finski <sami.finnila@gmail.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-10 14:37:24 +01:00
Joas Schilling
9280e023b1 Merge pull request #42358 from nextcloud/backport/42354/stable28
[stable28] Typo in move or copy
2024-01-10 09:18:53 +01:00
Kate
c4172812b2 Merge pull request #42673 from nextcloud/backport/42666/stable28 2024-01-10 09:01:31 +01:00
Joas Schilling
a15835d145 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-10 08:57:02 +01:00
Joas Schilling
b4757495f5 Fix typo in move or copy dialog
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-10 08:55:27 +01:00
provokateurin
94ebed0681 chore(deps): Update openapi-extractor
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-10 06:21:40 +00:00
Nextcloud bot
d2da55c0c5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-10 00:20:40 +00:00
Ferdinand Thiessen
cbeee9c104 Merge pull request #42669 from nextcloud/backport/stable28/42636/fix/core/42596/fix-button-accessibility-in-view-profile-page
[stable28] enh(core): replaced previous native a element with NcButton
2024-01-09 21:47:43 +01:00
Eduardo Morales
9f8154ff09 enh(core): replaced previous native a element with NcButton
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-09 13:43:05 -06:00
Eduardo Morales
4d0d0ea2cd Merge pull request #42664 from nextcloud/backport/stable28/42643/fix/core/42565/focus-for-user-menu-is-not-accessible
[stable28] fix(core): enhanced contrast when UserMenuItem is focused
2024-01-09 13:11:16 -06:00
Eduardo Morales
47ccd75b4f fix(core): enhanced contrast when UserMenuItem is focused
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-09 10:15:35 -06:00
Julius Härtl
bc0ab8df52 fix: Only apply cast if needed when searching users for value
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-09 15:02:38 +01:00
Julius Härtl
1712df7881 perf: Use more performant way to obtain and check the email as a login name with token login
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-09 15:02:38 +01:00
Julia Kirschenheuter
2ef09404e0 Merge pull request #42646 from nextcloud/backport/42634/stable28
[stable28] Include grid view toggle in accessibility switch
2024-01-09 12:30:05 +01:00
Louis Chemineau
cb5c29bd98 Include grid view toggle in accessibility switch
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-09 08:55:55 +00:00
Nextcloud bot
a4ed172fdf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-09 00:20:17 +00:00
Eduardo Morales
e005e6c958 Merge pull request #42632 from nextcloud/backport/stable28/42507/Fix/files/42460/breadcrumb-conditional-rendering
[stable28] fix(files): kept only first and last breadcrumb titles
2024-01-08 15:19:59 -06:00
Eduardo Morales
3ca94730aa fix(files): kept only first and last breadcrumb titles
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-08 15:03:45 -06:00
Pytal
dba7369476 Merge pull request #42604 from nextcloud/backport/42566/stable28
[stable28] fix(files): Fix unresponsive file click to download
2024-01-08 12:08:26 -08:00
nextcloud-command
667c01831a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-08 19:57:30 +00:00
Christopher Ng
2142d469a0 fix(files): Fix unresponsive file click to download
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-08 11:43:31 -08:00
Grigorii K. Shartsev
131e82e199 Merge pull request #42623 from nextcloud/backport/41619/stable28
[stable28] fix(files): remove focus outline on file list item click and make the link focusable
2024-01-09 00:12:30 +05:00
Grigorii K. Shartsev
5d90175387 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-08 19:57:30 +01:00
Grigorii K. Shartsev
5522000067 refactor(files): replace deprecated is attr on <a> with dynamic component
- Special attribute `is` is deprecated and removed in Vue 3
- It is confusing, that `<a>` element is rendered as `span` sometimes

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-08 19:55:49 +01:00
Grigorii K. Shartsev
3ff2b25ea0 fix(files): make file list item link focusable
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-08 19:55:49 +01:00
Grigorii K. Shartsev
268744ee73 fix(files): remove focus outline on file list item click
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-08 19:55:49 +01:00
Grigorii K. Shartsev
6e5e4cc1d8 Merge pull request #42630 from nextcloud/backport/41916/stable28
[stable28] fix(files): add visible label to webdav URL in settings
2024-01-08 20:59:53 +05:00
Eduardo Morales
1e27c3f158 Merge pull request #42622 from nextcloud/stable28-enh/settings/42440/preview-card-settings-now-satisfy-contrast-ratio
[stable28] enh(settings): removed background-gradient to ensure contrast ratio a…
2024-01-08 09:12:08 -06:00
Eduardo Morales
f9f4316f8c Merge pull request #42629 from nextcloud/backport/stable28/42602/bump-nc-calendar-to-2.0.1
[stable28] chore(package): bumped nc-calendar to 2.0.1
2024-01-08 08:53:46 -06:00
Eduardo Morales
94a676c378 enh(settings): removed background-gradient to ensure contrast ratio a11y requirements
Signed-off-by: Eduardo Morales <emoral435@gmail.com>

(cherry picked from commit e5767898c7)
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-01-08 08:17:25 -06:00
Grigorii K. Shartsev
15f0e1d058 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-08 15:16:47 +01:00
Eduardo Morales
cddee08ec6 [backport] chore(package): bumped nc-calendar to 2.0.1
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-08 08:12:16 -06:00
Grigorii K. Shartsev
629e4f0a83 fix(files): add label for WebDAV URL in files settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-08 15:11:29 +01:00
Simon L
5382cb59d2 Merge pull request #42609 from nextcloud/backport/42428/stable28
[stable28] fix(files_external): add back js config files
2024-01-08 14:57:34 +01:00
Nextcloud bot
a77af0e643 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-08 00:22:08 +00:00
Nextcloud bot
2c23a7cf99 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-07 00:20:29 +00:00
John Molakvoæ
ffd71b65b4 fix(files_external): add back js config files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-06 09:51:42 +00:00
Nextcloud bot
2f4c5a2a39 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-06 00:20:18 +00:00
Eduardo Morales
82b68fc4e0 Merge pull request #42600 from nextcloud/backport/42559/stable28
[stable28] Remove unneeded styles: everything is handled by NcVue
2024-01-05 10:59:20 -06:00
julia.kirschenheuter
0e71e48e6b Remove unneeded styles: everything is handled by NcVue
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-01-05 16:32:34 +00:00
Julia Kirschenheuter
32f9d1655c Merge pull request #42594 from nextcloud/backport/42586/stable28
[stable28] Fix SVG's for social media links
2024-01-05 13:47:45 +01:00
julia.kirschenheuter
e73d81641d Fix SVG's for social media links
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-01-05 12:14:42 +00:00
Nextcloud bot
36607881ce Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-05 00:22:19 +00:00
Côme Chilliet
80b5aed6ef Merge pull request #42583 from nextcloud/backport/42576/stable28
[stable28] Fix upgrade of user_ldap when oc_group_members contains duplicated uids
2024-01-04 15:37:43 +01:00
Côme Chilliet
63def6dc95 Fix upgrade of user_ldap when oc_group_members contains duplicated uids
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-04 13:28:36 +00:00
Nextcloud bot
c61fabed18 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-04 00:20:07 +00:00
Eduardo Morales
6f8d89d5ad Merge pull request #42556 from nextcloud/backport/42500/stable28
[stable28] fix(files): open menu on right click position
2024-01-03 14:15:05 -06:00
John Molakvoæ
820b2beb6b fix(files): open menu on right click position
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-03 13:59:28 -06:00
Nextcloud bot
c8104266f8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-03 00:20:17 +00:00
Grigorii K. Shartsev
0398f53b93 Merge pull request #42553 from nextcloud/backport/42443/stable28
[stable28] fix(files): focus file name on renaming also initially
2024-01-02 22:49:03 +05:00
Grigorii K. Shartsev
81eab73c03 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-02 18:05:45 +01:00
Grigorii K. Shartsev
0ea5aa4604 fix(files): focus file name on renaming also initially
When new folder is created, new file entry is initially in renaming mode.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-02 18:03:57 +01:00
Robin Appelman
eb4dae7505 Merge pull request #42521 from nextcloud/backport/41914/stable28
[stable28] only do a multipart s3 copy when above the regular copy limit
2024-01-02 18:00:50 +01:00
Robin Appelman
f516e9599b Merge pull request #42450 from nextcloud/backport/37469/stable28
[stable28] restore shared lock ttl to previous value when releasing
2024-01-02 14:50:14 +01:00
Julia Kirschenheuter
4443e5cf56 Merge pull request #42506 from nextcloud/bump-nv-vue-to_8.4.0
[stable28] Bump NcVue to v8.4.0
2024-01-02 14:11:11 +01:00
Richard Steinmetz
32dccaadf8 Merge pull request #42373 from nextcloud/backport/42339/stable28
[stable28] fix(dav): allow multiple organizers if possible
2024-01-02 13:47:50 +01:00
Louis
f0c78b76bf Merge pull request #42446 from nextcloud/backport/42405/stable28
[stable28] fix(LDAP): ensure stored groups are formatted as simple list
2024-01-02 13:26:11 +01:00
julia.kirschenheuter
543c4add52 Bump NcVue to v8.4.0
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>

chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-02 12:53:03 +01:00
Arthur Schiwon
779df7ff9c fix(LDAP): ensure stored groups are formatted as simple list
With array_unique it is possible that the keys are not in sequential order
but have gaps. json_encode then would store them as associative array,
which later on json_decode would result in a stdClass by default. This is
unexpected and would also contradict the return type hint.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-01-02 12:16:10 +01:00
Richard Steinmetz
f38ce5c1d5 fix(dav): allow multiple organizers if possible
This is very hacky! However, we want to allow saving events with multiple
organizers. Those events are not RFC compliant, but sometimes imported from major
external calendar services (e.g. Google). If the current user is not an organizer of
the event we ignore the exception as no scheduling messages will be sent anyway.

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-01-02 11:54:08 +01:00
Nextcloud bot
3b69ea11cb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-02 00:19:19 +00:00
Git'Fellow
ca34f0c6f1 Merge pull request #42539 from nextcloud/backport/42538/stable28
[stable28] Fix log rotation notification level (warning->info)
2024-01-01 20:20:16 +01:00
Josh Richards
a781412660 Fix log rotation notification level (warning->info)
Fixes #42537 

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-01-01 09:22:48 +00:00
Nextcloud bot
75c8a03784 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-01 00:20:11 +00:00
Nextcloud bot
6d1f66dc56 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-31 00:20:26 +00:00
Nextcloud bot
b1d94d3d16 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-30 00:22:18 +00:00
max-nextcloud
61dedd7ff3 Merge pull request #42524 from nextcloud/backport/42427/stable28
[stable28] fix(ViewController): Properly handle non-existent fileIds (regression lead to 500 errors)
2023-12-29 18:54:12 +01:00
Josh Richards
1f6f5fdcc5 fix(ViewController): Regression lead to 500 on non-existent fileIds
Fixes #42418 

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-12-29 13:48:00 +00:00
Alexander Piskun
30f23a6da7 Merge pull request #42519 from nextcloud/backport/42479/stable28
[stable28] AppAPI: allow to bypass Two-Factor
2023-12-29 14:28:51 +03:00
Julius Härtl
238ea7a8b4 fix(s3): Add config option to disable multipart copy for certain s3 providers
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-29 10:36:09 +00:00
Robin Appelman
58abe5e3f4 only do a multipart s3 copy when above the regular copy limit
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-29 10:36:09 +00:00
Alexander Piskun
1d0b10b12c AppAPI: allowed to bypass Two-Factor
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-12-29 08:44:13 +00:00
Nextcloud bot
525d087b52 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-29 00:20:08 +00:00
John Molakvoæ
f212638228 Merge pull request #42495 from nextcloud/stable28-fix/a11y/personal-info-headings 2023-12-28 13:04:14 +01:00
John Molakvoæ
6a09055d3c Merge pull request #42491 from nextcloud/backport/42438/stable28 2023-12-28 12:54:53 +01:00
John Molakvoæ
9fcd5f67a5 Merge pull request #42487 from nextcloud/backport/42379/fix/ARIA-prop-for-NcBreadCrumbs-component 2023-12-28 12:46:50 +01:00
Eduardo Morales
40ee6ce449 enh(breadcrumbs): removed unnecessary aria label
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-28 11:21:29 +01:00
John Molakvoæ
e279d45196 Merge pull request #42494 from nextcloud/backport/42457/stable28 2023-12-28 09:25:25 +01:00
Ferdinand Thiessen
309d46e993 fix(theming): Adjust high contrast theme to fulfill WCAG AAA text contrast
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-28 09:01:11 +01:00
nextcloud-command
b1eb3534be chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-28 07:47:30 +00:00
Julius Härtl
efeecc69ba fix(files): Allow Ctrl/Command click on file entries to open in a new tab
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-28 08:34:46 +01:00
Nextcloud bot
a8e71da8ec Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-28 00:20:28 +00:00
Julia Kirschenheuter
4f66b3debc Merge pull request #42429 from nextcloud/backport/42329/stable28
[stable28] fix(theming): Adjust dark high contrast to fulfill WCAG 2.1 AAA contrast
2023-12-27 19:02:43 +01:00
Eduardo Morales
d053210eaa Merge pull request #42435 from nextcloud/backport/stable28-e1940ba36846bd7010f77fae4e3a124d673b8e9b
[stable28] enh(files): added ability to escape out of all selection when focused
2023-12-27 10:35:37 -06:00
Ferdinand Thiessen
45d4cae756 fix(theming): Adjust color-error and color-success to work for input border colors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-27 10:22:19 -06:00
Ferdinand Thiessen
4147337fff fix(theming): Adjust dark high contrast to fulfill WCAG 2.1 AAA contrast
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-27 10:22:19 -06:00
Eduardo Morales
2127842425 enh(files): added ability to escape out of all selection when focused
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-27 09:51:16 -06:00
Eduardo Morales
3185b4ca26 Merge pull request #42490 from nextcloud/backport/42452/stable28
[stable28] fix(files): allow silent batch actions errors
2023-12-27 09:44:18 -06:00
Christopher Ng
e1d1491ca0 fix(settings): Use heading for Profile and Profile picture sections
Signed-off-by: Christopher Ng <chrng8@gmail.com>

(cherry picked from commit ee11df8993)
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-12-27 11:39:06 +01:00
John Molakvoæ
04b0069cad fix(files): allow silent batch actions errors
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-27 09:28:43 +01:00
Nextcloud bot
c6d19b2d7d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-27 00:20:24 +00:00
Ferdinand Thiessen
af6f1cdde4 Merge pull request #42461 from nextcloud/backport/42442/stable28
[stable28] fix: Adjust focus-visible marker on appmenu
2023-12-26 20:26:35 +01:00
Eduardo Morales
2c8fa3efb5 Merge pull request #42432 from nextcloud/42167-manual-backport
[stable28] Backport unified search improvments
2023-12-26 11:33:11 -06:00
nextcloud-command
67a874a6f9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-26 11:19:25 -06:00
fenn-cs
ada6e3565d Use display name instead of 'me' text.
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-26 11:19:25 -06:00
fenn-cs
8b286fbd0e Add authenicated user to person list for search filtering
As expected, a user does not see themselves in their contact list,
 however, when using the contact list for filtering search, a user,
 might want to limit the search to things that pertain to them.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-26 11:19:25 -06:00
fenn-cs
44c689ac1e Unified search: update people select with API calls
On change/input from user which has the effect of filtering,
 we want to send the query to the API to obtained fresh results,
 based on the databased on not just preloaded contacts.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-26 11:19:25 -06:00
fenn-cs
593a2349c1 Rephrase unified search helper text
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-26 11:19:25 -06:00
John Molakvoæ
db3d81a06b Merge pull request #42409 from nextcloud/backport/42366/stable28 2023-12-26 08:26:18 +01:00
Nextcloud bot
72a5a20912 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-26 00:20:54 +00:00
Nextcloud bot
ef8fc1485b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-25 00:20:34 +00:00
nextcloud-command
4f3eb7c37e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-24 01:23:56 +01:00
John Molakvoæ
56a7042731 fix(files): drag and drop events chain and cancel
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-24 01:21:49 +01:00
John Molakvoæ
ded7d72171 fix(files): recursive drop path join
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-24 01:21:49 +01:00
Nextcloud bot
2ff9573343 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-24 00:20:46 +00:00
Nextcloud bot
10bbcfe341 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-23 00:20:19 +00:00
Ferdinand Thiessen
b8695e5a28 fix: Adjust focus-visible marker on appmenu
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-22 17:36:33 +00:00
Eduardo Morales
f7080c51f9 Merge pull request #42431 from nextcloud/42094-manual-backport
[stable28] Rename "global search" to "unified search"
2023-12-22 09:23:42 -06:00
fenn-cs
525c2b82f6 Rename "global search" to "unified search"
- Changes appearances of "Global search" to "Unified search" in UI
- Refactors code, to remove usage of term "GlobalSearch" in files and code
 structure
- Rename old unified search to `legacy-unified-search`

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-22 13:13:03 +00:00
Robin Appelman
2078ad79bd adjust redis compareSetTTL to use a lua script
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-22 09:54:13 +00:00
Robin Appelman
6ba6c95bab restore shared lock ttl when releasing
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-22 09:54:13 +00:00
Ferdinand Thiessen
fecb3ea41c Merge pull request #42445 from nextcloud/backport/42439/stable28
[stable28] fix(theming): Invert filter should be based on primary-element
2023-12-22 10:02:17 +01:00
Ferdinand Thiessen
1300467f93 fix(theming): Invert filter should be based on primary-element
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-22 07:21:44 +00:00
Nextcloud bot
39993a6079 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-22 00:20:30 +00:00
Ferdinand Thiessen
5f7b82a7b4 Merge pull request #42367 from nextcloud/backport/42338/stable28
[stable28] fix(files): Use DAV functions from library to fix invalid source links
2023-12-21 22:11:35 +01:00
Grigorii K. Shartsev
344c053436 Merge pull request #42425 from nextcloud/backport/42419/stable28
[stable28] fix(files): Adjust ID for skip content buttons
2023-12-22 00:20:14 +05:00
nextcloud-command
2ff8bdc8de chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-21 17:49:45 +00:00
Ferdinand Thiessen
45a5b36795 Merge pull request #42426 from nextcloud/backport/42424/stable28
[stable28] fix(theming): Add adjusted color versions of default background
2023-12-21 18:23:56 +01:00
Ferdinand Thiessen
a9b6c2db67 Merge pull request #42369 from nextcloud/backport/28-status-colors
[stable28] fix(theming): Adjust theming util to calculate primary element color based on WCAG color contrast
2023-12-21 18:18:17 +01:00
Ferdinand Thiessen
c19445f42d fix(files): Use DAV functions from library to fix invalid source links
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-21 18:17:41 +01:00
Ferdinand Thiessen
fc51c96676 Merge pull request #42355 from nextcloud/backport/42241/stable28
[stable28] feat(setupcheck): Add setup check for maintenance_window_start config
2023-12-21 18:16:28 +01:00
Ferdinand Thiessen
d2a1dcb271 Merge pull request #42118 from nextcloud/stable28-backport-42030
[stable28] Replace input filed with password field and added password error message
2023-12-21 18:13:53 +01:00
Ferdinand Thiessen
d917eac124 fix(theming): Add adjusted color versions of default background for better app-menu contrast
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-21 16:27:29 +00:00
Ferdinand Thiessen
a6d775836f fix(files): Adjust ID for skip content buttons
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-21 17:16:28 +01:00
Ferdinand Thiessen
e9328c0994 Merge pull request #42413 from nextcloud/backport/42381/stable28
[stable28] enh(dashboard): changed h1 to say Dashboard instead of Nextcloud
2023-12-21 17:15:57 +01:00
Kate
cd596f00cd Merge pull request #42410 from nextcloud/backport/42406/stable28 2023-12-21 17:13:59 +01:00
Ferdinand Thiessen
cbc812137b Merge pull request #42384 from nextcloud/backport/42298/stable28
[stable28] Don't write back .htaccess file on a RO filesystem
2023-12-21 17:13:13 +01:00
Ferdinand Thiessen
355c609de0 Merge pull request #42365 from nextcloud/backport/42361/stable28
[stable28] fix(manager): removed dead code
2023-12-21 17:10:42 +01:00
Ferdinand Thiessen
87c48b424c fix(theming): Make dark theme accessible and add unit test
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-21 17:07:02 +01:00
Ferdinand Thiessen
2f25f2feed fix(theming): Adjust status colors to be also accessible on blurry background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-21 17:07:02 +01:00
Ferdinand Thiessen
6a362f8993 Merge pull request #42315 from nextcloud/backport/42285/stable28
[stable28] fix(theming): Adjust theming util to calculate primary element color based on WCAG color contrast
2023-12-21 17:05:34 +01:00
Ferdinand Thiessen
92a11b08e5 Merge pull request #42403 from nextcloud/backport/42401/stable28
[stable28] fix: Ensure app menu entries and dashboard welcome message have enough contrast
2023-12-21 17:03:33 +01:00
John Molakvoæ
62d83123d1 Merge pull request #42417 from nextcloud/release/28.0.1 2023-12-21 16:26:24 +01:00
John Molakvoæ
f1dd41eb9d 28.0.1
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-21 15:08:58 +01:00
John Molakvoæ
fce1c1831c Merge pull request #42423 from nextcloud/backport/42422/stable28 2023-12-21 15:08:44 +01:00
John Molakvoæ
3b0fc10ccc fix(dav): undeclared $cache property
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-21 13:55:40 +00:00
Git'Fellow
4fb8403fb3 Read Only FS return false
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-12-21 12:41:49 +01:00
Nextcloud bot
26ef10a07f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-21 00:21:10 +00:00
Eduardo Morales
cead9a4f45 enh(dashboard): changed h1 to say Dashboard instead of Nextcloud
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-20 22:37:06 +00:00
Eduardo Morales
4628000ca2 enh(dashboard): changed h1 to say Dashboard instead of Nextcloud
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-20 22:37:05 +00:00
jld3103
4da91f56e4 fix(dav): Hide less than minute diff in calendar notification title
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-12-20 21:22:55 +00:00
julia.kirschenheuter
aeaf69f124 Replace input filed with password field and added password error message
Remove unneeded NcDateTimePicker

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>

(cherry picked from commit 696545b530)
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-12-20 11:22:48 -06:00
nextcloud-command
baa8fb5f14 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-20 15:55:10 +00:00
Ferdinand Thiessen
ba336f650b fix: Adjust colors of app menu and dashboard
Those elements are shown directly on the background which has the `color-primary`,
so they need to use `color-primary-text` instead of `color-primary-element-text` for guranteed contrast.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-20 15:16:35 +00:00
Joas Schilling
42dee2e29f Merge pull request #42400 from nextcloud/backport/42140/stable28
[stable28] Update crl after revoke rides.csr
2023-12-20 15:41:49 +01:00
Matthieu Gallien
ed7eb579b0 Update crl after revoke rides.csr
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-12-20 11:26:47 +01:00
Nextcloud bot
063d811fab Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-20 00:19:28 +00:00
John Molakvoæ
1dda035324 Merge pull request #42380 from nextcloud/backport/42309/stable28 2023-12-19 19:11:57 +01:00
Anna Larch
5fd10dc398 fix(userstatus): set user status to 'In a meeting' if calendar is busy
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-19 15:47:29 +00:00
Louis
82e0f1f370 Merge pull request #42378 from nextcloud/backport/42349/stable28
[stable28] Use FileInfo's metadata for hidden prop
2023-12-19 16:27:58 +01:00
Louis
74be33f061 Merge pull request #42371 from nextcloud/artonge/backport/stable28/42353
[stable28] Add global accessibility switch
2023-12-19 16:15:46 +01:00
Louis Chemineau
7ba9a4bd5b Add global accessibility switch
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-19 14:39:53 +01:00
Louis Chemineau
8cb5d47341 Use FileInfo's metadata for hidden prop
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-19 13:31:46 +00:00
Ferdinand Thiessen
bb5523097f fix(theming): Adjust primary text color calculation to also work with high contrast themes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-19 11:33:15 +01:00
Ferdinand Thiessen
8ff08d5a0a fix(theming): Adjust hover color to be accessible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-19 11:33:15 +01:00
Ferdinand Thiessen
e28ebe86c0 enh(theming): Adjust color utils to work as specified by WCAG (color contrast and luma calculation)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-19 11:33:15 +01:00
Eduardo Morales
67d5cb3cb8 fix(manager): removed dead code
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-19 08:43:35 +00:00
Joas Schilling
1a45dd0b8c Merge pull request #42351 from nextcloud/backport/42304/stable28
[stable28] fix(ooo): add new ooo status with new emoji
2023-12-19 09:05:33 +01:00
Nextcloud bot
96c9e1b7d9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-19 00:19:37 +00:00
Louis
4cbf64b030 Merge pull request #42357 from nextcloud/backport/42350/stable28
[stable28] Don't query oc_properties for metadata props
2023-12-18 18:01:04 +01:00
Louis Chemineau
112063bb5e Don't query oc_properties for metadata props
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-18 15:20:49 +00:00
Joas Schilling
81ce0d1ac6 feat(setupcheck): Add setup check for maintenance_window_start config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-18 14:35:27 +00:00
Anna Larch
deb4bef923 fix(ooo): add new ooo status with new emoji
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-18 12:06:57 +00:00
Joas Schilling
36f91063a1 Merge pull request #42316 from nextcloud/backport/42305/stable28
[stable28] fix(joblist): also reset last_run timestamp on updating an existing job
2023-12-18 12:00:16 +01:00
Anna Larch
7d90fb8209 fix(joblist): also reset last_run timestamp on updating an existing job
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-18 10:26:48 +01:00
Nextcloud bot
6146ddd06c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-18 00:19:30 +00:00
Nextcloud bot
b2de759ac5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-17 00:19:08 +00:00
Nextcloud bot
c905125614 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-16 00:19:31 +00:00
John Molakvoæ
01fad105be Merge pull request #42307 from nextcloud/release/28.0.1_rc1 2023-12-15 16:03:17 +01:00
Eduardo Morales
42793caefc Merge pull request #42294 from nextcloud/backport/42283/stable28
[stable28] fix: Ensure correct max contrast color is used when blurred background is used
2023-12-15 08:53:24 -06:00
John Molakvoæ
cccac2ae5f Merge pull request #42311 from nextcloud/backport/42310/stable28 2023-12-15 15:50:03 +01:00
John Molakvoæ
f2e156668c Merge pull request #42293 from nextcloud/backport/28-files-sizes 2023-12-15 15:27:11 +01:00
John Molakvoæ
94e60a3241 chore(deps): Bump @nextcloud/upload to 1.0.4
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-15 15:26:43 +01:00
Ferdinand Thiessen
a510d5375b fix(files): Partly revert 32c1aeb and show correct quota again
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-15 15:23:36 +01:00
Joas Schilling
261de22ce9 Merge pull request #42152 from nextcloud/backport/42144/stable28
[stable28] fix(caldav): don't reuse query builder objects
2023-12-15 15:11:59 +01:00
John Molakvoæ
8942746705 Merge pull request #42302 from nextcloud/backport/42281/stable28 2023-12-15 14:41:21 +01:00
John Molakvoæ
6f68d36484 28.0.1 RC1
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-15 14:37:10 +01:00
Ferdinand Thiessen
8d1d5f3c50 fix(core): Make sure correct colors are used on blurred background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-15 12:49:28 +00:00
John Molakvoæ
fe631fad08 fix(files): fix download file encoded source
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-15 12:34:19 +00:00
Andy Scherzinger
49bff0fbe7 Merge pull request #42296 from nextcloud/backport/42268/stable28
[stable28] fix(dashboard): changed h3 elements to h2
2023-12-15 11:50:47 +01:00
Eduardo Morales
558a3afb08 [stable28] fix(dashboard): changed h3 elements to h2
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-15 08:51:46 +00:00
Eduardo Morales
46f5ab893c Merge pull request #42295 from nextcloud/backport/42132/stable28
[stable28] enh(oauth2): allowed toggling of aria label
2023-12-15 02:36:36 -06:00
Andy Scherzinger
ad1e400028 Merge pull request #42106 from nextcloud/backport/42053/stable28
[stable28] fix(Users/Quota setting): Prevent floating point value from getting truncated in locales other than english
2023-12-15 09:35:34 +01:00
Eduardo Morales
c8f79702a3 enh(oauth2): allowed toggling of aria label
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-15 02:54:08 +00:00
Nextcloud bot
405fef98c5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-15 00:19:08 +00:00
nextcloud-command
b4132ba594 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-14 18:44:40 +00:00
Marcel Klehr
30016e1118 fix(Users/Quota setting): Prevent floating point value from getting truncated in locales other than english
fixes #18468

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-14 19:40:57 +01:00
Andy Scherzinger
d466cc07e0 Merge pull request #42131 from nextcloud/backport/42111/stable28
[stable28] fix(a11y): Unified search headings
2023-12-14 19:38:56 +01:00
Benjamin Gaussorgues
78b09f81cb Merge pull request #42201 from nextcloud/backport/42064/stable28 2023-12-14 19:05:21 +01:00
Christopher Ng
548e76a5f6 fix(a11y): Unified search headings
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-14 17:23:44 +00:00
Benjamin Gaussorgues
771db86c1c feat(settings): add occ commands to handle admin delegation
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-12-14 17:51:47 +01:00
Andy Scherzinger
073b8683e6 Merge pull request #42282 from nextcloud/backport/42095/stable28
[stable28] fix(files): navigation exact
2023-12-14 17:51:04 +01:00
John Molakvoæ
a0692b6e44 fix(files): navigation exact
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-14 16:25:32 +00:00
Andy Scherzinger
7fa0c9d410 Merge pull request #42279 from nextcloud/backport/42124/stable28
[stable28] feat(files): add batch support to copy-move
2023-12-14 17:10:57 +01:00
nextcloud-command
38419e2766 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-14 15:38:26 +00:00
John Molakvoæ
aa7098cc38 fix(files): templates logger usage
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-14 16:34:47 +01:00
John Molakvoæ
bf850542a6 feat(files): add batch support to copy-move
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-14 16:34:16 +01:00
Andy Scherzinger
2e9fb54e57 Merge pull request #42278 from nextcloud/fix/backport-28-42183
[stable28] fix(UnifiedSearch): Drop title prop
2023-12-14 16:20:29 +01:00
Ferdinand Thiessen
02e6cf7e80 Merge pull request #42277 from nextcloud/fix/backport-files-drag-handler
[stable28] fix(files): Conditionally add drag handlers
2023-12-14 15:36:50 +01:00
Louis
056401beec Merge pull request #42263 from nextcloud/backport/42198/stable28
[stable28] Wrap metadata generation in try/catch
2023-12-14 13:41:35 +01:00
Ferdinand Thiessen
e15034ecd6 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-14 12:55:24 +01:00
Ferdinand Thiessen
25512039da fix(UnifiedSearch): Remove title prop from modal
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-14 12:49:50 +01:00
Ferdinand Thiessen
040c767ba9 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-14 12:47:37 +01:00
Ferdinand Thiessen
bb16a2be8b fix(files): Do not add drag and drop listeners when renaming a file
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-14 12:43:45 +01:00
Louis Chemineau
78de15ab45 Wrap metadata generation in try/catch
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-14 10:25:31 +00:00
Joas Schilling
892c0bf5a1 Merge pull request #42190 from nextcloud/automated/noid/stable28-update-ca-cert-bundle
[stable28] fix(security): Update CA certificate bundle
2023-12-14 06:52:38 +01:00
nextcloud-command
78174bca56 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2023-12-14 02:19:36 +00:00
Ferdinand Thiessen
a54b9109e3 Merge pull request #42125 from nextcloud/backport/42112/stable28
[stable28] enh(settings): Set main page heading
2023-12-14 01:56:06 +01:00
Nextcloud bot
e3590547c6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-14 00:19:32 +00:00
Andy Scherzinger
fe63f6f079 Merge pull request #42166 from nextcloud/backport/42142/stable28
[stable28] fix(dav): Prevent out-of-office event time drifts
2023-12-13 22:42:56 +01:00
Christoph Wurst
e622692802 fix(dav): Prevent out-of-office event time drifts
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-12-13 21:17:01 +01:00
Louis
1638a3ee41 Merge pull request #42108 from nextcloud/backport/42096/stable28
[stable28] Comment legacy file_metadata table migrations
2023-12-13 11:25:48 +01:00
Louis Chemineau
ba44843213 Comment legacy file_metadata table migrations
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-13 10:43:54 +01:00
Nextcloud bot
0fcc88424d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-13 00:20:04 +00:00
Nextcloud bot
23177dae98 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-12 00:19:03 +00:00
Arthur Schiwon
e15fcecaf0 Merge pull request #42146 from nextcloud/release/28.0.0
28.0.0
2023-12-11 21:21:42 +01:00
Arthur Schiwon
4489c21d85 Merge pull request #42164 from nextcloud/revert-42163-backport/42142/stable28
Revert "[stable28] fix(dav): Prevent out-of-office event time drifts"
2023-12-11 21:20:52 +01:00
Arthur Schiwon
a33ffeb496 Revert "[stable28] fix(dav): Prevent out-of-office event time drifts" 2023-12-11 21:20:23 +01:00
Arthur Schiwon
c471de211f Merge pull request #42163 from nextcloud/backport/42142/stable28
[stable28] fix(dav): Prevent out-of-office event time drifts
2023-12-11 21:20:10 +01:00
Arthur Schiwon
53275e6b3e Merge pull request #42159 from nextcloud/backport/42154/stable28
[stable28] fix rename on live photos
2023-12-11 21:12:47 +01:00
Christoph Wurst
4757d3ed7d fix(dav): Prevent out-of-office event time drifts
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-12-11 17:28:42 +00:00
Maxence Lange
e80f85a847 fix rename
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-12-11 15:44:19 +00:00
Anna Larch
043a2528a4 fix(caldav): don't reuse query builder objects
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-11 12:50:21 +00:00
Arthur Schiwon
45ab3e1dfe 28.0.0
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-11 12:25:57 +01:00
Nextcloud bot
12bafe16d5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-11 00:24:29 +00:00
Nextcloud bot
9d7e1e0ba3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-10 00:19:21 +00:00
Nextcloud bot
6602b84f9a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-09 00:19:17 +00:00
nextcloud-command
433ef6b177 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-08 18:57:32 +00:00
Christopher Ng
8d82cff756 fix(settings): Expected string aria-label got boolean error
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-08 16:15:40 +00:00
Christopher Ng
291e56d272 enh(settings): Set main heading for Apps
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-08 16:15:40 +00:00
Christopher Ng
fd20198464 enh(settings): Set main heading for User management
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-08 16:15:40 +00:00
Arthur Schiwon
478c8ca030 Merge pull request #42123 from nextcloud/release/28.0.0_rc4
28.0.0 RC4
2023-12-08 16:28:33 +01:00
Arthur Schiwon
e76713ba74 Merge pull request #42119 from nextcloud/backport/42115/stable28
[stable28] chore(deps): Update openapi-extractor
2023-12-08 16:14:21 +01:00
Arthur Schiwon
e989cc6867 28.0.0 RC4
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-08 16:09:29 +01:00
John Molakvoæ
25cda7cb5a Merge pull request #42113 from nextcloud/backport/42100/stable28 2023-12-08 15:44:33 +01:00
John Molakvoæ
46b6966f35 Merge pull request #42122 from nextcloud/backport/42093/stable28 2023-12-08 15:44:24 +01:00
John Molakvoæ
8b5a4449c8 fix(l10n): fix translations for init scripts
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-08 13:40:44 +00:00
jld3103
0f320e352f chore(deps): Update openapi-extractor
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-12-08 13:02:44 +01:00
Grigorii K. Shartsev
1adffd4284 fix(core): add translations on the login page
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-12-08 09:44:27 +00:00
Nextcloud bot
cd428124ff Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-08 00:19:05 +00:00
Arthur Schiwon
3ac0dec6fb Merge pull request #41966 from nextcloud/release/28.0.0_rc3
28.0.0 RC3
2023-12-07 21:21:48 +01:00
Arthur Schiwon
4a77f2814f Merge pull request #42103 from nextcloud/fix/stable28-reference-picker
[stable28]  fix: Adjust reference picker code for the vue based FilePicker
2023-12-07 21:16:19 +01:00
Ferdinand Thiessen
6ea6048d51 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-07 11:08:46 -08:00
Ferdinand Thiessen
c3907dce86 fix(files): Adjust reference picker for new vue file picker
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-07 11:08:46 -08:00
Arthur Schiwon
ceb3975fd9 Merge pull request #42105 from nextcloud/42101-stable28-backport
[stable28] Change global search UI text to unified search
2023-12-07 19:30:37 +01:00
Louis
1675c79dce Merge pull request #41983 from nextcloud/automated/noid/stable28-fix-npm-audit
[stable28] Fix npm audit
2023-12-07 17:37:53 +01:00
nextcloud-command
a90844ed66 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-07 15:57:32 +00:00
fenn-cs
050a0bf74d Change global search UI text to unified search
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-07 16:25:15 +01:00
Louis
0697900bf2 Merge pull request #42076 from nextcloud/backport/42067/stable28
[stable28] Fix some silent share bugs
2023-12-07 12:52:14 +01:00
Andy Scherzinger
17696ac3d8 Merge pull request #42089 from nextcloud/backport/42077/stable28
[stable28] enh(a11y): Add navigation labels
2023-12-07 12:49:43 +01:00
Andy Scherzinger
d147641484 Merge pull request #42088 from nextcloud/backport/42055/stable28
[stable28] enh(NavigationManager): Use ID as fallback for `app` property of entries
2023-12-07 12:41:52 +01:00
Joas Schilling
95f82d79cb Merge pull request #42087 from nextcloud/backport/42001/stable28
[stable28] fix(dav): Improve handling and logging of bulk upload failures
2023-12-07 10:30:24 +01:00
Joas Schilling
24606a9d70 Merge pull request #42082 from nextcloud/backport/41937/stable28
[stable28] fix(bruteforce-protection): Don't throw a 500 when MaxDelayReached is…
2023-12-07 10:29:20 +01:00
Joas Schilling
475d2b2dc8 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-07 10:26:11 +01:00
Christopher Ng
b4bc7f394e enh(settings): Add apps and user management navigation labels
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-07 09:19:23 +00:00
Christopher Ng
4ad7360348 enh(files): Add files navigation label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-07 09:19:23 +00:00
Ferdinand Thiessen
b82a7d6102 enh(NavigationManager): Use ID as fallback for app property of entries
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-07 08:27:28 +00:00
Andy Scherzinger
f4275c2629 28.0.0 RC3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-07 08:58:28 +01:00
Andy Scherzinger
13f0badf19 Merge pull request #42073 from nextcloud/backport/42062/stable28
[stable28] Correct semantics for link opening in global search
2023-12-07 08:57:31 +01:00
nextcloud-command
06eda7ab6c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-07 08:56:31 +01:00
fenn-cs
8a67fc44c9 Remove newPassword from share model, if disabled
It's important to delete the `newPassword` prop from the share
 model, if the user unchecks the isPasswordProtected checkbox.

This clearer and allows for the unchecking to actually work as
`this.$set()` fails with the falsy value `''`.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-07 08:56:31 +01:00
fenn-cs
9c67ae4ec1 Create element reference inside $nextTick()
Accessing `this.$refs.shareList` outside $nextTick()
 could lead to the holder (`listComponent`) being undefined
 as the ref is yet to exist.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-07 08:56:31 +01:00
Joas Schilling
e8492bc8e1 fix(dav): Improve handling and logging of bulk upload failures
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-07 08:56:14 +01:00
Joas Schilling
705f2365ac fix(bruteforce-protection): Don't throw a 500 when MaxDelayReached is thrown
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-07 08:55:54 +01:00
Simon L
d9abfa002d Merge pull request #42058 from nextcloud/backport/42031/stable28 2023-12-07 08:53:44 +01:00
Julius Härtl
9894a22a8f Merge pull request #42074 from nextcloud/backport/41944/stable28 2023-12-07 08:39:02 +01:00
Simon L
26b927251e fix look of personal global credentials settings
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-07 08:30:43 +01:00
Nextcloud bot
252477fbd6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-07 00:19:48 +00:00
Ferdinand Thiessen
01db5d200d Merge pull request #42069 from nextcloud/backport/41948/stable28
[stable28] fix(theming): Adjust dark theme to be accessible adjust cypress tests
2023-12-06 23:19:58 +01:00
Julius Härtl
b9e7ec4bb9 fix: Properly fetch version from shared files by accessing the owner storage version
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-06 23:17:38 +01:00
Ferdinand Thiessen
465f2169c7 Merge pull request #42071 from nextcloud/fix/stable28/files-handle-drop-folders-correctly
[stable28] fix(files): Correctly handle dropping folders on file list
2023-12-06 22:17:16 +01:00
nextcloud-command
9ba949354d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-06 20:23:53 +00:00
fenn-cs
a728bcde43 Correct semantics for link opening in global search
Following the update of `NcListItem` to allow control over
 where and how passed `hrefs` open, the search result component
 can now make use of these props.

See : https://github.com/nextcloud-libraries/nextcloud-vue/pull/4923

Resolves :  #41800

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-06 20:23:52 +00:00
Ferdinand Thiessen
c7ea556bfb fix(theming): Adjust dark theme to be accessible adjust cypress tests
Also fix warning text color for bright / default theme on blurry background

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-06 20:34:36 +01:00
nextcloud-command
05df9ac57e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-06 20:25:58 +01:00
Ferdinand Thiessen
5700db2061 fix(files): Correctly handle dropping folders on file list
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-06 20:25:58 +01:00
Joas Schilling
0577c9a103 Update .drone.yml signature
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-06 20:13:11 +01:00
Ferdinand Thiessen
dce63cef71 Merge pull request #42057 from nextcloud/backport/stable28-dialogs
[stable28] chore: Update `@nextcloud/dialogs` to version 5.0.3
2023-12-06 16:48:36 +01:00
Joas Schilling
330ab5f53a Merge pull request #42050 from nextcloud/backport/42044/stable28
[stable28] Fix AppSettingsController.php overwriting currentLanguage
2023-12-06 15:03:50 +01:00
Ferdinand Thiessen
9e0b231ee9 chore: Update @nextcloud/dialogs to version 5.0.3
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-06 14:55:50 +01:00
1 Man Projects
7c40700491 Fix AppSettingsController.php overwriting currentLanguage
Fix for CurrentLanguage being overwritten by currentVersion thus breaking App-View

Signed-off-by: 1 Man Projects <reed@1manprojects.de>
2023-12-06 11:34:57 +00:00
Andy Scherzinger
b10f72fccc Merge pull request #41949 from nextcloud/backport/stable28/40169
[stable28] enh(settings): Load from disabled users endpoint
2023-12-06 10:44:51 +01:00
Joas Schilling
675d25e865 Merge pull request #42029 from nextcloud/backport/41962/stable28
[stable28] fix(dav): Make current ooo info time-dependent
2023-12-06 05:57:34 +01:00
Nextcloud bot
819d474a48 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-06 00:21:01 +00:00
Christoph Wurst
df4a76a4e6 fix(dav): Make current ooo info time-dependent
* If there is an out of office absence info and it happens now -> return
  data
* Else: return no data

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-12-06 00:15:59 +01:00
Côme Chilliet
a9d86c1f95 Invert parameter order in getDisabledUserList to be consistent
This matches what was done in the calls and so fixes getting disabled
 user list when there are several backends returning disabled users.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
(cherry picked from commit 85e7887e0764a9347bbbb10812459d95ccdfa6d4)
2023-12-06 00:08:29 +01:00
Christopher Ng
e32d38375a chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-06 00:08:29 +01:00
Christopher Ng
c7fc085849 enh(settings): Load from disabled users endpoint
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 7affbba6aecebf68b9c2e9ae6cb75fb251f94861)
2023-12-06 00:08:29 +01:00
Andy Scherzinger
fa1c1ac19d Merge pull request #41969 from nextcloud/backport/41844/stable28
[stable28] fix(TextProcessing): Add task type template param to IManager and registerTPProvider
2023-12-06 00:06:41 +01:00
Andy Scherzinger
680c4ae155 Merge pull request #41976 from nextcloud/fix/stable28-fix-table-header
[stable28] fix(files): Adjust table header to look like on previous versions
2023-12-06 00:05:40 +01:00
Ferdinand Thiessen
c1c8b928a6 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 22:35:54 +01:00
Ferdinand Thiessen
814ebcda22 fix(files): Adjust table header to look like on previous versions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 22:33:46 +01:00
Julius Härtl
178ce1f3ec Merge pull request #42023 from nextcloud/backport/42006/stable28 2023-12-05 20:49:59 +01:00
Ferdinand Thiessen
4ece2f27a3 Merge pull request #42032 from nextcloud/backport/unified-search-headings
[stable28] fix(UnifiedSearch): Move headings out of list element (invalid HTML)
2023-12-05 18:23:18 +01:00
Ferdinand Thiessen
fd580e5067 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 17:55:20 +01:00
Ferdinand Thiessen
acf619be23 fix: Adjust code to be Vue 2.7 compatible as key on <template> is Vue3 only
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 17:55:18 +01:00
Ferdinand Thiessen
6c49c3e936 fix(UnifiedSearch): Move headings out of list elements
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 17:54:44 +01:00
nextcloud-command
88e9925cf3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-05 16:06:32 +00:00
Julius Härtl
52b902831c fix: Also filter out undefined entries from the file list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-05 16:58:13 +01:00
Julius Härtl
6a938e1ae9 fix: Properly take show_hidden user setting into account for file listing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-05 16:58:13 +01:00
Benjamin Gaussorgues
52aadb5fd2 Merge pull request #42014 from nextcloud/backport/41985/stable28 2023-12-05 16:56:06 +01:00
Ferdinand Thiessen
3a09ddcb52 Merge pull request #41989 from nextcloud/backport/28-logic-files
[stable28] fix(files): Reverse logic to prevent copy to itself
2023-12-05 15:03:19 +01:00
Ferdinand Thiessen
3d32e748e6 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 14:40:13 +01:00
Ferdinand Thiessen
052db6200d enh(files): Add cypress tests for copy and move
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 14:04:16 +01:00
Ferdinand Thiessen
f695df8506 fix(files): Correct condition for checking copy/move into same directory
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 14:04:16 +01:00
Ferdinand Thiessen
77970de9f3 Merge pull request #41990 from nextcloud/fix/backport-28-drag-n-drop
[stable28] fix(files): Allow to drag and drop new files also on empty directories
2023-12-05 14:03:39 +01:00
Arthur Schiwon
034241b29a Merge pull request #42017 from nextcloud/backport/41650/stable28
[stable28] feat(LDAP): implement IIsAdmin interface
2023-12-05 13:50:41 +01:00
Ferdinand Thiessen
b1a6031a60 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 13:05:59 +01:00
Ferdinand Thiessen
e210caf4cf fix(config): Adjust typescript config to allow .ts imports and Typescript in Vue files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 13:04:29 +01:00
Ferdinand Thiessen
96c477d86d fix(files): Show error message if drag-and-drop upload fails
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 13:04:29 +01:00
Ferdinand Thiessen
89e01eafee fix(files): Allow to drag and drop new files also on empty directories
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 13:04:29 +01:00
Andy Scherzinger
7ae780be6b Merge pull request #42026 from nextcloud/backport/42019/stable28
[stable28] +files_metadata_installed
2023-12-05 12:32:45 +01:00
Ferdinand Thiessen
4a14b6e2ea Merge pull request #41991 from nextcloud/fix/backport-table-labels
[stable28]  fix(files): Remove confusing table header labels
2023-12-05 11:53:48 +01:00
Ferdinand Thiessen
6f4dc60745 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 11:14:57 +01:00
Ferdinand Thiessen
9d6c2ae264 fix(files): Remove confusing table header labels
For screen readers the table header was very verbose and confusing,
as the SR reads out e.g. "sort list by name button FILENAME" for every row / file.
Instead reduce it to "name button FILENAME" and add information about sorting to caption, as recommended by WCAG [1]

[1]: https://www.w3.org/WAI/ARIA/apg/patterns/table/examples/sortable-table/

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 10:56:28 +01:00
Maxence Lange
4d89d9cd0f +files_metadata_installed
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-12-05 09:24:04 +00:00
Nextcloud bot
782160af76 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-05 00:21:26 +00:00
Andy Scherzinger
875b6516c8 Merge pull request #42013 from nextcloud/backport/41460/stable28
[stable28] Migrate database missing checks
2023-12-04 20:20:50 +01:00
Arthur Schiwon
26465f3c56 feat(LDAP): warn about demoting a group while promoting another
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-04 18:52:20 +00:00
Arthur Schiwon
668d2bc6d5 enh(LDAP): add occ command to promote an LDAP group to admin
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-04 18:52:20 +00:00
Arthur Schiwon
d8215fbcee enh(LDAP): implement IIsAdmin interface
- add configuration to specify one LDAP group acting as admin group (CLI)
- implement `isAdmin()` method, basically relying on inGroup against the
  configured group

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-04 18:52:19 +00:00
Varun Patil
a7586ccf47 fix(files): allow any throwable in logException
If a TypeError is passed here, it in turn causes a TypeError which
kills the rendering of the error page.

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-12-04 16:26:37 +00:00
Côme Chilliet
e57d31ffb0 Missing things in database should be warning, not info
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-12-04 16:23:25 +00:00
Côme Chilliet
bd9a5df5d1 fix(tests) Fix CheckSetupControllerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-12-04 16:23:25 +00:00
Côme Chilliet
b75affa793 Switch from deprecated hasPrimaryKey to getPrimaryKey function
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-12-04 16:23:25 +00:00
Côme Chilliet
fc2467c18f Migrate missing primary key database check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-12-04 16:23:24 +00:00
Côme Chilliet
e48e67b0a4 Migrate missing index database check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-12-04 16:23:23 +00:00
Côme Chilliet
d0a72a103d Migrate missing column database check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-12-04 16:23:23 +00:00
Joas Schilling
9ab8020035 Merge pull request #42010 from nextcloud/backport/42008/stable28
[stable28] fix(metadata): Allow to load metadata of multiple files at once
2023-12-04 16:35:30 +01:00
Joas Schilling
c6acd3f8ec fix(metadata): Fix copy-paste doc block throws
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-04 14:59:36 +01:00
Joas Schilling
4ce175b88f fix(metadata): Allow to load metadata of multiple files at once
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-04 13:58:40 +00:00
Joas Schilling
a5eaa56314 Merge pull request #42005 from nextcloud/backport/41999/stable28
[stable28] fix(security): Handle idn_to_utf8 returning false
2023-12-04 13:59:00 +01:00
Julius Härtl
b6dd719711 Merge pull request #42000 from nextcloud/backport/41995/stable28 2023-12-04 12:50:17 +01:00
Joas Schilling
704751f868 fix(security): Handle idn_to_utf8 returning false
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-04 11:18:51 +00:00
Marcel Klehr
d95c3edd6b fix(TemplateManager): Bail early if templatedirectory is empty
fixes #39266

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-04 09:57:30 +00:00
Joas Schilling
0744821ebf Merge pull request #41955 from nextcloud/backport/41766/stable28
[stable28] fix(files_external): Fix "Could not find resource main.js to load"
2023-12-04 08:55:21 +01:00
Nextcloud bot
3ef484d1c3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-04 00:18:37 +00:00
Ferdinand Thiessen
41ece3b55c Merge pull request #41978 from nextcloud/backport/41953/stable28
[stable28] fix(files): Move aria-label for favorite icon from span to icon
2023-12-03 17:28:38 +01:00
nextcloud-command
cd4d6809a2 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-03 14:22:28 +00:00
Ferdinand Thiessen
93017848f0 fix(files): Remove aria-label from span and move to favorite icon
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-03 15:18:35 +01:00
nextcloud-command
82e6627eea chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-12-03 02:49:32 +00:00
Nextcloud bot
ca5da4f347 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-03 00:18:28 +00:00
Joas Schilling
6380a38de4 Merge pull request #41967 from nextcloud/fix/dav/single-day-ooo-stable28
[stable28] fix(dav): Allow single-day out of office
2023-12-02 08:10:51 +01:00
Nextcloud bot
1149706765 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-02 00:21:25 +00:00
Louis
917e271730 Merge pull request #41941 from nextcloud/backport/41924/stable28
[stable28] Add comment in SyncLivePhotosListener
2023-12-02 00:21:27 +01:00
Louis Chemineau
263f9e1e77 Add comment in SyncLivePhotosListener
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-01 22:54:57 +01:00
Joas Schilling
dec04eccb0 fix(files_external): Fix "Could not find resource main.js to load"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-01 15:28:41 -06:00
Marcel Klehr
2d65838af1 fix(TextProcessing): Make task type template param covariant
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-01 12:36:42 +00:00
Christoph Wurst
3b30b2ff16 fix(dav): Allow single-day out of office
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-12-01 13:29:53 +01:00
Joas Schilling
ed809fd0f6 Merge pull request #41960 from nextcloud/bugfix/noid/fix-video-verification-tests
fix(CI): Fix video verification tests
2023-12-01 11:40:47 +01:00
Joas Schilling
385495050b Merge pull request #41963 from nextcloud/backport/41957/stable28
[stable28] feat(out-of-office): Add OCS endpoint to set and clear absence
2023-12-01 11:39:12 +01:00
Joas Schilling
bdf3b46daf fix(out-of-office)!: Remove non OCS endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-01 11:00:35 +01:00
Joas Schilling
d5f3710917 feat(out-of-office): Migrate frontend to OCS endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-01 10:59:45 +01:00
Joas Schilling
7bfeeaedee feat(out-of-office): Add OCS endpoint to set and clear absence
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-01 10:57:40 +01:00
Joas Schilling
ab788f5dfa fix(CI): Fix video verification tests
Searching for "master" doesn't work when the app switches to "main"

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-01 10:43:10 +01:00
Joas Schilling
ffbc8c90bf Merge pull request #41956 from nextcloud/backport/41928/stable28
[stable28] fix(copyright): Fix copyright doc blocks
2023-12-01 10:14:51 +01:00
Joas Schilling
f65eba52eb fix(copyright): Fix copyright doc blocks
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-01 07:20:23 +00:00
Nextcloud bot
8b3161efc9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-01 00:18:42 +00:00
Andy Scherzinger
ba53734e15 Merge pull request #41945 from nextcloud/fix/stable28-cypress-global-search-modal
[stable28] fix(cypress): Adjust user columns tests
2023-11-30 21:55:29 +01:00
Arthur Schiwon
45e5715575 Merge pull request #41814 from nextcloud/release/28.0.0_rc2
28.0.0 RC2
2023-11-30 20:59:47 +01:00
Arthur Schiwon
9bcb7774a4 Merge pull request #41943 from nextcloud/fix/stable28-update-vue
[stable28] Update `@nextcloud/vue` to 8.3.0
2023-11-30 20:47:04 +01:00
Ferdinand Thiessen
a9f6050144 fix(cypress): Adjust user columns tests to be more specific when selecting a modal
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-30 20:37:46 +01:00
Ferdinand Thiessen
cc3e0f9e0b fix: Update dav snapshots
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-30 19:46:49 +01:00
Ferdinand Thiessen
048cf59275 chore: Update @nextcloud/vue to 8.3.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-30 19:46:48 +01:00
Ferdinand Thiessen
20de1ec38b Merge pull request #41932 from nextcloud/backport/41923/stable28
[stable28] fix(core): app icon alignment in app menu
2023-11-30 19:44:13 +01:00
Andy Scherzinger
2bc87ddc5b Merge pull request #41929 from nextcloud/41785-manual-backport
[stable28] Migrate openResult method to SearchResult component
2023-11-30 18:56:33 +01:00
fenn-cs
71d7a99a52 Migrate openResult method to SearchResult component
After moving the `SearchResult` to its own component and leaving
 out the openResult method, the search results do not lead anywhere but
 but error out.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-30 18:33:10 +01:00
Ferdinand Thiessen
fdaa6e7c95 Merge pull request #41925 from nextcloud/41781-manual-backport
[stable28] UI updates for global search
2023-11-30 18:26:48 +01:00
fenn-cs
47cd940871 Fix date filter wording & improve search feedback
- Show loading when actually loading, instead of no content
- Change modified label to `Date` as it applies to a bunch of things.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-30 17:15:06 +01:00
fenn-cs
8ec0f24e6f Unbold user names in SearchableList
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-30 17:11:02 +01:00
fenn-cs
6fa617026d Improve accesibility for search tags/chips
- Use stand font of filter tags/chips
- No bold
- Use close icon and no close thick

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-30 17:11:02 +01:00
F. E Noel Nfebe
eeaf2a086f Merge pull request #41930 from nextcloud/41792-manual-backport
[stable28]  Handle close GlobalSearchModal gracefully #41792
2023-11-30 17:09:34 +01:00
F. E Noel Nfebe
46fa012140 Merge pull request #41933 from nextcloud/41729-manual-backport
[stable28]  Enable new global search by default #41729
2023-11-30 16:54:05 +01:00
Andy Scherzinger
16190c7dbb Merge pull request #41934 from nextcloud/41885-manual-backport
[stable28]  Improve share logic for enforced password & expiry date
2023-11-30 16:39:35 +01:00
fenn-cs
daafc733fa Handle close GlobalSearchModal gracefully
The current close infrastructure modifies a prop which has
 no real effect aside bugs.

In addition, calling the `NcModal.close()` as the primary way to
 close the search modal instead of using the states defined in `GlobalSearch` view
 causing re-open bugs (Modal cannot open, needs to click twice, and other weird stuff).

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-30 15:33:08 +00:00
Louis
996d94a0de Merge pull request #41921 from nextcloud/backport/41765/stable28
[stable28] Synchronize operation on live photo files
2023-11-30 15:42:18 +01:00
fenn-cs
bd117d229f Enable new global search by default
The new global search would now be activated by default and users,
 have the option to revert to the old unified search by setting `unified_search.enabled`
to true in the NC `config.php` file.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-30 13:46:28 +00:00
Benjamin Gaussorgues
7ad8426824 Merge pull request #41926 from nextcloud/41771-manual-backport 2023-11-30 14:17:39 +01:00
fenn-cs
efc385dc39 Improve share logic for enforced password & expiry date
* It's possible for the admin to enforce and expiry date after, some
 shares have been created. This commit makes possible to update the
 share with the new admin constraints.

* This commit would users to modify enforced expiry to anything within
 range and less than the enforced limit in the pre-create dialog for public
 shares.

* This commit fixes, unable to update share without updating password.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-30 12:41:06 +01:00
Grigorii K. Shartsev
2c2a8559e0 chore(assets): recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-30 11:30:50 +00:00
Grigorii K. Shartsev
7c00a0853b fix(core): app icon alignment in app menu
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-30 11:30:49 +00:00
fenn-cs
df7a1906e8 Always emit search event
For BOD, it's better to always emit the search event so
 apps (all of which we don't know) responding to this effect would receive notifications when
the search happens within these apps.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-30 11:37:25 +01:00
Simon L
0561b11a4e Merge pull request #41920 from nextcloud/backport/41855/stable28
[stable28] fix(theming): Fix color inverted icons based on theming and dark mode
2023-11-30 11:09:58 +01:00
Louis Chemineau
86d88f6b00 Synchronize operation on live photo files
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-30 09:44:51 +00:00
Joas Schilling
32ec76e8d9 Fix more active entry icons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-30 09:15:44 +01:00
Joas Schilling
217753d5f3 fix(theming): Fix color inverted icons based on theming and dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-30 09:14:09 +01:00
Simon L
a1434af01e Merge pull request #41912 from nextcloud/update/vue/stable28
[stable28] update @nextcloud/upload to 1.0.2
2023-11-30 09:03:47 +01:00
Nextcloud bot
6cdfa519a2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-30 00:22:41 +00:00
root
5f2b03c7f4 update @nextcloud/upload to 1.0.2
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-29 23:15:33 +00:00
Arthur Schiwon
7407afb469 Merge pull request #41811 from nextcloud/backport/41778/stable28
[stable28] fix(dav): don't schedule out-of-office jobs for dates in the past
2023-11-29 21:56:17 +01:00
Arthur Schiwon
c967da3b56 Merge pull request #41873 from nextcloud/backport/41703/stable28
[stable28] fix(dav): Convert dates without tz drift
2023-11-29 21:52:58 +01:00
Christoph Wurst
b11da9c004 fix(dav): Timezone drift of OOO event
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-29 19:49:42 +01:00
Christoph Wurst
ac782a1619 fix(dav): Convert dates without tz drift
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-29 19:49:42 +01:00
Christoph Wurst
64c7221390 Merge pull request #41868 from nextcloud/mime-type-msg-eml-28
[stable28] fix: add mimetype for eml and msg
2023-11-29 17:51:48 +01:00
Christoph Wurst
1b8e30ddb2 Merge pull request #41886 from nextcloud/backport/41866/stable28
[stable28] fix(dav): Prioritize timezone from core/login
2023-11-29 17:49:17 +01:00
Andy Scherzinger
ec962bb7c8 Merge pull request #41845 from nextcloud/backport/41818/stable28
[stable28] fix(OOO): Make the returned data more explicit
2023-11-29 15:20:31 +01:00
Christoph Wurst
00ba78fed0 fix(dav): Prioritize timezone from core/login
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-29 14:12:43 +00:00
Daniel Kesselberg
1081c4aaa3 fix: change mime type for msg file
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-29 12:39:07 +01:00
Daniel Kesselberg
6ab3b061d3 fix: add mimetype for eml and msg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-29 12:39:07 +01:00
Andy Scherzinger
8a4136dadf Merge pull request #41807 from nextcloud/backport/41753/stable28
[stable28] Spelling correction
2023-11-29 12:01:37 +01:00
Andy Scherzinger
81b4563039 Merge pull request #41837 from nextcloud/backport/41738/stable28
[stable28] feat(dav): hide search providers if their respective app is not activated
2023-11-29 11:50:43 +01:00
Joas Schilling
3c3b5d87a1 fix(OOO): Make the returned data more explicit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-29 10:10:53 +00:00
Andy Scherzinger
d6a411b4b4 Merge pull request #41783 from nextcloud/backport/41749/stable28
[stable28] fix(files_versions): Check for user and owner before call getUserFolder
2023-11-29 10:55:57 +01:00
Andy Scherzinger
d384ade402 Update test for changed string - openInFilesAction.spec.ts
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-29 10:36:43 +01:00
Valdnet
32761660cd Change to capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-29 10:36:43 +01:00
Valdnet
962dea6a62 Correct a typo
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-29 10:36:43 +01:00
Andy Scherzinger
56827fc676 Merge pull request #41815 from nextcloud/backport/41809/stable28
[stable28] fix: Hidden password confirmation dialog with new global search
2023-11-29 10:35:48 +01:00
Andy Scherzinger
529ac2f4d6 Merge pull request #41817 from nextcloud/backport/41759/stable28
[stable28] fix(dav): Make ooo settings a form and the message required
2023-11-29 10:30:45 +01:00
Benjamin Gaussorgues
761b042e84 feat(dav): hide search providers if their respective app is not activated
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-29 09:28:00 +00:00
Christoph Wurst
41379c0f0a fix(dav): Make ooo settings a form and the message required
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-29 08:07:53 +00:00
Nextcloud bot
2f1f35530b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-29 00:20:37 +00:00
Git'Fellow
ba7c8e1df2 fix(files_versions): Explicitly check for user or owner before call getUserFolder
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Fix typo

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

Fix

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

Fix

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

Fix

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

Optimize DI

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

Switch to DI

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

userSession does not contain null

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

Restore phpdoc annots

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-29 00:33:13 +01:00
Christopher Ng
97f10e3c37 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-28 15:15:58 -08:00
Christopher Ng
51b54f9751 fix: Hidden password confirmation dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 5525edd805)
2023-11-28 15:11:15 -08:00
Christopher Ng
154fe8f102 fix(settings): Duplicate update user manager calls
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 919b5dbdf5)
2023-11-28 15:11:11 -08:00
Arthur Schiwon
2f3b949524 28.0.0 RC2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-28 22:53:59 +01:00
Richard Steinmetz
ba72471dd6 fix(dav): don't schedule out-of-office jobs for dates in the past
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-28 18:47:46 +00:00
Christoph Wurst
699ee7a1d8 Merge pull request #41798 from nextcloud/enh/stable28/add-ooo-and-remove-user-status
[stable28] enh(userstatus): add OOO automation and remove calendar automation
2023-11-28 18:20:18 +01:00
Andy Scherzinger
f37e9da36a Merge pull request #41784 from nextcloud/backport/41782/stable28
[stable28] fix(files): Empty files list when uid contains special chars
2023-11-28 16:52:42 +01:00
Anna Larch
e8481e428a [stable28] enh(userstatus): add OOO automation and remove calendar automation
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-11-28 15:44:23 +01:00
Arthur Schiwon
e7b1d1f46c Merge pull request #41726 from nextcloud/backport/41722/stable28
[stable28] fix(dav): Avoid date diffing if PHP is buggy
2023-11-28 10:30:06 +01:00
Christopher Ng
918bd7607e chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-27 17:26:19 -08:00
Christopher Ng
96386083dd fix(files): Empty files list when uid contains special chars
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 52cf1b3178)
2023-11-27 17:23:38 -08:00
Nextcloud bot
47fb88479e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-28 00:26:29 +00:00
Andy Scherzinger
4342a48798 Merge pull request #41732 from nextcloud/backport/41632/stable28
[stable28] Fix adding x-requested-with header for relative URLs in some cases
2023-11-27 13:12:29 +01:00
Julien Veyssier
d52641b8b8 compile assets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-11-27 12:16:24 +01:00
Julien Veyssier
7741d5cd8f fix adding x-requested-with header for relative URLs when the base NC URL is empty
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-11-27 12:16:24 +01:00
Joas Schilling
057daaee9d Merge pull request #41761 from nextcloud/backport/41678/stable28
fix(security): Update expiration date in security.txt
2023-11-27 12:03:47 +01:00
Joas Schilling
c05b1e841a fix(security): Update expiration date in security.txt
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-27 10:45:28 +01:00
Joas Schilling
e6106cfbc2 Merge pull request #41757 from nextcloud/backport/41640/stable28
[stable28] fix(setupcheck): Fix memory limit setup check
2023-11-27 09:32:48 +01:00
Joas Schilling
c1c6372ef2 fix(setupcheck): Fix memory limit setup check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-27 05:49:43 +00:00
Nextcloud bot
25bc2e50c3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-27 00:23:08 +00:00
Nextcloud bot
5b2ae14e75 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-26 00:23:47 +00:00
Andy Scherzinger
38714a2a07 Merge pull request #41741 from nextcloud/backport/41705/stable28
[stable28] confirm content on dav-v2 test
2023-11-25 09:35:21 +01:00
Maxence Lange
ec74c00d4c confirm content on dav-v2 test
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-25 08:26:25 +01:00
Nextcloud bot
700b6ea4a3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-25 00:26:04 +00:00
Andy Scherzinger
919b448bb6 Merge pull request #41742 from nextcloud/backport/41685/stable28
[stable28] Ensure share has download permissions in F2V
2023-11-24 21:15:32 +01:00
Louis
15e4c78014 Ensure share has download permissions in F2V
Signed-off-by: Louis <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-24 18:12:35 +00:00
Louis
5e8ee6e0d6 Ensure share has download permissions in F2V
Signed-off-by: Louis <louis@chmn.me>
2023-11-24 17:59:38 +00:00
Andy Scherzinger
9b752d977f Merge pull request #41715 from nextcloud/backport/41707/stable28
[stable28] fix(files): Use SVG as FilePicker buttons to bring back icons
2023-11-24 18:00:43 +01:00
Ferdinand Thiessen
0f3cc3beab chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-24 16:26:23 +01:00
Ferdinand Thiessen
3727a18deb fix(files): Use SVG as FilePicker icons instead of Vue components
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-24 16:26:23 +01:00
Andy Scherzinger
2f1dfc8bcc Merge pull request #41733 from nextcloud/backport/41719/stable28
[stable28] Fix action button labels
2023-11-24 16:25:30 +01:00
Marco Ambrosini
c9b5369a99 Fix action button labels
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-24 14:08:25 +00:00
Christoph Wurst
777701e7d1 fix(dav): Avoid date diffing if PHP is buggy
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-24 10:30:39 +00:00
Ferdinand Thiessen
a89e93dcec Merge pull request #41716 from nextcloud/backport/41683/stable28
[stable28] Remove unneeded links and add `focus-visible` state on a link
2023-11-24 11:30:07 +01:00
julia.kirschenheuter
1b19610704 Remove unneeded links and add focus-visible state on a link
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-24 09:45:41 +01:00
Andy Scherzinger
36109fd26f Merge pull request #41708 from nextcloud/backport/41687/stable28
[stable28] fix(core): Subscribe to navigation changes on mounted for Unified search
2023-11-24 09:38:49 +01:00
Nextcloud bot
0d478a0b9c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-24 00:27:21 +00:00
Ferdinand Thiessen
076abb661b fix(core): Subscribe to navigation changes on mounted for Unified search
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-23 23:39:32 +00:00
Arthur Schiwon
b092daa0f6 Merge pull request #41621 from nextcloud/release/28.0.0_rc1
28.0.0 RC1
2023-11-23 21:53:31 +01:00
Arthur Schiwon
20be3a737d Merge pull request #41706 from nextcloud/backport/41652/stable28
[stable28] Focus global search input on open
2023-11-23 21:39:16 +01:00
fenn-cs
ef73f18bff Focus global search input on open
For better accesibility, the search input in the global search
modal should be focused when the search modal is opened.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-23 19:55:40 +00:00
Arthur Schiwon
a8a114ccbb Merge pull request #41701 from nextcloud/feat/dav/out-of-office-job-stable28
[stable28] feat(dav): dispatch out-of-office started and ended events
2023-11-23 19:52:59 +01:00
Andy Scherzinger
33515daa26 Merge pull request #41700 from nextcloud/backport/41669/stable28
[stable28] Add app-based filtering to global search
2023-11-23 19:51:20 +01:00
Richard Steinmetz
d593206a30 feat(dav): dispatch out-of-office started and ended events
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-23 17:54:10 +01:00
fenn-cs
660e9639e3 Add app-based filtering to global search
Emit search queries from the global search modal that would trigger
list filtering in various apps that support it.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-23 16:07:40 +00:00
Andy Scherzinger
9f9abd1a57 Merge pull request #41691 from nextcloud/backport/41680/stable28
[stable28] Replace "Update" with "Edit" in advanced share settings
2023-11-23 16:53:00 +01:00
Andy Scherzinger
52c9427c26 Merge pull request #41692 from nextcloud/backport/41672/stable28
[stable28] Fix star stroke color on hover
2023-11-23 16:48:17 +01:00
Marco Ambrosini
a1aec65792 Fix star stroke color on hover
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-23 13:23:46 +00:00
Jérôme Herbinet
819b4a4412 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>
2023-11-23 13:13:25 +00:00
Jérôme Herbinet
a13ef9324f Replace "Update" with "Edit"
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-11-23 13:13:24 +00:00
Arthur Schiwon
7fc7449714 Merge pull request #41679 from nextcloud/branchoff/welcome-stable28
Test against stable28 branches
2023-11-23 12:00:45 +01:00
Joas Schilling
7f3ebb4e73 Test against stable28 branches
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-23 10:06:38 +01:00
Arthur Schiwon
26b2712eb5 28.0.0 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-20 12:04:02 +01:00
12299 changed files with 474799 additions and 584755 deletions

View File

@@ -1,4 +1,4 @@
FROM ubuntu:noble
FROM ubuntu:jammy
ARG DEBIAN_FRONTEND=noninteractive
@@ -7,29 +7,29 @@ RUN apt-get update -y && \
apt install -y apache2 vim software-properties-common sudo nano gnupg2
RUN apt-get install --no-install-recommends -y \
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 \
php8.1 \
php8.1-common \
php8.1-gd \
php8.1-zip \
php8.1-curl \
php8.1-xml \
php8.1-xmlrpc \
php8.1-mbstring \
php8.1-sqlite \
php8.1-xdebug \
php8.1-pgsql \
php8.1-intl \
php8.1-imagick \
php8.1-gmp \
php8.1-apcu \
php8.1-bcmath \
php8.1-redis \
php8.1-soap \
php8.1-imap \
php8.1-opcache \
php8.1-cli \
php8.1-dev \
libmagickcore-6.q16-3-extra \
curl \
lsof \
make \
@@ -42,18 +42,15 @@ 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.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
RUN echo "xdebug.remote_enable = 1" >> /etc/php/8.1/cli/conf.d/20-xdebug.ini && \
echo "xdebug.remote_autostart = 1" >> /etc/php/8.1/cli/conf.d/20-xdebug.ini && \
echo "apc.enable_cli=1" >> /etc/php/8.1/cli/conf.d/20-apcu.ini
# Autostart XDebug for apache
RUN { \
echo "xdebug.mode=debug"; \
echo "xdebug.start_with_request=yes"; \
} >> /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.3/apache2/php.ini
} >> /etc/php/8.1/apache2/conf.d/20-xdebug.ini
# Docker
RUN apt-get -y install \

View File

@@ -1,2 +0,0 @@
SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
SPDX-License-Identifier: AGPL-3.0-or-later

View File

@@ -1,14 +1,10 @@
<!--
- SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Nextcloud DevContainer
## Usage
Make sure you have the [VSCode DevContainer](https://code.visualstudio.com/docs/devcontainers/containers) extensions installed. If you open the project, VSCode will ask you if you want to open it inside of the DevContainer. If that's not the case, use <kbd>F1</kbd>&rarr;*Dev Containers: Open Folder in Container*.
Alternatively open the project directly in [GitHub Codespaces](https://github.com/codespaces/new?hide_repo_select=true&ref=master&repo=60243197&skip_quickstart=true).
Alternatively open the project directly in [GitHub Codespaces](https://github.com/features/codespaces).
That's already it. Everything else will be configured automatically by the Containers startup routine.
@@ -73,4 +69,4 @@ any other user.
The Apache webserver is already configured to automatically try to connect to a debugger process
listening on port `9003`. To start the VSCode debugger process, use the delivered debug profile `Listen for XDebug`.
After you started the VSCode debugger, just navigate to the appropriate Nextcloud URL to get your
debug hits.
debug hits.

View File

@@ -1,9 +1,5 @@
<?php
/**
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
$codespaceName = getenv('CODESPACE_NAME');
$codespaceDomain = getenv('GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN');

View File

@@ -1,2 +0,0 @@
SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
SPDX-License-Identifier: AGPL-3.0-or-later

View File

@@ -1,5 +1,3 @@
# SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
version: '3'
services:
nextclouddev:

View File

@@ -1,8 +1,5 @@
#!/bin/bash
#
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
#
sudo service apache2 start
while sleep 1000; do :; done

View File

@@ -1,2 +0,0 @@
SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
SPDX-License-Identifier: AGPL-3.0-or-later

View File

@@ -1,8 +1,5 @@
#!/bin/bash
#
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
#
# Set git safe.directory
git config --global --add safe.directory /var/www/html
git config --global --add safe.directory /var/www/html/3rdparty

View File

@@ -1,8 +1,4 @@
#!/bin/bash
#
# SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
#
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" >/dev/null 2>&1 && pwd )"
cd $DIR/

1769
.drone.yml Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,8 +1,5 @@
# https://editorconfig.org
# SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
root = true
[*]
@@ -13,6 +10,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
.envrc
View File

@@ -1,3 +0,0 @@
watch_file lib/versioncheck.php
watch_file package.json
use flake

View File

@@ -1,5 +1,3 @@
# SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
# Ignoring folders for eslint
node_modules/
3rdparty/

View File

@@ -1,7 +1,3 @@
/**
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
module.exports = {
globals: {
__webpack_nonce__: true,
@@ -22,7 +18,6 @@ module.exports = {
'plugin:cypress/recommended',
],
rules: {
'comma-dangle': 'error',
'no-tabs': 'warn',
// TODO: make sure we fix this as this is bad vue coding style.
// Use proper sync modifier
@@ -31,30 +26,10 @@ module.exports = {
// allows custom xxxx:xxx events formats
ignores: ['/^[a-z]+(?:-[a-z]+)*:[a-z]+(?:-[a-z]+)*$/u'],
}],
'vue/html-self-closing': 'error',
},
settings: {
jsdoc: {
mode: 'typescript',
},
'import/resolver': {
typescript: {}, // this loads <rootdir>/tsconfig.json to eslint
},
},
overrides: [
// Allow any in tests
{
files: ['**/*.spec.ts'],
rules: {
'@typescript-eslint/no-explicit-any': 'warn',
},
},
{
files: ['*.vue'],
rules: {
'no-irregular-whitespace': 'off',
'vue/no-irregular-whitespace': 'error',
},
},
],
}

View File

@@ -1,21 +0,0 @@
# .git-blame-ignore-revs
# 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

2
.gitattributes vendored
View File

@@ -1,5 +1,3 @@
# SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
/dist/* binary
/package-lock.json merge=binary
/core/css/*.css* binary

114
.github/CODEOWNERS vendored
View File

@@ -1,74 +1,36 @@
# 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/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 @st3iny @SebastianKrupinski @tcitworld
/apps/dav/lib/CardDAV @hamza221 @SebastianKrupinski
/apps/dav/tests/unit/CalDAV @st3iny @SebastianKrupinski @tcitworld
/apps/dav/tests/unit/CardDAV @hamza221 @SebastianKrupinski
/apps/cloud_federation_api/appinfo/info.xml @mejo-
/apps/comments/appinfo/info.xml @marcelklehr @Pytal
/apps/contactsinteraction/appinfo/info.xml @kesselb @miaulalala @ChristophWurst @GretaD @hamza221 @st3iny
/apps/dashboard/appinfo/info.xml @julien-nc @juliushaertl
/apps/dav/lib/CalDAV @ChristophWurst @miaulalala @tcitworld
/apps/dav/lib/CardDAV @ChristophWurst @miaulalala @tcitworld
/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 @datenangebot
/apps/files/appinfo/info.xml @skjnldsv @Pytal @ArtificialOwl @come-nc @artonge @icewind1991 @szaimen @susnux @Fenn-CS
/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/theming/appinfo/info.xml @skjnldsv @juliushaertl
/apps/twofactor_backupcodes/appinfo/info.xml @st3iny @miaulalala @ChristophWurst
/apps/updatenotification/appinfo/info.xml @JuliaKirschenheuter @sorbaugh
/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
/apps/weather_status/appinfo/info.xml @julien-nc @juliushaertl
/apps/workflowengine/appinfo/info.xml @blizzz @juliushaertl
# Security team
/build/psalm-baseline-security.xml @nickvergessen @nextcloud/server-backend
/resources/codesigning @mgallien @miaulalala @nickvergessen
/resources/config/ca-bundle.crt @miaulalala @nickvergessen
/resources/config/ca-bundle.crt @ChristophWurst @miaulalala @nickvergessen
/.drone.yml @nickvergessen
# Two-Factor Authentication
# https://github.com/nextcloud/wg-two-factor-authentication#members
@@ -78,34 +40,24 @@ package-lock.json @nextcloud/server-dependabot
# 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
# Groupware team
/build/integration/dav_features/caldav.feature @st3iny @SebastianKrupinski @tcitworld
/build/integration/dav_features/carddav.feature @hamza221 @SebastianKrupinski
/lib/private/Calendar @st3iny @SebastianKrupinski @tcitworld
/lib/private/Contacts @hamza221 @SebastianKrupinski
/lib/public/Calendar @st3iny @SebastianKrupinski @tcitworld
/lib/public/Contacts @hamza221 @SebastianKrupinski
# Desktop client teamn
/apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php @nextcloud/desktop
/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
# Personal interest
*/Activity/* @nickvergessen @nextcloud/server-backend
/apps/workflowengine/lib @nickvergessen @blizzz
*/Activity/* @nickvergessen
*/Notifications/* @nickvergessen
/lib/private/Profiler @CarlSchwan
/lib/public/Profiler @CarlSchwan

View File

@@ -1,10 +1,6 @@
<!--
- SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
## Submitting issues
If you have questions about how to install or use Nextcloud, please direct these to our [forum][forum]. We are also available on [IRC][irc] (unofficial).
If you have questions about how to install or use Nextcloud, please direct these to our [forum][forum]. We are also available on [IRC][irc].
### Short version
@@ -25,7 +21,7 @@ Help us to maximize the effort we can spend fixing issues and adding new feature
[templates]: ./ISSUE_TEMPLATE
[forum]: https://help.nextcloud.com/
[irc]: https://web.libera.chat/#nextcloud
[irc]: https://webchat.freenode.net/?channels=nextcloud
## Contributing to Source Code
@@ -33,13 +29,6 @@ Thanks for wanting to contribute source code to Nextcloud. That's great!
Please read the [Developer Manuals][devmanual] to learn how to create your first application or how to test the Nextcloud code with PHPUnit.
### Conventional Commits
Please use [Conventional Commits](https://www.conventionalcommits.org) for your commit messages. This helps maintain clarity and consistency across the project, making it easier to understand changes and automate versioning.
```
feat(files_sharing): allow sharing with contacts
```
### Tests
In order to constantly increase the quality of our software we can no longer accept pull request which submit un-tested code.
@@ -48,16 +37,16 @@ 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.
Please read [contribute/developer-certificate-of-origin][dcofile].
If you can certify it, then just add a line to every git commit message:
```
Signed-off-by: Random J Developer <random@developer.example.org>
```
````
Signed-off-by: Random J Developer <random@developer.example.org>
````
Use your real name (sorry, no pseudonyms or anonymous contributions).
If you set your `user.name` and `user.email` git configs, you can sign your

2
.github/FUNDING.yml vendored
View File

@@ -1,3 +1 @@
# SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
custom: https://nextcloud.com/include/

View File

@@ -1,10 +1,7 @@
# SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
name: "🐛 Bug report: Nextcloud Server"
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:
@@ -12,14 +9,6 @@ body:
### 👍 Thank you for contributing to our project!
Please note this is a **free and open-source** project. Most people take on their own time to help you, so please, be patient.
You can obtain [Enterprise support](https://nextcloud.com/support/) if you run Nextcloud Server in a mission critical environment.
- type: markdown
attributes:
value: |
### 🚨 SECURITY INFO
If you are reporting a security concern, please report it via [our HackerOne page](https://hackerone.com/nextcloud) instead and review our [security policy](https://nextcloud.com/security/).
This allows us to coordinate the fix and release without potentially exposing all Nextcloud servers and users in the meantime.
It also may qualify your report for a bug bounty reward.
Thank you for helping make Nextcloud more secure!
- type: checkboxes
id: before-posting
attributes:
@@ -49,7 +38,7 @@ body:
label: Steps to reproduce
description: |
Describe the steps to reproduce the bug.
The better your description is _(go 'here', click 'there'...)_ the fastest you'll get an _(accurate)_ answer.
The better your description is _(go 'here', click 'there'...)_ the fastest you'll get an _(accurate)_ answer.
value: |
1.
2.
@@ -63,6 +52,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,9 +76,9 @@ body:
Select Nextcloud Server version.
_Versions not listed here are not maintained and not supported anymore_
options:
- "29"
- "30"
- "31"
- "26"
- "27"
- "28"
- "master"
validations:
required: true
@@ -96,10 +101,10 @@ body:
Select PHP engine version serving Nextcloud Server.
_Describe in the "Additional info" section if you chose "Other"._
options:
- "PHP 8.4"
- "PHP 8.3"
- "PHP 8.2"
- "PHP 7.4"
- "PHP 8.0"
- "PHP 8.1"
- "PHP 8.2"
- "Other"
- type: dropdown
id: webserver
@@ -133,8 +138,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. 22.1 to 22.2)"
- "Upgraded to a MAJOR version (ex. 22 to 23)"
- "Fresh Nextcloud Server install"
- type: dropdown
id: encryption
@@ -169,7 +174,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:
@@ -192,7 +197,7 @@ body:
Provide Nextcloud Signing status.
First, login as Admin user into your Nextcloud, then access this URL:
```shell
https://yournextcloud.tld/index.php/settings/integrity/failed
https://yournextcloud.tld/index.php/settings/integrity/failed
```
> NOTE: This will be automatically formatted into code for better readability.
render: shell
@@ -201,10 +206,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:

View File

@@ -2,8 +2,6 @@
name: 🚀 Feature request
about: Suggest an idea for this project
labels: enhancement, 0. Needs triage
type: "Enhancement"
---
<!--

View File

@@ -1,2 +0,0 @@
SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
SPDX-License-Identifier: AGPL-3.0-or-later

View File

@@ -1,9 +1,5 @@
# SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
blank_issues_enabled: false
contact_links:
- name: 🚨 Report a security or privacy issue
url: https://hackerone.com/nextcloud
about: Report security and privacy related issues privately to the Nextcloud team, so we can coordinate the fix and release without potentially exposing all Nextcloud servers and users in the meantime.
- name: ❓ Community Support and Help
url: https://help.nextcloud.com/
about: Configuration, webserver/proxy or performance issues and other questions

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

2
.github/config.yml vendored
View File

@@ -1,5 +1,3 @@
# SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
firstPRMergeComment: >
Thanks for your first pull request and welcome to the community!
Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22

304
.github/dependabot.yml vendored
View File

@@ -1,142 +1,182 @@
# 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"
# 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"
# Main stableXX npm
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable25
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"]
# 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: stable26
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"]
# 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: stable27
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"]
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
# Testing StableXX composer
- package-ecosystem: composer
directory: "/build/integration"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable25
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: stable26
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: stable27
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: "/"
schedule:
interval: monthly
timezone: Europe/Paris
groups:
github-actions:
patterns:
- "*"
labels:
- "3. to review"
- "feature: dependencies"
# Main composer (linting, testing, openapi)
- package-ecosystem: composer
directories:
- "/"
- "/build/integration"
- "/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
directory: "/"
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"
# Latest stable release
# 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: "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"]
# Latest stable branch
# frontend dependencies
- package-ecosystem: npm
target-branch: stable31
directory: "/"
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"
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: stable30
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: stable30
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"]

View File

@@ -1,8 +1,3 @@
<!--
- 🚨 SECURITY INFO
-
- Before sending a pull request that fixes a security issue please report it via our HackerOne page (https://hackerone.com/nextcloud) following our security policy (https://nextcloud.com/security/). This allows us to coordinate the fix and release without potentially exposing all Nextcloud servers and users in the meantime.
-->
* Resolves: # <!-- related github issue -->
@@ -21,5 +16,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`)

View File

@@ -1,2 +0,0 @@
SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
SPDX-License-Identifier: AGPL-3.0-or-later

View File

@@ -1,126 +0,0 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Code checkers
on:
pull_request:
permissions:
contents: read
concurrency:
group: autocheckers-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
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/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- '**.php'
- build/autoloaderchecker.sh
autoloader:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
matrix:
php-versions: ['8.1']
name: PHP checkers
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
with:
php-version: ${{ matrix.php-versions }}
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check auto loaders
run: bash ./build/autoloaderchecker.sh
autocheckers:
runs-on: ubuntu-latest-low
strategy:
matrix:
php-versions: ['8.1']
name: Translation and Files checkers
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
with:
php-version: ${{ matrix.php-versions }}
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check translations are JSON decodeable
run: php ./build/translation-checker.php
- name: Check translations do not contain triple dot but ellipsis
run: php ./build/triple-dot-checker.php
- name: Check .htaccess does not contain invalid changes
run: php ./build/htaccess-checker.php
- 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
runs-on: ubuntu-latest-low
needs: [changes, autoloader, autocheckers]
if: always()
name: autocheckers-summary
steps:
- name: Summary status
run: if ${{ needs.autocheckers.result != 'success' || (needs.changes.outputs.src != 'false' && needs.autoloader.result != 'success') }}; then exit 1; fi

View File

@@ -27,22 +27,13 @@ jobs:
steps:
- name: Set server major version environment
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
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_month to ' + (new Date()).toISOString().substr(0, 7));
core.exportVariable('current_month', (new Date()).toISOString().substr(0, 7));
}
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" | . >= "${{ env.current_month }}"' \

View File

@@ -2,9 +2,6 @@
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Block merges during freezes
@@ -28,30 +25,8 @@ jobs:
runs-on: ubuntu-latest-low
steps:
- name: Register server reference to fallback to master branch
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
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'

View File

@@ -1,5 +1,3 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Block merging with outdated 3rdparty/
on:
@@ -31,49 +29,25 @@ jobs:
- 'version.php'
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
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@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
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 "Branch has: ${{ steps.actual.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

View File

@@ -1,36 +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: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Block unconventional commits
on:
pull_request:
types: [opened, ready_for_review, reopened, synchronize]
permissions:
contents: read
concurrency:
group: block-unconventional-commits-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
block-unconventional-commits:
name: Block unconventional commits
runs-on: ubuntu-latest-low
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- uses: webiny/action-conventional-commits@8bc41ff4e7d423d56fa4905f6ff79209a78776c7 # v1.3.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -1,47 +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@v5
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
config-file: ./.github/codeql-config.yml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"

View File

@@ -1,22 +1,11 @@
# 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: Compile Command
on:
issue_comment:
types: [created]
permissions:
contents: read
jobs:
init:
runs-on: ubuntu-latest
runs-on: ubuntu-latest-low
# On pull requests and if the comment starts with `/compile`
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/compile')
@@ -26,46 +15,23 @@ jobs:
arg1: ${{ steps.command.outputs.arg1 }}
arg2: ${{ steps.command.outputs.arg2 }}
head_ref: ${{ steps.comment-branch.outputs.head_ref }}
base_ref: ${{ steps.comment-branch.outputs.base_ref }}
steps:
- name: Get repository from pull request comment
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
id: get-repository
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const pull = await github.rest.pulls.get({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number
});
const repositoryName = pull.data.head?.repo?.full_name
console.log(repositoryName)
return repositoryName
- name: Disabled on forks
if: ${{ fromJSON(steps.get-repository.outputs.result) != github.repository }}
run: |
echo 'Can not execute /compile on forks'
exit 1
- name: Check actor permission
uses: skjnldsv/check-actor-permission@69e92a3c4711150929bca9fcf34448c5bf5526e7 # v2
uses: skjnldsv/check-actor-permission@e591dbfe838300c007028e1219ca82cc26e8d7c5 # v2
with:
require: write
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.1.0
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reactions: '+1'
reactions: "+1"
- name: Parse command
uses: skjnldsv/parse-command-comment@5c955203c52424151e6d0e58fb9de8a9f6a605a1 # v2
uses: skjnldsv/parse-command-comment@7cef1df370a99dfd5bf896d50121390c96785db8 # v2
id: command
# Init path depending on which command is run
@@ -73,104 +39,53 @@ jobs:
id: git-path
run: |
if ${{ startsWith(steps.command.outputs.arg1, '/') }}; then
echo "path=${{steps.command.outputs.arg1}}" >> $GITHUB_OUTPUT
echo "path=${{ github.workspace }}${{steps.command.outputs.arg1}}" >> $GITHUB_OUTPUT
else
echo "path=${{steps.command.outputs.arg2}}" >> $GITHUB_OUTPUT
echo "path=${{ github.workspace }}${{steps.command.outputs.arg2}}" >> $GITHUB_OUTPUT
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@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'
process:
runs-on: ubuntu-latest
needs: init
steps:
- name: Restore cached git repository
uses: buildjet/cache@3e70d19e31d6a8030aeddf6ed8dbe601f94d09f4 # v4.0.2
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
with:
path: .git
key: git-repo
- name: Checkout ${{ needs.init.outputs.head_ref }}
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
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 }}
- name: Setup git
run: |
git config --local user.email 'nextcloud-command@users.noreply.github.com'
git config --local user.name 'nextcloud-command'
git config --local user.email "nextcloud-command@users.noreply.github.com"
git config --local user.name "nextcloud-command"
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: package-engines-versions
with:
fallbackNode: '^20'
fallbackNpm: '^10'
fallbackNpm: '^9'
- name: Set up node ${{ steps.package-engines-versions.outputs.nodeVersion }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ steps.package-engines-versions.outputs.nodeVersion }}
cache: npm
- name: Set up npm ${{ steps.package-engines-versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.package-engines-versions.outputs.npmVersion }}'
- name: Rebase to ${{ needs.init.outputs.base_ref }}
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
}
run: npm i -g npm@"${{ steps.package-engines-versions.outputs.npmVersion }}"
- name: Install dependencies & build
env:
@@ -180,43 +95,32 @@ jobs:
npm ci
npm run build --if-present
- name: Commit default
if: ${{ !contains(needs.init.outputs.arg1, 'fixup') && !contains(needs.init.outputs.arg1, 'amend') }}
- name: Commit and push default
if: ${{ needs.init.outputs.arg1 != 'fixup' && needs.init.outputs.arg1 != 'amend' }}
run: |
git add '${{ github.workspace }}${{ needs.init.outputs.git_path }}'
git add ${{ needs.init.outputs.git_path }}
git commit --signoff -m 'chore(assets): Recompile assets'
git push origin ${{ needs.init.outputs.head_ref }}
- name: Commit fixup
if: ${{ contains(needs.init.outputs.arg1, 'fixup') }}
- name: Commit and push fixup
if: ${{ needs.init.outputs.arg1 == 'fixup' }}
run: |
git add '${{ github.workspace }}${{ needs.init.outputs.git_path }}'
git add ${{ needs.init.outputs.git_path }}
git commit --fixup=HEAD --signoff
git push origin ${{ needs.init.outputs.head_ref }}
- name: Commit amend
if: ${{ contains(needs.init.outputs.arg1, 'amend') }}
- name: Commit and push amend
if: ${{ needs.init.outputs.arg1 == 'amend' }}
run: |
git add '${{ github.workspace }}${{ needs.init.outputs.git_path }}'
git add ${{ needs.init.outputs.git_path }}
git commit --amend --no-edit --signoff
# Remove any [skip ci] from the amended commit
git commit --amend -m "$(git log -1 --format='%B' | sed '/\[skip ci\]/d')"
- 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"
- 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"
git push --force origin ${{ needs.init.outputs.head_ref }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.1.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"

View File

@@ -1,5 +1,3 @@
# SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Update 3rdparty command
on:
@@ -20,81 +18,43 @@ jobs:
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v3.0.1
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.0.1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reactions: '+1'
- name: Disabled on forks
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
run: |
echo 'Can not execute /update-3rdparty on forks'
exit 1
reactions: "+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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
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@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
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@71345be0265236311c031f5c7866368bd1eff043 # 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'
git config --local user.email "nextcloud-command@users.noreply.github.com"
git config --local user.name "nextcloud-command"
- 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@71345be0265236311c031f5c7866368bd1eff043 # v3.0.1
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.0.1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reactions: '-1'
reactions: "-1"

51
.github/workflows/command-rebase.yml vendored Normal file
View File

@@ -0,0 +1,51 @@
# 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
name: Rebase command
on:
issue_comment:
types: created
permissions:
contents: read
jobs:
rebase:
runs-on: ubuntu-latest
permissions:
contents: none
# On pull requests and if the comment starts with `/rebase`
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase')
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.0.1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "+1"
- name: Checkout the latest code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
- name: Automatic Rebase
uses: cirrus-actions/rebase@b87d48154a87a85666003575337e27b8cd65f691 # 1.8
env:
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.0.1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "-1"

View File

@@ -1,11 +1,3 @@
# 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: Cypress
on: pull_request
@@ -17,17 +9,9 @@ concurrency:
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.
# Server requires head_ref instead of base_ref, as we want to test the PR branch
BRANCH: ${{ github.head_ref || github.ref_name }}
permissions:
contents: read
jobs:
init:
runs-on: ubuntu-latest
@@ -36,27 +20,18 @@ jobs:
npmVersion: ${{ steps.versions.outputs.npmVersion }}
env:
# We'll install cypress in the cypress job
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
steps:
- name: Disabled on forks
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
run: |
echo 'Can not run cypress on forks'
exit 1
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
# We need to checkout submodules for 3rdparty
submodules: true
- name: Check composer.json
id: check_composer
uses: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v3.0.0
uses: andstor/file-existence-action@20b4d2e596410855db8f9ca21e96fbe18e12930b # v2
with:
files: "composer.json"
@@ -65,19 +40,19 @@ jobs:
run: composer install --no-dev
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: versions
with:
fallbackNode: "^20"
fallbackNpm: "^10"
fallbackNpm: "^9"
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
- name: Install node dependencies & build app
run: |
@@ -88,7 +63,7 @@ jobs:
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: ./
@@ -102,82 +77,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: ['component', 'setup', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
containers: ["component", 0, 1, 2, 3, 4, 5]
# 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
# Always aling this number with the total of e2e runners (max. index + 1)
total-containers: [6]
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@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.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
run: npm i -g npm@"${{ needs.init.outputs.npmVersion }}"
- name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests
uses: cypress-io/github-action@b8ba51a856ba5f4c15cf39007636d4ab04f23e3c # v6.10.2
uses: cypress-io/github-action@ebe8b24c4428922d0f793a5c4c96853a633180e3 # v6.6.0
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
@@ -194,23 +119,20 @@ jobs:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
SPLIT: ${{ matrix.total-containers }}
SPLIT_INDEX: ${{ matrix.containers == 'component' && 0 || matrix.containers }}
SETUP_TESTING: ${{ matrix.containers == 'setup' && 'true' || '' }}
- name: Upload snapshots and videos
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
- name: Upload snapshots
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
if: always()
with:
name: snapshots_videos_${{ matrix.containers }}
path: |
cypress/snapshots
cypress/videos
name: snapshots_${{ matrix.containers }}
path: cypress/snapshots
- name: Extract NC logs
if: failure() && matrix.containers != 'component'
run: docker logs nextcloud-cypress-tests_${{ env.APP_NAME }} > nextcloud.log
run: docker logs nextcloud-cypress-tests-${{ env.APP_NAME }} > nextcloud.log
- name: Upload NC logs
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
if: failure() && matrix.containers != 'component'
with:
name: nc_logs_${{ matrix.containers }}
@@ -218,10 +140,10 @@ jobs:
- name: Create data dir archive
if: failure() && matrix.containers != 'component'
run: docker exec nextcloud-cypress-tests_${{ env.APP_NAME }} tar -cvjf - data > data.tar
run: docker exec nextcloud-cypress-tests-server tar -cvjf - data > data.tar
- name: Upload data dir archive
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
if: failure() && matrix.containers != 'component'
with:
name: nc_data_${{ matrix.containers }}

View File

@@ -2,14 +2,11 @@
#
# 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: Dependabot
on:
pull_request_target: # zizmor: ignore[dangerous-triggers]
pull_request_target:
branches:
- main
- master
@@ -24,20 +21,14 @@ 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]'
runs-on: ubuntu-latest-low
permissions:
# for hmarr/auto-approve-action to approve PRs
pull-requests: write
steps:
- name: Disabled on forks
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
run: |
echo 'Can not approve PRs from forks'
exit 1
# GitHub actions bot approve
# Github actions bot approve
- uses: hmarr/auto-approve-action@b40d6c9ed2fa10c9a2749eca7eb004418a705501 # v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -1,131 +0,0 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit files_external FTP
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: files-external-ftp-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
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/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- '**.php'
files-external-ftp:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.1', '8.4']
ftpd: ['proftpd', 'vsftpd', 'pure-ftpd']
include:
- php-versions: '8.1'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-${{ matrix.ftpd }}
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up ftpd
run: |
sudo mkdir /tmp/ftp
sudo chmod -R 0777 /tmp/ftp
if [[ "${{ matrix.ftpd }}" == 'proftpd' ]]; then echo '$6$Q7V2n3q2GRVv5YeQ$/AhLu07H76Asojy7bxGXMY1caKLAbp5Vt82LOZYMkD/8uDzyMAEXwk0c1Bdz1DkBsk2Vh/9SF130mOPavRGMo.' > /tmp/secret.txt; fi
if [[ "${{ matrix.ftpd }}" == 'proftpd' ]]; then echo 'FTP_ROOT=/home/test' > $GITHUB_ENV; fi
if [[ "${{ matrix.ftpd }}" == 'proftpd' ]]; then docker run --name ftp -d --net host -e PASV_ADDRESS=127.0.0.1 -e FTPUSER_NAME=test -v /tmp/secret.txt:/run/secrets/ftp-user-password-secret -v /tmp/ftp:/home/test instantlinux/proftpd; fi
if [[ "${{ matrix.ftpd }}" == 'vsftpd' ]]; then docker run --name ftp -d --net host -e FTP_USER=test -e FTP_PASS=test -e PASV_ADDRESS=127.0.0.1 -v /tmp/ftp:/home/vsftpd/test fauria/vsftpd; fi
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@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
composer install
mkdir data
./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,'host' => 'localhost','user' => 'test','password' => 'test', 'root' => '${{ env.FTP_ROOT }}'];" > apps/files_external/tests/config.ftp.php
- name: smoketest ftp
run: |
php -r 'var_dump(file_put_contents("ftp://test:test@localhost${{ env.FTP_ROOT }}/ftp.txt", "asd"));'
php -r 'var_dump(file_get_contents("ftp://test:test@localhost${{ env.FTP_ROOT }}/ftp.txt"));'
php -r 'var_dump(mkdir("ftp://test:test@localhost${{ env.FTP_ROOT }}/asdads"));'
ls -l /tmp/ftp
[ -f /tmp/ftp/ftp.txt ]
- 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' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
files: ./clover.xml
flags: phpunit-files-external-ftp
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
with:
flags: phpunit-files-external-ftp
- name: ftpd logs
if: always()
run: |
docker logs ftp
ftp-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-ftp]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.files-external-ftp.result != 'success' }}; then exit 1; fi

View File

@@ -1,213 +0,0 @@
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit files_external S3
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: files-external-s3-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
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/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- '**.php'
files-external-s3-minio:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.1', '8.2', '8.4']
include:
- php-versions: '8.3'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-s3-minio
services:
minio:
image: bitnami/minio@sha256:50cec18ac4184af4671a78aedd5554942c8ae105d51a465fa82037949046da01 # v2025.4.22
env:
MINIO_ROOT_USER: nextcloud
MINIO_ROOT_PASSWORD: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
MINIO_DEFAULT_BUCKETS: nextcloud
ports:
- '9000:9000'
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
env:
OBJECT_STORE_KEY: nextcloud
OBJECT_STORE_SECRET: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
run: |
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
- name: Wait for S3
run: |
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' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
files: ./clover.xml
flags: phpunit-files-external-s3
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
with:
flags: phpunit-files-external-s3
- name: Nextcloud logs
if: always()
run: |
cat data/nextcloud.log
- name: S3 logs
if: always()
run: |
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
files-external-s3-localstack:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.4']
include:
- php-versions: '8.3'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-s3-localstack
services:
localstack:
env:
SERVICES: s3
DEBUG: 1
image: localstack/localstack@sha256:9d4253786e0effe974d77fe3c390358391a56090a4fff83b4600d8a64404d95d # v4.5.0
ports:
- "4566:4566"
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
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
- 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' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
files: ./clover.xml
flags: phpunit-files-external-s3
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
with:
flags: phpunit-files-external-s3
- name: S3 logs
if: always()
run: |
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
s3-external-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-s3-minio, files-external-s3-localstack]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && (needs.files-external-s3-minio.result != 'success' || needs.files-external-s3-localstack.result != 'success') }}; then exit 1; fi

View File

@@ -1,121 +0,0 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit files_external sFTP
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: files-external-sftp-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
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/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- '**.php'
files-external-sftp:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.1', '8.4']
sftpd: ['openssh']
include:
- php-versions: '8.1'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-${{ matrix.sftpd }}
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up sftpd
run: |
sudo mkdir /tmp/sftp
sudo chown -R 0777 /tmp/sftp
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@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
composer install
mkdir data
./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, 'host' => 'localhost:2222','user' => 'test','password' => 'test', 'root' => 'data'];" > apps/files_external/tests/config.sftp.php
- name: PHPUnit
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' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
files: ./clover.xml
flags: phpunit-files-external-sftp
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
with:
flags: phpunit-files-external-sftp
- name: sftpd logs
if: always()
run: |
ls -l /tmp/sftp
docker logs sftp
sftp-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-sftp]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.files-external-sftp.result != 'success' }}; then exit 1; fi

View File

@@ -1,118 +0,0 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Samba Kerberos SSO
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: files-external-smb-kerberos-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
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/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- '**.php'
files-external-smb-kerberos:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
name: smb-kerberos-sso
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Checkout user_saml
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
repository: nextcloud/user_saml
path: apps/user_saml
- name: Install user_saml
run: |
cd apps/user_saml
composer i
cd ../..
- name: Pull images
run: |
docker pull ghcr.io/icewind1991/samba-krb-test-dc
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 icewind1991/samba-krb-test-apache
docker tag ghcr.io/icewind1991/samba-krb-test-client icewind1991/samba-krb-test-client
- name: Setup AD-DC
run: |
DC_IP=$(apps/files_external/tests/sso-setup/start-dc.sh)
sleep 1
apps/files_external/tests/sso-setup/start-apache.sh $DC_IP $PWD
echo "DC_IP=$DC_IP" >> $GITHUB_ENV
- name: Set up Nextcloud
run: |
apps/files_external/tests/sso-setup/setup-sso-nc.sh
- name: Test SSO
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: |
FILEPATH=$(docker exec --user 33 apache ./occ log:file | grep "Log file:" | cut -d' ' -f3)
echo "$FILEPATH:"
docker exec --user 33 apache cat $FILEPATH
sftp-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-smb-kerberos]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.files-external-smb-kerberos.result != 'success' }}; then exit 1; fi

View File

@@ -1,122 +0,0 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit files_external SMB
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: files-external-smb-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
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/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- '**.php'
files-external-smb:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.1']
include:
- php-versions: '8.1'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-smb
services:
samba:
image: ghcr.io/nextcloud/continuous-integration-samba:latest # zizmor: ignore[unpinned-images]
ports:
- 445:445
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, smbclient, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up smbclient
# This is needed as icewind/smb php library for notify
run: sudo apt-get install -y smbclient
- name: Set up Nextcloud
run: |
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 config:system:set --value true --type boolean allow_local_remote_servers
./occ app:enable --force files_external
echo "<?php return ['run'=>true, 'host'=>'localhost', 'user'=>'test', 'password'=>'test', 'root'=>'', 'share'=>'public'];" > apps/files_external/tests/config.smb.php
- name: Wait for smb
run: |
apps/files_external/tests/env/wait-for-connection 127.0.0.1 445 60
- name: PHPUnit
run: composer run test:files_external -- \
apps/files_external/tests/Storage/SmbTest.php \
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
files: ./clover.xml
flags: phpunit-files-external-smb
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
with:
flags: phpunit-files-external-smb
files-external-smb-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-smb]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.files-external-smb.result != 'success' }}; then exit 1; fi

View File

@@ -1,119 +0,0 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit files_external WebDAV
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: files-external-webdav-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
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/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- '**.php'
files-external-webdav-apache:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.1', '8.2', '8.3', '8.4']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-webdav
services:
apache:
image: ghcr.io/nextcloud/continuous-integration-webdav-apache:latest # zizmor: ignore[unpinned-images]
ports:
- 8081:80
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
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 config:system:set --value true --type boolean allow_local_remote_servers
./occ app:enable --force files_external
echo "<?php return ['run' => true, 'host' => 'localhost:8081/webdav/', 'user' => 'test', 'password'=>'pass', 'root' => '', 'wait' => 0];" > apps/files_external/tests/config.webdav.php
- name: Wait for WebDAV
run: |
sleep 5
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 -- \
apps/files_external/tests/Storage/WebdavTest.php \
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
files: ./clover.xml
flags: phpunit-files-external-webdav
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
with:
flags: phpunit-files-external-webdav
files-external-webdav-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-webdav-apache]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.files-external-webdav-apache.result != 'success' }}; then exit 1; fi

View File

@@ -1,107 +0,0 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit files_external generic
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: files-external-generic-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
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/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
files-external-generic:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.1', '8.2', '8.3', '8.4']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-generic
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
env:
OBJECT_STORE_KEY: nextcloud
OBJECT_STORE_SECRET: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
run: |
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
- name: PHPUnit
run: composer run test:files_external -- \
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
files: ./clover.xml
flags: phpunit-files-external-generic
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
with:
flags: phpunit-files-external-generic
files-external-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-generic ]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.files-external-generic.result != 'success' }}; then exit 1; fi

View File

@@ -2,9 +2,6 @@
#
# 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: Block fixup and squash commits
@@ -31,6 +28,6 @@ jobs:
steps:
- name: Run check
uses: skjnldsv/block-fixup-merge-action@c138ea99e45e186567b64cf065ce90f7158c236a # v2
uses: skjnldsv/block-fixup-merge-action@42d26e1b536ce61e5cf467d65fb76caf4aa85acf # v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

84
.github/workflows/ftp.yml vendored Normal file
View File

@@ -0,0 +1,84 @@
name: FTP unit tests
on:
pull_request:
paths:
- '.github/**'
- 'apps/files_external/**'
concurrency:
group: ftp-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
APP_NAME: files_external
jobs:
ftp-tests:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.0']
ftpd: ['proftpd', 'vsftpd', 'pure-ftpd']
name: php${{ matrix.php-versions }}-${{ matrix.ftpd }}
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
- name: Set up ftpd
run: |
sudo mkdir /tmp/ftp
sudo chmod -R 0777 /tmp/ftp
if [[ "${{ matrix.ftpd }}" == 'proftpd' ]]; then echo '$6$Q7V2n3q2GRVv5YeQ$/AhLu07H76Asojy7bxGXMY1caKLAbp5Vt82LOZYMkD/8uDzyMAEXwk0c1Bdz1DkBsk2Vh/9SF130mOPavRGMo.' > /tmp/secret.txt; fi
if [[ "${{ matrix.ftpd }}" == 'proftpd' ]]; then echo 'FTP_ROOT=/home/test' > $GITHUB_ENV; fi
if [[ "${{ matrix.ftpd }}" == 'proftpd' ]]; then docker run --name ftp -d --net host -e PASV_ADDRESS=127.0.0.1 -e FTPUSER_NAME=test -v /tmp/secret.txt:/run/secrets/ftp-user-password-secret -v /tmp/ftp:/home/test instantlinux/proftpd; fi
if [[ "${{ matrix.ftpd }}" == 'vsftpd' ]]; then docker run --name ftp -d --net host -e FTP_USER=test -e FTP_PASS=test -e PASV_ADDRESS=127.0.0.1 -v /tmp/ftp:/home/vsftpd/test fauria/vsftpd; fi
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@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
composer install
mkdir data
./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 ${{ env.APP_NAME }}
php -S localhost:8080 &
- name: smoketest ftp
run: |
php -r 'var_dump(file_put_contents("ftp://test:test@localhost${{ env.FTP_ROOT }}/ftp.txt", "asd"));'
php -r 'var_dump(file_get_contents("ftp://test:test@localhost${{ env.FTP_ROOT }}/ftp.txt"));'
php -r 'var_dump(mkdir("ftp://test:test@localhost${{ env.FTP_ROOT }}/asdads"));'
ls -l /tmp/ftp
[ -f /tmp/ftp/ftp.txt ]
- name: PHPUnit
run: |
echo "<?php return ['run' => true,'host' => 'localhost','user' => 'test','password' => 'test', 'root' => '${{ env.FTP_ROOT }}'];" > apps/${{ env.APP_NAME }}/tests/config.ftp.php
composer run test:files_external apps/files_external/tests/Storage/FtpTest.php
- name: ftpd logs
if: always()
run: |
docker logs ftp
ftp-summary:
runs-on: ubuntu-latest-low
needs: ftp-tests
if: always()
steps:
- name: Summary status
run: if ${{ needs.ftp-tests.result != 'success' }}; then exit 1; fi

View File

@@ -1,103 +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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
repository: nextcloud/github_helper
path: github_helper
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
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@ec406be512d7077f68eed36e63f4d91bc006edc4 # v2.35.4
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 }}"

View File

@@ -1,128 +0,0 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: DAV integration tests
on:
pull_request:
permissions:
contents: read
concurrency:
group: integration-caldav-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
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/**'
- '3rdparty/**'
- '**/*.php'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- 'build/integration/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
integration-caldav:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false' && github.repository_owner != 'nextcloud-gmbh'
strategy:
fail-fast: false
matrix:
php-versions: ['8.1']
endpoint: ['old', 'new']
service: ['CalDAV', 'CardDAV']
name: ${{ matrix.service }} (${{ matrix.endpoint }} endpoint) php${{ matrix.php-versions }}
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: 'none'
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Python
uses: LizardByte/actions/actions/setup_python@bff0a193747a3ac7930a665fc1d4b23eba583b99 # v2025.814.40518
with:
python-version: '2.7'
- name: Set up CalDAVTester
run: |
git clone --depth=1 https://github.com/apple/ccs-caldavtester.git CalDAVTester
git clone --depth=1 https://github.com/apple/ccs-pycalendar.git pycalendar
- name: Set up Nextcloud
run: |
mkdir data
./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 admin
# disable the trashbin, so recurrent deletion of the same object works
./occ config:app:set dav calendarRetentionObligation --value=0
# Prepare users
OC_PASS=user01 ./occ user:add --password-from-env user01
OC_PASS=user02 ./occ user:add --password-from-env user02
# Prepare calendars
./occ dav:create-calendar user01 calendar
./occ dav:create-calendar user01 shared
./occ dav:create-calendar user02 calendar
# Prepare address books
./occ dav:create-addressbook user01 addressbook
./occ dav:create-addressbook user02 addressbook
- name: Run Nextcloud
run: |
php -S localhost:8888 &
- 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"
pushd CalDAVTester
PYTHONPATH="../pycalendar/src" python testcaldav.py --print-details-onfail --basedir "../apps/dav/tests/testsuits/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') || ';' }}
popd
- name: Print Nextcloud logs
if: always()
run: |
cat data/nextcloud.log
caldav-integration-summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, integration-caldav]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.integration-caldav.result != 'success' }}; then exit 1; fi

View File

@@ -1,115 +0,0 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Litmus integration tests
on:
pull_request:
permissions:
contents: read
concurrency:
group: integration-litmus-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
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/**'
- '3rdparty/**'
- '**/*.php'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- 'build/integration/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
integration-litmus:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false' && github.repository_owner != 'nextcloud-gmbh'
strategy:
fail-fast: false
matrix:
php-versions: ['8.1']
endpoint: ['webdav', 'dav']
name: Litmus WebDAV ${{ matrix.endpoint }}
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: 'none'
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
mkdir data
./occ maintenance:install \
--verbose \
--database=sqlite \
--database-name=nextcloud \
--database-user=root \
--database-pass=rootpassword \
--admin-user admin \
--admin-pass admin
./occ config:system:set trusted_domains 2 --value=host.docker.internal:8080
- name: Run Nextcloud
run: |
php -S 0.0.0.0:8080 &
- name: Run Litmus test
run: |
docker run \
--rm \
--add-host=host.docker.internal:host-gateway \
ghcr.io/nextcloud/continuous-integration-litmus-php8.3:latest \
bash -c '\
cd /tmp/litmus/litmus-0.13;
make URL=http://host.docker.internal:8080/remote.php/${{ matrix.endpoint }}${{ matrix.endpoint == 'dav' && '/files/admin' || ''}} CREDS="admin admin" TESTS="basic copymove props largefile" check;
status=$?;
cat debug.log;
exit $status;'
- name: Print Nextcloud logs
if: always()
run: cat data/nextcloud.log
integration-litmus-summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, integration-litmus]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.integration-litmus.result != 'success' }}; then exit 1; fi

View File

@@ -1,122 +0,0 @@
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
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
jobs:
changes:
runs-on: ubuntu-latest-low
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/**'
- '3rdparty/**'
- '**/*.php'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- 'build/integration/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
integration-s3-primary:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false' && github.repository_owner != 'nextcloud-gmbh'
strategy:
fail-fast: false
matrix:
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]
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
env:
MINIO_ROOT_USER: nextcloud
MINIO_ROOT_PASSWORD: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
MINIO_DEFAULT_BUCKETS: nextcloud
ports:
- "9000:9000"
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: 'none'
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- 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: Set up Nextcloud
run: |
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
./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 admin
php -f index.php
- name: Integration
run: |
cd build/integration
bash run.sh --tags "~@failure-s3" dav_features/webdav-related.feature
- name: S3 logs
if: always()
run: |
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
s3-primary-integration-summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, integration-s3-primary]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.integration-s3-primary.result != 'success' }}; then exit 1; fi

View File

@@ -1,185 +0,0 @@
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Integration sqlite
on:
pull_request:
push:
branches:
- main
- master
- stable*
permissions:
contents: read
concurrency:
group: integration-sqlite-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
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/**'
- '3rdparty/**'
- '**/*.php'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- 'build/integration/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- 'core/shipped.json'
integration-sqlite:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
test-suite:
- 'capabilities_features'
- 'collaboration_features'
- 'comments_features'
- 'dav_features'
- 'features'
- 'federation_features'
- '--tags ~@large files_features'
- 'filesdrop_features'
- 'file_conversions'
- 'openldap_features'
- 'openldap_numerical_features'
- 'ldap_features'
- 'remoteapi_features'
- 'routing_features'
- 'setup_features'
- 'sharees_features'
- 'sharing_features'
- 'theming_features'
- 'videoverification_features'
php-versions: ['8.1']
spreed-versions: ['stable32']
activity-versions: ['stable32']
services:
redis:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
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]
ports:
- 389:389
- 636:636
env:
SLAPD_DOMAIN: nextcloud.ci
SLAPD_ORGANIZATION: Nextcloud
SLAPD_PASSWORD: admin
SLAPD_ADDITIONAL_MODULES: memberof
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Checkout Talk app
if: ${{ matrix.test-suite == 'videoverification_features' }}
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
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@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, imagick, intl, json, ldap, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- 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' }}
working-directory: apps/spreed
run: composer i --no-dev
- name: Set up Nextcloud
run: |
mkdir data
./occ maintenance:install --verbose ${{ contains(matrix.test-suite,'ldap') && '--data-dir=/dev/shm/nc_int' || '' }} --database=sqlite --database-name=nextcloud --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
./occ config:system:set hashing_default_password --value=true --type=boolean
- name: Configure caching
if: ${{ contains(matrix.test-suite,'ldap') }}
run: |
./occ config:system:set redis host --value=localhost
./occ config:system:set redis port --value=6379 --type=integer
./occ config:system:set redis timeout --value=0 --type=integer
./occ config:system:set memcache.local --value='\OC\Memcache\Redis'
./occ config:system:set memcache.distributed --value='\OC\Memcache\Redis'
- name: Run integration
working-directory: build/integration
env:
LDAP_HOST: localhost
run: bash run.sh ${{ matrix.test-suite }} no-tail-log
- name: Print logs
if: always()
run: |
cat $(./occ log:file |grep "Log file"|cut -d" " -f3)
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
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, integration-sqlite]
if: always()
name: integration-sqlite-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.integration-sqlite.result != 'success' }}; then exit 1; fi

View File

@@ -3,12 +3,13 @@
# 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
# Use lint-eslint together with lint-eslint-when-unrelated to make eslint a required check for GitHub actions
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
name: Lint eslint
on: pull_request
on:
pull_request:
permissions:
contents: read
@@ -20,9 +21,6 @@ concurrency:
jobs:
changes:
runs-on: ubuntu-latest-low
permissions:
contents: read
pull-requests: read
outputs:
src: ${{ steps.changes.outputs.src}}
@@ -56,24 +54,22 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
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
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: versions
with:
fallbackNode: '^20'
fallbackNpm: '^10'
fallbackNpm: '^9'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
- name: Install dependencies
env:

View File

@@ -2,9 +2,6 @@
#
# 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 php-cs
@@ -48,15 +45,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up php8.1
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 # v2.35.4
- name: Set up php
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
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
env:

View File

@@ -2,13 +2,11 @@
#
# 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 php
on: pull_request
on:
pull_request:
permissions:
contents: read
@@ -20,8 +18,10 @@ concurrency:
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
@@ -47,18 +47,16 @@ jobs:
strategy:
matrix:
php-versions: [ '8.1', '8.2', '8.3', '8.4' ]
php-versions: [ "8.0", "8.1", "8.2", "8.3" ]
name: php-lint
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 # v2.35.4
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
coverage: none

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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
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: '^20'
fallbackNpm: '^10'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
- name: Install dependencies
env:
CYPRESS_INSTALL_BINARY: 0
run: npm ci
- name: Lint
run: npm run stylelint

View File

@@ -1,188 +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 tests
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: node-tests-${{ 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'
versions:
runs-on: ubuntu-latest-low
needs: changes
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
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: '^20'
fallbackNpm: '^10'
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
- name: Set up npm ${{ needs.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ needs.versions.outputs.npmVersion }}'
- name: Install dependencies & build
run: |
npm ci
npm run build --if-present
- name: Test and process coverage
run: npm run test:coverage --if-present
- name: Collect coverage
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
files: ./coverage/lcov.info
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
- name: Set up npm ${{ needs.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ needs.versions.outputs.npmVersion }}'
- name: Install dependencies
run: npm ci
- name: Test
run: npm run test:jsunit
handlebars:
runs-on: ubuntu-latest
needs: [versions, changes]
if: ${{ needs.versions.result != 'failure' && needs.changes.outputs.src != 'false' }}
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
- name: Set up npm ${{ needs.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ needs.versions.outputs.npmVersion }}'
- name: Install dependencies
run: npm ci
- name: Run compile
run: ./build/compile-handlebars-templates.sh
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, test, jsunit, handlebars]
if: always()
name: node-test-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && (needs.test.result != 'success' || needs.jsunit.result != 'success' || needs.handlebars.result != 'success') }}; then exit 1; fi

169
.github/workflows/node-tests.yml vendored Normal file
View File

@@ -0,0 +1,169 @@
name: Node tests
on:
pull_request:
schedule:
- cron: "5 2 * * *"
concurrency:
group: node-tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
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__/**'
- '**/src/**'
- '**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
- '**.handlebars'
versions:
runs-on: ubuntu-latest
needs: changes
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1
id: versions
with:
fallbackNode: '^20'
fallbackNpm: '^9'
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: ${{ 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: Show cypress version
run: npm run cypress:version
- name: Test and process coverage
run: npm run test:coverage
- name: Collect coverage
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
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: Show cypress version
run: npm run cypress:version
- 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: Show cypress version
run: npm run cypress:version
- name: Run compile
run: ./build/compile-handlebars-templates.sh
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, test, jsunit, handlebars]
if: always()
name: node-test-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.test.result != 'success' && needs.jsunit.result != 'success' && needs.handlebars.result != 'success' }}; then exit 1; fi

View File

@@ -2,13 +2,11 @@
#
# 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: Node
on: pull_request
on:
pull_request:
permissions:
contents: read
@@ -20,9 +18,6 @@ concurrency:
jobs:
changes:
runs-on: ubuntu-latest-low
permissions:
contents: read
pull-requests: read
outputs:
src: ${{ steps.changes.outputs.src}}
@@ -56,24 +51,22 @@ jobs:
name: NPM build
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
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
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: versions
with:
fallbackNode: '^20'
fallbackNpm: '^10'
fallbackNpm: '^9'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
- name: Install dependencies & build
env:

View File

@@ -2,9 +2,6 @@
#
# 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: Npm audit fix and compile
@@ -14,9 +11,6 @@ on:
# At 2:30 on Sundays
- cron: '30 2 * * 0'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
@@ -24,58 +18,57 @@ jobs:
strategy:
fail-fast: false
matrix:
branches: ['main', 'master', 'stable31', 'stable30']
branches: ["main", "master", "stable27", "stable26", "stable25", "stable24"]
name: npm-audit-fix-${{ matrix.branches }}
steps:
- name: Checkout
id: checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
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
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: versions
with:
fallbackNode: '^20'
fallbackNpm: '^10'
fallbackNpm: '^9'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
- name: Fix npm audit
id: npm-audit
uses: nextcloud-libraries/npm-audit-action@1b1728b2b4a7a78d69de65608efcf4db0e3e42d0 # v0.2.0
run: |
npm audit fix
- name: Run npm ci and npm run build
if: steps.checkout.outcome == 'success'
if: always()
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
run: |
npm ci
npm run build --if-present
- name: Create Pull Request
if: steps.checkout.outcome == 'success'
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
if: always()
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'fix(deps): Fix npm audit'
commit-message: "chore(deps): fix npm audit"
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: automated/noid/${{ matrix.branches }}-fix-npm-audit
title: '[${{ matrix.branches }}] Fix npm audit'
body: ${{ steps.npm-audit.outputs.markdown }}
title: "[${{ matrix.branches }}] Fix npm audit"
body: |
Auto-generated fix of npm audit
labels: |
dependencies
3. to review

View File

@@ -1,138 +0,0 @@
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Object storage azure
on:
pull_request:
schedule:
- cron: "15 2 * * *"
permissions:
contents: read
concurrency:
group: object-storage-azure-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
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/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
azure-primary-tests:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.1', '8.2']
include:
- 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
env:
AZURITE_ACCOUNTS: nextcloud:bmV4dGNsb3Vk
ports:
- 10000:10000
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]
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
env:
OBJECT_STORE: azure
OBJECT_STORE_KEY: nextcloud
OBJECT_STORE_SECRET: bmV4dGNsb3Vk
run: |
composer install
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
- 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' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
files: ./clover.xml
flags: phpunit-azure
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
with:
flags: phpunit-azure
- name: Azurite logs
if: always()
run: |
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
azure-primary-summary:
runs-on: ubuntu-latest-low
needs: [changes, azure-primary-tests]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.azure-primary-tests.result != 'success' }}; then exit 1; fi

View File

@@ -1,144 +0,0 @@
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Object storage S3
on:
pull_request:
schedule:
- cron: "15 2 * * *"
permissions:
contents: read
concurrency:
group: object-storage-s3-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
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/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
s3-primary-tests-minio:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.1', '8.2']
include:
- php-versions: '8.3'
coverage: true
name: php${{ matrix.php-versions }}-s3
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
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
env:
MINIO_ROOT_USER: nextcloud
MINIO_ROOT_PASSWORD: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
MINIO_DEFAULT_BUCKETS: nextcloud
ports:
- "9000:9000"
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
env:
OBJECT_STORE: s3
OBJECT_STORE_KEY: nextcloud
OBJECT_STORE_SECRET: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
run: |
composer install
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
- 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
env:
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' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
files: ./clover.xml
flags: phpunit-s3
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
with:
flags: phpunit-s3
- name: S3 logs
if: always()
run: |
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
s3-primary-summary:
runs-on: ubuntu-latest-low
needs: [changes,s3-primary-tests-minio]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.s3-primary-tests-minio.result != 'success' }}; then exit 1; fi

View File

@@ -1,134 +0,0 @@
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Object storage Swift
on:
pull_request:
schedule:
- cron: "15 2 * * *"
permissions:
contents: read
concurrency:
group: object-storage-swift-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
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/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
swift-primary-tests:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.1', '8.2']
include:
- php-versions: '8.3'
coverage: true
name: php${{ matrix.php-versions }}-swift
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
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
ports:
- 5000:5000
- 8080:8080
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
env:
OBJECT_STORE: swift
OBJECT_STORE_SECRET: veryfast
run: |
composer install
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
- 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' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
files: ./clover.xml
flags: phpunit-swift
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
with:
flags: phpunit-swift
- name: Swift logs
if: always()
run: |
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
swift-primary-summary:
runs-on: ubuntu-latest-low
needs: [changes,swift-primary-tests]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.swift-primary-tests.result != 'success' }}; then exit 1; fi

View File

@@ -1,18 +1,7 @@
# 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: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-FileCopyrightText: 2024 Arthur Schiwon <blizzz@arthur-schiwon.de>
# SPDX-License-Identifier: MIT
name: OpenAPI
on: pull_request
permissions:
contents: read
on:
pull_request:
concurrency:
group: openapi-${{ github.head_ref || github.run_id }}
@@ -26,21 +15,19 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up php
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 # v2.35.4
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: '8.1'
php-version: '8.2'
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
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
- name: Composer install
run: composer i
- name: OpenAPI checker

View File

@@ -1,12 +1,7 @@
# SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Performance testing
on:
pull_request:
permissions:
contents: read
concurrency:
group: performance-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -17,35 +12,25 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
permissions:
pull-requests: write
strategy:
fail-fast: false
matrix:
php-versions: ['8.1']
php-versions: ['8.0']
name: performance-${{ matrix.php-versions }}
steps:
- name: Disabled on forks
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
run: |
echo 'Can not run performance tests on forks'
exit 1
- name: Checkout server before PR
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
ref: ${{ github.event.pull_request.base.ref }}
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 # v2.35.4
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
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -56,13 +41,12 @@ 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 }}
- name: Run before measurements
uses: nextcloud/profiler@6801ee10fc80f10b444388fb6ca9b36ad8a2ea83
uses: nextcloud/profiler@1e66a9de5f76a01e9d1db4f0153bcc1cbf989b3d
with:
run: |
curl -s -X PROPFIND -u test:test http://localhost:8080/remote.php/dav/files/test
@@ -71,20 +55,20 @@ 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: stable32
profiler-branch: stable28
- 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 }}'
git checkout -b 'pr/${{ github.event.pull_request.head.ref }}'
git remote add pr ${{ github.event.pull_request.head.repo.clone_url }}
git fetch pr ${{ github.event.pull_request.head.ref }}
git checkout -b pr/${{ github.event.pull_request.head.ref }}
git submodule update
./occ upgrade
- name: Run after measurements
id: compare
uses: nextcloud/profiler@6801ee10fc80f10b444388fb6ca9b36ad8a2ea83
uses: nextcloud/profiler@1e66a9de5f76a01e9d1db4f0153bcc1cbf989b3d
with:
run: |
curl -s -X PROPFIND -u test:test http://localhost:8080/remote.php/dav/files/test
@@ -93,19 +77,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: stable32
profiler-branch: stable28
compare-with: before.json
- name: Upload profiles
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
with:
name: profiles
path: |
before.json
after.json
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
- uses: actions/github-script@v7
if: failure() && steps.compare.outcome == 'failure'
with:
github-token: ${{secrets.GITHUB_TOKEN}}

View File

@@ -1,5 +1,3 @@
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit 32bits
on:
@@ -7,7 +5,6 @@ on:
paths:
- 'version.php'
- '.github/workflows/phpunit-32bits.yml'
- 'tests/phpunit-autotest.xml'
workflow_dispatch:
schedule:
- cron: "15 1 * * 1-6"
@@ -28,15 +25,13 @@ jobs:
container: shivammathur/node:latest-i386
strategy:
fail-fast: false
matrix:
php-versions: ['8.1','8.3']
php-versions: ['8.0','8.3']
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Install tools
@@ -45,10 +40,10 @@ jobs:
sudo apt-get install -y ffmpeg imagemagick libmagickcore-6.q16-3-extra
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, imagick, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite, apcu, ldap
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:
@@ -56,16 +51,14 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: composer i
- name: Set up Nextcloud
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 tests/enable_all.php
php -f index.php
- name: PHPUnit
run: composer run test -- --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness

View File

@@ -1,155 +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: PHPUnit MariaDB
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: phpunit-mariadb-${{ 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/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
phpunit-mariadb:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
php-versions: ['8.1']
mariadb-versions: ['10.3', '10.6', '10.11', '11.4', '11.8']
include:
- php-versions: '8.3'
mariadb-versions: '10.11'
coverage: ${{ github.event_name != 'pull_request' }}
- php-versions: '8.4'
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]
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
mariadb:
image: mariadb:${{ matrix.mariadb-versions }}
ports:
- 4444:3306/tcp
env:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: oc_autotest
options: --health-cmd="${{ matrix.mariadb-versions <= 10.4 && 'mysqladmin' || 'mariadb-admin'}} ping" --health-interval 5s --health-timeout 2s --health-retries 5
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 # v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, mysql, pdo_mysql
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: composer i
- name: Enable ONLY_FULL_GROUP_BY MariaDB option
run: |
echo "SET GLOBAL sql_mode=(SELECT CONCAT(@@sql_mode,',ONLY_FULL_GROUP_BY'));" | mysql -h 127.0.0.1 -P 4444 -u root -prootpassword
echo 'SELECT @@sql_mode;' | mysql -h 127.0.0.1 -P 4444 -u root -prootpassword
- name: Set up Nextcloud
env:
DB_PORT: 4444
run: |
mkdir data
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
- name: PHPUnit
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
files: ./clover.db.xml
flags: phpunit-mariadb
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
with:
flags: phpunit-mariadb
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, phpunit-mariadb]
if: always()
name: phpunit-mariadb-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-mariadb.result != 'success' }}; then exit 1; fi

View File

@@ -1,134 +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 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit memcached
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: phpunit-memcached-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
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/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
phpunit-memcached:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
php-versions: ['8.1', '8.3', '8.4']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
name: Memcached (PHP ${{ matrix.php-versions }})
services:
memcached:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
ports:
- 11212:11212/tcp
- 11212:11212/udp
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, memcached, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: composer i
- name: Set up Nextcloud
run: |
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
- name: PHPUnit memcached tests
run: composer run test -- --group Memcache,Memcached --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
files: ./clover.xml
flags: phpunit-memcached
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
with:
flags: phpunit-memcached
- name: Print logs
if: always()
run: |
cat data/nextcloud.log
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, phpunit-memcached]
if: always()
name: phpunit-memcached-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-memcached.result != 'success' }}; then exit 1; fi

View File

@@ -1,192 +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: 2022-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit sharding
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: phpunit-mysql-sharding-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
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/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
phpunit-mysql:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
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]
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]
ports:
- 4444: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
shard1:
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest # zizmor: ignore[unpinned-images]
ports:
- 5001:3306/tcp
env:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: nextcloud
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]
ports:
- 5002:3306/tcp
env:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: nextcloud
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]
ports:
- 5003:3306/tcp
env:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: nextcloud
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]
ports:
- 5004:3306/tcp
env:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: nextcloud
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 10
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, mysql, pdo_mysql
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: composer i
- name: Enable ONLY_FULL_GROUP_BY MySQL option
run: |
echo "SET GLOBAL sql_mode=(SELECT CONCAT(@@sql_mode,',ONLY_FULL_GROUP_BY'));" | mysql -h 127.0.0.1 -P 4444 -u root -prootpassword
echo "SELECT @@sql_mode;" | mysql -h 127.0.0.1 -P 4444 -u root -prootpassword
- name: Set up Nextcloud
env:
DB_PORT: 4444
SHARDING: 1
run: |
mkdir data
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
- name: PHPUnit
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
files: ./clover.db.xml
flags: phpunit-mysql
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
with:
flags: phpunit-mysql
- name: Print logs
if: always()
run: |
cat data/nextcloud.log
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, phpunit-mysql]
if: always()
name: phpunit-mysql-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-mysql.result != 'success' }}; then exit 1; fi

View File

@@ -1,160 +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: 2022-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit mysql
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: phpunit-mysql-${{ 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/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
phpunit-mysql:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
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'
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]
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]
ports:
- 4444: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
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 # v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, mysql, pdo_mysql
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: composer i
- name: Enable ONLY_FULL_GROUP_BY MySQL option
run: |
echo "SET GLOBAL sql_mode=(SELECT CONCAT(@@sql_mode,',ONLY_FULL_GROUP_BY'));" | mysql -h 127.0.0.1 -P 4444 -u root -prootpassword
echo "SELECT @@sql_mode;" | mysql -h 127.0.0.1 -P 4444 -u root -prootpassword
- name: Set up Nextcloud
env:
DB_PORT: 4444
run: |
mkdir data
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
- name: PHPUnit
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
files: ./clover.db.xml
flags: phpunit-mysql
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
with:
flags: phpunit-mysql
- name: Print logs
if: always()
run: |
cat data/nextcloud.log
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, phpunit-mysql]
if: always()
name: phpunit-mysql-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-mysql.result != 'success' }}; then exit 1; fi

View File

@@ -1,140 +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 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
#
# This is the testsuite running all non-database agnostic unit tests
name: PHPUnit nodb
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: phpunit-nodb-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
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/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'resources/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
phpunit-nodb:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
php-versions: ['8.1', '8.3', '8.4']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
name: No DB unit tests (PHP ${{ matrix.php-versions }})
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, imagick, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
# Required for tests that use pcntl
ini-values: disable_functions=""
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: composer i
- name: Set up Nextcloud
run: |
mkdir data
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
- name: PHPUnit nodb testsuite
run: composer run test -- --exclude-group DB,SLOWDB --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.nodb.xml' || '' }}
- name: Upload nodb code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
files: ./clover.nodb.xml
flags: phpunit-nodb
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
with:
flags: phpunit-nodb
- name: Print logs
if: always()
run: |
cat data/nextcloud.log
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, phpunit-nodb]
if: always()
name: phpunit-nodb-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-nodb.result != 'success' }}; then exit 1; fi

View File

@@ -1,124 +0,0 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit primary object store
on:
pull_request:
schedule:
- cron: "15 2 * * *"
permissions:
contents: read
concurrency:
group: phpunit-object-store-primary-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
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/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
object-store-primary-tests-minio:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
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]
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
env:
MINIO_ROOT_USER: nextcloud
MINIO_ROOT_PASSWORD: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
MINIO_DEFAULT_BUCKETS: nextcloud
ports:
- "9000:9000"
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
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
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
env:
OBJECT_STORE: ${{ matrix.key }}
OBJECT_STORE_KEY: nextcloud
OBJECT_STORE_SECRET: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
run: |
composer install
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
- 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:db
- name: S3 logs
if: always()
run: |
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
object-store-primary-summary:
runs-on: ubuntu-latest-low
needs: [changes,object-store-primary-tests-minio]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.object-store-primary-tests-minio.result != 'success' }}; then exit 1; fi

View File

@@ -1,17 +1,7 @@
# 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: 2022-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit OCI
name: PHPUnit oci
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
@@ -23,12 +13,9 @@ concurrency:
jobs:
changes:
runs-on: ubuntu-latest-low
permissions:
contents: read
pull-requests: read
outputs:
src: ${{ steps.changes.outputs.src }}
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
@@ -39,12 +26,9 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '**/vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
@@ -53,96 +37,58 @@ jobs:
phpunit-oci:
runs-on: ubuntu-latest
needs: changes
if: ${{ needs.changes.outputs.src != 'false' && github.repository_owner != 'nextcloud-gmbh' }}
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
fail-fast: false
matrix:
include:
- oracle-versions: '11'
php-versions: '8.1'
- oracle-versions: '18'
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'
name: Oracle ${{ matrix.oracle-versions }} (PHP ${{ matrix.php-versions }}) - database tests
php-versions: ['8.0', '8.1', '8.2']
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
oracle:
image: ghcr.io/gvenzl/oracle-${{ matrix.oracle-versions < 23 && 'xe' || 'free' }}:${{ matrix.oracle-versions }}
image: ghcr.io/gvenzl/oracle-xe:11
# Provide passwords and other environment variables to container
env:
ORACLE_PASSWORD: oracle
ORACLE_RANDOM_PASSWORD: true
APP_USER: autotest
APP_USER_PASSWORD: owncloud
# Forward Oracle port
ports:
- 1521:1521
- 1521:1521/tcp
# Provide healthcheck script options for startup
options: >-
--health-cmd healthcheck.sh
--health-interval 20s
--health-timeout 10s
--health-interval 10s
--health-timeout 5s
--health-retries 10
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 # v2.35.4
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
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, oci8
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, oci8, openssl, pcntl, pdo_sqlite, posix, sqlite, xml, zip
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: composer i
- name: Set up Nextcloud
run: |
composer install
mkdir data
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
./occ maintenance:install --verbose --database=oci --database-name=XE --database-host=127.0.0.1 --database-port=1521 --database-user=autotest --database-pass=owncloud --admin-user admin --admin-pass admin
php -f index.php
- name: PHPUnit
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
files: ./clover.db.xml
flags: phpunit-oci
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
with:
flags: phpunit-oci
run: composer run test:db
- name: Run repair steps
run: |

View File

@@ -1,159 +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: 2022-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit PostgreSQL
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: phpunit-pgsql-${{ 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/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
phpunit-pgsql:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
php-versions: ['8.1']
# To keep the matrix smaller we ignore PostgreSQL versions in between as we already test the minimum and the maximum
postgres-versions: ['13', '17']
include:
- php-versions: '8.3'
postgres-versions: '17'
coverage: ${{ github.event_name != 'pull_request' }}
- php-versions: '8.4'
postgres-versions: '17'
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]
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]
ports:
- 4444: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
steps:
- name: Checkout server
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 # v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, pgsql, pdo_pgsql
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: composer i
- name: Set up Nextcloud
env:
DB_PORT: 4444
run: |
mkdir data
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
- name: PHPUnit database tests
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
files: ./clover.db.xml
flags: phpunit-postgres
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
with:
flags: phpunit-postgres
- name: Run repair steps
run: |
./occ maintenance:repair --include-expensive
- name: Print logs
if: always()
run: |
cat data/nextcloud.log
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, phpunit-pgsql]
if: always()
name: phpunit-pgsql-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-pgsql.result != 'success' }}; then exit 1; fi

View File

@@ -1,141 +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: 2022-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit SQLite
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: phpunit-sqlite-${{ 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/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
phpunit-sqlite:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
php-versions: ['8.2', '8.3', '8.4']
include:
- 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]
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 # v2.35.4
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: composer i
- name: Set up Nextcloud
run: |
mkdir data
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
- 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' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
files: ./clover.db.xml
flags: phpunit-sqlite
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
with:
flags: phpunit-sqlite
- name: Print logs
if: always()
run: |
cat data/nextcloud.log
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, phpunit-sqlite]
if: always()
name: phpunit-sqlite-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-sqlite.result != 'success' }}; then exit 1; fi

View File

@@ -1,55 +1,29 @@
# 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-FileCopyrightText: 2023 Marcel Klehr <mklehr@gmx.net>
# SPDX-FileCopyrightText: 2023 Joas Schilling <213943+nickvergessen@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Daniel Kesselberg <mail@danielkesselberg.de>
# SPDX-FileCopyrightText: 2023 Florian Steffens <florian.steffens@nextcloud.com>
# SPDX-License-Identifier: MIT
name: 'Ask for feedback on PRs'
on:
schedule:
- cron: '30 1 * * *'
permissions:
contents: read
pull-requests: write
jobs:
pr-feedback:
if: ${{ github.repository_owner == 'nextcloud' }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
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/'
- name: Get blocklist
id: blocklist
run: |
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@1883b38a033fb16f576875e0cf45f98b857655c4 # main
- uses: marcelklehr/pr-feedback-action@601109aa729eb4c8d6d0ece7567b9d4901db4aef
with:
feedback-message: |
Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.
We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.
We hope that the reviewing process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR reviewing process.
Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6
Thank you for contributing to Nextcloud and we hope to hear from you soon!
(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: '2024-04-30'
exempt-authors: '${{ steps.blocklist.outputs.blocklist }},${{ steps.scrape.outputs.users }}'
start-date: "2023-07-10"
exempt-authors: "${{ steps.scrape.outputs.users }}"
exempt-bots: true

View File

@@ -1,27 +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: 2022 Free Software Foundation Europe e.V. <https://fsfe.org>
#
# SPDX-License-Identifier: CC0-1.0
name: REUSE Compliance Check
on: [pull_request]
permissions:
contents: read
jobs:
reuse-compliance-check:
runs-on: ubuntu-latest-low
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: REUSE Compliance Check
uses: fsfe/reuse-action@bb774aa972c2a89ff34781233d275075cbddf542 # v5.0.0

130
.github/workflows/s3-external.yml vendored Normal file
View File

@@ -0,0 +1,130 @@
name: S3 External storage
on:
pull_request:
paths:
- 'apps/files_external/**'
concurrency:
group: s3-external-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
APP_NAME: files_external
jobs:
s3-external-tests-minio:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.0', '8.1']
name: php${{ matrix.php-versions }}-minio
services:
minio:
env:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
image: bitnami/minio:2021.10.6
ports:
- "9000:9000"
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
composer install
mkdir data
./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 ${{ env.APP_NAME }}
php -S localhost:8080 &
- name: PHPUnit
run: |
echo "<?php return ['run' => true, 'secret' => 'actually-not-secret', 'passwordsalt' => 'actually-not-secret', 'hostname' => 'localhost','key' => 'minio','secret' => 'minio123', 'bucket' => 'bucket', 'port' => 9000, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/${{ env.APP_NAME }}/tests/config.amazons3.php
composer run test:files_external apps/files_external/tests/Storage/Amazons3Test.php
composer run test:files_external apps/files_external/tests/Storage/VersionedAmazonS3Test.php
- name: S3 logs
if: always()
run: |
docker ps -a
docker logs $(docker ps -aq)
s3-external-tests-localstack:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.0', '8.1']
name: php${{ matrix.php-versions }}-localstack
services:
minio:
env:
SERVICES: s3
DEBUG: 1
image: localstack/localstack:0.12.7
ports:
- "4566:4566"
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
composer install
mkdir data
./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 ${{ env.APP_NAME }}
php -S localhost:8080 &
- name: PHPUnit
run: |
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/${{ env.APP_NAME }}/tests/config.amazons3.php
composer run test:files_external apps/files_external/tests/Storage/Amazons3Test.php
composer run test:files_external apps/files_external/tests/Storage/VersionedAmazonS3Test.php
- name: S3 logs
if: always()
run: |
docker ps -a
docker logs $(docker ps -aq)
s3-external-summary:
runs-on: ubuntu-latest-low
needs: [s3-external-tests-minio, s3-external-tests-localstack]
if: always()
steps:
- name: Summary status
run: if ${{ needs.s3-external-tests-minio.result != 'success' }} || ${{ needs.s3-external-tests-localstack.result != 'success' }}; then exit 1; fi

View File

@@ -0,0 +1,95 @@
name: S3 primary storage integration tests
on:
pull_request:
paths:
- '.github/workflows/**'
- '3rdparty/**'
- '**/*.php'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
concurrency:
group: s3-external-integration-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
s3-primary-integration-tests-minio:
runs-on: ubuntu-20.04
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.0']
key: ['objectstore', 'objectstore_multibucket']
name: php${{ matrix.php-versions }}-${{ matrix.key }}-minio
services:
redis:
image: redis
ports:
- "6379:6379"
minio:
env:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
image: bitnami/minio:2021.12.29
ports:
- "9000:9000"
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd, redis
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- 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: Set up Nextcloud
run: |
mkdir data
echo '<?php $CONFIG=["${{ matrix.key }}" => ["class" => "OC\Files\ObjectStore\S3", "arguments" => ["bucket" => "nextcloud", "autocreate" => true, "key" => "minio", "secret" => "minio123", "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
./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 admin
php -f index.php
- name: Integration
run: |
cd build/integration
bash run.sh --tags "~@failure-s3" features/webdav-related.feature
- name: S3 logs
if: always()
run: |
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
s3-primary-integration-summary:
runs-on: ubuntu-latest-low
needs: [s3-primary-integration-tests-minio]
if: always()
steps:
- name: Summary status
run: if ${{ needs.s3-primary-integration-tests-minio.result != 'success' }}; then exit 1; fi

87
.github/workflows/s3-primary.yml vendored Normal file
View File

@@ -0,0 +1,87 @@
name: S3 primary storage
on:
pull_request:
paths:
- '.github/workflows/**'
- '3rdparty/**'
- '**/*.php'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
concurrency:
group: s3-primary-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
s3-primary-tests-minio:
runs-on: ubuntu-20.04
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.0']
key: ['objectstore', 'objectstore_multibucket']
name: php${{ matrix.php-versions }}-${{ matrix.key }}-minio
services:
minio:
env:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
image: bitnami/minio:2021.12.29
ports:
- "9000:9000"
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- 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" => "minio", "secret" => "minio123", "hostname" => "localhost", "port" => 9000, "use_ssl" => false, "use_path_style" => true, "uploadPartSize" => 52428800]]];' > 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 index.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:db
- name: S3 logs
if: always()
run: |
docker ps -a
docker logs $(docker ps -aq)
s3-primary-summary:
runs-on: ubuntu-latest-low
needs: [s3-primary-tests-minio]
if: always()
steps:
- name: Summary status
run: if ${{ needs.s3-primary-tests-minio.result != 'success' }}; then exit 1; fi

73
.github/workflows/sftp.yml vendored Normal file
View File

@@ -0,0 +1,73 @@
name: SFTP unit tests
on:
pull_request:
paths:
- 'apps/files_external/**'
env:
APP_NAME: files_external
concurrency:
group: sftp-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
sftp-tests:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.0']
sftpd: ['openssh']
name: php${{ matrix.php-versions }}-${{ matrix.sftpd }}
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
- name: Set up sftpd
run: |
sudo mkdir /tmp/sftp
sudo chown -R 0777 /tmp/sftp
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@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
composer install
mkdir data
./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 ${{ env.APP_NAME }}
php -S localhost:8080 &
- name: PHPUnit
run: |
echo "<?php return ['run' => true, 'host' => 'localhost:2222','user' => 'test','password' => 'test', 'root' => 'data'];" > apps/${{ env.APP_NAME }}/tests/config.sftp.php
composer run test:files_external apps/files_external/tests/Storage/SftpTest.php
- name: sftpd logs
if: always()
run: |
ls -l /tmp/sftp
docker logs sftp
sftp-summary:
runs-on: ubuntu-latest-low
needs: sftp-tests
if: always()
steps:
- name: Summary status
run: if ${{ needs.sftp-tests.result != 'success' }}; then exit 1; fi

55
.github/workflows/smb-kerberos.yml vendored Normal file
View File

@@ -0,0 +1,55 @@
name: Samba Kerberos SSO
on:
pull_request:
paths:
- 'apps/files_external/**'
- '.github/workflows/smb-kerberos.yml'
concurrency:
group: smb-kerberos-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
smb-kerberos-tests:
runs-on: ubuntu-22.04
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
name: smb-kerberos-sso
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
- name: Checkout user_saml
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
repository: nextcloud/user_saml
path: apps/user_saml
- name: Pull images
run: |
docker pull ghcr.io/icewind1991/samba-krb-test-dc
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 icewind1991/samba-krb-test-apache
docker tag ghcr.io/icewind1991/samba-krb-test-client icewind1991/samba-krb-test-client
- name: Setup AD-DC
run: |
DC_IP=$(apps/files_external/tests/sso-setup/start-dc.sh)
sleep 1
apps/files_external/tests/sso-setup/start-apache.sh $DC_IP $PWD
echo "DC_IP=$DC_IP" >> $GITHUB_ENV
- name: Set up Nextcloud
run: |
apps/files_external/tests/sso-setup/setup-sso-nc.sh
- name: Test SSO
run: |
apps/files_external/tests/sso-setup/test-sso-smb.sh ${{ env.DC_IP }}
- name: Show logs
if: failure()
run: |
FILEPATH=$(docker exec --user 33 apache ./occ log:file | grep "Log file:" | cut -d' ' -f3)
echo "$FILEPATH:"
docker exec --user 33 apache cat $FILEPATH

View File

@@ -1,5 +1,3 @@
# SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Close stale issues
on:
@@ -7,9 +5,6 @@ on:
schedule:
- cron: "0 0 * * *"
permissions:
contents: read
jobs:
stale:
runs-on: ubuntu-latest
@@ -20,7 +15,7 @@ jobs:
issues: write
steps:
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.COMMAND_BOT_PAT }}
stale-issue-message: >
@@ -30,6 +25,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

View File

@@ -1,20 +1,7 @@
# SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Psalm static code analysis
on:
pull_request:
push:
branches:
- main
- master
- stable*
paths:
- '.github/workflows/static-code-analysis.yml'
- '**.php'
permissions:
contents: read
concurrency:
group: static-code-analysis-${{ github.head_ref || github.run_id }}
@@ -24,20 +11,19 @@ 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@08c6903cd8c0fde910a37f88322edcfb5dd907a8
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: '8.1'
extensions: apcu,ctype,curl,dom,fileinfo,ftp,gd,imagick,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
php-version: '8.0'
extensions: apcu,ctype,curl,dom,fileinfo,ftp,gd,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -46,64 +32,60 @@ 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'
run: git diff -- . ':!lib/composer'
- name: Upload Analysis results to GitHub
if: always()
uses: github/codeql-action/upload-sarif@v2
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: '8.1'
extensions: ctype,curl,dom,fileinfo,ftp,gd,imagick,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
php-version: '8.0'
extensions: ctype,curl,dom,fileinfo,ftp,gd,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
- name: Composer install
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
- name: Upload Security Analysis results to GitHub
if: always()
uses: github/codeql-action/upload-sarif@51f77329afa6477de8c49fc9c7046c15b9a4e79d # v3
uses: github/codeql-action/upload-sarif@v2
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: '8.1'
extensions: ctype,curl,dom,fileinfo,gd,imagick,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
php-version: '8.0'
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -112,35 +94,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8
with:
persist-credentials: false
submodules: true
- name: Set up php
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 #v2.35.4
with:
php-version: '8.1'
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
run: git diff -- . ':!lib/composer'

View File

@@ -1,5 +1,3 @@
# SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Update CA certificate bundle
on:
@@ -7,9 +5,6 @@ on:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
jobs:
update-ca-certificate-bundle:
runs-on: ubuntu-latest
@@ -17,14 +12,13 @@ jobs:
strategy:
fail-fast: false
matrix:
branches: ['master', 'stable31', 'stable30', 'stable29', 'stable28', 'stable27', 'stable26', 'stable25', 'stable24', 'stable23', 'stable22']
branches: ["master", "stable27", "stable26", "stable25", "stable24", "stable23", "stable22"]
name: update-ca-certificate-bundle-${{ matrix.branches }}
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
ref: ${{ matrix.branches }}
submodules: true
@@ -32,18 +26,17 @@ 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@271a8d0340265f705b14b6d32b9829c1cb33d45e
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'fix(security): Update CA certificate bundle'
commit-message: "fix(security): Update CA certificate bundle"
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: 'automated/noid/${{ matrix.branches }}-update-ca-cert-bundle'
title: '[${{ matrix.branches }}] fix(security): Update CA certificate bundle'
branch: automated/noid/${{ matrix.branches }}-update-ca-cert-bundle
title: "[${{ matrix.branches }}] fix(security): Update CA certificate bundle"
body: |
Auto-generated update of CA certificate bundle from [https://curl.se/docs/caextract.html](https://curl.se/docs/caextract.html)
labels: |
dependencies
3. to review
reviewers: ChristophWurst, miaulalala, nickvergessen

View File

@@ -1,52 +0,0 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Update code signing revocation list
on:
workflow_dispatch:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
jobs:
update-code-signing-crl:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
branches: ['master', 'stable31', 'stable30', 'stable29', 'stable28', 'stable27', 'stable26', 'stable25', 'stable24', 'stable23', 'stable22']
name: update-code-signing-crl-${{ matrix.branches }}
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
ref: ${{ matrix.branches }}
submodules: true
- name: Download CRL file from Appstore repository
run: curl --output resources/codesigning/root.crl https://raw.githubusercontent.com/nextcloud/appstore/master/nextcloudappstore/certificate/nextcloud.crl
- name: Verify CRL is from CRT
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@271a8d0340265f705b14b6d32b9829c1cb33d45e
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'fix(security): Update code signing revocation list'
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: 'automated/noid/${{ matrix.branches }}-update-code-signing-crl'
title: '[${{ matrix.branches }}] fix(security): Update code signing revocation list'
body: |
Auto-generated update of code signing revocation list from [Appstore](https://github.com/nextcloud/appstore/commits/master/nextcloudappstore/certificate/nextcloud.crl)
labels: |
dependencies
3. to review
reviewers: mgallien, miaulalala, nickvergessen

View File

@@ -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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
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@271a8d0340265f705b14b6d32b9829c1cb33d45e
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'

View File

@@ -0,0 +1,67 @@
name: Update Psalm baseline
on:
workflow_dispatch:
schedule:
- cron: "5 2 * * *"
jobs:
update-psalm-baseline:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
fail-fast: false
matrix:
branches: ["master", "stable27", "stable26", "stable25"]
name: update-psalm-baseline-${{ matrix.branches }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
ref: ${{ matrix.branches }}
submodules: true
- name: Set up php
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: '8.0'
extensions: apcu,ctype,curl,dom,fileinfo,ftp,gd,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Composer install
run: composer install
- name: Psalm
run: composer run psalm:ci -- --monochrome --no-progress --output-format=text --update-baseline
continue-on-error: true
- name: Psalm OCP
run: composer run psalm:ci -- -c psalm-ocp.xml --monochrome --no-progress --output-format=github --update-baseline
continue-on-error: true
- name: Reset composer
run: |
git clean -f lib/composer
git checkout composer.json composer.lock lib/composer
- name: Create Pull Request
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: Update psalm baseline
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: automated/noid/${{ matrix.branches }}-update-psalm-baseline
title: "[${{ matrix.branches }}] Update psalm-baseline.xml"
body: |
Auto-generated update psalm-baseline.xml with fixed psalm warnings
labels: |
automated pr
3. to review
team-reviewers: server-backend

View File

@@ -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@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
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,
});

17
.gitignore vendored
View File

@@ -1,7 +1,3 @@
# SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-FileCopyrightText: 2011-2016 ownCloud contributors
# SPDX-FileCopyrightText: 2010 ownCloud contributors
# SPDX-License-Identifier: AGPL-3.0-only
# the default generated dir + db file
/data
/config/config.php
@@ -35,7 +31,6 @@
!/apps/lookup_server_connector
!/apps/user_ldap
!/apps/oauth2
!/apps/profile
!/apps/provisioning_api
!/apps/settings
!/apps/systemtags
@@ -46,7 +41,6 @@
!/apps/twofactor_backupcodes
!/apps/user_status
!/apps/weather_status
!/apps/webhook_listeners
!/apps/workflowengine
/apps/files_external/3rdparty/irodsphp/PHPUnitTest
/apps/files_external/3rdparty/irodsphp/web
@@ -64,9 +58,6 @@
!/themes/example
!/themes/README
# Love to people that develop the updater
/updater
# just sane ignores
.*.sw[po]
*.bak
@@ -137,8 +128,7 @@ nbproject
# nodejs
/build/bin
/build/lib/
/build/integration/output/
/build/integration/phpserver.log
/build/jsdocs/
/npm-debug.log
/PhantomJS_*
@@ -151,8 +141,6 @@ Vagrantfile
# Tests - auto-generated files
/data-autotest
/results.sarif
/tests/.phpunit.cache
/tests/.phpunit.result.cache
/tests/coverage*
/tests/css
@@ -174,7 +162,6 @@ tests/acceptance/vendor/
composer.phar
/lib/composer/bin
/lib/composer/bamarni
/vendor-bin/**/vendor
./.htaccess
@@ -184,5 +171,3 @@ core/js/mimetypelist.js
cypress/downloads
cypress/snapshots
cypress/videos
/.direnv

3
.gitmodules vendored
View File

@@ -1,6 +1,3 @@
# SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
# SPDX-FileCopyrightText: 2016 ownCloud, Inc.
# SPDX-License-Identifier: AGPL-3.0-only
[submodule "3rdparty"]
path = 3rdparty
url = https://github.com/nextcloud/3rdparty.git

View File

@@ -15,18 +15,11 @@
<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 Referrer-Policy
Header always set Referrer-Policy "no-referrer"
Header onsuccess unset X-Content-Type-Options
Header always set X-Content-Type-Options "nosniff"
@@ -40,11 +33,14 @@
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)$">
<FilesMatch "\.(css|js|mjs|svg|gif|png|jpg|ico|wasm|tflite)$">
<If "%{QUERY_STRING} =~ /(^|&)v=/">
Header set Cache-Control "max-age=15778463, immutable"
</If>
@@ -53,13 +49,14 @@
</Else>
</FilesMatch>
# Let browsers cache OTF and WOFF files for a week
<FilesMatch "\.(otf|woff2?)$">
# Let browsers cache WOFF files for a week
<FilesMatch "\.woff2?$">
Header set Cache-Control "max-age=604800"
</FilesMatch>
</IfModule>
<IfModule mod_php.c>
php_value mbstring.func_overload 0
php_value default_charset 'UTF-8'
php_value output_buffering 0
<IfModule mod_env.c>
@@ -106,15 +103,7 @@
# - 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
</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
SetEnvIf Transfer-Encoding "chunked" proxy-sendcl=1
</IfModule>
AddDefaultCharset utf-8

View File

@@ -1,2 +0,0 @@
SPDX-FileCopyrightText: 2014 ownCloud, Inc.
SPDX-License-Identifier: AGPL-3.0-only

View File

@@ -1,5 +1,4 @@
{
"esversion": 11,
"camelcase": true,
"eqeqeq": true,
"immed": true,
@@ -12,10 +11,10 @@
"maxparams": 5,
"curly": true,
"jquery": true,
"maxlen": 120,
"indent": 4,
"browser": true,
"laxbreak": true,
"asi": true,
"globals": {
"console": true,
"it": true,

View File

@@ -1,36 +1,37 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
require_once './vendor-bin/cs-fixer/vendor/autoload.php';
use Nextcloud\CodingStandard\Config;
use PhpCsFixer\Runner\Parallel\ParallelConfigFactory;
$config = new Config();
$config
->setParallelConfig(ParallelConfigFactory::detect())
->getFinder()
->ignoreVCSIgnored(true)
->exclude('config')
->exclude('3rdparty')
->exclude('build/stubs')
->exclude('composer')
->exclude('data')
->notPath('3rdparty')
->notPath('build/integration/vendor')
->notPath('build/lib')
->notPath('build/node_modules')
->notPath('build/stubs')
->notPath('composer')
->notPath('node_modules')
->notPath('vendor')
->in('apps')
->in(__DIR__);
$ignoredEntries = shell_exec('git status --porcelain --ignored ' . escapeshellarg(__DIR__));
$ignoredEntries = explode("\n", $ignoredEntries);
$ignoredEntries = array_filter($ignoredEntries, static fn (string $line) => str_starts_with($line, '!! '));
$ignoredEntries = array_map(static fn (string $line) => substr($line, 3), $ignoredEntries);
$ignoredEntries = array_values($ignoredEntries);
// Ignore additional app directories
$rootDir = new \DirectoryIterator(__DIR__);
foreach ($rootDir as $node) {
if (str_starts_with($node->getFilename(), 'apps')) {
$return = shell_exec('git check-ignore ' . escapeshellarg($node->getFilename() . '/'));
foreach ($ignoredEntries as $ignoredEntry) {
if (str_ends_with($ignoredEntry, '/')) {
$config->getFinder()->exclude($ignoredEntry);
} else {
$config->getFinder()->notPath($ignoredEntry);
if ($return !== null) {
$config->getFinder()->exclude($node->getFilename());
}
}
}

View File

@@ -1,7 +1,5 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
# SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0

39
.scrutinizer.yml Normal file
View File

@@ -0,0 +1,39 @@
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

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
@@ -182,12 +176,6 @@ source_file = translationfiles/templates/weather_status.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:webhook_listeners]
file_filter = translationfiles/<lang>/webhook_listeners.po
source_file = translationfiles/templates/webhook_listeners.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:workflowengine]
file_filter = translationfiles/<lang>/workflowengine.po
source_file = translationfiles/templates/workflowengine.pot

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