summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2019-10-09Let's got v1.3.2v1.3.2Anne Jan Brouwer
2019-10-07Start minimized should not only be checked on clean install, fixes #471Anne Jan Brouwer
2019-10-07ToolButtonIconOnly fixes #483Anne Jan Brouwer
2019-10-07Margins for PasswordDialog fixes #484Anne Jan Brouwer
2019-10-02Don't call QtPass::setup() from QtPass class constructorMaciej S. Szmigiero
QtPass::setup() cannot be called from this class constructor as it possibly calls back MainWindow::config() method. QtPass constructor is in turn called from the MainWindow one so the MainWindow object might not be fully constructed yet. It looks like this was introduced in commit bc19f9eeb5bbcd. Rename QtPass::setup() to QtPass::init() and call it explicitly at the end of the MainWindow constructor. Should fix https://github.com/IJHack/QtPass/issues/466, but the whole thing really needs a refactoring to establish a clear QtPass -> MainWindow (or MainWindow -> QtPass) relationship and to make sure there aren't any circular dependencies there (and other similar bugs).
2019-10-02Make QtPass class constructor take a MainWindow object directlyMaciej S. Szmigiero
The QtPass class is not usable without a MainWindow object so it can as well take it directly as its constructor parameter.
2019-09-29Remove compiler_updateqm_make_all target from PRE_TARGETDEPS in src.proMaciej S. Szmigiero
Having compiler_updateqm_make_all target in PRE_TARGETDEPS in src.pro causes make to always consider libqtpass.a out of date and rebuild it. Together with the next commit this will cause main/qtpass to always be considered out of date and so relinked unnecessarily on each make invocation. It looks like this PRE_TARGETDEPS entry isn't actually required as qmake generates proper localization/*.ts -> localization/*.qm dependencies without it anyway, so let's just remove it.
2019-09-28Don't hide arguementAnne Jan Brouwer
2019-09-28Merge pull request #478 from amarsman/masterAnne Jan Brouwer
Add missing overrides
2019-09-28Add missing overridesAschwin Marsman
2019-09-28Don't show a TOTP secret when selecting a password entry in the main windowMaciej S. Szmigiero
Knowing the TOTP secret for a password entry allows somebody to recreate the whole OTP sequence so it definitely shouldn't be displayed in the clear. In fact, it shouldn't be displayed at all in the main window since the proper way to utilize a TOTP entry is to click the "OTP" button to generate a new OTP (rather than to copy the secret to the clipboard like it was a password). The password edit dialog isn't affected by this change and will still show the whole entry, including its TOTP secret if present.
2019-09-28Emit passShowHandlerFinished signal in MainWindow::passShowHandler()Maciej S. Szmigiero
Commit 3cb140ca697367 ("Trying to use QtPass as process handler and connector for Pass") removed a DisplayInTextBrowser() call from MainWindow::passShowHandler() and added a similar QtPass::showInTextBrowser() function that is invoked by QtPass::passShowHandlerFinished() slot. This slot is in turn connected to MainWindow::passShowHandlerFinished signal which wasn't emitted anywhere in the code. Emit it where the old DisplayInTextBrowser() call was so password entry non-template details are actually displayed upon selecting it in the main QtPass window.
2019-09-28Don't connect MainWindow::passShowHandlerFinished signal two timesMaciej S. Szmigiero
QtPass::connectPassSignalHandlers() will be called twice, the first time for the real pass and the second time for a pass imitator. This means that we can't connect MainWindow::passShowHandlerFinished signal in this function or it will be connected (and so then invoked) twice. Connect it in the QtPass::connectPassSignalHandlers() single caller instead.
2019-09-28Remove unused uiEnabled signal and setTextTextBrowser() function from MainWindowMaciej S. Szmigiero
2019-09-26Fix HTML links font color to defaultAlexey Andreyev
2019-09-21Remove dead model sort calls in MainWindow constructorMaciej S. Szmigiero
2019-09-21Restore directories-first order of passwords tree view on non-Mac platformsMaciej S. Szmigiero
Since commit b4dc9e69e7c553 ("Auto update CHANGELOG and sorting of treeview") directories are no longer listed first in the tree view of passwords. This is because a simple sort of the tree view widget (as enabled by the aforementioned commit) does its work by sorting the backing StoreModel (QSortFilterProxyModel), which in turn does just a simple lexicographical order sort on the path of each its item. Before that commit the sort was done by QFileSystemModel via QFileSystemModelSorter, which always places its directories first on non-Mac platforms. Unfortunately, QFileSystemModelSorter is an internal Qt helper class, so we can't just use it directly, we need to open-code a bit of logic from QFileSystemModelSorter::compareNodes() into StoreModel::lessThan() to restore the old behavior.
2019-09-21Avoid duplicate calls to model.setRootPath() in MainWindow constructorMaciej S. Szmigiero
2019-09-21Call setSourceModel() in StoreModel::setModelAndStore()Maciej S. Szmigiero
When we are setting the source model in StoreModel::setModelAndStore() set it also for StoreModel base class to make the extra setSourceModel() call unnecessary.
2019-09-20Applied patch by @Piraty fixes #467Anne Jan Brouwer
2019-09-08Add missing finishedShow() signal connection in PasswordDialog constructorMaciej S. Szmigiero
Commit 990b89c0ee6231 ("Removed unused headers from mainwindow.cpp. Disable UseTrayIcon if it's not available for the OS.") moved Pass finishedShow() signal connection for a PasswordDialog from MainWindow::setPassword() to the (first) PasswordDialog constructor. However PasswordDialog has actually two constructors, and the second one needs to make this connection, too, otherwise the "Edit password" function does not load the edited entry data. See: https://github.com/IJHack/QtPass/issues/423 https://github.com/IJHack/QtPass/issues/465 https://github.com/IJHack/QtPass/issues/470
2019-09-04Merge branch 'feature/renameEntry' of https://github.com/Noettore/QtPass ↵Anne Jan Brouwer
into Noettore-feature/renameEntry
2019-08-30profileBox is now alphabetically sortedEttore Dreucci
Signed-off-by: Ettore Dreucci <ettore.dreucci@gmail.com>
2019-08-29Removed #include directive in mainwindow.cppEttore Dreucci
Signed-off-by: Ettore Dreucci <ettore.dreucci@gmail.com>
2019-08-29Resolved password rename problem.Ettore Dreucci
Signed-off-by: Ettore Dreucci <ettore.dreucci@gmail.com>
2019-08-29First implementation. Working for dir. Password end up with two trailing .gpgEttore
Signed-off-by: Ettore <noettore@gmail.com>
2019-08-12Updates for Qt 5.13Anne Jan Brouwer
2019-06-05Minor extra safeguardingAnne Jan Brouwer
2019-06-05Node version thing and some nullptrAnne Jan Brouwer
2019-04-17Updates and more cleanupAnne Jan Brouwer
2019-04-17Merge branch 'master' into clang-tidy-clazyAnne Jan Brouwer
2019-04-17Merge pull request #421 from frawi/masterAnne Jan Brouwer
Display passwords as QR codes
2019-04-17clang-format againAnne Jan Brouwer
2019-04-17Updated to current masterAnne Jan Brouwer
2019-04-17Merge pull request #452 from Natureshadow/gpg-use-fprAnne Jan Brouwer
Use key fingerprint as ID instead of “long” ID.
2019-04-16Use key fingerprint as ID instead of “long” ID.Dominik George
2019-01-08Typo: dialouge to dialogue.Georg Jaehnig
2018-12-17Merge pull request #439 from rdoeffinger/winstoreAnne Jan Brouwer
Scripts and logic specific to Windows Store releases
2018-12-12Add a special winstore config flag.Reimar Döffinger
Use it to make "missing GnuPG" message for Windows conditional. When set, remove references to GnuPG downloads to make Windows Store reviewers happy... In all cases, suggest installing Ubuntu from the Store as an alternative.
2018-12-12For config check, check that the selected binary is available.Reimar Döffinger
pass being available is irrelevant if QtPass was configured to use gpg for example.
2018-12-10Automated housekeepingAnne Jan Brouwer
2018-12-10Merge pull request #432 from rdoeffinger/configfixesAnne Jan Brouwer
Fixes and improvments for config dialog
2018-12-10Merge pull request #431 from rdoeffinger/wslsupportAnne Jan Brouwer
Support for using WSL binaries on Windows
2018-12-10Merge pull request #430 from mrsch/windows_fixesAnne Jan Brouwer
Bugfixes and Windows compatibility improvements
2018-11-17Fix character encoding issues for non-UTF-8 locales.Reimar Döffinger
Since we (most sensibly) encode text as UTF-8 before encrypting we should assume that the password files contain UTF-8 when decrypting, instead of the current locale encoding. This is the biggest issue on Windows, since it doesn't even officially support locales with UTF-8 encoding. For compatibility, detect if the data is not valid UTF-8 and fall back to Qt's BOM based approach, which provides support for UTF-16 and falls back to current locale encoding. Fixes issue #412
2018-11-04Add autodetect button for programs.Reimar Döffinger
Makes it easy for user to reset the values to the defaults.
2018-11-04Show Programs tab in config dialog if config is broken.Reimar Döffinger
It is confusing to show a tab that has nothing to do with the problem the user needs to fix.
2018-11-04Fix incorrect use of / as path separator.Reimar Döffinger
This fixes the password store path growing an endless set of / at the end on Windows. Also disable delete and edit buttons when entry is deselected.
2018-11-04Automatically detect and use WSL binaries.Reimar Döffinger
Treat WSL as if it contained binaries that are in the PATH.
2018-11-04Add support for using Linux binaries on Windows.Reimar Döffinger
Uses WSL, selected by prefixing the binaries with "wsl ".