Commit graph

62 commits

Author SHA1 Message Date
Bob Sun
e549db0714
Change notification observer from "showPassword" to "decryptThenShowPassword"
- avoid crash when password has been deleted
2017-06-03 17:50:33 -07:00
Yishi Lin
20f2e22076 Fix a bug about remembering pgp passphrase
- Do not keep the wrong passphrase
2017-05-08 21:12:48 +08:00
Bob Sun
055ea243a3
Improve edit password to make it consistent with Pass 2017-04-25 13:01:17 -07:00
Bob Sun
d8ecd1e889
Support folder operations
Example:
  - add: a/b/c/d
  - delete: a/b/c/d
  - move: a/b/c/d -> a/b/c/d/e
2017-04-23 10:03:09 -07:00
Bob Sun
b1ef8a343f
Fix some issues may cause crash 2017-04-10 22:09:39 -07:00
Yishi Lin
4eba8f7800 Fix bugs about getting next HOTP
- correctly increase the otpauth counter now
- fix bugs about re-initializing password
2017-04-09 02:54:05 +08:00
Yishi Lin
2519472ba2 Polish the label table view cell 2017-04-05 23:15:03 +08:00
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
Bob Sun
05a551781c
Fix an issue of tableView content inset in password detail view 2017-03-29 22:16:57 -07:00
Yishi Lin
0f9b95eaa9 Polish codes about OTP 2017-03-24 23:14:44 +08:00
Yishi Lin
95b3a7fcd3 Update views after setting updates 2017-03-24 20:40:24 +08: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
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
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
d2cff20131 Put PasswordStore as instance in controllers 2017-03-16 22:39:03 -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
ff947f8e17
Move get category text logic to model 2017-03-10 23:08:17 -08:00
Yishi Lin
5ea9a3118b Go back to the "password store" view if user discards all local changes.
- Otherwise, editing an updated entry will crash the app.
- Showing an deleted entry is not reasonable.
2017-03-11 02:14:18 +08:00
Yishi Lin
3cf88dcbc8 Fix a bug about TOTP refresh 2017-03-07 09:50:18 +08:00
Yishi Lin
0dccd911fd Update OTP token generation and support HOTP
- Update logic: Only fields otp_secret and otp_type are required for TOTP. Only fields otp_secret, otp_type and otp_counter are required for HOTP. Other fields (i.e., otp_algorithm, otp_digits, otp_period) are optional.
- Support HOTP: (1) passwords are initially concealed; (2) "tap->next" generates a new password and commits the updated password file automatically
2017-03-07 01:33:44 +08:00
Yishi Lin
2f1721a7e7 Update time-based one time passwords automatically
- Improve how we differ between TOTP and HTOP
2017-03-05 02:54:36 +08:00
Yishi Lin
f2edc2ffaa Support hiding one time password related fields.
- Add a switch to turn on/off one time password related fields.
- Improve how we show the additional information
2017-03-03 17:12:25 +08:00
Yishi Lin
3dac155d6c Provide basic support about one time password (totp only) 2017-03-03 14:45:16 +08:00
Bob Sun
f3497cdc0f
Merge commits and resolve conflits 2017-03-02 15:32:11 +08:00
Bob Sun
050a960167
Support folder in password view
- change core data
  - change data struct to store table view entry
  - delete unnecessary functions
2017-03-02 14:51:40 +08:00
yishilin14
8798be65b5 Use relative time to present last updated time 2017-03-02 00:35:11 +08:00
Bob Sun
6d7bf62cf7
Fix a bug caused by initializing editUIBarButtonItem with self in action
Change to lazy initialization variable can fix it.
2017-02-28 17:52:00 +08:00
Bob Sun
fa512e6c86
Add switch to turn on/off remembering passphrase
If the switch is on, users need  to type passphrase of secret key once. The key will be stored in the Keychain.

If the switch is off, users have to fill in passphrase for each decryption including show password detail and long press to copy.
2017-02-28 12:25:52 +08:00
Bob Sun
1c45766b96
Use gray instead of lightGray to show last updated time 2017-02-27 17:37:53 +08:00
yishilin14
55b7e4303b Update the logic of showing latest commit time 2017-02-27 15:21:25 +08:00
yishilin14
c2db4d4641 Show last commit time of each entry 2017-02-27 08:54:51 +08:00
yishilin14
2f3ccc9c07 clear pasteboard after 45 seconds 2017-02-23 17:56:12 +08:00
Bob Sun
a2bcbe1804
show error alert window when cannot decrypt password 2017-02-22 12:56:06 +08:00
Bob Sun
ceb52a5b33
show unsynced symbol in the name of password in password detail page 2017-02-19 00:55:13 +08:00
Bob Sun
83b9762122
solve core data conflict caused by updating password entity image 2017-02-16 13:24:41 +08:00
Bob Sun
1b5e98e987
disable edit button before finishing decryption 2017-02-15 21:25:03 +08:00
Bob Sun
77945b11f8
move showProgress method to main thread 2017-02-15 21:11:22 +08:00
Bob Sun
869f06e00f
change update password related functions 2017-02-15 20:01:17 +08:00
Bob Sun
9eb5f57b80
only compare prefix 2017-02-15 16:20:36 +08:00
Bob Sun
2546666d91
remove commented code 2017-02-14 16:43:06 +08:00
Bob Sun
3ffb2fa9ac
fix bugs 2017-02-14 16:08:10 +08:00