Commit graph

119 commits

Author SHA1 Message Date
Bob Sun
1d4939a85d Fix refreshControl position 2017-09-24 22:53:00 -07:00
Bob Sun
70bf15b80c Fix refreshControl offset issue 2017-09-24 22:52:28 -07:00
Yishi Lin
774f05eae0 Convert to Swift 4
- Will fix all warnings next.
2017-09-23 16:29:03 +08:00
Yishi Lin
a4efe57db9 Fix the "clearing passwords in 45s" function
- Copied passwords in the extension are not cleaned.
2017-07-27 23:56:24 +08:00
Yishi Lin
f86a5eee65 Simplify codes 2017-07-27 22:38:07 +08:00
Jordan Phillips
c7135596e8 Include directory in "All" scope searches 2017-06-23 07:15:47 -07:00
Yishi Lin
7f6900b7cd Fix some "linking against dylib" warning
- Move requestGitPassword to view controllers
- Move Utils.alert out of passKit, because SVProgressHUD is there
2017-06-13 13:19:18 +08:00
Yishi Lin
d2ba620ae4 Move codes to an embed framework
- Move bundle/group identifiers to passKit/Global
- Fix Core Data
- Change Defaults to SharedDefaults
2017-06-13 11:43:46 +08:00
Yishi Lin
a31f5b797d No need to import SSH public key 2017-06-07 01:06:53 +08:00
Bob Sun
b48a7438ed
Avoid crash when table is empty 2017-06-03 22:45:53 -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
Yishi Lin
885319e2e1 Hide the "Decrypting" message before asking for passphrase 2017-05-04 20:47:23 +08:00
Bob Sun
1311962dc1
Polish credential related logic 2017-04-28 20:33:41 -07:00
Bob Sun
1b68c6f718
Fix issue #73 2017-04-23 10:39:28 -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
73ab4f8759
Fix an animation issue when clicking Password button in the root folder 2017-04-05 20:20:26 -07:00
Bob Sun
347a6d7750
Fix end sync control refreshing issue
Use syncAfter to work around.
2017-04-05 20:06:40 -07:00
Bob Sun
bdf8683d4e
Refuse to add a password if PGP key and Git repo are not properly set 2017-04-05 19:33:06 -07:00
Bob Sun
ab0321e518
End refreshing if there is an error 2017-04-05 19:21:50 -07:00
Bob Sun
7a3000fcdd
Support different scope search in folder view 2017-04-04 22:52:02 -07:00
Yishi Lin
e155cbedb3 Update the logic to generate password sections
Using localized indexed collation, instead of the first character.
2017-04-03 22:40:17 +08:00
Bob Sun
bf501c15bb
Delete unusable cell controller and corresponding UI, fix alignment issue 2017-04-02 21:22:14 -07:00
Bob Sun
97d66a8acc
Support ASCII-armored and iTunes uploaded SSH key 2017-04-02 11:21:24 -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
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
668b798cd5 Get the folder transition animation back... 2017-03-25 00:44:53 +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
f36899a8ad Change getNumberOfUnsynced to numberOfLocalCommits 2017-03-22 19:07:41 -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
89b3924b7a
Call shouldPerformSegue before performSegue
Because performSegue will not automatically call shouldPerformSegue as segue in Storyboard.
2017-03-11 21:09:24 -08:00
Bob Sun
3964ca64ed
Show category info after an password entry when show password folder is off 2017-03-10 23:08:17 -08:00
Bob Sun
faf1ece5c3
Tap tab bar to go back previous folder, double tap will scroll to top 2017-03-02 22:55:41 +08:00
Bob Sun
cbbd7e08b6
Polish code 2017-03-02 22:10:41 +08:00
Bob Sun
f271d4870a
Show disclosure indicator for folder only 2017-03-02 22:10:27 +08:00
Bob Sun
8ede589c71
Refactor iniPasswordsTableEntries function to simplify code 2017-03-02 21:39:48 +08:00
Bob Sun
bdc2cfaaa8
Show error when adding password with same name 2017-03-02 17:26:12 +08:00
Bob Sun
90c468acef
Polish and simplify code of PasswordView 2017-03-02 16:46:23 +08:00
Bob Sun
e1b5c0d524
Deactive search controller to avoid bugs 2017-03-02 16:45:52 +08:00
Bob Sun
6eb19a4dc6
Polish code of long press to copy 2017-03-02 16:14:24 +08:00
Bob Sun
628ae11e35
Extract adding notification observer functions into one method 2017-03-02 15:58:26 +08:00
Bob Sun
c79624caf0
Directory entry cannot be long pressed 2017-03-02 15:57:39 +08:00
Bob Sun
301309f0cc
Set navigation controller title as folder name 2017-03-02 15:49:46 +08:00
Bob Sun
f75f949ab1
Add switch to turn on/off showing folders 2017-03-02 15:01:52 +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
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