Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
8f5367c
account settings dialog changes
memurats Oct 24, 2025
994dfa3
updated gui cmake file
memurats Oct 27, 2025
fb289c7
fix error
memurats May 26, 2026
676a6e3
fix error
memurats May 26, 2026
d846a29
fix error
memurats May 26, 2026
ce2e8d1
fix error
memurats May 26, 2026
65ed7e8
fix error
memurats May 27, 2026
995d338
fix error
memurats May 27, 2026
7556780
fix layout issues
memurats Jun 1, 2026
6598a0a
fix layout
memurats Jun 1, 2026
0f55b4a
implement e2ee
memurats Jun 2, 2026
e10802a
Replace insertAction with addAction for accountAction
memurats Jun 2, 2026
828007c
Reorder include for nmcaccountsettings.h
memurats Jun 2, 2026
0c8a967
Remove duplicate include for nmcaccountsettings.h
memurats Jun 2, 2026
bf58131
Change toolbar action addition to insert at first position
memurats Jun 2, 2026
75327bf
removed spacing
memurats Jun 2, 2026
5879311
fix encryption box
memurats Jun 3, 2026
25920a6
fix encryption colors
memurats Jun 3, 2026
37b3ba6
added theme
memurats Jun 3, 2026
283fc4b
fix layout
memurats Jun 3, 2026
1772702
fixed coding
memurats Jun 3, 2026
32bc692
fix e2ee buttons
memurats Jun 3, 2026
e461fca
fix
memurats Jun 3, 2026
17cc1ce
changed order of settings boxes
memurats Jun 23, 2026
7cf3dde
hide folder tree
memurats Jun 23, 2026
9bd9001
fix style
memurats Jun 23, 2026
a9fed8d
fix translation
memurats Jun 24, 2026
f128f10
fix layout
memurats Jun 24, 2026
b8625bf
fix background
memurats Jun 24, 2026
7ac5cf0
fix style
memurats Jun 24, 2026
a8f6e7c
style sync folders panel
memurats Jun 25, 2026
b733ae0
test fix
memurats Jun 25, 2026
fbd1e99
fix margins
memurats Jun 25, 2026
92b3587
fix
memurats Jun 26, 2026
9a4d05d
fix style
memurats Jun 26, 2026
26e0670
fix
memurats Jun 26, 2026
4b73e0e
go back to working
memurats Jun 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ endif()
configure_file(${CMAKE_SOURCE_DIR}/theme.qrc.in ${CMAKE_SOURCE_DIR}/theme.qrc)
set(theme_dir ${CMAKE_SOURCE_DIR}/theme)

#NMC customization: needed to find the ui file in a different location than the header file
set(CMAKE_AUTOUIC_SEARCH_PATHS "${CMAKE_SOURCE_DIR}/src/gui")

set(client_UI_SRCS
accountsettings.ui
conflictdialog.ui
Expand Down Expand Up @@ -259,6 +262,10 @@ set(client_SRCS
integration/fileactionsmodel.cpp
)

file(GLOB NMC_FILES "nmcgui/*")
set(NMC_SRCS ${NMC_FILES})
list(APPEND client_SRCS ${NMC_SRCS})

if (NOT DISABLE_ACCOUNT_MIGRATION)
list(APPEND client_SRCS
legacyaccountselectiondialog.h
Expand Down
2 changes: 0 additions & 2 deletions src/gui/accountsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1278,7 +1278,6 @@ void AccountSettings::showConnectionLabel(const QString &message, QStringList er
_ui->connectLabel->setToolTip({});
_ui->connectLabel->setStyleSheet(errStyle);
}
_ui->accountStatus->setVisible(!message.isEmpty());
}

void AccountSettings::slotEnableCurrentFolder(bool terminate)
Expand Down Expand Up @@ -1375,7 +1374,6 @@ void AccountSettings::slotUpdateQuota(qint64 total, qint64 used)
const auto totalStr = Utility::octetsToString(total);
_spaceUsageText = tr("%1 of %2 in use").arg(usedStr, totalStr);
} else {
/* -1 means not computed; -2 means unknown; -3 means unlimited (#owncloud/client/issues/3940)*/
if (total == 0 || total == -1) {
_spaceUsageText.clear();
} else {
Expand Down
10 changes: 8 additions & 2 deletions src/gui/accountsettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class AccountSettings : public QWidget

public slots:
void slotOpenOC();
void slotUpdateQuota(qint64 total, qint64 used);
virtual void slotUpdateQuota(qint64 total, qint64 used);
void slotAccountStateChanged();
void slotStyleChanged();
void slotHideSelectiveSyncWidget();
Expand Down Expand Up @@ -119,6 +119,7 @@ protected slots:
const QVector<int> &roles);
void slotPossiblyUnblacklistE2EeFoldersAndRestartSync();

void checkClientSideEncryptionState();
void slotE2eEncryptionCertificateNeedMigration();

private slots:
Expand All @@ -135,9 +136,14 @@ private slots:

void setupE2eEncryption();
void forgetE2eEncryption();
void checkClientSideEncryptionState();
void removeActionFromEncryptionMessage(const QString &actionId);

protected:
Ui::AccountSettings *getUi() const
{
return _ui;
}

private:
bool event(QEvent *) override;
QAction *addActionToEncryptionMessage(const QString &actionTitle, const QString &actionId);
Expand Down
Loading