Commit graph

88 commits

Author SHA1 Message Date
Yishi Lin
a31f5b797d No need to import SSH public key 2017-06-07 01:06:53 +08:00
Bob Sun
b2d93c8a70
Fix cannot removing PGP keys 2017-06-03 18:12:33 -07:00
Bob Sun
89f2d6e764
Check oid before calling localCommitsRelative to avoid crashes 2017-05-10 09:29:23 -07:00
Bob Sun
53ea744bb6
Simplify PasswordStore model 2017-05-01 11:33:06 -04:00
Bob Sun
eba79da0e6
Polish and simplify PasswordStore model class 2017-04-30 16:16:52 -05:00
Bob Sun
3267b29bd7
Fix an issue in requesting ssh key passphrase 2017-04-28 21:25:30 -07:00
Bob Sun
1311962dc1
Polish credential related logic 2017-04-28 20:33:41 -07:00
Bob Sun
649d709369
Correct git signature logic 2017-04-27 23:57:15 -07:00
Mingshen Sun
b429a6baf1
Polish logic of setting git signature 2017-04-27 21:48:10 -07:00
Yishi Lin
8d0553a417 Keep the last sync time after discarding local changes 2017-04-27 23:46:19 +08:00
Yishi Lin
f37efd24a4 Show default git signature in its setting
- Fix a small bug of getting gitSignatureForNow
- Polish gitSignatureForNow
2017-04-27 23:40:33 +08:00
Bob Sun
98cc71bf30
Fix gitRm issue 2017-04-26 23:02:05 -07:00
Bob Sun
b3e7ed25cd
Fix encoding issue 2017-04-26 23:01:42 -07:00
Bob Sun
dd254b21d9
Polish folder related methods 2017-04-26 20:28:15 -07:00
Bob Sun
a499be7628
Fix an edit bug caused by wrong password url 2017-04-25 22:33:37 -07:00
Bob Sun
adbb5e89bc
Fix an edit bug, forget to post notification 2017-04-25 20:58:48 -07:00
Bob Sun
055ea243a3
Improve edit password to make it consistent with Pass 2017-04-25 13:01:17 -07:00
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
c769c4126b Polish initial PGP key error messages 2017-04-09 00:25:04 +08:00
Bob Sun
97d66a8acc
Support ASCII-armored and iTunes uploaded SSH key 2017-04-02 11:21:24 -07: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
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
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
f36899a8ad Change getNumberOfUnsynced to numberOfLocalCommits 2017-03-22 19:07:41 -07:00
Bob Sun
ee9776ab71
Support deleting password 2017-03-21 13:16:25 -07: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
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
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
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
16830b8b92 Improve the message. 2017-03-03 20:16:06 +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
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
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
88bf3a0d18
Clone if password store directory is not existed 2017-02-27 17:30:33 +08:00