Commit graph

22206 commits

Author SHA1 Message Date
Matthieu Gallien
35d4f91b42 ensure log context category is valid before reading it
category of logs accessed via log context can be null
in such a case, strcmp will crash

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-07 17:04:26 +02:00
Matthieu Gallien
3974040b0d
Merge pull request #7270 from nextcloud/bugfix/useQmlFusionOnWindows
Bugfix/use qml fusion on windows
2024-10-07 15:31:00 +02:00
Matthieu Gallien
9585c97fcc
remove hard coded white color in elements of folder wizard
fix broken white backgrounds in folder wizard when using Windows dark
mode

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-07 15:30:19 +02:00
Matthieu Gallien
8b1e3fcd9d
switch folder wizar to modern style to avoid borken windows dark mode
the QWizard AeroStyle style is broken on windows dark mode, switch to
ModernStyle that is working fine

see upstream Qt bug: https://bugreports.qt.io/browse/QTBUG-123853

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-07 15:30:18 +02:00
Matthieu Gallien
07958ce53f
qml Windows native style is broken on dark mode: switch to Fusion
we will temporarily be using Fusion generic desktop style

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

see upstream Qt bug
https://bugreports.qt.io/browse/QTBUG-113469?focusedId=724929&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-724929

they apparently do not plan to fix Windows qml style to support dark
mode on Windows 11

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-07 15:29:36 +02:00
Matthieu Gallien
cf1a6d75eb
Merge pull request #7263 from nextcloud/bugfix/cleanUpLogs
remove too verbose logs during discovery
2024-10-07 14:27:04 +02:00
Matthieu Gallien
f0f83b9984
downgrade severity level of logs during propagation
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-07 09:46:31 +02:00
Matthieu Gallien
8ecf0e9faa
remove internal logs in propagation scheduler: not usefull
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-07 09:46:31 +02:00
Matthieu Gallien
a2b088759e
remove too verbose not so usefull logs
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-07 09:46:31 +02:00
Matthieu Gallien
9e1b2b3204
remove useless internal log about remote permissions management
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-07 09:46:31 +02:00
Matthieu Gallien
88992761bb
remove too verbose logs during discovery
will make the logs less verbose and improve performance

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-07 09:46:10 +02:00
Nextcloud bot
94b2c2c536
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-07 02:44:31 +00:00
Nextcloud bot
18879898dd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-06 02:52:01 +00:00
Nextcloud bot
4ef88ab801
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-05 02:45:57 +00:00
Matthieu Gallien
f65f7ea5a9
Merge pull request #7259 from nextcloud/bugfix/fixLogIssues
Bugfix/fix log issues
2024-10-04 12:02:47 +02:00
Matthieu Gallien
06f7cf4896 improve debugger logs on Windows to have same content than normal log
makes debugger logs more usefull

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-04 12:02:39 +02:00
Matthieu Gallien
48932ba57b enable dev logs only when NEXTCLOUD_DEV is defined to value 1
will switch back production logs to the intended behavior

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-04 12:02:39 +02:00
Nextcloud bot
94e8fb8a89
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-04 02:47:19 +00:00
Nextcloud bot
3bc4710494
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-03 02:45:44 +00:00
Nextcloud bot
09d17f8fbc
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-02 02:47:24 +00:00
Matthieu Gallien
56633db532
Merge pull request #7251 from nextcloud/bugfix/improveMassiveDeletionWarningMessage
message should say many not all: would be triggered by 200 files
2024-10-01 18:00:00 +02:00
Matthieu Gallien
bf2fc44cfc
message should say many not all: would be triggered by 200 files
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-01 16:41:56 +02:00
Matthieu Gallien
c771c4166c
Merge pull request #7028 from nextcloud/feature/permanentDeleteLog
create a permanent log of delete actions
2024-10-01 16:39:38 +02:00
Matthieu Gallien
ab2bf984e7
remove not so usefull log line for new files
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-01 15:43:43 +02:00
Matthieu Gallien
e2f94d86ef
create a permanent log of delete actions
will log all deletions with the result of the discovery by the sync
enginre

