Compare commits

..

2773 Commits

Author SHA1 Message Date
Joas Schilling 04d6aa0382 Merge pull request #59532 from nextcloud/dependabot/composer/stable29/phpseclib/phpseclib-2.0.52
[stable29] build(deps): bump phpseclib/phpseclib to 2.0.52, symfony/process to 5…
2026-04-10 09:41:40 +02:00
Joas Schilling d17da0dd87 ci(psalm): Update baseline
Signed-off-by: Joas Schilling <coding@schilljs.com>
2026-04-09 18:24:14 +02:00
Joas Schilling 05d2809ca4 build(deps): bump phpseclib/phpseclib to 2.0.52, symfony/process to 5.4.51
Signed-off-by: Joas Schilling <coding@schilljs.com>
2026-04-09 16:34:50 +02:00
Louis cc73bd2db1 Merge pull request #59212 from nextcloud/backport/58761/stable29
[stable29] feat(recent-files): add recent_files_limit config on files settings
2026-03-27 19:40:14 +01:00
Cristian Scheid 91e2ab7a10 fix(workflow): pin localstack to specific image
Updated LocalStack Docker image to a specific version.

Signed-off-by: Cristian Scheid <74515775+cristianscheid@users.noreply.github.com>
2026-03-27 14:55:07 -03:00
nextcloud-command 2a8d3c5965 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2026-03-27 14:28:07 +00:00
Cristian Scheid 81c3038d39 feat(recent-search): pass recent_limit config value to getRecentSearch function
feat(recent-search): pass recent_limit config value to getRecentSearch function

Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>

[skip ci]
2026-03-26 11:14:50 -03:00
Cristian Scheid 8bb59f3760 refactor(recent-files): remove user config from frontend files
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-03-26 08:05:27 +00:00
Cristian Scheid cc32d8f825 feat(recent-files): handle invalid config when only min or max are set for recent files limit
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-03-26 08:05:26 +00:00
Cristian Scheid a39f2f8994 feat(file-info): encapsulate logic to get last activity in getLastActivity function
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-03-26 08:05:26 +00:00
Cristian Scheid c4d7546fc3 refactor(recent-search): use order by fields to determine extended cache join and cast config limit to number
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-03-26 08:05:26 +00:00
Joas Schilling a1e3a4e86f Merge pull request #59189 from nextcloud/automated/noid/stable29-update-code-signing-crl
[stable29] fix(security): Update code signing revocation list
2026-03-25 07:38:36 +01:00
nextcloud-command 3d0b79a3b1 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2026-03-25 03:12:23 +00:00
Joas Schilling f77c38ca42 Merge pull request #59097 from nextcloud/automated/noid/stable29-update-ca-cert-bundle
[stable29] fix(security): Update CA certificate bundle
2026-03-20 07:45:37 +01:00
nextcloud-command dab6088590 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2026-03-20 03:07:33 +00:00
Benjamin Gaussorgues 31f7064f39 Merge pull request #59061 from nextcloud/backport/59013/stable29 2026-03-19 16:08:36 +01:00
Benjamin Gaussorgues 2f174390bd Merge pull request #59038 from nextcloud/backport/59004/stable29 2026-03-19 11:14:48 +01:00
Côme Chilliet b63280c03f fix: Add missing Attribute and fix parameter type in renewpassword route
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-03-19 09:52:31 +01:00
Benjamin Gaussorgues 2be69ca6c2 fix(admin): use correct delegation class
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2026-03-18 15:00:47 +01:00
Andy Scherzinger c337f40433 Merge pull request #58879 from nextcloud/feat/stable29/preview-cleanup-backport
[stable29] feat: backport cleanup command
2026-03-12 17:39:30 +01:00
Kent Delante 7cf9389b1e feat: backport cleanup command
Signed-off-by: Kent Delante <kent.delante@proton.me>
2026-03-12 15:06:47 +08:00
Stephan Orbaugh 21134b11bf Merge pull request #58706 from nextcloud/backport/58562/stable29
[stable29] feat: set creation_time on file creation and render recently created icon
2026-03-04 09:32:03 +01:00
Cristian Scheid 5d49fb41e1 fix(dav): add missing search_supports_creation_time and search_supports_upload_time to Capabilities return type
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2026-03-04 01:06:53 +00:00
Stephan Orbaugh 70e9e2f2c0 Merge pull request #58566 from nextcloud/backport/58327/stable29
[stable29] feat: add upload_time support to file search and recent files
2026-03-03 16:09:17 +01:00
Cristian Scheid 70ec5fdc43 feat(dav): expose search_supports_upload_time capability
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-02-25 13:16:43 -03:00
Cristian Scheid 2c8a3c0c8b feat: add upload_time support to file search and recent files
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-02-25 11:47:26 +00:00
Joas Schilling eb8c8041ea Merge pull request #58113 from nextcloud/backport/58015/stable29
[stable29] fix(TextToImage): Refactor scheduling mechanism
2026-02-19 12:50:45 +01:00
Arthur Schiwon c7f4b8107a Merge pull request #58105 from nextcloud/backport/58100/stable29
[stable29] chore: Improve SVG handling in link previews
2026-02-10 21:50:50 +01:00
Marcel Klehr 709b1bb91e fix(TextToImage): Refactor scheduling mechanism 2026-02-05 14:54:16 +00:00
Benjamin Frueh 06fd0b6853 chore: Improve SVG handling in link previews
Signed-off-by: Benjamin Frueh <benjamin.frueh@gmail.com>
2026-02-05 13:18:12 +00:00
Andy Scherzinger 80c141e741 Merge pull request #57979 from nextcloud/stable29-pin-actions
[stable29] pin actions
2026-02-01 15:45:56 +01:00
Andy Scherzinger acdf2c8147 ci: Pin actions
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2026-02-01 15:21:37 +01:00
Joas Schilling 25e2ee7916 Merge pull request #57951 from nextcloud/automated/noid/stable29-update-code-signing-crl
[stable29] fix(security): Update code signing revocation list
2026-01-31 11:17:52 +01:00
nextcloud-command 0ce7dc94ae fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2026-01-31 03:37:09 +00:00
Joas Schilling b69926d31b Merge pull request #57559 from nextcloud/backport/57534/stable29
[stable29] fix(l10n): Fix language selection
2026-01-15 11:38:06 +01:00
Joas Schilling aaa305f99f fix(l10n): Fix language selection
Signed-off-by: Joas Schilling <coding@schilljs.com>
2026-01-15 07:45:32 +01:00
Joas Schilling c02752ac11 Merge pull request #57382 from nextcloud/automated/noid/stable29-update-code-signing-crl
[stable29] fix(security): Update code signing revocation list
2026-01-06 21:54:45 +01:00
nextcloud-command 2b02cf4b03 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2026-01-06 15:41:10 +00:00
Joas Schilling edd2504b4e Merge pull request #57253 from nextcloud/automated/noid/stable29-update-code-signing-crl
[stable29] fix(security): Update code signing revocation list
2025-12-27 12:46:40 +01:00
nextcloud-command e894056d31 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-12-27 02:49:44 +00:00
Stephan Orbaugh 09b7e8bcb1 Merge pull request #56972 from nextcloud/backport/56758/stable29 2025-12-16 09:25:16 +01:00
Côme Chilliet 063d0ff1cd fix: Log missing nodes of shares at debug level
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-12-16 00:25:20 +01:00
Côme Chilliet aeeea8ccdb fix: Fix orphan shares blocking moving other shares
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-12-16 00:25:20 +01:00
Joas Schilling 418e422a13 Merge pull request #57032 from nextcloud/automated/noid/stable29-update-code-signing-crl
[stable29] fix(security): Update code signing revocation list
2025-12-12 07:46:02 +01:00
nextcloud-command 1f266c328a fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-12-12 02:43:47 +00:00
Joas Schilling 737ae015b7 Merge pull request #56962 from nextcloud/backport/56925/stable29
[stable29] fix(dav): handle HTML in CalDAV invitations
2025-12-11 09:54:41 +01:00
Joas Schilling 4eaac9dadf Merge pull request #56986 from nextcloud/backport/56982/stable29
[stable29] fix(comments): Check comment object
2025-12-11 09:44:31 +01:00
Joas Schilling b10e8d46cf fix(comments): Check comment object
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-12-11 08:42:50 +01:00
Arthur Schiwon cde64a3444 Merge pull request #56846 from nextcloud/backport/56839/stable29
[stable29] refactor(workflowengine): Check if class is correct
2025-12-10 19:13:39 +01:00
Christoph Wurst ecdcbb405b fix(dav): handle HTML in CalDAV invitations
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-12-10 16:48:17 +01:00
Carl Schwan c6c03eee51 refactor(workflowengine): Check if class is correct
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-12-09 10:33:47 +01:00
Andy Scherzinger 4b551b17ee Merge pull request #56825 from nextcloud/backport/56792/stable29
[stable29] debt(files): Remove regular stats request
2025-12-03 19:50:05 +01:00
nextcloud-command 8240c22d62 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-12-03 09:31:07 +00:00
Louis Chmn 2f6d3ca1ea chore(files): Remove regular stats request
All views are now migrated.

Signed-off-by: Louis Chmn <louis@chmn.me>
2025-12-03 09:17:00 +00:00
Joas Schilling 19d68e8e20 Merge pull request #56814 from nextcloud/automated/noid/stable29-update-ca-cert-bundle
[stable29] fix(security): Update CA certificate bundle
2025-12-03 05:54:07 +01:00
nextcloud-command b2609211e7 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-12-03 02:40:57 +00:00
Andy Scherzinger 268c361e87 Merge pull request #56614 from nextcloud/backport/56565/stable29
[stable29] feat: emit an event when an S3 bucket is created
2025-11-29 08:39:19 +01:00
Kent Delante 1ff14bd2c6 feat: emit an event when an S3 bucket is created
Signed-off-by: Kent Delante <kent.delante@proton.me>
2025-11-25 21:35:29 +08:00
Arthur Schiwon 7c478db7ef Merge pull request #56547 from nextcloud/bugfix/noid/bump-symfony/http-foundation-stable29
[stable29] build(deps): Bump symfony/http-foundation to 5.4.50
2025-11-20 11:45:43 +01:00
Joas Schilling b390fcb0cb build(deps): Bump symfony/http-foundation to 5.4.50
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-11-20 10:40:51 +01:00
Arthur Schiwon d21755f7a2 Merge pull request #55516 from nextcloud/backport/stable29/manaul/55151
[stable29] refactor(ShareApiController): Add more error handling
2025-11-19 15:13:12 +01:00
nfebe 03c4d74e4d refactor(ShareApiController): Streamline share providers & add error logging
1. Consolidated the repetitive provider code into a clean loop

2. Added exception handling to log unexpected errors

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-11-18 14:38:20 +01:00
Joas Schilling bc84a7f8dd Merge pull request #56391 from nextcloud/backport/56350/stable29
[stable29] Add AI input limits
2025-11-12 16:43:29 +01:00
Julien Veyssier 1251cdc637 fix(ai-apis): reject text inputs that are longer than 64K chars
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-11-12 12:30:13 +01:00
Stephan Orbaugh 99ed8faa11 Merge pull request #56289 from nextcloud/backport/53564/stable29
[stable29] Fix CSRF token not being refreshed while a two-factor challenge is ongoing
2025-11-12 11:26:55 +01:00
Richard Steinmetz 7bc0079074 fix: update request token on two-factor pages
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-11-12 09:53:53 +01:00
Richard Steinmetz 20259a3dc8 fix: generate csrf tokens if two factor challenge is ongoing
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-11-12 09:50:46 +01:00
Joas Schilling 5f9b0cb477 Merge pull request #56360 from nextcloud/automated/noid/stable29-update-code-signing-crl
[stable29] fix(security): Update code signing revocation list
2025-11-11 08:39:05 +01:00
nextcloud-command 0a01c7d111 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-11-11 02:39:49 +00:00
Joas Schilling d4fdbf77a8 Merge pull request #56233 from nextcloud/backport/56215/stable29
[stable29] feat(EphemeralSessions): Introduce lax period
2025-11-07 08:24:43 +01:00
Louis Chmn a661f804dc feat(EphemeralSessions): Introduce lax period
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-11-06 11:29:05 +01:00
Andy Scherzinger f77b9c21e2 Merge pull request #56227 from nextcloud/backport/56117/stable29
[stable29] fix(files_versions): Do not assume source exist when migrating versions to new storage
2025-11-06 11:08:43 +01:00
Louis Chmn 4954ec4df4 fix(files_versions): Do not assume source exist when migrating versions to new storage
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-11-06 07:24:14 +00:00
Joas Schilling f2ca7520de Merge pull request #56210 from nextcloud/automated/noid/stable29-update-ca-cert-bundle
[stable29] fix(security): Update CA certificate bundle
2025-11-05 07:39:46 +01:00
nextcloud-command 0dd9c253ba fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-11-05 02:39:08 +00:00
John Molakvoæ 57e45c516b Merge pull request #55991 from nextcloud/backport/55971/stable29 2025-10-24 17:15:58 +02:00
skjnldsv 7aa7d93366 feat(config): add maximum.supported.desktop.version
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-10-24 16:37:50 +02:00
Joas Schilling ad2a1a58aa Merge pull request #55854 from nextcloud/backport/55851/stable29
[stable29] fix(dav): Restrict properties allowed object classes
2025-10-20 13:23:18 +02:00
Côme Chilliet 36ce3160e6 fix(dav): Allow array of array of scalars, and fix error message
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-10-20 09:06:17 +00:00
Côme Chilliet a8df5c5ea8 fix(dav): Allow arrays (of scalars) in property values
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-10-20 09:06:17 +00:00
Côme Chilliet abbc2f4c4b fix(dav): Restrict properties allowed object classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-10-20 09:06:17 +00:00
Joas Schilling ae98530243 Merge pull request #55794 from nextcloud/backport/55776/stable29
[stable29] fix(TextToImage): Set better attribute for routes
2025-10-16 15:01:13 +02:00
Joas Schilling 71d4cf9e60 Merge pull request #55772 from nextcloud/backport/55732/stable29
[stable29] fix(TextProcessingApiController): Set better attribute on routes
2025-10-16 11:01:08 +02:00
Marcel Klehr 5b851f81f5 fix(TextToImage): Set better attribute for routes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-10-15 16:29:14 +02:00
Stephan Orbaugh b3847c104f Merge pull request #55702 from nextcloud/backport/55657/stable29
[stable29] fix(contacts): Do not expose SAB in `/contactsmenu`
2025-10-15 12:55:06 +02:00
Marcel Klehr 0d79f64ba7 fix(TextProcessingApiController): Set better attribute on routes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-10-15 10:05:52 +02:00
Louis Chmn 64934adf27 chore(workflows): Use more recent version of minio image
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-10-14 18:01:23 +02:00
Louis Chemineau 72c2aef01a fix(contacts): Do not expose SAB in /contactsmenu
When hitting the `/contactsmenu/contacts` endpoint with the `dav.system_addressbook_exposed` config switch set to `"no"`, the system address book content is still listed in the response.

This ensure that we do not expose unexpectedly the system address book.

Signed-off-by: Louis Chmn <louis@chmn.me>
2025-10-14 17:44:40 +02:00
Andy Scherzinger c52e16d344 Merge pull request #55493 from nextcloud/backport/55422/stable29
[stable29] fix(appstore): Also catch ClientException and ServerException
2025-10-02 09:52:33 +02:00
Marcel Müller 779b5da2d3 fix(appstore): Also catch ClientException and ServerException
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-10-01 20:47:27 +00:00
Andy Scherzinger 734dea31a7 Merge pull request #55460 from nextcloud/backport/52543/stable29
[stable29] fix(share): assume download enabled on federated share
2025-10-01 17:20:30 +02:00
Maxence Lange 0184dac572 fix(share): assume download enabled on federated share
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-10-01 09:44:49 +00:00
Joas Schilling de2302e01a Merge pull request #55454 from nextcloud/automated/noid/stable29-update-code-signing-crl
[stable29] fix(security): Update code signing revocation list
2025-10-01 09:39:12 +02:00
nextcloud-command 8f725a832c fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-10-01 02:39:29 +00:00
Stephan Orbaugh 2bdb628bf5 Merge pull request #55319 from nextcloud/fix/dav/user-addressbook-clean-up-stable29 2025-09-27 14:57:04 +02:00
Christoph Wurst d7a625bc64 fix(dav): clean up user's addressbook shares on deletion
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-09-26 15:34:11 +02:00
Matthieu Gallien 7ddfdc1d9d Merge pull request #55058 from nextcloud/automated/noid/stable29-update-code-signing-crl
[stable29] fix(security): Update code signing revocation list
2025-09-11 17:15:53 +02:00
nextcloud-command 58246cd1b7 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-09-11 15:05:32 +00:00
Andy Scherzinger c862f8aa09 Merge pull request #54993 from nextcloud/automated/noid/stable29-update-ca-cert-bundle
[stable29] fix(security): Update CA certificate bundle
2025-09-10 15:09:18 +02:00
nextcloud-command 03cdd0e456 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-09-10 02:32:23 +00:00
Andy Scherzinger 44cefb359a Merge pull request #54816 from nextcloud/backport/54814/stable29
[stable29] fix(dav): ensure moving or copying a file is possible
2025-09-02 21:45:32 +02:00
Ferdinand Thiessen 6f189cc034 chore: adjust for legacy Nextcloud 29 and before (use OCA instead of OCP)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-02 19:56:11 +02:00
Ferdinand Thiessen e0a566ca1d fix(dav): ensure moving or copying a file is possible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-02 16:05:10 +00:00
Andy Scherzinger 7b72e18ed7 Merge pull request #54806 from nextcloud/backport/54794/stable29
[stable29] fix: add missing listener
2025-09-02 16:08:14 +02:00
SebastianKrupinski 0a835064a7 fix: add missing listener
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-09-02 14:43:48 +02:00
Joas Schilling 5a5233d6b7 Merge pull request #54661 from nextcloud/backport/54605/stable29
[stable29] fix(2fa): Fix 2FA session setup when ephemeral session is used
2025-08-27 07:34:24 +02:00
Joas Schilling 01992b3105 fix(2fa): Fix 2FA session setup when ephemeral session is used
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-08-26 13:46:26 +00:00
Andy Scherzinger f80a28229a Merge pull request #54640 from nextcloud/backport/54615/stable29
[stable29] [stable30] tests: Update testing certificates that expired after 10 years
2025-08-25 20:08:11 +02:00
Joas Schilling 6163c44f95 ci: Update testing certificates that expired after 10 years
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-08-25 17:33:43 +00:00
Andy Scherzinger 0c98d30b5f Merge pull request #54206 from nextcloud/backport/54182/stable29
[stable29] fix: don't update cached mountpoints if the request doesn't have filesystem access
2025-08-24 21:51:04 +02:00
Robin Appelman 7dd310e377 fix: don't update cached mountpoints if the request doesn't have filesystem access
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-24 20:22:37 +02:00
John Molakvoæ 53b16506ef Merge pull request #54557 from nextcloud/backport/54410/stable29 2025-08-21 13:18:03 +02:00
nextcloud-command a28aa4ec59 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-08-21 09:55:40 +00:00
John Molakvoæ 10a2417eb9 fix(files_sharing): bypass sidebar call and return null straight away
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-08-21 11:48:12 +02:00
skjnldsv f687db149e fix(files_sharing): sharing status action permission and sidebar await
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

[skip ci]
2025-08-21 09:27:21 +00:00
Andy Scherzinger 898facd54b Merge pull request #54266 from nextcloud/fix/download-invalid-share
[stable29] fix(lib): get fileinfo before locking
2025-08-20 19:04:24 +02:00
Benjamin Gaussorgues c2a7b1584b Merge pull request #54394 from nextcloud/automated/noid/stable29-update-ca-cert-bundle 2025-08-14 10:31:49 +02:00
nextcloud-command aa503ea933 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-08-13 02:40:31 +00:00
Benjamin Gaussorgues d84052c51c Merge pull request #54306 from nextcloud/backport/54298/stable29 2025-08-07 15:46:34 +02:00
Christoph Wurst efd80b5ce0 fix(dav): calculate permissions based on addressbook principal
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-08-06 21:37:10 +00:00
Matthieu Gallien 4e9fbddceb Merge pull request #54287 from nextcloud/automated/noid/stable29-update-code-signing-crl
[stable29] fix(security): Update code signing revocation list
2025-08-06 17:07:02 +02:00
nextcloud-command 398502749e fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-08-06 14:57:23 +00:00
skjnldsv d869f1f60f fix(lib): get fileinfo before locking
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-08-05 19:36:18 +02:00
Joas Schilling 9a65982a8b Merge pull request #54103 from nextcloud/backport/54027/stable29
[stable29] fix(ConnectionFactory): Apply Oracle connection fix to primary and replica params as well
2025-07-28 09:19:42 +02:00
Marcel Klehr 9d44c4759d fix(ConnectionFactory): Apply Oracle connection fix to primary and replica params as well
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-07-28 08:45:52 +02:00
Stephan Orbaugh 7543679dd2 Merge pull request #54028 from nextcloud/backport/54019/stable29
[stable29] fix(settings): verify source of app-discover media
2025-07-22 10:11:25 +02:00
Ferdinand Thiessen 12e742af72 fix(settings): verify source of app-discover media
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-07-22 03:45:42 +02:00
Joas Schilling 740a8e0b40 Merge pull request #53957 from nextcloud/automated/noid/stable29-update-ca-cert-bundle
[stable29] fix(security): Update CA certificate bundle
2025-07-16 06:44:58 +02:00
nextcloud-command b42aa2e7a3 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-07-16 02:44:59 +00:00
Andy Scherzinger c0c3d6e589 Merge pull request #53774 from nextcloud/backport/53773/stable29
[stable29] perf(dav): Preload dav search with tags/favorites
2025-07-07 20:51:19 +02:00
Julius Knorr 855d4551e9 perf(dav): Preload dav search with tags/favorites
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-07-07 20:10:27 +02:00
Matthieu Gallien 73fd9208e2 Merge pull request #53806 from nextcloud/automated/noid/stable29-update-code-signing-crl
[stable29] fix(security): Update code signing revocation list
2025-07-03 17:35:35 +02:00
nextcloud-command 7d3e2400d4 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-07-03 15:33:09 +00:00
Andy Scherzinger e130cc9993 Merge pull request #53771 from nextcloud/backport/52976/stable29
[stable29] perf: Skip photos related properties in custom properties
2025-07-02 23:28:14 +02:00
Julius Knorr 80ca877cd1 perf: Skip photos app related property in custom properties
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-07-02 19:54:43 +00:00
Andy Scherzinger 438e231d5e Merge pull request #53460 from nextcloud/backport/53356/stable29
[stable29] fix(user_ldap): Harmonize parameter obfuscation and serialization accross logging methods
2025-07-02 19:51:16 +02:00
Andy Scherzinger 75437f142c Merge pull request #53643 from nextcloud/backport/47555/stable29
[stable29] feat(files): Allow more than 50 favorite views
2025-06-23 15:12:00 +02:00
nextcloud-command 98485f1247 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-23 12:46:34 +00:00
Christopher Ng 8611545c24 test(files): Adapt favorite views spec
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-06-23 14:25:41 +02:00
Christopher Ng 02e81659a8 feat(files): Allow more than 50 favorite views
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-06-23 14:25:41 +02:00
Christopher Ng 892d0e0bda perf(files): Do not block files page load with server-side favorites retrieval
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-06-23 14:25:41 +02:00
Andy Scherzinger bfbea38175 Merge pull request #53441 from nextcloud/backport/46887/stable29
[stable29] fix(files_versions): Catch constraint error on version insertion
2025-06-19 23:13:06 +02:00
Côme Chilliet fc104c93f2 fix(user_ldap): Harmonize parameter obfuscation and serialization accross logging methods
Debug log, profiler and ldap debug log had a different logic for
 sanitizing of parameters, aligning them.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-19 09:21:17 +02:00
Côme Chilliet 114eeec1de fix(files_versions): Catch constraint error on version insertion
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-18 21:09:25 +02:00
Stephan Orbaugh 247a1e7e4c Merge pull request #53573 from nextcloud/backport/53321/stable29
[stable29] [FilesList] Use the correct theming instance name from capabilities
2025-06-18 16:33:51 +02:00
nextcloud-command c75f0463fd chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-18 11:02:46 +00:00
Julien Veyssier bb32733149 fix(files): use the correct theming instance name from capabilities to set the page title
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-06-18 12:52:36 +02:00
Andy Scherzinger 2c9f59500a Merge pull request #53251 from nextcloud/backport/52242/stable29
[stable29] fix(S3): Use original folder size during copy
2025-06-12 22:26:59 +02:00
Andy Scherzinger dbe76fed0d Merge pull request #53310 from nextcloud/ci/sso
[stable29] ci: install correct version of user_saml for Nextcloud 29
2025-06-08 10:10:28 +02:00
Ferdinand Thiessen 5b1d6ef193 ci: install correct version of user_saml for Nextcloud 29
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-08 09:31:10 +02:00
Robin Appelman 077f65455b test: add test that object store folder copy preserves folder size
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-05 11:57:59 +02:00
Robin Appelman 662129ca0a perf: set the folder size in the same query as we create it
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-05 11:57:59 +02:00
Louis Chemineau dafdd6167e fix(S3): Use original folder size during copy
This prevent having copied folders with a wrongly set size of 0KB.

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

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-06-05 11:57:59 +02:00
Joas Schilling aca6bb788d Merge pull request #53333 from nextcloud/automated/noid/stable29-update-code-signing-crl
[stable29] fix(security): Update code signing revocation list
2025-06-05 11:11:57 +02:00
nextcloud-command 6b35c4bf9b fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-06-05 02:39:52 +00:00
Andy Scherzinger 55790e07ef Merge pull request #53258 from nextcloud/backport/41065/stable29
[stable29] perf(dashboard): lags on dashboard items drag
2025-06-04 13:32:54 +02:00
Andy Scherzinger bdea46f5e0 Merge pull request #53301 from nextcloud/dependabot/npm_and_yarn/stable29/tar-fs-2.1.3
build(deps): bump tar-fs from 2.1.2 to 2.1.3
2025-06-04 11:11:37 +02:00
Andy Scherzinger eea8980836 Merge pull request #53295 from nextcloud/backport/53292/stable29
[stable29] fix: handle IDLE timeout
2025-06-03 20:01:03 +02:00
Andy Scherzinger 77be0680bf build(deps): bump tar-fs from 2.1.2 to 2.1.3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-06-03 16:12:48 +02:00
Ferdinand Thiessen f9b08eecdb fix: handle IDLE timeout
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-03 15:34:30 +02:00
Andy Scherzinger 6500a00584 Merge pull request #53289 from nextcloud/fix/legacy-filepicker
[stable29] fix(core): correctly show displayname when picking a file
2025-06-03 15:11:52 +02:00
nextcloud-command fb77012521 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-03 12:25:22 +00:00
Ferdinand Thiessen 127f39d0a1 fix(core): correctly show displayname when picking a file
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-03 14:16:05 +02:00
nextcloud-command 4ee3b1cf7b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-02 14:33:39 +00:00
Grigorii K. Shartsev a358d46f6a perf(dashboard): lags on dashboard items drag
- `aria-labelledby` is not needed here, it is a hidden icon
- `visually-hidden` has transformations that have huge performance
impact in combination with other transformations, for example, on
draggable

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2025-06-02 11:30:27 +00:00
Andy Scherzinger 4939be3572 Merge pull request #53136 from nextcloud/backport/53120/stable29
[stable29] perf: improve query to determine which users need a background scan
2025-06-01 13:49:20 +02:00
Joas Schilling c11f549d7e Merge pull request #53202 from nextcloud/backport/53198/stable29
[stable29] fix(user_status): Avoid unique constraint violations from parallel he…
2025-05-30 13:40:03 +02:00
Joas Schilling 93c02cbc18 fix(user_status): Avoid unique constraint violations from parallel heartbeats and GET requests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-30 08:00:24 +00:00
Matthieu Gallien b5aaa4253d Merge pull request #53193 from nextcloud/automated/noid/stable29-update-code-signing-crl
[stable29] fix(security): Update code signing revocation list
2025-05-30 09:03:14 +02:00
nextcloud-command 879ed42580 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-05-30 02:38:55 +00:00
Andy Scherzinger 0959cadb91 Merge pull request #52902 from nextcloud/backport/52708/stable29
[stable29] fix(dav): add repair step to queue job to update rooms and resources
2025-05-29 01:07:17 +02:00
Andy Scherzinger 32612d1a12 Merge pull request #53156 from nextcloud/backport/52850/stable29
[stable29] fix(files_sharing): Show note if note exists on share
2025-05-28 16:32:05 +02:00
Stephan Orbaugh 630a34ae74 Merge pull request #53137 from nextcloud/backport/53130/stable29
[stable29] fix(blurhash): Skip generation if the previews are disabled
2025-05-28 15:01:15 +02:00
nextcloud-command 0abd711d49 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-28 10:41:15 +00:00
nfebe dac9ffa47f fix(files_sharing): Show note if note exists on share
When a share includes a note, ensure the note checkbox is checked and the note is
displayed when reopening the share sidebar.

Fixes: #52794.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-05-28 11:33:01 +01:00
Louis Chemineau 45d2cccf47 fix(blurhash): Skip generation the if previews are disabled.
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-27 12:56:07 +00:00
Robin Appelman a6251f2333 perf: improve query to determine which users need a background scan
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-27 14:40:49 +02:00
Andy Scherzinger d9fdd39181 Merge pull request #52788 from nextcloud/backport/51920/stable29
[stable29] fix: improve handling of newFolder race condition handling
2025-05-25 16:52:00 +02:00
Joas Schilling 968346a0e1 Merge pull request #53066 from nextcloud/automated/noid/stable29-update-code-signing-crl
[stable29] fix(security): Update code signing revocation list
2025-05-23 09:22:24 +02:00
nextcloud-command a864b22ea2 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-05-23 02:38:59 +00:00
Joas Schilling 96e22c6da6 Merge pull request #53016 from nextcloud/automated/noid/stable29-update-ca-cert-bundle
[stable29] fix(security): Update CA certificate bundle
2025-05-21 07:43:19 +02:00
nextcloud-command c38f048b36 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-05-21 02:37:29 +00:00
Nextcloud bot 615d53926c fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-20 00:22:49 +00:00
Joas Schilling 144f4468c9 Merge pull request #52964 from nextcloud/backport/52951/stable29
[stable29] chore: Add an autoload.php file for tests relying on core class
2025-05-19 22:34:14 +02:00
Côme Chilliet f937a00beb chore: Add an autoload.php file for tests relying on core class
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-19 15:43:54 +00:00
Nextcloud bot 7eaebe15f8 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-19 00:23:09 +00:00
Nextcloud bot aea66d3f26 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-18 00:23:04 +00:00
Nextcloud bot f9f04f1ae4 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-17 00:23:40 +00:00
Richard Steinmetz 202cc5aa6f fix(dav): add repair step to queue job to update rooms and resources
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-05-16 13:29:25 +02:00
Nextcloud bot 08b4baf5be fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-16 00:23:15 +00:00
Nextcloud bot d113f7e2c7 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-15 00:23:23 +00:00
Stephan Orbaugh b483969e8f Merge pull request #52659 from nextcloud/backport/52360/stable29
[stable29] fix(blurhash): Use preview API to generate the previews
2025-05-14 10:05:02 +02:00
Stephan Orbaugh 52f052a27f Merge pull request #52697 from nextcloud/backport/49903/stable29
[stable29] fix: restore updated encrypted version when copying versions
2025-05-14 10:04:30 +02:00
Nextcloud bot 2d21aee4ef fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-14 00:22:52 +00:00
Robin Appelman e30bd9120b fix: improve handling of newFolder race condition handling
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-13 11:59:16 +00:00
Louis Chemineau 62c2525c19 fix(blurhash): Use preview API to generate the previews
This allows to benefit from all the checks done by the preview API.

This also use the newly introduced `cacheResult` argument to limit disk usage.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-13 11:15:55 +02:00
Nextcloud bot a553ce97b4 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-13 00:23:21 +00:00
Nextcloud bot e5a1b48f8a fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-12 00:23:09 +00:00
Nextcloud bot 0dded1b1b4 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-11 00:23:05 +00:00
Nextcloud bot 6629fc029a fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-10 00:23:22 +00:00
Nextcloud bot 9aa35a1e67 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-09 00:24:09 +00:00
Robin Appelman 63e7bb6291 fix: restore updated encrypted version when copying versions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-08 18:57:27 +00:00
Nextcloud bot 0d30f66812 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-08 00:23:48 +00:00
John Molakvoæ 16fb40c79c Merge pull request #52627 from nextcloud/backport/51598/stable29 2025-05-07 11:47:05 +02:00
Andy Scherzinger 1c4dd298db Merge pull request #52651 from nextcloud/backport/52583/stable29
[stable29] fix(apps): Sort names separately from active/update state
2025-05-07 10:01:34 +02:00
nextcloud-command d7ffcc5195 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-07 09:15:53 +02:00
Kent Delante b00f9d84ad fix(apps): Sort names separately from active/update state
Signed-off-by: Kent Delante <kent.delante@proton.me>
2025-05-07 09:15:53 +02:00
Nextcloud bot 8096395f63 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-07 00:23:34 +00:00
Louis Chemineau d73b9bdcf7 feat(previews): Support in memory preview request
This allows callers to use the API without increasing the disk usage.

Example: blurhash generation, where we request a preview for all uploaded pictures, but don't want to necessarily store that preview.
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-06 12:19:06 +00:00
Stephan Orbaugh bacea74c32 Merge pull request #52646 from nextcloud/backport/52628/stable29
[stable29] fix(files_external): Mark password fields for LoginCredentials and SessionCredentials as hidden and optional
2025-05-06 13:36:32 +02:00
provokateurin f50b5a3d3a fix(files_external): Mark password fields for LoginCredentials and SessionCredentials as hidden and optional
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-06 09:51:43 +02:00
provokateurin f3b9a322c8 fix(files_external): Convert VALUE_HIDDEN to FLAG_HIDDEN to allow combining VALUE_PASSWORD and FLAG_HIDDEN
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-06 09:50:55 +02:00
Nextcloud bot 9775dfc032 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-06 00:23:50 +00:00
nextcloud-command e87a84a519 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-05-05 08:28:57 +00:00
Maksim Sukharev b8d1d0dbe1 fix(deps): lock mdast-util-gfm-autolink-literal library to exact version 2.0.0
- this reverts changes from patch update to 2.0.1, which uses 'negative lookbehind' regex and breaks in IOS & Safari versions < 16.4

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-05-05 10:20:10 +02:00
Nextcloud bot be5e45132b fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-05 00:49:43 +00:00
Nextcloud bot 34b19266ad fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-04 00:23:03 +00:00
Nextcloud bot 82312ad586 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-03 00:23:04 +00:00
Nextcloud bot 8bbf7690ae fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-02 00:23:20 +00:00
Nextcloud bot ecbcdc43e8 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-01 00:23:23 +00:00
Nextcloud bot d1a2535126 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-30 00:23:40 +00:00
F. E Noel Nfebe 8f1710c83e Merge pull request #52529 from nextcloud/backport/52526/stable29
[stable29] fix(files_sharing): Prevent create/delete permissions on file shares
2025-04-29 14:48:47 +02:00
nextcloud-command beed8ac143 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-29 12:33:36 +00:00
nfebe 45919d6ec8 fix(files_sharing): Prevent create/delete permissions on file shares
File shares can't support create or delete permissions. This change ensures those permissions are

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

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-04-29 13:26:33 +01:00
Nextcloud bot 0ccc0485d2 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-29 00:23:05 +00:00
Côme Chilliet 0e42615c02 Merge pull request #52500 from nextcloud/backport/49895/stable29
[stable29] fix: Fix copying to the root of another mountpoint
2025-04-28 14:16:56 +02:00
Côme Chilliet a1065197b5 fix: Fix copying to the root of another mountpoint
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-04-28 10:25:44 +00:00
Nextcloud bot 6de5be9af8 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-28 00:23:42 +00:00
Andy Scherzinger 5231687214 Merge pull request #52231 from nextcloud/backport/52223/stable29
[stable29] feat(security): add configurable IPv6 subnet for BFP and throttling
2025-04-27 22:47:54 +02:00
Nextcloud bot 6fcef05a3a fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-27 00:23:21 +00:00
Nextcloud bot 1c746157b4 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-26 00:23:20 +00:00
Andy Scherzinger 8b4194e253 Merge pull request #52437 from nextcloud/backport/52429/stable29
[stable29] fix(occ): Fix autocompletion of config:app:* commands
2025-04-25 16:17:19 +02:00
Joas Schilling 016f6c854b fix(occ): Fix autocompletion of config:app:* commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-25 15:11:34 +02:00
Benjamin Gaussorgues bf550f4819 feat(ip): add configurable IPv6 subnet for BFP and throttling
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-04-25 14:22:43 +02:00
Joas Schilling a461ce4e18 Merge pull request #52431 from nextcloud/backport/52424/stable29
[stable29] fix(config): Censor more app configs in system report
2025-04-25 13:59:29 +02:00
Joas Schilling 306e03b080 fix(config): Censor more app configs in system report
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-25 11:03:46 +00:00
Nextcloud bot 4c9c2c4bb2 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-25 00:23:06 +00:00
F. E Noel Nfebe 1cb6d58d12 Merge pull request #52407 from nextcloud/backport/52364/stable29
[stable29] fix(files_sharing): Improve expiration date input change handling
2025-04-24 21:39:30 +02:00
nfebe 628d7fe777 fix(files_sharing): Improve expiration date input change handling
If the time picker component is emitting a Date object already, then there is redundant call of `new Date(new Date())` and

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

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

- Ensure null and invalid dates are handled correctly in onExpirationChange

- Validate date input before updating defaultExpirationDateEnabled

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

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

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-24 18:55:31 +00:00
Andy Scherzinger 9e014490d0 Merge pull request #52413 from nextcloud/backport/51438/stable29
[stable29] perf(db): Extend index on cards_properties to cover name and value
2025-04-24 18:39:28 +02:00
Christoph Wurst 84e933fab5 perf(db): Extend index on cards_properties to cover name and value
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-04-24 11:33:44 +00:00
Nextcloud bot ea47b4d1b9 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-24 00:23:58 +00:00
Andy Scherzinger a5fb9c1e74 Merge pull request #52385 from nextcloud/backport/51994/stable29
[stable29] fix(federation): allows equal signs in federation id
2025-04-24 00:03:33 +02:00
Andy Scherzinger cdc308c308 Merge pull request #52239 from nextcloud/backport/50465/stable29
[stable29] fix: Check that user actually can validate password for js
2025-04-23 22:33:56 +02:00
Maxence Lange dc3a1997c2 fix(federation): allows equal signs in federation id
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-04-23 19:23:27 +00:00
Nextcloud bot af0013279e fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-23 00:23:18 +00:00
dependabot[bot] b4f05526f3 Merge pull request #52274 from nextcloud/dependabot/npm_and_yarn/stable29/libphonenumber-js-1.12.7 2025-04-22 07:06:20 +00:00
dependabot[bot] 45565418b2 build(deps): bump libphonenumber-js from 1.12.6 to 1.12.7
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.12.6 to 1.12.7.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/commits/master)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-22 06:48:45 +00:00
Nextcloud bot c7008d80fb fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-22 00:23:23 +00:00
Nextcloud bot 2d6a9f987a fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-21 00:23:32 +00:00
Nextcloud bot bcd3c86de6 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-20 00:23:27 +00:00
dependabot[bot] 948cd8b74b Merge pull request #52275 from nextcloud/dependabot/npm_and_yarn/stable29/types/dockerode-3.3.38 2025-04-19 02:13:21 +00:00
dependabot[bot] 51dbe84a7a build(deps-dev): bump @types/dockerode from 3.3.37 to 3.3.38
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.37 to 3.3.38.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/dockerode)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-19 01:53:35 +00:00
Nextcloud bot 497c0078fc fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-19 00:23:09 +00:00
Nextcloud bot 65f093ac06 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-18 00:23:54 +00:00
Benjamin Gaussorgues cfb6649cb5 Merge pull request #52234 from nextcloud/release/29.0.16 2025-04-17 11:26:50 +02:00
zorn-v fb9e36e6f5 Check that user actually can validate password for js
Signed-off-by: zorn-v <zorn7@yandex.ru>
2025-04-17 07:16:25 +00:00
Benjamin Gaussorgues 049004506e build(hub): 29.0.16
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-04-17 09:07:53 +02:00
Nextcloud bot 2be6f6f022 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-17 00:23:22 +00:00
Nextcloud bot c71d5f398e fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-16 00:23:41 +00:00
John Molakvoæ 34efc90089 Merge pull request #52213 from nextcloud/fix/jquery-setup 2025-04-15 17:13:21 +02:00
skjnldsv 6dc8b4c821 fix(deps): pin jquery-ui to 1.13
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-15 17:07:44 +02:00
John Molakvoæ 1826172110 Merge pull request #52204 from nextcloud/release/29.0.16_rc1 2025-04-15 17:00:48 +02:00
John Molakvoæ cd83345375 Merge pull request #52183 from nextcloud/backport/51020/stable29 2025-04-15 17:00:00 +02:00
John Molakvoæ f84f0809fe Merge pull request #52190 from nextcloud/backport/49695/stable29 2025-04-15 16:59:52 +02:00
skjnldsv f47bcd67a1 build(hub): 29.0.16 RC1
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-15 10:47:29 +02:00
Andy Scherzinger 9ba5c1b392 Merge pull request #52172 from nextcloud/artonge/backport/52121/stable29
[stable29] fix(files_sharing): Apply default password setting in SharingDetailsTab
2025-04-15 09:06:17 +02:00
John Molakvoæ 227789387b Merge pull request #51958 from nextcloud/dependabot/npm_and_yarn/stable29/dompurify-3.2.5 2025-04-15 08:54:44 +02:00
Louis Chemineau 4a520ddf90 chore: Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-15 08:03:34 +02:00
nfebe 3c2b0dc063 fix(files_sharing): Apply default password setting in SharingDetailsTab
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-04-15 08:03:34 +02:00
Nextcloud bot aea34ac3d5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-15 00:23:06 +00:00
nextcloud-command 7f2dda5316 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-14 21:02:26 +00:00
dependabot[bot] 3f856bf5a7 build(deps): bump dompurify from 3.2.4 to 3.2.5
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.2.4...3.2.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 22:57:55 +02:00
John Molakvoæ 45e1e4c18a Merge pull request #52187 from nextcloud/skjnldsv-patch-1
fix(tests): Share manager error message from #52076
2025-04-14 21:34:44 +02:00
John Molakvoæ 67c06622fa fix(tests): Share manager error message from #52076
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-04-14 20:08:02 +02:00
Robin Appelman ba1321adb9 fix: only do cache copy in updater if the parent folder should be in cache
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-04-14 15:24:11 +00:00
Louis Chemineau 2e3cffa473 fix: Transfer ownership with S3 as primary
When using S3 as primary storage, transferring ownership with the `--move` option fail with the following error:

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

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

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

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

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

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-14 14:14:58 +00:00
Andy Scherzinger 4c67fe8521 Merge pull request #52164 from nextcloud/backport/52135/stable29
[stable29] ignore missing theming app
2025-04-14 13:05:51 +02:00
Maxence Lange 958a614bcf fix(setup): ignore missing theming app
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-04-14 08:43:31 -01:00
Ferdinand Thiessen 0fdc1cc4b1 Merge pull request #52041 from nextcloud/backport/52013/stable29
[stable29] fix: Handle missing share providers when promoting reshares
2025-04-14 10:16:13 +02:00
Ferdinand Thiessen fa9edf3c77 test: adjust broken tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-14 09:39:40 +02:00
Daniel Calviño Sánchez 483305c9e4 fix: Handle missing share providers when promoting reshares
The provider for mail shares is not available when the "sharebymail" app
is disabled, and in that case a "ProviderException" is thrown when
trying to get it.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-04-14 09:39:02 +02:00
Nextcloud bot 2e04339435 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-14 00:23:18 +00:00
Nextcloud bot eb98cbedab Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-13 00:23:29 +00:00
Nextcloud bot aef23246d1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-12 00:23:30 +00:00
John Molakvoæ f2ad50ff37 Merge pull request #52076 from nextcloud/backport/52075/stable29 2025-04-11 13:40:22 +02:00
Joas Schilling 6222643b9d Merge pull request #52052 from nextcloud/backport/52019/stable29
[stable29] fix(dav): Really only run the chunk cleanup once
2025-04-11 12:35:52 +02:00
Joas Schilling 13a1721136 Merge pull request #52112 from nextcloud/automated/noid/stable29-update-code-signing-crl
[stable29] fix(security): Update code signing revocation list
2025-04-11 12:30:21 +02:00
nextcloud-command 9640363162 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-04-11 02:36:35 +00:00
Nextcloud bot 8a11421de7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-11 00:23:27 +00:00
John Molakvoæ 0209305ca5 Merge pull request #52091 from nextcloud/release/29.0.15
29.0.15
2025-04-10 15:53:07 +02:00
skjnldsv 9044d34691 build(hub): 29.0.15
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-10 15:07:32 +02:00
Nextcloud bot 6ade93e67d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-10 00:23:09 +00:00
nextcloud-command eee99580d6 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-09 15:41:35 +00:00
skjnldsv 066e3977f5 fix(files_sharing): fix share creation error handling
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-09 17:38:10 +02:00
Nextcloud bot c00d61949f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-09 00:23:50 +00:00
Joas Schilling bd62adb9e7 fix(dav): Really only run the chunk cleanup once
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-08 21:02:17 +00:00
Benjamin Gaussorgues 722ede636b Merge pull request #52016 from nextcloud/release/29.0.15_rc2
29.0.15 RC2
2025-04-08 16:20:10 +02:00
Benjamin Gaussorgues 6b006a3bb9 Merge pull request #52031 from nextcloud/backport/52015/stable29
[stable29] feat(ip): use larger IPv6 range by default
2025-04-08 13:56:38 +02:00
Benjamin Gaussorgues 92ea5fbd55 feat(ip): use larger IPv6 range by default
Some providers assign `/48` IPv6 blocks instead of `/64` so it sounds safer
to use this mask by default.

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-04-08 11:33:47 +02:00
Joas Schilling 0a3ec14f35 Merge pull request #52025 from nextcloud/automated/noid/stable29-update-code-signing-crl
[stable29] fix(security): Update code signing revocation list
2025-04-08 10:32:58 +02:00
nextcloud-command b75064fd45 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-04-08 08:27:28 +00:00
Benjamin Gaussorgues 479759f12c build(hub): 29.0.15 RC2
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-04-08 09:45:11 +02:00
Nextcloud bot 4b6d5e481b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-08 00:23:35 +00:00
Arthur Schiwon d214b2f994 Merge pull request #51990 from nextcloud/backport/51944/stable29
[stable29] fix(files_reminders): add missing import
2025-04-07 19:41:00 +02:00
Ferdinand Thiessen 599164a05a chore: adjust syntax for app manager
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-07 11:55:57 +02:00
Ferdinand Thiessen 441c9342a1 chore: lint files_reminders using psalm
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-07 09:39:03 +00:00
Ferdinand Thiessen 847633c3f5 fix(files_reminders): add l10n to constructor of setup check
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-07 09:39:03 +00:00
Ferdinand Thiessen 6e28e6ab52 fix(files_reminders): add missing import
- Resolves https://github.com/nextcloud/server/issues/51943

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-07 09:39:03 +00:00
Stephan Orbaugh f50426b014 Merge pull request #51985 from nextcloud/backport/51982/stable29
[stable29] Revert "refactor: add migration for email setting"
2025-04-07 11:11:38 +02:00
provokateurin 820090999f Revert "refactor: add migration for email setting"
This reverts commit e7859f0dac.

Signed-off-by: provokateurin <kate@provokateurin.de>
2025-04-07 10:25:35 +02:00
Joas Schilling cd763a9518 Merge pull request #51972 from nextcloud/automated/noid/stable29-update-code-signing-crl
[stable29] fix(security): Update code signing revocation list
2025-04-07 07:58:14 +02:00
nextcloud-command 956a20480e fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-04-07 02:37:09 +00:00
Nextcloud bot 05d27a445b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-07 00:23:07 +00:00
Nextcloud bot 92040d71f6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-06 00:22:44 +00:00
John Molakvoæ dc23c8e34f Merge pull request #51957 from nextcloud/dependabot/npm_and_yarn/stable29/types/dockerode-3.3.37
build(deps-dev): bump @types/dockerode from 3.3.35 to 3.3.37
2025-04-05 10:28:00 +02:00
dependabot[bot] 602d11351c build(deps-dev): bump @types/dockerode from 3.3.35 to 3.3.37
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.35 to 3.3.37.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/dockerode)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-05 01:34:35 +00:00
Nextcloud bot 2a5325964e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-05 00:22:41 +00:00
Joas Schilling 3d7ae440f0 Merge pull request #51930 from nextcloud/fix/29-template-layout
[stable29] fix: ensure enabled themes are set on the template
2025-04-04 12:22:55 +02:00
Ferdinand Thiessen 5c3bb1d91d fix: ensure enabled themes are set on the template
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-04 10:07:48 +02:00
Nextcloud bot 1526a64cce Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-04 00:23:01 +00:00
Benjamin Gaussorgues 33b181c8d7 Merge pull request #51902 from nextcloud/release/29.0.15_rc1
29.0.15 RC1
2025-04-03 21:06:03 +02:00
Benjamin Gaussorgues 1b213bb4f1 build(hub): 29.0.15 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-04-03 13:33:02 +02:00
Andy Scherzinger 4162b68821 Merge pull request #51908 from nextcloud/backport/51905/stable29
[stable29] fix(session): Only mark sessions of permanent tokens as app passwords
2025-04-03 13:03:09 +02:00
Andy Scherzinger a0d642e68f Merge pull request #51910 from nextcloud/backport/51861/stable29
[stable29] fix: Catch exceptions when expiring trashbin
2025-04-03 13:02:34 +02:00
Louis Chemineau 4279aa89c8 fix: Catch exceptions when expiring trashbin
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-03 11:41:55 +02:00
Louis Chemineau d2dbb0bbd1 chore: Use iterator in ExpireTrash command
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-03 11:41:55 +02:00
Ferdinand Thiessen c5a8fae5ff Merge pull request #51899 from nextcloud/backport/51745/stable29
[stable29] fix(settings): Handle email change restriction separately from display name change restriction
2025-04-03 11:00:54 +02:00
Andy Scherzinger ba4dc2a223 Merge pull request #51571 from nextcloud/backport/49761/stable29
[stable29] fix: skip transfering shares that we can't find
2025-04-03 10:19:39 +02:00
Christoph Wurst 91fda246b8 fix(session): Only mark sessions of permanent tokens as app passwords
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-04-03 10:17:43 +02:00
nextcloud-command a6f3d153c2 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-03 06:56:37 +00:00
Ferdinand Thiessen 3ecf8cb16e Merge pull request #51878 from nextcloud/backport/51870/stable29
[stable29] fix: Use login name to check the password
2025-04-03 08:50:34 +02:00
Ferdinand Thiessen f1e33121f3 refactor: add migration for email setting
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-03 08:49:40 +02:00
provokateurin 80204297d3 fix(settings): Handle email change restriction separately from display name change restriction
Co-authored-by: provokateurin <kate@provokateurin.de>
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Louis <louis@chmn.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-03 08:49:40 +02:00
Joas Schilling 57f485d992 Merge pull request #47529 from nextcloud/backport/47510/stable29
[stable29] fix(db): Increase log level for very slow transactions
2025-04-03 08:23:04 +02:00
Nextcloud bot a7902b0806 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-03 00:23:39 +00:00
dependabot[bot] 2499d3dea3 Merge pull request #51892 from nextcloud/dependabot/npm_and_yarn/stable29/backbone-1.6.1 2025-04-02 19:50:11 +00:00
nextcloud-command 616cfcb2c8 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-02 19:35:27 +00:00
dependabot[bot] 2ef9b4578a build(deps): bump backbone from 1.6.0 to 1.6.1
Bumps [backbone](https://github.com/jashkenas/backbone) from 1.6.0 to 1.6.1.
- [Commits](https://github.com/jashkenas/backbone/compare/1.6.0...1.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 21:31:41 +02:00
John Molakvoæ 62552e7a77 Merge pull request #51894 from nextcloud/dependabot/npm_and_yarn/stable29/cypress/webpack-preprocessor-6.0.4
build(deps-dev): bump @cypress/webpack-preprocessor from 6.0.2 to 6.0.4
2025-04-02 20:34:49 +02:00
John Molakvoæ db3a4248a6 Merge pull request #51884 from nextcloud/dependabot/npm_and_yarn/stable29/dockerode-4.0.5
build(deps-dev): bump dockerode from 4.0.4 to 4.0.5
2025-04-02 20:28:58 +02:00
dependabot[bot] 16517ca973 build(deps-dev): bump @cypress/webpack-preprocessor from 6.0.2 to 6.0.4
Bumps [@cypress/webpack-preprocessor](https://github.com/cypress-io/cypress) from 6.0.2 to 6.0.4.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/@cypress/webpack-preprocessor-v6.0.2...@cypress/webpack-preprocessor-v6.0.4)

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 18:11:00 +00:00
John Molakvoæ 0b6a95560f Merge pull request #51638 from nextcloud/dependabot/npm_and_yarn/stable29/nextcloud/upload-1.9.1
build(deps): bump @nextcloud/upload from 1.9.0 to 1.9.1
2025-04-02 20:07:58 +02:00
nextcloud-command b93573fd12 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-02 17:47:01 +00:00
dependabot[bot] c498f423c1 build(deps): bump @nextcloud/upload from 1.9.0 to 1.9.1
Bumps [@nextcloud/upload](https://github.com/nextcloud-libraries/nextcloud-upload) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-upload/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-upload/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-upload/compare/v1.9.0...v1.9.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 19:31:22 +02:00
Louis Chemineau 891b7bc361 fix: Use login name to check the password
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-02 17:20:53 +00:00
Andy Scherzinger e1d98a1d5c Merge pull request #51867 from nextcloud/backport/51866/stable29
[stable29] fix: use proper migration sorting when checking if a migration needs to be executed
2025-04-02 18:32:46 +02:00
Christoph Wurst 231373106b fix(db): Increase log level for very slow transactions
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-04-02 18:06:24 +02:00
John Molakvoæ efc307ffe6 Merge pull request #51873 from nextcloud/backport/51863/stable29
[stable29] fix(files): right click actions menu flicker
2025-04-02 17:36:24 +02:00
nextcloud-command 28102d37a3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-02 14:48:50 +00:00
skjnldsv 41461fe1e5 fix(files): right click actions menu flicker
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-02 16:44:02 +02:00
Richard Steinmetz 1d9931cef9 Merge pull request #50902 from nextcloud/backport/50858/stable29
[stable29] fix(oauth2): retain support for legacy ownCloud clients
2025-04-02 15:56:48 +02:00
Robin Appelman 494bd7549b fix: use proper migration sorting when checking if a migration needs to be executed
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-04-02 12:52:25 +00:00
Ferdinand Thiessen abcf1e4058 Merge pull request #51580 from nextcloud/backport/51250/stable29
[stable29] fix: pass hide download attribute while creating the share to fix github issue 50788
2025-04-02 14:37:55 +02:00
Joas Schilling 1245912e24 Merge pull request #50030 from nextcloud/backport/50026/stable29
[stable29] fix(logger): Prevent infinite recursion with log.condition => users or matches
2025-04-02 14:18:37 +02:00
Joas Schilling 150ab15a83 fix(logger): Prevent infinite recursion with log.condition => matches
When we need to check the log condition for a user matches,
there is a risk that something on the way checks the log level
and would result in an infinite loop.
So we simply check if it's a nested call and use the default
warning level in that case.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-02 13:48:18 +02:00
nextcloud-command 4676b75e60 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-02 11:19:47 +00:00
Ferdinand Thiessen e1f94d0f67 test: add cypress tests for sharing download permission
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-02 13:16:10 +02:00
Ferdinand Thiessen b3d93b44c9 fix(files_sharing): make sure IDs are unique for HTML elements
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-02 13:16:05 +02:00
Ferdinand Thiessen 0f58178e4d fix(files_sharing): ugly hacks to update permissions on share creation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-02 13:15:59 +02:00
yemkareems beb538f9f2 fix: pass hide download attribute while creating the share to fix github issue 50788
Signed-off-by: yemkareems <yemkareems@gmail.com>
2025-04-02 13:15:28 +02:00
Richard Steinmetz a34029b9dc fix(oauth2): retain support for legacy ownCloud clients
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-04-02 10:28:21 +02:00
Nextcloud bot 9505010d89 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-02 00:23:33 +00:00
Andy Scherzinger e7d5e80767 Merge pull request #51841 from nextcloud/backport/51760/stable29
[stable29] fix(files_reminders): Lower disabled notifications app error to info
2025-04-01 18:42:55 +02:00
Louis Chemineau 827eda699f fix(files_reminder): Replace error log by setup check
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-01 15:08:57 +00:00
Louis Chemineau 0e5044701b fix(files_reminders): Lower disabled notifications app error to info
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-01 15:08:57 +00:00
Louis 131ccd0dff Merge pull request #51834 from nextcloud/backport/46418/stable29
[stable29] fix(users): Improve error handling of some fields update
2025-04-01 15:26:03 +02:00
Ferdinand Thiessen dc029ae4f3 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-01 15:09:40 +02:00
Louis Chemineau e0a5f558ee fix(users): Improve error handling of some fields update
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-01 15:00:15 +02:00
Andy Scherzinger 277a7ee2a1 Merge pull request #50471 from nextcloud/backport/48581/stable29
[stable29] fix: Filter for folders in cleanup old preview job
2025-04-01 13:22:27 +02:00
Dario Mehlich b540da607e fix(preview): Filter for folders in cleanup old preview job
Fixes #35936.
When running `OC\Preview\BackgroundCleanupJob`, the main iteration loop
in `run()` expects a folder, however, `getOldPreviewLocations()`
currently does not filter by mimetype and therefore can yield a
non-folder entry which causes an Exception when constructing the Folder
impl.
Filtering for `httpd/unix-directory`, as `getNewPreviewLocations()`
already does, fixes this issue.

Signed-off-by: Dario Mehlich <d.mehlich@gmail.com>
2025-04-01 11:05:14 +02:00
Andy Scherzinger 9d27ee5485 Merge pull request #51374 from nextcloud/backport/51108/stable29
[stable29] Fix disabled user list for SAML group subadmin
2025-04-01 10:58:32 +02:00
John Molakvoæ b6f8b51bbe Merge pull request #51811 from nextcloud/backport/51750/stable29
[stable29] fix(dav): Give proper HTTP status code on MKCOL when quota exceeded
2025-04-01 10:36:40 +02:00
Nextcloud bot 456fdacbe5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-01 00:23:36 +00:00
Ferdinand Thiessen 142be78447 Merge pull request #51557 from nextcloud/fix/backport-gridview-29
[stable29] fix(files_sharing): ensure share status action works also in grid view
2025-03-31 20:13:38 +02:00
Ferdinand Thiessen 723190587b chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-31 18:51:20 +02:00
Ferdinand Thiessen 97098766bb fix: Access node owner by top level owner property
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-31 18:35:16 +02:00
Andy Scherzinger d5f8a33be5 Merge pull request #51819 from nextcloud/backport/51807/stable29
[stable29] feat: Limit `ExpireTrash` job to 30 minutes
2025-03-31 18:30:38 +02:00
Louis Chemineau 0672cee868 feat: Limit trash expire job to 30 minutes
And pick up where it left off, leveraging getSeenUsers.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-31 17:19:43 +02:00
Louis Chemineau 575cb92bbb chore: Refactor callForSeenUsers to use getSeenUsers
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-31 17:19:43 +02:00
Louis Chemineau 0aa31997ed feat: Implement getSeenUsers to iterate over users
This method uses an iterator.
This is lighter on resources and gives more control to the caller

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-31 17:19:43 +02:00
Ferdinand Thiessen a7fcd2428e fix(files_sharing): ensure share status action works also in grid view
Remove some hacks from files app about the *files_sharing* status
action, in general not sure why this hack was there instead of being in
the correct app - but it broke the grid view.

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

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

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-31 16:33:47 +02:00
Robin Appelman d58d2b9035 fix: skip transfering shares that we can't find
Signed-off-by: Robin Appelman <robin@icewind.nl>

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-03-31 16:28:25 +02:00
Côme Chilliet 0710cfb800 chore: Move magic number into a documented const
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-31 15:42:29 +02:00
Côme Chilliet 874dcbf8df chore: Remove now unused methods from User manager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-31 15:42:23 +02:00
Côme Chilliet 19b35587b5 fix: Correctly count disabled users for SAML groups subadmins
If too many users return -1 as for LDAP so that link is shown

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-31 15:42:18 +02:00
Marcel Klehr 272772f3c1 fix(QuotaPlugin): Change InsufficientStorage exception message for directories
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-03-31 15:08:57 +02:00
Marcel Klehr 9903a7fa99 fix(dav): Give proper HTTP status code on MKCOL when quota exceeded
Signed-off-by: Marcel Klehr <mklehr@gmx.net>

[skip ci]
2025-03-31 11:46:28 +00:00
Kate 95c22db4d5 Merge pull request #51528 from nextcloud/backport/51389/stable29
[stable29] fix: skip caching lastSeenQuotaUsage for remote shares
2025-03-31 10:47:07 +02:00
Nextcloud bot 5990b9098f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-31 00:23:51 +00:00
Andy Scherzinger 1e61dd3f44 Merge pull request #51496 from nextcloud/dependabot/npm_and_yarn/stable29/libphonenumber-js-1.12.6
build(deps): bump libphonenumber-js from 1.12.5 to 1.12.6
2025-03-30 18:42:10 +02:00
Kate c371a7db18 Merge pull request #51232 from nextcloud/backport/51073/stable29
[stable29] feat: log query for dbal exceptions
2025-03-30 17:57:55 +02:00
nextcloud-command c3f340688e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-30 15:49:41 +00:00
dependabot[bot] 8cb91b3de2 build(deps): bump libphonenumber-js from 1.12.5 to 1.12.6
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.12.5 to 1.12.6.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.12.5...v1.12.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-30 15:44:43 +00:00
Robin Appelman 5a32ddce3b feat: log query for dbal exceptions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-03-30 17:40:58 +02:00
Nextcloud bot 126843a2c8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-30 12:37:16 +00:00
Andy Scherzinger 4af7de9c97 Merge pull request #51664 from nextcloud/backport/51644/stable29
[stable29] fix(user): Some strings not being translated
2025-03-30 13:59:29 +02:00
nextcloud-command 513a307f7b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-30 11:25:12 +00:00
Git'Fellow 87468ee7c2 fix(user): Some strings not being translated
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-03-30 13:20:06 +02:00
Nextcloud bot 2de1a2f27e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-30 00:23:47 +00:00
Andy Scherzinger 7b08373995 Merge pull request #51788 from nextcloud/dependabot/npm_and_yarn/stable29/moment-timezone-0.5.48
chore(deps): bump moment-timezone from 0.5.47 to 0.5.48
2025-03-29 12:14:12 +01:00
nextcloud-command 47a879ca07 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-29 10:58:47 +00:00
dependabot[bot] f02cc342ed chore(deps): bump moment-timezone from 0.5.47 to 0.5.48
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.47 to 0.5.48.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.47...0.5.48)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-29 02:38:10 +00:00
Nextcloud bot 9b9954eff9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-29 00:23:19 +00:00
Julius Knorr dc82454c41 Merge pull request #51710 from nextcloud/backport/51707/stable29
[stable29] fix: filter out contacts with empty email addresses in sharee completion
2025-03-28 16:22:12 +01:00
Kate 3cd926a2b9 Merge pull request #51314 from nextcloud/backport/51144/stable29
[stable29] fix(dav): Create SAB at installation
2025-03-28 16:18:08 +01:00
Andy Scherzinger fca998ff01 Merge pull request #51328 from nextcloud/backport/51130/stable29
[stable29] fix: Do not build encrypted password if there is none
2025-03-28 16:11:32 +01:00
Julius Knorr a9d2ac3472 fix: Do not build encrypted password if there is none
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-03-28 15:16:34 +01:00
Christoph Wurst 715d7117e9 fix(dav): Create SAB at installation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-03-28 15:15:42 +01:00
Daniel Kesselberg 6d8c463c34 fix: skip caching lastSeenQuotaUsage for remote shares
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-03-28 15:14:17 +01:00
Julius Knorr fc7ac7b136 test: Adapt tests to properly use valid email addresses
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-03-28 14:55:10 +01:00
Kate a68978b5ba Merge pull request #51776 from nextcloud/backport/47474/stable29
[stable29] fix(cs-fixer): Correctly ignore files ignored by git
2025-03-28 14:34:49 +01:00
Kate 825c552dba Merge pull request #51746 from nextcloud/backport/51744/stable29
[stable29] fix(files_versions): Rely on server mime fallback icons
2025-03-28 12:38:20 +01:00
nextcloud-command 0ee26ae896 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-28 12:16:42 +01:00
provokateurin 4d9cbee372 fix(files_versions): Rely on server mime fallback icons
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-28 12:16:42 +01:00
provokateurin b5bf32a109 feat(files_versions): Implement preview mime icon fallback
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-28 12:16:42 +01:00
provokateurin 4a2b012230 fix(files_versions): Cache previews
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-28 12:16:42 +01:00
provokateurin cd19fe6a7c fix(cs-fixer): Correctly ignore files ignored by git
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-28 11:03:03 +00:00
Julius Knorr 9edeec2f4e fix: filter out contacts with invalid email addresses in sharee completion
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-03-28 01:29:29 +01:00
Nextcloud bot c6874f8c55 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-28 00:23:50 +00:00
Kate efe6d974f1 Merge pull request #51716 from nextcloud/backport/51433/stable29
[stable29] fix(GenerateBlurhashMetadata): Suppress imagescale errors
2025-03-27 23:47:28 +01:00
Ferdinand Thiessen 974bf1c4e3 Merge pull request #50121 from nextcloud/backport/50076/stable29
[stable29] fix: Apply enforce theme config for anonymous users as well
2025-03-27 12:15:12 +01:00
Kate 909e7b47c2 Merge pull request #51613 from nextcloud/backport/50542/stable29
[stable29] fix(files_sharing): skip expiration notify for invalid share record
2025-03-27 11:51:36 +01:00
Luka Trovic 8068ee8b85 fix(files_sharing): skip expiration notify for invalid share record
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2025-03-27 11:23:30 +01:00
Ferdinand Thiessen d60d72d808 fix(theming): enforce theme also for login
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-27 11:11:59 +01:00
Kostiantyn Miakshyn 6b0d3b67c1 fix: Apply enforce theme config for anonymous users as well
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
2025-03-27 10:57:08 +01:00
Pytal 21526501d3 Merge pull request #51740 from nextcloud/backport/51737/stable29
[stable29] fix(files_reminders): Fix reminder actions being displayed on invalid nodes
2025-03-27 01:55:44 -07:00
Nextcloud bot 0e8be44497 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-27 00:24:24 +00:00
nextcloud-command ed5e79644c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-26 19:02:01 +00:00
Christopher Ng 99bba9f507 fix(files_reminders): Fix reminder actions being displayed on invalid nodes
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-26 11:52:20 -07:00
Ferdinand Thiessen 43cac4dfe1 Merge pull request #51721 from nextcloud/backport/51705/stable29
[stable29] fix(files_versions): correctly show version author also for shared files
2025-03-26 11:00:53 +01:00
nextcloud-command 7c0aed5128 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-26 09:24:53 +00:00
Ferdinand Thiessen ecfe02db47 fix(files_versions): correctly show version author also for shared files
The users endpoint is not available for other users if the current user
has no admin privileges, so instead use the displaynames endpoint.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-26 10:21:19 +01:00
umgfoin 64587d67fb fix(GenerateBlurhashMetadata): Suppress imagescale errors
Suppress errors in imagescale during file-scans:
Most of these errors are caused by out of range x/y-dims.

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

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

Signed-off-by: umgfoin <umgfoin@users.noreply.github.com>
2025-03-26 09:02:19 +00:00
Nextcloud bot ec4187c745 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-26 00:23:03 +00:00
F. E Noel Nfebe a99e807e03 Merge pull request #51701 from nextcloud/backport/51697/stable29
[stable29] fix(login): Improve CSRF error message for better user understanding
2025-03-25 16:31:11 +01:00
nextcloud-command 3455349739 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-25 15:17:15 +00:00
nfebe 2121163952 fix(login): Improve CSRF error message for better user understanding
This commit changes the CSRF error message displayed in the login form to
provide more specific information to the user. Instead of the generic less helpful error.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-03-25 14:49:44 +00:00
Kate 2b648495b1 Merge pull request #51670 from nextcloud/backport/51668/stable29
[stable29] fix(provisioning_api): Pass on translated hint if password change fails
2025-03-25 10:59:26 +01:00
Nextcloud bot 952361a064 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-25 00:23:02 +00:00
provokateurin 767da99d1d fix(provisioning_api): Pass on translated hint if password change fails
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-24 15:06:10 +00:00
max-nextcloud cd91e09aea Merge pull request #51305 from nextcloud/backport/50691/stable29
[stable29] Add LDAP test settings command
2025-03-24 15:06:28 +01:00
Max b4f57d2fe6 chore(psalm): update baseline
Signed-off-by: Max <max@nextcloud.com>
2025-03-24 14:34:25 +01:00
Stephan Orbaugh 8f59686329 Merge pull request #51386 from nextcloud/backport/51364/stable29
[stable29] fix(files_external): Stop building path twice when checking if file exists on case insensitive SMB storage
2025-03-24 14:25:57 +01:00
Côme Chilliet 9cf3d2433b feat(user_ldap): Add a --clearcache option to ldap:test-user-settings
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
2025-03-24 14:10:05 +01:00
Côme Chilliet 39a1cda8b9 fix(user_ldap): Remove redundant if check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-24 14:08:59 +01:00
Côme Chilliet f9bb4a7d23 feat(user_ldap): Add command test-user-settings to test LDAP user settings
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-24 14:08:58 +01:00
Côme Chilliet 96cb85efdb feat(user_ldap): upstream common code into Proxy class and add public getters for backends
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-24 14:08:45 +01:00
max-nextcloud 81b46f3fc8 Merge pull request #51255 from nextcloud/backport/50778/stable29
[stable29] fix(user_ldap): Avoid extra LDAP request when mapping a user for the first time
2025-03-24 13:46:00 +01:00
Ferdinand Thiessen b1247627d6 Merge pull request #51470 from nextcloud/backport/46307/stable29
[stable29] feat(files): Refresh grid view layout
2025-03-24 12:45:47 +01:00
Ferdinand Thiessen 0362aba756 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-24 12:11:37 +01:00
Ferdinand Thiessen ad31976d47 fix(files): Ensure actions never overflow filename
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-24 12:09:02 +01:00
Louis Chemineau e19e6b720e fix(files): Grid view virtual scrolling computations
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-24 12:09:02 +01:00
Louis Chemineau 35a00d46cd fix(files): Reduce preview size in grid view mode
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-24 12:09:02 +01:00
Louis Chemineau 7f134dc493 fix(files): Add rounded corners back in grid view
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-24 12:09:02 +01:00
Louis Chemineau 39ea9a9a51 fix(files): Correctly center the checkbox's background in grid view
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-24 12:09:02 +01:00
Louis Chemineau d40463641e feat(files): Refresh grid view layout
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-24 12:09:01 +01:00
Louis Chemineau 01cd1e0c36 feat(files): Display mtime in grid view
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-24 12:09:01 +01:00
Max 2e4bb5661f chore(psalm): update baseline
Signed-off-by: Max <max@nextcloud.com>
2025-03-24 10:45:21 +01:00
Côme Chilliet 5c0011aaad fix(user_ldap): Improve typing and fix a var name
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-24 10:45:21 +01:00
Côme Chilliet f46cd7aaab fix: Fix newly spotted psalm issues, add exhaustive typed magic properties for LDAP classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-24 10:45:21 +01:00
Côme Chilliet 728957cd23 chore: composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-24 10:45:21 +01:00
Côme Chilliet c6cd12c5e4 fix(user_ldap): Fix user_ldap tests by mocking new method exists in manager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-24 10:45:21 +01:00
Côme Chilliet 34134c1a77 fix(user_ldap): Lowercase value for all attributes in configuration
Avoid surprises by making sure these are lowercased apart from
 documented special case user displayname.

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

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-24 10:45:21 +01:00
Nextcloud bot cb3da3d3b3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-24 00:23:24 +00:00
Nextcloud bot 08e999c926 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-23 00:23:09 +00:00
Andy Scherzinger 9ebf0248d0 Merge pull request #51509 from nextcloud/backport/51477/stable29
[stable29] fix(profile): allow to unset phone number
2025-03-22 18:23:16 +01:00
nextcloud-command 78a47c32a0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-22 16:50:36 +00:00
Ferdinand Thiessen d2ed25d862 fix(profile): allow to reset phone number
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-22 17:47:09 +01:00
Sebastian Krupinski 81415212a0 Merge pull request #51324 from nextcloud/backport/51216/stable29
[stable29] fix: remote account activity translation
2025-03-22 13:15:59 +00:00
SebastianKrupinski 0d6803f0d7 fix:remote account activity translation
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-03-22 08:17:03 -04:00
Nextcloud bot 9bc0777f80 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-22 00:22:21 +00:00
Hamza c896c5f32c Merge pull request #51537 from nextcloud/backport/51380/stable29
[stable29] fix(cardav): only show users from enabled addressBooks in contacts menu
2025-03-21 16:09:52 +01:00
Hamza Mahjoubi 408c4bf680 fix(cardav): only show useres from enabled addressBooks in contacts menu
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2025-03-21 14:57:56 +01:00
Nextcloud bot 6a4e973fd6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-21 00:45:55 +00:00
Ferdinand Thiessen ebefd605d7 Merge pull request #51599 from nextcloud/fix/stable29-header-title
[stable29] fix(css): ensure header title is readable with dark background
2025-03-21 01:02:17 +01:00
Ferdinand Thiessen af55ec81fd fix(css): ensure header title is readable with dark background
To reproduce:
1. set background image to a very dark one
2. set primary color to white
3. this causes primary text color to be black
4. see black text on black background image

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-20 15:29:16 +01:00
Nextcloud bot 5a0b1a3f90 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-20 00:23:46 +00:00
Git'Fellow 1630e03ccf Merge pull request #51534 from nextcloud/backport/51333/stable29
[stable29] fix(files): Make sure file pointer exists
2025-03-20 00:06:09 +01:00
Julius Knorr 56ee6bd012 Merge pull request #51559 from nextcloud/backport/50663/stable29
[stable29] enh: improve occ file:transfer-ownership logging
2025-03-19 23:43:54 +01:00
Git'Fellow 52669438a6 fix(files): Make sure file pointer exists
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-03-19 23:25:14 +01:00
grnd-alt 7d6af95564 feat: improve occ file:transfer-ownership logging
Signed-off-by: grnd-alt <github@belakkaf.net>
2025-03-19 22:54:17 +01:00
Andy Scherzinger fed573ad35 Merge pull request #51590 from nextcloud/artonge/fix/systemtag_rendering
[stable29] fix(systemtags): support new attribute parsing of webdav props
2025-03-19 22:44:10 +01:00
Louis Chemineau 6794c731d7 fix(systemtags): support new attribute parsing of webdav props
Manual backport of https://github.com/nextcloud/server/pull/50970/commits/da3377075243f21e650c902cb8a5a78d08b5714e

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-19 22:24:14 +01:00
Andy Scherzinger 53fbf44b60 Merge pull request #51208 from nextcloud/backport/51146/stable29
[stable29] fix(files_trashbin): disable bulk download for trashbin
2025-03-19 22:21:18 +01:00
Ferdinand Thiessen bec567164e test(cypress): adjust files-renaming
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-19 18:58:38 +01:00
nextcloud-command 2b03f79512 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-19 18:02:57 +01:00
Ferdinand Thiessen c5ad89a9a2 test(cypress): wait for button to be visible
Instead of just expecting the button in the DOM.
This causes flaky tests with files-renaming.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-19 18:02:56 +01:00
Ferdinand Thiessen 888726111b test: fix CI when running Karma tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-19 18:02:17 +01:00
Ferdinand Thiessen d417f41115 fix(files_trashbin): disable bulk download for trashbin
The backend does not allow bulk download within the trashbin,
so we need to disable this also on the frontend.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-19 18:02:17 +01:00
Arthur Schiwon d74bb25a20 Merge pull request #51577 from nextcloud/release/29.0.14
29.0.14
2025-03-19 15:18:26 +01:00
Arthur Schiwon 9383779006 build(hub): 29.0.14
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-03-19 11:41:51 +01:00
Nextcloud bot 3c30c1060f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-19 00:23:07 +00:00
Benjamin Gaussorgues 6f2af5179b Merge pull request #51550 from nextcloud/release/29.0.14_rc1
29.0.14 RC1
2025-03-18 11:47:52 +01:00
Joas Schilling 5908167c0f Merge pull request #51547 from nextcloud/backport/51544/stable29
[stable29] fix(auth): Allow 2FA challenges for Ephemeral sessions
2025-03-18 11:47:09 +01:00
Benjamin Gaussorgues 1dac969333 build(hub): 29.0.14 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-03-18 10:19:35 +01:00
Joas Schilling 1b7b66e3af fix(auth): Allow 2FA challenges for Ephemeral sessions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-18 09:16:33 +00:00
Nextcloud bot 3fb8933128 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-18 00:24:15 +00:00
Joas Schilling 1b757f8cff Merge pull request #51369 from nextcloud/backport/51361/stable29
[stable29] fix(base.php): Correct order for booting \OC\Server
2025-03-17 21:12:11 +01:00
Joas Schilling 9cb334c656 Merge pull request #51517 from nextcloud/ci/noid/3rdparty-29
[stable29] ci: Update 3rdparty actions
2025-03-17 12:21:30 +01:00
Joas Schilling 311e1d94d5 ci: Update 3rdparty actions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-17 11:34:56 +01:00
Nextcloud bot 7222fba6aa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-17 00:23:08 +00:00
Nextcloud bot 974b5e33c6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-16 00:24:03 +00:00
Nextcloud bot 00810b8f6e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-15 00:23:55 +00:00
Nextcloud bot 248c5db8b5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-14 00:23:41 +00:00
Ferdinand Thiessen 064bd7f8ca Merge pull request #51435 from nextcloud/backport/51434/stable29
[stable29] fix(mime-types): adjust compiled mime types and sign
2025-03-13 22:15:08 +01:00
Ferdinand Thiessen b8c34bbbb3 fix(mime-types): adjust compiled mime types and sign
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-13 21:30:14 +01:00
Arthur Schiwon dab944fd6a Merge pull request #51462 from nextcloud/release/29.0.13
29.0.13
2025-03-13 16:49:20 +01:00
Arthur Schiwon 55c8c4d7c9 build(hub): 29.0.13
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-03-13 14:39:06 +01:00
Nextcloud bot e727348928 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-13 00:23:26 +00:00
Arthur Schiwon 257e2aaad0 Merge pull request #51430 from nextcloud/release/29.0.13_rc2
29.0.13 RC2
2025-03-12 14:46:10 +01:00
Arthur Schiwon a7e7654c9d build(hub): 29.0.13 RC2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-03-12 11:53:18 +01:00
John Molakvoæ 241fcb0f32 Merge pull request #51415 from nextcloud/backport/51384/stable29
[stable29] fix(lookup-server): Only flag new users for lookup update / delete
2025-03-12 11:14:47 +01:00
John Molakvoæ d92903c7e1 Merge pull request #51414 from nextcloud/backport/51405/stable29
[stable29] fix(mimetypes): drop `tar.gz` and `tar.bz2` and adjust `tgz`
2025-03-12 09:26:13 +01:00
Ferdinand Thiessen cc9e3a9872 fix(lookup-server): Only flag new users for lookup update / delete
If the flag was already set then we do not need to overwrite it.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-12 08:03:39 +00:00
Ferdinand Thiessen c44656aa0a fix(mimetypes): drop tar.gz and tar.bz2 and adjust tgz
1. mimetypes with a dot do not work with our mime detector (only checks
   last dot).
2. all of those files are tar files compressed as gzip / bzip2 so the
   real mimetype of the file is the compression not the tar.

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

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-12 07:57:12 +00:00
John Molakvoæ 5a27942497 Merge pull request #51411 from nextcloud/backport/51229/stable29
[stable29] fix(lookup_server_connector): correctly handle account properties
2025-03-12 08:51:25 +01:00
AbangTor 10a87bbda5 fix(lookup_server_connector): fixed publishing of user properties to lookup-server
Fix of the bug in the lookup_server_connector module to publish public user information to the lookup-server.
As described in issue [#25290](https://github.com/nextcloud/server/issues/25290)

Signed-off-by: AbangTor <63029179+abangtor@users.noreply.github.com>
2025-03-12 07:26:04 +00:00
Nextcloud bot defbdf26da Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-12 00:23:41 +00:00
Andy Scherzinger 53d3903860 Merge pull request #51392 from nextcloud/backport/51320/stable29
[stable29] fix(external_storage): fix settings save
2025-03-12 00:56:07 +01:00
nextcloud-command 0fa6a28bda chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-12 00:27:41 +01:00
skjnldsv beb52edec4 fix(external_storage): fix settings save
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-12 00:27:41 +01:00
Andy Scherzinger 703c60d2cd Merge pull request #51407 from nextcloud/backport/51404/stable29
[stable29] fix(lookup-server): disable when not using global scale
2025-03-11 23:41:01 +01:00
Ferdinand Thiessen 21bbb61a70 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-11 21:59:32 +01:00
Ferdinand Thiessen 92c48d0394 fix(lookup-server): disable lookup server for non-global scale setups
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-11 21:58:09 +01:00
Ferdinand Thiessen e674631f9b fix(lookup-server): do not query data by default
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-11 21:56:45 +01:00
Ferdinand Thiessen 4ec1edb890 fix(lookup-server): do not upload data by default
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-11 21:56:25 +01:00
provokateurin f45c636e49 fix(files_external): Stop building path twice when checking if file exists on case insensitive SMB storage
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-11 10:45:14 +00:00
Nextcloud bot afeda70a8d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-11 00:23:21 +00:00
Joas Schilling 469e80cd32 fix(base.php): Correct order for booting \OC\Server
A recent change had broken authentication with an older
FastCGI Apache2 module, because the IRequest object got
initialised before the fix from self::handleAuthHeaders()
copied the authentication headers into the correct $_SERVER
variables.
Since this part is completely independent from any Nextcloud
code it is now done as a first thing within the init() call.

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

Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-10 11:32:07 +00:00
Nextcloud bot ac0114bfd0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-10 00:23:16 +00:00
Nextcloud bot 151f4ce40b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-09 00:23:34 +00:00
Nextcloud bot 41dbdcc94c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-08 00:22:40 +00:00
Nextcloud bot 80d3ccc669 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-07 00:23:56 +00:00
John Molakvoæ e4c29f7094 Merge pull request #51242 from nextcloud/release/29.0.13_rc1
29.0.13 RC1
2025-03-06 18:31:47 +01:00
John Molakvoæ 47290e5c72 Merge pull request #51260 from nextcloud/skjnldsbot/dep-upload-stable29
[stable29] chore(deps): update `@nextcloud/upload` to 1.9.0
2025-03-06 18:30:39 +01:00
skjnldsv 17470d8986 chore(assets): recompile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-06 15:55:03 +00:00
skjnldsv 86a25c84d8 fix(cypress): rename select all clear
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-06 16:32:45 +01:00
skjnldsv 21554daed2 fix(webpack): missing process
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-06 16:32:45 +01:00
Ferdinand Thiessen de0edc5963 fix(files_sharing): Map sharee information for shared-by-you view
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-06 16:32:44 +01:00
skjnldsv 48a643f8c1 fix: update babel and fix karma
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-06 16:32:44 +01:00
skjnldsv 2b740665ec chore(deps): update @nextcloud/l10n and @nextcloud/webpack-vue-config
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-06 16:30:59 +01:00
skjnldsv 36e613c970 chore(deps): update @nextcloud/vue to 8.23.1
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-06 16:30:59 +01:00
skjnldsv 2efa4d6d85 chore(deps): update @nextcloud/upload to 1.9.0
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-06 16:30:59 +01:00
John Molakvoæ d1bdd95913 Merge pull request #51284 from nextcloud/backport/51281/stable29
[stable29] fix(test): Add missing data-cy attribute for file actions
2025-03-06 16:21:12 +01:00
Louis Chemineau 9730f8634b test: Improve stability of live photo e2ee tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-06 11:27:28 +01:00
Louis Chemineau ad5aa6c631 fix(test): Escape quotes in runOccCommand argument
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-06 10:26:42 +01:00
Louis Chemineau 4e65026d2f chore(tests): Fix using save/restore state in cypress
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-06 10:26:40 +01:00
Louis Chemineau e9cfb87c98 test: Expose set and getVariable in Cypress tests
Partial cherry pick of 4a90d5328

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-06 10:24:53 +01:00
Louis Chemineau 98d9442c08 fix(test): Add missing data-cy attribute for file actions
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-06 09:47:17 +01:00
Nextcloud bot 1fb32295ce Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-06 08:26:39 +00:00
Nextcloud bot e0c0939386 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-06 00:23:56 +00:00
Andy Scherzinger a76595bbb3 Merge pull request #51286 from nextcloud/backport/51285/stable29
[stable29] fix(translation): Fix string concatenation in LDAP endpoint
2025-03-05 20:51:37 +01:00
Andy Scherzinger d1951abe37 Merge pull request #51293 from nextcloud/backport/51280/stable29
[stable29] fix(login): Properly target public page with attribute
2025-03-05 19:13:39 +01:00
Louis Chemineau 3f2dddd882 fix(login): Properly target public page with attribute
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-05 16:59:52 +00:00
Andy Scherzinger 07b1313061 Merge pull request #51253 from nextcloud/backport/50989/stable29
[stable29] fix: Use case insensitive check when validating login name
2025-03-05 17:48:48 +01:00
nextcloud-command 4de51f34d4 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-05 16:35:14 +00:00
Joas Schilling 847963e72e fix(l10n): Fix leading spaces and unicode single quotes
Signed-off-by: Joas Schilling <coding@schilljs.com>

[skip ci]
2025-03-05 17:13:53 +01:00
Joas Schilling 79352a92d4 fix(translation): Fix string concatenation in LDAP endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-05 15:53:25 +00:00
Joas Schilling 40f669f1ea Merge pull request #51278 from nextcloud/backport/51259/stable29
[stable29] fix(files): Don't do session related work in the constructor of the View
2025-03-05 16:16:42 +01:00
Joas Schilling 86acf7876c Merge pull request #51271 from nextcloud/backport/51256/stable29
[stable29] fix(dav): Handle long absence status earlier
2025-03-05 15:56:41 +01:00
Christoph Wurst dec37597e4 fix(dav): Handle long absence status earlier
Validate the request early. Don't let this cause a database error.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-03-05 13:20:57 +01:00
Marcel Müller 76c1bbf48b fix: No IFactory in constructor
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-03-05 11:41:20 +00:00
Joas Schilling df1f3c1768 fix(files): Don't do session related work in the constructor of the View
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-05 11:41:20 +00:00
Cleopatra Enjeck M. 3f1c70bad3 fix: use mb_strtolower to convert login name
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-05 06:20:53 +00:00
Cleopatra Enjeck M. 9db02f2612 fix: Improve string comparison
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-05 06:20:53 +00:00
Cleopatra Enjeck M. a98f37bc89 fix: Use case insensitive check when validating login name
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-05 06:20:53 +00:00
Nextcloud bot 40d5dcbd30 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-05 00:23:05 +00:00
Arthur Schiwon 0119551732 build(hub): 29.0.13 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-03-04 19:15:07 +01:00
Kate 6860b5bbbe Merge pull request #50924 from nextcloud/backport/50922/stable29
[stable29] fix(files_sharing): Also list deleted team shares
2025-03-04 14:38:25 +01:00
Louis e906134afe Merge pull request #51060 from nextcloud/backport/51050/stable29
[stable29] fix: Report duplicated extra files in integrity check
2025-03-04 13:40:11 +01:00
Stephan Orbaugh d8040d7d7f Merge pull request #51201 from nextcloud/backport/51194/stable29
[stable29] refactor(TempManager): Simplify and unify implementations and remove legacy behavior
2025-03-04 10:20:18 +01:00
Stephan Orbaugh 04ae493e0f Merge pull request #51204 from nextcloud/backport/51000/stable29
[stable29] fix(FederatedShareProvider): Delete external shares when groups are deleted or users removed from a group
2025-03-04 10:19:45 +01:00
John Molakvoæ 7a4db4b157 Merge pull request #50703 from nextcloud/backport/50660/stable29
[stable29] fix: make sure we process mime extensions as string
2025-03-04 10:00:54 +01:00
John Molakvoæ ed720978bc fix: psalm and OCP @since declarations
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-03-04 09:30:42 +01:00
skjnldsv 1672a357bd fix: make sure we process mime extensions as string
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-04 09:29:12 +01:00
provokateurin dcf716242a fix(FederatedShareProvider): Delete external shares when groups are deleted or users removed from a group
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 08:01:03 +01:00
provokateurin b51aad472c fix(Share20\Manager): Propagate user and group deletion to remote share providers
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 08:01:03 +01:00
provokateurin 3ca39e3d94 fix(Share20): Convert broken hooks to IEventListener
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 08:00:59 +01:00
provokateurin 7e8ffd332b refactor(TempManager): Simplify and unify implementations and remove legacy behavior
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 07:50:44 +01:00
Nextcloud bot c4b98bf8e7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-04 00:23:54 +00:00
Louis Chemineau 7588237dc0 fix: Report duplicated extra files in integrity check
The `array_diff` is not comparing the array keys. This means that an extra key with an expected hash will not be reported. Using `array_diff_assoc` will report such files.

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

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 16:15:24 +01:00
Andy Scherzinger dfc5dee9ce Merge pull request #51088 from nextcloud/backport/51051/stable29
[stable29] feat: Close sessions created for login flow v2
2025-03-03 15:26:32 +01:00
Ferdinand Thiessen de99a257f2 fix(files_sharing): Also list deleted team shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-03 14:20:19 +01:00
Stephan Orbaugh 9cda726b30 Merge pull request #51104 from nextcloud/backport/51019/stable29
[stable29] fix(files_external): Move definition parameter to the correct place
2025-03-03 13:20:03 +01:00
Louis Chemineau d7bc7f8aa4 fix(login): Support subfolder install for ephemeral sessions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 11:42:42 +01:00
Louis Chemineau 9f78eaaa97 fix(login): Also check legacy annotation for ephemeral sessions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 11:42:42 +01:00
Louis Chemineau ff5a03e890 feat: Close sessions created for login flow v2
Sessions created during the login flow v2 should be short lived to not leave an unexpected opened session in the browser.

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

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

[skip ci]

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 11:38:04 +01:00
Stephan Orbaugh f487469fe7 Merge pull request #50978 from nextcloud/dependabot/npm_and_yarn/stable29/nextcloud/cypress-1.0.0-beta.14
chore(deps-dev): bump @nextcloud/cypress from 1.0.0-beta.13 to 1.0.0-beta.14
2025-03-03 09:49:06 +01:00
Stephan Orbaugh fb8f1afcd4 Merge pull request #50977 from nextcloud/dependabot/npm_and_yarn/stable29/cypress-split-1.24.14
chore(deps-dev): bump cypress-split from 1.24.11 to 1.24.14
2025-03-03 09:48:53 +01:00
Stephan Orbaugh 11d910c670 Merge pull request #50822 from nextcloud/dependabot/npm_and_yarn/stable29/nextcloud/files-3.10.2
chore(deps): bump @nextcloud/files from 3.10.1 to 3.10.2
2025-03-03 09:48:40 +01:00
Nextcloud bot 44abe47c93 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-03 00:23:15 +00:00
dependabot[bot] 13b331c223 chore(deps): bump @nextcloud/files from 3.10.1 to 3.10.2
Bumps [@nextcloud/files](https://github.com/nextcloud-libraries/nextcloud-files) from 3.10.1 to 3.10.2.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-files/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-files/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-files/compare/v3.10.1...v3.10.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-02 13:46:52 +00:00
dependabot[bot] 154643ccd1 Merge pull request #51163 from nextcloud/dependabot/npm_and_yarn/stable29/types/dockerode-3.3.35 2025-03-02 13:27:43 +00:00
Ferdinand Thiessen d760b03895 Merge pull request #51001 from nextcloud/backport/50958/stable29
[stable29] Fix: NotFoundException for anonymous users
2025-03-02 13:04:16 +01:00
Nextcloud bot a547740d13 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-02 00:23:07 +00:00
dependabot[bot] e9fa5a4186 chore(deps-dev): bump @types/dockerode from 3.3.34 to 3.3.35
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.34 to 3.3.35.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/dockerode)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-01 02:31:29 +00:00
Nextcloud bot cb5401e93a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-01 00:45:30 +00:00
Nextcloud bot 07354bf64b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-28 00:23:47 +00:00
John Molakvoæ 94f1e9c2d1 Merge pull request #51006 from nextcloud/chore/backport-50985
[stable29] fix: validate account properties as a repair step
2025-02-27 17:38:29 +01:00
provokateurin 92edd3ea0d fix(files_external): Move definition parameter to the correct place
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-02-27 14:24:12 +00:00
skjnldsv 59aa02ae8f chore: autoloader update
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-27 12:59:09 +01:00
Ferdinand Thiessen 8830bdbb1a refactor: convert sanitize account properties repair step to background job
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-27 12:59:09 +01:00
Ferdinand Thiessen fb714dfd40 fix: Optimize repair step performance
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-27 12:59:09 +01:00
Ferdinand Thiessen 62d122adfa fix: validate account properties as a repair step
Replace `ValidatePhoneNumber` from Nextcloud 21 with a new repair step,
`ValidateAccountProperties` which validates and sanitizes all account
properties.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-27 12:59:09 +01:00
Nextcloud bot bfaa1ae091 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-27 00:22:53 +00:00
Joas Schilling 196f0778cc Merge pull request #51068 from nextcloud/backport/51049/stable29
[stable29] fix(l10n): Improve english source strings
2025-02-26 16:19:32 +01:00
dependabot[bot] 325c5fedc4 chore(deps-dev): bump cypress-split from 1.24.11 to 1.24.14
Bumps [cypress-split](https://github.com/bahmutov/cypress-split) from 1.24.11 to 1.24.14.
- [Release notes](https://github.com/bahmutov/cypress-split/releases)
- [Commits](https://github.com/bahmutov/cypress-split/compare/v1.24.11...v1.24.14)

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-26 16:12:00 +01:00
nextcloud-command 3200b79ddb chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-26 14:40:40 +00:00
Joas Schilling c63c27d8d5 fix(l10n): Improve english source strings
- No leading/trailing whitespace
- Use asci single quote

Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-26 15:27:20 +01:00
Louis 6a8bccc023 Merge pull request #51023 from nextcloud/backport/50903/stable29
[stable29] fix(files_versions): Do not expire versions newer than min age
2025-02-26 12:19:49 +01:00
Joas Schilling 3ea1964bc6 Merge pull request #51042 from nextcloud/automated/noid/stable29-update-ca-cert-bundle
[stable29] fix(security): Update CA certificate bundle
2025-02-26 08:51:31 +01:00
nextcloud-command 03bdf82ae3 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-02-26 02:31:06 +00:00
Nextcloud bot 874f8bc4e6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-26 00:22:11 +00:00
Andy Scherzinger 893b305e09 Merge pull request #50996 from nextcloud/backport/50956/stable29
[stable29] fix: wipe local storages on log out
2025-02-25 22:41:38 +01:00
nextcloud-command 216510519d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-25 16:15:02 +00:00
Maksim Sukharev c01461dfd7 fix: wipe local storages on log out
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-02-25 17:06:51 +01:00
Louis Chemineau 25d92c4e67 fix(files_versions): Do not expire versions newer than min age
The auto expire logic does not take into account the min retention age set by the admin. So versions were eagerly deleted.

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

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

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

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

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

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

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

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

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

Follow-up of https://github.com/nextcloud/server/pull/41819

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-25 11:08:43 +00:00
Nextcloud bot 687a4d9ac7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-25 00:21:54 +00:00
Nextcloud bot 169478643a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-24 21:01:26 +00:00
Kostiantyn Miakshyn 03605133d8 Fix: NotFoundException for anonymous users
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
2025-02-24 15:12:52 +00:00
Nextcloud bot 77c9238892 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-24 00:22:20 +00:00
Nextcloud bot db9849f7a2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-23 00:22:21 +00:00
Nextcloud bot fecc044cfe Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-22 00:22:17 +00:00
Joas Schilling abe3843a81 Merge pull request #50951 from nextcloud/backport/50949/stable29
[stable29] ci(autochecks): Run some autochecks also on non-PHP files
2025-02-21 17:02:20 +01:00
Joas Schilling cc8487cd03 ci(autochecks): Run some autochecks also on non-PHP files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-21 14:10:44 +01:00
John Molakvoæ be4cad2cdc Merge pull request #50939 from nextcloud/backport/50053/stable29
[stable29] fix: Change UserAgent to *cloud
2025-02-21 12:34:00 +01:00
John Molakvoæ e5f8140be3 Merge pull request #50930 from nextcloud/backport/50910/stable29 2025-02-21 12:05:50 +01:00
John Molakvoæ c3fcc4a94d fix(l10n): Fix triple dot in translation
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-21 10:21:51 +00:00
skjnldsv 5dbca559e4 fix(cypress): opendetails tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-21 10:54:17 +01:00
Johannes Endres a49366910b fix: Change UserAgent to *cloud
Co-authored-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Johannes Endres <je@johannes-endres.de>
2025-02-21 09:28:41 +00:00
skjnldsv ba381d899d chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-21 09:02:08 +00:00
skjnldsv 61e041e820 fix(tests): axios mock and dep update
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-21 09:53:11 +01:00
skjnldsv fc88c7862e fix(cypress): action selector menu lookup
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-21 09:53:11 +01:00
skjnldsv 18e6fe22ba chore(cypress): also log the current server image sha
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

[skip ci]
2025-02-21 09:53:11 +01:00
skjnldsv e835114ad5 fix(files_external): inline storage check improvements
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-21 09:53:11 +01:00
skjnldsv e5b9034c20 chore(files_external): add cypress tests for user credentials action
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-21 09:53:11 +01:00
Nextcloud bot e68c88b055 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-21 00:22:12 +00:00
skjnldsv 09844868ba fix(files_external): request strict password auth on credentials enter action
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-20 20:39:10 +00:00
Nextcloud bot 6530b330aa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-20 00:22:32 +00:00
Andy Scherzinger d908332270 Merge pull request #50890 from nextcloud/backport/50820/stable29
[stable29] fix(files_sharing): Fix public share expiration being set when toggle is not enabled
2025-02-19 18:35:05 +01:00
Andy Scherzinger 3009d6441d Merge pull request #50876 from nextcloud/backport/50807/stable29
[stable29] fix(files): properly forward open params from short urls
2025-02-19 18:34:42 +01:00
Andy Scherzinger 271903a774 Merge pull request #48108 from nextcloud/backport/46480/stable29
[stable29] fix(Mailer): Fix sendmail binary fallback
2025-02-19 18:34:19 +01:00
John Molakvoæ aafd9f992a fix(files): undefined logger property
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-19 09:20:15 +00:00
nextcloud-command 4ff1a31625 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-19 09:12:40 +00:00
Christopher Ng 3ffe746841 fix(files_sharing): Fix public share expiration being set when toggle is not enabled
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-19 10:08:06 +01:00
skjnldsv 986a32634e chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-19 09:52:53 +01:00
skjnldsv 70f65efb39 fix(files): properly show file not found error
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-19 09:52:53 +01:00
skjnldsv 9cee2c44c4 fix(files): properly forward open params from short urls
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-19 09:52:53 +01:00
John Molakvoæ d43d2b148c Merge pull request #50887 from nextcloud/backport/50814/stable29
[stable29] fix(systemtags): do not hide if no tags
2025-02-19 08:51:57 +01:00
Nextcloud bot 2cb6e985bd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-19 00:22:06 +00:00
skjnldsv 396f9ffc52 fix(systemtags): do not hide if no tags
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-02-18 19:11:04 +01:00
Nextcloud bot 331fe98a72 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-18 00:22:21 +00:00
Josh 635dbdc785 fix(Mailer): Fix sendmail binary fallback
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-02-17 19:21:42 +01:00
Andy Scherzinger 3c57d9cd8b Merge pull request #50815 from nextcloud/backport/29-openfile
[stable29] fix(files): Do not download files with `openfile` query flag
2025-02-17 19:17:56 +01:00
Andy Scherzinger 50d5aede17 Merge pull request #50795 from nextcloud/backport/50781/stable29
[stable29] perf(files): faster query to fetch incomplete directories
2025-02-17 19:15:40 +01:00
Julien Veyssier c80d3a1984 Merge pull request #50856 from nextcloud/backport/50816/stable29
[stable29] fix(transferownership): Allow searching new owner by email
2025-02-17 13:58:45 +01:00
nextcloud-command 83aaa10c11 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-17 12:43:49 +00:00
Julien Veyssier 68365dfe86 fix(transferownership): allow searching by email, display user.shareWithDisplayNameUnique in item subline, adjust style
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>

[skip ci]

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-02-17 13:37:19 +01:00
Ferdinand Thiessen 031946722d Merge pull request #50848 from nextcloud/backport/50798/stable29
[stable29] fix(login): only show error state on login box if user interacted
2025-02-17 13:17:03 +01:00
Ferdinand Thiessen c306bd5b46 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-17 12:34:31 +01:00
Ferdinand Thiessen 9da85071a3 fix(login): only show error state on login box if user interacted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-17 10:59:56 +00:00
Git'Fellow dcffc89586 Merge pull request #50810 from nextcloud/backport/50769/stable29
[stable29] fix(SharedStorage): Check if storage ID is set on cache
2025-02-17 09:40:03 +01:00
Nextcloud bot c1d8d3f4a9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-17 00:22:05 +00:00
Andy Scherzinger cb6bf6d85d Merge pull request #50821 from nextcloud/dependabot/npm_and_yarn/stable29/cypress-split-1.24.11
chore(deps-dev): bump cypress-split from 1.24.9 to 1.24.11
2025-02-16 23:45:18 +01:00
Nextcloud bot 6376f5e99e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-16 00:45:17 +00:00
Daniel c4aec1b2bc Merge pull request #49483 from nextcloud/backport/49004/stable29
[stable29] Bug/48678/restore dav error response
2025-02-15 20:18:35 +01:00
Robin Appelman f01f393123 fix: use relative paths for upload locks
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-15 16:51:00 +01:00
Robin Appelman e020cbbfe7 fix: make locked exception path relative to the view
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-15 16:51:00 +01:00
Daniel Kesselberg df590d35c2 fix: Replace the TypeError to prevent exposing the installation path
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-02-15 16:51:00 +01:00
Daniel Kesselberg 17948296c6 Revert "fix(dav): Always respond custom error page on exceptions"
This reverts commit 9992e7d439.

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

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

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-02-15 16:51:00 +01:00
Git'Fellow 258ced519c Merge pull request #50836 from nextcloud/backport/50809/stable29
[stable29] fix(repair): PHP8.3 deprecation warning
2025-02-15 16:15:16 +01:00
Git'Fellow 62c266deed fix(repair): PHP8.3 deprecation warning
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-02-15 11:07:37 +00:00
dependabot[bot] 1985cd3d0e chore(deps-dev): bump cypress-split from 1.24.9 to 1.24.11
Bumps [cypress-split](https://github.com/bahmutov/cypress-split) from 1.24.9 to 1.24.11.
- [Release notes](https://github.com/bahmutov/cypress-split/releases)
- [Commits](https://github.com/bahmutov/cypress-split/compare/v1.24.9...v1.24.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-15 02:22:15 +00:00
Nextcloud bot 0f055d38fd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-15 00:22:16 +00:00
Git'Fellow 35377d7e97 fix(SharedStorage): Check if storage ID is set on cache
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-02-14 17:57:15 +01:00
nextcloud-command 0ad0054239 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-14 15:46:43 +00:00
Ferdinand Thiessen 2777ef7ea7 fix(files): Do not download files with openfile query flag
Instead of downloading files, if there is no other default action,
we should just open the details tab.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-14 16:40:19 +01:00
Benjamin Gaussorgues ce4d271386 perf(files): faster query to fetch incomplete directories
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-02-14 11:00:07 +01:00
Andy Scherzinger 8bf22d9399 Merge pull request #50805 from nextcloud/backport/48651/stable29
[stable29] fix(files): Correctly copy the cache information during copy operations
2025-02-14 07:41:02 +01:00
Nextcloud bot 7ded302f5f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-14 00:22:27 +00:00
Louis Chemineau 85417b56bf test(View): Copy preserves content
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-13 23:37:04 +00:00
Louis Chemineau ef4281ebe3 fix(files): Correctly copy the cache information on copy operations
Needed to copy the `encrypted` flag of encrypted files when those files are two level down in a moved folder.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-13 23:37:04 +00:00
Benjamin Gaussorgues 24f5acf0fe Merge pull request #50772 from nextcloud/release/29.0.12
29.0.12
2025-02-13 15:00:40 +01:00
Nextcloud bot cbc7c52094 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-13 00:22:02 +00:00
Benjamin Gaussorgues 314e386289 build(hub): 29.0.12
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-02-12 11:33:46 +01:00
Nextcloud bot 27203bb0b5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-12 00:22:50 +00:00
Benjamin Gaussorgues 24c0784d1b Merge pull request #50757 from nextcloud/release/29.0.12_rc2
29.0.12 RC2
2025-02-11 21:15:40 +01:00
Andy Scherzinger 3fbbcdf011 Merge pull request #50693 from nextcloud/backport/50655/stable29
[stable29] enh: Fix display default expire date, add tests & tiny refactors
2025-02-11 20:24:00 +01:00
Christopher Ng a444382009 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-11 11:00:41 -08:00
nfebe 528d9690b3 fix(files_sharing): Update QuickShareSelect if share is modified
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-11 10:51:55 -08:00
nfebe f7cc372444 test(files_sharing): Check that default expiration date is shown b4 create share
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-11 10:51:22 -08:00
nfebe 2029f30970 fix: Show default expiration date before create link share
Since `ShareEntryLink` component is used to both create and display/list the share links,
we should only set default expiration date on `share.expireDate` when we know is a new share.

Otherwise, we overidding data from the backend.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-11 10:51:18 -08:00
nfebe d84be6b946 refactor: Remove some deprecated containers and exceptions
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-11 10:51:13 -08:00
Benjamin Gaussorgues ef2226aedd Merge pull request #50696 from nextcloud/backport/50626/stable29
[stable29] chore : Comprehensive e2e testing for public sharing
2025-02-11 18:04:12 +01:00
nextcloud-command df5ffb13b3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-11 17:17:18 +01:00
nfebe e9d1469f57 fix(files_sharing): Adjust wrong labeling identified by test
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-11 17:16:08 +01:00
nfebe f0c3f81b77 test(files_sharing): add e2e tests for public link sharing
This commit introduces end-to-end tests for various public link sharing scenarios in the `files_sharing` app. It validates the behavior under multiple configurations:

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

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

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-11 17:16:08 +01:00
nfebe 6b29527e61 feat: Add setup-public-share.ts
This addition enhances the testing framework for public sharing by
improving the setup and management of share contexts.

Additionally, the update optimizes share permission adjustments and
improves state management, making public share setups more efficient and maintainable.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-11 17:16:08 +01:00
Benjamin Gaussorgues 5373a2fa80 Merge pull request #50749 from nextcloud/backport/49493/stable29
[stable29] feat: Use inline password confirmation in external storage settings
2025-02-11 16:59:59 +01:00
Louis Chemineau 89f3350b2f chore: Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-11 11:56:30 +01:00
Louis Chemineau ab6d1982c5 test(ExternalStorage): Send basic auth during integrations tests
Signed-off-by: Louis Chemineau <louis@chmn.me>

[skip ci]
2025-02-11 11:56:30 +01:00
Louis Chemineau 25ec8053eb test:(PasswordConfirmationMiddleware): Fix constructor call
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-11 11:56:30 +01:00
Louis Chemineau 5dde990fe5 chore: Run npm run lint:fix
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-11 11:56:30 +01:00
Louis Chemineau 8a8a92b88f feat: Use inline password confirmation in external storage settings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-11 11:56:30 +01:00
Louis Chemineau c64bb7c3cd chore: Bump @nextcloud/password-confirmation to 5.3.0
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-11 11:45:24 +01:00
Benjamin Gaussorgues 75d2554a04 build(hub): 29.0.12 RC2
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-02-11 11:36:20 +01:00
Nextcloud bot 3606be140e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-11 00:22:09 +00:00
Andy Scherzinger 8a95866f43 Merge pull request #50724 from nextcloud/dependabot/npm_and_yarn/stable29/cypress-split-1.24.9
[stable29] chore(deps-dev): bump cypress-split from 1.24.7 to 1.24.9
2025-02-10 10:40:26 +01:00
nextcloud-command 97531f74dc chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-10 09:19:36 +00:00
dependabot[bot] 9dcad98227 chore(deps-dev): bump cypress-split from 1.24.7 to 1.24.9
Bumps [cypress-split](https://github.com/bahmutov/cypress-split) from 1.24.7 to 1.24.9.
- [Release notes](https://github.com/bahmutov/cypress-split/releases)
- [Commits](https://github.com/bahmutov/cypress-split/compare/v1.24.7...v1.24.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 10:14:17 +01:00
Andy Scherzinger 07251bec5d Merge pull request #50723 from nextcloud/dependabot/npm_and_yarn/stable29/nextcloud/cypress-1.0.0-beta.13
[stable29] chore(deps-dev): bump @nextcloud/cypress from 1.0.0-beta.12 to 1.0.0-beta.13
2025-02-10 10:13:53 +01:00
Nextcloud bot cea07971a1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-10 00:22:09 +00:00
Andy Scherzinger 87c0e745ac Merge pull request #50698 from nextcloud/backport/50678/stable29
[stable29] fix(AccountProperty): better validation of twitter and fediverse handles
2025-02-09 19:44:17 +01:00
Ferdinand Thiessen 43b95e16d4 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-09 13:46:27 +01:00
Ferdinand Thiessen 44742d617f fix(settings): Also sanitize fediverse and twitter handle in the frontend
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-09 13:46:27 +01:00
Ferdinand Thiessen 34bb825f21 fix(provisioning_api): Correct limit for editUser
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-09 13:46:27 +01:00
Ferdinand Thiessen c4cc3f2888 fix(FediverseAction): Ensure valid fediverse links are generated
Harden also for existing values of the profile.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-09 13:46:27 +01:00
Ferdinand Thiessen 4a7c8834d0 fix(AccountManager): Sanitize social media handles
Ensure to only accept valid X and fediverse handles.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-09 13:46:26 +01:00
Nextcloud bot 48ea49bf74 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-09 00:22:06 +00:00
dependabot[bot] 7bb9891a79 chore(deps-dev): bump @nextcloud/cypress
Bumps [@nextcloud/cypress](https://github.com/nextcloud/nextcloud-cypress) from 1.0.0-beta.12 to 1.0.0-beta.13.
- [Release notes](https://github.com/nextcloud/nextcloud-cypress/releases)
- [Commits](https://github.com/nextcloud/nextcloud-cypress/compare/v1.0.0-beta.12...v1.0.0-beta.13)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-08 02:31:04 +00:00
Nextcloud bot 4a9939219f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-08 00:22:07 +00:00
Andy Scherzinger 95590f8fb3 Merge pull request #50686 from nextcloud/backport/50666/stable29
[stable29] feat(theming): allow to disable standalone windows
2025-02-07 19:44:49 +01:00
Simon L 79b22a4254 feat(theming): allow to disable standalone windows
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>

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

Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2025-02-07 21:58:26 +07:00
Nextcloud bot 706cb712dc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-07 00:22:16 +00:00
John Molakvoæ 96937af7fb Merge pull request #50673 from nextcloud/release/29.0.12_rc1
29.0.12 RC1
2025-02-06 10:45:26 +01:00
John Molakvoæ 71f2d7a13a Merge pull request #50674 from nextcloud/backport/50193/stable29
[stable29] fix(oauth2): adjust db schemas when migrating from owncloud
2025-02-06 10:44:23 +01:00
Richard Steinmetz d8e5b6a229 fix(oauth2): adjust db schemas when migrating from owncloud
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-02-06 10:19:57 +01:00
Nextcloud bot 50a97dc29d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-06 00:22:17 +00:00
Benjamin Gaussorgues 7858ea3d8f build(hub): 29.0.12 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-02-05 21:20:43 +01:00
Andy Scherzinger ab37ea1fe4 Merge pull request #50119 from nextcloud/backport/50111/stable29
[stable29] fix(dashboard): don't reload hidden widgets
2025-02-05 11:42:26 +01:00
nextcloud-command 0d64b61b59 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-05 10:26:12 +00:00
Richard Steinmetz b6a66f1c20 fix(dashboard): don't reload hidden widgets
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-02-05 11:21:26 +01:00
Andy Scherzinger d411ddf044 Merge pull request #50159 from nextcloud/backport/49552/stable29
[stable29] fix: improve checks for moving shares/storages into other mounts
2025-02-05 10:14:21 +01:00
nextcloud-command bd7bd8fdfe chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-05 08:48:37 +00:00
Robin Appelman 804a0ec567 fix: explicitly ignore nested mounts when transfering ownership
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-05 09:39:28 +01:00
Robin Appelman 7a37fdddc5 fix: translate mount move error messages
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-05 09:39:28 +01:00
Christopher Ng 1437abd4dd feat(files): Display meaningful error message on move failure
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-05 09:39:28 +01:00
Robin Appelman 5b4ceb0eaa fix: improve checks for moving shares/storages into other mounts
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-05 09:39:28 +01:00
Nextcloud bot 1d7ade4662 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-05 00:22:15 +00:00
Ferdinand Thiessen 0b93745531 Merge pull request #50648 from nextcloud/backport/50642/stable29
[stable29] fix(sharing): better handle file share attributes
2025-02-04 19:29:05 +01:00
Ferdinand Thiessen b94da13f6c fix(sharing): Ensure download restrictions are not dropped
When a user receives a share with share-permissions but also with
download restrictions (hide download or the modern download permission attribute),
then re-shares of that share must always also include those restrictions.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-04 18:20:38 +01:00
Nextcloud bot 74488854c7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-04 00:21:40 +00:00
Kate 81b0d3d501 Merge pull request #50088 from nextcloud/backport/49882/stable29 2025-02-03 13:44:03 +01:00
provokateurin 53c02d6b9d fix(Http): Only allow valid HTTP status code values via template
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-02-03 12:11:01 +01:00
provokateurin 384f3c0b07 fix(settings): Fix log file download return type
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-02-03 12:11:01 +01:00
Ferdinand Thiessen a0d87fbcb3 Merge pull request #50596 from nextcloud/backport/50424/stable29
[stable29] fix(settings): Clarify peculiarities of enabling encryption
2025-02-03 11:01:44 +01:00
Nextcloud bot 43e149c4f7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-03 00:39:46 +00:00
Nextcloud bot b42133d9d4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-02 00:22:45 +00:00
dependabot[bot] cd74d4c925 Merge pull request #50617 from nextcloud/dependabot/npm_and_yarn/stable29/nextcloud/moment-1.3.2 2025-02-01 15:01:35 +00:00
dependabot[bot] f190a91442 Merge pull request #50618 from nextcloud/dependabot/npm_and_yarn/stable29/moment-timezone-0.5.47 2025-02-01 14:36:48 +00:00
Kate 7bf9848334 Merge pull request #50600 from nextcloud/backport/50549/stable29 2025-02-01 11:19:36 +01:00
Kate 547dc41c76 Merge pull request #50504 from nextcloud/backport/50270/stable29 2025-02-01 11:18:58 +01:00
dependabot[bot] 46d1e92d78 chore(deps): bump moment-timezone from 0.5.46 to 0.5.47
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.46 to 0.5.47.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.46...0.5.47)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-01 09:10:28 +00:00
dependabot[bot] b55e40dd3f chore(deps): bump @nextcloud/moment from 1.3.1 to 1.3.2
Bumps [@nextcloud/moment](https://github.com/nextcloud/nextcloud-moment) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/nextcloud/nextcloud-moment/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-moment/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-moment/compare/v1.3.1...v1.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-01 02:58:21 +00:00
Nextcloud bot a733523693 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-01 00:22:13 +00:00
Ferdinand Thiessen 7246b5d3c9 fix(OC_Files): Fix error response when event was not set
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 18:38:32 +00:00
Ferdinand Thiessen 3d5085343a test: Reset sharing app config after test
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 18:46:07 +01:00
Ferdinand Thiessen a0d7d107f5 fix(sharing): Move permission validation to share manager
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 18:46:07 +01:00
Ferdinand Thiessen ea37f03f7d fix(files_sharing): Respect permissions passed when creating link shares
Given:
User creates a link or email share with permissions=4 (create only = file drop).

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

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

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 18:46:07 +01:00
Ferdinand Thiessen 36ce8de6f0 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 17:49:17 +01:00
Ferdinand Thiessen 5c7802acc0 fix(settings): Clarify peculiarities of enabling encryption
- Clarify that enabling server side encryption will not encrypt
  existing files but only new or changed files.
- Clarify that server side encryption can only be disabled using OCC
- Ensure there is accessible information of encryption state (`disabled`
  input will not be announced so make it `aria-disabled` instead)
- Make warning more prominent by moving it into a dialog

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 17:45:57 +01:00
Kate 2053455b56 Merge pull request #50563 from nextcloud/backport/50530/stable29 2025-01-31 08:51:10 +01:00
Kate 6b1d6f7d8e Merge pull request #50571 from nextcloud/backport/50292/stable29 2025-01-31 08:50:15 +01:00
provokateurin ff39f14ad2 chore: Compile assets
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-31 08:22:06 +01:00
provokateurin f6ba811438 fix(files_sharing): Only clear permissions of pending federated shares
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-31 08:20:41 +01:00
provokateurin def5e0b9a6 fix(files): Allow opening the same file repeatedly
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-31 08:20:36 +01:00
Nextcloud bot 4a290b65ae Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-31 00:22:46 +00:00
Andy Scherzinger 393ccb90c7 Merge pull request #50575 from nextcloud/backport/50298/stable29
[stable29] fix: detect deleted items as updated for smb storage
2025-01-30 19:11:10 +01:00
Robin Appelman 26e7849d16 fix: detect deleted items as updated for smb storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-30 14:29:11 +00:00
Kate f5c7b75e23 Merge pull request #50558 from nextcloud/backport/50519/stable29 2025-01-30 13:56:48 +01:00
Nils Wenninghoff 3ef04909b7 fix(ConvertType): Read dbtype in createConnectionParams and remove safeguard
Signed-off-by: Nils Wenninghoff <nils@ungemein.cool>
2025-01-30 12:21:30 +01:00
Louis Chemineau 9626ff81bd fix: Exclude non accepted shares when computing access list
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-30 11:07:28 +01:00
Andy Scherzinger 29270757ef Merge pull request #50545 from nextcloud/backport/50514/stable29
[stable29] feat(S3): add SSE-C support in S3 External Storage
2025-01-29 20:51:43 +01:00
Richard Steinmetz 43d4864261 fix(s3): treat empty sse_c_key as not set
Co-authored-by: Christian Becker <christian@dabecka.de>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-29 17:33:42 +00:00
Joas Schilling 553e77addd Merge pull request #50544 from nextcloud/dependabot/composer/symfony/stable29
[stable29] build(deps): Bump symfony/* to latest 5.4
2025-01-29 18:29:09 +01:00
Joas Schilling cc2df90b00 build(deps): Bump symfony/* to latest 5.4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-29 17:07:34 +01:00
Ferdinand Thiessen 329f66b6de Merge pull request #49776 from nextcloud/dependabot/npm_and_yarn/stable29/nextcloud/vue-8.17.1
chore(deps): bump @nextcloud/vue from 8.17.0 to 8.17.1
2025-01-29 15:07:24 +01:00
Ferdinand Thiessen 28d6c38a36 chore: Update HTML snapshot
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-29 14:26:00 +01:00
Ferdinand Thiessen 7312c92efe Merge pull request #50525 from nextcloud/backport/50437/stable29
[stable29] fix: storage wrapper / files scanner do not array access on null
2025-01-29 13:06:11 +01:00
Louis 12d2254b43 Merge pull request #50522 from nextcloud/backport/50299/stable29
[stable29] fix(files_versions): Update `unencrypted_size` during rollback
2025-01-29 11:31:08 +01:00
Ferdinand Thiessen 3f8244a841 fix(files): Do not array access null value
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-29 10:28:01 +00:00
nextcloud-command 81651d2938 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-29 10:22:22 +00:00
dependabot[bot] e3be6a2623 chore(deps): bump @nextcloud/vue from 8.17.0 to 8.17.1
Bumps [@nextcloud/vue](https://github.com/nextcloud-libraries/nextcloud-vue) from 8.17.0 to 8.17.1.
- [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.17.0...v8.17.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-29 10:04:11 +00:00
Ferdinand Thiessen 4aff181709 Merge pull request #50409 from nextcloud/backport/50398/stable29
[stable29] fix: Correctly return app id and app version for `core` styles and images
2025-01-29 10:44:29 +01:00
Louis Chemineau 31ea7ebaea fix(files_versions): Update unencrypted_size during rollback
This prevent restored version of encrypted files from having a wrong reported size. This was blocking download.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-29 09:39:30 +00:00
Louis Chemineau cd3635dc3c chore(files_versions): Remove unused $node variable
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-29 09:39:30 +00:00
Ferdinand Thiessen 092f1b7f34 fix: Correctly return app id and app version for core styles and images
fix(TemplateLayout): `core` is not an app but the server itself

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-29 10:14:51 +01:00
Andy Scherzinger 7a8285b281 Merge pull request #50513 from nextcloud/backport/50494/stable29
[stable29] fix(performance): use low resolution for blurhash
2025-01-29 07:35:23 +01:00
Nextcloud bot 49bbd61d9f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-29 00:22:29 +00:00
Max 341866be76 fix(performance): use low resolution for blurhash
Improve blurhash performance by using a low res image.
The results are hard to destinguish visualy.
It is a **blur** hash after all.

Signed-off-by: Max <max@nextcloud.com>
2025-01-28 23:04:05 +01:00
Andy Scherzinger c15b158432 Merge pull request #50500 from nextcloud/backport/50480/stable29
[stable29] fix(user_ldap): Do not map groups we do not know if they match filter
2025-01-28 23:01:36 +01:00
Côme Chilliet b5da20e166 fix(user_ldap): Do not map groups we do not know if they match filter
When nesting is enabled, filterValidGroups is supposed to check for each
 groups if it actually exist, because it may not be visible to
 Nextcloud. So in this codepath we disable automapping of groups.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
(cherry picked from commit de77415c70)
2025-01-28 13:24:45 +00:00
John Molakvoæ c250c6cde1 Merge pull request #49939 from nextcloud/backport/49208/stable29
[stable29] fix: Redirect user to login if session is terminated
2025-01-28 10:54:26 +01:00
nextcloud-command fbbbd2a292 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-28 10:08:20 +01:00
Ferdinand Thiessen 00d9d8366e fix: Redirect user to login if session is terminated
If a session timed out or was closed in another tab,
then currently the user gets random error messages.
This intercepts 401 responses (should only happen if logged out, or the
users does something wrong).

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

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-28 10:06:03 +01:00
Nextcloud bot d5b1c5b311 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-28 00:22:35 +00:00
Andy Scherzinger 8b467713da Merge pull request #50487 from nextcloud/backport/50293/stable28 I
[stable29] fix(theming): Harden admin theming settings
2025-01-27 20:51:45 +01:00
Ferdinand Thiessen e4f9e0c7ae chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-27 18:33:23 +00:00
Ferdinand Thiessen d8593af7f2 fix(theming): Ensure to only send valid URLs to backend
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 17:57:41 +00:00
Ferdinand Thiessen e7e5bec6c6 fix(theming): Harden admin web link settings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 17:57:41 +00:00
Louis 901c6450f0 Merge pull request #50403 from nextcloud/backport/50353/stable29
[stable29] feat: Support X-NC-Skip-Trashbin header
2025-01-27 16:42:57 +01:00
Louis ece31eaf7e Merge pull request #50421 from nextcloud/backport/50273/stable29
[stable29] fix: Metadata field search
2025-01-27 14:33:14 +01:00
Louis Chemineau c3b1501f3f feat: Support X-NC-Skip-Trashbin header
This is useful for clients that want to directly and permanently delete a file.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-27 13:04:24 +01:00
Louis Chemineau 840ee6d59a fix: Metadata field search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-27 13:03:49 +01:00
Kate 4061f24022 Merge pull request #50456 from nextcloud/backport/50077/stable29 2025-01-27 09:36:01 +01:00
provokateurin 18c9c1a38d fix(IInitialState): Allow provideLazyInitialState() closure to return array
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-27 05:42:14 +00:00
Nextcloud bot f30d0f543a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-27 00:22:07 +00:00
Andy Scherzinger 8b2fada3ea Merge pull request #50445 from nextcloud/backport/50430/stable29
[stable29] files: harden thumbnail endpoint
2025-01-26 20:23:04 +01:00
Andy Scherzinger d061797f93 Merge pull request #50213 from nextcloud/backport/fix-files-title
[stable29] fix(files): Restore page title (folder - view - product)
2025-01-26 20:17:11 +01:00
nextcloud-command 47fda0d863 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-26 18:04:01 +00:00
Ferdinand Thiessen 59ee4af65b fix(files): Restore page title (folder - view - product)
* Folder: Current folder if not root
* View: Name of current view
* Product: Nextcloud

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-26 18:58:58 +01:00
Josh 34bccd1a4f Merge pull request #50439 from nextcloud/backport/49440/stable29
[stable29] fix(SetupChecks): Pass webfinger if the handler returns 400 too
2025-01-26 11:34:54 -05:00
Josh 3e66411eb5 Merge pull request #50071 from nextcloud/backport/49988/stable29
[stable29] fix(settings): show the correct initial locale in Personal info
2025-01-26 11:13:54 -05:00
Ferdinand Thiessen 6218f1d881 fix(files): Harden thumbnail endpoint
- Catch all thrown exceptions and handle in such a way you do not get
  information about forbidden files.
- Resepect download permissions of shares.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-26 17:06:30 +01:00
Kate 83367c5669 Merge pull request #50183 from nextcloud/backport/50046/stable29 2025-01-26 16:57:21 +01:00
nextcloud-command 8ae4651edd chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-26 15:04:22 +00:00
provokateurin e0accb5d51 fix(settings): Fix mail server settings form
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-26 15:49:26 +01:00
Josh a4acb88b12 fix(SetupChecks): Pass webfinger if a handler is there
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-26 14:38:48 +00:00
Josh cb4c2adafa fix(settings): show the correct initial locale in Personal info
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-26 12:32:32 +01:00
Nextcloud bot cfd31b4f13 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-26 00:22:55 +00:00
dependabot[bot] 08b1a761eb Merge pull request #50349 from nextcloud/dependabot/npm_and_yarn/stable29/nextcloud/calendar-availability-vue-2.2.6 2025-01-25 17:56:40 +00:00
dependabot[bot] f6d34cbf71 chore(deps): bump @nextcloud/calendar-availability-vue
Bumps [@nextcloud/calendar-availability-vue](https://github.com/nextcloud/calendar-availability-vue) from 2.2.2 to 2.2.6.
- [Release notes](https://github.com/nextcloud/calendar-availability-vue/releases)
- [Changelog](https://github.com/nextcloud/calendar-availability-vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/calendar-availability-vue/compare/v2.2.2...v2.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-25 17:42:37 +00:00
dependabot[bot] ddc5af2864 Merge pull request #50340 from nextcloud/dependabot/npm_and_yarn/stable29/pinia-2.3.1 2025-01-25 17:34:08 +00:00
dependabot[bot] c62d4ce19b Merge pull request #50415 from nextcloud/dependabot/npm_and_yarn/stable29/types/dockerode-3.3.34 2025-01-25 11:48:32 +00:00
dependabot[bot] 24ab77e206 chore(deps-dev): bump @types/dockerode from 3.3.26 to 3.3.34
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.26 to 3.3.34.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/dockerode)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-25 11:34:41 +00:00
dependabot[bot] 5c8f529284 Merge pull request #50416 from nextcloud/dependabot/npm_and_yarn/stable29/testing-library/cypress-10.0.3 2025-01-25 08:07:04 +00:00
nextcloud-command 2537aed0ea chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-25 07:54:00 +00:00
Andy Scherzinger c52e59cc16 Merge pull request #50413 from nextcloud/backport/49639/stable29
[stable29] fix: adjust url for task links
2025-01-25 08:52:58 +01:00
dependabot[bot] 4062b62f63 chore(deps): bump pinia from 2.3.0 to 2.3.1
Bumps [pinia](https://github.com/vuejs/pinia) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/v2.3.0...v2.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-25 08:49:40 +01:00
dependabot[bot] b38c0cfbf8 chore(deps-dev): bump @testing-library/cypress from 10.0.2 to 10.0.3
Bumps [@testing-library/cypress](https://github.com/testing-library/cypress-testing-library) from 10.0.2 to 10.0.3.
- [Release notes](https://github.com/testing-library/cypress-testing-library/releases)
- [Changelog](https://github.com/testing-library/cypress-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/cypress-testing-library/compare/v10.0.2...v10.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-25 03:12:55 +00:00
Nextcloud bot 60b39ceaf5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-25 00:43:07 +00:00
Raimund Schlüßler f3e23f4fe1 fix(TasksSearchProviderTest): adjust deep link to Tasks app
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2025-01-24 22:25:25 +00:00
Raimund Schlüßler 8cf6dc88b6 fix: adjust url for task links
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2025-01-24 22:25:25 +00:00
Richard Steinmetz 4febc1089e Merge pull request #50371 from nextcloud/backport/50369/stable29
[stable29] fix(dav): default calendar and address book not created on first login
2025-01-24 11:22:11 +01:00
Joas Schilling cdfe14c860 Merge pull request #50385 from nextcloud/automated/noid/stable29-update-code-signing-crl
[stable29] fix(security): Update code signing revocation list
2025-01-24 11:01:14 +01:00
nextcloud-command 8d54c28c23 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-01-24 02:27:57 +00:00
Nextcloud bot 22df042ab2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-24 00:21:33 +00:00
Richard Steinmetz a3664877ab fix(dav): default calendar and address book not created on first login
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-23 22:30:06 +01:00
dependabot[bot] 7455832f87 Merge pull request #50350 from nextcloud/dependabot/npm_and_yarn/stable29/ts-jest-29.1.5 2025-01-23 17:41:33 +00:00
Joas Schilling d2dedc7998 Merge pull request #50334 from nextcloud/backport/50333/stable29
[stable29] fix(security): Update .well-known/security.txt expiration date
2025-01-23 15:05:59 +01:00
Nextcloud bot 8a1c778731 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-23 13:40:12 +00:00
dependabot[bot] 876fe7a6ad 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>
2025-01-23 11:30:56 +00:00
dependabot[bot] 033972a743 Merge pull request #50343 from nextcloud/dependabot/npm_and_yarn/stable29/ts-loader-9.5.2 2025-01-23 10:55:32 +00:00
dependabot[bot] 52cf8e7af7 chore(deps-dev): bump ts-loader from 9.5.1 to 9.5.2
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 9.5.1 to 9.5.2.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v9.5.1...v9.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-23 09:25:59 +00:00
Joas Schilling 4f067e5bff fix(security): Update .well-known/security.txt expiration date
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 08:48:13 +00:00
Nextcloud bot 37451ab9fe Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-23 00:22:03 +00:00
Josh d09f640209 Merge pull request #49933 from nextcloud/backport/49681/stable29
[stable29] add sse_c_key from S3 object storage properties config to list of sensitive values
2025-01-22 14:32:16 -05:00
Josh 09f47f65e5 Merge pull request #50321 from nextcloud/backport/50319/stable29
[stable29] test(group): fix frequent `testSearchGroups` failure
2025-01-22 13:56:11 -05:00
Josh 7516b094c0 test: fix periodic Test\Group\DatabaseTest::testSearchGroups failure
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-22 17:45:17 +00:00
Robert Riemann bb96712638 fix: add sse_c_key from S3 object storage properties config to list of sensitive values
Signed-off-by: Robert Riemann <robert@riemann.cc>
2025-01-22 08:47:17 -05:00
John Molakvoæ 2b3794c0dd Merge pull request #50124 from nextcloud/backport/50123/stable29 2025-01-22 09:52:27 +01:00
nextcloud-command 10e126cede chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-22 08:25:08 +00:00
skjnldsv addc56a7e6 fix(files): rename actions submenu back entry
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-22 08:22:34 +00:00
skjnldsv a2d6ad8014 fix(files): close submenu on main actions state change
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-22 08:22:33 +00:00
Ferdinand Thiessen bf1050bc05 Merge pull request #50242 from nextcloud/backport/50237/stable29
[stable29] fix(files): Add empty alt text to purely decorative icons
2025-01-22 02:20:10 +01:00
Nextcloud bot dc0c8689ec Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-22 00:21:59 +00:00
Ferdinand Thiessen e70b6fca1d Merge pull request #50283 from nextcloud/backport/50161/stable29
[stable29] fix(files): sort not working after changing views
2025-01-22 00:11:45 +01:00
F. E Noel Nfebe 257378427d Merge pull request #50153 from nextcloud/backport/50128/stable29
[stable29] feat: Adapt providers `disabled` property to match user applied filters
2025-01-21 11:21:33 +01:00
nextcloud-command 2531769b01 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-21 10:04:10 +00:00
nfebe 7de30a7cf7 feat: Adapt providers disabled property to match user applied filters
Some filters are only available for certain providers, the UI should give the user
a hint to what providers such filters are available in.

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

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-21 10:58:04 +01:00
Nextcloud bot d36d029a31 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-21 00:21:22 +00:00
Richard Steinmetz f0dfc9c504 fix(files): sort not working after changing views
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-20 19:30:06 +01:00
max-nextcloud 994ffe109f Merge pull request #50277 from nextcloud/backport/50265/stable29
[stable29] fix(encryption): handle empty encryptionModules fine
2025-01-20 18:15:25 +01:00
Kate 8f71dd779b Merge pull request #50105 from nextcloud/backport/50070/stable29 2025-01-20 17:57:52 +01:00
Kate 3fef4b1a4d Merge pull request #49990 from nextcloud/backport/49887/stable29 2025-01-20 17:28:04 +01:00
nextcloud-command 289f1fec52 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-20 15:35:21 +00:00
Git'Fellow 7429551dc4 Merge pull request #50275 from nextcloud/backport/50271/stable29
[stable29] fix(TemplateManager): Remove warning message
2025-01-20 15:44:18 +01:00
Max 55ea6208ca fix(encryption): handle empty encryptionModules fine
`[].find(...)` will return `undefined`.
`undefined[0]` throws an exception.
Handle this case more gracefully.

Signed-off-by: Max <max@nextcloud.com>
2025-01-20 14:33:36 +00:00
Robin Appelman 8744d9e752 chore: psalm fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-20 15:31:23 +01:00
Robin Appelman 1eb7f1e9a4 chore: update baseline
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-20 14:49:23 +01:00
Git'Fellow aeca17c2ac fix(TemplateManager): Remove warning message
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-01-20 13:40:34 +00:00
Robin Appelman 43c37426cb fix: don't skip scanner users filesystem if they have a mountpoint at /<user>/files/
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-20 14:27:52 +01:00
Kate 773195f57c Merge pull request #48083 from nextcloud/backport/48081/stable29 2025-01-20 09:48:31 +01:00
rakekniven 1d79fa2d51 chore(1i8n): Fixed grammar and improved wording
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-20 09:33:57 +01:00
Nextcloud bot 7bc0d49644 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-20 00:21:17 +00:00
dependabot[bot] 5bb8d5ec69 Merge pull request #50133 from nextcloud/dependabot/npm_and_yarn/stable29/debounce-2.1.1 2025-01-19 15:10:18 +00:00
nextcloud-command dadfd9ad53 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-19 14:55:32 +00:00
dependabot[bot] 60750f641a build(deps): bump debounce from 2.1.0 to 2.1.1
Bumps [debounce](https://github.com/sindresorhus/debounce) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/sindresorhus/debounce/releases)
- [Commits](https://github.com/sindresorhus/debounce/compare/v2.1.0...v2.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-19 15:51:35 +01:00
dependabot[bot] 8431ca0abc Merge pull request #50134 from nextcloud/dependabot/npm_and_yarn/stable29/nextcloud/files-3.10.1 2025-01-19 14:36:15 +00:00
nextcloud-command 72a42805c9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-19 12:58:09 +00:00
dependabot[bot] 4b20863525 build(deps): bump @nextcloud/files from 3.10.0 to 3.10.1
Bumps [@nextcloud/files](https://github.com/nextcloud-libraries/nextcloud-files) from 3.10.0 to 3.10.1.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-files/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-files/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-files/compare/v3.10.0...v3.10.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-19 13:54:24 +01:00
dependabot[bot] 932f45c4d1 Merge pull request #50135 from nextcloud/dependabot/npm_and_yarn/stable29/dompurify-3.1.7 2025-01-19 11:59:17 +00:00
nextcloud-command 96fc5f045a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-19 11:45:10 +00:00
dependabot[bot] 0be456bbfa build(deps): bump dompurify from 3.1.5 to 3.1.7
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.1.5 to 3.1.7.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.1.5...3.1.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-19 11:41:17 +00:00
Nextcloud bot a5d8225461 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-19 00:21:26 +00:00
dependabot[bot] 3b5bbf6845 Merge pull request #50251 from nextcloud/dependabot/npm_and_yarn/stable29/dockerode-4.0.4 2025-01-18 16:02:03 +00:00
dependabot[bot] c94069f87b build(deps-dev): bump dockerode from 4.0.2 to 4.0.4
Bumps [dockerode](https://github.com/apocas/dockerode) from 4.0.2 to 4.0.4.
- [Release notes](https://github.com/apocas/dockerode/releases)
- [Commits](https://github.com/apocas/dockerode/compare/v4.0.2...v4.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-18 02:41:10 +00:00
Nextcloud bot 2b51facaba Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-18 00:21:25 +00:00
Ferdinand Thiessen 8fe217bafe fix(files): Add empty alt text to purely decorative icons
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-17 18:01:03 +00:00
Ferdinand Thiessen 7499fa937b Merge pull request #50173 from nextcloud/backport/50152/stable29
[stable29] fix(dashboard): don't initially load items of hidden api widgets
2025-01-17 08:35:05 +01:00
Nextcloud bot 525e86593a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-17 00:21:43 +00:00
Richard Steinmetz 5034485cb1 fix(dashboard): don't initially load items of hidden api widgets
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-16 21:37:48 +01:00
John Molakvoæ 38a63b18f8 Merge pull request #50190 from nextcloud/release/29.0.11
29.0.11
2025-01-16 19:10:53 +01:00
Andy Scherzinger 99fc39ee51 Merge pull request #50203 from nextcloud/backport/50192/stable29
[stable29] fix(files_sharing): Stop overwriting the share expiration date with the default expiration date
2025-01-16 09:53:59 +01:00
Nextcloud bot 0a28552591 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-16 00:21:46 +00:00
Ferdinand Thiessen dc6edf5a79 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-15 21:07:13 +01:00
Ferdinand Thiessen 105fa977d1 test: Add end-to-end test for share expiration date
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-15 21:07:09 +01:00
Ferdinand Thiessen c4d28ae62e fix(files_sharing): Remove debounce from expiration date formatting
This should be done as soon as changed, as the value is not passed to
API but needs to be tracked internally (e.g. if you quickly press
"save").

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-15 18:08:37 +01:00
provokateurin 023bd46aa3 fix(files_sharing): Stop overwriting the share expiration date with the default expiration date
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-15 18:08:25 +01:00
skjnldsv 6a3c98c998 build(hub): 29.0.11
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-15 09:50:22 +01:00
Nextcloud bot f4e5508f2c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-15 00:21:49 +00:00
Nextcloud bot 44e23ce9d1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-14 07:59:03 +00:00
Nextcloud bot 6c79b3abf6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-13 00:21:30 +00:00
Nextcloud bot 7ab172ad89 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-12 00:21:50 +00:00
Nextcloud bot fd419800e6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-11 00:21:23 +00:00
Joas Schilling 3b97190683 Merge pull request #50116 from nextcloud/backport/50113/stable29
[stable29] fix(SetupChecks): Don't test caches using binary data
2025-01-10 10:00:08 +01:00
Git'Fellow 23e8b2d757 fix(setupchecks): Binary data can have problems with serialize
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-01-10 08:01:39 +00:00
Nextcloud bot d256713c3d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-10 00:21:36 +00:00
Arthur Schiwon 1f0e8ecda9 Merge pull request #50097 from nextcloud/release/29.0.11_rc1
29.0.11 RC1
2025-01-09 12:23:04 +01:00
provokateurin d64c72ba2f docs(HTTP): Add proper docs for CORS attribute
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-09 11:06:17 +00:00
Arthur Schiwon 353866fa4a Merge pull request #50061 from nextcloud/backport/49966/stable29
[stable29] fix: block moving files to it's own parent with dav
2025-01-09 11:57:45 +01:00
Git'Fellow cf2b197a1f Merge pull request #49675 from nextcloud/backport/49262/stable29
[stable29] fix: don't do same-storage move optimization with encryption wrappers
2025-01-09 09:50:47 +01:00
Robin Appelman bb3e6ea9d9 fix: don't do same-storage move optimization with encryption wrappers
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-09 09:32:16 +01:00
Robin Appelman 0dc754bb00 fix: block moving files to it's own parent with dav
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-09 09:22:29 +01:00
Kate a9d1d3440d Merge pull request #49614 from nextcloud/backport/49569/stable29 2025-01-09 08:01:32 +01:00
Git'Fellow 359dc62233 Merge pull request #49655 from nextcloud/backport/48769/stable29
[stable29] Fix incorrect permissions when copying shared files
2025-01-09 07:48:17 +01:00
Robin Appelman 11a3593243 perf: improve performance of SharedStorage::getWatcher
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-09 07:45:22 +01:00
Robin Appelman 926b9d37c5 perf: improve performance of SharedStorage::getWatcher
Signed-off-by: Robin Appelman <robin@icewind.nl>

[skip ci]
2025-01-09 07:45:22 +01:00
Nextcloud bot eb9805dc93 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-09 00:21:44 +00:00
Arthur Schiwon 6fc5389004 build(hub): 29.0.11 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-01-08 18:10:12 +01:00
John Molakvoæ 129cfb0269 Merge pull request #49425 from nextcloud/backport/49271/stable29
[stable29] fix(files): Make injected actions reactive
2025-01-08 11:39:38 +01:00
Nextcloud bot 5e80c08069 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-08 00:21:28 +00:00
Andy Scherzinger f83356d536 Merge pull request #50080 from nextcloud/backport/50051/stable29
[stable29] fix(preview): Do not try to parse M3U files as MP3
2025-01-07 21:05:01 +01:00
Pauli Järvinen 6baaa61fff fix(preview): Do not try to parse M3U files as MP3
By default, the MP3 audio files get the mimetype `audio/mpeg` and the M3U and
M3U8 playlist files get the mimetype `audio/mpegurl`. PreviewManager had such
a problem that it registered the MP3 preview provider with a regular
expression which matched also the M3U files. This caused an error message to
be logged on the info (1) level for each M3U file every time a folder with
such files was viewed: "Error while getting cover from mp3 file:
File /path/to/some/playlist.m3u is not mpeg/audio!".

Signed-off-by: Pauli Järvinen <pauli.jarvinen@gmail.com>
2025-01-07 19:08:07 +00:00
Andy Scherzinger d2b2c24e4d Merge pull request #50063 from nextcloud/backport/49962/stable29
[stable29] Clarify installation wording to be clear that it is about account creation
2025-01-07 12:25:20 +01:00
Jan C. Borchardt 3e1ac491ac fix(setup): clarify installation wording to be clear that it is about account creation
Signed-off-by: Jan C. Borchardt <925062+jancborchardt@users.noreply.github.com>
2025-01-07 09:48:07 +00:00
John Molakvoæ 1c0ef6fada Merge pull request #50027 from nextcloud/backport/50025/stable29
[stable29] fix(cypress): flaky live photo test grid_view trigger issue
2025-01-07 10:43:48 +01:00
skjnldsv 47cb9bbfa8 chore: enable cypress video recording in debug mode
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-07 10:03:23 +01:00
Kate 9196d47945 Merge pull request #50057 from nextcloud/backport/50035/stable29 2025-01-07 08:35:29 +01:00
provokateurin f379188b21 fix(HTTP): Adjust JSONResponse data type
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-07 05:40:50 +00:00
Nextcloud bot 6163b64566 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-07 00:21:14 +00:00
Nextcloud bot 955058eb69 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-06 00:30:45 +00:00
dependabot[bot] 7b1bc3a939 Merge pull request #49775 from nextcloud/dependabot/npm_and_yarn/stable29/pinia/testing-0.1.7 2025-01-05 10:55:03 +00:00
nextcloud-command a8998eff6a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-05 10:40:33 +00:00
dependabot[bot] 62f4e4244a chore(deps-dev): bump @pinia/testing from 0.1.3 to 0.1.7
Bumps [@pinia/testing](https://github.com/vuejs/pinia) from 0.1.3 to 0.1.7.
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/@pinia/testing@0.1.3...@pinia/testing@0.1.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-05 11:30:33 +01:00
Nextcloud bot 8466d3d399 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-05 00:21:34 +00:00
dependabot[bot] f77cb0cb34 Merge pull request #49767 from nextcloud/dependabot/npm_and_yarn/stable29/moment-timezone-0.5.46 2025-01-04 20:08:20 +00:00
nextcloud-command 30cd48c9fe chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-04 19:52:17 +00:00
dependabot[bot] da4c2021bc chore(deps): bump moment-timezone from 0.5.45 to 0.5.46
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.45 to 0.5.46.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.45...0.5.46)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-04 20:46:39 +01:00
dependabot[bot] f74feaee6c Merge pull request #50038 from nextcloud/dependabot/npm_and_yarn/stable29/vueuse/integrations-10.11.1 2025-01-04 17:29:16 +00:00
dependabot[bot] a191a2c828 chore(deps): bump @vueuse/integrations from 10.11.0 to 10.11.1
Bumps [@vueuse/integrations](https://github.com/vueuse/vueuse/tree/HEAD/packages/integrations) from 10.11.0 to 10.11.1.
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v10.11.1/packages/integrations)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-04 17:14:07 +00:00
dependabot[bot] 47e7cd1de6 Merge pull request #50039 from nextcloud/dependabot/npm_and_yarn/stable29/mime-4.0.6 2025-01-04 16:23:58 +00:00
dependabot[bot] 015e11399c chore(deps-dev): bump mime from 4.0.4 to 4.0.6
Bumps [mime](https://github.com/broofa/mime) from 4.0.4 to 4.0.6.
- [Release notes](https://github.com/broofa/mime/releases)
- [Changelog](https://github.com/broofa/mime/blob/main/CHANGELOG.md)
- [Commits](https://github.com/broofa/mime/compare/v4.0.4...v4.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-04 16:10:12 +00:00
Nextcloud bot 6ce2cce113 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-04 00:21:57 +00:00
Marcel Müller b6d2267125 Merge pull request #50022 from nextcloud/backport/50017/stable29
[stable29] chore(ci): Run kerberos tests on ubuntu-latest
2025-01-03 20:13:54 +01:00
dependabot[bot] ef143c4439 Merge pull request #49946 from nextcloud/dependabot/npm_and_yarn/stable29/types/jest-29.5.14 2025-01-03 08:46:10 +00:00
dependabot[bot] 413f263184 chore(deps-dev): bump @types/jest from 29.5.12 to 29.5.14
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.5.12 to 29.5.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-03 08:29:10 +00:00
dependabot[bot] f0f5417291 Merge pull request #49947 from nextcloud/dependabot/npm_and_yarn/stable29/nextcloud/cypress-1.0.0-beta.12 2025-01-03 08:24:38 +00:00
dependabot[bot] 5bb5026c17 chore(deps-dev): bump @nextcloud/cypress
Bumps [@nextcloud/cypress](https://github.com/nextcloud/nextcloud-cypress) from 1.0.0-beta.8 to 1.0.0-beta.12.
- [Release notes](https://github.com/nextcloud/nextcloud-cypress/releases)
- [Commits](https://github.com/nextcloud/nextcloud-cypress/compare/v1.0.0-beta.8...v1.0.0-beta.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-03 07:56:05 +00:00
Marcel Müller f03eb6fc85 chore(ci): Run kerberos tests on ubuntu-latest
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-01-03 07:55:37 +00:00
Nextcloud bot 96b9811cf2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-03 00:21:49 +00:00
John Molakvoæ 22a3b85ad7 Merge pull request #50013 from nextcloud/backport/49974/stable29 2025-01-02 12:27:00 +01:00
skjnldsv 471af62c5d fix(federatedfilesharing): fix notification typo
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-02 10:51:11 +00:00
Nextcloud bot fa773466fc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-02 00:21:47 +00:00
Joas Schilling 77c143d8f3 Merge pull request #50003 from nextcloud/automated/noid/stable29-update-ca-cert-bundle
[stable29] fix(security): Update CA certificate bundle
2025-01-01 09:37:18 +01:00
nextcloud-command 5204363cd4 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-01-01 02:33:13 +00:00
Nextcloud bot dea977e712 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-31 00:21:28 +00:00
Nextcloud bot 22be0a598c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-30 00:21:47 +00:00
Nextcloud bot fa9306f6cc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-29 00:21:28 +00:00
Nextcloud bot 5b390d0627 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-28 00:21:46 +00:00
Nextcloud bot 1f10df0392 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-27 00:21:45 +00:00
Nextcloud bot 42a781d2a1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-26 00:21:55 +00:00
nextcloud-command d6f68698b0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-25 07:12:55 +00:00
Git'Fellow a69d797afb Fix backport conflicts
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-12-25 08:08:40 +01:00
Git'Fellow 9022f6e117 Merge branch 'stable29' into backport/49271/stable29
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-12-25 08:07:07 +01:00
Nextcloud bot 245f1c0a4c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-25 00:22:19 +00:00
Nextcloud bot 103a495957 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-24 00:21:44 +00:00
Nextcloud bot 8c432f5e52 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-23 00:21:28 +00:00
Nextcloud bot 90e7b77256 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-22 00:21:58 +00:00
Nextcloud bot 73d80c847f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-21 00:22:01 +00:00
Kate 25c4398a0b Merge pull request #49938 from nextcloud/backport/49936/stable29
[stable29] fix: Create empty file instead of file with a space
2024-12-20 13:29:27 +01:00
Julius Knorr afb4224b67 fix: Create empty file instead of file with a space
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-12-20 12:14:09 +00:00
Joas Schilling 08713db193 Merge pull request #49593 from nextcloud/backport/49588/stable29
[stable29] fix(setupcheck): Make the Memcache setupcheck use the cache
2024-12-20 11:15:34 +01:00
Luka Trovic d7b4ec80d3 Merge pull request #49927 from nextcloud/backport/49629/stable29
[stable29] fix: promote re-shares when deleting the parent share
2024-12-20 07:13:54 +01:00
Nextcloud bot 669415bf18 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-20 00:21:59 +00:00
Côme Chilliet 56a5350806 chore: Remove syntax incompatible with PHP 8.0
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-19 15:50:23 +01:00
Joas Schilling e3c1eb6935 fix(setupcheck): Make the Memcache setupcheck use the cache
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-12-19 15:36:24 +01:00
Côme Chilliet 97800c555d fix: Use getRelativePath method to check if node is inside folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-19 14:16:48 +00:00
Côme Chilliet e1a23cf0a7 fix: Fix promotion of reshares from subsubfolders
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-19 14:16:48 +00:00
Côme Chilliet 6582128d48 fix(tests): Revert changes to tests now that reshares are not deleted but promoted
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-19 14:16:48 +00:00
Côme Chilliet 0ee5c781f7 fix(tests): Fix share tests to test new reshare promotion system
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-19 14:16:48 +00:00
Côme Chilliet 7370a585c1 chore: Add comment to make code clearer
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-19 14:16:48 +00:00
Côme Chilliet 1b9896f7a9 chore: Turn method description into phpdoc
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2024-12-19 14:16:48 +00:00
Côme Chilliet 0132840c9b fix(shares): Promote reshares into direct shares when share is deleted
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-19 14:16:48 +00:00
Côme Chilliet 8ae7c031b3 fix: Transfer incomming shares first, do not delete non-migratable ones
Canceling the previous add of deletion of invalid shares in
 transferownership because in some cases it deletes valid reshares, if
 incoming shares are not transfered on purpose.
Inverting the order of transfer between incoming and outgoing so that
 reshare can be migrated when incoming shares are transfered.

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

Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
(cherry picked from commit 42181c2f49)
2024-12-19 14:16:47 +00:00
Nextcloud bot 8de467c60e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-19 00:21:49 +00:00
Nextcloud bot 521ac90fc6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-18 00:22:38 +00:00
Kate cf21c86d30 Merge pull request #49901 from nextcloud/backport/49900/stable29
[stable29] fix: make sure we have a valid scheme when testing ocm urls
2024-12-17 18:04:34 +01:00
skjnldsv fd558fd62e fix: make sure we have a valid scheme when testing ocm urls
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-17 15:47:54 +00:00
Kate 4f74901eda Merge pull request #49893 from nextcloud/backport/49880/stable29
[stable29] fix(View): Catch exceptions when executing mkdir for non-existent parents
2024-12-17 10:59:52 +01:00
provokateurin 9a728db531 fix(View): Catch exceptions when executing mkdir for non-existent parents
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-17 09:38:46 +00:00
Nextcloud bot 29d950baac Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-17 00:21:29 +00:00
Kate 7290a93e09 Merge pull request #49836 from nextcloud/backport/49822/stable29
[stable29] fix(files_sharing): Fix error messages from password policy
2024-12-16 16:36:17 +01:00
Git'Fellow 2fae31fab7 Merge pull request #49876 from nextcloud/backport/49451/stable29
[stable29] fix(TemplateManager): Make sure TemplateFolder is a Folder
2024-12-16 08:27:32 +01:00
Git'Fellow c085c1bc45 fix(TemplateManager): Make sure TemplateFolder is a Folder
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-12-16 06:04:02 +00:00
Joas Schilling 0fe1a770d8 Merge pull request #49668 from nextcloud/backport/47515/stable29
[stable29] fix(migration): Correctly sort migrations by version number
2024-12-16 06:39:30 +01:00
Nextcloud bot 7d5b288d24 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-16 00:21:38 +00:00
John Molakvoæ b17e692787 Merge pull request #49283 from nextcloud/backport/49225/stable29 2024-12-15 21:30:21 +01:00
nextcloud-command 04fe5e38d7 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-15 13:00:59 +00:00
skjnldsv 602b5efb4a fix(files): ensure valid mtime and fallback to crtime if defined
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-15 13:53:53 +01:00
Nextcloud bot 422251e121 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-15 00:21:31 +00:00
Sebastian Krupinski 75d6faf241 Merge pull request #49854 from nextcloud/backport/49528/stable29
[stable29] fix: replace null character when serializing
2024-12-14 09:53:42 -05:00
Robin Appelman e2510ed977 test: add test for permissions of copied share
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-14 15:18:10 +01:00
dependabot[bot] eff4777509 Merge pull request #49861 from nextcloud/dependabot/npm_and_yarn/stable29/testing-library/jest-dom-6.4.8 2024-12-14 04:03:21 +00:00
dependabot[bot] 84ed64c8f4 Merge pull request #49860 from nextcloud/dependabot/npm_and_yarn/stable29/cypress-split-1.24.7 2024-12-14 03:59:04 +00:00
dependabot[bot] 43d54a39ad chore(deps-dev): bump @testing-library/jest-dom from 6.4.2 to 6.4.8
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.4.2 to 6.4.8.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.4.2...v6.4.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-14 03:18:46 +00:00
dependabot[bot] 32277b1d47 chore(deps-dev): bump cypress-split from 1.24.0 to 1.24.7
Bumps [cypress-split](https://github.com/bahmutov/cypress-split) from 1.24.0 to 1.24.7.
- [Release notes](https://github.com/bahmutov/cypress-split/releases)
- [Commits](https://github.com/bahmutov/cypress-split/compare/v1.24.0...v1.24.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-14 03:18:16 +00:00
SebastianKrupinski 2edb8194d6 fix: replace null character when serializing
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-13 22:00:46 -05:00
Nextcloud bot 063ce54884 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-14 00:21:52 +00:00
Sebastian Krupinski f70ee80920 Merge pull request #49850 from nextcloud/backport/49839/stable29
[stable29] fix: return 204 instead of 404
2024-12-13 16:47:50 -05:00
SebastianKrupinski 69d655d164 fix: return 204 instead of 404
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-13 17:33:21 +00:00
Benjamin Gaussorgues f7020aa5c7 Merge pull request #49845 from nextcloud/backport/49843/stable29 2024-12-13 13:25:34 +01:00
Benjamin Gaussorgues abd8b1645c fix(files_external): wrong type for external mount id
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-12-13 10:30:52 +00:00
Nextcloud bot 0b06132770 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-13 00:21:19 +00:00
Luka Trovic cd29bafc65 Merge pull request #49613 from nextcloud/backport/43025/stable29
[stable29] fix: Add command to update re-share if shared-by user has been revoked
2024-12-12 21:56:05 +01:00
Luka Trovic d09482e116 fix(sharing): add command to fix broken shares after ownership transferring
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2024-12-12 21:35:49 +01:00
Côme Chilliet a5017fc0d3 fix(tests): Adapt ManagerTest to change in Exception class used
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-12 20:15:35 +00:00
Côme Chilliet cda5453fc6 fix(shares): Wrap exceptions from password validation to set code to 400
This fixes a regression that bad password returned 403 instead of 400
 because of previous changes.

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

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

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-12 20:15:35 +00:00
John Molakvoæ c01d323dfb Merge pull request #49791 from nextcloud/backport/49685/stable29
[stable29] fix(files): failsafe when executing actions methods
2024-12-12 18:17:52 +01:00
John Molakvoæ be7b05087b Merge pull request #49617 from nextcloud/backport/49232/stable29
[stable29] Add an error log message that notifications app isn't enabled at file…
2024-12-12 16:46:27 +01:00
nextcloud-command a976696082 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-12 16:42:20 +01:00
skjnldsv 60b1271416 fix(files): failsafe when executing actions methods
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 16:42:20 +01:00
John Molakvoæ c3caf1c6d2 Merge pull request #49654 from nextcloud/backport/49551/stable29
[stable29] fix: don't propagate future mtimes
2024-12-12 13:22:31 +01:00
John Molakvoæ 7e1617cfcc Merge pull request #49652 from nextcloud/backport/49288/stable29
[stable29] fix: smb: don't fail hard if we can't load acls for a file
2024-12-12 13:21:56 +01:00
John Molakvoæ 9ab6ea8809 Merge pull request #49623 from nextcloud/backport/49602/stable29
[stable29] fix(external_storage): Cast id to int
2024-12-12 13:18:47 +01:00
John Molakvoæ c5a8daeda8 Merge pull request #49816 from nextcloud/backport/49815/stable29 2024-12-12 12:04:22 +01:00
nextcloud-command cfa1be5527 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-12 09:35:31 +00:00
skjnldsv ac5c3fe10b fix(files_sharing): also submit new share on password submit
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 09:29:11 +00:00
Kate 608f7c1223 Merge pull request #49793 from nextcloud/backport/40394/stable29 2024-12-12 07:56:09 +01:00
Nextcloud bot f0cf89ef50 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-12 00:21:39 +00:00
John Molakvoæ 907b44af4b Merge pull request #49808 from nextcloud/backport/49799/stable29
[stable29] fix(files_sharing): Correct property enforced property names
2024-12-11 23:06:55 +01:00
nextcloud-command 588d251308 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-11 20:58:27 +00:00
nfebe 996fd0dc8c fix(files_sharing): Correct property enforced property names
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2024-12-11 21:52:11 +01:00
John Molakvoæ c4605261d9 Merge pull request #49806 from nextcloud/backport/49803/stable29 2024-12-11 21:06:08 +01:00
nextcloud-command c4fd93427b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-11 19:49:15 +00:00
skjnldsv dadab6ed14 fix(files): throttle favorite with max 5 simultaneous requests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-11 19:39:59 +00:00
Kate a793438b0d Merge pull request #49783 from nextcloud/backport/49747/stable29
[stable29] Disable/hide share edit options when user can not edit the share
2024-12-11 10:30:16 +01:00
Robin Appelman f8ad3d6cc9 fix: fix mimetype not being updated when changing file extention on object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-11 09:00:37 +00:00
nextcloud-command 32b2a5995c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-11 07:53:14 +00:00
provokateurin 50d673a0a9 fix(SharingEntryQuickShareSelect): Disable quick share select if user can not edit share
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-11 08:41:33 +01:00
provokateurin 186800a843 fix(SharingEntry): Hide edit button if user can not edit share
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-11 08:41:33 +01:00
John Molakvoæ c1451b2ab1 Merge pull request #49779 from nextcloud/backport/49503/stable29 2024-12-11 08:38:20 +01:00
Nextcloud bot 274c98da9b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-11 00:21:54 +00:00
John Molakvoæ 70fe12a324 Merge pull request #49764 from nextcloud/dependabot/npm_and_yarn/stable29/nextcloud/upload-1.7.1 2024-12-10 20:03:06 +01:00
SebastianKrupinski f186279bf4 fix: disable both iTip and iMip messages
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-10 13:29:47 -05:00
nextcloud-command 1385b2da58 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-10 18:00:48 +00:00
dependabot[bot] c2f832739b chore(deps): bump @nextcloud/upload from 1.7.0 to 1.7.1
Bumps [@nextcloud/upload](https://github.com/skjnldsv/nextcloud-upload) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/skjnldsv/nextcloud-upload/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-upload/blob/main/CHANGELOG.md)
- [Commits](https://github.com/skjnldsv/nextcloud-upload/compare/v1.7.0...v1.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-10 17:29:09 +00:00
John Molakvoæ c69df62a4b Merge pull request #49609 from nextcloud/backport/49398/stable29 2024-12-10 15:05:13 +01:00
nextcloud-command 011aef5a8b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-10 13:49:00 +00:00
skjnldsv 709b05e77d fix(jest): nextcloud/files Node structuredClone
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-10 14:38:26 +01:00
skjnldsv da33159f1e fix(files): dav Node type declaration
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-10 14:37:44 +01:00
skjnldsv 8d4566609e chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-10 14:09:06 +01:00
skjnldsv 97d60e4816 chore: update @nextcloud/files to 3.10.0
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-10 13:58:31 +01:00
skjnldsv 744163359f fix(files): properly update paths and folder children on node move
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-10 13:58:07 +01:00
John Molakvoæ 39fc644cd8 Merge pull request #49751 from nextcloud/backport/49693/stable29 2024-12-10 13:53:35 +01:00
nextcloud-command f578234039 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-10 12:40:23 +00:00
skjnldsv b51e7b42fd fix(files): cancel renaming on enter if no file name changes
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-10 10:55:00 +00:00
Nextcloud bot e3b10c76ea Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-10 00:21:23 +00:00
F. E Noel Nfebe 62a2e15a97 Merge pull request #49723 from nextcloud/backport/49442/stable29
[stable29] fix(files_sharing): Stop infinite loop blocking link share requests
2024-12-09 14:25:36 +01:00
Robin Appelman cd8694493e fix: use scan_permissions when copying cache items
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-09 13:47:27 +01:00
Robin Appelman fb71c41823 fix: store unmaked source permissions as scan_permissions when loading share cache items
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-09 13:47:27 +01:00
nextcloud-command 3e91c761ee chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-09 06:58:07 +00:00
nfebe 3c1f8bd431 fix(files_sharing): Stop infinite loop blocking link share requests
Fixes infinite loop preventing share link creation requests
from being sent to the backend.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2024-12-09 02:09:52 +01:00
fenn-cs a974ce6fb3 fix(SharingEntryLink): Show default password before create if any
Prevent silent addition of expiration date to shares.

Prevent silent addition for password to shares.

Both now have a `shareRequiresReview` check

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-12-09 02:09:38 +01:00
Nextcloud bot 5131cb0af1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-09 00:21:32 +00:00
Nextcloud bot 3944141618 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-08 00:37:04 +00:00
dependabot[bot] 60567864ce Merge pull request #49703 from nextcloud/dependabot/npm_and_yarn/stable29/vue-material-design-icons-5.3.1 2024-12-07 11:18:56 +00:00
nextcloud-command cc5b22a339 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-07 10:52:56 +00:00
dependabot[bot] 682c1e7552 chore(deps): bump vue-material-design-icons from 5.3.0 to 5.3.1
Bumps [vue-material-design-icons](https://github.com/robcresswell/vue-material-design-icons) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/robcresswell/vue-material-design-icons/releases)
- [Changelog](https://github.com/robcresswell/vue-material-design-icons/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/robcresswell/vue-material-design-icons/compare/5.3.0...5.3.1)

---
updated-dependencies:
- dependency-name: vue-material-design-icons
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-07 10:47:05 +00:00
dependabot[bot] b2c06aea35 Merge pull request #49706 from nextcloud/dependabot/npm_and_yarn/stable29/underscore-1.13.7 2024-12-07 10:37:01 +00:00
nextcloud-command 0df6b76756 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-07 10:12:47 +00:00
dependabot[bot] 0aec31b23e Merge pull request #49702 from nextcloud/dependabot/npm_and_yarn/stable29/cypress-if-1.12.6 2024-12-07 10:06:58 +00:00
dependabot[bot] 3a13707014 chore(deps): bump underscore from 1.13.6 to 1.13.7
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.13.6 to 1.13.7.
- [Commits](https://github.com/jashkenas/underscore/compare/1.13.6...1.13.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-07 10:02:54 +00:00
dependabot[bot] 2c4351bb7f Merge pull request #49705 from nextcloud/dependabot/npm_and_yarn/stable29/core-js-3.37.1 2024-12-07 09:40:50 +00:00
nextcloud-command a6e3730831 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-07 09:28:11 +00:00
dependabot[bot] 44b9747b29 chore(deps-dev): bump cypress-if from 1.12.5 to 1.12.6
Bumps [cypress-if](https://github.com/bahmutov/cypress-if) from 1.12.5 to 1.12.6.
- [Release notes](https://github.com/bahmutov/cypress-if/releases)
- [Commits](https://github.com/bahmutov/cypress-if/compare/v1.12.5...v1.12.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-07 03:17:18 +00:00
dependabot[bot] 5c828da717 Merge pull request #49704 from nextcloud/dependabot/npm_and_yarn/stable29/cypress-13.13.3 2024-12-07 03:15:58 +00:00
dependabot[bot] fd03ba3d0e chore(deps): bump core-js from 3.37.0 to 3.37.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.37.0 to 3.37.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.37.1/packages/core-js)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-07 02:24:05 +00:00
dependabot[bot] 08a600a6b2 chore(deps-dev): bump cypress from 13.13.2 to 13.13.3
Bumps [cypress](https://github.com/cypress-io/cypress) from 13.13.2 to 13.13.3.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v13.13.2...v13.13.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-07 02:23:30 +00:00
Nextcloud bot 954ea85fa5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-07 00:21:40 +00:00
Marcel Klehr ca38feb76d Merge pull request #49467 from nextcloud/backport/49464/stable29
[stable29] fix(external_storage): Cast id to int
2024-12-06 08:39:01 +01:00
Kate ccedc0abd5 Merge pull request #49596 from nextcloud/backport/49581/stable29
[stable29] chore(absence): Add capability
2024-12-06 08:15:43 +01:00
Nextcloud bot cbedae6983 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-06 00:22:37 +00:00
Marcel Müller 5e01fcc1ca chore(absence): Add capability for absence api
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-12-05 23:30:57 +01:00
Joas Schilling c2ff28da8c Merge pull request #49590 from nextcloud/backport/49587/stable29
[stable29] fix(maintenance): Show a success message on data-fingerprint command
2024-12-05 21:30:44 +01:00
Joas Schilling 3ab7ad2d13 Merge pull request #49679 from nextcloud/backport/49677/stable29
[stable29] fix(db): Create the systag_by_objectid index for new installations
2024-12-05 21:22:55 +01:00
Christoph Wurst b4ffb8a4b5 fix(db): Create the systag_by_objectid index for new installations
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-12-05 18:19:03 +00:00
Marcel Klehr e876c8fff1 fix(external_storage): Cast id to int
follow up to #49218

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-12-05 15:27:41 +01:00
Arthur Schiwon f6eee85d20 Merge pull request #49666 from nextcloud/release/29.0.10
29.0.10
2024-12-05 13:23:24 +01:00
Joas Schilling 0772605d7c fix(migration): Make compatible with PHP 8.0
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-12-05 12:08:16 +01:00
Arthur Schiwon 7e02beced3 build(hub): 29.0.10
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-12-05 12:05:30 +01:00
Joas Schilling 18be414641 fix(migration): Correctly sort migrations by version number
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-12-05 12:05:23 +01:00
Nextcloud bot fe83dbf24e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-05 00:43:56 +00:00
Robin Appelman ef8f2155cb fix: don't propagate future mtimes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-04 19:12:30 +00:00
Robin Appelman 8f76edf64a fix: smb: don't fail hard if we can't load acls for a file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-04 17:25:51 +00:00
Joas Schilling fc278e15cb Merge pull request #49641 from nextcloud/backport/49633/stable29
[stable29] fix(setupcheck): Disable PhpMaxFileSize setupcheck for now
2024-12-04 09:50:26 +01:00
Joas Schilling 42f8482c1b fix(setupcheck): Disable PhpMaxFileSize setupcheck for now
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-12-04 08:04:37 +00:00
Nextcloud bot 244309d011 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-04 00:21:43 +00:00
Oleksander Piskun e25bb2f0b3 fix(external_storage): Cast id to int 2024-12-03 13:00:45 +00:00
Faisal Alghamdi 72fbfa579b Fix(files_reminders): Add an error log message that notifications app isn't enabled at files_reminders app load.
Signed-off-by: Faisal Alghamdi <falghamdi125@gmail.com>
2024-12-03 09:56:15 +00:00
Joas Schilling d7d1fb6aca fix(maintenance): Show a success message on data-fingerprint command
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-12-02 08:20:48 +00:00
Nextcloud bot fbfe30716b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-02 00:21:59 +00:00
Nextcloud bot f1b82bc625 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-01 00:22:46 +00:00
Nextcloud bot ba208c6d84 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-30 00:21:24 +00:00
Nextcloud bot 92c466e6eb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-29 00:21:26 +00:00
John Molakvoæ 3e60da8169 Merge pull request #49525 from nextcloud/release/29.0.10_rc1 2024-11-28 15:18:18 +01:00
Benjamin Gaussorgues a065dc0c76 Merge pull request #49543 from nextcloud/backport/49541/stable29 2024-11-28 13:56:24 +01:00
Joas Schilling 5eb3534d7e Merge pull request #49536 from nextcloud/backport/49523/stable29
[stable29] fix(migration): Decrypt ownCloud secrets v2
2024-11-28 13:49:32 +01:00
Benjamin Gaussorgues e39137de2d chore: stricter access to testremote endpoint
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-11-28 10:48:18 +00:00
Daniel b1ffafc1dd Merge pull request #49496 from nextcloud/backport/49494/stable29
[stable29] fix: throw correct exception type when we can't verify if an s3 bucket exists
2024-11-28 10:40:20 +01:00
Christoph Wurst e6738874a7 fix(migration): Decrypt ownCloud secrets v2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-11-28 09:44:56 +01:00
Nextcloud bot a0ae6404cb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-28 00:24:28 +00:00
skjnldsv 1f2d3df945 build(hub): 29.0.10 RC1
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-27 22:02:17 +01:00
Joas Schilling a8b4d242e0 Merge pull request #49512 from nextcloud/automated/noid/stable29-update-ca-cert-bundle
[stable29] fix(security): Update CA certificate bundle
2024-11-27 06:47:43 +01:00
nextcloud-command c3b317aa48 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2024-11-27 02:34:37 +00:00
Nextcloud bot 56079b918f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-27 00:21:29 +00:00
Robin Appelman e71880d63d test: attempt to fix smb sso test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-26 18:51:43 +01:00
Robin Appelman 27c04eb682 fix: fix availability wrapper not applying
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-26 18:45:52 +01:00
Robin Appelman d2230f8479 fix: throw correct exception type when we can't verify if an s3 bucket exists
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-26 18:45:46 +01:00
Nextcloud bot 852ae27343 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-26 00:21:47 +00:00
Richard Steinmetz bfec2d9a0e Merge pull request #49479 from nextcloud/backport/49454/stable29
[stable29] fix: invalid usage of IQueryBuilder::createNamedParameter()
2024-11-25 18:57:38 +01:00
Richard Steinmetz 699bbd0089 fix: improve oci compatibility when purging calendar invitations
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-11-25 17:01:47 +00:00
Richard Steinmetz ca412c651d fix: invalid usage of IQueryBuilder::createNamedParameter()
And fix a typo: chunck -> chunk

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-11-25 17:01:47 +00:00
Kate 7bebbc1e1f Merge pull request #49471 from nextcloud/backport/49311/stable29 2024-11-25 13:27:00 +01:00
provokateurin ef86927f9d fix(OCMDiscoveryService): Also cache error results during discovery
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-25 11:44:46 +00:00
Stephan Orbaugh 54b1d17d89 Merge pull request #49462 from nextcloud/backport/48600/stable29
[stable29] fix(BackgroundJobs): Adjust intervals and time sensitivities
2024-11-25 09:49:16 +01:00
Nextcloud bot a689185691 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-25 08:22:57 +00:00
provokateurin c8dbb119c7 fix(BackgroundJobs): Adjust intervals and time sensitivities
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-25 08:40:57 +01:00
provokateurin 9543ba3935 feat(TimedJob): Add debug log about time sensitive jobs with long intervals
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-25 08:40:40 +01:00
Nextcloud bot 815fe78cc5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-25 00:21:37 +00:00
Nextcloud bot c6bcff12aa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-24 00:21:18 +00:00
Richard Steinmetz 3687966e9d Merge pull request #49428 from nextcloud/backport/47832/stable29
[stable29] fix: (CalDav) Delete invitation link when deleting Calendars or Events
2024-11-23 16:58:57 +01:00
Git'Fellow f84a7a0cf4 Merge pull request #49424 from nextcloud/backport/49373/stable29
[stable29] fix(SetupChecks): Make sure array key is set
2024-11-23 02:36:14 +01:00
Nextcloud bot 46116d8408 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-23 00:21:55 +00:00
Nextcloud bot 686734afef Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-22 00:20:39 +00:00
SebastianKrupinski 60cc345561 fix: (CalDav) Delete invitation when deleting Calendars or Events
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-21 14:32:40 +00:00
nextcloud-command 49ddafa8ac chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-21 13:23:59 +00:00
Ferdinand Thiessen 0885d2d2e0 fix(files): Make injected actions reactive
Provided values are not reactive by default and by design,
we must need computed to make them reactive.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-21 13:23:59 +00:00
Git'Fellow 60d1ab252c fix(SetupChecks): Make sure array key is set
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-11-21 12:10:20 +00:00
Git'Fellow bf338092f4 Merge pull request #49409 from nextcloud/backport/49315/stable29
[stable29] fix(storage): Try to delete existing target
2024-11-21 08:42:44 +01:00
Git'Fellow 8ec775bc84 fix(storage): Try to delete existing target
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-11-21 07:41:54 +01:00
Git'Fellow fbbe84533e Merge pull request #49389 from nextcloud/backport/49332/stable29
[stable29] fix(job): Check if carddata is resource and read it to string
2024-11-21 05:44:00 +01:00
Nextcloud bot 947890fe0b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-21 00:21:45 +00:00
Nextcloud bot e18153a882 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-20 00:21:51 +00:00
John Molakvoæ 40f1b5f301 Merge pull request #49383 from nextcloud/backport/49372/stable29 2024-11-19 22:37:21 +01:00
Ferdinand Thiessen d5970807ce Merge pull request #49345 from nextcloud/backport/49203/stable29
[stable29] fix(files): Allow downloading multiple nodes not from same base
2024-11-19 20:47:13 +01:00
nextcloud-command ad38fa9686 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-19 19:31:12 +00:00
Ferdinand Thiessen 4b7014d805 fix(files): Allow downloading multiple nodes not from same base
When downloading files in e.g. the *favorites* or *recent* view,
then the nodes are not always share the same parent folder
and we can not use the current directory as it is probably just a
virtual one.

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

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-19 20:24:58 +01:00
Mikhail Kotelnikov 89d43acdbc fix(job): Check if carddata is resource and read it to string
Fixes nextcloud/server#46100

Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Mikhail Kotelnikov <fox@woland.me>
2024-11-19 18:31:18 +00:00
skjnldsv e3f5b721c6 fix(settings): psalm PhpMaxFileSize setup check warning
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-19 19:08:19 +01:00
skjnldsv 2cb56e2f1a feat(settings): add big file upload setup checks
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-19 16:23:47 +00:00
John Molakvoæ 42ca32b085 Merge pull request #49368 from nextcloud/backport/49199/stable29 2024-11-19 12:58:22 +01:00
Richard Steinmetz 43b0df9b65 fix(files): improve delete display name when trashbin is disabled
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-11-19 11:59:01 +01:00
Nextcloud bot bc8d4328c3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-19 00:21:26 +00:00
Nextcloud bot d017bd73a2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-18 00:20:58 +00:00
Nextcloud bot 51cba4622c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-17 00:21:02 +00:00
Nextcloud bot fcc568d175 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-16 00:21:43 +00:00
Kate 3471c0a762 Merge pull request #49309 from nextcloud/backport/49130/stable29 2024-11-15 17:47:14 +01:00
Ferdinand Thiessen a7346ef38c fix: Do not check for strict cookie when running webcron
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-15 12:26:22 +00:00
Sebastian Krupinski ae59aba780 Merge pull request #49270 from nextcloud/backport/48583/stable29
[stable29] fix: override iTip Broker to fix several issues
2024-11-14 19:59:40 -05:00
Nextcloud bot 1b6a05f3a0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-15 00:21:46 +00:00
SebastianKrupinski 106d9ead9f fix: override iTip Broker to fix several issues
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-14 10:56:42 -05:00
Sebastian Krupinski defe57ec5f Merge pull request #49266 from nextcloud/3rdparty/stable29/sabre-dav-itip-broker
[stable29] chore(deps): Add SabreDav Patch for iTip Broker
2024-11-14 09:31:36 -05:00
SebastianKrupinski ac27923c29 chore(deps): Add SabreDav Patch for iTip Broker
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-14 08:51:38 -05:00
Côme Chilliet 0696ec12d5 Merge pull request #49278 from nextcloud/backport/48675/stable29
[stable29] DNS: do not query CNAME if A succeeded already
2024-11-14 14:21:04 +01:00
Richard Steinmetz eedf7c44aa Merge pull request #49213 from nextcloud/backport/49196/stable29
[stable29] chore(github): Update groupware code owners
2024-11-14 12:34:06 +01:00
georglauterbach c559f62a36 fix: remove superflous line
Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
2024-11-14 10:46:13 +00:00
georglauterbach 487d19a0b3 fix: do not query CNAME if A succeeded already
Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
2024-11-14 10:46:13 +00:00
Nextcloud bot aaf43b9a05 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-14 00:22:56 +00:00
John Molakvoæ bfd31d4710 Merge pull request #49252 from nextcloud/chore/update-nc-libs-stable29
[stable29] chore: Update `@nextcloud/files` and `@nextcloud/update` libraries
2024-11-13 19:30:45 +01:00
Christoph Wurst 285d1c8c11 chore(github): Update groupware code owners
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-11-13 17:45:54 +01:00
Ferdinand Thiessen 9168db506f chore: Update @nextcloud/files and @nextcloud/update libraries
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-13 13:10:44 +00:00
John Molakvoæ fcd030887d Merge pull request #49179 from nextcloud/backport/49143/stable29 2024-11-13 11:49:07 +01:00
Richard Steinmetz 4b563e0c71 Merge pull request #49097 from nextcloud/backport/48933/stable29
[stable29] Clear pending two factor tokens also from configuration
2024-11-13 11:04:35 +01:00
Sebastian Krupinski c6216ec493 Merge pull request #49233 from nextcloud/backport/49139/stable29
[stable29] feat: Add X-NC-Disable-Scheduling property to allow skipping scheduling
2024-11-13 03:11:27 -05:00
Ferdinand Thiessen 8200522aae Merge pull request #49228 from nextcloud/backport/38630/stable29
[stable29] Fix remaining readdir() calls in loops with undesirable false evaluation potential
2024-11-13 04:35:26 +01:00
yemkareems 051af1a8b9 fix: conflicts resolved in apps.php loadDirectory
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-11-13 08:34:39 +05:30
Josh Richards ce3cec9681 fix: Clean-up some remaining readdir calls with undesirable false evaluation potential
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>

[skip ci]
2024-11-13 08:34:23 +05:30
Nextcloud bot c8695772e4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-13 00:21:37 +00:00
nextcloud-command 17a6386d47 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-12 22:41:16 +00:00
skjnldsv a2a16936c3 fix(files): check that node is in user root folder for view-in-folder action
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-12 22:39:17 +00:00
SebastianKrupinski 643faff7d5 feat: Add X-NC-Disable-Scheduling property to allow skipping scheduling
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-12 15:41:43 +00:00
Andy Scherzinger 219c508fa3 Merge pull request #49206 from nextcloud/backport/48736/stable29
[stable29] fix: log a warning when we can't build a background job
2024-11-12 11:42:15 +01:00
John Molakvoæ b48355878b Merge pull request #49221 from nextcloud/backport/49218/stable29 2024-11-12 11:25:08 +01:00
skjnldsv fc08dc2ac0 fix(files_external): cast storage id int
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-12 09:53:49 +00:00
John Molakvoæ 8d131e721a Merge pull request #49159 from nextcloud/backport/49146/stable29 2024-11-12 10:36:17 +01:00
John Molakvoæ 6ee525f91e Merge pull request #49162 from nextcloud/backport/49150/stable29 2024-11-12 10:35:35 +01:00
Nextcloud bot e5e56eb95c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-12 00:23:10 +00:00
Robin Appelman 45d2147ac2 fix: log a warning when we can't build a background job
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-11 16:31:46 +00:00
Nextcloud bot 4e0eb99d1b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-11 00:21:47 +00:00
Nextcloud bot 8f9beae7b0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-10 00:23:35 +00:00
Nextcloud bot 69a7e06b1a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-09 00:22:29 +00:00
skjnldsv 68c4c4b953 fix(files): edit locally buttons
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-08 18:20:18 +01:00
John Molakvoæ d6ad9202fe Merge pull request #49156 from nextcloud/backport/49153/stable29 2024-11-08 18:14:57 +01:00
skjnldsv 4de68a9d09 fix(files_sharing): note icon color on public pages
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-08 16:39:45 +00:00
Victor Dubiniuk e9699a5a55 Fix Undefined variable: response notice in case of non-404 error
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-08 16:12:15 +00:00
Kate 6da3286e8a Merge pull request #49137 from nextcloud/backport/49112/stable29 2024-11-08 08:26:14 +01:00
Nextcloud bot 142e331833 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-08 00:22:05 +00:00
provokateurin 7e057082cc fix(theming): Return default theme if the user never selected a theme
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-07 19:15:18 +00:00
Ferdinand Thiessen 6b2ea4f0df Merge pull request #48797 from nextcloud/backport/48425/stable29
[stable29] fix(files): Ensure renaming state is correctly reset
2024-11-07 17:51:36 +01:00
Ferdinand Thiessen ca839663d8 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-07 17:37:48 +01:00
Ferdinand Thiessen 42c5900e11 test: Adjust Cypress setup to support mainline JS syntax
TODO: Drop when we support Node 22.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-07 17:37:44 +01:00
Ferdinand Thiessen 533c5e2aa4 fix(files): Ensure renaming state is correctly reset
Problem: Is a node is renamed and the new name is out of the current
visible list of nodes the component will be recycled, this means
the props will change, so when the `onRename` functions is about to reset
the state the `this.source` will point to a different node.

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

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-07 16:37:55 +01:00
Benjamin Gaussorgues b35875a225 Merge pull request #49119 from nextcloud/release/29.0.9 2024-11-07 09:51:21 +01:00
Benjamin Gaussorgues 96304b35e5 build(hub): 29.0.9
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-11-07 09:05:34 +01:00
Nextcloud bot c0e4549a8c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-07 00:25:58 +00:00
Nextcloud bot 27ccd8e373 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-06 00:20:34 +00:00
Benjamin Gaussorgues 56bbb65d0c Merge pull request #49092 from nextcloud/release/29.0.9_rc2 2024-11-05 14:38:36 +01:00
Daniel Calviño Sánchez 4d9cc7dd8d fix: Handle exception when clearing previously removed two factor tokens
If a token was already removed from the database but not from the
configuration clearing the tokens will try to remove it again from the
database, which caused a DoesNotExistException to be thrown.

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

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-11-05 10:49:31 +00:00
Benjamin Gaussorgues 424668d881 Merge pull request #49068 from nextcloud/backport/49065/stable29 2024-11-05 11:09:44 +01:00
Benjamin Gaussorgues c258d4716a Merge pull request #49095 from nextcloud/chore/nextcloud-dialogs-stable29 2024-11-05 11:08:31 +01:00
Benjamin Gaussorgues b42c7067e0 Merge pull request #49085 from nextcloud/backport/49076/stable29 2024-11-05 11:03:47 +01:00
Ferdinand Thiessen 421e4badef chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-05 10:37:51 +01:00
Ferdinand Thiessen 8ca3212509 chore(deps): Update @nextcloud/dialogs to v5.3.8
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-05 10:37:33 +01:00
Benjamin Gaussorgues 1936925ec7 build(hub): 29.0.9 RC2
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-11-05 10:10:59 +01:00
Nextcloud bot 94eb590894 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-05 00:21:34 +00:00
Joas Schilling 6a912e7afc fix(owncloud): Fix ownCloud migration with oauth2 app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-04 20:36:20 +00:00
Joas Schilling 12f24edba8 Merge pull request #49055 from nextcloud/backport/48684/stable29
[stable29] chore: request review from groupware when changing the card- and cald…
2024-11-04 16:09:48 +01:00
Joas Schilling 3d306ace6e chore: Fix maintainer of federation app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-04 11:59:36 +01:00
Marcel Müller 5abe0f1851 chore: Change Fenn-CS to nfebe
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-11-04 11:58:31 +01:00
Daniel Kesselberg bdeb9c42a8 chore: rename julius
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-11-04 11:58:10 +01:00
Daniel Kesselberg 6f97a033e4 chore: update groupware code owners
Ref https://github.com/nextcloud/groupware?tab=readme-ov-file#components-and-roles

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-11-04 11:56:11 +01:00
Marcel Klehr 47392f8caa chore: Update CODEOWNERS
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-11-04 11:55:28 +01:00
Simon L. fc7a38512e docs: update overwrite.cli.url wording
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-11-04 10:48:27 +00:00
Nextcloud bot d3ce21efc1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-04 00:20:35 +00:00
Nextcloud bot 3a42478a95 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-03 00:21:46 +00:00
Nextcloud bot daf16736db Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-02 00:20:37 +00:00
Nextcloud bot 0e7f4245c8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-01 00:20:35 +00:00
Benjamin Gaussorgues e674aa5ee4 Merge pull request #48995 from nextcloud/release/29.0.9_rc1 2024-10-31 16:13:31 +01:00
Louis 8b42f46c3d Merge pull request #48998 from nextcloud/backport/47986/stable29
[stable29] perf(ObjectStoreStorage): Improve (slow) move on same object bucket
2024-10-31 15:55:32 +01:00
Louis 6bf15d8f8d Merge pull request #49021 from nextcloud/backport/49017/stable29
[stable29] fix(ShareEntryLinkList): Append new links to the end of list
2024-10-31 15:26:31 +01:00
nextcloud-command 9fa1505db7 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-31 14:47:44 +01:00
fenn-cs 3fd15c6982 fix(ShareEntryLinkList): Append new links to the end of list
Currently new shares are added to beginning of the share list in the UI

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

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

disappears on refresh.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-10-31 14:44:38 +01:00
Côme Chilliet 74438f7f96 fix(tests): Fix most obvious errors in ObjectStore tests
Some are still failing

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-31 14:40:37 +01:00
Maxence Lange 2819181c25 Merge pull request #49029 from nextcloud/backport/49009/49009-stable29
[stable29] fix(files-external): set password as sensitive
2024-10-31 11:32:10 -01:00
Maxence Lange ae2906fa0f fix(files-external): set password as sensitive
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-10-31 10:47:09 -01:00
Git'Fellow 738ddd289c Merge pull request #48969 from nextcloud/backport/48766/stable29
[stable29] Fix disabled user list for subadmins
2024-10-31 08:09:41 +01:00
Côme Chilliet d07a92d859 fix(provisioning_api): Fix getting disabled users for group admins
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-31 07:51:26 +01:00
Côme Chilliet 794ab730e7 chore(provisioning_api): Add tests for getDisabledUserDetails
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-31 07:51:25 +01:00
Kate 979b91720d Merge pull request #49012 from nextcloud/backport/48991/stable29 2024-10-31 07:48:45 +01:00
Nextcloud bot 7c159937ae Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-31 00:20:54 +00:00
Daniel e25f205d6b Merge pull request #48471 from nextcloud/backport/48466/stable29
[stable29] ci: fail psalm when baseline update required
2024-10-30 17:51:56 +01:00
nextcloud-command 9c20e5c5bc chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-30 16:42:26 +00:00
Ferdinand Thiessen cbc328d675 fix(files_sharing): Password field must not be required if already set
If there is already a password, there is no need to require the password
in the setting ('newPassword'). It is only required for new shares.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-30 16:47:19 +01:00
Daniel Kesselberg 8469e1a499 chore: update psalm baseline
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-10-30 15:54:17 +01:00
Daniel Kesselberg 8523aad681 chore: update psalm
To ensure we have a stable baseline

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-10-30 15:35:31 +01:00
Daniel Kesselberg 79c6cd9e01 ci: fail psalm when baseline update required
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-10-30 15:35:31 +01:00
yemkareems f0bc87c261 Merge pull request #49006 from nextcloud/backport/48992/stable29
[stable29] fix: add PasswordConfirmationRequired to saveGlobalCredentials
2024-10-30 18:10:05 +05:30
Ferdinand Thiessen df946f4a1b Merge pull request #48700 from nextcloud/fix/cachebuster-stable30
[stable29] fix: Shipped apps should include the Nextcloud version in the cache buster
2024-10-30 13:10:40 +01:00
yemkareems 09a86b39a7 fix: resolve conflict add PasswordConfirmationRequired to saveGlobalCredentials
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-30 17:13:06 +05:30
yemkareems b6461001e4 fix: add PasswordConfirmationRequired to saveGlobalCredentials
Co-authored-by: yemkareems <yemkareems@gmail.com>

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

[skip ci]
2024-10-30 11:38:06 +00:00
Benjamin Gaussorgues d7622c7d11 Merge pull request #48745 from nextcloud/backport/46124/stable29 2024-10-30 12:24:29 +01:00
Ferdinand Thiessen 9500984446 fix: Shipped apps should include the Nextcloud version in the cache buster
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-30 10:29:13 +01:00
Benjamin Gaussorgues db1d71e322 Merge pull request #48473 from nextcloud/backport/47846/stable29 2024-10-30 10:07:37 +01:00
Benjamin Gaussorgues 31aa1fe4f5 Merge pull request #48488 from nextcloud/backport/48235/stable29 2024-10-30 09:59:56 +01:00
Christoph Fiehe 68b9972889 perf(ObjectStoreStorage): Improve (slow) move on same object bucket
This commit fixes the issue #47856. When you upload a file into a group folder and when you use a single S3 bucket as primary storage, the final move operation hangs for a long time. In the background, Nextcloud initiates a copy-delete sequence from the bucket into the bucket, with causes a lot unnecessary overhead. Nextcloud thinks that the file must be imported to another storage and does not recognize that everything is done on the same object bucket. In that case, the import step can be completely skipped, which saves time, network bandwidth and reduces the load on the object storage.

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

Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
2024-10-30 08:28:52 +00:00
Benjamin Gaussorgues f0029d85a6 Merge pull request #48980 from nextcloud/backport/48632/stable29 2024-10-30 09:01:30 +01:00
Benjamin Gaussorgues 4ce6362fa4 build(hub): 29.0.9 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-10-30 08:34:46 +01:00
Nextcloud bot 283b1654f6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-30 00:20:41 +00:00
Kate f99ae3307f Merge pull request #48968 from nextcloud/backport/47847/stable29 2024-10-29 17:16:41 +01:00
Louis 1f225c2999 Merge pull request #48973 from nextcloud/backport/48788/stable29
[stable29] fix: add PasswordConfirmationRequired to the external storages mentioned in review
2024-10-29 15:59:51 +01:00
Louis Chemineau f3dd25fa64 fix(files): Do not jump to top when fileId is set to currentFolder
Fix https://github.com/nextcloud/server/issues/48545

Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-29 14:39:50 +00:00
yemkareems 63bf012461 fix: conflicts resolved by adding PasswordConfirmationRequired to update method
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-29 18:04:39 +05:30
yemkareems e8b37e06f5 fix: cs fix namespace
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-29 11:06:12 +00:00
yemkareems c808417502 fix: add PasswordConfirmationRequired to the eternal storages mentioned in review
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-29 11:06:12 +00:00
Robin Appelman a61d2ab4c4 test: add test for nested jail cross-storage move
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-10-29 10:41:24 +00:00
Daniel Calviño Sánchez 6f962c75d4 fix: Fix copying or moving from shared groupfolders
When copying or moving between two local storages the source path (on
disk) to copy or move from is got from the unjailed path of the source
storage. However, if the source storage has more than one jail getting
the unjailed path resolves the most external jail, but the source path
needs to be got from the most internal jail instead (the one closer to
the local storage).

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

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-10-29 10:41:24 +00:00
Kate 749b6f3f68 Merge pull request #48570 from nextcloud/backport/48532/stable29 2024-10-29 10:27:14 +01:00
John Molakvoæ 5cd5bbaa0e Merge pull request #48958 from nextcloud/backport/48921/stable29 2024-10-29 09:07:38 +01:00
provokateurin 06d47f19e0 ci(psalm): Add missing imagick extension
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-29 08:15:56 +01:00
Kate 494ddef5e7 Merge pull request #48889 from nextcloud/backport/48887/stable29 2024-10-29 08:09:24 +01:00
John Molakvoæ 271d5deabe Merge pull request #48934 from nextcloud/backport/48625/stable29 2024-10-29 07:44:50 +01:00
nextcloud-command 9113cf3766 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-29 06:39:20 +00:00
skjnldsv 89961b6d12 fix(files_sharing): federated shares avatar
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-10-29 07:32:11 +01:00
Nextcloud bot 4b1bfe1d07 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-29 00:20:33 +00:00
Grigorii K. Shartsev cdb6b422a5 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-28 21:14:51 +01:00
Grigorii K. Shartsev d453426002 refactor(files): migrate to @nextcloud/sharing
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-28 21:12:54 +01:00
Grigorii K. Shartsev d9d7d64715 fix(files): handle empty view with error
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-28 21:12:54 +01:00
Grigorii K. Shartsev 65bf473003 chore(files): migrate davUtils to TS
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-28 21:12:54 +01:00
Joas Schilling c2e356a24e Merge pull request #48949 from nextcloud/backport/48947/stable29
[stable29] fix(config): Mark more configs as sensitive
2024-10-28 20:01:58 +01:00
yemkareems d5e649ad96 Merge pull request #48940 from nextcloud/backport/48915/stable29
[stable29] fix: encrypt and store password, decrypt and retrieve the same
2024-10-28 20:58:38 +05:30
Joas Schilling 12a567137b fix(config): Mark more configs as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-28 15:27:17 +00:00
Ferdinand Thiessen 75c9a2ac9f Merge pull request #48944 from nextcloud/backport/48871/stable29
[stable29] fix(app-store): Update update count in navigation
2024-10-28 15:47:13 +01:00
John Molakvoæ 73c31a9555 Merge pull request #48936 from nextcloud/backport/48918/stable29 2024-10-28 15:00:14 +01:00
nextcloud-command 87014dc8a6 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-28 13:40:07 +00:00
yemkareems b56692d002 fix: readonly removed
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 19:09:04 +05:30
yemkareems de14601944 fix: crypto added manually as expected
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 18:47:05 +05:30
Ferdinand Thiessen 9758a6afd2 fix(app-store): Update update count in navigation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-28 14:14:26 +01:00
Grigorii K. Shartsev f3029cea52 Merge pull request #48922 from nextcloud/backport/48898/stable29
[stable29] fix(files): add title for files list table header button
2024-10-28 17:51:23 +05:00
yemkareems 64d7677888 fix: crypto made inline for constructor and decrypt error handled in exception
Signed-off-by: yemkareems <yemkareems@gmail.com>

[skip ci]
2024-10-28 12:32:00 +00:00
yemkareems 91cafe42b7 fix: crypto made inline for constructor and decrypt error handled in exception
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 12:32:00 +00:00
yemkareems 13765c0dbf fix: use Icrypto in place of Cypto
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 12:32:00 +00:00
yemkareems e4c22e02e0 fix: crypto type made not nullable and tests run using ICrypto
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 12:32:00 +00:00
yemkareems 7fa219e834 fix: encrypt and store password, decrypt and retrieve the same
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 12:32:00 +00:00
provokateurin e4603a7e27 fix(files_sharing): Cleanup error messages
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-28 13:11:47 +01:00
Kate 94a623aec7 Merge pull request #48930 from nextcloud/backport/48917/stable29 2024-10-28 12:40:00 +01:00
provokateurin 193d06955d fix(dav): Cleanup view-only check
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-28 09:24:56 +00:00
Grigorii K. Shartsev 84ded8bea6 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-28 09:31:55 +01:00
Grigorii K. Shartsev ae2ba0eddd fix(files): add title for files list table header button
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-28 08:29:35 +00:00
Christopher Ng 0b602cb725 refactor: Inject IRootFolder
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-28 09:17:33 +01:00
Christopher Ng a694727aa6 fix: Fix "Unknown path" error when source user files folder has not been initialized
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-28 09:17:33 +01:00
Nextcloud bot e5b6634c8f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-28 00:20:47 +00:00
Nextcloud bot bc11534814 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-27 00:22:25 +00:00
dependabot[bot] 1348d3d2a3 Merge pull request #48905 from nextcloud/dependabot/npm_and_yarn/stable29/jsdoc-4.0.4 2024-10-26 02:19:18 +00:00
dependabot[bot] 0832db5a0b chore(deps-dev): Bump jsdoc from 4.0.2 to 4.0.4
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 4.0.2 to 4.0.4.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/4.0.4/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/4.0.2...4.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-26 01:09:17 +00:00
Nextcloud bot dabab296ae Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-26 00:20:34 +00:00
Nextcloud bot d25c662f46 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-25 00:20:21 +00:00
Louis 9af9934165 Merge pull request #48750 from nextcloud/backport/48373/stable29
[stable29] fix: add PasswordConfirmationRequired to create user storages endpoint
2024-10-24 16:47:01 +02:00
yemkareems 7198f04258 fix: cs fix for namespace
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-24 15:51:33 +02:00
yemkareems 7f7732f96c fix: add PasswordConfirmationRequired to user storages create, update and delete
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-24 15:51:33 +02:00
Ferdinand Thiessen 101cd43b20 fix: Add frontend code for password confirmation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

[skip ci]
2024-10-24 15:51:33 +02:00
Nextcloud bot 846f0274b3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-24 00:20:32 +00:00
Joas Schilling 7639d721f2 Merge pull request #48857 from nextcloud/backport/48839/stable29
[stable29] build: Print RTL limited characters in translation-checker
2024-10-23 14:57:56 +02:00
Joas Schilling ff2f346579 build: Show the actual string
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-23 11:44:48 +00:00
provokateurin 21eb62c155 build: Print RTL limited characters in translation-checker
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-23 11:44:48 +00:00
Nextcloud bot 067617d823 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-23 00:24:15 +00:00
Nextcloud bot d769401220 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-22 12:31:30 +00:00
Nextcloud bot 68f4ae56b9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-22 11:39:37 +00:00
Joas Schilling 6af2049c91 Merge pull request #48831 from nextcloud/backport/48603/stable29
[stable29] fix(logger): Remove more parameters of other methods
2024-10-22 08:58:26 +02:00
Nextcloud bot 8870090783 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-22 00:22:47 +00:00
Joas Schilling 52382e7956 fix(logger): Remove more parameters of other methods
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-21 16:53:07 +00:00
Ferdinand Thiessen 5af07d0574 Merge pull request #48825 from nextcloud/backport/48824/stable29
[stable29] ci: Update list of installed PHP extensions (as some are not default …
2024-10-21 13:51:35 +02:00
Ferdinand Thiessen ed17447d31 Merge pull request #48729 from nextcloud/backport/48696/stable29
[stable29] fix(files_sharing): Add proper user facing messages on success
2024-10-21 13:45:54 +02:00
nextcloud-command 706f0c019c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-21 10:28:42 +00:00
Ferdinand Thiessen e72672a1de fix(files_sharing): Add proper user facing messages on success
1. Use proper translated strings
2. Fix invalid use of translation message on API result
3. Log all errors

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-21 12:22:07 +02:00
Kate 05e540421b Merge pull request #48709 from nextcloud/backport/48682/stable29 2024-10-21 10:27:46 +02:00
Joas Schilling 568a8199da ci: Update list of installed PHP extensions (as some are not default enabled in new images)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-21 07:11:27 +00:00
Nextcloud bot ca852cf570 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-21 00:20:46 +00:00
Joas Schilling 7611bd03bc Merge pull request #48817 from nextcloud/backport/48812/stable29
[stable29] fix(activity): Fix download activity parameters
2024-10-20 08:27:10 +02:00
Joas Schilling a994cee15b fix(activity): Fix download activity parameters
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-20 06:03:53 +00:00
Nextcloud bot 73812659b9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-20 00:20:49 +00:00
Joas Schilling 57fef20e18 Merge pull request #48780 from nextcloud/automated/noid/stable29-update-code-signing-crl
[stable29] fix(security): Update code signing revocation list
2024-10-19 08:23:46 +02:00
nextcloud-command 17617215af fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2024-10-19 02:29:25 +00:00
Nextcloud bot 8b7811fcf3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-19 00:23:11 +00:00
Marcel Müller 54aa20a91d Merge pull request #48755 from nextcloud/backport/48743/stable29
[stable29] fix(appstore): Hide last modified information for shipped apps
2024-10-18 13:01:12 +02:00
Marcel Müller 50be325119 fix(appstore): Hide last modified information for shipped apps
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-10-18 12:06:56 +02:00
Nextcloud bot df32a447a8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-18 00:20:40 +00:00
Joas Schilling b2c8a10444 Merge pull request #48764 from nextcloud/backport/48539/stable29
[stable29] fix(message): Fix logic of Mail test
2024-10-17 21:15:20 +02:00
Ferdinand Thiessen 658aa1a2dd Merge pull request #48588 from nextcloud/backport/47896/stable29
[stable29] fix: Make user removal more resilient
2024-10-17 18:21:57 +02:00
Joas Schilling 35933a62f7 fix(message): Fix logic of Mail test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-17 12:45:06 +00:00
Maksim Sukharev 93e4d2dabf Merge pull request #48752 from nextcloud/backport/48734/stable29 2024-10-17 13:35:21 +02:00
Maksim Sukharev 90573be1e0 fix: do not duplicate existing entity
- this reverts 1e8048abee

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
(cherry picked from commit 6e7c35d77e)
2024-10-17 09:12:06 +02:00
Maksim Sukharev 8f497962d9 fix: dismiss notification only after transfer bg job created
- do not create 'denied' notification if bg job exists

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
(cherry picked from commit 5be76411fa)
2024-10-17 09:12:06 +02:00
Maksim Sukharev 5051de6a91 fix: add notification icon for transfer ownership
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>

(cherry picked from commit 73b34bba7b)
2024-10-17 09:06:31 +02:00
Nextcloud bot 3bdef7e9a2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-17 00:21:28 +00:00
Ferdinand Thiessen 6a28833d10 Merge pull request #48239 from nextcloud/backport/47905/stable29
[stable29] fix(files): Ensure children are removed from folder and not duplicated
2024-10-16 19:11:44 +02:00
nextcloud-command 441e0f0aa1 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-16 18:33:20 +02:00
Ferdinand Thiessen 02d78079a8 fix(files): Adjust Typescript issues
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-16 18:33:04 +02:00
Ferdinand Thiessen 714ef088ad test(files): Add tests for path handling
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-16 18:32:59 +02:00
Ferdinand Thiessen c224a1c340 fix(files): Ensure children are removed from folder and not duplicated
* Resolves https://github.com/nextcloud/server/issues/47904

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

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-16 13:08:29 +02:00
Nextcloud bot 8a04f80c11 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-16 00:20:35 +00:00
Ferdinand Thiessen ef17763c1f Merge pull request #48704 from nextcloud/backport/48673/stable29
[stable29] fix(share): Return empty string if no label is set
2024-10-15 18:26:05 +02:00
Ferdinand Thiessen 00d3e37e6d fix(share): Return empty string if no label is set
* Resolves: https://github.com/nextcloud/server/issues/48629

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

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-15 16:56:59 +02:00
provokateurin 7dc1c7f762 fix(UserTrait): Fix backend initialization
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-15 16:50:28 +02:00
Ferdinand Thiessen c027ceca52 fix: Skip users that still exist in backend
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-15 16:50:28 +02:00
Ferdinand Thiessen 5d5c307a1a fix: Make user removal more resilient
Currently there is a problem if an exception is thrown in `User::delete`,
because at that point the user is already removed from the backend,
but not all data is deleted.

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

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

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-15 16:50:27 +02:00
Côme Chilliet a776044281 Merge pull request #48617 from nextcloud/backport/48597/stable29
[stable29] Fix email share transfer accross storages
2024-10-15 14:37:25 +02:00
Kate 2a69cf785d Merge pull request #48631 from nextcloud/backport/dav-get 2024-10-15 13:32:33 +02:00
provokateurin 7e48a12088 fix(AppConfig): Add external JWT private key to sensitive keys
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-15 08:41:55 +00:00
Nextcloud bot c03ff3c6c8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-15 00:20:27 +00:00
Git'Fellow 58910fc139 Merge pull request #48693 from nextcloud/backport/48689/stable29
[stable29] fix(locking): Accept mixed as value on setTTL
2024-10-14 16:42:05 +02:00
Git'Fellow ee65aedc67 fix(locking): Accept mixed as value on setTTL
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-10-14 13:45:00 +00:00
Nextcloud bot 3fe97b1336 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-14 00:20:15 +00:00
Nextcloud bot bd51c33b1a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-13 00:22:09 +00:00
Nextcloud bot a4694d39b6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-12 00:20:27 +00:00
Ferdinand Thiessen d870e24f66 Merge pull request #48457 from nextcloud/backport/47910/stable29
[stable29] fix(files): Add more visual move / copy notification
2024-10-11 16:11:25 +02:00
nextcloud-command 6f991bef4c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-11 12:35:13 +00:00
Ferdinand Thiessen d58a333d5e fix(files): Add more visual move / copy notification
* Resolves: https://github.com/nextcloud/server/issues/46645

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

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-11 14:22:15 +02:00
Ferdinand Thiessen 3980061111 Merge pull request #47943 from nextcloud/backport/47883/stable29
[stable29] fix(setup-checks): Ensure URL with webroot works
2024-10-11 13:49:14 +02:00
Ferdinand Thiessen d126fc3ad0 refactor(settings): CheckServerResponseTrait always expect absolute path
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-11 13:27:41 +02:00
Ferdinand Thiessen 39d66ed5f6 fix(setup-checks): Ensure URL with webroot works
We basically mock the way `URLGenerator::getAbsoluteURL` works,
so we must make sure that the URL might already contain the webroot.
Because `baseURL` and `cliURL` also contain the webroot we need to remove
the webroot from the URL first.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-11 13:09:20 +02:00
Julius Knorr 7e2b9a062c Merge pull request #48634 from nextcloud/backport/48623/stable29
[stable29] fix: Allow overriding shouldApplyQuota check from child classes
2024-10-11 11:55:13 +02:00
Nextcloud bot cf0f1f07c4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-11 00:25:23 +00:00
Arthur Schiwon c553bc228e Merge pull request #48642 from nextcloud/release/29.0.8
29.0.8
2024-10-10 11:12:54 +02:00
Arthur Schiwon 6b32729a43 build(hub): 29.0.8
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-10-10 09:47:43 +02:00
Nextcloud bot 06bb4721d0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-10 00:20:30 +00:00
Julius Knorr 433f939d43 fix: Allow overriding shouldApplyQuota check from child classes
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-10-09 16:43:10 +00:00
Ferdinand Thiessen eae69cb8bc fix(dav): Public WebDAV endpoint should allow GET requests
`GET` should be allowed even without Ajax header to allow downloading files,
or show files in the viewer. All other requests could be guarded, but this should not.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-09 18:17:19 +02:00
Robin Appelman 48ff0d502d fix: improve moving object store items to trashbin
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-10-09 14:50:02 +02:00
Robin Appelman 73bff23dd7 fix: rework move into object store to better preserve fileids
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-10-09 14:50:02 +02:00
Robin Appelman bd00811d53 test: fix share storage move test with object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-10-09 14:50:02 +02:00
Robin Appelman dd663a91d2 fix: preserve fileid when moving from objectstore to non-objectstore
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-10-09 14:50:02 +02:00
Robin Appelman 97862e7452 fix: ensure source folder is removed from cache when moving to objectstore
otherwise this causes confusion down the line as it's contents will be moved to the new cache

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-10-09 14:50:02 +02:00
Robin Appelman 90a6a75e11 test: re-add object store primary storage phpunit tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-10-09 14:50:02 +02:00
Hamza Mahjoubi 6534e52ce3 fix: provision api's status codes
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-10-09 13:49:21 +02:00
Nextcloud bot f23f6ff63a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-09 00:20:26 +00:00
Côme Chilliet ebafd49bc3 fix(tests): Fix sharebymail tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-08 15:34:22 +00:00
Côme Chilliet 7f7e2a6524 fix(sharebymail): Fix share update when node id changed
This fixes transfering an email share from a user to another one when using
 objectstore as primary storage.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-08 15:34:22 +00:00
Côme Chilliet 97a9d5baae feat(transfer-ownership): Improve verbose output of command
Makes debbuging way easier

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-08 15:34:21 +00:00
Nextcloud bot 73bc2eda96 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-08 00:20:22 +00:00
Joas Schilling cec6f956d4 Merge pull request #48585 from nextcloud/backport/48584/stable29
[stable29] fix(config): Mark more app configs sensitive
2024-10-07 13:01:53 +02:00
Joas Schilling 513f57d9e2 fix(config): Mark more app configs sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-07 09:00:43 +00:00
Nextcloud bot ff24944fbd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-07 00:20:10 +00:00
Nextcloud bot f03d6b96e3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-06 00:21:34 +00:00
Nextcloud bot c7528d5d6e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-05 00:20:30 +00:00
Maksim Sukharev d03659bb0f fix: do not reduce count for subadmins if they are members of group
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-10-04 18:06:31 +00:00
Nextcloud bot de9335db3e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-04 00:20:19 +00:00
Nextcloud bot 5640ab71aa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-03 00:20:51 +00:00
Benjamin Gaussorgues 1f085a670b Merge pull request #48499 from nextcloud/release/29.0.8_rc1
29.0.8 RC1
2024-10-02 15:23:11 +02:00
Benjamin Gaussorgues f23fc4d6fd Merge pull request #48507 from nextcloud/backport/48451/stable29 2024-10-02 14:16:02 +02:00
Anna 04d0d8e636 Merge pull request #48509 from nextcloud/fix/stable29/webcal-subscription-jobs-middleware
[stable29] fix(caldav): add missing handlers
2024-10-02 13:37:14 +02:00
Sebastian Krupinski 6ead1eded7 Merge pull request #47790 from nextcloud/backport/45098/stable29
[stable29] fix(caldav): Do not load IMipPlugin before user auth and session is c…
2024-10-02 05:30:41 -04:00
Kate d8cef80489 Merge pull request #48055 from nextcloud/backport/48043/stable29 2024-10-02 10:14:29 +02:00
Kate 7385092965 Merge pull request #48075 from nextcloud/backport/48050/stable29 2024-10-02 10:12:15 +02:00
Kate 83931587c5 Merge pull request #48092 from nextcloud/backport/47316/stable29 2024-10-02 10:08:22 +02:00
Anna Larch 0154c2b792 test(dav): imip service test expects integers for last occurence
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-10-02 09:22:30 +02:00
Nextcloud bot d18b9a53a5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-02 00:20:12 +00:00
Anna Larch e862c886d0 fix(caldav): add missing handlers
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-10-01 22:41:54 +02:00
Daniel Kesselberg 3f117cb3db fix: make federation address book sync work with allow_local_remote_servers = false
Client.preventLocalAddress expects an absolute URL, which means the base_uri option cannot be used.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-10-01 21:42:14 +02:00
Josh da8ef3c9ea Merge pull request #48502 from nextcloud/backport/48426/stable29
[stable29] fix(config): Suppress `config.php` fopen error at install time
2024-10-01 14:11:23 -04:00
Arthur Schiwon a15a378e0d Merge pull request #48491 from nextcloud/backport/48484/stable29
[stable29] fix(Auth): ignore missing token when trying to set password-unconfirm…
2024-10-01 19:53:55 +02:00
Josh 82319d41fd fix(config): Suppress error at install time
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-10-01 16:22:47 +00:00
Benjamin Gaussorgues 6d7d4fd476 build(hub): 29.0.8 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-10-01 17:45:48 +02:00
Arthur Schiwon 17ea67dc43 fix(Auth): ignore missing token when trying to set password-unconfirmable
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-10-01 15:55:13 +02:00
Nextcloud bot a891bc0784 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-01 00:20:45 +00:00
Kate 39a708b2e1 Merge pull request #48449 from nextcloud/backport/48437/stable29 2024-09-30 18:10:24 +02:00
Maksim Sukharev a448d5d171 fix: correctly count disabled users for subadmins
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-09-30 10:10:45 +00:00
Julien Veyssier 74a5eaf09c Merge pull request #48417 from nextcloud/fix/stable29/numerical-userid-file-item-display
[stable29] Fix file item display for users with numerical user IDs
2024-09-30 11:44:17 +02:00
nextcloud-command 034dbf411d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-30 09:00:26 +00:00
Julien Veyssier 0af363714d fix(filesharing): file appear as shared by their owner if it has a numerical user ID
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-09-30 10:22:48 +02:00
Kate 526a504e82 Merge pull request #48444 from nextcloud/backport/48307/stable29 2024-09-30 10:18:37 +02:00
Richard Steinmetz e2373b56fe fix: gracefully parse non-standard trusted certificates
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-09-30 09:21:59 +02:00
Nextcloud bot aec1ac1da4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-29 00:28:11 +00:00
Nextcloud bot 6e27f995fb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-28 00:20:22 +00:00
Joas Schilling eb2c5533c6 Merge pull request #48393 from nextcloud/backport/48375/stable29
[stable29] Skip future shipped apps from updatenotification check
2024-09-27 08:29:16 +02:00
Nextcloud bot 28325fdfd5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-27 00:20:49 +00:00
Kate 89e15c8ac2 Merge pull request #48400 from nextcloud/backport/48366/stable29 2024-09-26 19:11:36 +02:00
Louis 6046934462 Merge pull request #48387 from nextcloud/backport/48359/stable29
[stable29] fix: Use placeholder for external storage password
2024-09-26 16:46:28 +02:00
provokateurin dfd0b9ddf7 fix(files_sharing): Check if propfind response is valid before accessing share permission props
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 14:22:37 +00:00
provokateurin 6416dba1ce refactor(files_sharing): Make permissions prop checks less error prone
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 14:22:37 +00:00
provokateurin 18968a6f52 fix(files_sharing): Parse OCM share permissions from OCM and not OCS prop
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 14:22:37 +00:00
Joas Schilling 87b4e96893 fix(updatenotification): Communicate app_api as shipped in 30+
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-26 13:25:09 +00:00
Joas Schilling 115653722e fix(updatenotification): Communicate twofactor_nextcloud_notification as shipped in 30+
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-26 13:25:09 +00:00
Joas Schilling 253fb39e51 fix(updatenotification): Communicate files_downloadlimit as shipped in 29+
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-26 13:25:09 +00:00
Joas Schilling 5729488f0a Merge pull request #48380 from nextcloud/backport/48142/stable29
[stable29] feat(share): ensure unique share tokens with dynamic length adjustment
2024-09-26 15:19:25 +02:00
Joas Schilling c9f58fc19f Merge pull request #48326 from nextcloud/dependaniel/aws-sdk-for-29
[stable29] chore(deps): Bump aws/aws-sdk-php from 3.240.8 to 3.322.4
2024-09-26 15:15:38 +02:00
Louis Chemineau fa12da0ce7 fix: Use hashed password in files_external settings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-26 13:03:28 +00:00
Daniel 56a734b47f Merge pull request #48364 from nextcloud/backport/48345/stable29
[stable29] fix(files_external): Catch correct exception
2024-09-26 14:52:40 +02:00
ernolf 0a9cad0455 fix(share): Ensure unique share tokens
- check for token collisions and retry up to three times.
- throw after 3 attempts without finding a unique token.

Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
2024-09-26 10:38:40 +00:00
Daniel Kesselberg 1af2df8b4e fix(s3): suppress php deprecation warning on php8
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-26 12:38:05 +02:00
Daniel Kesselberg 39d8e8779a chore(deps): Bump aws/aws-sdk-php from 3.240.8 to 3.332.4
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-26 12:38:05 +02:00
Louis 8446a1eb4c Merge pull request #48368 from nextcloud/backport/48354/stable29
[stable29] fix: Show storage full warning when storage is actually full
2024-09-26 11:51:21 +02:00
Louis Chemineau 0dcd2ca733 fix: Show storage full warning when storage is actually full
< 0 values for "free" do not mean that the storage is full: https://github.com/nextcloud/server/blob/6befdd6dd7cd20fe7f7036e4665bcfbb783d6803/lib/public/Files/FileInfo.php#L31-L42

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

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

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-26 08:58:41 +00:00
Marcel Klehr 50eecc7ded fix(files_external): Catch correct exception
SMB#getFileInfo used to throw an icewind/smb exception, but nowadays throws \OCP\Files\ForbiddenException. This fixes downstream methods to catch the new exception.

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-09-26 07:36:04 +00:00
Nextcloud bot 7e4b0c9b6b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-26 00:23:23 +00:00
Pytal 97a5f91955 Merge pull request #48351 from nextcloud/backport/48331/stable29
[stable29] fix(files): Fix having to resolve conflicts twice when dropping files
2024-09-25 14:51:32 -07:00
nextcloud-command 3d20d4e48a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-25 21:34:40 +00:00
Christopher Ng 1507877630 fix(files): Fix having to resolve conflicts twice when dropping files
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-25 14:27:32 -07:00
Joas Schilling b33444cf1f Merge pull request #48336 from nextcloud/automated/noid/stable29-update-ca-cert-bundle
[stable29] fix(security): Update CA certificate bundle
2024-09-25 07:03:43 +02:00
nextcloud-command 41873e6fe5 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2024-09-25 02:30:57 +00:00
Nextcloud bot 4e990ccead Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-25 00:21:30 +00:00
Ferdinand Thiessen 902cc4dc8b Merge pull request #48313 from nextcloud/backport/48311/stable29
[stable29] fix: Ensure app discover section is returned as list
2024-09-24 17:18:33 +02:00
F. E Noel Nfebe 13c2c370ea Merge pull request #48315 from nextcloud/fix/remove-needless-console-log
refactor(AccountIcon): Remove needless console.log
2024-09-24 13:44:18 +01:00
nextcloud-command 8907f81c73 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-24 12:05:24 +00:00
fenn-cs 5b98da6733 refactor(AccountIcon): Remove needless console.log
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-09-24 13:40:59 +02:00
Ferdinand Thiessen 954213642a fix: Ensure app discover section is returned as list
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-24 11:36:45 +00:00
Joas Schilling 8e58d58c3e Merge pull request #48309 from nextcloud/backport/47349/stable29
[stable29] Add bidirectional text support - Backend
2024-09-24 12:14:46 +02:00
Joas Schilling bf829042e0 ci: Restrict RTL characters to RTL languages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-24 11:39:56 +02:00
Louis a84255e1ab Merge pull request #48284 from nextcloud/backport/48207/stable29
[stable29] fix: Don't crash if disabled user is missing in the database
2024-09-24 10:30:27 +02:00
Kate e3f97981d8 Merge pull request #48280 from nextcloud/backport/48266/stable29 2024-09-24 08:31:34 +02:00
Andy Scherzinger d306a006af Merge pull request #48165 from nextcloud/backport/48114/stable29
[stable29] fix(appstoreFetcher): get list from a custom store and remove unnecessary warning
2024-09-23 21:11:04 +02:00
Andy Scherzinger 2fef8615f6 Merge pull request #48301 from nextcloud/backport/48268/stable29
[stable29] fix: skip the integrity check for nextcloud-init-sync.lock
2024-09-23 21:02:11 +02:00
Louis Chemineau 1e870c02f5 fix(users): Don't crash if disabled user is missing in the database
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-23 18:08:17 +02:00
Daniel Kesselberg 27c68fdcae fix: skip the integrity check for nextcloud-init-sync.lock
nextcloud-init-sync.lock is used by nextcloud/docker to prevent running the initialization script on multiple containers at the same time.

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

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-23 15:50:42 +00:00
Nextcloud bot d1a87cda97 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-23 14:52:47 +00:00
Joas Schilling 5a764978f8 Merge pull request #48293 from nextcloud/backport/48282/stable29
[stable29] chore: add .git-blame-ignore-revs
2024-09-23 14:43:55 +02:00
F. E Noel Nfebe e939fd7024 Merge pull request #48227 from nextcloud/backport/47441/stable29
[stable29] fix(FileList): Show correct avatar for federated share owner
2024-09-23 12:58:11 +01:00
Daniel Kesselberg ec95891b9f chore: add .git-blame-ignore-revs
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-23 11:56:00 +00:00
nextcloud-command 339ca15f14 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-23 10:54:16 +00:00
nextcloud-command e56b4921e4 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-23 10:50:27 +01:00
fenn-cs 35f3a3e7b7 fix(Federation): Show some icon for federated users on shares
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-09-23 10:50:27 +01:00
provokateurin 7bf75b9724 fix(psalm): Enable findUnusedBaselineEntry
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-23 11:20:15 +02:00
Kate 81216ed249 Merge pull request #48228 from nextcloud/automated/noid/stable29-update-psalm-baseline 2024-09-23 09:21:09 +02:00
nextcloud-command 6ae8514b88 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-23 02:34:20 +00:00
Nextcloud bot 1433f52cdd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-23 00:20:38 +00:00
Nextcloud bot bc3cd58df7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-22 00:20:53 +00:00
Nextcloud bot 910caabcf2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-21 00:20:57 +00:00
Nextcloud bot bade66e33c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-20 00:21:28 +00:00
Robin Appelman 017951f862 Merge pull request #48214 from nextcloud/backport/48205/stable29
[stable29] Ci fixes
2024-09-19 21:19:38 +02:00
Louis Chemineau b731f9533a fix: Prevent duplicate creation of print_exception function
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-19 17:51:51 +02:00
Côme Chilliet 617c663c3b fix(tests): Fix Folder tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-19 17:51:51 +02:00
Louis Chemineau ee9f3115d9 fix: Override start method of \Sabre\DAV\Server to remove exception output
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-19 17:51:51 +02:00
Robin Appelman fafc93b08a test: fix ShareControllerTest.php
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:51:51 +02:00
Robin Appelman c17d78c663 test: fix trashbin StorageTest
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:51:51 +02:00
Robin Appelman 3f0c63eff3 test: fix ShareAPIControllerTest.php
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:51:51 +02:00
Robin Appelman ebbf74fded test: fix service overwrite in PartFileInRootUploadTest
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:45:37 +02:00
Robin Appelman f38d70404d test: put parent items into cache in tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:45:28 +02:00
Robin Appelman 79e7c48144 fix: ensure parent folder exists when writing a file to object storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:44:53 +02:00
Robin Appelman 6c9bef6857 test: fix incorrect ltrim usage in test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:44:49 +02:00
Robin Appelman 671170a269 fix: verify that parent exists in cache when inserting
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:44:45 +02:00
Robin Appelman 48cd657d26 fix: fix object store id for test object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:44:41 +02:00
Robin Appelman 6683711516 fix: cleanup objectstore file_put_content
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:44:34 +02:00
Robin Appelman f71dce6c9e fix: create intermediate directories for objectstore moveFromStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:44:30 +02:00
Robin Appelman 68e82ba0e5 fix: get source file before moving the cache item in objectstore moveFromStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:44:27 +02:00
Louis Chemineau 88aa7683d9 fix: Drop unnecessary exit
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-19 17:44:23 +02:00
Nextcloud bot c2170cf74e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-19 00:20:55 +00:00
Grigorii K. Shartsev 23e8424c19 fix(appstoreFetcher): get app list from custom app store
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-18 13:24:01 +02:00
Grigorii K. Shartsev 07ce8c7e84 fix(appstoreFetcher): remove unneeded warning
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-18 13:23:52 +02:00
Nextcloud bot 96658d2506 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-18 09:28:16 +00:00
Nextcloud bot 28aaed3c21 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-18 00:22:20 +00:00
Richard Steinmetz 14d75f0632 Merge pull request #48119 from nextcloud/backport/48090/stable29
[stable29] fix(settings): disable Discover when appstore is disabled
2024-09-17 23:15:33 +02:00
Grigorii K. Shartsev f8ce148cb9 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-17 18:09:30 +02:00
Anna 1ab34417db Merge pull request #48096 from nextcloud/backport/47924/stable29
[stable29] 🥅 — Catch MaxInstancesExceededException on calendar events
2024-09-17 12:18:59 +02:00
Grigorii K. Shartsev 4a6831e0d1 fix(settings): disable Discover when appstore is disabled
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-17 08:32:37 +00:00
John Molakvoæ b937093d25 Merge pull request #48104 from nextcloud/backport/46218/stable29 2024-09-17 10:14:08 +02:00
Nextcloud bot b5abfde604 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-17 00:20:58 +00:00
Robin Appelman 0a20c69c85 Merge pull request #48100 from nextcloud/backport/46140/stable29
[stable29] fix(config): Add missing handling for `envCache` in `getKeys()`
2024-09-16 18:54:23 +02:00
Kate 1c7b5c83ff Merge pull request #48087 from nextcloud/backport/48008/stable29 2024-09-16 17:53:16 +02:00
John Molakvoæ 790ef0ea17 chore: improve hash_file php usage in Local Storage
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-09-16 15:18:02 +00:00
Louis Chemineau 41111e5f0a fix(files): Ensure that the hash method does not return null
To match https://github.com/nextcloud/server/blob/beececf66068f57c416225efcde9b44ce5c2e835/lib/private/Files/View.php#L1050

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

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-16 15:18:02 +00:00
Josh Richards 75555d34b1 fix: switch from explode to substr (faster)
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-09-16 14:57:26 +00:00
Josh Richards 80bbffa78a fix(config): add envCache tests for getKeys()
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-09-16 14:57:26 +00:00
Josh Richards 4b9a74658d fix(config): Add missing handling for envCache in getKeys()
NC_ env variable overrides were not appearing in
the output of `occ config:list system` nor `occ
config:system:get xxx`. This was creating nearly
impossible to diagnose configuration/ behavior
disprepancies.

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

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

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

envCache is now free of non-NC stuff.

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-09-16 14:57:26 +00:00
Luc Didry 5aa5ac4701 fix(dav): catch MaxInstancesExceededException on calendar events
Signed-off-by: Luc Didry <luc@didry.org>
2024-09-16 14:34:27 +00:00
Vincent FarZz 6ccafa3090 fix: Prevent crash when refreshing metadata for files without an owner
This crash was mostly happening when using external storages and for example the command "occ memories:migrate-google-takeout"

Signed-off-by: Vincent FarZz <farcry69@live.fr>
2024-09-16 14:01:14 +00:00
provokateurin bbb867f541 fix(Entity): Fix magic setter call for custom strong typed setters
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-16 13:52:18 +00:00
Sebastian Krupinski 23e56a5abe Merge branch 'stable29' into backport/45098/stable29 2024-09-16 09:06:40 -04:00
Kate 440d8ea4b3 Merge pull request #48070 from nextcloud/backport/48044/stable29 2024-09-16 14:40:45 +02:00
Kate f2f60c20f9 Merge pull request #48067 from nextcloud/backport/48031/stable29 2024-09-16 14:29:41 +02:00
Louis bac653aee7 Merge pull request #48001 from nextcloud/backport/47920/stable29
[stable29] feat: Reset route if neither the Viewer of the Sidebar is open
2024-09-16 14:21:20 +02:00
Kate 7d440fa953 Merge pull request #48068 from nextcloud/backport/48030/stable29 2024-09-16 12:49:37 +02:00
Louis Chemineau 08c35a50b5 chore: Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-16 11:59:34 +02:00
Louis Chemineau 936f34d3a5 feat: Reset route if neither the Viewer of the Sidebar is open
When the viewer or the sidebar is opened, we add the fileid to the route.
When both of them are closed, we do not remove the fileid from the route.
This means that, upon reload, the sidebar will be opened even though it was closed previously.

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

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-16 11:59:34 +02:00
provokateurin ca5b22a5e8 fix(weather_status): Fix search address errors when offline
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-16 09:33:01 +00:00
John Molakvoæ bbe3b99254 Merge pull request #47983 from nextcloud/backport/47928/stable29 2024-09-16 11:20:00 +02:00
Anna Larch 0c4287312d test: cast node name and data to string
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-16 09:10:52 +00:00
Anna Larch 4a6ed02a9a fix(dav): cast parameters to string
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-16 09:09:35 +00:00
Anna Larch c49da2186a fix(filesreport): cast fileId to integer
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-16 09:08:57 +00:00
Kate 4ada11453f Merge pull request #48057 from nextcloud/automated/noid/stable29-update-psalm-baseline 2024-09-16 11:06:09 +02:00
John Molakvoæ 408c870f61 Merge pull request #47862 from nextcloud/backport/47860/stable29 2024-09-16 11:01:28 +02:00
John Molakvoæ 8f86f20244 Merge pull request #47840 from nextcloud/backport/47640/stable29 2024-09-16 11:01:17 +02:00
Joas Schilling f7748b7e64 fix(a11y): Add OTF font loading check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-16 10:05:51 +02:00
Joas Schilling 42628e6d86 fix(tests): Test OTF font file
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-16 09:27:23 +02:00
Joas Schilling 74fa3693f8 fix(a11y): Update OpenDyslexic from 0.920 to 2.001
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-16 09:26:51 +02:00
Joas Schilling 6e576e1fbd Merge pull request #47941 from nextcloud/backport/47933/stable29
[stable29] fix(config): Throw PreconditionException always when it didn't match
2024-09-16 09:11:25 +02:00
nextcloud-command 12bb12df84 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-16 02:36:14 +00:00
Nextcloud bot ba94d22a63 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-16 00:20:26 +00:00
Anna 3b606ffd24 Merge pull request #48052 from nextcloud/backport/48045/stable29
[stable29] fix(dav): set string type for sanitizeMtime
2024-09-16 00:19:39 +02:00
Andy Scherzinger 18614e0270 Merge pull request #47936 from nextcloud/backport/47854/stable29
[stable29] fix(appstore): Ensure returned apps from AppStore are valid
2024-09-15 22:58:49 +02:00
John Molakvoæ e60dd69fda Merge pull request #47867 from nextcloud/backport/47858/stable29
[stable29] fix(preview): gracefully handle file not being opened in ProviderV2
2024-09-15 22:55:11 +02:00
John Molakvoæ 95c3012ca9 Merge pull request #48033 from nextcloud/backport/48013/stable29
[stable29] fix(BaseResponse): Cast XML element values to string
2024-09-15 22:54:29 +02:00
John Molakvoæ 6a46dad143 Merge pull request #47871 from nextcloud/backport/47834/stable29
[stable29] fix(appstore): return if appstore is manually disabled
2024-09-15 22:54:19 +02:00
John Molakvoæ 8cf7ab105e Merge pull request #47918 from nextcloud/backport/47914/stable29
[stable29] fix(LDAP): check index before accessing it
2024-09-15 22:54:05 +02:00
Anna Larch 06523a8a6f fix(dav): set string type for sanitizeMtime
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 20:44:00 +00:00
John Molakvoæ 038eff0b60 Merge pull request #47795 from nextcloud/backport/47756/stable29
[stable29] fix(files): Check if target path is a descendant of the shared folder
2024-09-15 22:17:41 +02:00
John Molakvoæ 74597ecbb1 Merge pull request #47812 from nextcloud/backport/47649/stable29
[stable29] fix: Fix inaccessible content on public pages due to overlapping footer
2024-09-15 22:17:29 +02:00
John Molakvoæ cde8cd074b Merge pull request #47850 from nextcloud/backport/47807/stable29
[stable29] fix(files_sharing): password checkbox and labels in link share
2024-09-15 22:16:52 +02:00
John Molakvoæ 9bd55710fe Merge pull request #47877 from nextcloud/backport/47848/stable29
[stable29] fix(files): Reset context menu position on close
2024-09-15 22:15:11 +02:00
John Molakvoæ 21a37d79f1 Merge pull request #47873 from nextcloud/backport/47853/stable29
[stable29] fix: make swift connect exception message more informative
2024-09-15 22:14:49 +02:00
John Molakvoæ 16abf05bfd Merge pull request #47895 from nextcloud/backport/47339/stable29
[stable29] fix: Display 'Leave share' instead of 'Delete'
2024-09-15 22:14:34 +02:00
John Molakvoæ ef298a8687 Merge pull request #47903 from nextcloud/backport/47881/stable29
[stable29] fix(settings): Add back create group icon
2024-09-15 22:14:06 +02:00
John Molakvoæ d792bc5a07 Merge pull request #48034 from nextcloud/backport/48016/stable29
[stable29] fix(S3ConfigTrait): Allow proxy field to take false
2024-09-15 22:12:26 +02:00
Kate c29f1c9abb Merge pull request #47987 from nextcloud/automated/noid/stable29-update-psalm-baseline 2024-09-15 21:40:52 +02:00
Kate c26bdfa67a Merge pull request #48026 from nextcloud/backport/48014/stable29 2024-09-15 19:42:30 +02:00
John Molakvoæ 7765d4a5d1 Merge pull request #48020 from nextcloud/backport/48015/stable29 2024-09-15 19:42:13 +02:00
provokateurin 2cd8582467 fix(S3ConfigTrait): Allow proxy field to take false
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 17:18:15 +00:00
provokateurin 12afcbb022 fix(BaseResponse): Cast XML element values to string
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 17:17:36 +00:00
Kate a8f576ce11 Merge pull request #48024 from nextcloud/backport/48017/stable29 2024-09-15 18:40:08 +02:00
provokateurin f4d453ed8e fix(Tags): Return boolean for userHasTags()
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 15:51:07 +00:00
provokateurin c4a44e1f4e fix(Comment): Initialize childrenCount as integer
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 15:49:47 +00:00
provokateurin 789be3c141 fix(Storage\Local): Do not call getSourcePath() on SplFileInfo
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 14:52:42 +00:00
Côme Chilliet 9b4637b09a Merge pull request #47980 from nextcloud/backport/47971/stable29
[stable29] fix: Do not try to set HTTP response code on already closed connection
2024-09-15 09:45:08 +02:00
nextcloud-command 4fe6c26dda chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-15 02:36:17 +00:00
Nextcloud bot 6530553720 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-15 00:26:52 +00:00
Côme Chilliet 66f903b5f6 fix: Do not try to set HTTP response code on already closed connection
This avoids a PHP warning in the logs about trying to set the response
 code while the output already started. It’s useless to try to print an
 error page anyway in this situation because the connection was closed
 already.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-14 19:21:24 +00:00
John Molakvoæ 5f28aaa603 Merge pull request #47975 from nextcloud/backport/47968/stable29 2024-09-14 20:24:47 +02:00
Git'Fellow 61684129e1 fix(files_external): Check key exists before accessing it
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-14 16:56:05 +00:00
Kate 250e0a939d Merge pull request #47958 from nextcloud/backport/47954/stable29 2024-09-14 17:39:56 +02:00
Nextcloud bot 392c0f568e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-14 00:21:35 +00:00
provokateurin f1817dc82b fix(files): Adjust Cache::searchQuery() parameter name to match interface
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-13 20:12:49 +00:00
John Molakvoæ 6cdb280e9e Merge pull request #47953 from nextcloud/backport/47945/stable29 2024-09-13 18:02:35 +02:00
nextcloud-command cb50aa1f26 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-13 15:32:50 +00:00
John Molakvoæ (skjnldsv) be1bc08061 fix(files_external): broken credentials dialog
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>

[skip ci]
2024-09-13 15:20:43 +00:00
Joas Schilling bc750a1d09 fix(config): Throw PreconditionException always when it didn't match
Previously even when the precondition did not match, the call "passed"
when the after value was the expected one. This however can lead to
race conditions, duplicate code excutions and other things.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-13 11:41:01 +00:00
Ferdinand Thiessen 4e50fbb482 Merge pull request #47922 from nextcloud/backport/47527/stable29
[stable29] fix(files_external): Handling in SFTP UI for custom ports
2024-09-13 13:24:56 +02:00
Git'Fellow 131ccfca2e fix: check if key is set
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-13 08:57:57 +00:00
Git'Fellow b1d6625676 fix(appstore): Ensure returned apps from AppStore are valid
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: lint

chore: remove space

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

fix: check if response array is null

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

chore: Add log
2024-09-13 08:57:57 +00:00
Josh Richards dc65c37af4 fix: custom port handling in UI for SFTP
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-09-13 03:10:27 +02:00
Nextcloud bot a73e38b498 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-13 00:21:01 +00:00
Benjamin Gaussorgues 873a4d0e1d Merge pull request #47887 from nextcloud/release/29.0.7 2024-09-12 14:28:35 +02:00
Arthur Schiwon 89cfc7c2a5 fix(LDAP): check index before accessing it
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-09-12 10:55:34 +00:00
Nextcloud bot 2b9fc3b19e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-12 00:20:34 +00:00
nextcloud-command 0be2457d6d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-11 17:57:32 +00:00
Christopher Ng 69faba6da7 fix(settings): Add back create group icon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-11 10:45:09 -07:00
skjnldsv b9ef97260d fix(files_sharing): adjust permissions from custom edit and delete check methods
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-11 13:55:06 +02:00
Marcel Klehr c80dd9dfec fix: Display 'Leave share' instead of 'Delete'
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-09-11 11:54:35 +00:00
nextcloud-command 02544427ba chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-11 10:27:49 +00:00
Ferdinand Thiessen eb897b112e fix(files): Make openMenu watcher null safe
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-11 11:53:15 +02:00
Benjamin Gaussorgues b4f74256a3 build(hub): 29.0.7
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-09-11 11:15:22 +02:00
Ferdinand Thiessen 2a5d6bb713 fix(files): Reset context menu position on close
* Resolves https://github.com/nextcloud/server/issues/46934

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

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-11 09:15:41 +02:00
Nextcloud bot 87605dd358 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-11 00:21:29 +00:00
Robin Appelman ab283f7b1b fix: make swift connect exception message more informative
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-10 14:46:21 +00:00
John Molakvoæ ed80a9ffa9 fix(appstore): disabled appstore log level bump from debug to info
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-09-10 14:33:22 +00:00
Git'Fellow 35e473019e fix(appstore): return if appstore is manually disabled
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: camel case

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

fix: log a debug log

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

fix: typing

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

fix: typo

fix: typing
2024-09-10 14:33:22 +00:00
Richard Steinmetz 51b42ef346 fix(preview): gracefully handle file not being opened in ProviderV2
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-09-10 11:26:38 +00:00
Stephan Orbaugh b359a650e5 Merge pull request #47843 from nextcloud/backport/47805/stable29
[stable29] fix: Replace conflicting tags in `xml_exception` template
2024-09-10 11:47:24 +02:00
Julius Knorr 4b333e1b40 fix: Only write once to template instead of create/copy
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-09-10 10:13:04 +02:00
Nextcloud bot 33ccc430cf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-10 00:37:45 +00:00
Grigorii K. Shartsev 42cd50a968 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-09 23:43:28 +02:00
Grigorii K. Shartsev 819c6aeab1 fix(files_sharing): add accessible labels in link share creation
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-09 23:43:28 +02:00
Grigorii K. Shartsev 80c52467f1 fix(files_sharing): checkbox for password in link share is not shown
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-09 14:42:35 +00:00
Ferdinand Thiessen 8efd5f4d61 fix: Replace conflicting tags in xml_exception template
The `<?xml` tag is interpreted as PHP short tags, so this causes errors.
Instead just print that part of the template.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-09 11:46:36 +00:00
Julius Härtl ccc27dc28b fix: Run migration sql as statement so that the primary db node is used
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-09-09 09:39:01 +00:00
Nextcloud bot 789ccf8798 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-09 00:23:40 +00:00
Nextcloud bot 8668546e5e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-08 00:36:50 +00:00
Nextcloud bot f6dae38968 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-07 00:37:14 +00:00
nextcloud-command c8f5869869 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-06 23:05:35 +00:00
Christopher Ng 7bde5a53c8 chore: compile scss
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-06 15:57:15 -07:00
Christopher Ng 616d55c3e7 fix: Fix inaccessible content on public pages due to overlapping footer
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-06 15:57:15 -07:00
Git'Fellow 01596b54c0 fix(files): Check if the target path is a descendant of the shared folder path
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: tests

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

fix: fix tests

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

fix: add tests

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

fix: tests
2024-09-06 01:59:29 +00:00
Nextcloud bot 7ec40bfe35 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-06 00:25:25 +00:00
Louis 8f28394a06 Merge pull request #47786 from nextcloud/backport/47770/stable29
[stable29] fix(dav): Always respond custom error page on exceptions
2024-09-05 22:44:37 +02:00
SebastianKrupinski d18c6af26c fix(caldav): Do not load IMipPlugin before user auth and session is created
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-09-05 16:12:14 -04:00
Arthur Schiwon dd9f749342 Merge pull request #47758 from nextcloud/release/29.0.7_rc1
29.0.7 RC1
2024-09-05 21:43:45 +02:00
Arthur Schiwon 3c9abb09e5 Merge pull request #47777 from nextcloud/backport/47769/stable29
[stable29] fix: Use sha256 to hash arguments of background jobs
2024-09-05 21:37:58 +02:00
Andy Scherzinger 3bc5ea4fd9 Merge pull request #47780 from nextcloud/backport/47519/stable29
[stable29] feat(transfer-ownership): Correctly react to encrypted files
2024-09-05 20:42:33 +02:00
Andy Scherzinger 98a0a8cdcb Merge pull request #47774 from nextcloud/backport/46255/stable29
[stable29] fix: add option to remove the webroot for setup checks and don't chec…
2024-09-05 20:31:38 +02:00
Louis Chemineau 987840592e fix(dav): Always respond custom error page on exceptions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 18:15:51 +00:00
Arthur Schiwon 0b6ec1b1f0 fix: missing use statements
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-09-05 19:11:06 +02:00
Louis Chemineau 8552ac461e fix: Migrate existing bg jobs to use sha256
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 18:06:00 +02:00
Côme Chilliet 4a9d5851ab fix(transfer-ownership): Improve comments according to code review
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-05 16:01:31 +00:00
Côme Chilliet adcb5da338 feat(transfer-ownership): Correctly react to encrypted files
For E2EE encrypted files, we abort the transfer.
For SSE encrypted files, we abort only if not using master key.
Also fixed the check for when the path to a single file is used.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-05 16:01:31 +00:00
Louis Chemineau 1362dbda22 fix: Use sha256 to hash arguments of background jobs
This is to prevent collision as we are sometime hashing user input, yet using that hash to target the background job in the database.

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

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

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

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-05 15:53:45 +00:00
Andy Scherzinger 473c9d8249 Merge pull request #47486 from nextcloud/backport/46013/stable29
[stable29] fix: write object to the correct urn when moving from another storage to object store
2024-09-05 16:23:10 +02:00
Arthur Schiwon 3fbca06e19 Merge pull request #47284 from nextcloud/backport/47038/stable29
[stable29] fix: check for correct storage class when checking for link parent
2024-09-05 11:43:25 +02:00
Arthur Schiwon 35085228dc Merge pull request #47337 from nextcloud/backport/47332/stable29
[stable29] fix(caldav): allow renaming of birthday calendars
2024-09-05 11:32:58 +02:00
Marcel Müller 33d6aac06a Merge pull request #47765 from nextcloud/backport/47754/stable29
[stable29] fix(appstore): Cache apps.json also on dev instances
2024-09-05 08:17:52 +02:00
Marcel Müller 1ad173ce05 fix(appstore): Cache apps.json also on dev instances
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-09-05 05:49:39 +00:00
Daniel Calviño Sánchez c514a73fd3 Merge pull request #47734 from nextcloud/backport/46859/stable29
[stable29] Fix status check and saving of external storages
2024-09-05 04:28:36 +02:00
Nextcloud bot 0249a2970d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-05 00:24:06 +00:00
Daniel Calviño Sánchez 844505023e fix: Hide status tooltip in row to add a new mount point
The row to add a new mount point is cloned when a new mountpoint is

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

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

status is updated.

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 23:19:37 +02:00
Daniel Calviño Sánchez 80f038cc67 refactor: Store result in its own variable
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 23:19:37 +02:00
Robin Appelman 88716650b3 fix: check for correct storage class when checking for link parent
fixes #39123

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-04 23:19:04 +02:00
Anna Larch 8f838b2fe8 fix(caldav): allow renaming of birthday calendars
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-04 23:18:30 +02:00
Arthur Schiwon de3b6d7e44 build(hub): 29.0.7 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-09-04 23:04:12 +02:00
Kate 70651b6b3c Merge pull request #47750 from nextcloud/backport/47417/stable29 2024-09-04 21:09:27 +02:00
John Molakvoæ e99137b6e4 Merge pull request #47745 from nextcloud/fix/undefined-displayname 2024-09-04 20:11:33 +02:00
provokateurin 77c38979c6 fix(files): Create non-existent parents of mountpoints
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-04 18:02:56 +00:00
nextcloud-command cff046aace chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-04 17:05:09 +00:00
skjnldsv bcb536e04d fix(files): undefined displayname for outdated @nextcloud/files<3.6.0 apps
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-04 17:01:53 +00:00
John Molakvoæ 0f4086c85a Merge pull request #47747 from nextcloud/backport/47738/stable29 2024-09-04 18:50:09 +02:00
nextcloud-command 2e3d1b9253 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-04 16:19:54 +00:00
skjnldsv 7a64f8ee19 fix(files): undefined sidebar
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-04 16:09:58 +00:00
John Molakvoæ d9bb187bab Merge pull request #47743 from nextcloud/backport/46556/stable29 2024-09-04 17:03:04 +02:00
nextcloud-command a7865ac3fb chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-04 14:33:42 +00:00
Ferdinand Thiessen ae0b1a667b chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-04 14:26:19 +00:00
Ferdinand Thiessen e0a310bc51 fix(files): Typo in import of ShareType
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-04 14:26:19 +00:00
Andy Scherzinger 4c1e61a489 Merge pull request #47700 from nextcloud/backport/47635/stable29
[stable29] [oauth2] Store hashed secret instead of encrypted
2024-09-04 13:49:28 +02:00
Andy Scherzinger d76b7633d7 Merge pull request #47696 from nextcloud/backport/47627/stable29
[stable29] [LinkReferenceProvider] Better size check
2024-09-04 11:45:04 +02:00
John Molakvoæ cb3dfd69b6 Merge pull request #47727 from nextcloud/backport/47155/stable29 2024-09-04 11:35:07 +02:00
nextcloud-command 321562b578 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-04 09:20:54 +00:00
Julien Veyssier a60b8c5a27 fix(oauth2): fix tests
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-09-04 10:56:10 +02:00
Julien Veyssier 2f71d17740 fix(oauth2): store hashed secret instead of encrypted
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-09-04 10:56:09 +02:00
Git'Fellow 89c71aa27d fix: lint
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-04 07:37:09 +00:00
Git'Fellow 6659ee4cf6 fix(jobs): Swicth to executeStatement() while deleting rows
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-04 07:37:09 +00:00
John Molakvoæ ffd220dfd2 Merge pull request #47717 from nextcloud/automated/noid/stable29-fix-npm-audit 2024-09-04 09:25:49 +02:00
John Molakvoæ 54d9028058 Merge pull request #47721 from nextcloud/backport/47709/stable29 2024-09-04 09:24:59 +02:00
Nextcloud bot f5eedf1553 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-04 00:22:12 +00:00
John Molakvoæ fd565ca425 Merge pull request #47620 from nextcloud/backport/47598/stable29 2024-09-03 21:43:46 +02:00
Simon L. 2599e6466f fix: re-enable content-length header via htaccess
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-09-03 21:43:32 +02:00
nextcloud-command 450bac9d15 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-03 19:41:49 +00:00
John Molakvoæ 93201dfd50 fix: only keep major as server version
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-09-03 21:34:16 +02:00
nextcloud-command 6e6bf9284e fix(deps): Fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2024-09-03 18:19:49 +00:00
Julien Veyssier 98aaed8912 fix(linkReferenceProvider): better size check
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-09-03 20:19:25 +02:00
Kate 1a9dddb173 Merge pull request #47715 from nextcloud/backport/47674/stable29 2024-09-03 18:31:14 +02:00
Andy Scherzinger 38cda31c3b Merge pull request #47623 from nextcloud/backport/47567/stable29
[stable29] fix(config): Avoid error messages for restricted opcache API
2024-09-03 17:58:45 +02:00
provokateurin e08bf1f4b0 fix(settings): Fix sharing exclude groups from password requirement option not working
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-03 15:13:57 +00:00
Ferdinand Thiessen 1e237c4991 Merge pull request #47247 from nextcloud/backport/47240/stable29
[stable29] fix(webauthn): Increase database column for public key id
2024-09-03 12:37:46 +02:00
Ferdinand Thiessen 5f1d80ab4b Merge pull request #47692 from nextcloud/fix/stable29/remote-share-parsing
[stable29] fix(files): Correctly parse external shares for files UI
2024-09-03 12:34:07 +02:00
nextcloud-command d865284e20 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-03 09:58:52 +00:00
Ferdinand Thiessen 5d04c13c90 fix(files): Correctly parse external shares for files UI
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-03 11:53:02 +02:00
Arthur Schiwon b8d9996b20 Merge pull request #47705 from nextcloud/release/29.0.6
29.0.6
2024-09-03 10:46:22 +02:00
Arthur Schiwon a1e33d1214 build: js assets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-09-03 09:53:24 +02:00
Arthur Schiwon 8243fb8d85 build(hub): 29.0.6
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-09-03 09:45:29 +02:00
Arthur Schiwon fea3e3037d Merge pull request #47706 from nextcloud/revert/47668
[stable29] Revert "fix(deps): Fix npm audit"
2024-09-03 09:44:38 +02:00
Arthur Schiwon c800d0ed30 Revert "fix(deps): Fix npm audit"
This reverts commit 18bdb14399.
2024-09-03 09:24:08 +02:00
Nextcloud bot f3aade515d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-03 00:21:11 +00:00
Andy Scherzinger 1f394cb3d0 Merge pull request #47687 from nextcloud/backport/29/ui-group-mgr
[stable29] fix(settings): Hide forbidden UI elements for group managers
2024-09-02 22:41:38 +02:00
nextcloud-command 679a472452 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-02 18:29:02 +00:00
Ferdinand Thiessen 577a5045e8 fix(settings): Hide forbidden UI elements for group managers
1. The "recent" accounts API only works for admin and delegated admin -> hide for group managers
2. Group managers can not create new groups -> Hide the UI to add a new group for them
3. Accounts created by group managers require one of the groups, which is managed by the group manager, assigned.
   So if the group manager only manageres a single group, we should preselect that group.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-02 20:22:48 +02:00
Andy Scherzinger 026efbad13 Merge pull request #47668 from nextcloud/automated/noid/stable29-fix-npm-audit
[stable29] Fix npm audit
2024-09-02 18:43:05 +02:00
nextcloud-command 18bdb14399 fix(deps): Fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2024-09-02 09:36:35 +02:00
Nextcloud bot 051e386890 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-02 00:21:19 +00:00
Nextcloud bot a6cd9615c5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-01 00:21:04 +00:00
Nextcloud bot fce089abe2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-31 00:26:24 +00:00
Ferdinand Thiessen 317c26d559 fix(webauthn): Increase database column for public key id
* Resolves https://github.com/nextcloud/server/issues/34476

There is no maximum length defined in the standard,
most common the length is between 128 and 200 characters,
but as we store it not in plain data but base64 encoded the length can grow about 1/3.
We had a regression with 'Nitrokey 3' which created IDs with 196 byte length -> 262 bytes encoded base64.
So to be save we increase the size to 512 bytes.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-31 01:51:28 +02:00
Nextcloud bot 5ae6d1f4c3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-30 16:32:56 +00:00
Josh 1abebffa1b fix(config): Avoid error messages for restricted opcache API
Make changes recently added via #44230 match #8188 to avoid failures in restricted hosting environments.

Fixes #47562

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-08-30 07:55:00 +00:00
Arthur Schiwon 69c00aea3d Merge pull request #47604 from nextcloud/release/29.0.6_rc1
29.0.6 RC1
2024-08-29 18:21:29 +02:00
Arthur Schiwon 40a4485860 build: js assets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-29 17:17:29 +02:00
Hamza 98188743bb Merge pull request #47577 from nextcloud/backport/47525/stable29
[stable29] fix: optimise `getWrongShareOwnership` query
2024-08-29 13:48:45 +02:00
Arthur Schiwon 576ada746b build(hub): 29.0.6 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-29 12:11:24 +02:00
John Molakvoæ 573a4b86a2 Merge pull request #47566 from nextcloud/backport/47397/stable29 2024-08-29 10:51:59 +02:00
Kate 73728b23a5 Merge pull request #47573 from nextcloud/backport/37303/stable29 2024-08-29 10:41:09 +02:00
nextcloud-command 0b16589390 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-29 10:25:14 +02:00
Ferdinand Thiessen 6ab149e88c chore: Update @nextcloud/vue to v8.17.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-29 10:15:01 +02:00
Nextcloud bot 988dcb36b0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-29 00:21:24 +00:00
Louis 58a3c14497 Merge pull request #47571 from nextcloud/backport/47016/stable29
[stable29] refactor(files): Drop unneeded initial state
2024-08-28 23:50:01 +02:00
Hamza Mahjoubi e2a7575abb fix: optimise getWrongShareOwnership query
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-08-28 14:18:52 +00:00
Thomas Citharel 0601a3f8e0 fix(provisionning_api): Remove parameters that are not set into template
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-08-28 14:03:05 +00:00
nextcloud-command a3e29e28d5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-28 16:02:10 +02:00
Ferdinand Thiessen ca3af10b28 refactor(files): Drop unneeded initial state
The initial state is no longer used, it was only used in legacy UI and in the f2v rewrite
it was only used for the `id` which can be loaded just from the URL.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-28 16:00:03 +02:00
Joas Schilling 469e458778 Merge pull request #47549 from nextcloud/backport/47521/stable29
[stable29] fix(logger): ignore session logging during setup
2024-08-28 08:18:19 +02:00
Nextcloud bot 5f7736483f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-28 00:23:27 +00:00
Elizabeth Danzberger 82e61d9112 Merge pull request #47538 from nextcloud/backport/47500/stable29
[stable29] fix(files): fix list gap at bottom
2024-08-27 16:10:31 -04:00
Elizabeth Danzberger 235c44cc83 chore: rebuild assets
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-08-27 15:21:47 -04:00
Elizabeth Danzberger a4d26db380 fix(files): fix list gap at bottom
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-27 15:20:20 -04:00
Maxence Lange 135b270807 fix(setup): ignore long session login during installation
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-08-27 19:12:02 +00:00
Richard Steinmetz 6c73b11591 Merge pull request #47536 from nextcloud/backport/47509/stable29
[stable29] fix: gracefully handle unexpected exif orientation types
2024-08-27 19:28:22 +02:00
Andy Scherzinger 01b5d36515 Merge pull request #47213 from nextcloud/backport/47201/stable29
[stable29] fix(userstatus): run user status automation job for start and end events
2024-08-27 18:44:45 +02:00
Andy Scherzinger e4c6972dca Merge pull request #47175 from nextcloud/automated/noid/stable29-fix-npm-audit
[stable29] Fix npm audit
2024-08-27 18:44:13 +02:00
Andy Scherzinger 63ce129968 Merge pull request #47517 from nextcloud/backport/47508/stable29
[stable29] fix(Router): Load attribute routes of all apps when not app is specified
2024-08-27 18:35:32 +02:00
Richard Steinmetz 3f1eefd85b fix: gracefully handle unexpected exif orientation types
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-08-27 15:25:12 +00:00
Ferdinand Thiessen a91067c869 Merge pull request #47501 from nextcloud/fix/files-favorites
[stable29] fix: Correctly load favorites for subpath
2024-08-27 17:24:00 +02:00
Ferdinand Thiessen e7130c8ba4 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-27 15:05:24 +02:00
Ferdinand Thiessen 0c77417bc4 refactor(files): Migrate favorites view to @nextcloud/files functions and make it cancelable
Also this fixes the view being writeable

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-27 14:59:05 +02:00
Ferdinand Thiessen 57b81d8ec5 Merge pull request #47497 from nextcloud/backport/47465/stable29
[stable29] fix(files): Reset drop notice on firefox
2024-08-27 14:42:38 +02:00
provokateurin 351cf892e7 fix(Router): Load attribute routes of all apps when not app is specified
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-27 14:04:45 +02:00
nextcloud-command 2478fc61e7 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-27 10:48:12 +00:00
Ferdinand Thiessen 8fb9c821ad fix(files): Reset drop notice on firefox
On firefox there is an old bug where when you move a dragged file outside
the window the `dragleave` event is never emitted.
So we just use a timeout to reset the drag over state.

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

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-27 11:58:27 +02:00
Ferdinand Thiessen c9f82ff381 Merge pull request #47493 from nextcloud/backport/47467/stable29
[stable29] fix(files): Adjust margin at the file list bottom
2024-08-27 09:21:55 +02:00
nextcloud-command 7f8b27ec45 fix(deps): Fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2024-08-27 05:01:50 +00:00
Nextcloud bot 7153c364b2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-27 00:21:07 +00:00
nextcloud-command cb762b40d6 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-26 21:31:44 +00:00
Ferdinand Thiessen b72277de58 fix(files): Remove huge margin on bottom
Instead make it relative to screen size.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 23:23:40 +02:00
Arthur Schiwon 0036881d09 Merge pull request #47482 from nextcloud/backport/47480/stable29
[stable29] fix(flow): cannot set custom user agent
2024-08-26 18:40:41 +02:00
Arthur Schiwon 59933a3443 build: js assets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-26 13:07:29 +00:00
Robin Appelman 8a539df3a8 fix: write object to the correct urn when moving from another storage to object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-26 12:24:38 +00:00
Arthur Schiwon 7add3a3326 fix(flow): cannot set customer user agent
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-26 12:12:25 +00:00
Joas Schilling 4415c6c195 Merge pull request #47477 from nextcloud/backport/47435/stable29
[stable29] fix(mailer): Call to custom mail_template_class
2024-08-26 10:07:40 +02:00
Christoph Klaffl a2a0ce2364 fix call to custom mail_template_class
Signed-off-by: Christoph Klaffl <christoph@phreaker.eu>
2024-08-26 07:02:39 +00:00
Ferdinand Thiessen c837d30a6e Merge pull request #47234 from nextcloud/backportof/45848/stable29
Stable29: Fix/comment deleting with activities installed
2024-08-26 02:51:13 +02:00
Nextcloud bot bcb7c79139 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-26 00:20:35 +00:00
Nextcloud bot c61f3da608 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-25 00:24:33 +00:00
greta f27611f072 fix: Handle comment deletion correctly
Signed-off-by: greta <gretadoci@gmail.com>
2024-08-24 12:45:42 +02:00
Nextcloud bot 05820ab873 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-24 00:20:41 +00:00
Ferdinand Thiessen d8b926387e Merge pull request #47428 from nextcloud/backport/47415/stable29
[stable29] fix: Trusted server icon recovery without addressbook change
2024-08-23 19:51:51 +02:00
Nextcloud bot 112aecc277 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-23 00:20:20 +00:00
Pablo Zimdahl 04f313d1d6 fix(federation): always set server status to OK after successful runs
Previously if a server status got set to failure, it stayed that way
until an addressbook-sync found changes. Now the server status is set to
OK after each successful sync check (if that's not the case already),
regardless of addressbook changes.

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

Signed-off-by: Pablo Zimdahl <pablo@nextcloud.com>
2024-08-22 15:04:59 +00:00
Anna bb67798804 Merge pull request #47421 from nextcloud/backport/47413/stable29
[stable29] fix(caldav): limit property length
2024-08-22 15:34:01 +02:00
Anna Larch 975f1f596f fix(caldav): limit property length
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-08-22 11:20:49 +00:00
Joas Schilling 139b93216f Merge pull request #47410 from nextcloud/backport/47409/stable29
[stable29] fix(provisioning): Support setting new app configs as well
2024-08-22 08:41:54 +02:00
Joas Schilling 1b405aae8f fix(provisioning): Support setting new app configs as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-22 06:08:48 +00:00
Nextcloud bot c70b3efbff Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-22 00:20:35 +00:00
Arthur Schiwon 2793de48e6 Merge pull request #47394 from nextcloud/backport/46991/stable29
[stable29] fix(ProvisioningAPI): set typed config values by via API
2024-08-21 19:06:58 +02:00
Arthur Schiwon 5d8f5d0853 fix(ProvisioningAPI): set typed config values by via API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-21 13:01:59 +00:00
Joas Schilling 132137dc10 Merge pull request #47384 from nextcloud/backport/47380/stable29
[stable29] fix(theming): Make getImage() call save against missing non-SVG version
2024-08-21 14:07:16 +02:00
John Molakvoæ 4606fb2ab6 Merge pull request #47367 from nextcloud/fix/uploader 2024-08-21 12:12:48 +02:00
Joas Schilling ef756278ae fix(theming): Make getImage() call save against missing non-SVG version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-21 10:04:54 +00:00
nextcloud-command a14de4c8d3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-21 11:18:25 +02:00
Ferdinand Thiessen 68bee40458 chore(deps): Update @nextcloud/upload
* Resolves https://github.com/nextcloud/server/issues/44723#issuecomment-2299624174 for stable29

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-21 11:16:16 +02:00
Joas Schilling e559a81305 Merge pull request #47378 from nextcloud/followup/46711/fix-version-check
[stable29] fix(setupcheck): Fix mimetype server version check in backport
2024-08-21 11:07:01 +02:00
Joas Schilling 9be51b38e3 fix(setupcheck): Fix mimetype server version check in backport
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-21 10:25:23 +02:00
Joas Schilling fe6d90e50c Merge pull request #47263 from nextcloud/backport/47258/stable29
[stable29] Don't save translated predefined user status as custom status
2024-08-21 07:13:40 +02:00
Nextcloud bot 26bf1b1e15 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-21 00:20:32 +00:00
John Molakvoæ 5b8bbd375f Merge pull request #47345 from nextcloud/release/29.0.5 2024-08-20 19:56:03 +02:00
John Molakvoæ 0a65af5409 Merge pull request #47354 from nextcloud/backport/47346/stable29
[stable29] store the mountpoint of storages in the mount options and use it to find the encryption keys
2024-08-20 19:55:54 +02:00
skjnldsv fbfeeb4c53 build(hub): 29.0.5
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-20 15:56:26 +00:00
Robin Appelman cf2826d1f7 fix: use mountpoint from storage to find the encryption keys
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-20 14:22:44 +00:00
Robin Appelman e9fcf6bc9c feat: store the mountpoint of storages in the mount options
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-20 14:22:44 +00:00
Nextcloud bot 1e93ebc9a6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-20 00:20:46 +00:00
Stephan Orbaugh b8a864ab05 Merge pull request #47278 from nextcloud/backport/46881/stable29
[stable29] fix: try to find non-recursive share source
2024-08-19 16:44:11 +02:00
Nextcloud bot 9e380839af Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-19 00:20:32 +00:00
Nextcloud bot 807e0e1584 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-18 00:23:10 +00:00
Nextcloud bot c371b8c35e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-17 00:20:35 +00:00
Robin Appelman 20a7ab4be7 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 14:33:16 +00:00
Joas Schilling efd398ce71 fix(userstatus): Don't set predefined user status as custom when changing "Clear at"
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-16 13:57:02 +00:00
Nextcloud bot 87893fb1c0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-16 00:20:21 +00:00
Joas Schilling 60f3412c7a Merge pull request #47230 from nextcloud/backport/47212/stable29
[stable29] fix(security): Update expiration date in security.txt
2024-08-15 10:54:47 +02:00
Nextcloud bot 4515feef0c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-15 00:26:07 +00:00
Joas Schilling bb324019fa fix(security): Update expiration date in security.txt
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 10:45:22 +00:00
John Molakvoæ aa7f5ac358 Merge pull request #47192 from nextcloud/backport/47180/stable29 2024-08-14 11:39:34 +02:00
Anna Larch 470ad98811 fix(userstatus): run user status automation job for start and end events
Signed-off-by: Anna Larch <anna@nextcloud.com>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-08-14 08:39:16 +00:00
John Molakvoæ 7b66e0d3c2 Merge pull request #47205 from nextcloud/chore/bump 2024-08-14 09:11:09 +02:00
Nextcloud bot 662807b92d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-14 00:20:30 +00:00
skjnldsv cf52f117a9 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-13 21:35:10 +02:00
Côme Chilliet 3ea281269f 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-13 16:16:52 +02:00
Côme Chilliet 24e15badb7 fix(tests): Fix PHP 8.0 compatibility
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-13 15:17:57 +02:00
Côme Chilliet 3ec0998ecf 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-13 14:39:39 +02:00
Côme Chilliet 8ee5180f39 chore(tests): Fix SPDX license header on new cypress test
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-13 14:39:32 +02:00
Côme Chilliet 92885c5d07 fix(tests): Adapt tests to change of DefaultShareProvider constructor
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-13 14:39:14 +02:00
Côme Chilliet 21e47d4ff9 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-13 14:33:26 +02:00
Louis Chemineau ac6c0363de chore(tests): Test limiting sharing to same group
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-13 14:33:17 +02:00
Louis Chemineau c9b90b9e0b 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-13 14:32:43 +02:00
John Molakvoæ 55835ddea2 Merge pull request #47131 from nextcloud/release/29.0.5_rc1 2024-08-13 09:58:27 +02:00
Benjamin Gaussorgues 4bcabd4209 build(hub): 29.0.5 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-08-13 09:34:14 +02:00
Nextcloud bot 52e313fc48 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-13 00:20:18 +00:00
Nextcloud bot b6aa393dc5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-12 00:19:59 +00:00
Nextcloud bot de29d99869 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-11 00:20:04 +00:00
Ferdinand Thiessen 671a918adf Merge pull request #47171 from nextcloud/backport/47153/stable29
[stable29] fix: fix getting the folder node from the dav response
2024-08-10 22:32:13 +02:00
nextcloud-command 0926b52113 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-10 13:53:05 +00:00
nextcloud-command e1c5f940a3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-10 12:49:31 +00:00
Robin Appelman c8b00569a2 fix: fix getting the folder node from the dav response
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-10 12:49:31 +00:00
Nextcloud bot 7a7444015e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-10 00:20:22 +00:00
John Molakvoæ 4dc26f81d7 Merge pull request #47151 from nextcloud/backport/47147/stable29 2024-08-09 22:49:14 +02:00
skjnldsv 5dc2248bea 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:39 +00:00
Nextcloud bot 157272498d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-09 00:25:36 +00:00
Andy Scherzinger 255c19a002 Merge pull request #47137 from nextcloud/backport/45207/stable29
[stable29] fix(dav): Try basic auth for ajax WebDAV requests
2024-08-08 18:55:12 +02:00
Ferdinand Thiessen b2515800d7 Merge pull request #47072 from nextcloud/backport/46710/stable29
[stable29] fix: Use timestamp instead of revision id in files_versions metadata API
2024-08-08 18:02:51 +02:00
Ferdinand Thiessen bbf865317e Merge pull request #46940 from nextcloud/backport/46768/stable29
[stable29] fix(files): Provide default file action for file entry name (on click action)
2024-08-08 17:51:03 +02:00
Ferdinand Thiessen d796cd65c6 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 17:23:52 +02:00
Ferdinand Thiessen 081219a535 fix(files): Add missing directory variable to error message
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 17:20:54 +02:00
Ferdinand Thiessen adacfa8e9b fix(files): Provide file actions from list entry to make it reactive
This fixes non reactive default action text of the name component.
Also use download action as default action so that only one place
is needed to define how to download a file.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 17:20:54 +02:00
Ferdinand Thiessen 21f9fe8ce6 Merge pull request #46951 from nextcloud/backport/46918/stable29
[stable29] fix(files): Correctly create Nodes from WebDAV result in "recent"-view
2024-08-08 17:17:39 +02:00
Ferdinand Thiessen 4c70619e1b chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 16:49:15 +02:00
Ferdinand Thiessen 6524f0a756 test: Add test for recent view
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 16:49:15 +02:00
Ferdinand Thiessen f7ee910dc0 fix(files): Correctly create Nodes from WebDAV result in "recent"-view
The recent search works on a different remote URL so the source of the files were wrong,
because the remote url was included twice in the source.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 16:49:09 +02:00
Ferdinand Thiessen e6d36428a0 Merge pull request #46972 from nextcloud/backport/46963/stable29
[stable29] fix(files): cancel move-copy action should not be handled as an error
2024-08-08 15:53:46 +02:00
Benjamin Gaussorgues 9c80627ac8 Merge pull request #47036 from nextcloud/backport/46996/stable29 2024-08-08 15:44:37 +02:00
Ferdinand Thiessen e7547a9c9b fix(dav): Try basic auth for ajax WebDAV requests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 12:34:24 +00:00
Ferdinand Thiessen 925ff7c45f chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 14:25:54 +02:00
Ferdinand Thiessen 93cded4ccf 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-08 14:24:28 +02:00
Ferdinand Thiessen 028cc177a4 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 14:20:52 +02:00
Ferdinand Thiessen b905296470 perf(files_trashbin): Only trigger one PROPFIND for trashbin view
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 14:19:19 +02:00
Ferdinand Thiessen 34a93ff1e4 fix(files_trashbin): Original name of the deleted files should be set as display name for DAV
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 14:19:14 +02:00
Andy Scherzinger 598d50164a Merge pull request #46889 from nextcloud/backport/46476/stable29
[stable29] Migration Attributes
2024-08-08 13:55:56 +02:00
Andy Scherzinger 14bd6c144c Merge pull request #47119 from nextcloud/backport/47044/stable29
[stable29] fix(encryption): Fix mountpoint check to accept if several are found
2024-08-08 13:08:49 +02:00
Ferdinand Thiessen 556326cb4f Merge pull request #47129 from nextcloud/backport/47120/stable29
[stable29] fix(systemtags): Correctly load tagged files in "tags"-files-view
2024-08-08 11:49:26 +02:00
Andy Scherzinger 2d08bca1b6 Merge pull request #47126 from nextcloud/backport/47116/stable29
[stable29] fix(migration): Add column only if it does not exist
2024-08-08 10:44:22 +02:00
nextcloud-command 5a8a8f7432 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-08 08:41:40 +00:00
Andy Scherzinger fe6e5fa653 Merge pull request #47105 from nextcloud/backport/46106/stable29
[stable29] fix(session): Log when session_* calls are slow
2024-08-08 10:28:45 +02:00
Ferdinand Thiessen e711b6a472 fix(systemtags): Correctly load tagged files in "tags"-files-view
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 08:03:54 +00:00
Git'Fellow 11f163f31e fix(migration): Add column if not exists
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-08-08 07:56:31 +00:00
Nextcloud bot d2f1ea98ea Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-08 00:21:05 +00:00
Côme Chilliet c408c3868c 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 19:01:35 +00:00
Andy Scherzinger aed8c696b6 Merge pull request #47078 from nextcloud/backport/47065/stable29
[stable29] fix: Ensure database connection is setup when getting group details
2024-08-07 20:52:09 +02:00
Christoph Wurst 0a0c07cec1 fix(session): Log when session_* calls are slow
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-08-07 10:44:58 +00:00
Julius Härtl eec226d3e2 Merge pull request #47053 from nextcloud/backport/46534/stable29
[stable29] fix: Add direct parameter to flow auth v2
2024-08-07 12:23:45 +02:00
Andy Scherzinger a7b0e759a2 Merge pull request #47098 from nextcloud/backport/47095/stable29
[stable29] fix(theming): make cache buster depend on the app version
2024-08-07 10:58:10 +02:00
Louis Chemineau 959f171094 fix: Use timestamp instead of revision id in files_versions metadata API
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-07 10:41:24 +02:00
Richard Steinmetz 9533863c6e fix(theming): make cache buster depend on the app version
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-08-07 08:26:09 +00:00
Richard Steinmetz 1b50d28f88 Merge pull request #47080 from nextcloud/backport/38364/stable29
[stable29] fix(previews): Don't crash on animated WEBP images
2024-08-07 10:16:17 +02:00
Ferdinand Thiessen 940d0aa9a4 fix: Ensure database connection is setup when getting group details
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-07 09:37:12 +02:00
Andy Scherzinger cf72177de1 Merge pull request #47089 from nextcloud/backport/45193/stable29
[stable29] docs: added customclient_fdroid key to the config.sample.php file
2024-08-07 09:34:12 +02:00
Nextcloud bot bc25f9a5d0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-07 00:20:18 +00:00
Maxence Lange 825be0af80 fix(migration-preview): display a message if no attributes set
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-08-06 22:52:43 -01:00
Maxence Lange e227d5afa1 feat(upgrade): migration attributes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-08-06 22:41:35 -01:00
Bahman Jafarzadeh 69b7c1dec5 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:50:06 +00:00
Julius Härtl 89f82fd537 Merge pull request #47046 from nextcloud/backport/46931/stable29
[stable29] fix: fix passing additional db connection parameters in factory
2024-08-06 23:40:35 +02:00
Andy Scherzinger 571b5dbc49 Merge pull request #47086 from nextcloud/backport/46229/stable29
[stable29] fix(config): Clarify smtp debugging config option usage
2024-08-06 23:39:54 +02:00
Andy Scherzinger 14e0e4867e Merge pull request #47084 from nextcloud/backport/47070/stable29
[stable29] fix(share): Rename Circle to Team
2024-08-06 23:39:26 +02:00
Josh d1f291821e 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:35:52 +00:00
Git'Fellow cdf29e6e87 fix(share): Rename Circle to Team
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-08-06 21:27:19 +00:00
John Molakvoæ 3cd47a49dd Merge pull request #46983 from nextcloud/backport/46591/stable29 2024-08-06 23:15:58 +02:00
Julius Härtl 24993f988b fix: Add direct parameter to flow auth v2
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-08-06 22:44:34 +02:00
Luka Trovic 4bea2f1aa2 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 20:43:48 +00:00
Andy Scherzinger d629e65ee4 Merge pull request #47068 from nextcloud/backport/47043/stable29
[stable29] fix(inherited-shares): ignore top root folder
2024-08-06 20:15:49 +02:00
Josh Richards 32dd57e272 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:09:24 +00:00
Jonas 873537577e Merge pull request #47060 from nextcloud/fix/stable29/vue-8.16.0
Bump @nextcloud/vue from 8.14.0 to 8.16.0
2024-08-06 17:19:50 +02:00
Maxence Lange 4370f9f4e9 fix(inherited-shares): ignore top root folder
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-08-06 12:13:51 +00:00
nextcloud-command 359dbf6f26 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-06 13:55:49 +02:00
Jonas 371de2e1d7 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:45:46 +02:00
Nextcloud bot a617215968 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-06 00:20:19 +00:00
Ferdinand Thiessen 98dc0eed3b Merge pull request #47023 from nextcloud/backport/47015/stable29
[stable29] fix(files): Correctly handle open file URL query
2024-08-05 20:05:42 +02:00
Robin Appelman cf12dd03f9 fix: fix passing additional db connection parameters in factory
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-05 15:43:57 +00:00
Ferdinand Thiessen ddbcfffe76 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:40:08 +02:00
Git'Fellow 200c386e00 Merge pull request #47027 from nextcloud/backport/42800/stable29
[stable29] enh(metadata): Introduce a memory limit for metadata generation
2024-08-05 14:28:20 +02:00
Git'Fellow 217b28ed71 fix: Max file size for metadata generation
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Co-Authored-By: Louis <louis@chmn.me>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-08-05 07:08:19 +00:00
Nextcloud bot f3ef91c6a3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-05 00:20:41 +00:00
dependabot[bot] 562024a507 Merge pull request #46496 from nextcloud/dependabot/npm_and_yarn/stable29/nextcloud/cypress-1.0.0-beta.8 2024-08-04 11:09:15 +00:00
John Molakvoæ 0c22965ba0 Merge pull request #46497 from nextcloud/dependabot/npm_and_yarn/stable29/karma-coverage-2.2.1 2024-08-04 13:03:28 +02:00
dependabot[bot] 58b5a5de4f 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>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-04 10:48:43 +00:00
dependabot[bot] 869faea35f 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-08-04 12:41:16 +02:00
Nextcloud bot 5cb8620fbf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-04 00:19:52 +00:00
John Molakvoæ 3123f8af29 Merge pull request #47001 from nextcloud/dependabot/npm_and_yarn/stable29/nextcloud/sharing-0.2.3 2024-08-03 11:10:46 +02:00
dependabot[bot] 9bbbde8f54 build(deps): bump @nextcloud/sharing from 0.2.2 to 0.2.3
Bumps @nextcloud/sharing from 0.2.2 to 0.2.3.

---
updated-dependencies:
- dependency-name: "@nextcloud/sharing"
  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 08:54:36 +00:00
John Molakvoæ 42018db95c Merge pull request #46500 from nextcloud/dependabot/npm_and_yarn/stable29/mime-4.0.4 2024-08-03 10:04:42 +02:00
John Molakvoæ b41a8ac0ee Merge pull request #46774 from nextcloud/backport/46767/stable29 2024-08-03 08:14:41 +02:00
dependabot[bot] 49d6e145a2 Merge pull request #47000 from nextcloud/dependabot/npm_and_yarn/stable29/karma-6.4.4 2024-08-03 02:47:53 +00:00
dependabot[bot] cb26b76bbb build(deps-dev): bump karma from 6.4.3 to 6.4.4
Bumps [karma](https://github.com/karma-runner/karma) from 6.4.3 to 6.4.4.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.4.3...v6.4.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-03 01:16:58 +00:00
Nextcloud bot 30292cd882 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-03 00:19:57 +00:00
Ferdinand Thiessen f1d9ab1c95 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 22:10:05 +02:00
Ferdinand Thiessen e56fe07bbc fix(files): Correctly validate new node name
* Resolves https://github.com/nextcloud/server/issues/45409

This includes two fixes:

1. The name in the "new node" dialog is correctly selected (e.g. `file.txt` only `file` is selected by default), to allow quick naming

2. `@nextcloud/files` functions for filename validation are used, this allows to use new Nextcloud 30 capabilities (e.g. reserved names)

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 22:08:16 +02:00
Ferdinand Thiessen 3cabd544f6 Merge pull request #46995 from nextcloud/backport/46989/stable29
[stable29] fix(files): show folder sharing overlay on received shares
2024-08-02 21:33:51 +02:00
skjnldsv b1ca898ffd 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:33 +00:00
John Molakvoæ 12e6f0fd13 Merge pull request #46755 from nextcloud/backport/46648/stable29 2024-08-02 16:18:54 +02:00
skjnldsv 0523fad4c1 fix(cypress): filesSharingUtils import
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-02 15:44:29 +02:00
Ferdinand Thiessen 73b71fd835 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 15:44:29 +02:00
Ferdinand Thiessen 62cf0a3788 test: Add regression test for opening shared folders
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 15:44:29 +02:00
Ferdinand Thiessen 5d2d98fefe 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:44:29 +02:00
John Molakvoæ fd14d66373 Merge pull request #46529 from nextcloud/backport/46432/stable29
[stable29] fix(files): Close sidebar on navigation
2024-08-02 15:44:12 +02:00
skjnldsv a2ea37921f chore(cypress): adjust files-sidebar.cy.ts
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-02 15:00:47 +02:00
Arthur Schiwon ab550f193f Merge pull request #46969 from nextcloud/backport/46956/stable29
[stable29] fix(LDAP): remove unneeded dependencies
2024-08-02 10:54:44 +02:00
Ferdinand Thiessen 12a2c0fc19 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 10:21:05 +02:00
Ferdinand Thiessen c27de43886 fix(files): Close the sidebar on navigation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 10:21:05 +02:00
John Molakvoæ d349cc68c2 Merge pull request #46938 from nextcloud/backport/46921/stable29 2024-08-02 09:57:17 +02:00
Ferdinand Thiessen c7c71e56d7 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:30:27 +00:00
John Molakvoæ bf526d8f95 Merge pull request #46954 from nextcloud/backport/46864/stable29 2024-08-02 09:03:21 +02:00
Nextcloud bot 7b32dd54b7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-02 00:19:45 +00:00
Arthur Schiwon 38cfe2e861 fix(LDAP): remove unneeded dependencies
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-01 21:12:26 +00:00
Andy Scherzinger 0f1c930afe Merge pull request #46960 from nextcloud/backport/46287/stable29
[stable29] fix(userstatus): add missing parenthesis
2024-08-01 22:24:21 +02:00
Andy Scherzinger 1d978005f7 Merge pull request #46965 from nextcloud/backport/46353/stable29
[stable29] fix(setupchecks): Skip checking for OPcache settings if running checks from CLI
2024-08-01 22:22:50 +02:00
Git'Fellow 9d062fb7cc fix: typo
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-08-01 18:05:12 +00:00
Git'Fellow 6c39e9d074 fix: check both CLI and value
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-08-01 18:05:12 +00:00
Git'Fellow dde693cdf6 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:05:12 +00:00
Anna Larch 06ad7009f4 fix(userstatus): add missing parenthesis
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-08-01 16:16:10 +00:00
Ferdinand Thiessen 84e5b477f9 Merge pull request #46952 from nextcloud/backport/46550/stable29
[stable29] fix(dav): drop unwanted RemoteException class
2024-08-01 17:49:02 +02:00
Richard Steinmetz dffcf956eb fix: don't persist previews used during blurhash generation
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-08-01 14:18:25 +00:00
skjnldsv da9aac26a3 fix(dav): drop unwanted RemoteException class
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-01 13:40:09 +00:00
John Molakvoæ c5f876b66b Merge pull request #46948 from nextcloud/backport/46928/stable29 2024-08-01 15:11:04 +02:00
skjnldsv 670fa2a7e0 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:42:09 +00:00
Anupam Kumar 09bb34e83a Merge pull request #46949 from nextcloud/backport/46943/stable29
[stable29] fix(AdminSettings/AI): show pref list of only the enabled translation providers
2024-08-01 16:59:49 +05:30
Anupam Kumar 092fbb206f fix(AdminSettings/AI): show pref list of only the enabled translation providers
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2024-08-01 10:57:07 +00:00
John Molakvoæ 0d16ba6445 Merge pull request #46933 from nextcloud/backport/46927/stable29
[stable29] fix(files): do not show legacy `edit locally` action on public pages
2024-07-31 22:18:08 +02:00
John Molakvoæ 8d87e7e2ed Merge pull request #46911 from nextcloud/backport/46897/stable29 2024-07-31 22:12:09 +02:00
skjnldsv 691f33ba8f fix(files): do not show legacy edit locally action on public pages
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-31 18:50:50 +00:00
Christoph Wurst 178e5320ab Merge pull request #46906 from nextcloud/backport/45306/stable29
[stable29] perf(systemtags): Add index for systemtags_object_mappings.objectid
2024-07-31 19:23:13 +02:00
F. E Noel Nfebe 84e05ac9cb Merge pull request #46910 from nextcloud/backport/46452/stable29
[stable29] feat(editLocallyAction): Handle possible no local client scenario
2024-07-31 13:15:08 +01:00
nextcloud-command 248473e6c6 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-31 11:43:01 +00:00
fenn-cs 7e4b0d2894 fix: Adjust tests for editLocallyAction
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-31 12:31:03 +01:00
Ferdinand Thiessen a5559ccb1e revert: chore(files): cleanup old templates
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-31 10:23:56 +00:00
fenn-cs 4d9ba27142 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 10:12:23 +00:00
Christoph Wurst 017370e27c perf(systemtags): Add index for systemtags_object_mappings.objectid
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-07-31 09:12:33 +00:00
F. E Noel Nfebe e12217a111 Merge pull request #46898 from nextcloud/backport/46830/stable29
[stable29]  chore(ShareSettings): Proper wording for share autocompletion settings #46830
2024-07-31 10:09:07 +01:00
nextcloud-command 6cc11e3860 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-31 08:43:19 +00:00
fenn-cs 0faef87433 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-31 10:37:10 +02:00
Nextcloud bot ea4936b5dc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-31 00:20:25 +00:00
Joas Schilling 0298e843e3 Merge pull request #46900 from nextcloud/backport/46894/stable29
[stable29] fix(trashbin): Improve documentation of since/until timestamps of res…
2024-07-31 00:48:45 +02:00
Joas Schilling d198acc4bd fix(trashbin): Improve documentation of since/until timestamps of restore trashbin
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-30 22:20:40 +00:00
Ferdinand Thiessen a51e297526 Merge pull request #46884 from nextcloud/backport/46877/stable29
[stable29] ci: Fix summary condition
2024-07-30 18:55:40 +02:00
Ferdinand Thiessen 239ea110fd Merge pull request #46811 from nextcloud/backport/46784/stable29
[stable29] fix(styles): Make sure footer with legal links is shown correctly
2024-07-30 16:37:59 +02:00
Joas Schilling 1d7dc3c7d1 ci: Fix summary condition
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-30 14:00:05 +00:00
Ferdinand Thiessen b827d12cd8 Merge pull request #46869 from nextcloud/backport/46379/stable29
[stable29] fix: `OCP\Files\Node\Folder::search` was not setting the owner
2024-07-30 14:46:15 +02:00
Ferdinand Thiessen 2ce9eb343d chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-30 13:10:05 +02:00
Ferdinand Thiessen 264074c161 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:06:30 +00:00
Andy Scherzinger 339a01049a Merge pull request #46866 from nextcloud/backport/46865/stable29
[stable29] fix(files): correctly shrink breadcrumbs bar
2024-07-30 13:05:39 +02:00
provokateurin 1b535e8e3c test(theming): Fix broken footer links tests
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-30 13:03:31 +02:00
Ferdinand Thiessen 75efbfda94 fix(styles): Make sure footer with legal links is shown correctly
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-30 13:03:08 +02:00
nextcloud-command a5261d8d0a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-30 10:26:21 +00:00
nextcloud-command d411026854 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-30 09:53:47 +00:00
Raimund Schlüßler bfa8c9625f fix(files): correctly shrink breadcrumbs bar
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2024-07-30 09:53:46 +00:00
Git'Fellow 8f7033e185 Merge pull request #46863 from nextcloud/backport/46849/stable29
[stable29] fix: fix recursive share check
2024-07-30 10:49:29 +02:00
Robin Appelman 95361516de fix: fix recursive share check
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-30 07:04:01 +00:00
Nextcloud bot bd369be6b4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-30 00:20:03 +00:00
Andy Scherzinger 3eb91a4b9e Merge pull request #46764 from nextcloud/backport/46672/stable29
[stable29] Avoid using partial file info as valid one
2024-07-29 11:36:59 +02:00
Julius Härtl d76c0d4af6 fix: Do not return partial file info if we have a cache entry
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-29 08:16:30 +02:00
Julius Härtl 23ec547af0 fix: Ignore preview requests for invalid file ids
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-29 08:16:30 +02:00
Nextcloud bot d0aaf5c371 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-29 00:20:24 +00:00
Nextcloud bot 9d7bdc67d8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-28 00:39:43 +00:00
John Molakvoæ a2a1a263ea Merge pull request #46740 from nextcloud/backport/45932/stable29 2024-07-27 17:33:10 +02:00
John Molakvoæ 5e9aa2fb17 Merge pull request #46521 from nextcloud/backport/46475/stable29 2024-07-27 17:32:43 +02:00
John Molakvoæ 18076c764b Merge pull request #46578 from nextcloud/backport/46555/stable29 2024-07-27 17:32:30 +02:00
John Molakvoæ 3a4c3b98cb Merge pull request #46582 from nextcloud/backport/45974/stable29 2024-07-27 17:32:07 +02:00
John Molakvoæ c338f31e5a Merge pull request #46514 from nextcloud/automated/noid/stable29-fix-npm-audit 2024-07-27 16:28:37 +02:00
John Molakvoæ cea8c4c364 Merge pull request #46711 from nextcloud/backport/45353/stable29 2024-07-27 16:12:10 +02:00
John Molakvoæ 7f04dd0146 Merge pull request #46801 from nextcloud/backport/46786/stable29 2024-07-27 14:13:56 +02:00
skjnldsv 6df8bdf5df 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>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-27 10:05:38 +02:00
John Molakvoæ 19325e0be2 Merge pull request #46791 from nextcloud/dependabot/npm_and_yarn/stable29/cypress/vue2-2.1.1 2024-07-27 09:30:34 +02:00
John Molakvoæ e61807c953 Merge pull request #46792 from nextcloud/dependabot/npm_and_yarn/stable29/browserslist-useragent-regexp-4.1.3 2024-07-27 09:29:03 +02:00
dependabot[bot] 079f845cbc build(deps): bump browserslist-useragent-regexp from 4.1.1 to 4.1.3
Bumps [browserslist-useragent-regexp](https://github.com/browserslist/browserslist-useragent-regexp) from 4.1.1 to 4.1.3.
- [Release notes](https://github.com/browserslist/browserslist-useragent-regexp/releases)
- [Changelog](https://github.com/browserslist/browserslist-useragent-regexp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist-useragent-regexp/compare/v4.1.1...v4.1.3)

---
updated-dependencies:
- dependency-name: browserslist-useragent-regexp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-27 01:03:29 +00:00
dependabot[bot] 8134355de6 build(deps-dev): bump @cypress/vue2 from 2.1.0 to 2.1.1
Bumps [@cypress/vue2](https://github.com/cypress-io/cypress) from 2.1.0 to 2.1.1.
- [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/vue2-v2.1.0...@cypress/vue2-v2.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-27 01:03:12 +00:00
Nextcloud bot 3954d61826 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-27 00:19:31 +00:00
Maksim Sukharev 8702374d04 Merge pull request #46787 from nextcloud/backport/46773/stable29
[stable29] style(settings): align icons at legacy help navigation
2024-07-26 19:14:15 +02:00
Maksim Sukharev 92122d4d59 style(settings): align icons at legacy help navigation
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-07-26 16:41:15 +00:00
John Molakvoæ a6b201ea1c Merge pull request #46728 from nextcloud/backport/46690/stable29 2024-07-26 10:40:01 +02:00
Ferdinand Thiessen 456aeb9344 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-26 01:57:41 +00:00
Ferdinand Thiessen a1cc078c88 test: Adjust Jest config to properly transform all ESM packages
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-26 02:44:44 +02:00
Ferdinand Thiessen 9002461e0f fix(files): Use @nextcloud/files filename validation to show more details
This will enable showing more details what exactly is wrong with the filename.
Especially with the new capabilities introduced with Nextcloud 30.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-26 02:23:19 +02:00
Ferdinand Thiessen 0539b0a92d fix: Use functions from @nextcloud/files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-26 02:23:19 +02:00
Ferdinand Thiessen 190f3a901b fix(files): Do not split filename into base and extension for folders
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-26 02:23:19 +02:00
Ferdinand Thiessen 6a5926ce64 chore(deps): Update @nextcloud/files to v3.7.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-26 02:23:18 +02:00
Nextcloud bot 4aac0b1008 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-26 00:20:02 +00:00
dependabot[bot] f73f7564e7 Merge pull request #46498 from nextcloud/dependabot/npm_and_yarn/stable29/nextcloud/calendar-availability-vue-2.2.2 2024-07-25 22:05:30 +00:00
nextcloud-command be24d905f9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-25 21:37:34 +00:00
dependabot[bot] 2861e77fd3 build(deps): bump @nextcloud/calendar-availability-vue from 2.2.0 to 2.2.2
Dependabot couldn't find the original pull request head commit, 1aa174b5c1653679dd5740c0658ab2259e58305e.
2024-07-25 21:17:10 +00:00
nextcloud-command 31ca7809e5 fix(deps): Fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2024-07-25 18:40:22 +00:00
Git'Fellow 5a29cc51c7 chore: add warning in case of failure
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-07-25 20:16:51 +02:00
Git'Fellow 837e006e7f fix(appstore): Return an empty array in case of fail
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-07-25 20:16:51 +02:00
Anna Larch 620d58fdf1 fix(caldav): lower scheduling table size warning
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-07-25 20:16:26 +02:00
Andy Scherzinger e827b86b09 Merge pull request #46684 from nextcloud/backport/46674/stable29
[stable29] feat: add config flag to toggle persistent redis connections
2024-07-25 20:14:08 +02:00
Andy Scherzinger a80d72683f Merge pull request #46669 from nextcloud/backport/46640/stable29
[stable29] fix(Token): take over scope in token refresh with login by cookie
2024-07-25 19:42:46 +02:00
Andy Scherzinger b1eb1c5a0f Merge pull request #46679 from nextcloud/backport/44294/stable29
[stable29] fix: Pass the mountpoint target user to storages without owner
2024-07-25 19:40:10 +02:00
Andy Scherzinger 21e727c1cd Merge pull request #46750 from nextcloud/backport/44788/stable29
[stable29] feat: add additional logging for database errors
2024-07-25 19:35:21 +02:00
Andy Scherzinger 9de90a30fe Merge pull request #46752 from nextcloud/backport/46703/stable29
[stable29] fix: Add .whiteboard alias for .excalidraw files
2024-07-25 19:33:02 +02:00
Andy Scherzinger fe8846bbcf Merge pull request #46758 from nextcloud/backport/46749/stable29
[stable29] fix: add a try and catch for delete versioning
2024-07-25 19:32:21 +02:00
greta b0fda408ab fix: add a try and catch for delete versioning
Signed-off-by: greta <gretadoci@gmail.com>
2024-07-25 14:51:49 +00:00
Robin Appelman 258798c54c Merge pull request #46743 from nextcloud/backport/46693/stable29
[stable29] feat: add a specialized writeStream implementation for s3 external storage
2024-07-25 16:45:20 +02:00
Robin Appelman c95206ad38 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:47:27 +02:00
Julius Härtl 134163e01e fix: Add .whiteboard alias for .excalidraw files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-25 12:45:33 +00:00
Robin Appelman ed58026e4d feat: add a specialized writeStream implementation for s3 external storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-25 11:02:42 +00:00
carhe 7d843f8b64 fix(files_versions): avoid unintentional skipping of expiration
Signed-off-by: carhe <carstenherrmann@web.de>
2024-07-25 10:57:26 +00:00
John Molakvoæ 4ec3ccd6aa Merge pull request #46522 from nextcloud/backport/46504/stable29 2024-07-25 12:50:16 +02:00
Hoang Pham d06e5d41d9 feat: support excalidraw file
Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
2024-07-25 17:00:34 +07:00
Julius Härtl cae18a80c7 fix: Adapt icon color to new default for mime icons
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-25 17:00:34 +07:00
Hoang Pham e5532362da feat: support excalidraw file
Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
2024-07-25 17:00:34 +07:00
John Molakvoæ 3a7e77a3b8 Merge pull request #46731 from nextcloud/fix/46718/stable29 2024-07-25 10:12:29 +02:00
Joas Schilling fc8dd10cfa Merge pull request #46564 from nextcloud/backport/46450/stable29
[stable29] fix(files_metadata): Don't run generation job on every upgrade
2024-07-25 08:49:58 +02:00
nextcloud-command 68c0e23c1a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-25 06:36:20 +00:00
Maksim Sukharev 7ea8ace4ce fix(files): ensure forbiddenCharacters is an array
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-07-25 08:19:42 +02:00
dependabot[bot] 085c037d2d Merge pull request #46499 from nextcloud/dependabot/npm_and_yarn/stable29/nextcloud/browserslist-config-3.0.1 2024-07-24 23:35:26 +00:00
Maksim Sukharev 0a61399b8b Merge pull request #46718 from nextcloud/backport/46689/stable29
[stable29] fix(files): validate input when creating file/directory
2024-07-24 21:56:32 +02:00
Ferdinand Thiessen 529a9bd6d8 Merge pull request #46721 from nextcloud/backport/46694/stable29
[stable29] fix: FileInfo from `View` should have the correct name of a mountpoint
2024-07-24 20:42:16 +02:00
nextcloud-command ea862b1b7a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-24 16:40:46 +00:00
Maksim Sukharev 9ed5c96e3a fix(files): validate input when creating file/directory
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-07-24 18:33:41 +02:00
Benjamin Gaussorgues 09eb3075ea Merge pull request #46725 from nextcloud/backport/45092/stable29 2024-07-24 17:49:15 +02:00
Benjamin Gaussorgues 0022db138d fix(search): show user search provider for deactivated and admin pages
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-07-24 14:40:35 +00:00
Ferdinand Thiessen 824803dd7b 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:26:40 +00:00
Anupam Kumar c40244fdab Merge pull request #46636 from nextcloud/backport/46608/stable29
[stable29] fix(TextProcessing): use error instead of info for exception logging
2024-07-24 18:42:49 +05:30
Nextcloud bot 080106a2e5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-24 00:19:54 +00:00
Anna f9235a09ed Merge pull request #46696 from nextcloud/backport/45667/stable29
[stable29] fix(caldav): stricter default calendar checks
2024-07-23 10:10:58 +02:00
Richard Steinmetz 25f56e75ef fix(caldav): stricter default calendar checks
Reject calendars that
- are subscriptions
- are not writable
- are shared with a user
- are deleted
- don't support VEVENTs

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-07-23 08:50:30 +02:00
Nextcloud bot 64a7670a52 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-23 00:19:36 +00:00
Robin Appelman 692f4fa51c feat: add config flag to toggle persistent redis connections
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-22 13:10:16 +00:00
Julius Härtl c60725c813 fix: Pass the mountpoint target user to storages without owner
Storages that do not have a dedicated owner (e.g. groupfolders, external
storages) currently always assume the current session user as the owner.
This leads to several issues when there is no user session but a node is
obtained through a user folder.

In order to have the correct user available we need to pass the user
that is used to setup a mountpoint along to the storage layer as we
generally assume that an owner is available for those.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-22 12:51:50 +00:00
Arthur Schiwon 95f7613581 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:54:44 +00:00
Nextcloud bot 6b76a4eb94 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-22 00:19:21 +00:00
Nextcloud bot 54b84f6c76 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-21 00:19:53 +00:00
Josh ec016b0a64 Merge pull request #46569 from nextcloud/backport/46342/stable29
[stable29] fix(previews): Stop returning true when `getimagesize()` fails
2024-07-19 22:23:02 -04:00
Nextcloud bot ba8a71fa12 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-20 00:19:45 +00:00
Sebastian Krupinski 23c4bb1ea4 Merge pull request #46646 from nextcloud/backport/46225/stable29
[stable29] fix(dav): Thrown forbidden error for authenticated user instead of no…
2024-07-19 13:25:39 -04:00
SebastianKrupinski 3c8106d511 fix(dav): Thrown forbidden error for authenticated user instead of not found
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-19 17:01:24 +00:00
Andy Scherzinger 63a4884bb2 Merge pull request #46626 from nextcloud/backport/46448/stable29
[stable29] fix(dashboard): Unify widget icon colors and document it's behaviour
2024-07-19 16:34:29 +02:00
Joas Schilling f279295ccf Merge pull request #46462 from nextcloud/automated/noid/stable29-update-psalm-baseline
[stable29] Update psalm-baseline.xml
2024-07-19 14:26:09 +02:00
Anupam Kumar 9b0ed06556 fix(TextProcessing): use error instead of info for exception logging
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2024-07-19 12:00:51 +00:00
Joas Schilling 8bbf4ece4c Merge pull request #46627 from nextcloud/backport/46419/stable29
[stable29] fix(mail): Fix big logos in mail templates for Outlook
2024-07-19 11:03:55 +02:00
nextcloud-command 6d63ea097d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-19 08:24:43 +00:00
Joas Schilling ee6d74eb63 fix(mail): Fix big logos in mail templates for Outlook
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 08:11:54 +00:00
Joas Schilling 66e1d866a2 fix(dashboard): Document expected icon behaviour
Signed-off-by: Joas Schilling <coding@schilljs.com>

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

[skip ci]
2024-07-19 08:06:30 +00:00
Joas Schilling acc2571a0d fix(dashboard): Use the widget icon URL when it was provided
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 08:06:30 +00:00
Joas Schilling 5236e01521 fix(userstatus): Fix dashboard icon
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 08:06:30 +00:00
nextcloud-command ff67662d42 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-07-19 02:25:35 +00:00
Nextcloud bot d63621b914 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-19 00:19:49 +00:00
Sebastian Krupinski 33f39035e6 Merge pull request #46602 from nextcloud/backport/46593/stable29
[stable29] fix(caldav): Throw 403 Forbidden Error instead of 500 Internal Server…
2024-07-18 18:05:42 -04:00
Sebastian Krupinski 2f88883e5f Merge pull request #46614 from nextcloud/backport/46594/stable29
[stable29] fix(caldav): decode values before returning
2024-07-18 14:56:15 -04:00
SebastianKrupinski 658f225138 fix(caldav): decode values before returning
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-18 14:02:34 +00:00
Benjamin Gaussorgues f5ac1aa445 Merge pull request #46584 from nextcloud/release/29.0.4 2024-07-18 13:32:47 +02:00
John Molakvoæ a537ce99be Merge pull request #46562 from nextcloud/backport/46354/stable29 2024-07-18 12:11:18 +02:00
SebastianKrupinski 9f3d07e339 fix(caldav): Throw 403 Forbidden Error instead of 500 Internal Server Error
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-18 08:17:13 +00:00
John Molakvoæ ebdf65a28b Merge pull request #46598 from nextcloud/backport/46589/stable29 2024-07-18 09:41:13 +02:00
skjnldsv b419daec27 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:50:32 +00:00
Nextcloud bot b50a4eb645 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-18 00:19:37 +00:00
Benjamin Gaussorgues 8c6110764f build(hub): 29.0.4
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-07-17 15:57:41 +02:00
Joas Schilling 90a4778250 Merge pull request #46575 from nextcloud/ci/noid/update-used-actions
[stable29] fix(CI): Update setup-php, setup-node, checkout and paths-filter actions
2024-07-17 13:24:38 +02:00
Joas Schilling b651ad2536 fix(CI): Fix new files after rebase on lastest stable29
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-17 11:03:50 +02:00
Joas Schilling e63aee4dd8 fix(CI): Update setup-php, setup-node, checkout and paths-filter actions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-17 10:50:22 +02:00
Nextcloud bot 4107cb66b9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-17 00:19:43 +00:00
grnd-alt 5981e6a08f 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:52:11 +00:00
Josh Richards 676dca4116 fix(previews): Stop returning true when getimagesize() fails
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-07-16 19:51:50 +00:00
Louis Chemineau 7ac8a8a5b8 fix(files_metadata): Don't run generation job on every upgrade
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-16 15:12:18 +00:00
skjnldsv 86ccba3714 fix(theming): enforce theme should still provide dark as fallback
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-16 08:25:50 +02:00
Nextcloud bot e67f80ad67 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-16 00:20:02 +00:00
Git'Fellow 6aadb64192 fix(redis): Require version >=4 for unlink
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-07-15 07:56:57 +00:00
Nextcloud bot e184e3c463 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-15 00:20:03 +00:00
Nextcloud bot be6886422f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-14 00:19:38 +00:00
dependabot[bot] 10705dce85 build(deps-dev): bump mime from 4.0.3 to 4.0.4
Bumps [mime](https://github.com/broofa/mime) from 4.0.3 to 4.0.4.
- [Changelog](https://github.com/broofa/mime/blob/main/CHANGELOG.md)
- [Commits](https://github.com/broofa/mime/compare/v4.0.3...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-13 02:46:13 +00:00
dependabot[bot] 7b61a9ba3e build(deps): bump @nextcloud/browserslist-config from 3.0.0 to 3.0.1
Bumps [@nextcloud/browserslist-config](https://github.com/nextcloud/browserslist-config) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/nextcloud/browserslist-config/releases)
- [Commits](https://github.com/nextcloud/browserslist-config/compare/v3.0.0...v3.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-13 02:45:51 +00:00
Nextcloud bot 58a80f87bd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-13 00:19:57 +00:00
Joas Schilling 37043b6014 Merge pull request #46469 from nextcloud/backport/46468/stable29
[stable29] fix(ci): Correctly check for assets that need compilation
2024-07-12 16:17:39 +02:00
Joas Schilling 54328eb8cc 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:13:03 +02:00
nextcloud-command cde3d9955f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-12 15:13:02 +02:00
Joas Schilling cb5bd604f1 fix(CI): Ensure we recompile when needed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-12 15:13:01 +02:00
Joas Schilling 352a3911c6 Merge pull request #46471 from nextcloud/fix/unit-tests-stable29
test(theming): Fix unit tests for personal settings
2024-07-12 15:11:59 +02:00
Ferdinand Thiessen fb6105ba4b test(theming): Fix unit tests for personal settings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-12 14:45:21 +02:00
Nextcloud bot f410f49375 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-12 00:19:45 +00:00
Benjamin Gaussorgues b72a433279 Merge pull request #46389 from nextcloud/release/29.0.4_rc1 2024-07-11 17:31:32 +02:00
Benjamin Gaussorgues 0aa51e685d Merge pull request #46443 from nextcloud/backport/46392/stable29 2024-07-11 17:29:12 +02:00
F. E Noel Nfebe 4546e2cbd2 Merge pull request #46162 from nextcloud/backport/46143/stable29
[stable29] fix(SharingEntryLink): Show enforced password input label
2024-07-11 13:19:51 +01:00
Benjamin Gaussorgues 3e2600bf86 feat: don't count failed CSRF as failed login attempt
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-07-11 14:15:20 +02:00
nextcloud-command 93f0e096d3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-11 11:05:48 +00:00
Andy Scherzinger f9e1006281 Merge pull request #46437 from nextcloud/backport/46398/stable29
[stable29] fix(Session): avoid race conditions on clustered setups
2024-07-11 12:25:11 +02:00
fenn-cs e9d83d291b fix(SharingEntryLink): Show enforced password input label
While upgrading icons in b3ec461fe8 enforced password label

icon was not correctly wrapped.

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

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

[skip ci]
2024-07-11 12:23:25 +02:00
F. E Noel Nfebe 406353add4 Merge pull request #46119 from nextcloud/backport/46030/stable29
[stable29] fix(FilesView): Update files view upon share creation/delete
2024-07-11 11:18:12 +01:00
nextcloud-command 6c01734a47 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-11 08:41:18 +00:00
Arthur Schiwon b983818cc1 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:29:09 +00:00
Arthur Schiwon 0ba9f046e7 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:29:09 +00:00
fenn-cs ff3bcc6a86 refactor(SharingDetailsView): Use NC logger
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-11 08:22:48 +01:00
fenn-cs 2e0d849d10 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-11 08:22:36 +01:00
Joas Schilling ecd454e4ca Merge pull request #46393 from nextcloud/backport/46320/stable29
[stable29] perf: Set session.cache_limiter at runtime to avoid clients caching static assets served by PHP
2024-07-11 09:19:37 +02:00
Ferdinand Thiessen 1672d79c08 Merge pull request #46258 from nextcloud/backport/45395/stable29
[stable29] fix(theming): Conitionally disable blur filter for performance
2024-07-11 09:17:55 +02:00
Julius Härtl ea262a8ca3 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-11 08:31:21 +02:00
Marcel Müller 0986d295b1 Merge pull request #46434 from nextcloud/backport/46428/stable29
[stable29] fix(theming): Don't reset the cachebuster value when we reset theming
2024-07-11 08:28:33 +02:00
Ferdinand Thiessen 914aa984c4 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-11 08:22:47 +02:00
Ferdinand Thiessen 78114c6630 feat(theming): Add checkbox for force enable / disable blurry background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-11 08:22:47 +02:00
Ferdinand Thiessen eb282a6cee fix(theming): Conitionally disable blur filter for performance
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-11 08:22:47 +02:00
Andy Scherzinger 12d9c1ce96 Merge pull request #45911 from nextcloud/backport/45900/stable29
[stable29] fix(files_versions): Use `NcDateTime` for proper translated version dates
2024-07-11 08:12:47 +02:00
Marcel Müller 276adecf10 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 05:27:49 +00:00
Joas Schilling c2be5b2f2a Merge pull request #46412 from nextcloud/backport/46388/stable29
[stable29] fix(workflows): Fix file systemtag cache
2024-07-11 06:48:23 +02:00
Nextcloud bot d23c528540 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-11 00:20:08 +00:00
Kate 6167a4a084 Merge pull request #45956 from nextcloud/backport/45228/stable29 2024-07-11 01:24:33 +02:00
nextcloud-command c4fb357184 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-10 23:36:46 +02:00
Ferdinand Thiessen 5a69a73b48 fix(files_versions): Version name and date should be shrinkable to allow viewing on small screens
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 23:36:46 +02:00
Ferdinand Thiessen 714fb1cce9 fix(files_versions): Use NcDateTime to ensure date is transalted properly
Also do not use filters, filters are deprecated and will make migration to Vue 3 harder.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 23:36:46 +02:00
Daniel Kesselberg a554ba5d68 test: run tests in child process
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-10 23:35:43 +02:00
Côme Chilliet 780bf606d2 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 23:35:43 +02:00
Steve Mokris 182284ee98 fix(settings): define a 'heartbeat' route, so SecurityHeaders can handle redirected root
Signed-off-by: Steve Mokris <steve@kosada.com>
2024-07-10 23:35:43 +02:00
Andy Scherzinger 7c088bd735 Merge pull request #46091 from nextcloud/backport/46073/stable29
[stable29] fix: allows admin to edit global credentials
2024-07-10 23:33:45 +02:00
Benjamin Gaussorgues a631733d06 fix: allows admin to edit global credentials
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-07-10 22:06:47 +02:00
Andy Scherzinger db748b4652 Merge pull request #45919 from nextcloud/backport/45582/stable29
[stable29] delete background jobs by id when cleaning up
2024-07-10 22:05:38 +02:00
Andy Scherzinger 650aec50bf Merge pull request #46069 from nextcloud/backport/45877/stable29
[stable29] fix: don't use custom certificate bundle if no customer certificates are configured
2024-07-10 20:33:46 +02:00
Andy Scherzinger 0f332839af Merge pull request #46035 from nextcloud/backport/46017/stable29
[stable29] fix: also use optimized getFirstNodeyIdInPath for Folder::getFirstNodeById
2024-07-10 20:32:36 +02:00
Andy Scherzinger f22f127d3e Merge pull request #46061 from nextcloud/backport/45938/stable29
[stable29] fix: Do not log an error when connecting to SFTP without a logged in user
2024-07-10 20:31:42 +02:00
Robin Appelman f3c3d890d6 test: update DummyJobList
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-10 20:29:36 +02:00
Robin Appelman 7a801f0690 fix: delete background jobs by id when cleaning up
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-10 20:29:36 +02:00
Andy Scherzinger 440968fe2c Merge pull request #46012 from nextcloud/backport/45999/stable29
[stable29] fix(caldav): encode calendar URIs with umlauts for activities
2024-07-10 19:58:13 +02:00
Anna 9745bf23dc Merge pull request #46413 from nextcloud/backport/46315/stable29
[stable29] fix(caldav): limit vevent size
2024-07-10 19:56:17 +02:00
Ferdinand Thiessen 27a8e5fbc6 Merge pull request #46374 from nextcloud/fix/29-nextcloud-libraries
[stable29] fix: Update Nextcloud libraries
2024-07-10 19:48:58 +02:00
nextcloud-command e1a76f1e4b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-10 17:23:46 +00:00
Ferdinand Thiessen 57869f565f 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 19:05:38 +02:00
Ferdinand Thiessen 7a2fbe11ec chore(deps): Update debounce to 2.1.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 19:05:38 +02:00
Ferdinand Thiessen 07fa445f38 refactor(files): Update @nextcloud/files to v3.5.0
* Removed now duplicated code

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 19:05:38 +02:00
Ferdinand Thiessen 899d74163f fix: Update Nextcloud libraries
* Update `@nextcloud/dialogs` to 5.3.5
* Update `@nextcloud/capabilities` to 1.2.0
* Update `@nextcloud/sharing` to 0.2.0

`@vueuse/*` is updated to reduce duplicated dependencies as the newer libraries need newer vueuse versions,
but it is compatible so nothing breaking.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 19:05:38 +02:00
Ferdinand Thiessen 2071f4d713 Merge pull request #46298 from nextcloud/backport/46174/stable29
[stable29] fix(IntegrityCheck): Ensure the check is run if no results are available
2024-07-10 19:01:43 +02:00
Ferdinand Thiessen cc2ed78dd6 Merge pull request #46054 from nextcloud/fix/29-files-versions
fix(files_trashbin): Make files view registering an init script
2024-07-10 17:29:14 +02:00
Ferdinand Thiessen 4bbe2345fe Merge pull request #46211 from nextcloud/fix/capabilities-stable29
[stable29] fix(theming): Also provide default image as background by absolut URL
2024-07-10 16:59:32 +02:00
SebastianKrupinski 7728bbcf25 fix(caldav): limit vevent size
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-10 14:55:52 +00:00
Joas Schilling 9d494a2774 fix(workflows): Fix file systemtag cache
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-10 14:54:15 +00:00
Richard Steinmetz d9d4f1e16f fix(caldav): encode calendar URIs with umlauts for activities
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-07-10 15:18:27 +02:00
Daniel Calviño Sánchez 8c2f05f05e 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-10 15:17:47 +02:00
Andy Scherzinger 3b7172b5ed Merge pull request #46314 from nextcloud/backport/46193/stable29
[stable29] fix(carddav): limit vcard size
2024-07-10 15:14:38 +02:00
Ferdinand Thiessen ac1ed90919 fix(files_trashbin): Make files view registering an init script
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 14:12:42 +02:00
Benjamin Gaussorgues 6fe943d8d2 build(hub): 29.0.4 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-07-10 11:23:44 +02:00
Ferdinand Thiessen 7fc4691f87 Merge pull request #46385 from nextcloud/backport/46310/stable29
[stable29] fix(cypress): wait for apps list fetch for better testing stability
2024-07-10 03:52:20 +02:00
Nextcloud bot 2757beb714 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-10 00:34:29 +00:00
Ferdinand Thiessen 16e6f9c8dc Merge pull request #46093 from nextcloud/backport/46079/stable29
[stable29] fix(settings): make trailing slash for caldav/carddav redirects optional
2024-07-10 01:06:26 +02:00
F. E Noel Nfebe 66b0f6df0f Merge pull request #46362 from nextcloud/backport/46321/stable29
[stable29] fix(SharingDetailsView): Prevent illegal unselection of read permissions
2024-07-09 23:45:39 +01:00
MichaIng 79bcb9d3de fix(settings): make trailing slash for caldav/carddav redirects optional
#43939 moved the CalDAV/CardDAV redirect checks from the frontend to a new backend API.

Since the backend does not send an authentication header, checking for the expected response code 207 of the DAV endpoint does not work anymore, hence the URL of the last redirect is checked instead.

This URL is expected to contain a trailing slash, which was not required before, since the DAV endpoint works properly without it (when authenticated).

While a trailing slash in the redirect does no harm, it causes many setups to throw an admin panel warning, while in fact the redirects work properly. Furthermore, the proposed "/.well-known/carddav" => "/remote.php/dav/" redirect leads to double slashes, when doing a request to "/.well-known/carddav/", which seems more wrong then right.

This change makes the trailing slash optional, hence old and adjusted setups won't throw the warning anymore, and the DAV endpoint works well in both cases.

Signed-off-by: MichaIng <micha@dietpi.com>
2024-07-10 00:24:39 +02:00
skjnldsv 70113b817c fix(cypress): wait for apps list fetch for better testing stability
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-09 20:37:10 +00:00
Ferdinand Thiessen 57c893e93f Merge pull request #46001 from nextcloud/backport/45958/stable29
[stable29] fix(files_versions): renaming file version when its not a string
2024-07-09 22:18:32 +02:00
Sanskar Soni 75342d6d37 fix(files_versions): renaming file version when its not a string
Signed-off-by: Sanskar Soni <sanskarsoni300@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-09 19:41:54 +02:00
Git'Fellow 263524bbcd Merge pull request #46367 from nextcloud/backport/46317/stable29
[stable29] fix(s3): Don't wait indefinitely for S3 to return
2024-07-09 15:31:49 +02:00
nextcloud-command 5c6af78b77 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-09 13:13:46 +00:00
fenn-cs e2501f0595 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>
2024-07-09 14:02:23 +01:00
Git'Fellow aa24a4ad5d 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:51:43 +00:00
Nextcloud bot bff9081ebd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-09 00:20:04 +00:00
Julius Härtl 401a67a723 Merge pull request #46039 from nextcloud/backport/44369/stable29
[stable29] fix: csrf check failed on public share with password
2024-07-08 17:33:48 +02:00
Luka Trovic aee47694b6 fix: csrf check failed on public share with password
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2024-07-08 13:22:20 +02:00
Nextcloud bot 32823f1244 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-08 00:19:50 +00:00
Nextcloud bot 083eeb75bd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-07 00:19:32 +00:00
Daniel ad0d58eeba Merge pull request #46306 from nextcloud/backport/46276/stable29
[stable29] chore(mp3info): apply upstream patch for invalid array access
2024-07-06 17:16:14 +02:00
dependabot[bot] 533354f5be Merge pull request #46334 from nextcloud/dependabot/npm_and_yarn/stable29/eslint-plugin-cypress-2.15.2 2024-07-06 14:35:47 +00:00
Daniel d4a1710220 Merge pull request #46163 from nextcloud/backport/45876/stable29
[stable29] fix: Avoid throwing errors for teams are unavailable
2024-07-06 14:40:40 +02:00
Daniel Kesselberg f61bb58805 chore(mp3info): apply upstream patch for invalid array access
Patch: wapmorgan/Mp3Info#36

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-06 14:24:27 +02:00
Daniel Kesselberg a4bf0f69be feat: log file id and path when extracting the mp3 cover fails
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>

[skip ci]
2024-07-06 14:24:27 +02:00
dependabot[bot] ff3e951691 Merge pull request #46332 from nextcloud/dependabot/npm_and_yarn/stable29/cypress-if-1.12.3 2024-07-06 10:35:40 +00:00
dependabot[bot] 3312cd78c0 chore(deps-dev): bump cypress-if from 1.12.0 to 1.12.3
Bumps [cypress-if](https://github.com/bahmutov/cypress-if) from 1.12.0 to 1.12.3.
- [Release notes](https://github.com/bahmutov/cypress-if/releases)
- [Commits](https://github.com/bahmutov/cypress-if/compare/v1.12.0...v1.12.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-06 10:13:14 +00:00
dependabot[bot] c7ebeddfd0 Merge pull request #46333 from nextcloud/dependabot/npm_and_yarn/stable29/cypress-13.7.3 2024-07-06 10:11:48 +00:00
dependabot[bot] 60c2061ef8 Merge pull request #46330 from nextcloud/dependabot/npm_and_yarn/stable29/jquery-ui-dist-1.13.3 2024-07-06 09:49:28 +00:00
dependabot[bot] f848a651dc chore(deps): bump jquery-ui-dist from 1.13.2 to 1.13.3
Bumps [jquery-ui-dist](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-dist
  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 09:32:22 +00:00
dependabot[bot] 95e4422fec Merge pull request #46331 from nextcloud/dependabot/npm_and_yarn/stable29/tslib-2.6.3 2024-07-06 03:29:56 +00:00
dependabot[bot] 5344424090 chore(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-07-06 01:27:08 +00:00
dependabot[bot] 4ff93ceabe chore(deps-dev): bump cypress from 13.7.1 to 13.7.3
Bumps [cypress](https://github.com/cypress-io/cypress) from 13.7.1 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.1...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-06 01:26:45 +00:00
dependabot[bot] 237a7974a3 chore(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-07-06 01:26:03 +00:00
Nextcloud bot 331e535a12 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-06 00:19:31 +00:00
Ferdinand Thiessen 57c889f773 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:32:39 +02:00
Nextcloud bot 6f035bb6d0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-05 00:19:33 +00:00
SebastianKrupinski 38f6af0bd6 fix(carddav): limit vcard size
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-04 22:18:40 +00:00
Arthur Schiwon d4b5d63c90 Merge pull request #46226 from nextcloud/backport/46219/stable29
[stable29] fix(DAV): offset not applied
2024-07-04 19:40:32 +02:00
Hamza 5864de55a3 Merge pull request #46237 from nextcloud/dependabot/npm_and_yarn/stable29/nextcloud/vue-8.11.3
[stable29] build(deps): Bump @nextcloud/vue from 8.11.2 to 8.14.0
2024-07-04 17:49:40 +02:00
dependabot[bot] 13cbd59a58 build(deps): Bump @nextcloud/vue from 8.11.2 to 8.14.0
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-04 17:14:22 +02:00
Joas Schilling adaf85a16b Merge pull request #46212 from nextcloud/backport/46184/stable29
[stable29] fix: Authorization header can be an empty string
2024-07-04 12:18:37 +02:00
Kate f45ae8ce51 Merge pull request #46290 from nextcloud/backport/46284/stable29 2024-07-04 10:50:49 +02:00
Nextcloud bot e4bb149ebf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-04 00:21:40 +00:00
MichaIng 4bf41805af Merge pull request #46242 from nextcloud/dependabot/npm_and_yarn/stable29/libphonenumber-js-1.10.64
build(deps): Bump libphonenumber-js from 1.10.58 to 1.10.64
2024-07-04 01:12:05 +02:00
dependabot[bot] 819f2b8279 build(deps): Bump libphonenumber-js from 1.10.58 to 1.10.64
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.10.58 to 1.10.64.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.10.58...v1.10.64)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-03 22:52:32 +00:00
dependabot[bot] 9a70107c18 Merge pull request #46244 from nextcloud/dependabot/npm_and_yarn/stable29/mime-4.0.3 2024-07-03 22:02:39 +00:00
dependabot[bot] ebcc04a544 build(deps-dev): Bump mime from 4.0.1 to 4.0.3
Bumps [mime](https://github.com/broofa/mime) from 4.0.1 to 4.0.3.
- [Changelog](https://github.com/broofa/mime/blob/v4.0.3/CHANGELOG.md)
- [Commits](https://github.com/broofa/mime/compare/v4.0.1...v4.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-03 21:32:28 +00:00
Joas Schilling 8c6101741c fix(tests): Remove output when running tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-03 16:03:44 +00:00
F. E Noel Nfebe 93b617bddc Merge pull request #46281 from nextcloud/backport/46068/stable29
[stable29] fix(ExternalSharing): Handle template shares from external sources
2024-07-03 15:28:34 +01:00
nextcloud-command f558a0796f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-03 12:46:52 +00:00
fenn-cs f2bfcdc71a 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:40:57 +01:00
fenn-cs dbe1bd552a 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:33:17 +00:00
Joas Schilling 45e17b125e Merge pull request #46264 from nextcloud/automated/noid/stable29-update-ca-cert-bundle
[stable29] fix(security): Update CA certificate bundle
2024-07-03 08:45:27 +02:00
nextcloud-command e3fae22a2a fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2024-07-03 02:19:46 +00:00
Nextcloud bot c411edd255 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-03 00:20:19 +00:00
Richard Steinmetz b34ec64c23 Merge pull request #45993 from nextcloud/backport/45866/stable29
[stable29] fix(preview): don't create folder structure when previews are disabled
2024-07-02 15:17:31 +02:00
dependabot[bot] 782065735c Merge pull request #46246 from nextcloud/dependabot/npm_and_yarn/stable29/cypress/webpack-preprocessor-6.0.2 2024-07-02 11:45:23 +00:00
John Molakvoæ 4579957345 Merge pull request #46240 from nextcloud/dependabot/npm_and_yarn/stable29/cypress-split-1.21.2 2024-07-02 13:17:20 +02:00
dependabot[bot] 4cdd0e0cbb 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-07-02 10:29:53 +00:00
dependabot[bot] 9d3ec7ba5f build(deps-dev): Bump cypress-split from 1.21.0 to 1.21.2
Bumps [cypress-split](https://github.com/bahmutov/cypress-split) from 1.21.0 to 1.21.2.
- [Release notes](https://github.com/bahmutov/cypress-split/releases)
- [Commits](https://github.com/bahmutov/cypress-split/compare/v1.21.0...v1.21.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-02 10:28:45 +00:00
F. E Noel Nfebe b94bcef5c8 Merge pull request #46228 from nextcloud/backport/45608/stable29
[stable29] docs(ShareApiController): Correct note about expiry date timezone
2024-07-02 11:02:41 +01:00
Daniel Kesselberg 4342617dd9 fix(preview): don't create folder structure when previews are disabled
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-02 11:51:31 +02:00
Nextcloud bot 11323fbb55 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-02 00:19:29 +00:00
Louis 146cef48e1 Merge pull request #46142 from nextcloud/backport/46097/stable29
[stable29] fix(files_sharing): Also set the expiration date timezone during validation
2024-07-01 22:47:37 +02:00
Louis Chemineau 1fb0cc25d2 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-07-01 22:23:26 +02:00
Louis 45fda86626 Merge pull request #46018 from nextcloud/backport/45984/stable29
[stable29] Don't trigger action when renaming
2024-07-01 22:17:38 +02:00
fenn-cs 78f4fb67ac docs(ShareApiController): Correct note about expiry date timezone
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-01 17:24:48 +00:00
nextcloud-command 42d0f52b08 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-01 18:40:51 +02:00
Arthur Schiwon 19192bb037 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 16:38:33 +00:00
Louis Chemineau a91d44b15e fix(files): Don't react to clicks when renaming
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-01 18:34:32 +02:00
Louis 35b6745e14 Merge pull request #46128 from nextcloud/backport/46127/stable29
[stable29] feat(files): increase max copy-move concurrency to 5
2024-07-01 17:35:17 +02:00
nextcloud-command 39502006e8 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-01 13:52:59 +02:00
John Molakvoæ 5a232e997a feat(files): increase max copy-move concurrency to 5
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-07-01 13:43:10 +02:00
Ferdinand Thiessen 859ff7b68c Merge pull request #46213 from nextcloud/backport/45258/stable29
[stable29] fix: getMountsForFileId may return an unordered list
2024-07-01 13:19:51 +02:00
Daniel Kesselberg 0650af3247 fix: getMountsForFileId may return an unordered list
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-01 09:59:37 +00:00
Julius Härtl 583caa8d70 fix: Authorization header can be an empty string
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-01 09:44:23 +00:00
Ferdinand Thiessen 83c5b9297a fix(theming): Also provide default image as background by absolut URL
There was a regression that for the default theme the image was not set as the background.
Also the background was not always an absolut URL, only for custom images it was absolut,
for default images / shipped images it was relative.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-01 11:30:20 +02:00
Joas Schilling 3f72902bb5 Merge pull request #45726 from nextcloud/backport/45619/stable29
[stable29] ci: Migrate Litmus and CalDAVTester from drone to GitHub
2024-07-01 09:54:10 +02:00
Nextcloud bot 69a53d0fb7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-01 00:19:30 +00:00
Ferdinand Thiessen cb778a8d76 Merge pull request #45892 from nextcloud/automated/noid/stable29-fix-npm-audit
[stable29] Fix npm audit
2024-07-01 01:01:31 +02:00
nextcloud-command 51d6e9f6b3 fix(deps): Fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2024-06-30 03:00:48 +00:00
Nextcloud bot 864ff95aa2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-30 00:19:30 +00:00
Git'Fellow fd4ce00993 Merge pull request #46203 from nextcloud/backport/46190/stable29
[stable29] fix(setupchecks): skip check when disk_free_space is disabled
2024-06-29 19:32:41 +02:00
Daniel 373c3ae936 Merge pull request #46117 from nextcloud/backport/46002/stable29
[stable29] Use guzzle for addressbook federation
2024-06-29 16:15:44 +02:00
Daniel Kesselberg c0d4d376cb 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-06-29 14:00:33 +00:00
Nextcloud bot b969174b2f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-29 00:19:51 +00:00
Ferdinand Thiessen f38c416183 ci: Migrate CalDAV and CardDAV tests from drone to GitHub Actions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-28 17:43:08 +02:00
Ferdinand Thiessen af5aa429ef ci: Migrated litmus checks to GitHub
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-28 17:41:41 +02:00
John Molakvoæ af5ae03b7a Merge pull request #46137 from nextcloud/backport/45977/stable29 2024-06-28 15:58:30 +02:00
John Molakvoæ 3844217aae Merge pull request #45988 from nextcloud/backport/45963/stable29 2024-06-28 15:53:17 +02:00
Julius Härtl a3cec03f3a fix: Avoid throwing errors for teams are unavailable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-06-28 09:51:25 +02:00
Joas Schilling 8abf72b473 Merge pull request #45843 from nextcloud/backport/45530/stable29
[stable29] fix(cron): Log excess memory usage at debug and info levels
2024-06-28 08:45:40 +02:00
Nextcloud bot 79721b48e5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-28 00:20:49 +00:00
Josh 92fce66750 fix(cron): Log excess memory usage at debug and info levels
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-06-27 17:07:58 -04:00
Joas Schilling 24d88615d0 Merge pull request #46175 from nextcloud/bugfix/noid/fix-openapi
[stable29] fix(CI): Fix OpenAPI github action
2024-06-27 16:58:43 +02:00
Joas Schilling b9811ef5cb Merge pull request #46173 from nextcloud/backport/46133/stable29
[stable29] fix(federation): Fix missing protocol on CloudID remote
2024-06-27 16:50:14 +02:00
Joas Schilling 2b053d60cc fix(CI): Fix OpenAPI github action
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-27 15:37:48 +02:00
Joas Schilling 17434538d4 fix(federation): Fix missing protocol on CloudID remote
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-27 13:00:43 +00:00
Benjamin Gaussorgues 01c0e743c7 Merge pull request #46168 from nextcloud/backport/46059/stable29 2024-06-27 12:40:05 +02:00
Benjamin Gaussorgues 5efc468824 perf(session): remove useless session open
`UseSession` isn’t used in theses controllers.
Not using it should avoid a few session locks.

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-06-27 09:17:39 +00:00
Daniel ad2535fee9 Merge pull request #46146 from nextcloud/backport/44893/stable29
[stable29] fix(caldav): When message is a reply compare the message sender not the recipient
2024-06-27 11:03:42 +02:00
Joas Schilling a75fa92d05 Merge pull request #46154 from nextcloud/automated/noid/stable29-update-code-signing-crl
[stable29] fix(security): Update code signing revocation list
2024-06-27 09:41:12 +02:00
SebastianKrupinski 6fa1acae8e 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-27 09:23:49 +02:00
nextcloud-command 5f89cb3fdb fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2024-06-27 02:21:12 +00:00
Nextcloud bot 555be3fd3a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-27 00:20:04 +00:00
Sebastian Krupinski 5dd1b708fa fix(dav): add missing database index for dav_shares
fix(dav): add missing database index for dav_shares
2024-06-26 17:31:50 -04:00
SebastianKrupinski 0dbd4aa8b9 fix(dav): add missing database index for dav_shares resourceid, type and access
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>

Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: Sebastian Krupinski <165827823+SebastianKrupinski@users.noreply.github.com>

Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>

Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: Sebastian Krupinski <165827823+SebastianKrupinski@users.noreply.github.com>

Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: Sebastian Krupinski <165827823+SebastianKrupinski@users.noreply.github.com>

Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: Sebastian Krupinski <165827823+SebastianKrupinski@users.noreply.github.com>

Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Sebastian Krupinski <165827823+SebastianKrupinski@users.noreply.github.com>

Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-06-26 19:04:15 +00:00
Louis Chemineau b65135e319 fix(files): Update favorites navigation list on folder renames
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-26 16:02:07 +02:00
Joas Schilling 7f61a8ae29 Merge pull request #46096 from nextcloud/backport/46077/stable29
[stable29] fix(userstatus): Fix user status automation in real-life scenario
2024-06-26 13:26:04 +02:00
Nextcloud bot 5ab42b06eb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-26 00:19:55 +00:00
Daniel Kesselberg b0505d62f4 chore: don't pass null to createElement
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-06-25 19:11:17 +00:00
Daniel Kesselberg 8670df2bc5 refactor(dav): migrate to new http client
The request method is available since 29 and thus we can finally use the modern http client to send the report request for the addressbook sync.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-06-25 19:11:17 +00:00
Ferdinand Thiessen 6f34a47f5a Merge pull request #45906 from nextcloud/backport/45884/stable29
[stable29] fix(files): Properly handle denied ownership transfers
2024-06-25 18:03:13 +02:00
Ferdinand Thiessen f7217e136b Merge pull request #45897 from nextcloud/chore/deps-zipstreamer-29
[stable29] chore(deps): Bump deepdiver/zipstreamer to 2.0.3
2024-06-25 14:43:50 +02:00
Louis a0dc778e14 Merge pull request #45995 from nextcloud/backport/45580/stable29
[stable29] fix: avoid duplicate tag inserts by checking if the mapping exists already in db
2024-06-25 14:06:45 +02:00
Ferdinand Thiessen 65db7c878d chore(deps): Bump deepdiver/zipstreamer to 2.0.3
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-25 13:36:29 +02:00
Arthur Schiwon 465ad2f4ec Merge pull request #46063 from nextcloud/release/29.0.3
29.0.3
2024-06-25 11:57:05 +02:00
Joas Schilling 2bd5a534f0 fix(userstatus): Fix user status automation in real-life scenario
Order of applying:
- Out-of-office
- Availability
- Call
- Meeting
- User status

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-25 09:33:12 +00:00
Arthur Schiwon 69561004c7 Merge pull request #46075 from nextcloud/backport/46071/stable29
[stable29] fix(Token): add FILESYSTEM scope with SCOPE_SKIP_PASSWORD_VALIDATION
2024-06-25 09:36:14 +02:00
Nextcloud bot a34ea37723 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-25 00:20:02 +00:00
Arthur Schiwon 4ccc5905b7 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-24 16:03:36 +02:00
Robin Appelman 36ba1d8825 fix: don't use custom certificate bundle if no customer certificates are configured
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-24 10:54:05 +00:00
Arthur Schiwon 0f734ea61a build(hub): 29.0.3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-24 11:07:55 +02:00
Nextcloud bot 4b1050686d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-24 00:19:40 +00:00
Nextcloud bot 63279914e9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-23 00:19:47 +00:00
Arthur Schiwon ed744047bd Merge pull request #46032 from nextcloud/release/29.0.3_rc4
29.0.3 RC4
2024-06-21 15:07:13 +02:00
Andy Scherzinger fd08bb8d3d Merge pull request #45904 from nextcloud/backport/45875/stable29
[stable29] fix(theming): also apply enforced theme for guests
2024-06-21 14:09:16 +02:00
Robin Appelman bf8a73c539 fix: also use optimized getFirstNodeyIdInPath for Folder::getFirstNodeById
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-21 10:29:52 +00:00
Arthur Schiwon 69767e7772 build(hub): 29.0.3 RC4
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-21 11:41:16 +02:00
Andy Scherzinger 91ecdc7d7e Merge pull request #45966 from nextcloud/backport/45930/stable29
[stable29] fix: move repair mimetype repair step to the expensive steps
2024-06-21 11:29:22 +02:00
Nextcloud bot 96c622f5f4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-21 00:20:07 +00:00
John Molakvoæ c52be20770 Merge pull request #46008 from nextcloud/release/29.0.3_rc3 2024-06-20 15:15:25 +02:00
skjnldsv 35316f18bc build(hub): 29.0.3 RC3
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-20 14:03:30 +02:00
Andy Scherzinger 56d4906b73 Merge pull request #45991 from nextcloud/backport/45968/stable29
[stable29] fix(dav): Limit number of UPDATES for sync token created_at
2024-06-20 13:40:25 +02:00
yemkareems c47432fe49 fix: removed unused variable and check if tag ids are empty before starting the inserts
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-06-20 05:31:55 +00:00
yemkareems 42551c558a 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-20 05:31:55 +00:00
yemkareems 6305de4d5a 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-20 05:31:55 +00:00
Nextcloud bot a43f6e72e2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-20 00:20:03 +00:00
nextcloud-command 30e88f9c64 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-19 16:25:11 +00:00
Christoph Wurst bbbc931766 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:09:13 +00:00
nextcloud-command f1b212f649 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-19 15:10:34 +00:00
Louis Chemineau ff10c5487e 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-06-19 15:10:33 +00:00
Robin Appelman 523346e1ff fix: set mimetype_version during upgrade to the old version
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-19 11:33:16 +02:00
Robin Appelman d3d2488fbb feat: add setup check for needed mimetype migrations
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-19 11:22:49 +02:00
Robin Appelman 0a5983ba9a fix: move repair mimetype repair step to the expensive steps
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-19 11:20:42 +02:00
Nextcloud bot f72f110278 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-19 00:20:35 +00:00
Arthur Schiwon 73b9985c15 Merge pull request #45942 from nextcloud/backport/45933/stable29
[stable29] fix(files): correctly import WebDAV client in files store
2024-06-18 16:42:47 +02:00
Arthur Schiwon 335a737296 build: assets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-18 08:50:02 +00:00
Ferdinand Thiessen 057d81c8d7 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-18 08:39:44 +00:00
Nextcloud bot a371262bba Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-18 00:20:37 +00:00
Arthur Schiwon cec61a974c Merge pull request #45913 from nextcloud/release/29.0.3_rc2
29.0.3 RC2
2024-06-17 21:34:57 +02:00
Arthur Schiwon a852a1cee6 Merge pull request #45928 from nextcloud/backport/45912/stable29
[stable29] ci: use precise ref for 3rdparty check
2024-06-17 21:25:54 +02:00
Arthur Schiwon 97fc4fba40 ci: use precise ref for 3rdparty check
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-17 14:38:59 +00:00
Arthur Schiwon ce04a61daa Merge pull request #45907 from nextcloud/backport/45902/stable29
[stable29] fix(deleteAction): Bump up delete requests concurrency to 5
2024-06-17 12:43:36 +02:00
Arthur Schiwon 63f89f4e73 build(hub): 29.0.3 RC2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-17 11:39:34 +02:00
Arthur Schiwon d7538ed6b8 build: assets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-17 11:13:06 +02:00
fenn-cs 0841d9efc5 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 09:02:15 +00:00
Ferdinand Thiessen 9aca14681b 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-17 07:44:49 +00:00
skjnldsv df1026f6fc fix(theming): also apply enforced theme for guests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-17 07:22:41 +00:00
Nextcloud bot d1b2dade3e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-17 00:19:29 +00:00
Nextcloud bot 7d4a5b1b8b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-16 00:19:25 +00:00
Nextcloud bot 6dba84c8bb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-15 00:20:49 +00:00
Arthur Schiwon 7c50a464f9 Merge pull request #45795 from nextcloud/release/29.0.3_rc1
29.0.3 RC1
2024-06-14 12:39:24 +02:00
John Molakvoæ 4fc25ae341 Merge pull request #45871 from nextcloud/backport/45867/stable29
[stable29] fix(comments): Use proper icon components instead of icon classes to fix dark mode
2024-06-14 12:37:55 +02:00
Arthur Schiwon b7dc669ad8 Merge pull request #45864 from nextcloud/backport/45688/stable29
[stable29] Show non writable folders during move or copy
2024-06-14 12:34:35 +02:00
Arthur Schiwon d23e640e3e build: assets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-14 11:04:02 +02:00
Louis Chemineau 76c77cc9c5 fix(files): Show non writable folders during move or copy
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-14 11:02:02 +02:00
John Molakvoæ b5b279e808 Merge pull request #45862 from nextcloud/backport/45861/stable29 2024-06-14 10:16:39 +02:00
nextcloud-command 760774b7c5 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 08:08:43 +00:00
Ferdinand Thiessen 9f3bfa7b62 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 05:32:33 +00:00
Nextcloud bot af86bb93c2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-14 00:19:55 +00:00
Andy Scherzinger 35fbc8b4be Merge pull request #45856 from nextcloud/backport/45172/stable29
[stable29] feat: add option to disable scanner transactions
2024-06-13 18:27:52 +02:00
F. E Noel Nfebe 9745771194 Merge pull request #45304 from nextcloud/backport/44464/stable29
[stable29] 44032 fix show new shares without refresh
2024-06-13 16:35:40 +01:00
Louis Chemineau f8446f73f7 fix(files): Ignore right click for default action
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-13 16:23:02 +02:00
Robin Appelman 3e56c3d681 feat: add option to disable scanner transactions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-13 12:02:53 +00:00
nextcloud-command 8397a56197 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-13 11:51:28 +00:00
Robin Appelman f6062089af Merge pull request #45851 from nextcloud/backport/43531/stable29
[stable29] get child ids for folder in a separate query during move
2024-06-13 13:51:06 +02:00
fenn-cs 34bd23d884 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 11:30:54 +01:00
fenn-cs 9578f89b27 refactor(ShareDetails): Prevent undefined errors for share.permissions
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-13 11:30:54 +01:00
Robin Appelman d1aac3292a fix: get child ids for folder in a separate query during move
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-13 09:46:42 +00:00
Josh 7db4e372b9 Merge pull request #45840 from nextcloud/backport/45649/stable29
[stable29] fix(ObjectStore): Fix regression when hostname is empty
2024-06-13 04:37:08 -04:00
John Molakvoæ 2487687380 Merge pull request #45837 from nextcloud/backport/45251/stable29 2024-06-13 10:33:36 +02:00
Josh fcdf453b58 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 09:37:03 +02:00
nextcloud-command a95e73bc61 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-13 09:32:23 +02:00
skjnldsv ed51cf2d5e 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:32:23 +02:00
skjnldsv e2adc32175 fix(files): do not rely on unique fileid
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-13 09:32:23 +02:00
Nextcloud bot 6ebbc382ca Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-13 00:19:59 +00:00
Arthur Schiwon 464cfce9b5 Merge pull request #44977 from nextcloud/backport/44745/stable29
[stable29] fix(auth): Keep redirect URL during 2FA setup and challenge
2024-06-12 19:37:41 +02:00
Daniel a41941692d Merge pull request #45821 from nextcloud/backport/45811/stable29
[stable29] test: add tests for ProfilePageController
2024-06-12 19:31:50 +02:00
Arthur Schiwon 3a17ec6db7 Merge pull request #45809 from nextcloud/fix/noid/fix-new-token-scope-name
[stable29] fix(Token): make new scope future compatible
2024-06-12 19:01:49 +02:00
Daniel Kesselberg 73703eb276 test: add tests for ProfilePageController
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-06-12 18:21:58 +02:00
John Molakvoæ 01a13925bc Merge pull request #45826 from nextcloud/backport/45571/stable29 2024-06-12 17:09:49 +02:00
John Molakvoæ (skjnldsv) 1981d84938 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:48:08 +00:00
John Molakvoæ b53cc985c8 Merge pull request #45816 from nextcloud/backport/45698/stable29 2024-06-12 16:30:54 +02:00
Arthur Schiwon 85d46fe6a5 Merge pull request #45808 from nextcloud/backport/45768/stable29
[stable29] Use isRetryable to catch retryable exceptions
2024-06-12 15:16:25 +02:00
Christoph Wurst ba46d0306c Merge pull request #45813 from nextcloud/backport/45804/stable29
[stable29] fix(cron): Log long running jobs
2024-06-12 15:10:17 +02:00
skjnldsv 3f5910b785 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:32:25 +00:00
provokateurin ac4ead61af fix(core): Return X-NC-IsCustomAvatar for guest avatars too
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-06-12 11:06:10 +00:00
skjnldsv 7327803816 fix(files_sharing): dark avatar support
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-12 11:06:10 +00:00
skjnldsv 697f9032cf fix(dav): also return shared-with-me shares data
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-12 11:06:10 +00:00
skjnldsv 4ad83e9fa3 fix(core): allow guest avatar fallback
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-12 11:06:10 +00:00
skjnldsv e82241cf89 fix(files_sharing): fix parsing of remote shares
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-12 11:06:09 +00:00
Christoph Wurst ed95c036bf fix(cron): Log long running jobs
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-06-12 10:42:01 +00:00
Arthur Schiwon fc584b7874 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:05:43 +02:00
Louis Chemineau b7cd197315 fix(files): Use isRetryable to catch retryable exceptions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-12 08:15:08 +00:00
Andy Scherzinger a51237a7a1 Merge pull request #45705 from nextcloud/backport/43942/stable29
[stable29] fix(Session): avoid password confirmation on SSO
2024-06-12 09:47:31 +02:00
John Molakvoæ 10f306bf43 Merge pull request #45764 from sanskar-soni-9/fix/numbered-owner-name-and-id 2024-06-12 09:25:31 +02:00
Sanskar Soni d78d468b36 fix(files): handling numbered type owner name & id
Signed-off-by: Sanskar Soni <sanskarsoni300@gmail.com>
2024-06-12 09:10:20 +02:00
Andy Scherzinger 095774b0b2 Merge pull request #45800 from nextcloud/backport/45775/stable29
[stable29] fix(caldav): event links in shared calendar notifications
2024-06-12 09:08:50 +02:00
Nextcloud bot 2dd1c74883 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-12 00:20:13 +00:00
Richard Steinmetz a794f15b1f fix(caldav): event links in shared calendar notifications
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-06-11 18:44:14 +00:00
Arthur Schiwon f0494ec17a 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-11 20:19:18 +02:00
Andy Scherzinger f211e9a767 Merge pull request #45666 from nextcloud/backport/45581/stable29
[stable29] fix(files): reset menu pos when opening in grid mode
2024-06-11 20:05:23 +02:00
Andy Scherzinger 97f10404b5 Merge pull request #45773 from nextcloud/backport/45347/stable29
[stable29] fix: Only list remnants as disabled if option is enabled
2024-06-11 19:30:40 +02:00
nextcloud-command 2024d99c77 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-11 17:06:15 +00:00
Côme Chilliet cbaba872e1 fix: Only list remnants as disabled if option is enabled
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 18:16:08 +02:00
John Molakvoæ (skjnldsv) 9142ad65f4 fix(files): reset menu pos when opening in grid mode
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-06-11 18:13:13 +02:00
Ferdinand Thiessen 907a12b51f Merge pull request #45791 from nextcloud/backport/45781/stable29
[stable29] fix(search): tags redirect route
2024-06-11 17:41:56 +02:00
Arthur Schiwon 013e200142 build(hub): 29.0.3 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-11 17:04:23 +02:00
Benjamin Gaussorgues 01a5dadd68 Merge pull request #45660 from nextcloud/backport/45570/stable29 2024-06-11 16:49:06 +02:00
skjnldsv 8f631c4213 fix(search): tags redirect route
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-11 13:43:43 +00:00
Andy Scherzinger 41fcd64bb7 Merge pull request #45778 from nextcloud/backport/45669/stable29
[stable29] fix: Autodetect legacy filekey instead of trusting the header for legacy header
2024-06-11 12:07:34 +02:00
Louis Chemineau e7745a291c test: Fix encryption test
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-11 08:36:36 +00:00
Côme Chilliet 9333e6d7b7 fix: add default value for new flag $useDecryptAll on getFileKey
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 08:36:36 +00:00
Côme Chilliet 5d15fc738c 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:36:36 +00:00
Nextcloud bot 84a9b08fe5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-11 00:19:40 +00:00
Ferdinand Thiessen 31cae5dbd7 Merge pull request #45765 from nextcloud/fix/health-check-traefik
fix(settings): Use axios directly for health check to preven URL sanitizing
2024-06-10 21:50:14 +02:00
nextcloud-command 7226b014c9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-10 19:31:02 +00:00
Ferdinand Thiessen 00c077be56 fix(settings): Use axios directly for health check to preven URL sanitizing
When using Apache with `DirectorySlash` it will respond with 301 and the URL with trailing slash.
But when using traefik as the reverse proxy it can not rewrite redirects, this leads to the problem
that the Apache response is using HTTP in the redirect but the real server (traefik) is only listening on HTTPS.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-10 21:25:44 +02:00
Daniel 1e8eedf039 Merge pull request #45756 from nextcloud/backport/45120/stable29
[stable29] fix(dav): Don't log access control as error
2024-06-10 17:00:06 +02:00
Joas Schilling b3705418f3 fix(dav): Don't log access control as error
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-10 11:55:30 +00:00
Benjamin Gaussorgues 6dfb395a9c Merge pull request #45734 from nextcloud/ci/eol/update-workflow-stable29 2024-06-10 11:57:58 +02:00
Benjamin Gaussorgues f993d52c2c Merge pull request #45728 from nextcloud/backport/45611/stable29 2024-06-10 11:11:54 +02:00
Nextcloud bot cae13ec9d1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-10 00:19:48 +00:00
Richard Steinmetz 102a67507d ci(eol): update workflow from template
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-06-09 10:33:07 +02:00
Nextcloud bot 7f03e584c1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-09 00:19:29 +00:00
nextcloud-command 7d5aa42be0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-08 16:32:15 +00:00
Ferdinand Thiessen 81aa6ff233 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:10:16 +00:00
Ferdinand Thiessen 506343706b fix(files): Keep query when trigger the sidebar action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-08 15:10:16 +00:00
Ferdinand Thiessen f02a465fa9 fix(files): open-in-files action should also set openfile query
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-08 15:10:16 +00:00
Ferdinand Thiessen 10cbc5748f 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:10:16 +00:00
Nextcloud bot 6858bb5ca5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-08 00:19:20 +00:00
Ferdinand Thiessen 29ab5d2f52 fix(Mailer): Allow to enforce strict email format
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-07 17:16:21 +02:00
John Molakvoæ 11c80d5eb2 Merge pull request #45597 from nextcloud/backport/45594/stable29 2024-06-07 13:43:11 +02:00
John Molakvoæ 8070f70c56 Merge pull request #45587 from nextcloud/backport/36942/stable29 2024-06-07 13:43:03 +02:00
John Molakvoæ 5d962241ca Merge pull request #45543 from nextcloud/backport/44664/stable29 2024-06-07 12:17:58 +02:00
John Molakvoæ 39adc5f019 Merge pull request #44675 from nextcloud/backport/44306/stable29 2024-06-07 12:17:37 +02:00
John Molakvoæ 0c8e34ee04 Merge pull request #45566 from nextcloud/backport/45222/stable29 2024-06-07 12:12:12 +02:00
John Molakvoæ 81459eaceb 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-06-07 12:11:56 +02:00
Robin Appelman 54ee9d714b unmark deleted users if their last login date is more recent than deleted date
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-07 12:11:56 +02:00
Ferdinand Thiessen 87ebfe3eef refactor(files): Consistently sort imports of FileEntryMixin
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-07 12:11:42 +02:00
Ferdinand Thiessen b0c29f2622 fix(files): Ensure entry with fileid is marked as active
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-07 12:09:53 +02:00
John Molakvoæ bdf1d2c1f3 Merge pull request #45659 from nextcloud/backport/44897/stable29 2024-06-07 12:08:55 +02:00
Ferdinand Thiessen 7b49eea413 feat(cypress): Add tests for files sidebar
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-07 12:08:37 +02:00
Ferdinand Thiessen 52039ea152 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-07 12:07:33 +02:00
Ferdinand Thiessen cc35d07a8c fix(files): Close sidebar if shown node is deleted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-07 12:07:33 +02:00
John Molakvoæ f3b675561b Merge pull request #45662 from nextcloud/backport/45586/stable29 2024-06-07 12:07:16 +02:00
John Molakvoæ 3c392c0913 Merge pull request #45379 from nextcloud/backport/45374/stable29 2024-06-07 12:06:44 +02:00
Ferdinand Thiessen ace4b50819 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>
2024-06-07 12:06:37 +02:00
John Molakvoæ a0ede5744b Merge pull request #45476 from nextcloud/backport/45459/stable29 2024-06-07 12:02:30 +02:00
John Molakvoæ 620669d571 Merge pull request #45590 from nextcloud/backport/45413/stable29 2024-06-07 11:59:55 +02:00
John Molakvoæ 4d123fdb16 Merge pull request #44927 from nextcloud/backport/44039/stable29 2024-06-07 11:03:54 +02:00
Sam Bull ccfdc97093 fix: regression with updating read-only config
Signed-off-by: Sam Bull <git@sambull.org>
2024-06-07 11:03:47 +02:00
John Molakvoæ 8ed2df80c2 Merge pull request #44988 from nextcloud/backport/44973/stable29 2024-06-07 11:03:00 +02:00
John Molakvoæ 3eee578cf8 Merge pull request #44909 from nextcloud/backport/44805/stable29 2024-06-07 11:02:29 +02:00
Christopher Ng 8aa6493c17 fix(files): Display selected files count
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit a999544ff2)
2024-06-07 11:02:05 +02:00
John Molakvoæ 6c27d57e0d Merge pull request #44894 from nextcloud/backport/44644/stable29 2024-06-07 11:01:38 +02:00
John Molakvoæ 372dfcbfee Merge pull request #45675 from nextcloud/backport/45606/stable29 2024-06-07 11:00:33 +02:00
skjnldsv d8211e7048 fix(federatedfilesharing): import external federated share script
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-07 10:54:50 +02:00
John Molakvoæ c7088484f7 Merge pull request #45621 from nextcloud/backport/45494/stable29 2024-06-07 09:00:49 +02:00
John Molakvoæ 4cade9e374 fix(core): unsupported browser getRootUrl import
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-06-07 09:00:26 +02:00
John Molakvoæ (skjnldsv) 2c2a5a25ac fix(core): unsupported browser redirect url
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-06-07 08:58:58 +02:00
John Molakvoæ 8f691735f8 Merge pull request #45601 from nextcloud/backport/45538/stable29 2024-06-07 08:57:57 +02:00
skjnldsv fc5b5d305e chore: update @nextcloud/files to 3.4.1
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-07 08:55:55 +02:00
Ferdinand Thiessen 730aabe5bc fix(deps): Update @nextcloud/event-bus to version 3.3.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-07 08:54:25 +02:00
Ferdinand Thiessen 41aadc43b5 fix: Update @nextcloud/files to 3.4.0 to fix public link shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-07 08:54:25 +02:00
Nextcloud bot 96dd8df677 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-07 00:35:26 +00:00
Andy Scherzinger e49aaaf0b9 Merge pull request #45348 from nextcloud/backport/45026/stable29
[stable29] Avoid updating the same oc_authtoken row twice
2024-06-06 18:01:36 +02:00
Andy Scherzinger 39d968b330 Merge pull request #45690 from nextcloud/backport/45679/stable29
[stable29] fix(files_sharing): usage of NcTextField in SelectShareFolderDialogue
2024-06-06 14:48:19 +02:00
Christoph Wurst ce339b327f fix(auth): Update authtoken activity selectively
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-06-06 14:39:46 +02:00
Julius Härtl c647f89296 fix: Always set last activity if we update the row of an authtoken anyways
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-06-06 14:39:46 +02:00
Julius Härtl 9058428747 docs: Update token_auth_activity_update default value to match implementation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-06-06 14:39:46 +02:00
Louis e46a63cf57 Merge branch 'stable29' into backport/45679/stable29 2024-06-06 13:46:58 +02:00
nextcloud-command 8d275826fc chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-06 11:32:47 +00:00
Kate b9c5f6a326 Merge pull request #45644 from nextcloud/backport/45632/stable29 2024-06-06 12:52:22 +02:00
Kate f530773f24 Merge pull request #45645 from nextcloud/backport/45455/stable29 2024-06-06 12:52:03 +02:00
Joas Schilling 6ea06e1b11 Merge pull request #45602 from nextcloud/backport/44670/stable29
[stable29] fix(session): Do not update authtoken last_check for passwordless
2024-06-06 12:34:47 +02:00
Daniel Kesselberg 8330825f3e 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-06 12:29:29 +02:00
Daniel Kesselberg 449af33c29 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-06 12:29:29 +02:00
Daniel b6efc89f78 Merge pull request #45641 from nextcloud/backport/45235/stable29
[stable29] fix(caldav): automatically delete outdated scheduling objects
2024-06-06 12:27:09 +02:00
Louis Chemineau 79cf454636 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:21:55 +00:00
Andy Scherzinger ab577c5031 Merge pull request #45577 from nextcloud/backport/45480/stable29
[stable29] fix(theming): replace standard generic package icon by material design
2024-06-06 12:13:14 +02:00
Benjamin Gaussorgues fd9f8b5eab Merge pull request #45687 from nextcloud/release/29.0.2 2024-06-06 10:31:47 +02:00
Benjamin Gaussorgues 29fbf55222 build(hub): 29.0.2
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-06-06 08:57:19 +02:00
Nextcloud bot 0f474331e7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-06 00:20:59 +00:00
Nextcloud bot 58e883544f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-05 09:56:15 +00:00
Christoph Wurst 8f9a0f8fdc fix(session): Do not update authtoken last_check for passwordless
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-06-03 22:54:50 +02:00
provokateurin c646ed9625 fix(core): Fix NavigationEntry typing
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-06-03 15:12:32 +00:00
provokateurin 3d2b63c057 fix(NavigationManager): Make entry order always an integer
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-06-03 15:12:32 +00:00
provokateurin 622b88a3af fix(INavigationManager): Fix psalm alias not set in the right place
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-06-03 15:12:32 +00:00
provokateurin bc87fa837a fix(core): Add missing null value possibility to Resource and Reference richObject
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-06-03 14:15:25 +00:00
Anna Larch ec94f5499c fix(caldav): automatically delete outdated scheduling objects
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-06-03 11:10:03 +00:00
John Molakvoæ d0c01fbfd0 fix(core): package-x-generic svg width and height
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-05-31 15:45:10 +02:00
F. E Noel Nfebe 806e390d14 Merge pull request #45483 from nextcloud/backport/44485/stable29
[stable29] Respect empty `expiryDate` value in server
2024-05-31 13:12:09 +01:00
Git'Fellow eec6816d49 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:29:20 +00:00
Git'Fellow 75883cb4d9 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:29:20 +00:00
skjnldsv 803eedba4a fix(theming): replace standard generic package icon by material design
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-05-30 06:46:32 +00:00
Benjamin Gaussorgues 540a5c7e62 Merge pull request #45564 from nextcloud/release/29.0.2_rc2 2024-05-29 15:48:05 +02:00
Benjamin Gaussorgues 8479dfa02c Merge pull request #45206 from nextcloud/backport/45055/stable29 2024-05-29 15:15:56 +02:00
Benjamin Gaussorgues 8583a5bd09 build(hub): 29.0.2 RC2
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-05-29 15:09:17 +02:00
Benjamin Gaussorgues 7af7793983 Merge pull request #45550 from nextcloud/release/29.0.2_rc1 2024-05-29 14:58:00 +02:00
fenn-cs bd9e2f13a9 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-05-29 12:58:37 +01:00
fenn-cs 054722361e refactor(shareManager): Use constructor property promotion
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-29 12:58:37 +01:00
fenn-cs 5dbb96fc8a 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-05-29 12:58:37 +01:00
Ferdinand Thiessen 1d269ad89d Merge pull request #44959 from nextcloud/backport/44884/stable29
[stable29] feat: add request id as comment to all queries
2024-05-29 12:57:36 +02:00
Anna Larch 9bea6eca98 fix(userstatus): catch unique constrain violation on revert
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-05-29 10:31:14 +02:00
Ferdinand Thiessen b3341a17dc Merge pull request #45158 from nextcloud/backport/45140/stable29
[stable29] fix: fix FileAccess::getByFileId(InStorage)
2024-05-29 10:27:19 +02:00
Ferdinand Thiessen 05eb647697 Merge pull request #45534 from nextcloud/backport/45419/stable29
[stable29] fix(files): Implement `SortingService` to fix sorting of files
2024-05-29 10:26:35 +02:00
Git'Fellow 340db5c3d7 Merge pull request #45529 from nextcloud/backport/45014/stable29
[stable29] fix: forbid moving a folder into a subfolder of itself
2024-05-29 10:26:00 +02:00
Josh ba654a6abd Merge pull request #45522 from nextcloud/backport/45506/stable29
[stable29] fix(db): Log long transaction times at debug level
2024-05-28 17:41:53 -04:00
Josh 895c2cf6a3 Merge pull request #45443 from nextcloud/backport/45390/stable29
[stable29] fix: Mark more configs as sensitive
2024-05-28 17:39:35 -04:00
Josh b7f4e20ffc fix(db): Log loong transaction times at debug level
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-05-28 17:09:19 -04:00
Josh 413526a688 Merge pull request #45215 from nextcloud/backport/45058/stable29
[stable29] perf(db): Sort data for IN before chunking
2024-05-28 17:04:56 -04:00
Ferdinand Thiessen 2a61d2bcdb Merge pull request #45430 from nextcloud/fix/stable-background-color
[stable29] Fix header menu icon color
2024-05-28 17:31:15 +02:00
Ferdinand Thiessen fc113c8ce4 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-28 16:52:53 +02:00
Ferdinand Thiessen 7dcc2e541c 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 16:49:02 +02:00
Ferdinand Thiessen 04790e9ae4 Merge pull request #44852 from nextcloud/backport/44847/stable29
[stable29] fix(files): Focus filename input in new-node dialog when opened
2024-05-28 16:48:13 +02:00
Benjamin Gaussorgues f89e426331 build(hub): 29.0.2 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-05-28 16:20:37 +02:00
Ferdinand Thiessen b964439b35 fix(files): Focus filename input in new-node dialog when opened
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-28 14:09:13 +02:00
Christoph Wurst eee5799283 Merge pull request #45541 from nextcloud/backport/45013/stable29
[stable29] fix(db): Prevent two connections for single node databases
2024-05-28 14:04:02 +02:00
Ferdinand Thiessen 782c7efc69 Merge pull request #44903 from nextcloud/backport/44868/stable29
[stable29] fix(comments): Fix issues thrown by comments sidebar tab code
2024-05-28 13:53:57 +02:00
Hamza Mahjoubi 2abfae81cb fix(dav): Rate limit address book creation
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-05-28 10:09:22 +00:00
Christoph Wurst e37dbaa9a7 fix(db): Prevent two connections for single node databases
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-05-28 09:45:18 +00:00
Ferdinand Thiessen ef7bead896 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-28 10:43:40 +02:00
Ferdinand Thiessen 8b0a8b653b 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-05-28 10:41:34 +02:00
Ferdinand Thiessen 88149325cb chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-27 16:44:53 +00:00
Côme Chilliet a89c94f87f Merge pull request #45477 from nextcloud/backport/45370/stable29
[stable29] feat: Add back searching in disabled user list
2024-05-27 18:31:31 +02:00
Ferdinand Thiessen a9c21376f4 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-27 18:12:37 +02:00
Josh fd3b981739 Merge pull request #44899 from nextcloud/backport/43574/stable29
[stable29] enh(metadata): migrate metadata to lazy appconfig
2024-05-27 12:10:17 -04:00
Maxence Lange 3f86f4e1ff feat(metadata): migrate to lazy appconfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-05-27 10:27:49 -04:00
nextcloud-command 5a6ed4610a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-27 13:50:49 +00:00
Côme Chilliet 2dad769498 chore: Adapt @since annotations in OCP for backport to 29
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-05-27 15:00:34 +02:00
Côme Chilliet 5cbf3be1b9 fix: Update openapi spec for provisioning_api app
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-05-27 14:58:53 +02:00
Côme Chilliet 27e6f27b7c 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 14:58:49 +02:00
Côme Chilliet 29e7294d9b 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 14:58:43 +02:00
Robin Appelman 4a8eaaf21b fix: forbid moving a folder into a subfolder of itself
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-05-27 12:33:00 +00:00
Christoph Wurst 9c4d8b3337 perf(db): Sort data for IN before chunking
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-05-25 20:48:55 -04:00
Josh f7079849b4 Merge pull request #45427 from nextcloud/backport/45406/stable29
[stable29] fix(contactsmenu): empty content margin
2024-05-25 20:40:18 -04:00
Joas Schilling 8179dc2a42 fix: Mark more configs as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-05-25 20:34:41 -04:00
Anna d8a29a459c Merge pull request #45224 from nextcloud/backport/44752/stable29
[stable29] Expose subscription calendars
2024-05-24 16:42:31 +02:00
John Molakvoæ 3bb0c9b012 Merge pull request #45468 from nextcloud/release/29.0.1 2024-05-23 17:16:03 +02:00
John Molakvoæ 6e5cdd1dd6 Merge pull request #45469 from nextcloud/backport/45400/stable29 2024-05-23 17:15:36 +02:00
Robin Appelman ca1dd57fc0 fix: register DI alias for IFileAccess
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-05-23 12:47:14 +00:00
Josh 6d72b014c4 fix(db): cs-fix spacing
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-05-22 17:01:23 +00:00
Josh 3a8c2903d8 fix(db): Prevent data loss by temporarily disabling db:convert-type
Needed until #45257 is addressed to prevent data loss

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-05-22 17:01:23 +00:00
skjnldsv 9e44ef6203 build(hub): 29.0.1
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-05-22 17:34:05 +02:00
Richard Steinmetz 375d4b54ba fix(contactsmenu): empty content margin
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-05-22 07:25:40 +02:00
Benjamin Gaussorgues b8c491c084 Merge pull request #45367 from nextcloud/backport/44763/stable29 2024-05-21 11:24:05 +02:00
Louis 7eb718c441 Merge pull request #45328 from nextcloud/backport/45237/stable29
[stable29] perf(deleteAction): Queue delete requests
2024-05-16 19:52:23 +02:00
Ferdinand Thiessen 3222bc70d6 feat: Add forbidden_filename_characters to JSConfig for use in frontend libraries
Add the filename restrictions to our JS config so we can create a common frontend library
function to check filename validity (de-duplicate code).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-16 17:03:01 +00:00
John Molakvoæ 1463b889ec Merge pull request #45336 from nextcloud/release/29.0.1_rc1 2024-05-16 18:45:35 +02:00
Louis 29072dd680 Merge pull request #45363 from nextcloud/backport/45355/stable29
[stable29] fix: delete user credentials stored in storages_credentials when user gets deleted
2024-05-16 18:33:17 +02:00
nextcloud-command 96b2827eb3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-16 16:28:42 +00:00
Benjamin Gaussorgues cd9650483b 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-16 17:57:41 +02:00
Joas Schilling cda94f2241 Merge pull request #45373 from nextcloud/backport/45236/stable29
[stable29] Hide 'updater.server.url' As It May Contain Enterprise Key
2024-05-16 16:51:41 +02:00
Joas Schilling ecb488048a Merge pull request #45360 from nextcloud/backport/45357/stable29
[stable29] fix: add ldap_exop_passwd function to sensitive value
2024-05-16 16:46:57 +02:00
Joas Schilling 3b9464aef9 Merge pull request #45337 from nextcloud/backport/44710/stable29
[stable29] fix(preview): check mime type before processing with Imagick
2024-05-16 16:41:49 +02:00
derschiw d79f7736cc 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:32:36 +00:00
yemkareems 926d611bd3 fix: delete user credentials stored in storages_credentials when user gets deleted
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-05-16 12:27:40 +00:00
yemkareems 8f24109572 fix: add ldap_exop_passwd function to sensitive value
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-05-16 12:23:12 +00:00
Joas Schilling ea82b23b32 Merge pull request #45341 from nextcloud/backport/45340/stable29
[stable29] fix: Extend SVG reference check
2024-05-16 11:18:11 +02:00
Joas Schilling 2fdfcbd28d Merge pull request #45322 from nextcloud/backport/45321/stable29
[stable29] fix: Correctly check result of function
2024-05-16 10:16:37 +02:00
Joas Schilling 79908f9095 Merge pull request #45318 from nextcloud/backport/45317/stable29
[stable29] fix(search): Limit maximum number of search results
2024-05-16 10:10:36 +02:00
Joas Schilling 2e7873623f fix: Extend SVG reference check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-05-16 10:02:57 +02:00
Varun Patil c4fd502ca1 fix(preview): check mime type before processing with Imagick
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2024-05-15 20:14:10 +00:00
John Molakvoæ 002fe7b7bb Merge pull request #45326 from nextcloud/backport/45302/stable29 2024-05-15 20:50:39 +02:00
skjnldsv 40cc29decc build(hub): 29.0.1 RC1
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-05-15 20:26:39 +02:00
fenn-cs 8b1fab4795 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>
2024-05-15 12:12:19 +00:00
fenn-cs a0de24083e fix(deleteAction): Remove unused nc l10n import
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-15 12:12:19 +00:00
Anna 6ee58b0ffd Merge pull request #45313 from nextcloud/backport/45309/stable29
[stable29] fix(caldav): loop through all events for busy events
2024-05-15 13:06:58 +02:00
Simon L. 8068ad5b71 Revert: "Check datadirectory owner, not config owner."
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-05-15 09:31:35 +00:00
Joas Schilling 4ad567df39 fix: Correctly check result of function
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-05-15 10:31:35 +02:00
Joas Schilling 7f6ee0cb9f fix(search): Limit maximum number of search results
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-05-15 07:54:00 +00:00
Anna Larch 21dd449e47 fix(caldav): loop through all events for busy events
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-05-14 13:35:27 +00:00
Josh cb63ff82c1 Merge pull request #45284 from nextcloud/backport/45262/stable29
[stable29] fix(SetupChecks): Detect CLI mode in HTTPS / URL generator check
2024-05-14 07:47:25 -04:00
Marco 8e75a530fb Merge pull request #45296 from nextcloud/backport/45218/stable29
[stable29] Update pdf icon
2024-05-14 10:39:09 +02:00
Marco Ambrosini bc87ab8db5 Feat: Fix pdf icon
Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
2024-05-13 16:14:30 +00:00
Josh 0a3f09c3d0 Merge pull request #45279 from nextcloud/backport/43794/stable29
[stable29] fix(files): handle multidimensional arrays in scanner
2024-05-13 11:21:35 -04:00
Robin Appelman 441f2a7861 Merge pull request #45293 from nextcloud/backport/44791/stable29
[stable29] fix: consider all paths the user has for a share source when considering max permissions
2024-05-13 16:58:23 +02:00
Josh 5c18a7a621 Merge pull request #45283 from nextcloud/backport/45242/stable29
[stable29] fix(setupCheck): Only warn when memcache present w/o memcached
2024-05-13 10:23:41 -04:00
Robin Appelman ff47b05d24 test: adjust test to new permissions check logic
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-05-13 14:02:29 +00:00
Robin Appelman 762437d03c fix: cleanup logic for getting the max reshare permissions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-05-13 14:02:29 +00:00
Josh Richards a4ef527e75 fix(SetupChecks): Detect CLI mode in HTTPS / URL generator check
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-05-13 10:07:35 +00:00
Josh Richards 00b22f6c11 fix(setupCheck): Only warn when memcache present w/o memcached
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-05-13 09:55:37 +00:00
Josh 3fef446b62 fix(Files): Change how scanner diffs for changed metadata
Fixes #43408 

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-05-13 09:07:48 +00:00
Kate 3439acd64d Merge pull request #45199 from nextcloud/backport/45196/stable29 2024-05-10 15:51:14 +02:00
Kate 75fb6fdbc4 Merge pull request #45246 from nextcloud/backport/44797/stable29 2024-05-10 10:27:42 +02:00
provokateurin 2323be4809 fix(Router): Stop loading routes of disabled apps
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-05-10 07:29:58 +00:00
Nextcloud bot 105ba6b004 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-09 00:20:13 +00:00
Joas Schilling 2c659a2517 Merge pull request #45231 from nextcloud/backport/45219/stable29
[stable29] fix(userstatus): Fix docs of user status manager
2024-05-08 20:55:07 +02:00
Daniel Kesselberg 9faddcd5d8 feat(caldav): expose calendar subscriptions
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-05-08 10:49:21 +02:00
Joas Schilling a0e446c37c fix(userstatus): Fix docs of user status manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-05-08 07:28:16 +00:00
Nextcloud bot d30f0de40d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-08 00:21:03 +00:00
Côme Chilliet ed854408c8 Merge pull request #45208 from nextcloud/automated/noid/stable29-update-psalm-baseline
[stable29] Update psalm-baseline.xml
2024-05-07 12:41:38 +02:00
Joas Schilling 9e7740d24b Merge pull request #45202 from nextcloud/backport/45088/stable29
[stable29] fix(User\Manager): Avoid future collisions with updater/audit logs
2024-05-07 09:46:33 +02:00
nextcloud-command c827f21e62 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-05-07 02:26:00 +00:00
Nextcloud bot 64bf341d55 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-07 00:20:13 +00:00
Côme Chilliet 20e378d5e5 Merge pull request #44564 from nextcloud/automated/noid/stable29-update-psalm-baseline
[stable29] Update psalm-baseline.xml
2024-05-06 19:31:16 +02:00
Ferdinand Thiessen ed65dcbaae Merge pull request #45204 from nextcloud/backport/44939/stable29
[stable29] fix(settings): Save one HTTP request on enabling an app
2024-05-06 19:22:42 +02:00
Côme Chilliet 82e593b83b chore: Fix small psalm errors related to documented return types
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-05-06 18:21:38 +02:00
Ferdinand Thiessen cd44613e03 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-06 16:09:34 +00:00
Ferdinand Thiessen 9792090d2e fix(DateTimeFormatter): Adjust invalid doc blocks
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-06 17:54:24 +02:00
Ferdinand Thiessen 14a0d0534a 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-06 15:09:04 +00:00
Josh a6064f508b 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:33:10 +00:00
Joas Schilling 88e871f6ce Merge pull request #45192 from nextcloud/backport/45093/stable29
[stable29] fix(session): Avoid race condition for cache::get() vs. cache::hasKey()
2024-05-06 16:30:19 +02:00
provokateurin 8fcf433914 fix(OC_Image): Set correct return type for exif_imagetype stub
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-05-06 12:10:25 +00:00
Joas Schilling 137d4617cb Merge pull request #45018 from nextcloud/backport/45001/stable29
[stable29] fix(DAV): Migrate known exceptions to Sabre exceptions when copying
2024-05-06 08:16:18 +02:00
Joas Schilling 487dfb62d3 fix(session): Avoid race condition for cache::get() vs. cache::hasKey()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-05-06 06:15:27 +00:00
nextcloud-command 5964fdf135 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-05-06 02:21:26 +00:00
Nextcloud bot 48f3b9146e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-06 00:20:21 +00:00
Ferdinand Thiessen ea6d6fcdac Merge pull request #44590 from nextcloud/automated/noid/stable29-fix-npm-audit
[stable29] Fix npm audit
2024-05-05 05:46:36 +02:00
nextcloud-command 6eb02935c4 chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2024-05-05 02:44:36 +00:00
Nextcloud bot c5bbd09ff8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-05 00:20:21 +00:00
Nextcloud bot e8cf708f8f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-04 00:21:02 +00:00
Kate 0683f79ca2 Merge pull request #45171 from nextcloud/backport/45163/stable29 2024-05-03 16:27:24 +02:00
provokateurin bc4179e5e3 fix(icons): Update files icon
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-05-03 13:52:50 +00:00
Nextcloud bot 2a016dec4b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-03 00:19:54 +00:00
Robin Appelman 62e712cb85 fix: fix FileAccess::getByFileId(InStorage)
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-05-02 17:11:34 +00:00
Robin Appelman e65a04feb6 Merge pull request #45148 from nextcloud/backport/45138/stable29
[stable29] retry smb notify test a few times
2024-05-02 14:05:31 +02:00
Robin Appelman 7fefd56e88 test: retry smb notify test a few times
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-05-02 09:33:16 +00:00
Nextcloud bot ae534c2bd7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-02 00:20:17 +00:00
Nextcloud bot 41cc710d2e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-01 00:20:35 +00:00
Robin Appelman 2c45becfce Merge pull request #45056 from nextcloud/backport/44496/stable29
[stable29] feat: support "s3-accelerate" endpoint
2024-04-30 20:41:52 +02:00
Côme Chilliet 395d493e6b Merge pull request #44956 from nextcloud/backport/44861/stable29
[stable29] chore: Fix update-psalm-baseline to use correct php version depending on branch
2024-04-30 15:37:39 +02:00
Joas Schilling ce97f98a87 Merge pull request #45108 from nextcloud/backport/fix-ldap-var-name-backup-port
[stable29] fix(user_ldap): Fix a var name
2024-04-30 13:10:21 +02:00
Côme Chilliet 3767cd1b8f Merge pull request #45104 from nextcloud/backport/query-builder-fix
[stable29] fix: Remove bogus code from query builder and fix parameter name
2024-04-30 12:33:49 +02:00
Côme Chilliet 24eb8ae2d0 Merge pull request #45107 from nextcloud/backport/fix-ini-default-in-base
[stable29] fix: Fix default values for ini var in lib/base.php
2024-04-30 12:10:09 +02:00
Côme Chilliet 76fa0c3de0 Merge pull request #45106 from nextcloud/backport/fix-opcache-buffer-check
[stable29] fix(setupchecks): Fix opcache buffer check
2024-04-30 12:07:15 +02:00
Côme Chilliet d8c0da5636 Merge pull request #45105 from nextcloud/backport/fix-ownership-transfer-encryption
[stable29] fix(files): Fix ownership transfer encrypted files detection
2024-04-30 11:49:57 +02:00
Côme Chilliet d9a8b121f6 fix(user_ldap): Fix a var name
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 11:01:21 +02:00
Côme Chilliet 2b1e7f3b29 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:53:53 +02:00
Côme Chilliet 5f8157f693 fix(setupchecks): Fix opcache buffer check
This was broken by last codestyle update, maybe even before 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-04-30 10:51:51 +02:00
Côme Chilliet 7a48d6d764 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 10:49:39 +02:00
Côme Chilliet 61a47f81f4 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:47:46 +02:00
Nextcloud bot 828c77b46a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-30 00:20:40 +00:00
Nextcloud bot da37f3262d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-29 00:20:45 +00:00
Nextcloud bot 8caf128932 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-28 00:20:27 +00:00
Nextcloud bot 51880250d2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-27 00:20:20 +00:00
Robin Appelman cec057799d feat: add option to enable s3 acceleration
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-04-26 13:44:59 +00:00
Richard Steinmetz 70af653dc6 Merge pull request #45053 from nextcloud/backport/44938/stable29
[stable29] fix(CalDAV): remove UNKNOWN from room / resource consideration
2024-04-26 14:24:53 +02:00
Anna Larch e32ea9ab37 fix(CalDAV): remove UNKNOWN from room / resource consideration
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-04-26 11:20:08 +00:00
Nextcloud bot 3496a7ea4d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-26 00:21:10 +00:00
Simon L d4e95f9f0d Merge pull request #45040 from nextcloud/backport/45035/stable29
[stable29] fix: chunked upload leading to 0-byte files
2024-04-25 20:47:38 +02:00
Simon L. ebfae3e06d fix: chunked upload leading to 0-byte files
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-04-25 15:28:15 +00:00
Louis ed6a97cd61 Merge pull request #44969 from nextcloud/backport/44858/stable29
[stable29] Support multiple scopes in DAV search
2024-04-25 13:47:42 +02:00
F. E Noel Nfebe 9511e5ee8f Merge pull request #44972 from nextcloud/44319-quick-fix-fed-share-user-avatars
fix(unifiedSearch): Prevent broken avatars for federated users in peo…
2024-04-25 09:52:04 +01:00
nextcloud-command 0c0953c38e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-04-25 06:19:24 +00:00
fenn-cs cb12f43b59 fix(unifiedSearch): Prevent broken avatars for federated users in people filter
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-04-25 07:10:15 +01:00
F. E Noel Nfebe eb58f8e298 Merge pull request #44918 from nextcloud/backport/44839/stable29
fix(sharingDetails): Show correct share target
2024-04-25 07:06:03 +01:00
Nextcloud bot 73d1a10d79 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-25 00:20:53 +00:00
Joas Schilling 368769aa5a fix(DAV): Migrate known exceptions to Sabre exceptions when copying
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-24 16:32:39 +00:00
Ferdinand Thiessen c5ee34cb4c Merge pull request #44981 from nextcloud/backport/44794/stable29
[stable29] fix(memcache): remove double $$ to fix error
2024-04-24 18:07:34 +02:00
Ferdinand Thiessen 8b0ef57000 Merge pull request #44985 from nextcloud/backport/44982/stable29
[stable29] fix(provisioning_api): Show warning but do not fail when listing accounts in case of users removed from backend but still in database
2024-04-24 16:39:49 +02:00
Nextcloud bot 36ae775aa7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-24 00:20:26 +00:00
Ferdinand Thiessen b6dd8a5ccb Merge pull request #44989 from nextcloud/backport/44923/stable29
[stable29] fix: Fix truncation on public page
2024-04-23 23:49:05 +02:00
Christopher Ng 61e8508f5d chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-23 10:39:11 -07:00
Christopher Ng adf130ec3d fix: Fix truncation on public shares
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-23 10:39:11 -07:00
Christopher Ng 1dec7e6e73 feat: Update help entry name
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-23 15:40:36 +00:00
Christopher Ng 5885a75a96 feat: Add legal notice and privacy policy links to help page
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-23 15:40:36 +00:00
Benjamin Gaussorgues 744e0ddb1e Merge pull request #44986 from nextcloud/release/29.0.0 2024-04-23 17:07:21 +02:00
Benjamin Gaussorgues e1dbc7adea build(hub): 29.0.0
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-04-23 13:57:06 +02:00
Ferdinand Thiessen b495417cf6 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:40:10 +00:00
Velwark 34a0c383cb 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-04-23 08:00:37 +00:00
Christoph Wurst 67071f8875 fix(auth): Keep redirect URL during 2FA setup and challenge
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-04-23 07:38:33 +00:00
Nextcloud bot be6cf3a439 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-23 00:20:52 +00:00
Louis Chemineau a97c2131d2 feat(dav): Support multiple scopes in DAV search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-04-22 15:28:29 +00:00
Robin Appelman c61a75fc24 feat: add request id as comment to all queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-04-22 13:13:56 +02:00
Côme Chilliet 7cd1c2d7c3 chore: Fix psalm to use correct php version depending on branch
Needs to be adapted on each branch to reflect the used PHP version and
 help with baseline updating.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 11:22:46 +02:00
Nextcloud bot b86679cdb2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-22 00:21:08 +00:00
Nextcloud bot 035f473127 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-21 00:20:37 +00:00
Nextcloud bot ea1b0a0356 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-20 00:20:13 +00:00
nextcloud-command 547d58459f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-04-19 10:24:24 +00:00
fenn-cs 5ed47da255 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-04-19 11:20:09 +01:00
Nextcloud bot 8afe96afd5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-19 00:20:35 +00:00
Benjamin Gaussorgues 5c128ba7a0 Merge pull request #44873 from nextcloud/release/29.0.0_rc5 2024-04-18 21:04:49 +02:00
Benjamin Gaussorgues 146675b675 Merge pull request #44922 from nextcloud/backport/44904/stable29 2024-04-18 21:00:49 +02:00
Ferdinand Thiessen 9cdbff8ec8 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 17:40:36 +02:00
Benjamin Gaussorgues 0da51f5d28 Merge pull request #44914 from nextcloud/backport/44640/stable29 2024-04-18 17:21:54 +02:00
Benjamin Gaussorgues c9aa17b606 Merge pull request #44816 from nextcloud/backport/44795/stable29 2024-04-18 17:13:31 +02:00
Joas Schilling 896c115a81 Merge pull request #44917 from nextcloud/backport/44916/stable29
[stable29] fix(sharing): Don't change the type of the controller argument
2024-04-18 16:27:59 +02:00
Christopher Ng a1107c7342 test(jest): Transform unist modules
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 43af7923aa)
2024-04-18 14:40:01 +02:00
Christopher Ng f64b074394 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-18 14:40:00 +02:00
Joas Schilling 84b0818ed3 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>
2024-04-18 12:36:48 +00:00
Christopher Ng 90ae47c3dd chore(deps): Bump @nextcloud/vue to v8.11.2
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 45e2220e24)
2024-04-18 14:13:00 +02:00
Benjamin Gaussorgues 20275f5565 Merge pull request #44866 from nextcloud/backport/44661/stable29 2024-04-18 14:11:34 +02:00
Ferdinand Thiessen cad491580f chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-18 12:48:05 +02:00
Ferdinand Thiessen 6c544172e3 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 12:46:13 +02:00
Joas Schilling 1f1ad02c0e Merge pull request #44890 from nextcloud/backport/44889/stable29
[stable29] fix(files): Also skip cross storage move with access control
2024-04-18 10:48:16 +02:00
Benjamin Gaussorgues 0e6ac5f6d6 Merge pull request #44907 from nextcloud/backports/44640/44640-stable29 2024-04-18 10:14:18 +02:00
Maxence Lange db3e5fb237 fix(appconfig): returns correct value on details
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-04-18 08:06:27 +00:00
Benjamin Gaussorgues 3d480526e6 Merge pull request #44910 from nextcloud/backport/44838/stable29 2024-04-18 09:34:59 +02:00
Benjamin Gaussorgues 9804930a90 Merge pull request #44887 from nextcloud/backport/44882/stable29 2024-04-18 09:34:17 +02:00
Joas Schilling 0a429e0f80 fix(CI): Suppress psalm UndefinedClass
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-18 09:25:17 +02:00
fenn-cs 9202a21516 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-04-18 01:27:47 +00:00
fenn-cs e1fc954cc9 refactor(shareApiController): use contrusctor property promotion & DI logger
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-04-18 01:27:46 +00:00
Nextcloud bot d0fd7b057a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-18 00:20:40 +00:00
Maxence Lange 99968efe7b fix(appconfig): returns correct value on details
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-04-17 22:01:47 -01:00
Ferdinand Thiessen b94f4d6ff8 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-18 00:59:16 +02:00
Ferdinand Thiessen 986fd6e783 fix(files): Ensure search query is cleared when changing view or directory
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-18 00:55:21 +02:00
Joas Schilling 053cb7455b Merge pull request #44885 from nextcloud/backport/44878/stable29
[stable29] fix(status): Update status time when reverting to it manually
2024-04-17 18:31:16 +02:00
Maxence Lange f1612d4eb9 fix(appconfig): only convert single entry on searchValues()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-04-17 15:12:22 +00:00
Maxence Lange 9040bcb3b9 fix(appconfig): format app values
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-04-17 15:12:22 +00:00
Joas Schilling 546b0471ed fix(files): Also skip cross storage move with access control
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-17 14:31:50 +00:00
Benjamin Gaussorgues 643be3c81b Merge pull request #44880 from nextcloud/backport/44869/stable29 2024-04-17 15:39:18 +02:00
Joas Schilling 17cf286389 fix(status): Update status time when reverting to it manually
This prevents the DAV meeting status from overwriting it again

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-17 13:19:41 +00:00
Benjamin Gaussorgues 38bd20b49f Merge pull request #44845 from nextcloud/backport/44834/stable29 2024-04-17 14:16:57 +02:00
Ferdinand Thiessen 6d50bcca4b chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-17 13:16:47 +02:00
Ferdinand Thiessen ec02e380dc 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:48:54 +00:00
Ferdinand Thiessen 3a8a0d143a chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-17 12:45:23 +02:00
Ferdinand Thiessen a57ad242c9 fix(files): Inherit some node attributes when creating new nodes to preserve shared state
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-17 12:43:36 +02:00
Ferdinand Thiessen 0f232997e1 fix(files): Sanitize share-types attribute in download action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-17 12:43:36 +02:00
Andy Scherzinger e31e5429a8 Merge pull request #44737 from nextcloud/backport/stable29/44736
[stable29] fix: Fix avatar images
2024-04-17 10:43:05 +02:00
Benjamin Gaussorgues 66579b1fdd Merge pull request #44846 from nextcloud/backport/44806/stable29 2024-04-17 10:03:41 +02:00
Benjamin Gaussorgues 76fc3e0bad Merge pull request #44716 from nextcloud/backport/44705/stable29 2024-04-17 10:00:50 +02:00
Benjamin Gaussorgues 54d7caaec9 build(hub): 29.0.0 RC5
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-04-17 09:49:45 +02:00
Nextcloud bot b3050337ac Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-17 00:20:49 +00:00
nextcloud-command 9b2bc5d92f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-04-16 19:04:56 +00:00
Christopher Ng aa4a1c17a5 chore: Switch widget to primary color
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit ccede9b2ad)
2024-04-16 11:27:40 -07:00
Andy Scherzinger 50f11fa75d Merge pull request #44836 from nextcloud/fix/stable29-upload
[stable29] chore: Update @nextcloud/upload to 1.1.1 to fix uploading large files
2024-04-16 14:24:58 +02:00
Nextcloud bot 2803382149 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-16 00:31:34 +00:00
nextcloud-command 6911ef422c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-04-15 16:35:52 +00:00
Ferdinand Thiessen 61f8b3357d chore: Update @nextcloud/upload to 1.1.1 to fix uploading large files
Backport of #44835

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-15 18:25:58 +02:00
Joas Schilling 01acef1720 Merge pull request #44828 from nextcloud/backport/44827/stable29
[stable29] chore(deps): Update openapi-extractor
2024-04-15 11:43:23 +02:00
provokateurin 7ad4abf255 chore(deps): Update openapi-extractor
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-04-15 08:36:39 +00:00
Nextcloud bot 219a3918e1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-15 00:19:50 +00:00
Nextcloud bot fae936ff6a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-14 00:20:06 +00:00
Nextcloud bot af39e7c34c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-13 00:21:00 +00:00
Joas Schilling a674bf5fbf Merge pull request #44800 from nextcloud/backport/44799/stable29
[stable29] fix(capabilities): Expose if mod-rewrite is working via capabilities
2024-04-12 14:56:01 +02:00
Joas Schilling 453f293b50 feat(capabilities): Expose if mod-rewrite is working via capabilities
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-12 11:31:03 +00:00
Joas Schilling 3a34ac5e2d Merge pull request #44618 from nextcloud/backport/44612/stable29
[stable29] fix(tests): Fix tests when daytime saving time change happened recently
2024-04-12 09:34:01 +02:00
Nextcloud bot 7c98456ecb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-12 00:20:19 +00:00
Arthur Schiwon 26d7eae890 Merge pull request #44773 from nextcloud/release/29.0.0_rc4
29.0.0 RC4
2024-04-11 15:20:09 +02:00
Arthur Schiwon 40d5495d05 Merge pull request #44645 from nextcloud/backport/44642/stable29
[stable29] fix(appconfig): compare with original value
2024-04-11 15:13:32 +02:00
Christopher Ng ac0947cab5 test: Update tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-11 14:56:21 +02:00
Christopher Ng 35ce939332 fix: Fix avatar images
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-11 14:56:21 +02:00
Arthur Schiwon 261764568d Merge pull request #44778 from nextcloud/backport/44771/stable29
[stable29] fix(federation): give some time to prepare both servers
2024-04-11 14:55:59 +02:00
Côme Chilliet b7d9df20be fix(tests): Fix tests when daytime saving time change happened recently
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-11 14:42:55 +02:00
Arthur Schiwon 884eb0cb48 Merge pull request #44725 from nextcloud/backport/44717/stable29
[stable29]  fix(oc-dialog): Get rid of the overlay
2024-04-11 14:41:01 +02:00
Arthur Schiwon 8b45d76319 Merge pull request #44735 from nextcloud/backport/44714/stable29
[stable29] Call davGetFavoritesReport after the registration of propfind properties
2024-04-11 14:40:43 +02:00
Arthur Schiwon 1f8f15bddd Merge pull request #44748 from nextcloud/backport/44730/stable29
[stable29] fix: use proper jailed patch in watcher
2024-04-11 14:40:16 +02:00
Arthur Schiwon ba123372ce Merge pull request #44760 from nextcloud/backport/44450/stable29
[stable29] fix(breadcrumbs): improved rendering of breadcrumb progress bar
2024-04-11 14:39:54 +02:00
Arthur Schiwon b01b30ab19 Merge pull request #44765 from nextcloud/backport/44350/stable29
[stable29] fix(LDAP): escape DN on check-user
2024-04-11 14:32:18 +02:00
Arthur Schiwon f064883f4e 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:52:46 +00:00
Joas Schilling 57f885939e Merge pull request #44732 from nextcloud/backport/44216/stable29
[stable29] feat(core): Include core capabilities in OpenAPI
2024-04-11 11:03:55 +02:00
Nextcloud bot 00b479bc83 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-11 00:20:57 +00:00
Arthur Schiwon b90fd3cc7f build(hub): 29.0.0 RC4
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-04-10 22:09:08 +02:00
nextcloud-command 871d439880 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-04-10 13:13:17 +00:00
Eduardo Morales e7c1850283 fix(Cypress): Adjust tests for new breadcrumbs
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-04-10 08:06:57 -05:00
Ferdinand Thiessen b3ca5c5c80 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 08:06:57 -05:00
Eduardo Morales cddd24208b fix(breadcrumbs): Improved breadcrumb progress bar mobile rendering
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-04-10 08:06:57 -05:00
Arthur Schiwon 7612eb820f docs(LDAP): add info on stored DN form
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-04-10 10:03:14 +00:00
Arthur Schiwon 3ce8879d09 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:03:14 +00:00
Nextcloud bot d06f860722 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-10 00:19:55 +00:00
Robin Appelman 338c8aaea4 test: add test for jail watcher
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-04-09 10:41:50 +00:00
Robin Appelman 6c142a3cd5 fix: use proper jailed patch in watcher
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-04-09 10:41:50 +00:00
Louis Chemineau 4779ce460d fix(files): Call davGetFavoritesReport after the registration of propfind properties
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-04-09 07:55:59 +00:00
Nextcloud bot f98a7ca49e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-09 00:20:11 +00:00
provokateurin 79816d93b5 chore(deps): Update openapi-extractor
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-04-08 19:47:50 +00:00
provokateurin d10316ac70 feat(OCS): Annotate capabilities
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-04-08 19:47:50 +00:00
Eduardo Morales f5f982213f chore(assets): recompile assets
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-04-08 12:50:45 -05:00
JEEEEEEEEEEEEEEEEEEEEEED f203490d03 fix(oc-dialog): Get rid of the overlay
- Icrement Z-index of oc-dialog-dim
- Increment z-index of oc-dialog- Insert oc-dialog-dim before oc-dialog

Co-authored-by: Co-author RayanBekri <rmt.bekri@gmail.com>"
Signed-off-by: JEEEEEEEEEEEEEEEEEEEEEED <118366366+jadjoud@users.noreply.github.com>
2024-04-08 12:50:45 -05:00
Joas Schilling 0d63b6025a Merge pull request #44729 from nextcloud/backport/44726/stable29
[stable29] fix(AppFramework): Fix error message about 204 not allowing custom headers
2024-04-08 18:48:12 +02:00
provokateurin f33ec17538 fix(AppFramework): Fix error message about 204 not allowing custom headers
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-04-08 15:31:06 +00:00
Arthur Schiwon 75c9926a94 Merge pull request #44713 from nextcloud/release/29.0.0_rc3
29.0.0 RC3
2024-04-08 14:38:34 +02:00
Josh fc1a83f3de fix(Blurhash): Suppress imagecreatefromstring() E_WARNING
We're already checking return value to determine if the format is unrecognized. There's no reason to let imagecreatefromstring() generate it's own E_WARNING when the format is unrecognized.

Fixes #44702 

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-04-08 11:33:28 +00:00
Arthur Schiwon b4d7e4a2c4 build(hub): 29.0.0 RC3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-04-08 10:30:47 +02:00
Nextcloud bot bad51ef63b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-08 00:20:11 +00:00
Nextcloud bot 59e39a5270 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-07 00:20:20 +00:00
Joas Schilling d94ed65f69 Merge pull request #44692 from nextcloud/backport/44678/stable29
[stable29] fix(3rdparty): Add a CI job to check 3rdparty integrity
2024-04-06 14:51:09 +02:00
Nextcloud bot 5836b1ca51 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-06 00:20:47 +00:00
Arthur Schiwon 7fd7986734 Merge pull request #44686 from nextcloud/fix/update-doctrine-dbal-stable29
[stable29] fix(deps): Update `doctrine/dbal` to 3.8.3
2024-04-05 21:59:52 +02:00
Ferdinand Thiessen 4b3da814df fix(deps): Update doctrine/dbal to 3.8.3
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-05 21:11:20 +02:00
Joas Schilling 29d5bbc6d3 fix(3rdparty): Add a CI job to check 3rdparty integrity
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-05 15:21:49 +00:00
Joas Schilling 577b624a20 Merge pull request #44671 from nextcloud/backport/44662/stable29
[stable29] fix(deps): Update phpseclib from 2.0.45 to 2.0.47
2024-04-05 15:13:01 +02:00
Ferdinand Thiessen 13980207db fix: Update psalm baseline to ignore setKey being internal of phpseclib
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-05 14:09:31 +02:00
Ferdinand Thiessen 1c5128bfca fix(deps): Update phpseclib from 2.0.45 to 2.0.47
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-05 14:09:30 +02:00
Johannes Merkel 8b614a9dc1 fix(settings): show warning for indexToReplace as part of missing indices
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2024-04-05 11:17:30 +00:00
Nextcloud bot 02a6310b34 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-05 00:19:53 +00:00
Arthur Schiwon b90e597325 Merge pull request #44647 from nextcloud/release/29.0.0_rc2
29.0.0 RC2
2024-04-04 17:10:44 +02:00
Arthur Schiwon 11ac9b3499 Merge pull request #44591 from nextcloud/backport/44571/stable29
[stable29] fix(files_sharing): Create passwords when enforced for mail shares
2024-04-04 17:05:52 +02:00
Ferdinand Thiessen 8a008d355d chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-04 16:27:58 +02:00
Ferdinand Thiessen 2c2a269042 fix(files_sharing): Create passwords when enforced for mail shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-04 16:20:11 +02:00
John Molakvoæ 7a4e0c0cc0 Merge pull request #44653 from nextcloud/backport/44409/stable29 2024-04-04 14:51:10 +02:00
skjnldsv ceee29be28 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 14:24:40 +02:00
skjnldsv 9e4332e1e2 chore: add cypress video recording
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 11:58:34 +00:00
skjnldsv 25d7312772 fix(files): breadcrumbs native drop event
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 11:58:34 +00:00
skjnldsv 0aa4e0a675 chore: add drag and drop recursion and FilesystemAPI testing
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 11:58:34 +00:00
skjnldsv d98738cbd0 chore: adjusting cypress drag and drop tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 11:58:34 +00:00
skjnldsv e099318ab5 feat(files): unify drag and drop methods
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 11:58:34 +00:00
skjnldsv 8503e2d4bc fix(files): breadcrumbs dnd
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 11:58:34 +00:00
Joas Schilling 69a3038086 Merge pull request #44622 from nextcloud/backport/44534/stable29
[stable29] build(deps): bump nextcloud/coding-standard from 1.1.1 to 1.2.1 in /vendor-bin/cs-fixer
2024-04-04 13:07:22 +02:00
Arthur Schiwon d94b24cda6 Merge pull request #44628 from nextcloud/backport/44621/stable29
[stable29] fix(SetupChecks): Add hint about dns/firewall if `mjs` check can't run
2024-04-04 12:57:37 +02:00
Arthur Schiwon 3b1d2c3cd4 Merge pull request #44634 from nextcloud/backport/44604/stable29
[stable29] fix(encryption): Clicking default module in UI sets bogus value
2024-04-04 12:56:52 +02:00
Arthur Schiwon 2ddac31094 Merge pull request #44617 from nextcloud/backport/44575/stable29
[stable29] fix(files_sharing): Disable autocomplete for share label and password
2024-04-04 12:55:41 +02:00
Maxence Lange abc4ced1e7 fix(appconfig): compare with original value
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-04-04 09:15:35 -01:00
John Molakvoæ fdadaf2132 Merge pull request #44624 from nextcloud/backport/44332/stable29 2024-04-04 12:09:01 +02:00
Côme Chilliet cd53e71d80 chore: Improve phpdoc typing to silence psalm errors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-04 11:45:22 +02:00
Côme Chilliet 4311f60ebb fix: Remove incorrect default null value
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-04 11:45:22 +02:00
Côme Chilliet 0b332ceac2 fix: Apply new coding standard to all files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-04 11:45:22 +02:00
dependabot[bot] 292b903bc2 build(deps): bump nextcloud/coding-standard in /vendor-bin/cs-fixer
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.1.1 to 1.2.1.
- [Release notes](https://github.com/nextcloud/coding-standard/releases)
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/coding-standard/compare/v1.1.1...v1.2.1)

---
updated-dependencies:
- dependency-name: nextcloud/coding-standard
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-04 11:45:22 +02:00
Arthur Schiwon 91b1890c74 build(hub): 29.0.0 RC2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-04-04 10:09:32 +02:00
John Molakvoæ 088f73763c Merge pull request #44584 from nextcloud/backport/44512/stable29 2024-04-04 09:21:10 +02:00
Nextcloud bot e238d0afec Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-04 00:20:13 +00:00
Christopher Ng 5ad7d00930 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-04-03 18:45:52 +00:00
Christopher Ng e3f812bb4e feat(trashbin): Show original location of deleted file
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-03 11:38:04 -07:00
Josh 1ddc77e74d 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>
2024-04-03 09:06:42 +00:00
Nextcloud bot 20146c2ca4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-03 00:19:54 +00:00
Joas Schilling 91b07af8e8 Merge pull request #44626 from nextcloud/backport/44625/stable29
[stable29] fix(federation): ICloudId->getRemote() should contain the protocol
2024-04-02 22:12:52 +02:00
Josh c0debe27d6 fix(SetupChecks): Add hint about dns/firewall if mjs check can't run
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-04-02 16:53:30 +00:00
Joas Schilling 9dbad26f62 fix(federation): ICloudId->getRemote() should contain the protocol
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-02 15:59:24 +00:00
Côme Chilliet d0e5c507f4 chore(dav): Fix tests for length headers on upload
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-02 15:45:58 +00:00
Côme Chilliet ae7105b990 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-02 15:45:57 +00:00
Joas Schilling 991ee6fbb8 Merge pull request #44553 from nextcloud/backport/44526/stable29
[stable29] fix(files): Fix translation of "Delete file"
2024-04-02 15:14:17 +02:00
nextcloud-command 72a3c374b6 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-04-02 12:18:02 +00:00
Ferdinand Thiessen 68402768db 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:11:29 +02:00
nextcloud-command 16140bd44c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-04-02 09:59:05 +02:00
Joas Schilling 0b4a3b681e fix(files): Fix translation of "Delete file"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-02 09:57:08 +02:00
Nextcloud bot c0245f58ca Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-02 00:19:37 +00:00
Nextcloud bot 9a53f28e89 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-01 00:19:40 +00:00
Nextcloud bot 7317a84b14 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-31 00:19:39 +00:00
Nextcloud bot be6d28c76b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-30 00:20:36 +00:00
Nextcloud bot ac54fda52c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-29 00:24:35 +00:00
John Molakvoæ b30cc91e93 Merge pull request #44552 from nextcloud/release/29.0.0_rc1 2024-03-28 15:42:59 +01:00
skjnldsv 0dc4af82f9 build(hub): 29.0.0 RC1
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-03-28 14:18:11 +01:00
Joas Schilling 061ca0f737 Merge pull request #44546 from nextcloud/backport/44530/stable29
[stable29] Master is now 30
2024-03-28 14:02:26 +01:00
Joas Schilling 81c48c0745 Merge pull request #44531 from nextcloud/branchoff/welcome-stable29
chore(branchoff): Test against stable29 branches
2024-03-28 13:33:43 +01:00
Joas Schilling 48a4a95594 fix(security): Update expiration date in security.txt
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-03-28 11:09:23 +00:00
Joas Schilling 7e2d3ef297 chore(branchoff): Test against stable29 branches
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-03-28 11:55:05 +01:00
13047 changed files with 510840 additions and 628037 deletions
+45 -50
View File
@@ -1,38 +1,36 @@
FROM ubuntu:noble
FROM ubuntu:jammy
ARG DEBIAN_FRONTEND=noninteractive
# PHP
RUN apt-get update -y && \
apt install -y apache2 vim software-properties-common sudo nano gnupg2 wget curl git \
lsb-release ca-certificates apt-transport-https && \
add-apt-repository ppa:ondrej/php -y && \
apt-get update -y
apt install -y apache2 vim software-properties-common sudo nano gnupg2
RUN apt-get install --no-install-recommends -y \
php8.4 \
php8.4-common \
php8.4-gd \
php8.4-zip \
php8.4-curl \
php8.4-xml \
php8.4-xmlrpc \
php8.4-mbstring \
php8.4-sqlite \
php8.4-xdebug \
php8.4-pgsql \
php8.4-intl \
php8.4-imagick \
php8.4-gmp \
php8.4-apcu \
php8.4-bcmath \
php8.4-redis \
php8.4-soap \
php8.4-imap \
php8.4-opcache \
php8.4-cli \
php8.4-dev \
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 \
unzip
@@ -44,39 +42,36 @@ RUN curl -sS https://getcomposer.org/installer -o /tmp/composer-setup.php && \
php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer && \
rm /tmp/composer-setup.php /tmp/composer-setup.sig
RUN echo "xdebug.remote_enable = 1" >> /etc/php/8.4/cli/conf.d/20-xdebug.ini && \
echo "xdebug.remote_autostart = 1" >> /etc/php/8.4/cli/conf.d/20-xdebug.ini && \
echo "apc.enable_cli=1" >> /etc/php/8.4/cli/conf.d/20-apcu.ini
RUN echo "xdebug.remote_enable = 1" >> /etc/php/8.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.4/apache2/conf.d/20-xdebug.ini
} >> /etc/php/8.1/apache2/conf.d/20-xdebug.ini
# Increase PHP memory limit to 512mb
RUN sed -i 's/memory_limit = .*/memory_limit = 512M/' /etc/php/8.4/apache2/php.ini
# Docker CLI only (for controlling host Docker via socket)
RUN install -m 0755 -d /etc/apt/keyrings && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc && \
chmod a+r /etc/apt/keyrings/docker.asc && \
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null && \
# Docker
RUN apt-get -y install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && \
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable" && \
apt-get update -y && \
apt-get install -y docker-ce-cli && \
apt-get install -y docker-ce docker-ce-cli containerd.io && \
ln -s /var/run/docker-host.sock /var/run/docker.sock
# Dedicated DevContainer user runs Apache
ENV APACHE_RUN_USER=devcontainer
ENV APACHE_RUN_GROUP=devcontainer
# Delete any existing user/group with UID/GID 1000 first
RUN (getent passwd 1000 && userdel -r $(getent passwd 1000 | cut -d: -f1)) || true && \
(getent group 1000 && groupdel $(getent group 1000 | cut -d: -f1)) || true && \
groupadd -g 1000 ${APACHE_RUN_GROUP} && \
useradd -u 1000 -g 1000 -ms /bin/bash ${APACHE_RUN_USER} && \
RUN useradd -ms /bin/bash ${APACHE_RUN_USER} && \
adduser ${APACHE_RUN_USER} sudo && \
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers && \
sed -ri "s/^export APACHE_RUN_USER=.*$/export APACHE_RUN_USER=${APACHE_RUN_USER}/" "/etc/apache2/envvars" && \
@@ -86,6 +81,6 @@ USER devcontainer
# NVM
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
RUN bash --login -i -c 'source /home/devcontainer/.bashrc && nvm install 22'
RUN bash --login -i -c 'source /home/devcontainer/.bashrc && nvm install 16'
WORKDIR /var/www/html
-2
View File
@@ -1,2 +0,0 @@
SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
SPDX-License-Identifier: AGPL-3.0-or-later
-4
View File
@@ -1,7 +1,3 @@
<!--
- SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Nextcloud DevContainer
## Usage
-4
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');
-2
View File
@@ -1,2 +0,0 @@
SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
SPDX-License-Identifier: AGPL-3.0-or-later
+1 -2
View File
@@ -1,5 +1,4 @@
# SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
version: '3'
services:
nextclouddev:
build: .
+1 -4
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
-2
View File
@@ -1,2 +0,0 @@
SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
SPDX-License-Identifier: AGPL-3.0-or-later
+2 -10
View File
@@ -1,13 +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
# Ensure devcontainer user has access to docker socket
if [ -S /var/run/docker.sock ]; then
sudo chmod 666 /var/run/docker.sock
fi
git config --global --add safe.directory /var/www/html/3rdparty
-4
View File
@@ -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/
+4 -3
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
View File
@@ -1,3 +0,0 @@
watch_file lib/versioncheck.php
watch_file package.json
use flake
+12
View File
@@ -0,0 +1,12 @@
# Ignoring folders for eslint
node_modules/
3rdparty/
**/vendor/
**/l10n/
**/js/*
*.config.js
tests/lib/
apps-extra
# TODO: remove when comments files is not using handlebar templates anymore
apps/comments/src/templates.js
+35
View File
@@ -0,0 +1,35 @@
module.exports = {
globals: {
__webpack_nonce__: true,
_: true,
$: true,
dayNames: true,
escapeHTML: true,
firstDay: true,
moment: true,
oc_userconfig: true,
sinon: true,
},
plugins: [
'cypress',
],
extends: [
'@nextcloud/eslint-config/typescript',
'plugin:cypress/recommended',
],
rules: {
'no-tabs': 'warn',
// TODO: make sure we fix this as this is bad vue coding style.
// Use proper sync modifier
'vue/no-mutating-props': 'warn',
'vue/custom-event-name-casing': ['error', 'kebab-case', {
// allows custom xxxx:xxx events formats
ignores: ['/^[a-z]+(?:-[a-z]+)*:[a-z]+(?:-[a-z]+)*$/u'],
}],
},
settings: {
jsdoc: {
mode: 'typescript',
},
},
}
-21
View File
@@ -2,24 +2,3 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
# Format control structures
caff1023ea72bb2ea94130e18a2a6e2ccf819e5f
# Update to coding-standard 1.1.1
aa5f037af71c915424c6dcfd5ad2dc82797dc0d6
# Update to coding-standard 1.2.3
af6de04e9e141466dc229e444ff3f146f4a34765
0bd284cb81b6866338aaaa67aa1d81ef9bfbb2ab
8af7ecb2576071f170ecbb0aa2311b26581e40e2
# Update to coding-standard 1.3.1
9836e9b16484582d309c8437ab46d82e34956941
# Automated refactorings
49dd79eabb2b8902559a7a4e8f8fcad54f46b604
# @nextcloud/vue import paths
b06f5ba4c47450f355a8903c1a93ac68e8c6cfc2
# Update to coding-standard 1.4.0
5981b7eb512aa411f51cad541d01c5c6e93476f0
# Migrate `and` `or` operators to logical `&&` `||` operators
660f3f6fd1ae5539b8f74bfa48859d1b9f1e6abf
# Migrate to ESLint v9 enforced code style
91f3b6b4ee60e0f8bb6e21f92d5bc52e4cebe657
-2
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
+41 -73
View File
@@ -1,111 +1,79 @@
# Fallback owners for code review - ensure all PRs have someone assigned for review.
# (the last match will used so this is only used if there is no more specific code owner below)
# Backend
# is the first and gets everything to make things easier from matching syntax
* @nextcloud/server-backend
# Frontend
# this will override the backend code owners if needed
/__mocks__ @nextcloud/server-frontend
/__tests__ @nextcloud/server-frontend
/dist @nextcloud/server-frontend
/cypress @nextcloud/server-frontend
**/css @nextcloud/server-frontend
**/js @nextcloud/server-frontend
**/src @nextcloud/server-frontend
*.js @nextcloud/server-frontend
*.cjs @nextcloud/server-frontend
*.mjs @nextcloud/server-frontend
*.ts @nextcloud/server-frontend
# dependency management
package.json @nextcloud/server-dependabot @nextcloud/server-frontend
package-lock.json @nextcloud/server-dependabot
# App maintainers
/apps/admin_audit/appinfo/info.xml @luka-nextcloud @samin-z
/apps/cloud_federation_api/appinfo/info.xml @nfebe @mejo-
/apps/comments/appinfo/info.xml @edward-ly @sorbaugh
/apps/admin_audit/appinfo/info.xml @luka-nextcloud @blizzz
/apps/cloud_federation_api/appinfo/info.xml @mejo-
/apps/comments/appinfo/info.xml @edward-ly @Pytal
/apps/contactsinteraction/appinfo/info.xml @kesselb @SebastianKrupinski
/apps/contactsinteraction/lib @kesselb @SebastianKrupinski
/apps/contactsinteraction/tests @kesselb @SebastianKrupinski
/apps/dashboard/appinfo/info.xml @julien-nc @juliusknorr
/apps/dav/lib/CalDAV @ChristophWurst @SebastianKrupinski @tcitworld
/apps/dav/lib/CalDAV @st3iny @SebastianKrupinski @tcitworld
/apps/dav/lib/CardDAV @hamza221 @SebastianKrupinski
/apps/dav/tests/unit/CalDAV @ChristophWurst @SebastianKrupinski @tcitworld
/apps/dav/tests/unit/CalDAV @st3iny @SebastianKrupinski @tcitworld
/apps/dav/tests/unit/CardDAV @hamza221 @SebastianKrupinski
/apps/encryption/appinfo/info.xml @come-nc @icewind1991
/apps/federatedfilesharing/appinfo/info.xml @icewind1991 @danxuliu
/apps/federation/appinfo/info.xml @nfebe @sorbaugh
/apps/files/appinfo/info.xml @skjnldsv @ArtificialOwl @come-nc @artonge @icewind1991 @szaimen @susnux @nfebe
/apps/federation/appinfo/info.xml @nfebe
/apps/files/appinfo/info.xml @skjnldsv @Pytal @ArtificialOwl @come-nc @artonge @icewind1991 @szaimen @susnux @nfebe
/apps/files_external/appinfo/info.xml @icewind1991 @artonge
/apps/files_reminders/appinfo/info.xml @skjnldsv @sorbaugh
/apps/files_reminders/appinfo/info.xml @Pytal
/apps/files_sharing/appinfo/info.xml @skjnldsv @come-nc
/apps/files_trashbin/appinfo/info.xml @icewind1991 @sorbaugh
/apps/files_trashbin/appinfo/info.xml @Pytal @icewind1991
/apps/files_versions/appinfo/info.xml @artonge @icewind1991
/apps/oauth2/appinfo/info.xml @julien-nc @ChristophWurst
/apps/provisioning_api/appinfo/info.xml @provokateurin @nickvergessen
/apps/settings/appinfo/info.xml @hweihwang @sorbaugh
/apps/sharebymail/appinfo/info.xml @Altahrim @skjnldsv
/apps/settings/appinfo/info.xml @Pytal @JuliaKirschenheuter
/apps/sharebymail/appinfo/info.xml @Altahrim
/apps/systemtags/appinfo/info.xml @Antreesy @marcelklehr
/apps/theming/appinfo/info.xml @skjnldsv @juliusknorr
/apps/twofactor_backupcodes/appinfo/info.xml @miaulalala @ChristophWurst
/apps/updatenotification/appinfo/info.xml @enjeck @sorbaugh
/apps/twofactor_backupcodes/appinfo/info.xml @st3iny @miaulalala @ChristophWurst
/apps/updatenotification/appinfo/info.xml @Pytal @JuliaKirschenheuter
/apps/user_ldap/appinfo/info.xml @come-nc @blizzz
/apps/user_status/appinfo/info.xml @Antreesy @nickvergessen
/apps/weather_status/appinfo/info.xml @julien-nc @juliusknorr
/apps/webhook_listeners/appinfo/info.xml @come-nc @julien-nc
/apps/workflowengine/appinfo/info.xml @blizzz @juliusknorr
# Files frontend expertise
/apps/files/src* @skjnldsv @nextcloud/server-frontend
/apps/files_external/src* @skjnldsv @nextcloud/server-frontend
/apps/files_reminders/src* @skjnldsv @nextcloud/server-frontend
/apps/files_sharing/src/actions* @skjnldsv @nextcloud/server-frontend
/apps/files_trashbin/src* @skjnldsv @nextcloud/server-frontend
# Frontend expertise
/apps/files/src* @skjnldsv
/apps/files_external/src* @skjnldsv
/apps/files_reminders/src* @skjnldsv
/apps/files_sharing/src/actions* @skjnldsv
/apps/files_trashbin/src* @skjnldsv
# Security team
/build/psalm-baseline-security.xml @nickvergessen @nextcloud/server-backend
/resources/codesigning @mgallien @miaulalala @nickvergessen
/resources/config/ca-bundle.crt @miaulalala @nickvergessen
/.drone.yml @nickvergessen
# Two-Factor Authentication
# https://github.com/nextcloud/wg-two-factor-authentication#members
**/TwoFactorAuth @ChristophWurst @miaulalala @nickvergessen
/apps/twofactor_backupcodes @ChristophWurst @miaulalala @nickvergessen
/core/templates/twofactor* @ChristophWurst @miaulalala @nickvergessen
**/TwoFactorAuth @ChristophWurst @miaulalala @nickvergessen @st3iny
/apps/twofactor_backupcodes @ChristophWurst @miaulalala @nickvergessen @st3iny
/core/templates/twofactor* @ChristophWurst @miaulalala @nickvergessen @st3iny
# Limit login to IP
# Watch login routes for https://github.com/nextcloud/limit_login_to_ip
/core/routes.php @Altahrim @nextcloud/server-backend
/core/routes.php @Altahrim
# OpenAPI
openapi*.json @provokateurin @nextcloud/server-backend
ResponseDefinitions.php @provokateurin @nextcloud/server-backend
openapi*.json @provokateurin
ResponseDefinitions.php @provokateurin
# Talk team
/lib/private/Comments @nickvergessen @nextcloud/talk-backend
/lib/private/Federation @nickvergessen @nextcloud/talk-backend @nextcloud/server-backend
/lib/private/Talk @nickvergessen @nextcloud/talk-backend
/lib/public/Comments @nickvergessen @nextcloud/talk-backend
/lib/public/Federation @nickvergessen @nextcloud/talk-backend @nextcloud/server-backend
/lib/public/OCM @nickvergessen @nextcloud/talk-backend @nextcloud/server-backend
/lib/public/Talk @nickvergessen @nextcloud/talk-backend
/lib/public/UserStatus @nickvergessen @nextcloud/talk-backend
*/Notifications/* @nickvergessen @nextcloud/talk-backend
/lib/private/Comments @nickvergessen
/lib/private/Federation @nickvergessen
/lib/private/Talk @nickvergessen
/lib/public/Comments @nickvergessen
/lib/public/Federation @nickvergessen
/lib/public/OCM @nickvergessen
/lib/public/Talk @nickvergessen
/lib/public/UserStatus @nickvergessen
# Groupware team
/build/integration/dav_features/caldav.feature @ChristophWurst @SebastianKrupinski @tcitworld
/build/integration/dav_features/carddav.feature @hamza221 @SebastianKrupinski
/lib/private/Calendar @ChristophWurst @SebastianKrupinski @tcitworld
/lib/private/Contacts @hamza221 @SebastianKrupinski
/lib/public/Calendar @ChristophWurst @SebastianKrupinski @tcitworld
/lib/public/Contacts @hamza221 @SebastianKrupinski
# Desktop client teamn
/apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php @nextcloud/desktop
# Groupware
/build/integration/dav_features/caldav.feature @miaulalala @st3iny @SebastianKrupinski
/build/integration/dav_features/carddav.feature @miaulalala @st3iny @SebastianKrupinski
# Personal interest
*/Activity/* @nickvergessen @nextcloud/server-backend
/apps/workflowengine/lib @nickvergessen @blizzz
*/Activity/* @nickvergessen
*/Notifications/* @nickvergessen
/lib/private/Profiler @CarlSchwan
/lib/public/Profiler @CarlSchwan
+3 -7
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
@@ -48,7 +44,7 @@ In some areas unit testing is hard (aka almost impossible) as of today - in thes
### Sign your work
We use the Developer Certificate of Origin (DCO) as an additional safeguard
We use the Developer Certificate of Origin (DCO) as a additional safeguard
for the Nextcloud project. This is a well established and widely used
mechanism to assure contributors have confirmed their right to license
their contribution under the project's license.
-2
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/
+32 -27
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,10 @@ body:
Select Nextcloud Server version.
_Versions not listed here are not maintained and not supported anymore_
options:
- "32"
- "33"
- "34 (master)"
- "26"
- "27"
- "28"
- "master"
validations:
required: true
- type: dropdown
@@ -95,11 +101,10 @@ body:
Select PHP engine version serving Nextcloud Server.
_Describe in the "Additional info" section if you chose "Other"._
options:
- "PHP 8.5"
- "PHP 8.4"
- "PHP 8.3"
- "PHP 8.2"
- "PHP 8.0"
- "PHP 8.1"
- "PHP 8.2"
- "PHP 8.3"
- "Other"
- type: dropdown
id: webserver
@@ -133,8 +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:
+28 -25
View File
@@ -2,44 +2,47 @@
name: 🚀 Feature request
about: Suggest an idea for this project
labels: enhancement, 0. Needs triage
type: "Enhancement"
---
<!--
Have a security concern? Please report potential security issues via our HackerOne program (https://hackerone.com/nextcloud) instead of filing a public GitHub issue. See our security policy: https://nextcloud.com/security/
Thanks for reporting issues back to Nextcloud!
Note: This is the **issue tracker of Nextcloud**, please do NOT use this to get answers to your questions or get help for fixing your installation. This is a place to report bugs to developers, after your server has been debugged. You can find help debugging your system on our home user forums: https://help.nextcloud.com or, if you use Nextcloud in a large organization, ask our engineers on https://portal.nextcloud.com. See also https://nextcloud.com/support for support options.
Nextcloud is an open source project backed by Nextcloud GmbH. Most of our volunteers are home users and thus primarily care about issues that affect home users. Our paid engineers prioritize issues of our customers. If you are neither a home user nor a customer, consider paying somebody to fix your issue, do it yourself or become a customer.
Guidelines for submitting issues:
* Please search the existing issues first, it's likely that your issue was already reported or even fixed.
- Go to https://github.com/nextcloud and type any word in the top search/command bar. You probably see something like "We couldnt find any repositories matching ..." then click "Issues" in the left navigation.
- You can also filter by appending e. g. "state:open" to the search string.
- More info on search syntax within github: https://help.github.com/articles/searching-issues
* This repository https://github.com/nextcloud/server/issues is *only* for issues within the Nextcloud Server code. This also includes the apps: files, encryption, external storage, sharing, deleted files, versions, LDAP, and WebDAV Auth
* SECURITY: Report any potential security bug to us via our HackerOne page (https://hackerone.com/nextcloud) following our security policy (https://nextcloud.com/security/) instead of filing an issue in our bug tracker.
* The issues in other components should be reported in their respective repositories: You will find them in our GitHub Organization (https://github.com/nextcloud/)
-->
<!--
Thanks for taking the time to suggest improvements to Nextcloud! Use this form to request features or propose enhancements.
Guidelines:
<!--- Please keep this note for other contributors -->
* Please search existing issues first; your idea may already have been discussed or implemented.
* This repository (https://github.com/nextcloud/server/issues) is only for issues within the Nextcloud Server code. This includes shipped apps such as Files, DAV, Encryption, External Storage, Sharing, Deleted Files, Versions, Federation, and LDAP.
* Issues for other components should be reported in their respective repositories in the Nextcloud GitHub organization: https://github.com/nextcloud/
* Nextcloud is an open source project backed by Nextcloud GmbH. Many contributors are volunteers and primarily focus on issues affecting home users. Paid engineers prioritize customer-reported issues and critical defects.
* This is the development issue tracker. Please do NOT use it for support questions or help diagnosing your installation.
- For community/user help: https://help.nextcloud.com
- For professional / large deployment support options: https://nextcloud.com/support
-->
### How to use GitHub
* Please use the 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to show that you are interested into the same feature.
* Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
* Subscribe to receive notifications on status change and new comments.
<!-- Please keep the note below for other contributors -->
> [!TIP]
> ### Help move this idea forward
> * Use the 👍 reaction to show support for this feature.
> * Avoid commenting unless you have relevant information to add; unnecessary comments create noise for subscribers.
> * Subscribe to receive notifications about status changes and new comments.
---
<!-- DO NOT EDIT ABOVE THIS LINE -->
**Is your feature request related to a problem? Please describe.**
<!-- Provide a clear and concise description of the problem. For example: “I'm always frustrated when …” -->
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
<!-- Provide a clear and concise description of what you want to happen. -->
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
<!-- Provide a clear and concise description of any alternative solutions or features you've considered. -->
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
<!-- Add any other context or screenshots related to the feature request here. -->
Add any other context or screenshots about the feature request here.
@@ -1,2 +0,0 @@
SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
SPDX-License-Identifier: AGPL-3.0-or-later
+1 -5
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
-7
View File
@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
name: "CodeQL config"
paths-ignore:
- dist
-2
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
+217 -151
View File
@@ -1,8 +1,220 @@
# SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
version: 2
updates:
# Linting and coding style
- package-ecosystem: composer
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
# cs-fixer
- package-ecosystem: composer
directory: "/vendor-bin/cs-fixer"
schedule:
interval: weekly
day: saturday
time: "04:10"
timezone: Europe/Copenhagen
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
# openapi-extractor
- package-ecosystem: composer
directory: "/vendor-bin/openapi-extractor"
schedule:
interval: weekly
day: saturday
time: "04:20"
timezone: Europe/Brussels
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
- "provokateurin"
# psalm
- package-ecosystem: composer
directory: "/vendor-bin/psalm"
schedule:
interval: weekly
day: saturday
time: "04:30"
timezone: Europe/Madrid
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
# 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: 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"
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable28
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
# 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: 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"]
- package-ecosystem: composer
directory: "/build/integration"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable28
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
@@ -16,152 +228,6 @@ updates:
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
# Main composer (linting, testing, openapi)
- package-ecosystem: composer
directories:
- "/"
- "/vendor-bin/behat"
- "/vendor-bin/cs-fixer"
- "/vendor-bin/openapi-extractor"
- "/vendor-bin/phpunit"
- "/vendor-bin/psalm"
- "/vendor-bin/rector"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
labels:
- "3. to review"
- "feature: dependencies"
# Main master npm frontend dependencies
- package-ecosystem: npm
directories:
- "/"
- "/build/frontend"
- "/build/frontend-legacy"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
open-pull-requests-limit: 20
labels:
- "3. to review"
- "feature: dependencies"
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
groups:
vite:
patterns:
- "vite"
- "@nextcloud/vite-config"
vitest:
patterns:
- "vitest"
- "@vitest/*"
# Latest stable release
# Composer dependencies for linting and testing
- package-ecosystem: composer
target-branch: stable33
directories:
- "/"
- "/vendor-bin/behat"
- "/vendor-bin/cs-fixer"
- "/vendor-bin/openapi-extractor"
- "/vendor-bin/phpunit"
- "/vendor-bin/psalm"
- "/vendor-bin/rector"
schedule:
interval: weekly
day: saturday
time: "03:30"
timezone: Europe/Paris
labels:
- "3. to review"
- "feature: dependencies"
ignore:
# only patch updates on stable branches
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
# frontend dependencies
- package-ecosystem: npm
target-branch: stable33
directories:
- "/"
- "/build/frontend"
- "/build/frontend-legacy"
schedule:
interval: weekly
day: saturday
time: "03:30"
timezone: Europe/Paris
open-pull-requests-limit: 20
labels:
- "3. to review"
- "feature: dependencies"
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
groups:
vite:
patterns:
- "vite"
- "@nextcloud/vite-config"
vitest:
patterns:
- "vitest"
- "@vitest/*"
ignore:
# no major updates on stable branches
- dependency-name: "*"
update-types: ["version-update:semver-major"]
# Older stable releases
# Composer dependencies for linting and testing
- package-ecosystem: composer
target-branch: stable32
directories:
- "/"
- "/vendor-bin/behat"
- "/vendor-bin/cs-fixer"
- "/vendor-bin/openapi-extractor"
- "/vendor-bin/phpunit"
- "/vendor-bin/psalm"
schedule:
interval: weekly
day: saturday
time: "04:30"
timezone: Europe/Paris
labels:
- "3. to review"
- "feature: dependencies"
ignore:
# only patch updates on stable branches
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
# frontend dependencies
- package-ecosystem: npm
target-branch: stable32
directory: "/"
schedule:
interval: weekly
day: saturday
time: "04:30"
timezone: Europe/Paris
open-pull-requests-limit: 20
labels:
- "3. to review"
- "feature: dependencies"
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
ignore:
# no major updates on stable branches
- dependency-name: "*"
update-types: ["version-update:semver-major"]
-11
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,9 +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`)
## AI (if applicable)
- [ ] The content of this PR was partly or fully generated using AI
-2
View File
@@ -1,2 +0,0 @@
SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
SPDX-License-Identifier: AGPL-3.0-or-later
+9 -14
View File
@@ -1,5 +1,3 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Code checkers
on:
@@ -36,7 +34,6 @@ jobs:
- 'composer.json'
- 'composer.lock'
- '**.php'
- build/autoloaderchecker.sh
autoloader:
runs-on: ubuntu-latest
@@ -46,20 +43,19 @@ jobs:
strategy:
matrix:
php-versions: ['8.2']
php-versions: ['8.3']
name: PHP checkers
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
@@ -68,6 +64,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: composer i
- name: Check auto loaders
run: bash ./build/autoloaderchecker.sh
@@ -76,20 +75,19 @@ jobs:
strategy:
matrix:
php-versions: ['8.2']
php-versions: ['8.1']
name: Translation and Files checkers
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
@@ -110,9 +108,6 @@ jobs:
- name: Check that all and only expected files are included
run: php ./build/files-checker.php
- name: Check that all shipped apps are linted by psalm
run: sh ./build/psalm-checker.sh
summary:
permissions:
contents: none
+7 -16
View File
@@ -27,23 +27,14 @@ jobs:
steps:
- name: Set server major version environment
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const regex = /^stable(\d+)$/
const baseRef = context.payload.pull_request.base.ref
const match = baseRef.match(regex)
if (match) {
console.log('Setting server_major to ' + match[1]);
core.exportVariable('server_major', match[1]);
console.log('Setting current_day to ' + (new Date()).toISOString().substr(0, 10));
core.exportVariable('current_day', (new Date()).toISOString().substr(0, 10));
}
run: |
# retrieve version number from branch reference
server_major=$(echo "${{ github.base_ref }}" | sed -En 's/stable//p')
echo "server_major=$server_major" >> $GITHUB_ENV
echo "current_month=$(date +%Y-%m)" >> $GITHUB_ENV
- name: Checking if server ${{ env.server_major }} is EOL
if: ${{ env.server_major != '' }}
- name: Checking if ${{ env.server_major }} is EOL
run: |
curl -s https://raw.githubusercontent.com/nextcloud-releases/updater_server/production/config/major_versions.json \
| jq '.["${{ env.server_major }}"]["eol"] // "9999-99-99" | . >= "${{ env.current_day }}"' \
| jq '.["${{ env.server_major }}"]["eol"] // "9999-99" | . >= "${{ env.current_month }}"' \
| grep -q true
+2 -27
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@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const baseRef = context.payload.pull_request.base.ref
if (baseRef === 'main' || baseRef === 'master') {
core.exportVariable('server_ref', 'master');
console.log('Setting server_ref to master');
} else {
const regex = /^stable(\d+)$/
const match = baseRef.match(regex)
if (match) {
core.exportVariable('server_ref', match[0]);
console.log('Setting server_ref to ' + match[0]);
} else {
console.log('Not based on master/main/stable*, so skipping freeze check');
}
}
- name: Download version.php from ${{ env.server_ref }}
if: ${{ env.server_ref != '' }}
run: curl 'https://raw.githubusercontent.com/nextcloud/server/${{ env.server_ref }}/version.php' --output version.php
- name: Download version.php from ${{ github.base_ref }}
run: curl https://raw.githubusercontent.com/nextcloud/server/${{ github.base_ref }}/version.php --output version.php
- name: Run check
if: ${{ env.server_ref != '' }}
run: cat version.php | grep 'OC_VersionString' | grep -i -v 'RC'
+5 -31
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: 3rdparty commit hash on current branch
id: actual
run: |
echo "commit=$(git submodule status | grep ' 3rdparty' | egrep -o '[a-f0-9]{40}')" >> "$GITHUB_OUTPUT"
- name: Register server reference to fallback to master branch
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const baseRef = context.payload.pull_request.base.ref
if (baseRef === 'main' || baseRef === 'master') {
core.exportVariable('server_ref', 'master');
console.log('Setting server_ref to master');
} else {
const regex = /^stable(\d+)$/
const match = baseRef.match(regex)
if (match) {
core.exportVariable('server_ref', match[0]);
console.log('Setting server_ref to ' + match[0]);
} else {
console.log('Not based on master/main/stable*, so skipping outdated 3rdparty check');
}
}
- name: Last 3rdparty commit on target branch
if: ${{ env.server_ref != '' }}
id: target
run: |
echo "commit=$(git ls-remote https://github.com/nextcloud/3rdparty refs/heads/${{ env.server_ref }} | awk '{ print $1}')" >> "$GITHUB_OUTPUT"
echo "commit=$(git ls-remote https://github.com/nextcloud/3rdparty refs/heads/${{ github.base_ref }} | awk '{ print $1}')" >> "$GITHUB_OUTPUT"
- name: Compare if 3rdparty commits are different
if: ${{ env.server_ref != '' }}
run: |
echo '3rdparty/ seems to not point to the last commit of the dedicated branch:'
echo 'Branch has: ${{ steps.actual.outputs.commit }}'
echo '${{ env.server_ref }} has: ${{ steps.target.outputs.commit }}'
echo "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
@@ -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: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Block unconventional commits
@@ -27,10 +24,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: webiny/action-conventional-commits@faccb24fc2550dd15c0390d944379d2d8ed9690e # v1.3.1
- uses: webiny/action-conventional-commits@8bc41ff4e7d423d56fa4905f6ff79209a78776c7 # v1.3.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-45
View File
@@ -1,45 +0,0 @@
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
name: Auto-label bug reports
on:
issues:
types: [opened]
jobs:
add-version-label:
if: contains(github.event.issue.title, '[Bug]')
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Extract version number and apply label
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
script: |
const body = context.payload.issue.body || '';
const normalizedBody = body.replace(/\r\n?/g, '\n');
let label = '';
// Extract Nextcloud Server version number from a block like:
// ### Nextcloud Server version
// 32
const versionMatch = normalizedBody.match(/### Nextcloud Server version\s*\n+([0-9]{1,3})\b/);
let nextcloudVersion = null;
if (versionMatch) {
nextcloudVersion = parseInt(versionMatch[1], 10);
label = nextcloudVersion + '-feedback';
}
if (label) {
try {
await github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: [label]
});
} catch (error) {
core.setFailed(`Failed to add label "${label}": ${error.message || error}`);
}
}
-49
View File
@@ -1,49 +0,0 @@
# SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
name: "CodeQL Advanced"
on:
push:
branches: [ "master", "stable*" ]
pull_request:
branches: [ "master", "stable*" ]
schedule:
- cron: '28 18 * * 1'
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
permissions:
# required for all workflows
security-events: write
# required to fetch internal or private CodeQL packs
packages: read
strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: javascript-typescript
build-mode: none
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
config-file: ./.github/codeql-config.yml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
with:
category: "/language:${{matrix.language}}"
+21 -103
View File
@@ -1,19 +1,8 @@
# 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
@@ -29,40 +18,18 @@ jobs:
base_ref: ${{ steps.comment-branch.outputs.base_ref }}
steps:
- name: Get repository from pull request comment
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
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
with:
require: write
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reactions: '+1'
reactions: "+1"
- name: Parse command
uses: skjnldsv/parse-command-comment@5c955203c52424151e6d0e58fb9de8a9f6a605a1 # v2
@@ -79,98 +46,53 @@ jobs:
fi
- name: Init branch
uses: xt0rted/pull-request-comment-branch@e8b8daa837e8ea7331c0003c9c316a64c6d8b0b1 # v3.0.0
uses: xt0rted/pull-request-comment-branch@d97294d304604fa98a2600a6e2f916a84b596dc7 # v1
id: comment-branch
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0
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: buildjet/cache@e376f15c6ec6dc595375c78633174c7e5f92dc0e # v3
with:
path: .git
key: git-repo
- name: Checkout ${{ needs.init.outputs.head_ref }}
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
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: '^24'
fallbackNpm: '^11.3'
fallbackNode: '^20'
fallbackNpm: '^10'
- name: Set up node ${{ steps.package-engines-versions.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # 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 }}'
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
}
git fetch origin ${{ needs.init.outputs.base_ref }}:${{ needs.init.outputs.base_ref }}
git rebase origin/${{ needs.init.outputs.base_ref }}
- name: Install dependencies & build
env:
@@ -183,40 +105,36 @@ jobs:
- name: Commit default
if: ${{ !contains(needs.init.outputs.arg1, 'fixup') && !contains(needs.init.outputs.arg1, 'amend') }}
run: |
git add '${{ github.workspace }}${{ needs.init.outputs.git_path }}'
git add ${{ github.workspace }}${{ needs.init.outputs.git_path }}
git commit --signoff -m 'chore(assets): Recompile assets'
- name: Commit fixup
if: ${{ contains(needs.init.outputs.arg1, 'fixup') }}
run: |
git add '${{ github.workspace }}${{ needs.init.outputs.git_path }}'
git add ${{ github.workspace }}${{ needs.init.outputs.git_path }}
git commit --fixup=HEAD --signoff
- name: Commit amend
if: ${{ contains(needs.init.outputs.arg1, 'amend') }}
run: |
git add '${{ github.workspace }}${{ needs.init.outputs.git_path }}'
git add ${{ github.workspace }}${{ 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"
run: git push origin ${{ needs.init.outputs.head_ref }}
- name: Force push
if: ${{ contains(needs.init.outputs.arg1, 'rebase') || contains(needs.init.outputs.arg1, 'amend') }}
env:
HEAD_REF: ${{ needs.init.outputs.head_ref }}
run: git push --force-with-lease origin "$HEAD_REF"
run: git push --force origin ${{ needs.init.outputs.head_ref }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reactions: '-1'
reactions: "-1"
+10 -50
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@e8674b075228eee787fea43ef493e45ece1004c9 # v3.0.1
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v3.0.1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
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@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const baseRef = context.payload.pull_request.base.ref
if (baseRef === 'main' || baseRef === 'master') {
core.exportVariable('server_ref', 'master');
console.log('Setting server_ref to master');
} else {
const regex = /^stable(\d+)$/
const match = baseRef.match(regex)
if (match) {
core.exportVariable('server_ref', match[0]);
console.log('Setting server_ref to ' + match[0]);
} else {
console.log('Not based on master/main/stable*, so skipping pull 3rdparty command');
}
}
- name: Setup git
run: |
git config --local user.email 'nextcloud-command@users.noreply.github.com'
git config --local user.name 'nextcloud-command'
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v3.0.1
if: ${{ env.server_ref == '' }}
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reactions: '-1'
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@e8674b075228eee787fea43ef493e45ece1004c9 # v3.0.1
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # 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
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@71345be0265236311c031f5c7866368bd1eff043 # 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@71345be0265236311c031f5c7866368bd1eff043 # 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"
+37 -110
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,16 +9,8 @@ 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.
BRANCH: ${{ github.base_ref || github.ref_name }}
permissions:
contents: read
# Server requires head_ref instead of base_ref, as we want to test the PR branch
BRANCH: ${{ github.head_ref || github.ref_name }}
jobs:
init:
@@ -36,56 +20,50 @@ 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
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@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v2
with:
files: 'composer.json'
files: "composer.json"
- name: Install composer dependencies
if: steps.check_composer.outputs.files_exists == 'true'
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: '^24'
fallbackNpm: '^11.3'
fallbackNode: "^20"
fallbackNpm: "^9"
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- 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: |
npm ci
TESTING=true npm run build --if-present
- name: Show cypress version
run: npm run cypress:version
- name: Save context
uses: buildjet/cache/save@3e70d19e31d6a8030aeddf6ed8dbe601f94d09f4 # v4.0.2
uses: buildjet/cache/save@e376f15c6ec6dc595375c78633174c7e5f92dc0e # v3
with:
key: cypress-context-${{ github.run_id }}
path: ./
@@ -99,82 +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: ['setup', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
# Hack as strategy.job-total includes the "setup" and GitHub does not allow math expressions
# Always align this number with the total of e2e runners (max. index + 1)
total-containers: [10]
services:
mysql:
# Only start mysql if we are running the setup tests
image: ${{matrix.containers == 'setup' && 'ghcr.io/nextcloud/continuous-integration-mysql-8.4:latest' || ''}} # zizmor: ignore[unpinned-images]
ports:
- '3306/tcp'
env:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: oc_autotest
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 10
mariadb:
# Only start mariadb if we are running the setup tests
image: ${{matrix.containers == 'setup' && 'mariadb:11.4' || ''}} # zizmor: ignore[unpinned-images]
ports:
- '3306/tcp'
env:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: oc_autotest
options: --health-cmd="mariadb-admin ping" --health-interval 5s --health-timeout 2s --health-retries 5
postgres:
# Only start postgres if we are running the setup tests
image: ${{matrix.containers == 'setup' && 'ghcr.io/nextcloud/continuous-integration-postgres-17:latest' || ''}} # zizmor: ignore[unpinned-images]
ports:
- '5432/tcp'
env:
POSTGRES_USER: root
POSTGRES_PASSWORD: rootpassword
POSTGRES_DB: nextcloud
options: --mount type=tmpfs,destination=/var/lib/postgresql/data --health-cmd pg_isready --health-interval 5s --health-timeout 2s --health-retries 5
oracle:
# Only start oracle if we are running the setup tests
image: ${{matrix.containers == 'setup' && 'ghcr.io/gvenzl/oracle-free:23' || ''}} # zizmor: ignore[unpinned-images]
ports:
- '1521'
env:
ORACLE_PASSWORD: oracle
options: --health-cmd healthcheck.sh --health-interval 20s --health-timeout 10s --health-retries 10
containers: ["component", 0, 1, 2, 3, 4, 5]
# Hack as strategy.job-total includes the component and GitHub does not allow math expressions
# 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@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ needs.init.outputs.nodeVersion }}
- name: Set up npm ${{ needs.init.outputs.npmVersion }}
run: npm i -g 'npm@${{ needs.init.outputs.npmVersion }}'
- name: Install cypress
run: ./node_modules/cypress/bin/cypress install
run: npm i -g npm@"${{ needs.init.outputs.npmVersion }}"
- name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests
uses: cypress-io/github-action@bc22e01685c56e89e7813fd8e26f33dc47f87e15 # v7.1.5
uses: cypress-io/github-action@1b70233146622b69e789ccdd4f9452adc638d25a # v6.6.1
with:
# We already installed the dependencies in the init job
install: false
component: ${{ matrix.containers == 'component' }}
group: ${{ matrix.use-cypress-cloud && matrix.containers == 'component' && 'Run component' || matrix.use-cypress-cloud && 'Run E2E' || '' }}
# cypress env
@@ -191,34 +119,33 @@ jobs:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
SPLIT: ${{ matrix.total-containers }}
SPLIT_INDEX: ${{ matrix.containers == 'component' && 0 || matrix.containers }}
SPLIT_RANDOM_SEED: ${{ github.run_id }}
SETUP_TESTING: ${{ matrix.containers == 'setup' && 'true' || '' }}
- name: Upload snapshots and videos
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
- name: Upload snapshots
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
if: always()
with:
name: snapshots_${{ matrix.containers }}
name: snapshots_videos_${{ matrix.containers }}
path: |
cypress/snapshots
cypress/videos
- name: Show logs
- name: Extract NC logs
if: failure() && matrix.containers != 'component'
run: |
for id in $(docker ps -aq); do
docker container inspect "$id" --format '=== Logs for container {{.Name}} ==='
docker logs "$id" >> nextcloud.log
done
echo '=== Nextcloud server logs ==='
docker exec nextcloud-e2e-test-server_${{ env.APP_NAME }} cat data/nextcloud.log
run: docker logs nextcloud-cypress-tests_${{ env.APP_NAME }} > nextcloud.log
- name: Upload NC logs
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
if: failure() && matrix.containers != 'component'
with:
name: nc_logs_${{ matrix.containers }}
path: nextcloud.log
- name: Create data dir archive
if: failure() && matrix.containers != 'component'
run: docker exec nextcloud-e2e-test-server_${{ env.APP_NAME }} tar -cvjf - data > data.tar
run: docker exec nextcloud-cypress-tests_${{ env.APP_NAME }} tar -cvjf - data > data.tar
- name: Upload data archive
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
- name: Upload data dir archive
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
if: failure() && matrix.containers != 'component'
with:
name: nc_data_${{ matrix.containers }}
+9 -27
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: Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Auto approve Dependabot PRs
name: Dependabot
on:
pull_request_target: # zizmor: ignore[dangerous-triggers]
pull_request_target:
branches:
- main
- master
@@ -24,35 +21,20 @@ 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
# for alexwilson/enable-github-automerge-action to approve PRs
contents: 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
- uses: mdecoleman/pr-branch-name@55795d86b4566d300d237883103f052125cc7508 # v3.0.0
id: branchname
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# GitHub actions bot approve
- uses: hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4.0.0
if: startsWith(steps.branchname.outputs.branch, 'dependabot/')
# Github actions bot approve
- uses: hmarr/auto-approve-action@b40d6c9ed2fa10c9a2749eca7eb004418a705501 # v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# Enable GitHub auto merge
- name: Auto merge
uses: alexwilson/enable-github-automerge-action@56e3117d1ae1540309dc8f7a9f2825bc3c5f06ff # v2.0.0
if: startsWith(steps.branchname.outputs.branch, 'dependabot/')
# Nextcloud bot approve and merge request
- uses: ahmadnassri/action-dependabot-auto-merge@45fc124d949b19b6b8bf6645b6c9d55f4f9ac61a # v2.6.6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
target: minor
github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}
+9 -32
View File
@@ -1,14 +1,9 @@
# 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
@@ -29,22 +24,12 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
- '**.php'
files-external-ftp:
runs-on: ubuntu-latest
@@ -53,21 +38,21 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.2', '8.4']
php-versions: ['8.0', '8.3']
ftpd: ['proftpd', 'vsftpd', 'pure-ftpd']
include:
- php-versions: '8.2'
- php-versions: '8.0'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-${{ matrix.ftpd }}
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up ftpd
@@ -81,8 +66,7 @@ jobs:
if [[ "${{ matrix.ftpd }}" == 'pure-ftpd' ]]; then docker run --name ftp -d --net host -e "PUBLICHOST=localhost" -e FTP_USER_NAME=test -e FTP_USER_PASS=test -e FTP_USER_HOME=/home/test -v /tmp/ftp:/home/test -v /tmp/ftp:/etc/pure-ftpd/passwd stilliard/pure-ftpd; fi
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -110,22 +94,15 @@ jobs:
- name: PHPUnit
run: composer run test:files_external -- \
apps/files_external/tests/Storage/FtpTest.php \
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
files: ./clover.xml
flags: phpunit-files-external-ftp
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-files-external-ftp
- name: ftpd logs
if: always()
run: |
+26 -66
View File
@@ -1,14 +1,9 @@
# 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
@@ -29,22 +24,12 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
- '**.php'
files-external-s3-minio:
runs-on: ubuntu-latest
@@ -53,14 +38,13 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.2', '8.4']
php-versions: ['8.0', '8.1', '8.2', '8.3']
include:
- php-versions: '8.3'
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-s3-minio
name: php${{ matrix.php-versions }}-s3
services:
minio:
@@ -70,18 +54,16 @@ jobs:
MINIO_ROOT_PASSWORD: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
MINIO_DEFAULT_BUCKETS: nextcloud
ports:
- '9000:9000'
- "9000:9000"
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -99,38 +81,26 @@ jobs:
composer install
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
./occ app:enable --force files_external
echo "<?php return ['run' => true, 'minio' => true, 'secret' => 'actually-not-secret', 'passwordsalt' => 'actually-not-secret', 'hostname' => 'localhost','key' => '$OBJECT_STORE_KEY','secret' => '$OBJECT_STORE_SECRET', 'bucket' => 'bucket', 'port' => 9000, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/files_external/tests/config.amazons3.php
echo "<?php return ['run' => true, 'secret' => 'actually-not-secret', 'passwordsalt' => 'actually-not-secret', 'hostname' => 'localhost','key' => '$OBJECT_STORE_KEY','secret' => '$OBJECT_STORE_SECRET', 'bucket' => 'bucket', 'port' => 9000, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/files_external/tests/config.amazons3.php
- name: Wait for S3
run: |
sleep 10
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 10 http://localhost:9000/minio/health/ready
- name: PHPUnit
run: |
composer run test:files_external -- \
--group S3 \
--log-junit junit.xml \
apps/files_external/tests/Storage \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
run: composer run test:files_external -- \
apps/files_external/tests/Storage/Amazons3Test.php \
apps/files_external/tests/Storage/VersionedAmazonS3Test.php \
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
files: ./clover.xml
flags: phpunit-files-external-s3
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-files-external-s3
- name: Nextcloud logs
if: always()
run: |
cat data/nextcloud.log
- name: S3 logs
if: always()
run: |
@@ -145,12 +115,12 @@ jobs:
strategy:
matrix:
php-versions: ['8.2', '8.4']
php-versions: ['8.0', '8.1', '8.2', '8.3']
include:
- php-versions: '8.3'
coverage: ${{ github.event_name != 'pull_request' }}
coverage: true
name: php${{ matrix.php-versions }}-s3-localstack
name: php${{ matrix.php-versions }}-s3
services:
localstack:
@@ -163,14 +133,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -185,29 +153,21 @@ jobs:
composer install
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
./occ app:enable --force files_external
echo "<?php return ['run' => true, 'localstack' => true, 'hostname' => 'localhost','key' => 'ignored','secret' => 'ignored', 'bucket' => 'bucket', 'port' => 4566, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/files_external/tests/config.amazons3.php
echo "<?php return ['run' => true,'hostname' => 'localhost','key' => 'ignored','secret' => 'ignored', 'bucket' => 'bucket', 'port' => 4566, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/files_external/tests/config.amazons3.php
- name: PHPUnit
run: |
composer run test:files_external -- \
--group S3 \
--log-junit junit.xml \
apps/files_external/tests/Storage \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
run: composer run test:files_external -- \
apps/files_external/tests/Storage/Amazons3Test.php \
apps/files_external/tests/Storage/VersionedAmazonS3Test.php \
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
files: ./clover.xml
flags: phpunit-files-external-s3
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-files-external-s3
- name: S3 logs
if: always()
run: |
+10 -33
View File
@@ -1,14 +1,9 @@
# 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
@@ -29,22 +24,12 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
- '**.php'
files-external-sftp:
runs-on: ubuntu-latest
@@ -53,32 +38,31 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.2', '8.4']
php-versions: ['8.0', '8.3']
sftpd: ['openssh']
include:
- php-versions: '8.2'
- php-versions: '8.0'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-${{ matrix.sftpd }}
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
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
if [[ "${{ matrix.sftpd }}" == 'openssh' ]]; then docker run -p 2222:22 --name sftp -d -v /tmp/sftp:/home/test atmoz/sftp "test:test:::data"; fi
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -99,22 +83,15 @@ jobs:
run: composer run test:files_external -- \
apps/files_external/tests/Storage/SftpTest.php \
apps/files_external/tests/Storage/SFTP_KeyTest.php \
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
files: ./clover.xml
flags: phpunit-files-external-sftp
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-files-external-sftp
- name: sftpd logs
if: always()
run: |
@@ -1,14 +1,9 @@
# 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
@@ -29,22 +24,12 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
- '**.php'
files-external-smb-kerberos:
runs-on: ubuntu-latest
@@ -56,17 +41,17 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Checkout user_saml
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
repository: nextcloud/user_saml
path: apps/user_saml
# Latest version for Nextcloud 29
ref: stable-6
- name: Install user_saml
run: |
@@ -77,10 +62,10 @@ jobs:
- name: Pull images
run: |
docker pull ghcr.io/icewind1991/samba-krb-test-dc
docker pull ghcr.io/icewind1991/samba-krb-test-apache-gssapi:8.4
docker pull ghcr.io/icewind1991/samba-krb-test-apache
docker pull ghcr.io/icewind1991/samba-krb-test-client
docker tag ghcr.io/icewind1991/samba-krb-test-dc icewind1991/samba-krb-test-dc
docker tag ghcr.io/icewind1991/samba-krb-test-apache-gssapi:8.4 icewind1991/samba-krb-test-apache-gssapi
docker tag ghcr.io/icewind1991/samba-krb-test-apache icewind1991/samba-krb-test-apache
docker tag ghcr.io/icewind1991/samba-krb-test-client icewind1991/samba-krb-test-client
- name: Setup AD-DC
@@ -98,18 +83,6 @@ jobs:
run: |
apps/files_external/tests/sso-setup/test-sso-smb.sh ${{ env.DC_IP }}
- name: Show logs DC
if: always()
run: |
docker logs dc
echo "------------"
docker exec dc cat /var/log/samba/log.samba
- name: Show logs Apache
if: always()
run: |
docker logs apache
- name: Show logs
if: always()
run: |
@@ -117,7 +90,7 @@ jobs:
echo "$FILEPATH:"
docker exec --user 33 apache cat $FILEPATH
smb-kerberos-sso-summary:
sftp-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-smb-kerberos]
+10 -40
View File
@@ -1,14 +1,9 @@
# 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
@@ -29,22 +24,12 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
- '**.php'
files-external-smb:
runs-on: ubuntu-latest
@@ -53,36 +38,28 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.0', '8.3']
include:
- php-versions: '8.2'
- php-versions: '8.0'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-smb
services:
samba:
image: ghcr.io/servercontainers/samba:smbd-only-a3.18.0-s4.18.2-r0
env:
ACCOUNT_test: test
UID_test: 1000
SAMBA_VOLUME_CONFIG_test: "[public]; path=/tmp; valid users = test; guest ok = no; read only = no; browseable = yes"
options: >-
--health-cmd=true
image: ghcr.io/nextcloud/continuous-integration-samba:latest
ports:
- 445:445
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -109,24 +86,17 @@ jobs:
apps/files_external/tests/env/wait-for-connection 127.0.0.1 445 60
- name: PHPUnit
run: composer run test:files_external -- \
run: composer run test:files_external -- --verbose \
apps/files_external/tests/Storage/SmbTest.php \
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # v3.1.5
with:
files: ./clover.xml
flags: phpunit-files-external-smb
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-files-external-smb
files-external-smb-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-smb]
+9 -34
View File
@@ -1,14 +1,9 @@
# 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
@@ -29,22 +24,12 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
- '**.php'
files-external-webdav-apache:
runs-on: ubuntu-latest
@@ -53,9 +38,8 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.3', '8.4']
php-versions: ['8.0', '8.1', '8.2', '8.3']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
@@ -64,20 +48,18 @@ jobs:
services:
apache:
image: ghcr.io/nextcloud/continuous-integration-webdav-apache:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-webdav-apache:latest
ports:
- 8081:80
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -101,24 +83,17 @@ jobs:
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 10 http://test:pass@localhost:8081/webdav/
- name: PHPUnit
run: composer run test:files_external -- \
run: composer run test:files_external -- --verbose \
apps/files_external/tests/Storage/WebdavTest.php \
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457 # v3.1.6
with:
files: ./clover.xml
flags: phpunit-files-external-webdav
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-files-external-webdav
files-external-webdav-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-webdav-apache]
+7 -33
View File
@@ -1,14 +1,9 @@
# 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
@@ -29,22 +24,11 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
files-external-generic:
runs-on: ubuntu-latest
@@ -53,9 +37,8 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.3', '8.4']
php-versions: ['8.0', '8.1', '8.2', '8.3']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
@@ -64,14 +47,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -91,23 +72,16 @@ jobs:
./occ app:enable --force files_external
- name: PHPUnit
run: composer run test:files_external -- \
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
run: composer run test:files_external \
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
files: ./clover.xml
flags: phpunit-files-external-generic
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-files-external-generic
files-external-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-generic ]
+1 -4
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 }}
@@ -1,104 +0,0 @@
# SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Generate changelog on release
on:
release:
types: [published]
permissions:
contents: write
jobs:
changelog_generate:
runs-on: ubuntu-latest
# Only allowed to be run on nextcloud-releases repositories
if: ${{ github.repository_owner == 'nextcloud-releases' }}
steps:
- name: Check actor permission
uses: skjnldsv/check-actor-permission@69e92a3c4711150929bca9fcf34448c5bf5526e7 # v3.0
with:
require: write
- name: Checkout github_helper
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
repository: nextcloud/github_helper
path: github_helper
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
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@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
timeout-minutes: 5
with:
php-version: 8.2
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set credentials
run: |
echo '{"username": "github-actions"}' > github_helper/credentials.json
# Since this action only runs on nextcloud-releases, ignoring is okay
- name: Generate changelog between ${{ env.PREVIOUS_TAG }} and ${{ github.ref_name }} # zizmor: ignore[template-injection]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd github_helper/changelog
composer install
php index.php generate:changelog --no-bots --format=forum server ${{ env.PREVIOUS_TAG }} ${{ github.ref_name }} > changelog.md
# Since this action only runs on nextcloud-releases, ignoring is okay
- name: Set changelog to release # zizmor: ignore[template-injection]
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd server
gh release edit ${{ github.ref_name }} --notes-file "../github_helper/changelog/changelog.md" --title "${{ github.ref_name }}"
+7 -11
View File
@@ -4,9 +4,6 @@ name: DAV integration tests
on:
pull_request:
permissions:
contents: read
concurrency:
group: integration-caldav-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -43,9 +40,10 @@ jobs:
if: needs.changes.outputs.src != 'false' && github.repository_owner != 'nextcloud-gmbh'
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.3']
endpoint: ['old', 'new']
service: ['CalDAV', 'CardDAV']
@@ -53,14 +51,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -71,7 +67,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Python
uses: LizardByte/actions/actions/setup_python@70bb8d394d1c92f6113aeec6ae9cc959a5763d15 # v2026.227.200013
uses: LizardByte/actions/actions/setup_python@e6bc045033a5614035b66daafc38ff86faecb23a # v2026.116.208
with:
python-version: '2.7'
@@ -103,9 +99,9 @@ jobs:
- name: Run CalDAVTester
run: |
cp "apps/dav/tests/testsuits/caldavtest/serverinfo-${{ matrix.endpoint }}${{ matrix.endpoint == 'old' && (matrix.service == 'CardDAV' && '-carddav' || '-caldav') || '' }}-endpoint.xml" "apps/dav/tests/testsuits/caldavtest/serverinfo.xml"
cp "apps/dav/tests/travis/caldavtest/serverinfo-${{ matrix.endpoint }}${{ matrix.endpoint == 'old' && (matrix.service == 'CardDAV' && '-carddav' || '-caldav') || '' }}-endpoint.xml" "apps/dav/tests/travis/caldavtest/serverinfo.xml"
pushd CalDAVTester
PYTHONPATH="../pycalendar/src" python testcaldav.py --print-details-onfail --basedir "../apps/dav/tests/testsuits/caldavtest" -o cdt.txt \
PYTHONPATH="../pycalendar/src" python testcaldav.py --print-details-onfail --basedir "../apps/dav/tests/travis/caldavtest" -o cdt.txt \
"${{ matrix.service }}/current-user-principal.xml" \
"${{ matrix.service }}/sync-report.xml" \
${{ matrix.endpoint == 'new' && format('{0}/sharing-{1}.xml', matrix.service, matrix.service == 'CalDAV' && 'calendars' || 'addressbooks') || ';' }}
+4 -8
View File
@@ -4,9 +4,6 @@ name: Litmus integration tests
on:
pull_request:
permissions:
contents: read
concurrency:
group: integration-litmus-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -43,23 +40,22 @@ jobs:
if: needs.changes.outputs.src != 'false' && github.repository_owner != 'nextcloud-gmbh'
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.3']
endpoint: ['webdav', 'dav']
name: Litmus WebDAV ${{ matrix.endpoint }}
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
+11 -27
View File
@@ -1,12 +1,7 @@
# 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
@@ -27,23 +22,14 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'vendor/**'
- 'vendor-bin/**'
- '**/*.php'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- 'build/integration/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- 'build/integration/**'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
integration-s3-primary:
runs-on: ubuntu-latest
@@ -52,16 +38,17 @@ jobs:
if: needs.changes.outputs.src != 'false' && github.repository_owner != 'nextcloud-gmbh'
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.0']
key: ['objectstore', 'objectstore_multibucket']
name: php${{ matrix.php-versions }}-${{ matrix.key }}-minio
services:
redis:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
ports:
- 6379:6379/tcp
@@ -76,14 +63,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -100,7 +85,6 @@ jobs:
- name: Set up Nextcloud
run: |
composer install
mkdir data
echo '<?php $CONFIG=["${{ matrix.key }}" => ["class" => "OC\Files\ObjectStore\S3", "arguments" => ["bucket" => "nextcloud", "autocreate" => true, "key" => "nextcloud", "secret" => "bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=", "hostname" => "localhost", "port" => 9000, "use_ssl" => false, "use_path_style" => true, "uploadPartSize" => 52428800]]];' > config/config.php
echo '<?php $CONFIG=["redis" => ["host" => "localhost", "port" => 6379], "memcache.local" => "\OC\Memcache\Redis", "memcache.distributed" => "\OC\Memcache\Redis"];' > config/redis.config.php
+14 -32
View File
@@ -1,5 +1,3 @@
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Integration sqlite
on:
@@ -41,7 +39,6 @@ jobs:
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- 'core/shipped.json'
integration-sqlite:
runs-on: ubuntu-latest
@@ -61,34 +58,28 @@ jobs:
- 'federation_features'
- '--tags ~@large files_features'
- 'filesdrop_features'
- 'file_conversions'
- 'files_reminders'
- 'openldap_features'
- 'openldap_numerical_features'
- 'ldap_features'
- 'remoteapi_features'
- 'routing_features'
- 'setup_features'
- 'sharees_features'
- 'sharing_features'
- 'theming_features'
- 'videoverification_features'
php-versions: ['8.4']
spreed-versions: ['main']
activity-versions: ['master']
php-versions: ['8.2']
spreed-versions: ['stable29']
services:
redis:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
ports:
- 6379:6379/tcp
openldap:
image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-8 # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
ports:
- 389:389
- 636:636
env:
SLAPD_DOMAIN: nextcloud.ci
SLAPD_ORGANIZATION: Nextcloud
@@ -97,32 +88,20 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Checkout Talk app
if: ${{ matrix.test-suite == 'videoverification_features' }}
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
repository: nextcloud/spreed
path: apps/spreed
ref: ${{ matrix.spreed-versions }}
- name: Checkout Activity app
if: ${{ matrix.test-suite == 'sharing_features' }}
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
repository: nextcloud/activity
path: apps/activity
ref: ${{ matrix.activity-versions }}
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -132,9 +111,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: |
composer install
- name: Set up production dependencies
run: composer i --no-dev
- name: Set up behat dependencies
working-directory: build/integration
run: composer i
- name: Set up Talk dependencies
if: ${{ matrix.test-suite == 'videoverification_features' }}
@@ -165,7 +147,7 @@ jobs:
- name: Print logs
if: always()
run: |
cat $(./occ log:file |grep "Log file"|cut -d" " -f3)
cat data/nextcloud.log
docker ps -a
docker ps -aq | while read container ; do IMAGE=$(docker inspect --format='{{.Config.Image}}' $container); echo $IMAGE; docker logs $container; echo "\n\n" ; done
+10 -14
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
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: '^24'
fallbackNpm: '^11.3'
fallbackNode: '^20'
fallbackNpm: '^9'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- 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:
+4 -11
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
@@ -44,20 +41,16 @@ jobs:
lint:
runs-on: ubuntu-latest
name: php-cs
name: PHP CS fixer lint
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up php
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: 8.2
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
php-version: 8.1
coverage: none
ini-file: development
env:
+7 -11
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,22 +47,18 @@ jobs:
strategy:
matrix:
php-versions: [ '8.2', '8.3', '8.4', '8.5' ]
php-versions: [ "8.0", "8.1", "8.2", "8.3" ]
name: php-lint
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: none
ini-file: development
env:
-53
View File
@@ -1,53 +0,0 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Lint stylelint
on: pull_request
permissions:
contents: read
concurrency:
group: lint-stylelint-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
name: stylelint
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: versions
with:
fallbackNode: '^24'
fallbackNpm: '^11.3'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
- name: Install dependencies
env:
CYPRESS_INSTALL_BINARY: 0
run: npm ci
- name: Lint
run: npm run stylelint
@@ -1,99 +0,0 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Node handlebars tests
on:
pull_request:
permissions:
contents: read
concurrency:
group: node-tests-handlebars-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
permissions:
contents: read
pull-requests: read
outputs:
src: ${{ steps.changes.outputs.src }}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '**/__tests__/**'
- '**/__mocks__/**'
- 'apps/*/src/**'
- 'apps/*/appinfo/info.xml'
- 'core/src/**'
- 'package.json'
- '**/package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
handlebars:
runs-on: ubuntu-latest
needs: [changes]
if: needs.changes.outputs.src != 'false'
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: versions
with:
fallbackNode: '^24'
fallbackNpm: '^11.3'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
- name: Install dependencies
run: npm ci
- name: Run compile
run: ./build/compile-handlebars-templates.sh
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, handlebars]
if: always()
name: test-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.handlebars.result != 'success' }}; then exit 1; fi
-109
View File
@@ -1,109 +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'
test:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: versions
with:
fallbackNode: '^24'
fallbackNpm: '^11.3'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
- name: Install dependencies
env:
CYPRESS_INSTALL_BINARY: 0
run: |
npm ci
# - name: Test
# run: npm run test --if-present
- name: Test and process coverage
run: npm run test:coverage
- name: Collect coverage
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
with:
files: ./coverage/lcov.info,./coverage/legacy/lcov.info
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, test]
if: always()
name: node-test-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.test.result != 'success' }}; then exit 1; fi
+169
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@ab904c41d6ece82784817410c45d8b8c02684457 # v3.1.6
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
+12 -26
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}}
@@ -37,14 +32,14 @@ jobs:
- '.github/workflows/**'
- '**/src/**'
- '**/appinfo/info.xml'
- 'core/css/*'
- 'core/img/**'
- 'package.json'
- '**/package-lock.json'
- 'package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
- 'core/css/*'
- 'core/img/**'
- 'version.php'
build:
@@ -56,31 +51,22 @@ jobs:
name: NPM build
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
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: '^24'
fallbackNpm: '^11.3'
fallbackNode: '^20'
fallbackNpm: '^9'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
# This does not work on server as we have some git dependencies that "npm-package-lock-add-resolved" cannot handle
# - name: Validate package-lock.json # See https://github.com/npm/cli/issues/4460
# run: |
# npm i -g npm-package-lock-add-resolved@1.1.4
# npm-package-lock-add-resolved
# git --no-pager diff --exit-code
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
- name: Install dependencies & build
env:
@@ -90,7 +76,7 @@ jobs:
npm ci
npm run build --if-present
- name: Check build changes
- name: Check webpack build changes
run: |
bash -c "[[ ! \"`git status --porcelain `\" ]] || (echo 'Please recompile and commit the assets, see the section \"Show changes on failure\" for details' && exit 1)"
+17 -28
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,62 +18,57 @@ jobs:
strategy:
fail-fast: false
matrix:
branches:
- ${{ github.event.repository.default_branch }}
- 'stable33'
- 'stable32'
- 'stable31'
branches: ["main", "master", "stable28", "stable27", "stable26"]
name: npm-audit-fix-${{ matrix.branches }}
steps:
- name: Checkout
id: checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
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: '^24'
fallbackNpm: '^11.3'
fallbackNode: '^20'
fallbackNpm: '^9'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- 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@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
if: always()
uses: peter-evans/create-pull-request@a4f52f8033a6168103c2538976c07b467e8163bc # 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
+16 -36
View File
@@ -1,14 +1,9 @@
# 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
@@ -29,22 +24,16 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
- '**.php'
azure-primary-tests:
runs-on: ubuntu-latest
@@ -53,18 +42,17 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.2', '8.3']
php-versions: ['8.0', '8.1', '8.2', '8.3']
include:
- php-versions: '8.4'
coverage: ${{ github.event_name != 'pull_request' }}
- php-versions: '8.3'
coverage: true
name: php${{ matrix.php-versions }}-azure
services:
azurite:
image: mcr.microsoft.com/azure-storage/azurite@sha256:0a47e12e3693483cef5c71f35468b91d751611f172d2f97414e9c69113b106d9 # v3.34.0
image: mcr.microsoft.com/azure-storage/azurite
env:
AZURITE_ACCOUNTS: nextcloud:bmV4dGNsb3Vk
ports:
@@ -72,21 +60,19 @@ jobs:
options: --health-cmd="nc 127.0.0.1 10000 -z" --health-interval=1s --health-retries=30
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -106,28 +92,22 @@ jobs:
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit
env:
OBJECT_STORE: azure
OBJECT_STORE_KEY: nextcloud
OBJECT_STORE_SECRET: bmV4dGNsb3Vk
run: composer run test -- --group PRIMARY-azure --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
run: composer run test -- --group PRIMARY-azure ${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
files: ./clover.xml
flags: phpunit-azure
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-azure
- name: Azurite logs
if: always()
run: |
+15 -35
View File
@@ -1,14 +1,9 @@
# 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
@@ -29,42 +24,35 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
- '**.php'
s3-primary-tests-minio:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.0', '8.1', '8.2', '8.3']
include:
- php-versions: '8.3'
coverage: ${{ github.event_name != 'pull_request' }}
coverage: true
name: php${{ matrix.php-versions }}-s3
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
@@ -80,14 +68,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -107,7 +93,7 @@ jobs:
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: Wait for S3
run: |
@@ -119,21 +105,15 @@ jobs:
OBJECT_STORE: s3
OBJECT_STORE_KEY: nextcloud
OBJECT_STORE_SECRET: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
run: composer run test -- --group PRIMARY-s3 --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
run: composer run test -- --group PRIMARY-s3 ${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
files: ./clover.xml
flags: phpunit-s3
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-s3
- name: S3 logs
if: always()
run: |
+15 -35
View File
@@ -1,14 +1,9 @@
# 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
@@ -29,22 +24,16 @@ jobs:
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- 'apps/files/lib/**'
- 'apps/files/tests/**'
- 'apps/files_external/**'
- 'apps/files_sharing/lib/**'
- 'apps/files_sharing/tests/**'
- 'apps/files_trashbin/lib/**'
- 'apps/files_trashbin/tests/**'
- 'apps/files_versions/lib/**'
- 'apps/files_versions/tests/**'
- 'lib/private/Files/**'
- 'lib/public/Files/**'
- 'tests/lib/Files/**'
- '**.php'
swift-primary-tests:
runs-on: ubuntu-latest
@@ -53,38 +42,35 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.0', '8.1', '8.2', '8.3']
include:
- php-versions: '8.3'
coverage: ${{ github.event_name != 'pull_request' }}
coverage: true
name: php${{ matrix.php-versions }}-swift
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
swift:
image: ghcr.io/cscfi/docker-keystone-swift@sha256:e8b1ec21120ab9adc6ac6a2b98785fd273676439a8633fe898e37f2aea7e0712
image: ghcr.io/cscfi/docker-keystone-swift
ports:
- 5000:5000
- 8080:8080
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -103,27 +89,21 @@ jobs:
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit
env:
OBJECT_STORE: swift
OBJECT_STORE_SECRET: veryfast
run: composer run test -- --group PRIMARY-swift --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
run: composer run test -- --group PRIMARY-swift ${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
files: ./clover.xml
flags: phpunit-swift
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-swift
- name: Swift logs
if: always()
run: |
+5 -19
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,13 +15,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up php
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: '8.2'
extensions: ctype, curl, dom, fileinfo, gd, json, libxml, mbstring, openssl, pcntl, pdo, posix, session, simplexml, xml, xmlreader, xmlwriter, zip, zlib
@@ -41,7 +27,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
- name: Composer install
run: composer i
- name: OpenAPI checker
+13 -29
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,33 +12,22 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
permissions:
pull-requests: write
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
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@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
@@ -63,7 +47,7 @@ jobs:
ref: ${{ github.event.pull_request.head.ref }}
- name: Run before measurements
uses: nextcloud/profiler@6a74c915048285b35b8e1cd96c0835a635945044
uses: nextcloud/profiler@6801ee10fc80f10b444388fb6ca9b36ad8a2ea83
with:
run: |
curl -s -X PROPFIND -u test:test http://localhost:8080/remote.php/dav/files/test
@@ -72,20 +56,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: master
profiler-branch: stable29
- 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@6a74c915048285b35b8e1cd96c0835a635945044
uses: nextcloud/profiler@6801ee10fc80f10b444388fb6ca9b36ad8a2ea83
with:
run: |
curl -s -X PROPFIND -u test:test http://localhost:8080/remote.php/dav/files/test
@@ -94,19 +78,19 @@ jobs:
curl -s -u test:test -T README.md http://localhost:8080/remote.php/dav/files/test/new_file.txt
curl -s -u test:test -X DELETE http://localhost:8080/remote.php/dav/files/test/new_file.txt
output: after.json
profiler-branch: master
profiler-branch: stable29
compare-with: before.json
- name: Upload profiles
if: always()
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
with:
name: profiles
path: |
before.json
after.json
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v7
- uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
if: failure() && steps.compare.outcome == 'failure'
with:
github-token: ${{secrets.GITHUB_TOKEN}}
+29 -24
View File
@@ -1,14 +1,10 @@
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit 32bits
on:
pull_request:
paths:
- "version.php"
- ".github/workflows/phpunit-32bits.yml"
- "tests/phpunit-autotest.xml"
- "lib/private/Snowflake/*"
- 'version.php'
- '.github/workflows/phpunit-32bits.yml'
workflow_dispatch:
schedule:
- cron: "15 1 * * 1-6"
@@ -26,34 +22,43 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
container: shivammathur/node:latest-i386
strategy:
fail-fast: false
matrix:
php-versions: ["8.4"]
php-versions: ['8.0','8.3']
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up dependencies
uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest
- name: Install tools
run: |
sudo apt-get update
sudo apt-get install -y ffmpeg imagemagick libmagickcore-6.q16-3-extra
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
args: /bin/sh -c "
git config --global --add safe.directory /github/workspace &&
composer install --no-interaction"
php-version: ${{ matrix.php-versions }}
extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, openssl, pdo_sqlite, posix, sqlite, xml, zip, apcu
coverage: none
ini-file: development
ini-values:
apc.enabled=on, apc.enable_cli=on, disable_functions= # https://github.com/shivammathur/setup-php/discussions/573
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest
with:
args: /bin/sh -c "
mkdir data &&
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-user=autotest --database-pass=rootpassword --admin-user admin --admin-pass admin &&
php -f tests/enable_all.php"
env:
DB_PORT: 4444
run: |
composer install
mkdir data
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=autotest --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f index.php
- name: PHPUnit
uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest
with:
args: /bin/sh -c "composer run test -- --exclude-group PRIMARY-azure --exclude-group PRIMARY-s3 --exclude-group PRIMARY-swift --exclude-group Memcached --exclude-group Redis --exclude-group RoutingWeirdness"
run: composer run test -- --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness
+17 -31
View File
@@ -2,11 +2,8 @@
#
# 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
name: PHPUnit mariadb
on:
pull_request:
@@ -23,9 +20,6 @@ concurrency:
jobs:
changes:
runs-on: ubuntu-latest-low
permissions:
contents: read
pull-requests: read
outputs:
src: ${{ steps.changes.outputs.src}}
@@ -57,24 +51,19 @@ jobs:
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
mariadb-versions: ['10.6']
php-versions: ['8.0']
mariadb-versions: ['10.3', '10.4', '10.5', '10.6', '10.11']
include:
- php-versions: '8.3'
mariadb-versions: '10.11'
mariadb-versions: '10.6'
coverage: ${{ github.event_name != 'pull_request' }}
- php-versions: '8.4'
mariadb-versions: '11.4'
- php-versions: '8.5'
mariadb-versions: '11.8'
name: MariaDB ${{ matrix.mariadb-versions }} (PHP ${{ matrix.php-versions }}) - database tests
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
@@ -88,18 +77,16 @@ jobs:
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
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 5
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -112,10 +99,10 @@ jobs:
- name: Set up dependencies
run: composer i
- name: Enable ONLY_FULL_GROUP_BY MariaDB option
- 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
echo "SELECT @@sql_mode;" | mysql -h 127.0.0.1 -P 4444 -u root -prootpassword
- name: Set up Nextcloud
env:
@@ -125,23 +112,22 @@ jobs:
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=mysql --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }}
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
files: ./clover.db.xml
flags: phpunit-mariadb
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-mariadb
- name: Print logs
if: always()
run: |
cat data/nextcloud.log
summary:
permissions:
+7 -19
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 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit memcached
@@ -54,9 +51,8 @@ jobs:
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
php-versions: ['8.3', '8.4', '8.5']
php-versions: ['8.0', '8.1', '8.2', '8.3']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
@@ -65,21 +61,19 @@ jobs:
services:
memcached:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 11212:11212/tcp
- 11212:11212/udp
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -97,24 +91,18 @@ jobs:
mkdir data
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit memcached tests
run: composer run test -- --group Memcache --group Memcached --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
run: composer run test -- --group Memcache,Memcached ${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
files: ./clover.xml
flags: phpunit-memcached
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-memcached
- name: Print logs
if: always()
run: |
@@ -1,193 +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.2']
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
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@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
with:
files: ./clover.db.xml
flags: phpunit-mysql
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-mysql
- name: Print logs
if: always()
run: |
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
+10 -29
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: PHPUnit mysql
@@ -23,9 +20,6 @@ concurrency:
jobs:
changes:
runs-on: ubuntu-latest-low
permissions:
contents: read
pull-requests: read
outputs:
src: ${{ steps.changes.outputs.src }}
@@ -57,30 +51,25 @@ jobs:
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
mysql-versions: ['8.0']
php-versions: ['8.0']
mysql-versions: ['8.0', '8.3']
include:
- mysql-versions: '8.0'
php-versions: '8.3'
coverage: ${{ github.event_name != 'pull_request' }}
- mysql-versions: '8.4'
php-versions: '8.4'
- mysql-versions: '8.4'
php-versions: '8.5'
name: MySQL ${{ matrix.mysql-versions }} (PHP ${{ matrix.php-versions }}) - database tests
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
mysql:
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest
ports:
- 4444:3306/tcp
env:
@@ -88,18 +77,16 @@ jobs:
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
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 5
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -125,24 +112,18 @@ jobs:
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=mysql --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }}
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
files: ./clover.db.xml
flags: phpunit-mysql
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-mysql
- name: Print logs
if: always()
run: |
+8 -21
View File
@@ -2,12 +2,8 @@
#
# 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
# This is the testsuite running all non-database agnostic unit tests
name: PHPUnit nodb
on:
@@ -57,9 +53,8 @@ jobs:
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
php-versions: ['8.3', '8.4', '8.5']
php-versions: ['8.0', '8.1', '8.2', '8.3']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
@@ -68,21 +63,19 @@ jobs:
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -103,24 +96,18 @@ jobs:
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit nodb testsuite
run: composer run test -- --exclude-group DB --exclude-group SLOWDB --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.nodb.xml' || '' }}
run: composer run test -- --exclude-group DB,SLOWDB ${{ matrix.coverage && ' --coverage-clover ./clover.nodb.xml' || '' }}
- name: Upload nodb code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
files: ./clover.nodb.xml
flags: phpunit-nodb
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-nodb
- name: Print logs
if: always()
run: |
@@ -6,9 +6,6 @@ on:
schedule:
- cron: "15 2 * * *"
permissions:
contents: read
concurrency:
group: phpunit-object-store-primary-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -47,16 +44,17 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.1']
key: ['s3', 's3-multibucket']
name: php${{ matrix.php-versions }}-${{ matrix.key }}-minio
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
@@ -72,17 +70,15 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -96,7 +92,7 @@ jobs:
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: Wait for S3
run: |
+21 -42
View File
@@ -1,12 +1,4 @@
# 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:
@@ -23,9 +15,6 @@ concurrency:
jobs:
changes:
runs-on: ubuntu-latest-low
permissions:
contents: read
pull-requests: read
outputs:
src: ${{ steps.changes.outputs.src }}
@@ -54,59 +43,53 @@ jobs:
runs-on: ubuntu-latest
needs: changes
if: ${{ needs.changes.outputs.src != 'false' && github.repository_owner != 'nextcloud-gmbh' }}
if: needs.changes.outputs.src != 'false' && ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
fail-fast: false
matrix:
oracle-versions: ['11']
php-versions: ['8.0', '8.1', '8.2', '8.3']
include:
- oracle-versions: '18'
php-versions: '8.2'
- php-versions: '8.3'
coverage: ${{ github.event_name != 'pull_request' }}
- oracle-versions: '21'
php-versions: '8.3'
- oracle-versions: '23'
php-versions: '8.4'
- oracle-versions: '23'
php-versions: '8.5'
name: Oracle ${{ matrix.oracle-versions }} (PHP ${{ matrix.php-versions }}) - database tests
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
oracle:
image: ghcr.io/gvenzl/oracle-${{ matrix.oracle-versions < 23 && 'xe' || 'free' }}:${{ matrix.oracle-versions }}
image: ghcr.io/gvenzl/oracle-xe:${{ matrix.oracle-versions }}
# Provide passwords and other environment variables to container
env:
ORACLE_PASSWORD: oracle
ORACLE_RANDOM_PASSWORD: true
APP_USER: oc_autotest
APP_USER_PASSWORD: nextcloud
# Forward Oracle port
ports:
- 1521:1521
- 4444: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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -120,29 +103,25 @@ jobs:
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=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=$DB_PORT --database-user=oc_autotest --database-pass=nextcloud --admin-user admin --admin-pass admin
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }}
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
files: ./clover.db.xml
flags: phpunit-oci
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-oci
- name: Run repair steps
run: |
./occ maintenance:repair --include-expensive
+13 -32
View File
@@ -2,11 +2,8 @@
#
# 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
name: PHPUnit pgsql
on:
pull_request:
@@ -23,9 +20,6 @@ concurrency:
jobs:
changes:
runs-on: ubuntu-latest-low
permissions:
contents: read
pull-requests: read
outputs:
src: ${{ steps.changes.outputs.src }}
@@ -57,49 +51,42 @@ jobs:
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
# To keep the matrix smaller we ignore PostgreSQL versions in between as we already test the minimum and the maximum
postgres-versions: ['14']
php-versions: ['8.0']
# To keep the matrix smaller we ignore PostgreSQL '11', '13', '14' as we already test 10 and 15 as lower and upper bound
postgres-versions: ['10', '15', '16']
include:
- php-versions: '8.3'
postgres-versions: '18'
postgres-versions: '15'
coverage: ${{ github.event_name != 'pull_request' }}
- php-versions: '8.4'
postgres-versions: '18'
- php-versions: '8.5'
postgres-versions: '18'
name: PostgreSQL ${{ matrix.postgres-versions }} (PHP ${{ matrix.php-versions }}) - database tests
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
postgres:
image: ghcr.io/nextcloud/continuous-integration-postgres-${{ matrix.postgres-versions }}:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-postgres-${{ matrix.postgres-versions }}:latest
ports:
- 4444:5432/tcp
env:
POSTGRES_USER: root
POSTGRES_PASSWORD: rootpassword
POSTGRES_DB: nextcloud
options: --mount type=tmpfs,destination=/var/lib/postgresql --health-cmd pg_isready --health-interval 5s --health-timeout 2s --health-retries 5
options: --mount type=tmpfs,destination=/var/lib/postgresql/data --health-cmd pg_isready --health-interval 5s --health-timeout 2s --health-retries 5
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -120,24 +107,18 @@ jobs:
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=pgsql --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit database tests
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }}
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
files: ./clover.db.xml
flags: phpunit-postgres
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-postgres
- name: Run repair steps
run: |
./occ maintenance:repair --include-expensive
+11 -31
View File
@@ -2,11 +2,8 @@
#
# 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
name: PHPUnit sqlite
on:
pull_request:
@@ -23,9 +20,6 @@ concurrency:
jobs:
changes:
runs-on: ubuntu-latest-low
permissions:
contents: read
pull-requests: read
outputs:
src: ${{ steps.changes.outputs.src }}
@@ -57,46 +51,40 @@ jobs:
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
php-versions: ['8.3', '8.4', '8.5']
php-versions: ['8.0', '8.1', '8.2', '8.3']
include:
- php-versions: '8.2'
- php-versions: '8.1'
coverage: ${{ github.event_name != 'pull_request' }}
name: SQLite (PHP ${{ matrix.php-versions }})
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest # zizmor: ignore[unpinned-images]
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- name: Checkout server
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, imagick, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: |
sudo apt-get update
sudo apt-get install -y ghostscript
composer i
run: composer i
- name: Set up Nextcloud
run: |
@@ -104,32 +92,24 @@ jobs:
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f tests/enable_all.php
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: Nextcloud debug information
run: ./occ app:list && echo "======= System config =======" && ./occ config:list system
- name: PHPUnit database tests
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }} tests/lib/Preview/PostscriptTest.php
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
files: ./clover.db.xml
flags: phpunit-sqlite
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
flags: phpunit-sqlite
- name: Print logs
if: always()
run: |
gs --version
cat /etc/ImageMagick-6/policy.xml
cat data/nextcloud.log
summary:
+7 -33
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@f0cab224dea8e1f282f9451de322f323c78fc7a5 # 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: '2025-06-12'
exempt-authors: '${{ steps.blocklist.outputs.blocklist }},${{ steps.scrape.outputs.users }}'
start-date: "2023-07-10"
exempt-authors: "${{ steps.scrape.outputs.users }}"
exempt-bots: true
-70
View File
@@ -1,70 +0,0 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Apply rector changes
on:
workflow_dispatch:
schedule:
# At 14:30 on Sundays
- cron: '30 14 * * 0'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-versions: [ '8.2' ]
name: rector-apply
steps:
- name: Checkout
id: checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
ref: ${{ github.event.repository.default_branch }}
- name: Set up php${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
with:
php-version: ${{ matrix.php-versions }}
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: |
composer remove nextcloud/ocp --dev --no-scripts
composer i
git restore lib/composer/composer
- name: Rector
run: composer run rector
- name: Create Pull Request
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'refactor: Apply rector changes'
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: automated/noid/rector-changes
title: 'Apply rector changes'
labels: |
technical debt
3. to review
-45
View File
@@ -1,45 +0,0 @@
# SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
name: Rector
on:
pull_request:
permissions:
contents: read
concurrency:
group: rector-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
strict:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'push' && github.repository_owner != 'nextcloud-gmbh' }}
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
submodules: true
- name: Set up php
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
with:
php-version: '8.2'
extensions: apcu,ctype,curl,dom,fileinfo,ftp,gd,imagick,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Composer install
run: composer i
- name: Rector
run: composer run rector:strict
- name: Show changes
if: always()
run: git diff --exit-code -- . ':!lib/composer'
-27
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: REUSE Compliance Check
uses: fsfe/reuse-action@676e2d560c9a403aa252096d99fcab3e1132b0f5 # v6.0.0
+2 -6
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@b5d41d4e1d5dceea10e7104786b73624c18a190f # v9
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
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
+20 -99
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,18 @@ jobs:
static-code-analysis:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'push' && github.repository_owner != 'nextcloud-gmbh' }}
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: '8.2'
php-version: '8.0'
extensions: apcu,ctype,curl,dom,fileinfo,ftp,gd,imagick,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
@@ -47,32 +32,31 @@ jobs:
run: composer i
- name: Psalm
run: composer run psalm -- --threads=1 --monochrome --no-progress --output-format=github --update-baseline
run: composer run psalm:ci -- --monochrome --no-progress --output-format=github --update-baseline --report=results.sarif
- name: Show potential changes in Psalm baseline
if: always()
run: git diff --exit-code -- . ':!lib/composer'
- name: Upload Analysis results to GitHub
if: always()
uses: github/codeql-action/upload-sarif@439137e1b50c27ba9e2f9befc93e43091b449c34 # v3.32.0
with:
sarif_file: results.sarif
static-code-analysis-security:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
permissions:
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: '8.2'
php-version: '8.0'
extensions: ctype,curl,dom,fileinfo,ftp,gd,imagick,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
@@ -80,35 +64,27 @@ jobs:
run: composer i
- name: Psalm taint analysis
run: composer run psalm:security -- --threads=1 --monochrome --no-progress --output-format=github --update-baseline --report=results.sarif
- name: Show potential changes in Psalm baseline
if: always()
run: git diff --exit-code -- . ':!lib/composer'
run: composer run psalm:ci -- --monochrome --no-progress --output-format=github --report=results.sarif --taint-analysis --ignore-baseline
- name: Upload Security Analysis results to GitHub
if: always()
uses: github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v3
uses: github/codeql-action/upload-sarif@439137e1b50c27ba9e2f9befc93e43091b449c34 # v3.32.0
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
submodules: true
- name: Set up php
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: '8.2'
php-version: '8.0'
extensions: ctype,curl,dom,fileinfo,gd,imagick,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
@@ -118,63 +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@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false
submodules: true
- name: Set up php
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
timeout-minutes: 5
with:
php-version: '8.2'
extensions: ctype,curl,dom,fileinfo,gd,imagick,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Composer install
run: composer i
- name: Psalm
run: composer run psalm:ncu -- --threads=1 --monochrome --no-progress --output-format=github
static-code-analysis-strict:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'push' && github.repository_owner != 'nextcloud-gmbh' }}
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false
submodules: true
- name: Set up php
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
with:
php-version: '8.2'
extensions: ctype,curl,dom,fileinfo,gd,imagick,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Composer install
run: composer i
- name: Psalm
run: composer run psalm:strict -- --threads=1 --monochrome --no-progress --output-format=github
+6 -12
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', 'stable33', 'stable32', 'stable31', 'stable30', 'stable29', 'stable28', 'stable27', 'stable26', 'stable25', 'stable24', 'stable23', 'stable22']
branches: ["master", "stable28", "stable27", "stable26", "stable25", "stable24", "stable23", "stable22"]
name: update-ca-certificate-bundle-${{ matrix.branches }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
ref: ${{ matrix.branches }}
submodules: true
@@ -32,15 +26,15 @@ jobs:
run: curl --etag-compare build/ca-bundle-etag.txt --etag-save build/ca-bundle-etag.txt --output resources/config/ca-bundle.crt https://curl.se/ca/cacert.pem
- name: Create Pull Request
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0
uses: peter-evans/create-pull-request@a4f52f8033a6168103c2538976c07b467e8163bc
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: |
+6 -12
View File
@@ -1,5 +1,3 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Update code signing revocation list
on:
@@ -7,9 +5,6 @@ on:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
jobs:
update-code-signing-crl:
runs-on: ubuntu-latest
@@ -17,14 +12,13 @@ jobs:
strategy:
fail-fast: false
matrix:
branches: ['master', 'stable33', 'stable32', 'stable31', 'stable30', 'stable29', 'stable28', 'stable27', 'stable26', 'stable25', 'stable24', 'stable23', 'stable22']
branches: ["master", "stable28", "stable27", "stable26", "stable25", "stable24", "stable23", "stable22"]
name: update-code-signing-crl-${{ matrix.branches }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
ref: ${{ matrix.branches }}
submodules: true
@@ -35,15 +29,15 @@ jobs:
run: openssl crl -verify -in resources/codesigning/root.crl -CAfile resources/codesigning/root.crt -noout
- name: Create Pull Request
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0
uses: peter-evans/create-pull-request@a4f52f8033a6168103c2538976c07b467e8163bc
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'fix(security): Update code signing revocation list'
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'
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: |
@@ -1,128 +0,0 @@
# SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Update min supported desktop version
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 1"
permissions:
contents: read
jobs:
update-minimum-supported-desktop-version:
runs-on: ubuntu-latest-low
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
submodules: true
- name: Download desktop client version file from 5 years ago
id: download
run: |
# Create a temporary directory for the downloaded file
mkdir -p tmp
# Download the version file from the provided URL
VERSION_FILE_URL="https://github.com/nextcloud/desktop/raw/@%7B5.years.ago%7D/VERSION.cmake"
# Download the file using curl
curl -s -L "$VERSION_FILE_URL" -o tmp/VERSION.cmake
if [ ! -f "tmp/VERSION.cmake" ]; then
echo "Failed to download VERSION.cmake file"
exit 1
fi
echo "VERSION_FILE=tmp/VERSION.cmake" >> $GITHUB_OUTPUT
echo "Downloaded version file to tmp/VERSION.cmake"
- name: Extract version info
id: extract-version
run: |
# Path to the downloaded version file
VERSION_FILE="${{ steps.download.outputs.VERSION_FILE }}"
# Extract major, minor, patch versions
MAJOR=$(grep "VERSION_MAJOR" $VERSION_FILE | grep -o '[0-9]\+')
MINOR=$(grep "VERSION_MINOR" $VERSION_FILE | grep -o '[0-9]\+')
PATCH=$(grep "VERSION_PATCH" $VERSION_FILE | grep -o '[0-9]\+')
# Construct the version string
VERSION="$MAJOR.$MINOR.$PATCH"
# Validate format: xx.xx.xx where each x is a digit
if ! [[ "$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Error: Extracted version '$VERSION' does not match required format (xx.xx.xx)"
exit 1
fi
rm -rf tmp
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
echo "Extracted Version: $VERSION"
- name: Update files with new version ${{ steps.extract-version.outputs.VERSION }}
id: update-files
run: |
VERSION="${{ steps.extract-version.outputs.VERSION }}"
# Define the files to update
DAV_FILE="apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php"
CONFIG_FILE="config/config.sample.php"
# Check if files exist
if [ ! -f "$DAV_FILE" ]; then
echo "Error: DAV file not found at $DAV_FILE"
exit 1
fi
if [ ! -f "$CONFIG_FILE" ]; then
echo "Error: Config file not found at $CONFIG_FILE"
exit 1
fi
# Update the DAV file - replace the version in the specific line
sed -i "s/\('minimum\.supported\.desktop\.version', '\)[0-9]\+\.[0-9]\+\.[0-9]\+'/\1$VERSION'/g" "$DAV_FILE"
echo "Updated $DAV_FILE"
# Update the config sample file
PREV_VERSION=$(grep "'minimum.supported.desktop.version'" "$CONFIG_FILE" | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+')
sed -i "s/Defaults to \`\`$PREV_VERSION\`\`/Defaults to \`\`$VERSION\`\`/" "$CONFIG_FILE"
sed -i "s/'minimum\.supported\.desktop\.version' => '[0-9]\+\.[0-9]\+\.[0-9]\+'/'minimum.supported.desktop.version' => '$VERSION'/g" "$CONFIG_FILE"
echo "Updated $CONFIG_FILE"
# Check if any changes were made
if [ -n "$(git diff "$DAV_FILE" "$CONFIG_FILE")" ]; then
echo "CHANGES_MADE=true" >> $GITHUB_OUTPUT
echo "Changes were made to the files"
git diff "$DAV_FILE" "$CONFIG_FILE"
else
echo "CHANGES_MADE=false" >> $GITHUB_OUTPUT
echo "No changes were needed (versions might already be up to date)"
fi
- name: Create Pull Request
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0
if: steps.update-files.outputs.CHANGES_MADE == 'true'
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: "chore: Update minimum supported desktop version"
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: "automated/noid/${{ matrix.branches }}-update-min-supported-desktop-version"
title: "chore: Update minimum supported desktop version to ${{ steps.extract-version.outputs.VERSION }}"
base: "master"
body: |
Auto-generated update of the minimum supported desktop version using last supported version.
https://github.com/nextcloud/desktop/blob/@%7B5.years.ago%7D/VERSION.cmake
labels: |
client: 💻 desktop
automated
3. to review
reviewers: '@nextcloud/desktop'
@@ -1,69 +0,0 @@
# SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Update PRs titles on stable branches
on:
pull_request:
types: [opened, edited]
branches:
- "stable*"
concurrency:
group: stable-pr-title-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
update-pr-title:
runs-on: ubuntu-latest-low
permissions:
pull-requests: write
contents: read
steps:
- name: Wait for potential title edits
run: sleep 15
- name: Get PR details and update title
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const { data: pr } = await github.rest.pulls.get({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number,
});
const baseBranch = pr.base.ref;
const currentTitle = pr.title;
// Check if this is a stable branch
// Should not happen as we only trigger on stable* branches 🤷‍♀️
if (!baseBranch.startsWith('stable')) {
console.log(`Not a stable branch: ${baseBranch}`);
return;
}
const prefix = `[${baseBranch}]`;
// Check if title already has the correct prefix and no other stable tags
const correctTagRegex = new RegExp(`^\\[${baseBranch}\\]\\s*`);
const hasOtherStableTags = /\[stable[\d.]*\]/.test(currentTitle.replace(correctTagRegex, ''));
if (correctTagRegex.test(currentTitle) && !hasOtherStableTags) {
console.log(`Title already has correct prefix only: ${currentTitle}`);
return;
}
// Remove all stable tags and add the correct one
const cleanTitle = currentTitle.replace(/\[stable[\d.]*\]\s*/g, '').trim();
const newTitle = `${prefix} ${cleanTitle}`;
console.log(`Updating title from: "${currentTitle}" to: "${newTitle}"`);
await github.rest.pulls.update({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number,
title: newTitle,
});
+9 -14
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
@@ -11,7 +7,7 @@
/apps/inc.php
/assets
/.htaccess
node_modules/
/node_modules
/translationfiles
/translationtool.phar
@@ -35,7 +31,6 @@ node_modules/
!/apps/lookup_server_connector
!/apps/user_ldap
!/apps/oauth2
!/apps/profile
!/apps/provisioning_api
!/apps/settings
!/apps/systemtags
@@ -46,7 +41,6 @@ node_modules/
!/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
@@ -55,14 +49,15 @@ node_modules/
/apps/files_external/3rdparty/irodsphp/prods/test*
/apps/files_external/tests/config.*.php
# apps modules
/apps/*/node_modules
# ignore themes except the example and the README
/themes/*
!/themes/example
!/themes/README
# Love to people that develop the updater
/updater
# just sane ignores
.*.sw[po]
*.bak
@@ -127,9 +122,13 @@ nbproject
# Tests
/tests/phpunit.xml
# Node Modules
/build/node_modules/
# nodejs
/build/bin
/build/lib/
/build/jsdocs/
/build/integration/output/
/build/integration/phpserver.log
/npm-debug.log
@@ -144,8 +143,6 @@ Vagrantfile
# Tests - auto-generated files
/data-autotest
/results.sarif
/tests/.phpunit.cache
/tests/.phpunit.result.cache
/tests/coverage*
/tests/css
@@ -177,5 +174,3 @@ core/js/mimetypelist.js
cypress/downloads
cypress/snapshots
cypress/videos
/.direnv
-3
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
+76 -156
View File
@@ -1,175 +1,97 @@
<IfModule mod_headers.c>
<IfModule mod_setenvif.c>
<IfModule mod_fcgid.c>
SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1
RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION
</IfModule>
<IfModule mod_proxy_fcgi.c>
SetEnvIfNoCase Authorization "(.+)" HTTP_AUTHORIZATION=$1
</IfModule>
<IfModule mod_lsapi.c>
SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1
RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION
</IfModule>
<IfModule mod_setenvif.c>
<IfModule mod_fcgid.c>
SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1
RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION
</IfModule>
<IfModule mod_env.c>
# Add security and privacy related headers
# Avoid doubled headers by unsetting headers in "onsuccess" table,
# then add headers to "always" table: https://github.com/nextcloud/server/pull/19002
<If "%{REQUEST_URI} =~ m#/login$#">
# Only on the login page we need any Origin or Referer header set.
Header onsuccess unset Referrer-Policy
Header always set Referrer-Policy "same-origin"
</If>
<Else>
Header onsuccess unset Referrer-Policy
Header always set Referrer-Policy "no-referrer"
</Else>
Header onsuccess unset X-Content-Type-Options
Header always set X-Content-Type-Options "nosniff"
Header onsuccess unset X-Frame-Options
Header always set X-Frame-Options "SAMEORIGIN"
Header onsuccess unset X-Permitted-Cross-Domain-Policies
Header always set X-Permitted-Cross-Domain-Policies "none"
Header onsuccess unset X-Robots-Tag
Header always set X-Robots-Tag "noindex, nofollow"
SetEnv modHeadersAvailable true
<IfModule mod_proxy_fcgi.c>
SetEnvIfNoCase Authorization "(.+)" HTTP_AUTHORIZATION=$1
</IfModule>
<IfModule mod_lsapi.c>
SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1
RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION
</IfModule>
</IfModule>
# Add cache control for static resources
<FilesMatch "\.(css|js|mjs|svg|gif|png|jpg|webp|ico|wasm|tflite)$">
<If "%{QUERY_STRING} =~ /(^|&)v=/">
Header set Cache-Control "max-age=15778463, immutable"
</If>
<Else>
Header set Cache-Control "max-age=15778463"
</Else>
</FilesMatch>
<IfModule mod_env.c>
# Add security and privacy related headers
# Let browsers cache OTF and WOFF files for a week
<FilesMatch "\.(otf|woff2?)$">
Header set Cache-Control "max-age=604800"
</FilesMatch>
# Avoid doubled headers by unsetting headers in "onsuccess" table,
# then add headers to "always" table: https://github.com/nextcloud/server/pull/19002
Header onsuccess unset Referrer-Policy
Header always set Referrer-Policy "no-referrer"
Header onsuccess unset X-Content-Type-Options
Header always set X-Content-Type-Options "nosniff"
Header onsuccess unset X-Frame-Options
Header always set X-Frame-Options "SAMEORIGIN"
Header onsuccess unset X-Permitted-Cross-Domain-Policies
Header always set X-Permitted-Cross-Domain-Policies "none"
Header onsuccess unset X-Robots-Tag
Header always set X-Robots-Tag "noindex, nofollow"
Header onsuccess unset X-XSS-Protection
Header always set X-XSS-Protection "1; mode=block"
SetEnv modHeadersAvailable true
</IfModule>
# Add cache control for static resources
<FilesMatch "\.(css|js|mjs|svg|gif|png|jpg|ico|wasm|tflite)$">
<If "%{QUERY_STRING} =~ /(^|&)v=/">
Header set Cache-Control "max-age=15778463, immutable"
</If>
<Else>
Header set Cache-Control "max-age=15778463"
</Else>
</FilesMatch>
# Let browsers cache OTF and WOFF files for a week
<FilesMatch "\.(otf|woff2?)$">
Header set Cache-Control "max-age=604800"
</FilesMatch>
</IfModule>
<IfModule mod_php.c>
php_value default_charset 'UTF-8'
php_value output_buffering 0
<IfModule mod_env.c>
SetEnv htaccessWorking true
</IfModule>
php_value mbstring.func_overload 0
php_value default_charset 'UTF-8'
php_value output_buffering 0
<IfModule mod_env.c>
SetEnv htaccessWorking true
</IfModule>
</IfModule>
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
AddType application/wasm wasm
AddEncoding gzip svgz
# Serve ESM javascript files (.mjs) with correct mime type
AddType text/javascript js mjs
AddType image/svg+xml svg svgz
AddType application/wasm wasm
AddEncoding gzip svgz
# Serve ESM javascript files (.mjs) with correct mime type
AddType text/javascript js mjs
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.php index.html
DirectoryIndex index.php index.html
</IfModule>
<IfModule pagespeed_module>
ModPagespeed Off
ModPagespeed Off
</IfModule>
#############
#### Rewrites
#############
<IfModule mod_rewrite.c>
RewriteEngine on
##
## Rule: Workaround for WebDAV with apache+php-cgi
##
## Context:
## - Sets the environment variable `HTTP_AUTHORIZATION` to the value of the `Authorization` request header
## - Always executed before and along with other rules (no `L` used)
## - XXX: *May* be replaced with an equivalent SetEnvIf in theory
## - XXX: SetEnvIf approach is already in use above for mod_proxy_cgi / mod_lsapi / mod_fcgid
##
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
##
## Rule: Workaround for WebDAV with MS DavClnt
##
## Context:
## - DavClnt attempts an OPTIONS request against `/` instead of the specified endpoint
## - Redirects the client to the endpoint rather than the login page (which confuses DavClnt)
##
RewriteCond %{HTTP_USER_AGENT} DavClnt
RewriteRule ^$ /remote.php/webdav/ [L,R=302]
##
## Rule: Map the RFC 8615 / RFC 6764 compliant well-known URI for CardDAV to our Remote DAV endpoint
##
RewriteRule ^\.well-known/carddav /remote.php/dav/ [R=301,L]
##
## Rule: Map the RFC 8615 / RFC 6764 compliant well-known URI for CalDAV to our Remote DAV endpoint
##
RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L]
##
## Rule: Map /remote* --> /remote.php* including the query string
##
## Context:
## - XXX: Is this even used anymore? Seems a relic from <NC12
##
RewriteRule ^remote/(.*) remote.php [L]
##
## Rule: Prevent access to non-public files
##
RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]
##
## Rule: Maps most RFC 8615 compliant well-known URIs to our main frontend controller (/index.php) by default
##
## Context:
## - Intentionally excludes URIs used for HTTPS certificate verifications
## - RFC 8555 / ACME HTTP Challenges (acme-challenge)
## - File-based Validations (pki-validation)
## - XXX: Sometimes we are using `/index.php` and other times `index.php` as our replacement URI; this may be incorrect
##
RewriteRule ^\.well-known/(?!acme-challenge|pki-validation) /index.php [L]
##
## Rule: Map the ocm-provider handling to our main frontend controller (/index.php)
##
## Context:
## - XXX: Sometimes we are using `/index.php` and other times `index.php` as our replacement URI; this may be incorrect
##
RewriteRule ^ocm-provider/?$ index.php [L]
##
## Rule: Prevent access to more non-public files
##
## Context:
## - XXX It may make sense to merge some of these with the others (i.e. the ones that don't need to be last)
##
RewriteRule ^(?:\.(?!well-known)|autotest|occ|issue|indie|db_|console).* - [R=404,L]
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} DavClnt
RewriteRule ^$ /remote.php/webdav/ [L,R=302]
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^\.well-known/carddav /remote.php/dav/ [R=301,L]
RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L]
RewriteRule ^remote/(.*) remote.php [QSA,L]
RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]
RewriteRule ^\.well-known/(?!acme-challenge|pki-validation) /index.php [QSA,L]
RewriteRule ^ocm-provider/?$ index.php [QSA,L]
RewriteRule ^(?:\.(?!well-known)|autotest|occ|issue|indie|db_|console).* - [R=404,L]
</IfModule>
# Clients like xDavv5 on Android, or Cyberduck, use chunked requests.
@@ -180,18 +102,16 @@
# Here are more information about the issue:
# - https://docs.cyberduck.io/mountainduck/issues/fastcgi/
# - https://docs.nextcloud.com/server/latest/admin_manual/issues/general_troubleshooting.html#troubleshooting-webdav
<IfModule mod_setenvif.c>
SetEnvIfNoCase Transfer-Encoding "chunked" proxy-sendcl=1
SetEnvIf Transfer-Encoding "chunked" proxy-sendcl=1
</IfModule>
# Apache disabled the sending of the server-side content-length header
# in their 2.4.59 patch updated which breaks some use-cases in Nextcloud.
# Setting ap_trust_cgilike_cl allows to bring back the usual behaviour.
# See https://bz.apache.org/bugzilla/show_bug.cgi?id=68973
<IfModule mod_env.c>
SetEnv ap_trust_cgilike_cl
SetEnv ap_trust_cgilike_cl
</IfModule>
AddDefaultCharset utf-8
-2
View File
@@ -1,2 +0,0 @@
SPDX-FileCopyrightText: 2014 ownCloud, Inc.
SPDX-License-Identifier: AGPL-3.0-only
+1 -2
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,
-1
View File
@@ -252,7 +252,6 @@ Michael Monreal <michael.monreal@gmail.com>
Michael Roitzsch <reactorcontrol@icloud.com>
michag86 <micha_g@arcor.de>
Michiel de Jong <michiel@unhosted.org> Michiel@unhosted <michiel@unhosted.org>
Micke Nordin <kano@sunet.se> Mikael Nordin <mickenordin@users.noreply.github.com>
Miguel Prokop <miguel.prokop@vtu.com>
miicha <pfitzner@physik.hu-berlin.de>
Miquel Rodríguez Telep / Michael Rodríguez-Torrent <miquel@designunbound.co.uk>
-64
View File
@@ -1,64 +0,0 @@
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-only
# Files removed at build time
# Global exclude
.editorconfig
.envrc
.git
.git-blame-ignore-revs
.gitattributes
.github
.gitignore
.gitmodules
.idea
.jshint
.jshintrc
.l10nignore
.mailmap
.nextcloudignore
.noopenapi
.npmignore
.php-cs-fixer*
.pre-commit-config.yaml
.tag
.tx
CHANGELOG.md
CODE_OF_CONDUCT.md
COPYING-README
DESIGN.md
Makefile
README.md
SECURITY.md
codecov.yml
cs-fixer
csfixer
custom.d.ts
cypress
cypress.config.ts
eslint.config.js
flake.lock
flake.nix
openapi-extractor
phpunit
psalm
psalm*.xml
rector
stylelint.config.js
tests
tsconfig.json
vite.config.ts
vitest.config.ts
window.d.ts
# Server specific
/.devcontainer
/__mocks__
/__tests__
/autotest*.sh
/build
/config/config.php
/contribute
/data
/openapi.json
/vendor-bin
+6 -14
View File
@@ -1,27 +1,19 @@
<?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()
->in(__DIR__)
->exclude([
'3rdparty',
'build/stubs',
'composer',
])
;
->exclude('config')
->exclude('3rdparty')
->exclude('build/stubs')
->exclude('composer')
->in(__DIR__);
$ignoredEntries = shell_exec('git status --porcelain --ignored ' . escapeshellarg(__DIR__));
$ignoredEntries = explode("\n", $ignoredEntries);
-2
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
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
-12
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
+1 -6
View File
@@ -1,9 +1,4 @@
; SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
; SPDX-FileCopyrightText: 2014-2016 ownCloud, Inc.
; SPDX-License-Identifier: AGPL-3.0-only
;
; NOTE: PHP caches this file for 300 seconds by default
;
mbstring.func_overload=0
always_populate_raw_post_data=-1
default_charset='UTF-8'
output_buffering=0

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