IJHack / QtPass

QtPass is a multi-platform GUI for pass, the standard unix password manager.
https://qtpass.org/
GNU General Public License v3.0
1.03k stars 162 forks source link

Continuing refactoring #407

Closed FiloSpaTeam closed 6 years ago

FiloSpaTeam commented 6 years ago

What i'm trying to do:

What i need to do:

codecov[bot] commented 6 years ago

Codecov Report

Merging #407 into master will increase coverage by 0.86%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #407      +/-   ##
=========================================
+ Coverage    6.46%   7.32%   +0.86%     
=========================================
  Files          39      41       +2     
  Lines        2585    2662      +77     
=========================================
+ Hits          167     195      +28     
- Misses       2418    2467      +49
Impacted Files Coverage Δ
src/mainwindow.h 0% <ø> (ø) :arrow_up:
src/mainwindow.cpp 0% <ø> (ø) :arrow_up:
src/pass.cpp 3.93% <ø> (+1.37%) :arrow_up:
src/usersdialog.h 0% <ø> (ø) :arrow_up:
main/main.cpp 0% <ø> (ø) :arrow_up:
src/qpushbuttonwithclipboard.h 0% <ø> (ø) :arrow_up:
src/configdialog.h 0% <ø> (ø) :arrow_up:
src/configdialog.cpp 0% <ø> (ø) :arrow_up:
src/qpushbuttonwithclipboard.cpp 0% <ø> (ø) :arrow_up:
src/usersdialog.cpp 0% <ø> (ø) :arrow_up:
... and 33 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b4dc9e6...5d5b266. Read the comment docs.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.9%) to 7.306% when pulling 5d5b2661b9b769bbe4f7d2867a7eaeee9134f3f9 on UnitooTeam:master into b4dc9e69e7c553dd6c1ddb567320a2ce51e8be23 on IJHack:master.

annejan commented 6 years ago

Oh wow, those are nice changes . .

FiloSpaTeam commented 6 years ago

Before merge i want to test more and try to do what i wrote above :+1:

FiloSpaTeam commented 6 years ago

What do you think? :)

lukedirtwalker commented 6 years ago

If I may: I would like it if you would squash the commits. It doesn't look nice to have a lot of "Saving" commits in there.

FiloSpaTeam commented 6 years ago

Oh yes :) i ll do it asap

FiloSpaTeam commented 6 years ago

Travis CI build failed: possible this? -> -platform name

This command line argument applies to all Qt applications, but might be especially useful in the context of auto-testing. By using the "offscreen" platform plugin (-platform offscreen) it's possible to have tests that use QWidget or QWindow run without showing anything on the screen. Currently the offscreen platform plugin is only fully supported on X11.

Taken from https://doc.qt.io/qt-5/qtest-overview.html

FiloSpaTeam commented 6 years ago

I've done a little rebase but for the other commits: it's a lot of work and i don't know finally if it can cause some troubles for the others and for the repo itself :~~ What do you think?

annejan commented 6 years ago

I think I'll do some testing on some VMs tomorrow . . Since I'm mostly doing data normalisation tasks I think I have time to do a lot of physical testing as-well. On the rebasing . . I have no real opinion . .

annejan commented 6 years ago

I feel confident merging these changes . .

The only interesting thing I noticed is that the sorting order in the tree view is now z-a 😺

FiloSpaTeam commented 6 years ago

LOL i didnt noticed. I ll see and fix anyway :) if you feel i need to change something tell

FiloSpaTeam commented 6 years ago

Before merge i need to solve:

FiloSpaTeam commented 6 years ago

To solve the second one, I created a Timer of 350ms that start on lineEdit changed and fire on timeout the real search event.

Another BUG, if selectionModel is empty and you click Enter you can delete the entire folder xD i'll check if selectionModel is selected

wamtek commented 6 years ago

@FiloSpaTeam It seems that something with the copy function is not working as expected in your version. After i decrypted an item from the list the password is automatically copied to the clipboard. But when i click on the copy symbol next to the password nothing happens. No matter if i try to copy the password or any other entry. The unmodified version copies fine when clicking the symbol.

FiloSpaTeam commented 6 years ago

Ok perfect, i'll fix it :) i didn t tried the copy button lol

wamtek commented 6 years ago

Copy button works again. :+1: