Commit graph

290 commits

Author SHA1 Message Date
Bob Sun
f36899a8ad Change getNumberOfUnsynced to numberOfLocalCommits 2017-03-22 19:07:41 -07:00
Bob Sun
ac3dbad4dd Fix a bug caused by newly added delete password button 2017-03-22 19:06:53 -07:00
Bob Sun
0c241facd6 Simplify AdvancedSettingsTableViewController class 2017-03-22 17:50:32 -07:00
Bob Sun
4a9ec89a6c Check illegal character before adding a new password 2017-03-22 17:42:37 -07: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
Yishi Lin
5a02cb726e Improve the password length slider
- the slider appears after clicking "generate"
- the slider goes away after clicking a non-password-related section
- generate new password if the slider value changes
2017-03-23 01:28:46 +08:00
Bob Sun
e4e20b1d6f
Polish code of GitServerSettingTableViewController 2017-03-21 23:05:52 -07:00
Bob Sun
972062935c
Polish code of PGPKeySettingTableViewController 2017-03-21 23:03:28 -07:00
Bob Sun
e9b40828cc
Simplify code of SSHKeySettingTableViewController 2017-03-21 22:46:05 -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
f0b4d2990e
Simplify about repository controller 2017-03-19 14:36:20 -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
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
5dd741f6fa
Fix #57.
Casting cell class to parent cell class will trigger the crash.
2017-03-15 23:03:43 -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
83e55403e5 Merge branch 'master' of github.com:mssun/passforios 2017-03-15 13:10:28 -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
35a5270166
Make commit logs align 2017-03-11 00:10:56 -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
ff947f8e17
Move get category text logic to model 2017-03-10 23:08:17 -08:00
Yishi Lin
d1476c1d40 Improve the about repository page refresh 2017-03-11 02:21:01 +08:00
Yishi Lin
db4413d6ba Polish the "discard all local changes" feature 2017-03-11 02:18:03 +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
11066d0bb6 Automatically update the "about repository" page when the repository gets updated 2017-03-11 01:01:23 +08:00
Petteri Valkonen
a209933c20 Fix typo 2017-03-09 12:45:05 -08:00
Bob Sun
6c9b9df7ed Set minimum password length of generated password to six 2017-03-08 20:39:08 -08:00
Bob Sun
3336c472e0
Merge branch 'master' of github.com:mssun/passforios 2017-03-08 15:06:10 -08:00
Yishi Lin
5116cd4f3d Polish code about edit/add passwords 2017-03-09 03:19:36 +08:00
Yishi Lin
56edfcfb9c Fix a bug about adding new password with empty name / without PGP key 2017-03-09 02:39:13 +08:00
Yishi Lin
07782bd662 Customizing length of passwords (while adding passwords) 2017-03-09 02:19:47 +08:00
Bob Sun
fc387713e4
Add OneTimePassword to "Open Source Components" page 2017-03-08 09:29:47 -08:00
Bob Sun
d761dd1fc5
Update wording 2017-03-08 00:58:10 -08:00
Bob Sun
ad0c39b541
Add option to select two flavors of password generator: random and apple's (keychain) 2017-03-08 00:57:49 -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
0c9cd85fd9 Merge pull request #47 from raxod502/phassphrase
Fix typo: Phassphrase => Passphrase
2017-03-07 01:44:57 +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
Radon Rosborough
067036c9e6 Fix typo: Phassphrase => Passphrase 2017-03-05 21:14:49 -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
5c966c62d4 Fix a bug.
Previously, for a password, if we click "edit", do nothing, and save, there will be a new commit.
2017-03-03 20:15:16 +08:00