Commit graph

1023 commits

Author SHA1 Message Date
Danny Moesch
64956c6643 Simplify code 2018-12-18 10:06:45 -08:00
Danny Moesch
9e027b878a Replace TableCell struct with AdditionField 2018-12-18 10:06:45 -08:00
Mingshen Sun
ed387069a4
lint: delete trailing whitespaces 2018-12-09 16:59:07 -08:00
Danny Moesch
2ba6917710 Test also counting of unknown and OTP related fields 2018-12-08 21:15:51 -08:00
Danny Moesch
e019f6ac9d Introduce some helper methods in TestBase to simplify PasswordTest 2018-12-08 21:15:51 -08:00
Danny Moesch
fa12a6f046 Move constants from ParserTest to TestBase 2018-12-08 21:15:51 -08:00
Danny Moesch
57acc6ecb5 Move helper methods from PasswordTest to common TestBase 2018-12-08 21:15:51 -08:00
Danny Moesch
5780a439db Show number of hidden fields in password view 2018-12-08 21:15:51 -08:00
Danny Moesch
68dd60fb8e Introduce utility methods to test for unknowns and OTP keywords 2018-12-08 21:15:51 -08:00
Danny Moesch
bb6e44950f Add missing word 2018-12-08 21:11:58 -08:00
Danny Moesch
7f330fbeed Use HTTPS for URLs by default 2018-12-08 21:11:58 -08:00
Danny Moesch
f8f858f15e Pass content of URL field to 'openLink' method
Previously, 'openLink' has chosen the first URL field contained in the
password file. Since the action "Copy & Open" is performed on a specific
field, only its content should be considered.
2018-12-08 21:11:58 -08:00
Danny Moesch
9b7fc4219e Consider fields only as URL fields if the title contains "url" 2018-12-08 21:11:58 -08:00
Danny Moesch
3cc7510b29 Ignore case of OTP keywords when deciding whether to hide them 2018-12-05 12:59:04 -08:00
Danny Moesch
cfb50276bc Add description field to OtpType 2018-12-05 12:59:04 -08:00
Danny Moesch
469451b7b7 Move parts of the documentation into the TokenBuilder class 2018-12-05 12:59:04 -08:00
Danny Moesch
2e744a760f Introduce TokenBuilder to build up OTP tokens conveniently 2018-12-05 12:59:04 -08:00
Danny Moesch
6817f61e3b Split PasswordHelpers and move components into Parser 2018-12-05 12:59:04 -08:00
Danny Moesch
d4d8d7267a Tweak Password class 2018-12-05 12:59:04 -08:00
Danny Moesch
3cd8df310c Introduce enum for password generator flavour 2018-12-05 12:59:04 -08:00
Danny Moesch
1f57305203 Use constants for otp_* and other related strings 2018-12-05 12:59:04 -08:00
Danny Moesch
60c509dba0 Remove YAML parsing error 2018-12-05 12:59:04 -08:00
Bob Sun
1f5eaa8bce
Change typography of Raw Password view 2018-11-17 22:38:07 -08:00
Bob Sun
2bfb36c527
Cleanup code of error handling 2018-11-17 21:41:28 -08:00
Bob Sun
9a3131943f
Cleanup unneccessary error handling in the updatePasswordImage function 2018-11-17 21:27:06 -08:00
Bob Sun
f0eb9c47ed
Cleanup unneccessary function in AboutRepositoryTableViewController 2018-11-16 23:12:01 -08:00
Bob Sun
b152d7e1e9
Cleanup unneccessary print 2018-11-16 23:08:35 -08:00
Bob Sun
653ce515ab
Delete the removeFileIfExists funtion
I have no idea why I did write this helper function at the begining.
2018-11-16 22:49:41 -08:00
Bob Sun
dfc13a37d3
Refactor logics of handling the PasswordStore model's properties 2018-11-16 22:28:19 -08:00
Bob Sun
1d07559393
Simplify the numberOfLocalCommits function 2018-11-16 21:12:47 -08:00
Bob Sun
c5f95cfc8f
Fix SplitViewController issue on iPad 2018-11-15 22:39:57 -08:00
Bob Sun
ec3a111fad
Merge views of scanning QR code of SSH and PGP keys 2018-11-15 20:57:14 -08:00
Bob Sun
c48fe3755e
Delete obsolete OTPScannerController 2018-11-15 20:17:00 -08:00
Danny Moesch
97368eb8a8 Fix #228: Trim URL strings before saving 2018-11-13 15:38:18 -08:00
Danny Moesch
b6f94f8814 Introduce string extension property 'trimmed' 2018-11-13 15:38:18 -08:00
Bob Sun
8573c66da2
Only submit to TestFlight when push to the master branch 2018-11-11 15:09:21 -08:00
Bob Sun
e5ea11bd22
Add GITHUB_ACCESS_TOKEN as secure in .travis.yml
This will help to accelerate PR's buliding time. Otherwise,
carthage will try many times to clone related repos.
2018-11-11 14:49:28 -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
Bob Sun
5262ca89f7
Update to xcode 10.1 image in travis ci 2018-11-10 20:48:56 -08:00
Bob Sun
6ed201fdf4
Enable code coverage for tests 2018-11-10 10:46:26 -08:00
Bob Sun
681da40b5b
Upgrade ObjectivePGP to 0.13.0 2018-11-10 00:04:40 -08:00
Yishi Lin
4047cd1ed0
Merge pull request #225 from tsl0922/fix-commit-log
Fix commit log view nil error
2018-10-13 17:50:18 +08:00
Shuanglei Tao
8d117f1b1e Fix commit log view nil error 2018-10-11 13:41:47 +08:00
Yishi Lin
826357ca47 Open xkpasswd (generate memorable pwd) with the app 2018-10-01 01:15:26 +08:00
Yishi Lin
15e90198fe Add hints about how to download keys (fix #215) 2018-09-30 23:31:01 +08:00
Yishi Lin
51680c3ddd Fix #221: Set iOS12 library as optional 2018-09-26 00:48:08 +08:00
Yishi Lin
3cc2182bc0 Fix #213: app now clears clipboard in 45s 2018-09-25 00:51:18 +08:00
Yishi Lin
a849b667dc Support auto fill (no quicktype bar support) 2018-09-24 22:03:14 +08:00
Yishi Lin
5c43fc07dd Update pinfo 2018-09-24 19:11:59 +08:00