Commit graph

215 commits

Author SHA1 Message Date
Bob Sun
6f1571fefa
Fix a bug of otp cell introduced by polishing table view data structure 2017-04-01 08:59:22 -07:00
Bob Sun
8ea7da91d4
Fix conflicts of tab gesture and button 2017-04-01 08:36:47 -07:00
Bob Sun
729ad0d10b
Support show raw password 2017-03-31 23:03:06 -07:00
Bob Sun
36edc613be
Polish PasswordDetailTableViewController and add a show raw button (no function right now) 2017-03-31 00:28:37 -07:00
Yishi Lin
d28dde8719 Merge, fix conflict 2017-03-31 03:10:25 +08:00
Bob Sun
05a551781c
Fix an issue of tableView content inset in password detail view 2017-03-29 22:16:57 -07:00
Yishi Lin
abce9d7be5 Update fill password UI
- Click the setting icon to show or hide the slider.
- Clicking on other sections does not work now (remove gesture)
2017-03-30 01:17:22 +08:00
Yishi Lin
0197444e30 Polish the logic about updating last synced time.
- Update the date right after corresponding operations, and before reloading any "table view".
2017-03-29 00:56:07 +08:00
Yishi Lin
66688b5f66 Fix a small bug about password list refreshing
- Previously, reloadData() may not be in the main thread.
2017-03-29 00:26:41 +08:00
Yishi Lin
c93a63d8cc Password with "Apple" flavor has a fixed length 2017-03-29 00:00:24 +08:00
Yishi Lin
668b798cd5 Get the folder transition animation back... 2017-03-25 00:44:53 +08:00
Yishi Lin
bd3ed7d5e5 Confirm before overwriting OTP settings in the password cell 2017-03-25 00:05:45 +08:00
Yishi Lin
0f9b95eaa9 Polish codes about OTP 2017-03-24 23:14:44 +08:00
Yishi Lin
a36bb13004 Polish the code about "about repository"
- Move something to PasswordStore.swift
2017-03-24 22:47:27 +08:00
Yishi Lin
c1bdc152c5 Polish the code 2017-03-24 21:54:31 +08:00
Yishi Lin
2b5c5cad97 Polish the code
- Move somethings from view controller to the model "PasswordStore"
- Simplify the logic of PasswordsViewController (especially about reloadTableView)
- Mark many variables/methods private
2017-03-24 21:53:07 +08:00
Yishi Lin
95b3a7fcd3 Update views after setting updates 2017-03-24 20:40:24 +08:00
Bob Sun
f1c07f358e
Add animation to folder selection and backward 2017-03-23 22:46:50 -07:00
Bob Sun
0507c7cdd7 Support encrypting in ASCII-armored format 2017-03-23 19:38:43 -07:00
Yishi Lin
4e798ed5b4 Merge branch 'develop' of https://github.com/mssun/passforios into develop 2017-03-24 01:38:29 +08:00
Yishi Lin
2899f05a73 Polish PasswordEditorTableViewController. 2017-03-24 01:23:46 +08:00
Bob Sun
dcf04332cd
Merge branch 'develop' of github.com:mssun/passforios into develop 2017-03-23 10:15:59 -07:00
Yishi Lin
2107954cd3 Fix a bug introduced by commit 5a02cb7 .
- In that commit, the "delete password" in the edit view would be disabled by the presence of the "password length slider".
2017-03-24 01:10:26 +08:00
Bob Sun
e7fb2646f1
Add help pointing to wiki page 2017-03-23 00:21:22 -07:00
Bob Sun
3b3904fb40
Polish redundant code 2017-03-22 22:39:53 -07:00
Bob Sun
f36899a8ad Change getNumberOfUnsynced to numberOfLocalCommits 2017-03-22 19:07:41 -07:00
Bob Sun
ac3dbad4dd Fix a bug caused by newly added delete password button 2017-03-22 19:06:53 -07:00
Bob Sun
0c241facd6 Simplify AdvancedSettingsTableViewController class 2017-03-22 17:50:32 -07:00
Bob Sun
4a9ec89a6c Check illegal character before adding a new password 2017-03-22 17:42:37 -07:00
Bob Sun
d83b17c629 Fix a warning
Use a variable to store return value to avoid warning.
2017-03-22 17:40:04 -07:00
Yishi Lin
5a02cb726e Improve the password length slider
- the slider appears after clicking "generate"
- the slider goes away after clicking a non-password-related section
- generate new password if the slider value changes
2017-03-23 01:28:46 +08:00
Bob Sun
e4e20b1d6f
Polish code of GitServerSettingTableViewController 2017-03-21 23:05:52 -07:00
Bob Sun
972062935c
Polish code of PGPKeySettingTableViewController 2017-03-21 23:03:28 -07:00
Bob Sun
e9b40828cc
Simplify code of SSHKeySettingTableViewController 2017-03-21 22:46:05 -07:00
Bob Sun
7c7f32803d
Fix a bug caused by typo 2017-03-21 22:36:00 -07:00
Bob Sun
c21502a10f
Merge and resolve conflit 2017-03-21 13:34:26 -07:00
Bob Sun
ee9776ab71
Support deleting password 2017-03-21 13:16:25 -07:00
Yishi Lin
93901ec010 Polish codes about password details
- in Password.swift: allow get otpType
- in PasswordDetailTableVC.swift: make many things private
- in LabelTableViewCell: remove password and password entity
- in Globals: add password dots and fonts
2017-03-22 01:50:56 +08:00
Yishi Lin
131c3af873 Refresh the password table after getting the next HOTP password. 2017-03-22 00:22:47 +08:00
Bob Sun
1141e267d9
Delete log messages 2017-03-20 21:51:29 -07:00
Bob Sun
f0b4d2990e
Simplify about repository controller 2017-03-19 14:36:20 -07:00
Bob Sun
035da94ad9
Remove indicator label during decrypting password since decryption become really fast 2017-03-17 10:25:10 -07:00
Yishi Lin
1f829fffcc Polish notification
- define notification names
- move "post notification" to PasswordStore (todo: move "search" and the one for "show folder switch")
- "erase" and "reset" also post the "passwordStoreUpdated" notification
2017-03-18 00:30:14 +08:00
Bob Sun
0ad9713fc0
Show error in alert instead of HUD 2017-03-16 23:12:31 -07:00
Bob Sun
d2cff20131 Put PasswordStore as instance in controllers 2017-03-16 22:39:03 -07:00
Bob Sun
d338e725d5 Polish logic on initializing PGP keys.
- simplify interfaces
- more robust
2017-03-16 22:06:39 -07:00
Bob Sun
5dd741f6fa
Fix #57.
Casting cell class to parent cell class will trigger the crash.
2017-03-15 23:03:43 -07:00
Bob Sun
f573be9ee0 Fix #54: try other ways to load favicon
- try to replace http to https
- if a url does not start with http or https, try to add https
- return if cannot form a URL
2017-03-15 14:14:42 -07:00
Bob Sun
83e55403e5 Merge branch 'master' of github.com:mssun/passforios 2017-03-15 13:10:28 -07:00
Bob Sun
89b3924b7a
Call shouldPerformSegue before performSegue
Because performSegue will not automatically call shouldPerformSegue as segue in Storyboard.
2017-03-11 21:09:24 -08:00