Commit graph

129 commits

Author SHA1 Message Date
Danny Moesch
7f9f0e43b2 Format code with SwiftFormat automatically in every build 2020-08-25 15:10:13 -07:00
Danny Moesch
f167ab7549 Remove sync control if there is no repository set
If there is no local repository set we should not provide the possibility to sync it.
2020-07-26 16:35:38 -07:00
Mingshen Sun
fcc8961e46
Fix fail-safe mechanism for other decryption scenarios 2020-04-18 22:42:25 -07:00
Mingshen Sun
3e114daca1
Implement fail-safe mechanism if key id is not found 2020-04-17 23:56:14 -07:00
Mingshen Sun
e9c5b63c4b Refactor logic of request PGP key passphrase 2020-04-13 21:23:23 -07:00
Danny Moesch
4bed5fcf8b Fix background color during transition
In Dark Mode the transition into a folder and back started and ended with a very noticeable white flicker. Now, the color will be updated before every transition.
2020-03-21 16:02:35 -07:00
Danny Moesch
54e104d2f0 Reload password list when opening the app
Reason is that the state of the repository could have been changed in the background by the Siri shortcut.
2020-03-19 14:46:16 -07:00
Danny Moesch
b3bde9e0e0 Implement Siri shortcut to sync repository per automation task 2020-03-16 10:13:49 -07:00
Yishi Lin
6bf4716366 Better search results 2020-02-23 18:06:14 +08:00
Danny Moesch
a2edf41d33 Update SwiftyUserDefaults to current version 5.0.0 2020-01-01 19:03:04 -08:00
Mingshen Sun
efdc45ea89
Move the request credential function into one file 2019-11-30 23:05:30 -08:00
Mingshen Sun
2f3e51947a
Refactor the request credential function 2019-11-30 22:39:21 -08:00
Mingshen Sun
258906fdbb
Refactor Git URL related code, fix #336 2019-11-30 15:11:28 -08:00
Mingshen Sun
a4b1f87b56
Tap title to change between all and unsynced passwords 2019-11-17 23:25:30 -08:00
Mingshen Sun
b9edcea214
Hide section header if passwords count is less than the threshold (fix #197, #227) 2019-11-17 16:49:14 -08:00
Mingshen Sun
e3d9d4c45c
UI tweaks in Password View 2019-11-17 10:56:23 -08:00
Danny Moesch
98f0367c4c Remove duplicate localizable string key 2019-10-20 11:34:36 -07:00
Mingshen Sun
4c83427a01
Tweak UI of PasswordsView 2019-09-29 23:34:11 -07:00
Mingshen Sun
fcec7d1245
Show folder name in nagivation bar 2019-09-29 15:59:11 -07:00
Yishi Lin
e332b1f3be Do not forget pgp passphrase on decryption error #296 2019-09-30 02:05:01 +08:00
Mingshen Sun
b14f3004e7
Use system image for navigation bar 2019-09-29 01:00:29 -07:00
Danny Moesch
a41bdff6c1 Localize git-pull info message 2019-09-26 13:49:23 -07:00
Danny Moesch
730542d5bb Separate encryption/decryption logic for different frameworks used 2019-09-15 00:32:18 -07:00
Yishi Lin
032e442d78
Merge pull request #292 from SimplyDanny/make-simulator-untouched-by-tests
Do not influence the Simulator by tests
2019-07-21 13:39:53 +08:00
Danny Moesch
b42401343d Let AppKeychain not be static only 2019-07-20 23:42:32 +02:00
Danny Moesch
ea37b40e2f Mark field 'gpgAgent' as never-nil 2019-07-20 22:59:22 +02:00
Yishi Lin
e967bb1f4c Add PGPAgent tests and minor updated 2019-07-20 00:41:45 +08:00
Yishi Lin
6ae4a02a01 Seperate PGPAgent from PasswordStore and add tests 2019-07-17 02:58:01 +08:00
Yishi Lin
0862c1388e Use ObjectivePGP if Gopenpgp fails 2019-07-17 00:19:23 +08:00
Danny Moesch
f1337622dc Store SSH private keys in Keychain instead of files 2019-07-03 21:45:27 -07:00
Yishi Lin
c8860fc36f Fix #263 2019-05-15 02:36:41 +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
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
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
936d91e415 Add missing dot 2019-02-23 14:22:27 -08:00
Danny Moesch
08c91599b6 Use | operator to concatenate multiline strings 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
744b46adc2 Do not show 0 if numbers in "About Repository" cannot be obtained properly 2019-01-12 16:36:37 -08:00
Mingshen Sun
ed387069a4
lint: delete trailing whitespaces 2018-12-09 16:59:07 -08:00
Bob Sun
2bfb36c527
Cleanup code of error handling 2018-11-17 21:41:28 -08:00
Bob Sun
dfc13a37d3
Refactor logics of handling the PasswordStore model's properties 2018-11-16 22:28:19 -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
3cc2182bc0 Fix #213: app now clears clipboard in 45s 2018-09-25 00:51:18 +08:00
Yishi Lin
1ab70cf6d7 Move codes from utils to password and passwordstore 2018-09-23 22:00:06 +08:00
Yishi Lin
29b8313be5 Remember the last search choice between search current/all (issue #198) 2018-08-24 02:02:57 +01:00
Yishi Lin
1afef16fa1 Support swipe back when viewing folder #141 2018-04-12 01:07:19 +08:00
Bob Sun
4f74632789
Fix tabbar tapping double tapping issue 2018-01-16 21:54:00 -08:00
Bob Sun
374c6c8c10
Fix double tap scroll to top issue 2018-01-16 20:04:16 -08:00
Bob Sun
3e8046eb29
Fix UI bug: #152 2018-01-14 22:35:21 -08:00