1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
Commit Graph

21 Commits

Author SHA1 Message Date
Dubslow
60e819baee
Hacky fix to cancelling a switch to an encrypted profile closing
It's either this or some fairly major refactoring, which is preferable,
but I've got another even bigger refactoring in mind, and fixing this
will be rolled into that.
Closes dubslow/qTox#4
2015-01-27 14:16:28 -06:00
Dubslow
ed22dc9ca5
write settings *after* changing them...
closes dubslow/qTox#3
2015-01-26 19:22:38 -06:00
Dubslow
7552fc0ceb
Fix the segfault fix 2015-01-23 08:18:46 -06:00
Dubslow
358a56c555
Confirm decrypt data, various ui/txt tweaks 2015-01-23 07:07:52 -06:00
Dubslow
5ea6e412f8
Slightly more useful initial password dialogs 2015-01-19 21:59:27 -06:00
Dubslow
f645faff51
Ignore empty history files on start
This fixes an esoteric issue of enabling chat log encryption and then restarting before adding any messages
2015-01-19 21:49:41 -06:00
Dubslow
826d60c876
fix bug with "use other password"
It's more trouble than it's worth to shallow copy; changed to deep copy with STL
2015-01-15 21:41:10 -06:00
Dubslow
a1a1a6f989
fix clearing duplicate passwords
fixes dubslow/qTox#2
2014-12-09 19:12:20 -06:00
Dubslow
09602731f7
when loading, try using main password for history 2014-12-09 18:40:05 -06:00
Dubslow
31c072d296
more file open checking 2014-12-09 18:08:38 -06:00
Dubslow
c5b945bbd5
minor tweaks 2014-12-09 15:43:56 -06:00
Dubslow
67027814e5
tweak to popup questions 2014-12-05 19:56:33 -06:00
Dubslow
4e1a204bc0
Fix threading issue with startup pw popup
The GUI is slow to update after accepting a password, but a cursory ten minute investigation didn't yield why
I inserted a processEvents() call before ready = true; at the end of Core::start, but that didn't help.
Define the total time between the password dialog disappearing and the UI updating with your own status is T:
Then my debug statement indicated that this processEvents call happened around 1/3T, raising two questions:
1) What the hell is happening between 0 and 1/3 T? Decryption doesn't take that long...
Note that bad passwords are immediately rejected with a new dialog, so I highly doubt it's the decryption cpu time
2) The remaining 2/3rds: processEvents has been called after the avatar and username signals, yet they
don't update in the UI till time T when everything updates after bootstrapping...

Oh well, like I said, only a cursory investigation
2014-12-05 18:23:13 -06:00
Dubslow
21327fdaba
warn only once on unecrypted file with encryption set 2014-12-04 14:21:48 -06:00
Dubslow
7f12c267e1
turns out the password code saving Configuration was useless anyways
would have avoided the bug I just "fixed"
2014-12-04 13:35:34 -06:00
Dubslow
7a59e7b853
fix copyright statement, update comment 2014-12-03 18:27:21 -06:00
dubslow
fc30d342bc Added change pw buttons; encryption is very nearly done.
@apprb there is one question and one TODO that you should look over in privacyform.cpp, as well as a TODO in historykeeper.cpp
Also both the encryption settings box and the pw dialog lineedits should probably be in a QGridLayout... but I don't really want to do that by hand :P
2014-12-03 18:14:28 -06:00
dubslow
4eb3036414 Ah, much cleaner 2014-12-03 18:14:28 -06:00
dubslow
bafca96554 Incremental work, starting to take shape 2014-12-03 18:14:28 -06:00
dubslow
8985466ed3 core encryption file is basically complete, I need to verify privacy tab 2014-12-03 18:10:07 -06:00
dubslow
4567f8e5c6 move encryption to separate file for sanity 2014-12-03 18:10:07 -06:00