Commit graph

699 commits

Author SHA1 Message Date
Danny Moesch
f9c19b3ca4 Migrate to Swift 5.0 2019-05-01 18:30:13 +02:00
David Beitey
1e5022e404 Hide placeholder with Hide Password Images on
This hides the password image placeholder when `Hide Password Images` is
enabled. Auto-layout constraints are toggled on and off depending on the
setting's value to ensure correct alignment.

Extends #248
2019-03-08 00:30:36 +10:00
Danny Moesch
296a3cbcfa Introduce enum for scope of search bar
This simplifies the handling of the indices in the search bar scope list, replaces strings as keys and allows a proper localization not breaking any logic.
2019-03-05 13:51:39 -08:00
Danny Moesch
553f5ba62b Add German translation for password image hiding option 2019-03-05 13:47:12 -08:00
Danny Moesch
c9a370832f Improve German translation for "About" views 2019-03-05 13:47:12 -08:00
David Beitey
f98d56753b Add ability to hide password images
This disables loading of favicon images associated with password entries
and hides any images that are already loaded, using the generic icon
instead.

The key benefit to this option is to prevent passforios revealing that a
given device has a password in its store, which could be gleaned from
the fact that favicons are being loaded in this manner.
2019-03-03 10:54:30 -08:00
Danny Moesch
8351c16d75 Compute heights of TableViewCells automatically
This is necessary because different languages need different amounts of space. Especially text fields with some more text need to be variable in their heights.
2019-02-23 14:22:27 -08:00
Danny Moesch
73a015616a Support German language 2019-02-23 14:22:27 -08:00
Danny Moesch
3cf55d91ff Display last updated date in absolut instead of relative form
This is necessary to have a language independent representation. For example, the previous format would have produced a grammatically wrong term in German.
2019-02-23 14:22:27 -08:00
Danny Moesch
116e258d05 Localize more strings in password view 2019-02-23 14:22:27 -08:00
Danny Moesch
936d91e415 Add missing dot 2019-02-23 14:22:27 -08:00
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
08c91599b6 Use | operator to concatenate multiline strings 2019-01-20 21:04:04 -08:00
Danny Moesch
2fdd3fd6ec Localize also multiline strings 2019-01-20 21:04:04 -08:00
Danny Moesch
804a0f06bf Add missing SSH private key localization string 2019-01-20 21:04:04 -08:00
Danny Moesch
07b4bf8e8c Fix wrong string 2019-01-20 21:04:04 -08:00
Danny Moesch
df2b5314a1 Correct distance between text blocks 2019-01-20 21:04:04 -08:00
Danny Moesch
10227b8750 Fix typo 2019-01-20 21:04:04 -08:00
Danny Moesch
9827f3672b Localize strings in UI 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
2d5ca58bd9 Use PasswordGeneratorFlavor class to set user defaults and UI elements 2019-01-20 21:04:04 -08:00
Danny Moesch
857a8f44bf Prepare for localization 2019-01-20 21:04:04 -08:00
Mingshen Sun
88481ad2b0
Release 0.5.1 and version bump to 0.6.0 2019-01-13 18:48:10 -08:00
Mingshen Sun
22d748dca6
Reset the row height to default 2019-01-13 16:05:57 -08:00
Danny Moesch
97d79c64e0 Place "branch name" text field over "user name" text field 2019-01-13 15:34:01 -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
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
5780a439db Show number of hidden fields in password view 2018-12-08 21:15:51 -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
3cd8df310c Introduce enum for password generator flavour 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
dfc13a37d3
Refactor logics of handling the PasswordStore model's properties 2018-11-16 22:28:19 -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
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
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
3cc2182bc0 Fix #213: app now clears clipboard in 45s 2018-09-25 00:51:18 +08:00