Commit Graph

22882 Commits

Author SHA1 Message Date
Matthieu Gallien
cfd1b988ed
Merge pull request #7895 from nextcloud/backport/7856/stable-3.16
[stable-3.16] improve ToS handling
2025-02-20 12:10:36 +01:00
Jyrki Gadinger
85715efe70
check for need of signing TOS during connectivity check
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-02-20 12:01:07 +01:00
Jyrki Gadinger
f19a79a24d
add a button to open the browser if TOS need to be signed
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-02-20 12:00:55 +01:00
Jyrki Gadinger
c320a0ae31
add link to server if TOS needs to be signed
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-02-20 12:00:54 +01:00
Jyrki Gadinger
34ace3ef27
implement terms of service check wizard page
this is only shown if the TOS haven't been accepted yet!

for now this only opens the browser, similar to the Flow2Auth page

the `TermsOfServiceCheckWidget` is a combination of the `Flow2Auth` and
the `Flow2AuthWidget` classes -- in the future we ideally display the
required TOS directly in the wizard

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-02-20 12:00:54 +01:00
Matthieu Gallien
88400b1ef7
add a wizard page to check terms of service
should enable proper polling while the user check and signs the terms of
service via teh web browser

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-02-20 12:00:54 +01:00
Matthieu Gallien
1723fa86a5
detect the need to sign the terms of service during login web flow v2
should avoid being blocked by terms_of_service blocking WebDAV access

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-02-20 12:00:54 +01:00
Jyrki Gadinger
b2e4b18c2e wizard: display error message when ToS haven't been accepted yet
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-02-20 10:35:56 +00:00
Matthieu Gallien
a61dde026c using multi-arg is better than many arg calls in QString class
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-02-20 10:35:55 +00:00
Matthieu Gallien
bad1cdaba0
Merge pull request #7893 from nextcloud/backport/7876/stable-3.16
[stable-3.16] prevent infinite sync loop: delay retry after many errors
2025-02-20 10:25:19 +01:00
Matthieu Gallien
5212df870c prevent infinite sync loop: delay retry after many errors
10 seconds for try 3 and 4
30 seconds for try 5 and 6
60 seconds for more

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-02-20 09:09:56 +00:00
Matthieu Gallien
ad2f7215b6
Merge pull request #7892 from nextcloud/backport/7881/stable-3.16
[stable-3.16] Check if folder exists before deleting sync db and VFS sync root conection.
2025-02-20 10:09:26 +01:00
Camila Ayres
3bba21e14b Check if folder exists before deleting sync db and VFS sync root connection.
Fix for #7860.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-02-20 08:59:03 +00:00
Camila Ayres
9464375e85
Merge pull request #7888 from nextcloud/backport/7886/stable-3.16
[stable-3.16] Change three dots to an ellipsis
2025-02-20 09:10:24 +01:00
Valdnet
10de6b7e17 l10n: Change three dots to an ellipsis
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2025-02-20 09:09:48 +01:00
Nextcloud bot
8fe61c2e8f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-20 02:59:14 +00:00
Jyrki Gadinger
f26c0d521f
Merge pull request #7885 from nextcloud/backport/7857/stable-3.16
[stable-3.16] provide consistent version info including human readable version
2025-02-19 17:00:54 +01:00
Matthieu Gallien
9dbf03cd23 provide consistent version info including human readable version
should avoid displaying to an user a version number like 3.15.81

will remove some duplicated code

should allow to always use same way to display to an user the version
number

will make "3.15.81" be shown as "3.16.0 rc1"

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-02-19 16:48:45 +01:00
Matthieu Gallien
507071f4d4
Merge pull request #7884 from nextcloud/backport/7850/stable-3.16
[stable-3.16] Feature/automate windows file name compatibility
2025-02-19 15:01:48 +01:00
Matthieu Gallien
095b9581c8 handle errors when automated renaming for name rules is failing
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-02-19 13:12:37 +00:00
Matthieu Gallien
0fd16d2d4e ensure correct behavioron Windows for invalid file names
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-02-19 13:12:37 +00:00
Matthieu Gallien
8deb1c57fc try to enforce the windows compatibility as guessed from server
for now simple rule to guess if the server has windows naming enforced

if windows naming is enforced, we enforce it for new files

if not, we do not care

for now limited to spaces removal

more to come

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-02-19 13:12:37 +00:00
Matthieu Gallien
44df8fa926 basically try to enforce the windows compatibility as guess from server
for now simple rule to guess if the server has windows naming enforced