should enable analyze even long time after such a delete occured

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-01 15:43:42 +02:00
Nextcloud bot
a9fe12325b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-01 02:49:33 +00:00
Andy Scherzinger
14a85205b1
Merge pull request #7247 from nextcloud/docs/noid/issueTemplates
docs: Update template to match org-templates
2024-09-30 23:32:38 +02:00
Andy Scherzinger
4a62a25b7f
docs: Update template to match org-templates
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-09-30 23:31:21 +02:00
Matthieu Gallien
7c546ba3a7
Merge pull request #7116 from nextcloud/feature/warnOfManyDeleteInstructions
count the files deletion and warn if threshold is exceeded
2024-09-30 16:42:37 +02:00
Matthieu Gallien
d31b3b068f count the files deletion and warn if threshold is exceeded
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-30 14:33:49 +02:00
Claudio Cambra
39c08298ea
Merge pull request #7232 from nextcloud/bugfix/webengineprocess-crash-mac
Fix QtWebEngineProcess crash on macOS when building with mac-crafter
2024-09-30 12:47:26 +08:00
Claudio Cambra
89b13285fe Codesign webengineprocess with correct entitlements on macOS with mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-30 11:54:10 +08:00
Nextcloud bot
f7a138a5b5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-30 02:45:41 +00:00
Claudio Cambra
5625df7304
Merge pull request #7163 from nextcloud/feature/mac-crafter-override-server-url
Add support for the new craft blueprint options relating to override server urls
2024-09-30 00:06:48 +08:00
Claudio Cambra
0fe925f978 Add support for the new craft blueprint options relating to override server urls
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-29 23:16:20 +08:00
Nextcloud bot
8c5b6c8c25
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-29 03:05:42 +00:00
Nextcloud bot
fab2028944
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-28 02:44:57 +00:00
Matthieu Gallien
bb07ed40c0
Merge pull request #7220 from nextcloud/tidy/improvePlatformDetectionUtilityFunctions
use constexpr function for platform detection
2024-09-27 10:22:18 +02:00
Matthieu Gallien
e6f62930e9 use constexpr function for platform detection
should decrease the cost of their usage when compared to preprocessor
conditional directives

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-27 09:26:36 +02:00
Matthieu Gallien
47d16d3206
Merge pull request #6871 from nextcloud/bugfix/trailing-space
Only check for leading/trailing space for files on Windows.
2024-09-27 09:26:08 +02:00
Camila Ayres
1d9b6e2e79 Use preprocessor directives in tests.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-27 09:06:11 +02:00
Camila Ayres
6532d3feeb Fix tests for trailing spaces on Linux.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-27 09:06:11 +02:00
Camila Ayres
2e750013be Add test testCreateLocalPathsWithLeadingAndTrailingSpaces_syncOnSupportingOs.
- Fix discovery tests for files with invalid names.
- Now leading/trailing spaces trigger an error only on Windows.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-27 09:06:11 +02:00
Camila Ayres
b8ca1584e3 Only check leading/trailing spaces for files on Windows.
Fix for #6807.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-27 09:06:11 +02:00
Nextcloud bot
2fc6f2822c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-27 02:46:37 +00:00
Matthieu Gallien
38ea418968
Merge pull request #7200 from nextcloud/bugfix/useTransferTimeoutFromAccessManager
disable our code for network timeout
2024-09-26 16:11:47 +02:00
Matthieu Gallien
b27eb06386 disable our code for network timeout
seems we have an issue with Windows and QTimer instances used to detect
network timeout

workaround, find cause of https://github.com/nextcloud/desktop/issues/7184

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-26 16:11:37 +02:00
Matthieu Gallien
24bcc10e97
Merge pull request #7210 from nextcloud/bugfix/server-url
Validate input of APPLICATION_SERVER_URL.
2024-09-26 16:06:04 +02:00
Camila Ayres
ee351aa132 Validate input of APPLICATION_SERVER_URL.
Tries to clean double quotes and output JSON parse error.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-26 14:55:29 +02:00
Matthieu Gallien
e467fc87f6
Merge pull request #7142 from nextcloud/bugfix/native-ui
Fix alignment and size of buttons.
2024-09-26 12:02:31 +02:00