summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.cpp
AgeCommit message (Collapse)Author
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-28Remove unused uiEnabled signal and setTextTextBrowser() function from MainWindowMaciej S. Szmigiero
2019-09-21Remove dead model sort calls in MainWindow constructorMaciej S. Szmigiero
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-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-06-05Minor extra safeguardingAnne 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-17Updated to current masterAnne Jan Brouwer
2018-12-10Merge pull request #432 from rdoeffinger/configfixesAnne Jan Brouwer
Fixes and improvments for config dialog
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-04Disable Edit and Delete action on deselectMario Schlegel
2018-11-04Fix deselect bugMario Schlegel
After selection and deselection of a folder the currentDir did get set to "/". After right clicking and selecting "Users" the root directory would be used for all actions. For example when changing the Users and reencrypting, all .gpg files in the system would get reencrypted.
2018-10-14Some cleanup with help of Clang-Tidy and Clazy (part 4 of x)Anne Jan Brouwer
2018-10-12Some cleanup with help of Clang-Tidy and Clazy (part 2 of x)Anne Jan Brouwer
2018-09-28Add qrencode to settingsFrank Gabriel
2018-09-28Prototype for QR encoding fieldsFrank Gabriel
2018-08-21Moving GPG usersList business logic inside usersdialogClaudio Maradonna
2018-08-18Another fix for #400Claudio Maradonna
2018-08-18Profile Table cell has red background whenn text is empty. Added some ↵Claudio Maradonna
tooltips for disabled checkbox like TrayIcon and OTP. Fixed Sort for QTreeView. Now when search is empty all QTreeView is collapsed and keys are not selected. Another fix when you press enter and proxyModel is empty.
2018-08-17Fixed BUG with empty name in profileTable. Fixed BUG when you remove ↵Claudio Maradonna
profile, profiles was not saved correctly. Adding timer to handle search (350ms).
2018-08-12Removed unused headers from mainwindow.cpp. Disable UseTrayIcon if it's not ↵Claudio Maradonna
available for the OS.
2018-08-06Fix for AppVeyorClaudio Maradonna
2018-07-31Trying to fix this BUG: when user switch profile and selectionModel has ↵Claudio Maradonna
index, you can delete the key anyway
2018-07-31Clang-formatClaudio Maradonna
2018-07-30Splitted setup. Now it's time to test! :)Claudio Maradonna
2018-07-24SavingClaudio Maradonna
2018-07-24clang-formatClaudio Maradonna
2018-07-24Merge completedClaudio Maradonna
2018-07-24Now qDebug enable only if QT_DEBUG is defined. Trying to refactoring ↵Claudio Maradonna
MainWindow - QtPass class should handle connecctions and business logic
2018-07-16HousekeepingAnne Jan Brouwer
2018-07-14Merge pull request #10 from IJHack/masterClaudio Maradonna
Update local
2018-07-13#390 make box cheched when opening a folder users panelkenji21
2018-07-06SavingClaudio Maradonna
2018-07-06Trying to use QtPass as process handler and connector for PassClaudio Maradonna
2018-07-04SavingClaudio Maradonna
2018-07-04SavingClaudio Maradonna
2018-06-28Minor cleanup mostly of html and docblocksAnne Jan Brouwer
2018-06-26Minor cleanupAnne Jan Brouwer
2018-05-16SavingClaudio Maradonna
2018-05-15Converted most of Qt4 signals to Qt5 style. Fixed BUG with main folder ↵Claudio Maradonna
hidden (possible regression for Windows users and dot folders)
2018-05-09OTP is shown and copied to clipboard automatically. If compiled on WIN and ↵Ettore Dreucci
APPLE OTP button and options are hidden. Signed-off-by: Ettore Dreucci <ettore.dreucci@gmail.com>
2018-05-09Added OTP handler. Now ui doesn't hang any more.Ettore Dreucci
Signed-off-by: Ettore Dreucci <ettore.dreucci@gmail.com>