Commit graph

21740 commits

Author SHA1 Message Date
Matthieu Gallien
b47d09bc30 always enable http2
Nextcloud server documentation is recommending enabling http2 for
performance resons
https://docs.nextcloud.com/server/latest/admin_manual/installation/server_tuning.html#enable-http-2-for-faster-loading

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-12 14:57:30 +02:00
Matthieu Gallien
ab06ecbc4d
Merge pull request #6985 from nextcloud/ci/removeDeprecatedQtCompatibilityCode
remove deprecated code only usefull for very old Qt releases
2024-08-12 11:48:54 +02:00
Matthieu Gallien
274feb9587 remove deprecated code only usefull for very old Qt releases
we require Qt > 6.0 so any conditionnal code for older releases can be
deleted

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-12 11:14:26 +02:00
Matthieu Gallien
38febcc0f5
Merge pull request #6987 from nextcloud/bugfix/fixCrazyNetworkTimeout
use very coarse timers for network timeout
2024-08-12 09:59:59 +02:00
Matthieu Gallien
0fc61581bf use very coarse timers for network timeout
seems to work around some timers expiring too early

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-12 09:32:49 +02:00
Nextcloud bot
e5c6e792d7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-12 02:43:30 +00:00
Nextcloud bot
428910f709
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-10 02:46:00 +00:00
Nextcloud bot
a2e2822472
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-09 02:50:16 +00:00
Nextcloud bot
a8aa753175
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-08 02:46:24 +00:00
Matthieu Gallien
5b1a79bb27
Merge pull request #6937 from nextcloud/dependabot/github_actions/platisd/clang-tidy-pr-comments-1.5.0
Bump platisd/clang-tidy-pr-comments from 1.4.3 to 1.5.0
2024-08-07 12:17:39 +02:00
dependabot[bot]
92e52d78e2 Bump platisd/clang-tidy-pr-comments from 1.4.3 to 1.5.0
Bumps [platisd/clang-tidy-pr-comments](https://github.com/platisd/clang-tidy-pr-comments) from 1.4.3 to 1.5.0.
- [Release notes](https://github.com/platisd/clang-tidy-pr-comments/releases)
- [Commits](https://github.com/platisd/clang-tidy-pr-comments/compare/v1.4.3...v1.5.0)

---
updated-dependencies:
- dependency-name: platisd/clang-tidy-pr-comments
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-07 12:17:30 +02:00
Matthieu Gallien
5ed29db71d
Merge pull request #6958 from nextcloud/bugfix/preventCrashOnEncryptShellIntegrationRequests
prevent event loop reentrance when handling ENCRYPT socket requests
2024-08-07 12:17:00 +02:00
Matthieu Gallien
f2cfd2cc80 prevent event loop reentrance when handling ENCRYPT socket requests
when receiving a shell integration socket command for ENCRYPT, a generic
interface and generic code paths was used

the assumption was that the listener socket would need (and remain)
valid while hanlding teh request

some code paths need to display error messages to the user via a
QMessageBox

the issue is that this will execute a Qt event loop that will handle the
socket disconnection while the socket variable from the caller seems it
will stay valid and alive

prevent that by not using a blocking method invocation such that life
time mishandling about the socket listener is not possible

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-07 10:13:33 +02:00
Nextcloud bot
03f87f98e4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-07 02:44:43 +00:00
Matthieu Gallien
ed0ce1a69f
Merge pull request #6954 from nextcloud/enh/account-folder-list
List sync folders in the file explorer with user's username.
2024-08-06 19:34:52 +02:00
Camila Ayres
11a50b1811 List sync folders in the file explorer with user's username.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-08-06 18:35:37 +02:00
Matthieu Gallien
790f54d2f5
Merge pull request #6974 from nextcloud/bugfix/update-channels
Make sure to not repeat the update channels list when loading the settings for a second account.
2024-08-06 18:34:52 +02:00
Camila Ayres
2ab94d54d8 Make sure to not repeat the update channels list when loading the settings for a second account.
When adding a new account, the combo box would list each update channels twice.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-08-06 18:34:45 +02:00
Matthieu Gallien
1a46b2e125
Merge pull request #6939 from nextcloud/rakekniven-patch-1
chore(i18n): Changed grammar
2024-08-06 18:22:49 +02:00
rakekniven
86176dcee0 chore(i18n): Add trailing space to show them separated at Transifex.
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-08-06 18:22:38 +02:00
rakekniven
f6125157b0 chore(i18n): Changed grammar
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-08-06 18:22:38 +02:00
Matthieu Gallien
73fe5abe61
Merge pull request #6888 from nextcloud/bugfix/signupWithProviderPage
Bugfix/signup with provider page
2024-08-06 18:21:53 +02:00
Matthieu Gallien
156ab805f2 fix authentication using provider page and web page login flow
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-06 18:21:45 +02:00
Matthieu Gallien
a754e2af74
Merge pull request #6975 from nextcloud/bugfix/fixImplicitHydrationCorruptedData
use QByteArray::left to send the newly received data during hydration
2024-08-06 18:20:43 +02:00
Matthieu Gallien
8233b33d67 use QByteArray::left to send the newly received data during hydration
we use the proper method from QByteArray to forward the data received by
GETFileJob to the socket connected to teh fetch data CfApi callback

Close https://github.com/nextcloud/desktop/issues/6769

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-06 18:17:04 +02:00
Matthieu Gallien
3fbab4c3e4
Merge pull request #6973 from nextcloud/bugfix/login-dialog-crash
Fix crash: web flow credential dialog is deleted when closing it.
2024-08-06 17:30:44 +02:00
Camila Ayres
bff178f6ab
Fix crash: web flow credential dialog is deleted when closing it.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-08-06 14:17:23 +02:00
Camila Ayres
5edd7a25af
Merge pull request #6966 from nextcloud/bugfix/mac-crafter-product-path
Fix product path handling in Mac Crafter
2024-08-06 11:06:02 +02:00
Claudio Cambra
f8bde40ea9 Add mac-crafter Package.resolved to gitignore
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-08-06 11:05:16 +02:00
Claudio Cambra
a3081f2177 Add default product folder to gitignore
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-08-06 11:05:16 +02:00
Claudio Cambra
d1cb170d9d Only create product path's directory if it doesn't exist already
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-08-06 11:05:16 +02:00
Claudio Cambra
3588c139b8 Fix final path that app is copied to in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-08-06 11:05:16 +02:00
Matthieu Gallien
109c2cecb0
Merge pull request #6968 from nextcloud/bugfix/handlePermanentRedirect
forward the redirected signal from QNetworkReply to detect them
2024-08-06 10:31:29 +02:00
Matthieu Gallien
f3c8038921 forward the redirected signal from QNetworkReply to detect them
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-06 09:51:52 +02:00
Nextcloud bot
fcde946c22
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-06 02:44:04 +00:00
Camila Ayres
6dbf41e0e3
Merge pull request #6963 from nextcloud/bugfix/enterprise-channel-infinite-recursion
Fix infinite recursion caused by default value call in desktopEnterpriseChannel
2024-08-04 20:37:41 +02:00
Claudio Cambra
c475edafd1 Fix infinite recursion caused by default value call in desktopEnterpriseChannel
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-08-04 20:37:18 +02:00
Nextcloud bot
08df1c444f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-03 03:29:56 +00:00
Nextcloud bot
b0e8cd39c5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-02 02:40:24 +00:00
Nextcloud bot
c76ef0e22d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-01 05:44:41 +00:00
Nextcloud bot
da1a2057f6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-31 02:42:29 +00:00
Camila Ayres
c52b1e9933
Merge pull request #6882 from nextcloud/enh/syncing-status
Improve the syncing status text displayed to the user
2024-07-30 12:35:44 +02:00
Camila Ayres
43777bed22
List less file names in the sync progress bar text.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-29 20:06:32 +02:00
Camila Ayres
5cf4e872e5
Capitalize sync instruction strings returned by Progress::asActionString.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-29 20:06:32 +02:00
Camila Ayres
0f2554e3f1
Make sync status text easier to understand.
- Never display "please wait" to users.
- Only start displaying status starting at 1. e.g. "0 f 6 files" => "1 of 6 files"
- Improve text for FolderStatusDelegate::FolderSyncText.
- Reconciling => Syncing.
- Syncing => Sync.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-29 20:06:32 +02:00
Camila Ayres
23a17702d8
Modernize FolderStatusModel::slotSetProgress.
- Add const auto.
- Change variable names to be more clear.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-29 20:06:32 +02:00
Camila Ayres
b5888f4719
Display more details of the sync progress in the settings dialog.
- Add margin to sync progress text.
- Make use of the text in FolderStatusDelegate::FolderSyncText.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-29 20:06:32 +02:00
Claudio Cambra
46f79442ae
Merge pull request #6951 from nextcloud/bugfix/ncfpk-stable-ncaccount-changes
Remove ncAccount usages removed in NCFPK API
2024-07-29 17:28:53 +08:00
Claudio Cambra
1283284572 Remove ncAccount usages removed in NCFPK API
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-29 16:52:37 +08:00
Nextcloud bot
40ad6a2aa8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-26 02:40:45 +00:00