Compare commits

...

12 Commits

Author SHA1 Message Date
Camila Ayres 57f14f2fae
Merge 1e953f0f71 into 7c36bec110 2024-04-26 08:23:35 +01:00
Alex Zolotov 7c36bec110
prepare 3.12.4 release
Signed-off-by: Alex Zolotov <blackslayer4@gmail.com>
2024-04-25 17:06:47 +02:00
allexzander 0ccc68c7b1
Merge pull request #6688 from nextcloud/backport/6598/stable-3.12
Backport/6598/stable 3.12
2024-04-25 16:58:56 +02:00
allexzander 3abef9c7e9
Merge pull request #6687 from nextcloud/backport/6589/stable-3.12
Backport/6589/stable-3.12
2024-04-25 16:56:41 +02:00
Matthieu Gallien 89c08189f4
Merge pull request #6699 from nextcloud/backport/6691/stable-3.12
[stable-3.12] Bugfix/slow sync with tray open
2024-04-25 14:02:21 +02:00
allexzander 33cb1a1a95 Merge pull request #6691 from nextcloud/bugfix/slow-sync-with-tray-open
Bugfix/slow sync with tray open
2024-04-25 14:02:12 +02:00
Matthieu Gallien 52026f7a08
Merge pull request #6700 from nextcloud/backport/6696/stable-3.12
[stable-3.12] Bugfix. Conflict dialog for multiple files. Fix checkbox border colors for dark mode on Windows.
2024-04-25 14:01:59 +02:00
Matthieu Gallien 4110712ac7 Merge pull request #6696 from nextcloud/bugfix/conflictdialog-multiple-darkmode
Bugfix. Conflict dialog for multiple files. Fix checkbox border colors for dark mode on Windows.
2024-04-25 10:56:44 +02:00
Claudio Cambra a4f21305ec
Only show successful debug archive creation dialog if it has indeed been successful
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-04-23 21:05:54 +02:00
Claudio Cambra f557106ec0
Prevent crash on creating debug archive in non-writeable location
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-04-23 21:05:54 +02:00
Claudio Cambra 75cfa32d26
Give debug archive save location dialog a default location
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-04-23 21:05:53 +02:00
Claudio Cambra 1eb4dd2f8b
Fix "false" error about bad applying of nodiscard to value type
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-04-23 21:02:33 +02:00
7 changed files with 86 additions and 8 deletions

View File

@ -1,6 +1,6 @@
set( MIRALL_VERSION_MAJOR 3 )
set( MIRALL_VERSION_MINOR 12 )
set( MIRALL_VERSION_PATCH 3 )
set( MIRALL_VERSION_PATCH 4 )
set( MIRALL_VERSION_YEAR 2024 )
set( MIRALL_SOVERSION 0 )

View File

@ -50,7 +50,7 @@ copyright = u'2013-2024, The Nextcloud developers'
# The short X.Y version.
version = '3.12'
# The full version, including alpha/beta/rc tags.
release = '3.12.3'
release = '3.12.4'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

View File

