Commit graph

57 commits

Author SHA1 Message Date
Bob Sun
099d8f2d53
Prettify UI 2017-04-07 17:21:48 -07:00
Bob Sun
85ea29e8f6
Fix UITextView inner margin to zero 2017-04-07 10:05:30 -07:00
Bob Sun
66b8550a40
Set selectable to .none for some info cells 2017-04-05 11:07:05 -07:00
Yishi Lin
c10f6a7ba0 Using “next" as a return key
- Usage: set delegate and nextField of textField (storyboard or code)
2017-04-06 00:55:41 +08:00
Yishi Lin
2519472ba2 Polish the label table view cell 2017-04-05 23:15:03 +08:00
Bob Sun
63caaadaca
Fix alignment issue 2017-04-03 11:14:19 -07:00
Bob Sun
bf501c15bb
Delete unusable cell controller and corresponding UI, fix alignment issue 2017-04-02 21:22:14 -07:00
Bob Sun
445c52b82e
Make leading spaces of customised TableViewCell consistent with system's 2017-04-02 16:05:25 -07:00
Bob Sun
b89773c9cd
Fix a bug which long password overlaps with the generate button. 2017-04-02 15:38:27 -07:00
Yishi Lin
990a8f341c Increase the "hit area" of buttons in table view cells 2017-03-31 22:15:30 +08:00
Yishi Lin
d28dde8719 Merge, fix conflict 2017-03-31 03:10:25 +08:00
Yishi Lin
abb04432fb Add buttons in the detail password table
- An icon to show/hide passwords
- An icon to refresh HOTP passwords
2017-03-31 03:08:20 +08:00
Bob Sun
ba20d084e4
Fix a bug when value is empty 2017-03-29 22:50:37 -07:00
Yishi Lin
abce9d7be5 Update fill password UI
- Click the setting icon to show or hide the slider.
- Clicking on other sections does not work now (remove gesture)
2017-03-30 01:17:22 +08:00
Yishi Lin
c93a63d8cc Password with "Apple" flavor has a fixed length 2017-03-29 00:00:24 +08:00
Yishi Lin
ca66cd8e6c Fix the color the passwords
- in the password editing view
- color of some characters
2017-03-24 01:34:45 +08: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
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
b18f5741b0 Fix a bug about font 2017-03-22 01:57:51 +08: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
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
d2cff20131 Put PasswordStore as instance in controllers 2017-03-16 22:39:03 -07:00
Bob Sun
83e55403e5 Merge branch 'master' of github.com:mssun/passforios 2017-03-15 13:10:28 -07: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
Yishi Lin
453e6d251a Fix the overlap between a long password and the "Generate" button 2017-03-10 23:04:33 +08:00
Bob Sun
9ddc7af4f4 Fix height of password length slider same as others 2017-03-08 20:32:09 -08:00
Bob Sun
98913c4fc3 Update slider cell UI 2017-03-08 19:57:38 -08:00
Yishi Lin
5116cd4f3d Polish code about edit/add passwords 2017-03-09 03:19:36 +08:00
Yishi Lin
07782bd662 Customizing length of passwords (while adding passwords) 2017-03-09 02:19:47 +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
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
yishilin14
a6783aafeb Fix warnings about password detail title layout 2017-03-02 03:11:16 +08:00
yishilin14
dde194ad3d Copy generated passwords to the clipboard. 2017-02-28 13:07:23 +08:00
yishilin14
30ae32ec5f Show generated passwords with colors 2017-02-26 00:58:18 +08:00
Bob Sun
8e580e3dad
make variable name simple 2017-02-24 23:54:17 +08:00
yishilin14
5e581aa6da Update password colors 2017-02-24 21:35:49 +08:00
yishilin14
d3e02a12fa Fix fonts 2017-02-24 21:33:36 +08:00
yishilin14
3e0ba8a1d5 Color passwords (red digits, blue punctuations) 2017-02-24 00:24:39 +08:00
yishilin14
2f3ccc9c07 clear pasteboard after 45 seconds 2017-02-23 17:56:12 +08:00
Bob Sun
70166c9901
fix a bug caused by keychain modifications 2017-02-20 11:48:39 +08:00
Bob Sun
4968f3e867
try to compatible with Swift 3.1 2017-02-15 15:29:06 +08:00
Bob Sun
286f90b92e
make addition textview responsive 2017-02-13 11:42:04 +08:00
Bob Sun
b2ee8c429f
support edit password 2017-02-13 01:15:42 +08:00
Bob Sun
975a7ffccc
update UI 2017-02-12 11:44:56 +08:00
Bob Sun
43524874a5
re-organize file structure 2017-02-12 11:00:45 +08:00
Bob Sun
a131634ef6
equal height with superview 2017-02-11 23:41:36 +08:00
Bob Sun
95aa28701b
change generate button height to make it easy to tap on 2017-02-11 23:39:55 +08:00
Bob Sun
31c1805d14
reverse color for generate button 2017-02-11 22:00:24 +08:00
Bob Sun
9f3b13f8b0
generate random password 2017-02-11 22:00:04 +08:00