summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2019-10-09 15:49:59 +0200
committerAnne Jan Brouwer <brouwer@annejan.com>2019-10-09 15:49:59 +0200
commitd242041c3efdba43b037ef3f8fb9f526a46173a9 (patch)
tree9acb4b234cd9abf09f7b39821e41b31d7ccd4270
parentb9726d7fdabc3768ea3dd25608a7233c81b475b6 (diff)
Let's got v1.3.2v1.3.2
-rw-r--r--CHANGELOG.md17
-rw-r--r--localization/localization_nl_BE.ts28
-rw-r--r--localization/localization_nl_NL.ts28
-rw-r--r--src/filecontent.cpp5
-rw-r--r--src/filecontent.h3
-rw-r--r--src/mainwindow.cpp27
-rw-r--r--src/passworddialog.h3
-rw-r--r--src/qtpass.cpp5
8 files changed, 60 insertions, 56 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c93aefba..221614f8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,14 +6,20 @@
**Fixed bugs:**
+- QtPass could not run on Windows7 thin [\#485](https://github.com/IJHack/QtPass/issues/485)
+- Segfault on application startup \(macos\) [\#481](https://github.com/IJHack/QtPass/issues/481)
- Application crashes on empty password store [\#466](https://github.com/IJHack/QtPass/issues/466)
- App is completely broken [\#423](https://github.com/IJHack/QtPass/issues/423)
**Closed issues:**
+- Edit window on Gnome has no padding around [\#484](https://github.com/IJHack/QtPass/issues/484)
+- Buttons width on RHEL 8 [\#483](https://github.com/IJHack/QtPass/issues/483)
+- `Start minimized' no longer works [\#471](https://github.com/IJHack/QtPass/issues/471)
- Editor doesn't wait for PGP key to decrypt [\#470](https://github.com/IJHack/QtPass/issues/470)
- v1.3.0 Data Not Showing [\#465](https://github.com/IJHack/QtPass/issues/465)
- Hangs on MacOS after Security Update 2019-003 10.12.6 [\#461](https://github.com/IJHack/QtPass/issues/461)
+- No public key [\#308](https://github.com/IJHack/QtPass/issues/308)
**Merged pull requests:**
@@ -94,6 +100,7 @@
- Typo: dialouge to dialogue. [\#444](https://github.com/IJHack/QtPass/pull/444) ([georgjaehnig](https://github.com/georgjaehnig))
- Scripts and logic specific to Windows Store releases [\#439](https://github.com/IJHack/QtPass/pull/439) ([rdoeffinger](https://github.com/rdoeffinger))
- For config check, check that the selected binary is available. [\#438](https://github.com/IJHack/QtPass/pull/438) ([rdoeffinger](https://github.com/rdoeffinger))
+- Fix character encoding issues for non-UTF-8 locales. [\#435](https://github.com/IJHack/QtPass/pull/435) ([rdoeffinger](https://github.com/rdoeffinger))
- Fixes and improvments for config dialog [\#432](https://github.com/IJHack/QtPass/pull/432) ([rdoeffinger](https://github.com/rdoeffinger))
- Support for using WSL binaries on Windows [\#431](https://github.com/IJHack/QtPass/pull/431) ([rdoeffinger](https://github.com/rdoeffinger))
- Bugfixes and Windows compatibility improvements [\#430](https://github.com/IJHack/QtPass/pull/430) ([mrsch](https://github.com/mrsch))
@@ -129,6 +136,7 @@
**Implemented enhancements:**
+- Feedback on copy button use [\#229](https://github.com/IJHack/QtPass/issues/229)
- Cleaning \#includes [\#364](https://github.com/IJHack/QtPass/pull/364) ([FiloSpaTeam](https://github.com/FiloSpaTeam))
**Fixed bugs:**
@@ -157,6 +165,7 @@
- No icon on MacOS [\#333](https://github.com/IJHack/QtPass/issues/333)
- Font and spacing used for URL links on right in main window absurdly large [\#329](https://github.com/IJHack/QtPass/issues/329)
- QtPass don't display all lines with templates [\#273](https://github.com/IJHack/QtPass/issues/273)
+- Double-clicking might open previous entry instead of one double-clicked on [\#243](https://github.com/IJHack/QtPass/issues/243)
**Merged pull requests:**
@@ -170,13 +179,11 @@
- Removed comment out \#includes [\#365](https://github.com/IJHack/QtPass/pull/365) ([FiloSpaTeam](https://github.com/FiloSpaTeam))
- fix for \#300 [\#363](https://github.com/IJHack/QtPass/pull/363) ([FiloSpaTeam](https://github.com/FiloSpaTeam))
- Translated all missing content to Italian, created Release of transla… [\#361](https://github.com/IJHack/QtPass/pull/361) ([FiloSpaTeam](https://github.com/FiloSpaTeam))
-- Refactoring [\#360](https://github.com/IJHack/QtPass/pull/360) ([lukedirtwalker](https://github.com/lukedirtwalker))
- Display all fields when using template setting, fixes \#273 [\#358](https://github.com/IJHack/QtPass/pull/358) ([lukedirtwalker](https://github.com/lukedirtwalker))
- Update CONTRIBUTING.md [\#354](https://github.com/IJHack/QtPass/pull/354) ([5bentz](https://github.com/5bentz))
- Add two entries in FAQ about the language [\#353](https://github.com/IJHack/QtPass/pull/353) ([5bentz](https://github.com/5bentz))
- Fix typo in french translation [\#349](https://github.com/IJHack/QtPass/pull/349) ([babolivier](https://github.com/babolivier))
- New scroll bar on large files [\#347](https://github.com/IJHack/QtPass/pull/347) ([destanyol](https://github.com/destanyol))
-- Fix nested template argument list compile error [\#346](https://github.com/IJHack/QtPass/pull/346) ([martinburchell](https://github.com/martinburchell))
- Honor PREFIX during tests install [\#345](https://github.com/IJHack/QtPass/pull/345) ([SpiderX](https://github.com/SpiderX))
## [v1.2.1](https://github.com/IJHack/QtPass/tree/v1.2.1) (2018-01-04)
@@ -237,11 +244,12 @@
- Refactoring: removal of lastDecrypt [\#256](https://github.com/IJHack/QtPass/issues/256)
- Pass environment not set-up correctly [\#250](https://github.com/IJHack/QtPass/issues/250)
- Make fails - std c++11 not set [\#244](https://github.com/IJHack/QtPass/issues/244)
-- Double-clicking might open previous entry instead of one double-clicked on [\#243](https://github.com/IJHack/QtPass/issues/243)
- Clean up ConfigDialog [\#235](https://github.com/IJHack/QtPass/issues/235)
**Merged pull requests:**
+- Refactoring [\#360](https://github.com/IJHack/QtPass/pull/360) ([lukedirtwalker](https://github.com/lukedirtwalker))
+- Fix nested template argument list compile error [\#346](https://github.com/IJHack/QtPass/pull/346) ([martinburchell](https://github.com/martinburchell))
- Extract static library and separate main function [\#324](https://github.com/IJHack/QtPass/pull/324) ([tezeb](https://github.com/tezeb))
- galego actualizado [\#323](https://github.com/IJHack/QtPass/pull/323) ([xmgz](https://github.com/xmgz))
- Add sftp, ftps, webdav and webdavs as supported links [\#322](https://github.com/IJHack/QtPass/pull/322) ([cgonzalez](https://github.com/cgonzalez))
@@ -266,7 +274,6 @@
**Implemented enhancements:**
-- Feedback on copy button use [\#229](https://github.com/IJHack/QtPass/issues/229)
- Clickable url's + open in default browser [\#226](https://github.com/IJHack/QtPass/issues/226)
- Deselecting password re-opens the file [\#221](https://github.com/IJHack/QtPass/issues/221)
- Copy password button should include tooltip to say why, when disabled [\#214](https://github.com/IJHack/QtPass/issues/214)
@@ -436,7 +443,6 @@
- Two UI Tweaks [\#158](https://github.com/IJHack/QtPass/pull/158) ([lftl](https://github.com/lftl))
- configwindow.ui default/start tab set to "settings" [\#154](https://github.com/IJHack/QtPass/pull/154) ([jounathaen](https://github.com/jounathaen))
- FAQ update concerning button-icons on cinnamon [\#153](https://github.com/IJHack/QtPass/pull/153) ([jounathaen](https://github.com/jounathaen))
-- improved the German translation [\#134](https://github.com/IJHack/QtPass/pull/134) ([retokromer](https://github.com/retokromer))
## [v1.1.0](https://github.com/IJHack/QtPass/tree/v1.1.0) (2016-01-25)
[Full Changelog](https://github.com/IJHack/QtPass/compare/v1.0.6...v1.1.0)
@@ -476,6 +482,7 @@
**Merged pull requests:**
+- improved the German translation [\#134](https://github.com/IJHack/QtPass/pull/134) ([retokromer](https://github.com/retokromer))
- qrand always generating the same sequence of passwords [\#129](https://github.com/IJHack/QtPass/pull/129) ([treat1](https://github.com/treat1))
- some improvements [\#126](https://github.com/IJHack/QtPass/pull/126) ([retokromer](https://github.com/retokromer))
- added one translation [\#125](https://github.com/IJHack/QtPass/pull/125) ([retokromer](https://github.com/retokromer))
diff --git a/localization/localization_nl_BE.ts b/localization/localization_nl_BE.ts
index 5da3efb6..02d6ac6e 100644
--- a/localization/localization_nl_BE.ts
+++ b/localization/localization_nl_BE.ts
@@ -576,7 +576,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location/>
- <location filename="../src/mainwindow.cpp" line="+900"/>
+ <location filename="../src/mainwindow.cpp" line="+899"/>
<source>Add password</source>
<translation type="unfinished"></translation>
</message>
@@ -599,7 +599,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location/>
- <location filename="../src/mainwindow.cpp" line="+19"/>
+ <location filename="../src/mainwindow.cpp" line="+21"/>
<source>Delete</source>
<translation type="unfinished"></translation>
</message>
@@ -640,7 +640,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location/>
- <location filename="../src/mainwindow.cpp" line="-25"/>
+ <location filename="../src/mainwindow.cpp" line="-27"/>
<source>Users</source>
<translation type="unfinished"></translation>
</message>
@@ -677,12 +677,12 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location line="+4"/>
- <location line="+703"/>
+ <location line="+699"/>
<source>Password</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="-677"/>
+ <location line="-673"/>
<source>OTP Code</source>
<translation type="unfinished"></translation>
</message>
@@ -698,12 +698,12 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location line="+97"/>
- <location line="+359"/>
+ <location line="+361"/>
<source>New file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="-358"/>
+ <location line="-360"/>
<source>New password file:
(Will be placed in %1 )</source>
<translation type="unfinished"></translation>
@@ -749,29 +749,29 @@ p, li { white-space: pre-wrap; }
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+3"/>
+ <location line="+4"/>
<source>Rename password</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+41"/>
+ <location line="+42"/>
<source>New Folder:
(Will be placed in %1 )</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+20"/>
- <location line="+33"/>
+ <location line="+21"/>
+ <location line="+29"/>
<source>Rename file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="-32"/>
+ <location line="-29"/>
<source>Rename Folder To: </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+33"/>
+ <location line="+29"/>
<source>Rename File To: </source>
<translation type="unfinished"></translation>
</message>
@@ -840,7 +840,7 @@ p, li { white-space: pre-wrap; }
<context>
<name>QtPass</name>
<message>
- <location filename="../src/qtpass.cpp" line="+140"/>
+ <location filename="../src/qtpass.cpp" line="+139"/>
<source>Generating GPG key pair</source>
<translation type="unfinished"></translation>
</message>
diff --git a/localization/localization_nl_NL.ts b/localization/localization_nl_NL.ts
index 8576fe58..7148c83c 100644
--- a/localization/localization_nl_NL.ts
+++ b/localization/localization_nl_NL.ts
@@ -576,7 +576,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location/>
- <location filename="../src/mainwindow.cpp" line="+900"/>
+ <location filename="../src/mainwindow.cpp" line="+899"/>
<source>Add password</source>
<translation type="unfinished"></translation>
</message>
@@ -599,7 +599,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location/>
- <location filename="../src/mainwindow.cpp" line="+19"/>
+ <location filename="../src/mainwindow.cpp" line="+21"/>
<source>Delete</source>
<translation type="unfinished"></translation>
</message>
@@ -640,7 +640,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location/>
- <location filename="../src/mainwindow.cpp" line="-25"/>
+ <location filename="../src/mainwindow.cpp" line="-27"/>
<source>Users</source>
<translation type="unfinished"></translation>
</message>
@@ -677,12 +677,12 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location line="+4"/>
- <location line="+703"/>
+ <location line="+699"/>
<source>Password</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="-677"/>
+ <location line="-673"/>
<source>OTP Code</source>
<translation type="unfinished"></translation>
</message>
@@ -698,12 +698,12 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location line="+97"/>
- <location line="+359"/>
+ <location line="+361"/>
<source>New file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="-358"/>
+ <location line="-360"/>
<source>New password file:
(Will be placed in %1 )</source>
<translation type="unfinished"></translation>
@@ -749,29 +749,29 @@ p, li { white-space: pre-wrap; }
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+3"/>
+ <location line="+4"/>
<source>Rename password</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+41"/>
+ <location line="+42"/>
<source>New Folder:
(Will be placed in %1 )</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+20"/>
- <location line="+33"/>
+ <location line="+21"/>
+ <location line="+29"/>
<source>Rename file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="-32"/>
+ <location line="-29"/>
<source>Rename Folder To: </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+33"/>
+ <location line="+29"/>
<source>Rename File To: </source>
<translation type="unfinished"></translation>
</message>
@@ -840,7 +840,7 @@ p, li { white-space: pre-wrap; }
<context>
<name>QtPass</name>
<message>
- <location filename="../src/qtpass.cpp" line="+140"/>
+ <location filename="../src/qtpass.cpp" line="+139"/>
<source>Generating GPG key pair</source>
<translation type="unfinished"></translation>
</message>
diff --git a/src/filecontent.cpp b/src/filecontent.cpp
index 0dc25756..65984850 100644
--- a/src/filecontent.cpp
+++ b/src/filecontent.cpp
@@ -1,7 +1,7 @@
#include "filecontent.h"
static bool isLineHidden(const QString &line) {
- return line.startsWith("otpauth://", Qt::CaseInsensitive);
+ return line.startsWith("otpauth://", Qt::CaseInsensitive);
}
FileContent FileContent::parse(const QString &fileContent,
@@ -48,7 +48,8 @@ FileContent::FileContent(const QString &password,
const QString &remainingData,
const QString &remainingDataDisplay)
: password(password), namedValues(namedValues),
- remainingData(remainingData), remainingDataDisplay(remainingDataDisplay) {}
+ remainingData(remainingData), remainingDataDisplay(remainingDataDisplay) {
+}
NamedValues::NamedValues() : QList() {}
diff --git a/src/filecontent.h b/src/filecontent.h
index 845648f7..2bb25e75 100644
--- a/src/filecontent.h
+++ b/src/filecontent.h
@@ -69,7 +69,8 @@ public:
private:
FileContent(const QString &password, const NamedValues &namedValues,
- const QString &remainingData, const QString &remainingDataDisplay);
+ const QString &remainingData,
+ const QString &remainingDataDisplay);
QString password;
NamedValues namedValues;
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index dfbc01be..777ac494 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -71,8 +71,7 @@ MainWindow::MainWindow(const QString &searchText, QWidget *parent)
selectionModel.reset(new QItemSelectionModel(&proxyModel));
ui->treeView->setModel(&proxyModel);
- ui->treeView->setRootIndex(
- proxyModel.mapFromSource(rootDir));
+ ui->treeView->setRootIndex(proxyModel.mapFromSource(rootDir));
ui->treeView->setColumnHidden(1, true);
ui->treeView->setColumnHidden(2, true);
ui->treeView->setColumnHidden(3, true);
@@ -918,10 +917,12 @@ void MainWindow::showContextMenu(const QPoint &pos) {
contextMenu.addSeparator();
if (fileOrFolder.isDir()) {
QAction *renameFolder = contextMenu.addAction(tr("Rename folder"));
- connect(renameFolder, &QAction::triggered, this, &MainWindow::renameFolder);
+ connect(renameFolder, &QAction::triggered, this,
+ &MainWindow::renameFolder);
} else if (fileOrFolder.isFile()) {
QAction *renamePassword = contextMenu.addAction(tr("Rename password"));
- connect(renamePassword, &QAction::triggered, this, &MainWindow::renamePassword);
+ connect(renamePassword, &QAction::triggered, this,
+ &MainWindow::renamePassword);
}
QAction *deleteItem = contextMenu.addAction(tr("Delete"));
connect(deleteItem, &QAction::triggered, this, &MainWindow::onDelete);
@@ -978,14 +979,12 @@ void MainWindow::addFolder() {
*/
void MainWindow::renameFolder() {
bool ok;
- QString srcDir = QDir::cleanPath(Util::getDir(ui->treeView->currentIndex(), false, model, proxyModel));
+ QString srcDir = QDir::cleanPath(
+ Util::getDir(ui->treeView->currentIndex(), false, model, proxyModel));
QString srcDirName = QDir(srcDir).dirName();
QString newName =
- QInputDialog::getText(this, tr("Rename file"),
- tr("Rename Folder To: "),
- QLineEdit::Normal,
- srcDirName,
- &ok);
+ QInputDialog::getText(this, tr("Rename file"), tr("Rename Folder To: "),
+ QLineEdit::Normal, srcDirName, &ok);
if (!ok || newName.isEmpty())
return;
QString destDir = srcDir;
@@ -993,7 +992,6 @@ void MainWindow::renameFolder() {
QtPassSettings::getPass()->Move(srcDir, destDir);
}
-
/**
* @brief MainWindow::editPassword read password and open edit window via
* MainWindow::onEdit()
@@ -1014,11 +1012,8 @@ void MainWindow::renamePassword() {
QString file = getFile(ui->treeView->currentIndex(), false);
QString fileName = QFileInfo(file).baseName();
QString newName =
- QInputDialog::getText(this, tr("Rename file"),
- tr("Rename File To: "),
- QLineEdit::Normal,
- fileName,
- &ok);
+ QInputDialog::getText(this, tr("Rename file"), tr("Rename File To: "),
+ QLineEdit::Normal, fileName, &ok);
if (!ok || newName.isEmpty())
return;
QString newFile = file;
diff --git a/src/passworddialog.h b/src/passworddialog.h
index b38d1b06..c92ee595 100644
--- a/src/passworddialog.h
+++ b/src/passworddialog.h
@@ -23,7 +23,8 @@ class PasswordDialog : public QDialog {
public:
explicit PasswordDialog(const PasswordConfiguration &passConfig,
QWidget *parent = nullptr);
- PasswordDialog(const QString &file, const bool &isNew, QWidget *parent = nullptr);
+ PasswordDialog(const QString &file, const bool &isNew,
+ QWidget *parent = nullptr);
~PasswordDialog();
/*! Sets content in the password field in the interface.
diff --git a/src/qtpass.cpp b/src/qtpass.cpp
index 22366c06..85733939 100644
--- a/src/qtpass.cpp
+++ b/src/qtpass.cpp
@@ -22,9 +22,8 @@
#include "debughelper.h"
#endif
-QtPass::QtPass(MainWindow *mainWindow) : m_mainWindow(mainWindow),
- clippedText(QString()),
- freshStart(true) {
+QtPass::QtPass(MainWindow *mainWindow)
+ : m_mainWindow(mainWindow), clippedText(QString()), freshStart(true) {
setClipboardTimer();
clearClipboardTimer.setSingleShot(true);
connect(&clearClipboardTimer, SIGNAL(timeout()), this,