Danny Moesch
7bee780b46
Extract key importing logic and put it into separate class
2019-07-02 13:50:16 -07:00
Meris Bahtijaragic
c59c72729b
Get username from filepath. ( #265 )
2019-05-17 23:30:41 +08:00
Danny Moesch
e06413b348
Add default value to non-optional DefaultsKeys
2019-05-01 18:30:13 +02:00
Danny Moesch
d698f2e3c3
Use folder references for all groups and sort files/folders
2019-01-21 20:34:18 -08:00
Danny Moesch
1b4040135e
Localize strings in code
2019-01-20 21:04:04 -08:00
Danny Moesch
2d5ca58bd9
Use PasswordGeneratorFlavor class to set user defaults and UI elements
2019-01-20 21:04:04 -08:00
Danny Moesch
c18b70e7d7
Use XCTAssert instead of XCTAssertTrue
2018-12-18 10:06:45 -08:00
Danny Moesch
ae57042f36
Make sure unknowns and OTP fields are not hidden in PasswordTest
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
68dd60fb8e
Introduce utility methods to test for unknowns and OTP keywords
2018-12-08 21:15:51 -08:00
Danny Moesch
cfb50276bc
Add description field to OtpType
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
b6f94f8814
Introduce string extension property 'trimmed'
2018-11-13 15:38:18 -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
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
213234f57e
Add unit tests for "key: value" syntax in Password class
2018-08-13 23:12:30 -07:00
Yishi Lin
9bb51d209c
Change extension name and folder names
2017-06-15 17:27:02 +08:00