Commit graph

102 commits

Author SHA1 Message Date
Bob Sun
b35d79031d
Refactor logic of requesting git/ssh password callback 2017-04-24 10:53:26 -07:00
Bob Sun
ee077bf026
Fix bugs may introduce crashes 2017-04-23 10:16:50 -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
Yishi Lin
30c73841c6 Allow setting git signature 2017-04-10 23:02:42 +08: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
c769c4126b Polish initial PGP key error messages 2017-04-09 00:25:04 +08:00
Yishi Lin
72e2fcf0b5 Change key value separator from ":" to ": " 2017-04-07 00:01:28 +08:00
Bob Sun
97d66a8acc
Support ASCII-armored and iTunes uploaded SSH key 2017-04-02 11:21:24 -07:00
Bob Sun
729ad0d10b
Support show raw password 2017-03-31 23:03:06 -07:00
Yishi Lin
dc19da52df Fix a bug when value is empty (updated)
- Fix a bug introduced in ba20d084e4
2017-03-30 23:44:24 +08:00
Yishi Lin
0760c07be2 Polish the logic
- Update the entity core data before notifying others "password store updated"
2017-03-30 23:19:04 +08:00
Bob Sun
b85358a0b8
Fix pull to sync bug caused by manipulating core date in background thread 2017-03-29 22:59:30 -07:00
Bob Sun
ba20d084e4
Fix a bug when value is empty 2017-03-29 22:50:37 -07: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
8d0a186c2e Fix a bug about OTP token. 2017-03-27 23:06:32 +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
f5875c519c Support otpauth 2017-03-24 22:47:40 +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
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
Bob Sun
0507c7cdd7 Support encrypting in ASCII-armored format 2017-03-23 19:38:43 -07:00
Bob Sun
f36899a8ad Change getNumberOfUnsynced to numberOfLocalCommits 2017-03-22 19:07:41 -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
Bob Sun
29f9f28e4c
Fix #62 2017-03-19 10:36:59 -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
d338e725d5 Polish logic on initializing PGP keys.
- simplify interfaces
- more robust
2017-03-16 22:06:39 -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
Yishi Lin
3d8c1c8478 Polish commit messages. 2017-03-16 01:10:03 +08:00
Yishi Lin
5ae6de8f23 Fix issue #60
- fix the logic for "git add" and "git commit"
- update the logic for "git remove" (useless function, not tested yet)
2017-03-16 00:01:17 +08:00
Bob Sun
ff947f8e17
Move get category text logic to model 2017-03-10 23:08:17 -08:00
Yishi Lin
3cf88dcbc8 Fix a bug about TOTP refresh 2017-03-07 09:50:18 +08:00
Radon Rosborough
af1ea3ee3e Fix typo: Passwrod => Password 2017-03-06 15:14:21 -08:00
Yishi Lin
c131de0551 Fix a bug about "discard all changes"
- Show the number of (not pushed) commits discarded.
2017-03-07 01:43:23 +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
e48bc5a7a4 Allow discarding all local changes to the password store repo
- Settings > Advanced -> Discard All Local Changes
2017-03-04 01:15:28 +08:00
Yishi Lin
e2b1fec4bb Fix a bug. 2017-03-04 00:56:41 +08:00
Yishi Lin
16830b8b92 Improve the message. 2017-03-03 20:16:06 +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
yishilin14
71cb9a02c0 Polish class Password 2017-03-03 10:49:32 +08:00
yishilin14
c1da27ae04 Merge remote-tracking branch 'origin/master' into otp_dev 2017-03-03 00:14:05 +08:00
yishilin14
7b46311d1c Update the clone call because of the change of libgi2
Merge pull request #459 from libgit2/checkout-options: c0e98a2790
2017-03-03 00:12:28 +08:00
Bob Sun
bdca2c0834
Fix a bug caused by removed PasswordCategoryEnetity in erase method 2017-03-02 20:46:57 +08:00
Bob Sun
83fcfc8bb2
Change method name from exists to repositoryExisted 2017-03-02 17:26:46 +08:00
Bob Sun
bdc2cfaaa8
Show error when adding password with same name 2017-03-02 17:26:12 +08:00
Bob Sun
43b71f2704
Set isDir to false in core data 2017-03-02 15:32:40 +08:00
Bob Sun
f3497cdc0f
Merge commits and resolve conflits 2017-03-02 15:32:11 +08:00