Commit Graph

22916 Commits

Author SHA1 Message Date
Jyrki Gadinger
a292cd3903 do not display encrypt action for external folders
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-02-25 10:45:41 +00:00
Jyrki Gadinger
f98dee9082
Merge pull request #7921 from nextcloud/backport/7902/stable-3.16
[stable-3.16] Improve UI of settings
2025-02-25 11:22:02 +01:00
Camila Ayres
cc4cf2ca38 Remove helpUlr() call from string.
Co-authored-by: Jyrki Gadinger <nilsding@nilsding.org>
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-02-25 10:03:54 +00:00
Camila Ayres
b1acb9a9fe Adjust layout margins to align text.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-02-25 10:03:53 +00:00
Camila Ayres
6356b8356d Remove help url from developer string.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-02-25 10:03:53 +00:00
Camila Ayres
31326b2f09 Update help url default value.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-02-25 10:03:53 +00:00
Claudio Cambra
9dcd7d0232
Merge pull request #7917 from nextcloud/backport/7916/stable-3.16
[stable-3.16] chore(i18n): Use correct plural syntax
2025-02-25 15:58:07 +08:00
rakekniven
d91800b453 chore(i18n): Use correct plural syntax
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-02-25 07:57:29 +00:00
Claudio Cambra
b234503805
Merge pull request #7915 from nextcloud/backport/7905/stable-3.16 2025-02-25 11:56:01 +08:00
Pablo Ariño Muñoz
0b23015daa Added copy of container to ranged loop so as to prevent crash
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-25 03:55:21 +00:00
Pablo Ariño Muñoz
ae22f90910 Carried out further fixes, changing types to auto and adding const
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-25 03:55:21 +00:00
Pablo Ariño Muñoz
abc6c213b4 Added more std::as_const and replaced types for auto, as well as other suggestions
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-25 03:55:21 +00:00
Pablo Ariño Muñoz
a6a02dceb1 Replaced qAsConst with std::as_const
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-25 03:55:21 +00:00
Pablo Ariño Muñoz
76195b9617 removed redundant qAsConst
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-25 03:55:21 +00:00
Pablo Ariño Muñoz
1f426977af Replaced foreach with range loops
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-25 03:55:21 +00:00
Nextcloud bot
38d12a5a8f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-25 03:09:20 +00:00
Claudio Cambra
d5d8fe4a06
Merge pull request #7913 from nextcloud/backport/7898/stable-3.16
[stable-3.16] Added space between sentences
2025-02-24 16:14:47 +08:00
Pablo Ariño Muñoz
70e5db367f Added space between sentences
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-24 15:55:03 +08:00
Claudio Cambra
0f6a2f1ff6
Merge pull request #7912 from nextcloud/backport/7904/stable-3.16
[stable-3.16] Added plural forms handling correction to notification message
2025-02-24 15:54:40 +08:00
Pablo Ariño Muñoz
a4f65c64e5 Removed parenthesis and passed a nullptr for the disambiguation
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-24 07:30:31 +00:00
Pablo Ariño Muñoz
682e3d98af Added plural forms handling correction to notification message
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-24 07:30:31 +00:00
Nextcloud bot
df237a22d9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-24 02:56:55 +00:00
Nextcloud bot
eb72cf5629
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-23 02:59:05 +00:00
Jyrki Gadinger
620f55e89e
Merge pull request #7909 from nextcloud/backport/7908/stable-3.16
[stable-3.16] Bugfix/delete read only remnants
2025-02-22 12:13:02 +01:00
Matthieu Gallien
dcd2c4bddf ensure we can delete invalid read-only items
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-02-22 12:02:43 +01:00
Nextcloud bot
6d2031cf82
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-22 02:56:47 +00:00
Jyrki Gadinger
2d0e585be3
Merge pull request #7907 from nextcloud/backport/7906/stable-3.16
[stable-3.16] UserStatusSelector: set focusPolicy on accept button
2025-02-21 13:31:46 +01:00
Jyrki Gadinger
6a388966a3 UserStatusSelector: set focusPolicy on accept button
otherwise the status text won't be set on macOS as the text box never
loses its focus

`Qt.StrongFocus` is the default focusPolicy on all platforms except for
macOS, there it's `Qt.TabFocus`

the other buttons of the UserStatusSelector don't need that focusPolicy
as they do not modify the model from values in the view

see also:
- https://bugreports.qt.io/browse/QTBUG-110295
- https://codebrowser.dev/qt6/qtdeclarative/src/quicktemplates/qquickabstractbutton.cpp.html#_ZN27QQuickAbstractButtonPrivate4initEv

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-02-21 10:44:32 +00:00
Nextcloud bot
01ca1ba311
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-21 02:55:11 +00:00
Jyrki Gadinger
53afdafcea
Merge pull request #7900 from nextcloud/backport/7899/stable-3.16
[stable-3.16] FolderStatusModel: only create a single QFileIconProvider object
2025-02-20 17:36:14 +01:00
Jyrki Gadinger
85e460c775 FolderStatusModel: only create a single QFileIconProvider object
otherwise the icons will end up being loaded from the system each time,
which on Windows takes quite long (I saw many calls to
`shell32.dll!SHDefExtractIcon` during profiling)

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-02-20 16:24:06 +00:00
Matthieu Gallien
556d26c6f1
prepare for 3.16.0 rc2
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-02-20 13:27:24 +01:00
Matthieu Gallien
82cb1ca0fb
Merge pull request #7896 from nextcloud/backport/7894/stable-3.16
[stable-3.16] fixed html formatting on encrypted warning message
2025-02-20 13:22:34 +01:00
Pablo Ariño Muñoz
4e53558115 fixed html formatting on encrypted warning message
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-20 12:11:08 +00:00
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