@ -31,6 +31,24 @@ Item {
CheckBox {
id: selectItem
palette {
text: Style.ncTextColor
windowText: Style.ncTextColor
buttonText: Style.ncTextColor
brightText: Style.ncTextBrightColor
highlight: Style.lightHover
highlightedText: Style.ncTextColor
light: Style.lightHover
midlight: Style.ncSecondaryTextColor
mid: Style.darkerHover
dark: Style.menuBorder
button: Style.buttonBackgroundColor
window: palette.dark // NOTE: Fusion theme uses darker window colour for the border of the checkbox
base: Style.backgroundColor
toolTipBase: Style.backgroundColor
toolTipText: Style.ncTextColor
}
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter

View File

@ -94,6 +94,24 @@ ApplicationWindow {
Layout.fillWidth: true
palette {
text: Style.ncTextColor
windowText: Style.ncTextColor
buttonText: Style.ncTextColor
brightText: Style.ncTextBrightColor
highlight: Style.lightHover
highlightedText: Style.ncTextColor
light: Style.lightHover
midlight: Style.ncSecondaryTextColor
mid: Style.darkerHover
dark: Style.menuBorder
button: Style.buttonBackgroundColor
window: palette.dark // NOTE: Fusion theme uses darker window colour for the border of the checkbox
base: Style.backgroundColor
toolTipBase: Style.backgroundColor
toolTipText: Style.ncTextColor
}
text: qsTr('All local versions')
leftPadding: 0
@ -112,6 +130,24 @@ ApplicationWindow {
Layout.fillWidth: true
palette {
text: Style.ncTextColor
windowText: Style.ncTextColor
buttonText: Style.ncTextColor
brightText: Style.ncTextBrightColor
highlight: Style.lightHover
highlightedText: Style.ncTextColor
light: Style.lightHover
midlight: Style.ncSecondaryTextColor
mid: Style.darkerHover
dark: Style.menuBorder
button: Style.buttonBackgroundColor
window: palette.dark // NOTE: Fusion theme uses darker window colour for the border of the checkbox
base: Style.backgroundColor
toolTipBase: Style.backgroundColor
toolTipText: Style.ncTextColor
}
text: qsTr('All server versions')
leftPadding: 0

View File

@ -107,8 +107,19 @@ QVector<ZipEntry> createDebugArchiveFileList()
return list;
}
void createDebugArchive(const QString &filename)
bool createDebugArchive(const QString &filename)
{
const auto fileInfo = QFileInfo(filename);
const auto dirInfo = QFileInfo(fileInfo.dir().absolutePath());
if (!dirInfo.isWritable()) {
QMessageBox::critical(
nullptr,
QObject::tr("Failed to create debug archive"),
QObject::tr("Could not create debug archive in selected location!")
);
return false;
}
const auto entries = createDebugArchiveFileList();
KZip zip(filename);
@ -127,7 +138,9 @@ void createDebugArchive(const QString &filename)
zip.prepareWriting("__nextcloud_client_buildinfo.txt", {}, {}, buildInfo.size());
zip.writeData(buildInfo, buildInfo.size());
zip.finishWriting(buildInfo.size());
return true;
}
}
namespace OCC {
@ -498,13 +511,24 @@ void GeneralSettings::slotIgnoreFilesEditor()
void GeneralSettings::slotCreateDebugArchive()
{
const auto filename = QFileDialog::getSaveFileName(this, tr("Create Debug Archive"), QString(), tr("Zip Archives") + " (*.zip)");
const auto filename = QFileDialog::getSaveFileName(
this,
tr("Create Debug Archive"),
QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation),
tr("Zip Archives") + " (*.zip)"
);
if (filename.isEmpty()) {
return;
}
createDebugArchive(filename);
QMessageBox::information(this, tr("Debug Archive Created"), tr("Debug archive is created at %1").arg(filename));
if (createDebugArchive(filename)) {
QMessageBox::information(
this,
tr("Debug Archive Created"),
tr("Debug archive is created at %1").arg(filename)
);
}
}
void GeneralSettings::slotShowLegalNotice()

View File

@ -34,7 +34,7 @@ RowLayout {
padding: 0
imageSource: syncStatus.syncIcon
running: syncStatus.syncing
running: false // hotfix for download speed slowdown when tray is open
}
ColumnLayout {

View File

@ -93,7 +93,7 @@ public:
Q_REQUIRED_RESULT QVariantList clearStageTypes() const;
Q_REQUIRED_RESULT QString clearAtDisplayString() const;
Q_INVOKABLE [[nodiscard]] QString clearAtReadable(const OCC::UserStatus &status) const;
[[nodiscard]] Q_INVOKABLE QString clearAtReadable(const OCC::UserStatus &status) const;
Q_REQUIRED_RESULT QString errorMessage() const;