Commit graph

74 commits

Author SHA1 Message Date
Danny Moesch
38b44cedf8 Add missing error messages and name them consistently
Since the AppError enum is suffixed with 'Error', the elements itself do not need this suffix, too.
2019-01-20 21:04:04 -08:00
Danny Moesch
1b4040135e Localize strings in code 2019-01-20 21:04:04 -08:00
Danny Moesch
6b4dbd50a9 Support custom branches (#236) 2019-01-13 15:34:01 -08:00
Danny Moesch
744b46adc2 Do not show 0 if numbers in "About Repository" cannot be obtained properly 2019-01-12 16:36:37 -08:00
Danny Moesch
f47e7d384c Show correct number of commits in "About Repository" 2019-01-12 16:36:37 -08:00
Danny Moesch
64956c6643 Simplify code 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
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
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
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
Bob Sun
2bfb36c527
Cleanup code of error handling 2018-11-17 21:41:28 -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
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
Shuanglei Tao
8d117f1b1e Fix commit log view nil error 2018-10-11 13:41:47 +08:00
Yishi Lin
1ab70cf6d7 Move codes from utils to password and passwordstore 2018-09-23 22:00:06 +08:00
Danny Moesch
ddddfda931 Use own parser for multiline values giving up Yams 2018-08-13 23:12:30 -07:00
Danny Moesch
904d04d71c Use computed properties instead of separate getter methods 2018-08-13 23:12:30 -07:00
Danny Moesch
f76721d7fe Simplify/Tweak Password.swift 2018-08-13 23:12:30 -07:00
Danny Moesch
b7a0cbaef6 Animate "AdditionField" struct to avoid usage of tuple "(String, String)" 2018-08-13 23:12:30 -07:00
Bob Sun
6ab976ad82 Use master objective-git cause it include the latest libgit2-0.27 2018-06-15 11:37:59 -07:00
Bob Sun
eabebe1a53 Revert "Fix the oid error introduced by the latest ObjectiveGit"
This reverts commit 65e0cfdf1f.
2018-05-27 15:33:36 -07:00
Yishi Lin
89a2018e89 Fix a bug of showing digital entries 2018-05-21 01:28:00 +08:00
Bob Sun
65e0cfdf1f Fix the oid error introduced by the latest ObjectiveGit 2018-05-18 19:05:43 +08:00
Yishi Lin
6538634680 Delete files before cleaning up dirs 2018-04-12 00:52:10 +08:00
Yishi Lin
fe80ed3dc8 Merge branch 'develop' into new_passcode_lock 2018-04-07 01:48:32 +08:00
Yishi Lin
867a59b513 Keep the first line as the password even if it is empty 2018-04-07 00:39:56 +08:00
Yishi Lin
3ffbf68ab8 Avoid crash during yaml parsing 2018-04-07 00:17:00 +08:00
Yishi Lin
54c7acf651 Check duplicated tags before parsing a file as yaml 2018-04-07 00:16:28 +08:00
Yishi Lin
bbab5a62d5 Merge develop into new passcode lock 2018-03-24 09:42:55 +08:00
Danny Moesch
3a0e6fa3f6 Consider OTP tokens as possible lines in password files 2018-03-17 20:56:55 -07:00
Danny Moesch
673aee1e7a Protect YAML parser against empty input string 2018-03-17 20:56:55 -07:00
Danny Moesch
69bafeb672 Introduce class constants for the strings "otpauth" and "otpauth://" 2018-03-17 20:56:55 -07:00
Danny Moesch
caa5ce77a3 Use YAML library to parse password files 2018-03-17 20:56:55 -07:00
Yishi Lin
da3c4f0bc0 Self-maintained passcode lock
- No cancel button anywhere in the passcode lock yet
- Poor UI
2018-01-29 03:23:34 +08:00
Bob Sun
4d8ebe5b25
Update ObjectivePGP 2018-01-14 21:54:38 -08:00
Yishi Lin
15ed7aaf2f Update Safari extension search logic #138
- Match the entered text in each pathname levels
2017-10-28 15:32:30 +08:00
Danny Moesch
31172a1985 Correct commit message used after editing a password 2017-10-19 11:47:49 +02:00
Yishi Lin
54bd42d2fb Fix a bug in file name checking 2017-10-16 04:14:11 +08:00
Yishi Lin
f136ebee48 Mark both unsynced files and unsynced folders 2017-10-15 22:36:30 +08:00
Yishi Lin
b9ef596bfb Add more password name checks. 2017-10-15 22:15:16 +08:00