if windows naming is enforced, we enforce it for new files

if not, we do not care

for now limited to spaces removal

more to come

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-02-19 13:12:37 +00:00
Matthieu Gallien
f18a94fbfd try to detect if naming rules are enabled on server before auto rename
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-02-19 13:12:36 +00:00
Matthieu Gallien
7a7edd69ef automatic removing of invalid spaces in file names
to ensure compatibility with Widnows, we will remove automatically the
leading space characters in file name of new files or folders

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-02-19 13:12:36 +00:00
Matthieu Gallien
2b17a10457 enforce trailing and leading spaces for new files
enforce trailing and leading space rules for new files and only for new
files but on all platforms, not only windows

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-02-19 13:12:36 +00:00
Jyrki Gadinger
7dee9499f9
Merge pull request #7882 from nextcloud/backport/7880/stable-3.16
[stable-3.16] Small improvements in Folder.
2025-02-19 09:01:21 +01:00
Camila Ayres
c4b9bd2bd7 blacklist => selectiveSyncList.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-02-19 08:52:54 +01:00
Camila Ayres
9f444d83a8 fi => excludeItemFileInfo.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-02-19 08:52:54 +01:00
Camila Ayres
ef2157e315 Add {} to single line if.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-02-19 08:52:54 +01:00
Camila Ayres
8cbb62960d qCInfo => qCDebug
Reported at #7873.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-02-19 08:52:54 +01:00
Nextcloud bot
f211ba54a1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-19 02:58:28 +00:00
Matthieu Gallien
6cf7fe048f
Merge pull request #7879 from nextcloud/backport/7869/stable-3.16
[stable-3.16] Hide update channels options when needed.
2025-02-18 16:20:37 +01:00
Camila Ayres
4b8e0f9ae3 Don't display the option to change update channels when server has valid subscription.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-02-18 09:48:42 +00:00
Camila Ayres
69551c6e25 Disable the option to select an update channel when server has a valid subscription.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-02-18 09:48:42 +00:00
Jyrki Gadinger
08088a90c1
Merge pull request #7878 from nextcloud/backport/7877/stable-3.16
[stable-3.16] vfs: fix root folder detection regression
2025-02-18 10:42:45 +01:00
Jyrki Gadinger
fcc532bafb vfs: use native separators for displayed error message
i.e. `C:\Nextcloud` instead of `C:/Nextcloud`

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-02-18 09:24:08 +00:00
Jyrki Gadinger
90eadf2e17 vfs: fix root folder detection regression
Fixes #7864

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-02-18 09:24:08 +00:00
Nextcloud bot
a5bc502bb0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-18 02:56:41 +00:00
Jyrki Gadinger
dd71b44bc7
Merge pull request #7866 from nextcloud/backport/7863/stable-3.16
[stable-3.16] chore(i18n): Remove blank
2025-02-17 08:41:12 +01:00
rakekniven
a9d4c05fbd chore(i18n): Remove blank
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-02-17 07:28:34 +00:00
Nextcloud bot
32f2a5e2a6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-17 02:56:13 +00:00
Nextcloud bot
6e4f031c30
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-16 03:26:31 +00:00
Nextcloud bot
ca3af6aa63
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-15 02:57:32 +00:00
Jyrki Gadinger
9738daf767
Merge pull request #7858 from nextcloud/backport/7854/stable-3.16
[stable-3.16] Fix looks of share note text field
2025-02-14 14:41:20 +01:00
Jyrki Gadinger
48c83f4c07 use TextArea instead of TextEdit for share note field
it's already styled properly as it's part of Qt Quick Controls, **and**
it allows for a placeholder text!

also changed the logic for displaying the text field a bit ...

Fixes #7847

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-02-14 13:23:14 +00:00
Jyrki Gadinger
f2977ff3ff don't use palette.dark for icons in share page
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-02-14 13:23:14 +00:00
Nextcloud bot
2ec086ab08
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-14 02:57:15 +00:00
Jyrki Gadinger
ee7b4e7b23
Merge pull request #7851 from nextcloud/backport/7849/stable-3.16
[stable-3.16] fix rounded corners in the call notification
2025-02-13 10:15:59 +01:00
Jyrki Gadinger
e69881521f fix rounded corners in the call notification
also enforce a non-transparent base background colour (e.g. for Win11)

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-02-13 08:36:28 +00:00