Commit graph

973 commits

Author SHA1 Message Date
Danny Moesch
adff0c1142 Fix #258: Remove existing key files before moving new ones to the same location 2019-05-15 22:49:46 +02:00
Yishi Lin
c8860fc36f Fix #263 2019-05-15 02:36:41 +08:00
Yishi Lin
715b8c892f Fix 259: update edited entries properly 2019-05-15 02:14:05 +08:00
Yishi Lin
451e2f6fbb Fix 262: save context after editing 2019-05-15 01:12:10 +08:00
Yishi Lin
ebb3566616 Cleanup old migration codes 2019-05-15 01:09:58 +08:00
Yishi Lin
04b451874d Use new objectivepgp 2019-05-11 03:51:35 +08:00
Yishi Lin
0248425e3c Fix the cocoapods version to 1.5.3 2019-05-11 03:48:25 +08:00
Yishi Lin
39f487ecb9 Update Xcode version 2019-05-10 13:09:44 +08:00
Yishi Lin
9ccc142c05
Merge pull request #261 from SimplyDanny/convert-to-swift-5
Migrate to Swift 5.0
2019-05-10 12:56:07 +08:00
Danny Moesch
44870af774 Trust in assigned default value
In particular, SwiftyUserDefaults returns the default value in case it does not find a value in the dictionary. As the default is '.all' it does not have to be set explicitly. Assigning 'nil' will result in '.all' anyway.
2019-05-04 22:15:23 +02:00
Danny Moesch
4b3e424bb3 Remove superfluous cast 2019-05-03 00:18:14 +02:00
Danny Moesch
c2cd6481fd Utilize default settings values 2019-05-01 18:30:13 +02:00
Danny Moesch
f9c19b3ca4 Migrate to Swift 5.0 2019-05-01 18:30:13 +02:00
Danny Moesch
e06413b348 Add default value to non-optional DefaultsKeys 2019-05-01 18:30:13 +02:00
Danny Moesch
5eb8ce5bb0 Adjust "developmentRegion" 2019-05-01 17:10:16 +02:00
Danny Moesch
89c0d3c98e Assign nil by unwrapping optional 2019-05-01 17:09:34 +02:00
Danny Moesch
9e0d60989b Remove unnecessary returns 2019-05-01 17:08:44 +02:00
David Beitey
1dfaf7c1d2 Localise extensions by copying bundle resources
Previously, the Pass extensions (for autofill and for the sharing sheet)
didn't see their strings being localised. This means that in some cases,
English was the only thing shown and in others strings would look like
`#EnterPasscode#` on the passcode lock screen.  This was because their
build phases didn't reference the localised string files in the `Copy
Bundle Resources` phase.

This change ensures these localisation files are copied and thus the
extensions are now localised for both English and German (so far).
2019-03-08 21:00:24 -08:00
Yishi Lin
32dd3e31ea
Merge pull request #253 from davidjb/hide-placeholder-image
Hide placeholder image when Hide Password Images is on
2019-03-08 11:45:04 +08: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
d67c6b13cb Show category/folder text for autofill entries
Previously, the right-hand side of the autofill extension UI was empty;
the category/folder text for a password entry wasn't showing.

This adjusts the storyboard so the detail is being shown and updates the
underlying Swift code to support the fix.
2019-03-03 10:57:56 -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
d698f2e3c3 Use folder references for all groups and sort files/folders 2019-01-21 20:34:18 -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
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