Commit graph

35 commits

Author SHA1 Message Date
Danny Moesch
7f9f0e43b2 Format code with SwiftFormat automatically in every build 2020-08-25 15:10:13 -07:00
Yishi Lin
71c793029a Polish codes related to password generation
1. Polish codes in PasswordGeneratorFlavour
2. Polish related codes in view controllers
2020-02-23 00:39:14 +08:00
Danny Moesch
a2edf41d33 Update SwiftyUserDefaults to current version 5.0.0 2020-01-01 19:03:04 -08:00
Danny Moesch
b60ce3b003 Fix #340: Always end password entries with a newline 2019-12-10 22:03:49 -08:00
Mingshen Sun
a0d62eb3c8
polish details on UI 2019-06-09 15:25:07 -07:00
Danny Moesch
116e258d05 Localize more strings in password view 2019-02-23 14:22:27 -08:00
Danny Moesch
2d5ca58bd9 Use PasswordGeneratorFlavor class to set user defaults and UI elements 2019-01-20 21:04:04 -08:00
Mingshen Sun
ed387069a4
lint: delete trailing whitespaces 2018-12-09 16:59:07 -08:00
Danny Moesch
3cd8df310c Introduce enum for password generator flavour 2018-12-05 12:59:04 -08:00
Danny Moesch
7c12263458 Separate parser and helpers from Password class for better testability 2018-11-11 11:30:39 -08:00
Bob Sun
2abbceb2e9
Set name and url in Password non-optional
Name and url in Password class shouldn't be optional because we store
them in core data as non-optional. This change also help us to avoid
man unneccessary unwrap.
2018-11-10 22:38:12 -08:00
Yishi Lin
aca01c8c72 Support generating memorable pwd: open xkpasswd 2018-08-30 01:26:45 +08:00
Yishi Lin
b9ef596bfb Add more password name checks. 2017-10-15 22:15:16 +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
dd3c8b9164 Hide the password generation setting on Apple Keychain style (close #84) 2017-05-26 00:37:00 +08:00
Yishi Lin
034f43220b Polish the password editor table view 2017-04-27 23:26:12 +08:00
Yishi Lin
165af8588a Fix the name cell of the password editor table
- Update the data table after user's editing.
2017-04-27 23:07:22 +08:00
Bob Sun
dd254b21d9
Polish folder related methods 2017-04-26 20:28:15 -07:00
Bob Sun
055ea243a3
Improve edit password to make it consistent with Pass 2017-04-25 13:01:17 -07:00
Bob Sun
594e7f4c53
Add essential checks before save edited password 2017-04-23 10:23:05 -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
7814a8761e Support adding otpauth via QR code.
- Check duplicated tokens has not been implimented.
2017-04-08 03:17:22 +08:00
Bob Sun
894a6cc54c
Fix a bug found in internal test caused by casting 2017-04-01 09:48:41 -07:00
Yishi Lin
2107954cd3 Fix a bug introduced by commit 5a02cb7 .
- In that commit, the "delete password" in the edit view would be disabled by the presence of the "password length slider".
2017-03-24 01:10:26 +08:00
Bob Sun
ac3dbad4dd Fix a bug caused by newly added delete password button 2017-03-22 19:06:53 -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
ee9776ab71
Support deleting password 2017-03-21 13:16:25 -07:00
Yishi Lin
5116cd4f3d Polish code about edit/add passwords 2017-03-09 03:19:36 +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
Bob Sun
2829e9145d
add additional field example in the footer of addition cell 2017-02-21 01:06:03 +08:00
Bob Sun
edfd8c97a7
simplify alert code 2017-02-16 00:54:42 +08:00
Bob Sun
4f82de061d
handle addition filed is empty 2017-02-15 21:25:26 +08:00
Bob Sun
869f06e00f
change update password related functions 2017-02-15 20:01:17 +08:00
Bob Sun
ae93727c6b
only prepare saveEditPasswordSegue 2017-02-13 11:42:28 +08:00
Bob Sun
b2ee8c429f
support edit password 2017-02-13 01:15:42 +08:00