Commit graph

26 commits

Author SHA1 Message Date
Martin Nowak
3ab334dd00 fix #488 - support user field for completion
- a few other backends use `user` instead of `username` or `login`
  (e.g. gopass-jsonapi, keepass2csv importer, fpm2 importer)
- shorter to type when extracting field separately (e.g. CLI/clipboard) tools
2023-01-22 09:44:41 -08:00
Danny Moesch
b7e08dfb9e Enable SwiftLint rule 'static_operator' and fix all violations 2021-10-07 19:48:57 +02:00
Danny Mösch
3eea063d61
Fix issues with OTP notification (#517)
* Use "Beta" since this is what Apple uses too
* Actually copy the OTP if the option is set
* Shorten notification text to make it fit to smaller screens
* Set notification center delegate before app launches
* Fix SwiftFormat issue fixed with version 0.48.12
2021-10-03 17:20:22 -07:00
Danny Mösch
32b7c9b635
Some cleanup especially regarding method references (#516)
* Remove superfluous method arguments in method references

* Use 'Self' for internal static access

* Convert static to instance field in singleton class

* Remove class name prefix in references to local methods

* Remove nested frameworks in all extensions and frameworks
2021-10-02 20:46:07 -07:00
Mingshen Sun
f2ab400f4b
Support Steam OTP (#505) 2021-09-06 10:47:04 -07:00
Danny Mösch
3eb131b65d
Fix file headers (#494) 2021-08-27 22:32:31 -07:00
Danny Moesch
e8389eb262 Enable SwiftLint rule 'identifier_name' and handle all violations 2020-09-20 17:25:50 -07:00
Danny Moesch
50b2e0f088 Enable SwiftLint rule 'implicit_return' and fix violation 2020-09-20 17:25:50 -07:00
Danny Moesch
2e6cf69b03 Enable SwiftLint rule 'convenience_type' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
7f9f0e43b2 Format code with SwiftFormat automatically in every build 2020-08-25 15:10:13 -07:00
Danny Moesch
4c2693e2c7 Name classes/structs consistently 2020-04-19 13:42:41 -07:00
Danny Moesch
56b2205376 Introduce 'splitByNewline' string extension 2020-01-18 15:01:05 -08:00
Danny Moesch
2ffc9ba568 Remove '==' method from AdditionField as it can be inferred 2020-01-18 15:01:05 -08:00
Danny Moesch
e8afd251ed Make 'isUnknown' method more precise 2020-01-18 15:01:05 -08:00
Danny Moesch
1b4040135e Localize strings in code 2019-01-20 21:04:04 -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
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
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
1f57305203 Use constants for otp_* and other related strings 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