Commit Graph

74354 Commits (a554ba5d685acfa9b0fe1e4f896a7ea91c030670)
 

Author SHA1 Message Date
Daniel Kesselberg a554ba5d68 test: run tests in child process
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-10 23:35:43 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Robin Appelman f3c3d890d6 test: update DummyJobList
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-10 20:29:36 +07: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 +07: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 +07:00
Anna 9745bf23dc
Merge pull request #46413 from nextcloud/backport/46315/stable29
[stable29] fix(caldav): limit vevent size
2024-07-10 19:56:17 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
SebastianKrupinski 7728bbcf25 fix(caldav): limit vevent size
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-10 14:55:52 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Nextcloud bot 2757beb714
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-10 00:34:29 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Nextcloud bot bff9081ebd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-09 00:20:04 +07: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 +07: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 +07:00
Nextcloud bot 32823f1244
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-08 00:19:50 +07:00
Nextcloud bot 083eeb75bd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-07 00:19:32 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00