Commit graph

80 commits

Author SHA1 Message Date
Bob Sun
3e8046eb29
Fix UI bug: #152 2018-01-14 22:35:21 -08:00
Yishi Lin
f136ebee48 Mark both unsynced files and unsynced folders 2017-10-15 22:36:30 +08:00
Yishi Lin
49180d74e6 Show folder path in the "add password" view 2017-10-15 16:49:33 +08:00
Bob Sun
479453a7e3 Remove badge value of tab bar item when numberOfLocalCommits is zero 2017-10-10 22:15:10 -07:00
Bob Sun
0f39fa5567 Show number of local commits in tabbar badge instead of title 2017-10-10 00:37:50 -07:00
Yishi Lin
fad95208cc Merge branch 'develop' of https://github.com/mssun/passforios into develop 2017-10-08 21:38:53 +08:00
Yishi Lin
d0bad8660b Provide the 'remember git credential passphrases' option 2017-10-08 21:37:58 +08:00
Bob Sun
3215fb2901 Do not hide search bar when scrolling 2017-10-07 23:14:00 -07:00
Bob Sun
c57ae4f88e Use iOS 11 design language 2017-10-07 00:24:30 -07:00
Bob Sun
ac7296f75c Change search bar height 2017-09-24 23:49:16 -07:00
Bob Sun
8d969adb5c Optimize refreshControl ending time 2017-09-24 22:55:24 -07:00
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