Compare commits

...

1976 Commits

Author SHA1 Message Date
Philipp Crocoll
cc7ee35500 fix to all entries being recognized as TOTP entries 2021-01-24 07:05:58 +01:00
Philipp Crocoll
2e5ee5f836 Merge branch 'l10n_master2' of https://github.com/PhilippC/keepass2android 2021-01-17 03:17:15 +01:00
Philipp Crocoll
177b36d869 fix bug preventing screen protection to work, closes #1543 2021-01-17 03:13:24 +01:00
Philipp Crocoll
cd484c0398 remove no longer valid note regarding pCloud 2021-01-17 03:12:51 +01:00
PhilippC
a6e3c2024f New translations strings.xml (Hungarian) 2021-01-17 03:07:37 +01:00
PhilippC
31e7037d4f New translations strings.xml (Greek) 2021-01-17 03:07:35 +01:00
PhilippC
13c2e297a8 New translations strings.xml (Japanese) 2021-01-17 03:07:30 +01:00
PhilippC
45d08a5762 New translations strings.xml (Dutch) 2021-01-17 03:07:26 +01:00
PhilippC
0568efc94b New translations strings.xml (Polish) 2021-01-17 03:07:22 +01:00
PhilippC
b61edb44bf New translations strings.xml (Italian) 2021-01-17 03:07:19 +01:00
PhilippC
415d01b36d New translations strings.xml (Portuguese) 2021-01-17 03:07:17 +01:00
PhilippC
b2864feb73 New translations strings.xml (German) 2021-01-17 03:07:14 +01:00
PhilippC
9ddafb6525 New translations strings.xml (Korean) 2021-01-17 03:07:12 +01:00
PhilippC
3771e86169 New translations strings.xml (French) 2021-01-17 03:07:07 +01:00
PhilippC
e8533afe78 New translations strings.xml (Spanish) 2021-01-17 03:07:03 +01:00
PhilippC
28361f4105 New translations strings.xml (Catalan) 2021-01-17 03:06:55 +01:00
PhilippC
110ef46f56 New translations strings.xml (Czech) 2021-01-17 03:06:52 +01:00
PhilippC
5cb23cd9b4 New translations strings.xml (Danish) 2021-01-17 03:06:48 +01:00
PhilippC
6d368e57af New translations strings.xml (Russian) 2021-01-17 03:06:42 +01:00
PhilippC
36bbaa7270 New translations strings.xml (Portuguese, Brazilian) 2021-01-17 03:06:41 +01:00
PhilippC
eb4888c361 New translations strings.xml (Slovak) 2021-01-17 03:06:15 +01:00
PhilippC
1773f9672e New translations strings.xml (Slovenian) 2021-01-17 03:06:11 +01:00
PhilippC
59fbaf87e6 New translations strings.xml (Swedish) 2021-01-17 03:06:05 +01:00
PhilippC
305a2aa6dc New translations strings.xml (Turkish) 2021-01-17 03:06:01 +01:00
PhilippC
ed92b3476f New translations strings.xml (Ukrainian) 2021-01-17 03:05:58 +01:00
PhilippC
b32fa9672f New translations strings.xml (Chinese Simplified) 2021-01-17 03:05:54 +01:00
PhilippC
dd07271550 New translations strings.xml (Chinese Traditional) 2021-01-17 03:05:48 +01:00
Philipp Crocoll
430db12d6f re-add Dutch translations to close #1526. They had been removed because of invalid strings causing crashes, these are now fixed. 2021-01-16 12:27:42 +01:00
PhilippC
53b881c451 New translations strings.xml (French) 2021-01-16 12:27:22 +01:00
Philipp Crocoll
a4219bb9c7 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2021-01-16 11:50:43 +01:00
Philipp Crocoll
7609260218 fix incorrect Unregister/RegisterReceiver calls, closes #1539 2021-01-16 11:50:31 +01:00
PhilippC
2c8bd15474 New translations strings.xml (Slovenian) 2021-01-14 12:20:52 +01:00
PhilippC
d6f3ad8b56 New translations strings.xml (Chinese Simplified) 2021-01-14 04:53:57 +01:00
PhilippC
b9d2f57d41 New translations strings.xml (Greek) 2021-01-13 21:56:45 +01:00
PhilippC
cd34858f9a New translations strings.xml (Japanese) 2021-01-13 21:56:39 +01:00
PhilippC
1639d5abee New translations strings.xml (Dutch) 2021-01-13 21:56:33 +01:00
PhilippC
dd2e4546b9 New translations strings.xml (Korean) 2021-01-13 21:56:21 +01:00
PhilippC
5b6af723b0 New translations strings.xml (Romanian) 2021-01-13 21:56:18 +01:00
PhilippC
9e660f957f New translations strings.xml (French) 2021-01-13 21:56:14 +01:00
PhilippC
1960af5149 New translations strings.xml (Russian) 2021-01-13 21:55:48 +01:00
PhilippC
792d16aba7 New translations strings.xml (Slovenian) 2021-01-13 21:55:06 +01:00
PhilippC
e6e854138b New translations strings.xml (Ukrainian) 2021-01-13 21:54:52 +01:00
PhilippC
2117e5abf9 New translations strings.xml (Chinese Simplified) 2021-01-13 21:54:48 +01:00
PhilippC
04151becfe New translations strings.xml (Chinese Traditional) 2021-01-13 21:54:39 +01:00
Philipp Crocoll
6cc007e47e changelog and manifest for 1.08d-r3 2021-01-13 21:49:47 +01:00
Philipp Crocoll
cd1877d34d fix issue with selecting one of multiple entries for autofill as reported on #1399; also another attempt to work-around the buggy Firefox Autofill 2021-01-13 21:36:56 +01:00
PhilippC
df3bc19fc0 New translations strings.xml (Romanian) 2021-01-13 10:14:58 +01:00
PhilippC
e4e7b1cb48 New translations strings.xml (Romanian) 2021-01-13 09:14:55 +01:00
Philipp Crocoll
c46b7be051 support SHA256 and SHA512 hash algorithm for otpauth:// TOTPs, closes https://github.com/PhilippC/keepass2android/issues/1155 2021-01-12 17:08:55 +01:00
PhilippC
5a8fa21cd1 New translations strings.xml (Slovenian) 2021-01-12 13:13:16 +01:00
Philipp Crocoll
7df048263b add compatibility to Keepass 2.47 TimeOTP-Secret values (but not supporting {TIMEOTP} placeholder) 2021-01-12 12:14:34 +01:00
PhilippC
aba45f4cf5 New translations strings.xml (Slovenian) 2021-01-12 11:18:38 +01:00
Philipp Crocoll
d9bcac600c support for Keyfiles like in Keepass 2.47 2021-01-12 07:31:18 +01:00
Philipp Crocoll
533021da3f Manifest for 1.08d-r2 2021-01-12 07:30:44 +01:00
PhilippC
ceeb7e23b4 New translations strings.xml (Japanese) 2021-01-12 01:25:04 +01:00
PhilippC
f226edf018 New translations strings.xml (Japanese) 2021-01-12 00:18:21 +01:00
PhilippC
e6f0f12240 New translations strings.xml (Japanese) 2021-01-12 00:18:19 +01:00
PhilippC
9df7c03e02 New translations strings.xml (Japanese) 2021-01-11 23:18:59 +01:00
Philipp Crocoll
1b8e290b30 Merge branch 'master' of c:/ph/keepass2android 2021-01-10 22:45:07 +01:00
Philipp Crocoll
a90fd17bea fix issue with incorrect launching of PasswordActivity for AutoExecItems leading to incorrect behavior when launching the app from Autofill (when child databases are opened) 2021-01-10 22:44:33 +01:00
Philipp Crocoll
3fb358ca85 further improvements for Autofill for usability with Firefox (see https://github.com/PhilippC/keepass2android/issues/1399), also fix security bug (closes https://github.com/PhilippC/keepass2android/issues/1527) 2021-01-10 15:25:26 +01:00
PhilippC
83d638e0e5 New translations strings.xml (Dutch) 2021-01-09 14:00:09 +01:00
PhilippC
20a147fd04 New translations strings.xml (Dutch) 2021-01-09 13:00:09 +01:00
Philipp Crocoll
730af8b9ac make sure autofill only returns results when database is unlocked 2021-01-09 11:42:38 +01:00
PhilippC
9a400cecd2 New translations strings.xml (Chinese Simplified) 2021-01-09 08:30:08 +01:00
PhilippC
b5d9ac859f New translations strings.xml (Chinese Simplified) 2021-01-09 07:30:09 +01:00
PhilippC
144cc3c40a New translations strings.xml (Greek) 2021-01-08 12:20:09 +01:00
PhilippC
2b514598d4 New translations strings.xml (Greek) 2021-01-08 11:20:12 +01:00
PhilippC
9c55f7d9e0 New translations strings.xml (Greek) 2021-01-08 11:20:10 +01:00
Philipp Crocoll
7fb070c5fc manifest for 1.08d-r1 2021-01-08 06:45:52 +01:00
PhilippC
b0dccaea98 New translations strings.xml (Chinese Simplified) 2021-01-08 06:42:33 +01:00
PhilippC
7939a0c9e7 New translations strings.xml (Portuguese, Brazilian) 2021-01-08 06:42:30 +01:00
PhilippC
5bccc32bb1 New translations strings.xml (Turkish) 2021-01-08 06:42:26 +01:00
PhilippC
1bf7ce27da New translations strings.xml (Swedish) 2021-01-08 06:42:22 +01:00
PhilippC
59085fd790 New translations strings.xml (Ukrainian) 2021-01-08 06:42:16 +01:00
PhilippC
7f004ca720 New translations strings.xml (Chinese Traditional) 2021-01-08 06:42:13 +01:00
PhilippC
71098fd9ac New translations strings.xml (Czech) 2021-01-08 06:41:48 +01:00
PhilippC
1ec17c77b5 New translations strings.xml (Danish) 2021-01-08 06:41:44 +01:00
PhilippC
adb3a81b2a New translations strings.xml (German) 2021-01-08 06:41:40 +01:00
PhilippC
ccf3a53253 New translations strings.xml (Greek) 2021-01-08 06:41:37 +01:00
PhilippC
9a7a3c6400 New translations strings.xml (Catalan) 2021-01-08 06:41:33 +01:00
PhilippC
1963e2d7bb New translations strings.xml (Korean) 2021-01-08 06:41:28 +01:00
PhilippC
e385eb78e2 New translations strings.xml (French) 2021-01-08 06:41:23 +01:00
PhilippC
e80ac513c4 New translations strings.xml (Spanish) 2021-01-08 06:41:19 +01:00
PhilippC
cf36613c65 New translations strings.xml (Italian) 2021-01-08 06:41:11 +01:00
PhilippC
ca3a9a7722 New translations strings.xml (Polish) 2021-01-08 06:41:08 +01:00
PhilippC
e85d5d519a New translations strings.xml (Portuguese) 2021-01-08 06:41:04 +01:00
PhilippC
2eccf190b4 New translations strings.xml (Russian) 2021-01-08 06:41:01 +01:00
PhilippC
2c18da0fbc New translations strings.xml (Slovak) 2021-01-08 06:40:57 +01:00
PhilippC
776a13ef28 New translations strings.xml (Slovenian) 2021-01-08 06:40:53 +01:00
PhilippC
b5e6e4904c New translations strings.xml (Japanese) 2021-01-08 06:40:44 +01:00
PhilippC
1e2d1503fe New translations strings.xml (Hungarian) 2021-01-08 06:40:39 +01:00
PhilippC
50d16acee9 New translations strings.xml (Dutch) 2021-01-08 06:40:32 +01:00
Philipp Crocoll
710e0f9bba Merge branch 'master' of https://github.com/PhilippC/keepass2android
# Conflicts:
#	src/keepass2android/Resources/values/strings.xml
2021-01-08 06:37:57 +01:00
Philipp Crocoll
84efc14b00 changelog for 1.08d-r1 2021-01-08 06:36:23 +01:00
Philipp Crocoll
ddb58119be update to pCloud SDK 1.2.0 and implement support for different dataHosts (depending on data server location). Closes #1257 2021-01-08 06:35:49 +01:00
PhilippC
3ced852eb4 New translations strings.xml (Korean) 2021-01-08 00:20:13 +01:00
PhilippC
9928c85d0a New translations strings.xml (Korean) 2021-01-07 23:20:11 +01:00
PhilippC
8a095a4032 New translations strings.xml (Korean) 2021-01-07 23:20:09 +01:00
Philipp Crocoll
9372cb7190 avoid potential crash 2021-01-06 18:05:55 +01:00
Philipp Crocoll
bf3a5891e3 bug fixes to activity behavior of PasswordActivity/SelectCurrentDbActivity:
* when a PasswordActivity was still in stopped state and the user triggered opening from Share URL or Autofill and had a child database, the child would not be opened correctly because the child IOC was delivered in OnNewIntent (but not correctly loaded from there)
 * when locking the database from the SelectCurrentDbActivity, the activity would remain active (not really a big problem, DB was locked anyway, but bad UI)
2021-01-06 18:05:35 +01:00
Philipp Crocoll
ca61fa9d1d several changes to fix https://github.com/PhilippC/keepass2android/issues/1399:
* adding a lock to avoid flickering/disappearing prompt
 * returning a fill-response instead of a dataset from authentication activity
 * immediately present one search result (if there is a match) as a dataset item in the autofill prompt
2021-01-02 12:31:19 +01:00
Philipp Crocoll
42eb8222fc use special icon to indicate in search results if an entry is expired 2021-01-02 12:20:47 +01:00
PhilippC
2aca631390 New translations strings.xml (Chinese Simplified) 2021-01-02 02:10:09 +01:00
PhilippC
b175295d43 New translations strings.xml (Chinese Traditional) 2020-12-28 14:30:11 +01:00
PhilippC
0226456d41 New translations strings.xml (Chinese Traditional) 2020-12-28 13:30:10 +01:00
PhilippC
d18aba0747 New translations strings.xml (French) 2020-12-22 08:10:09 +01:00
PhilippC
449b5e3f0a New translations strings.xml (French) 2020-12-19 18:00:09 +01:00
Philipp Crocoll
301216fc2e improve error logging 2020-12-18 20:11:02 +01:00
Philipp Crocoll
c3bef01fe9 add another supporter name 2020-12-17 19:27:25 +01:00
PhilippC
19abf7a1b0 New translations strings.xml (Russian) 2020-12-16 13:40:09 +01:00
PhilippC
3e36a6e5fa New translations strings.xml (Russian) 2020-12-16 12:40:10 +01:00
PhilippC
e65bd9a524 New translations strings.xml (Ukrainian) 2020-12-12 19:50:09 +01:00
Philipp Crocoll
697b331a65 allow to disable DAL verification in Autofill for testing/debugging 2020-12-12 14:16:12 +01:00
Philipp Crocoll
3767450343 allow to disable check for secure screen to solve #1501 2020-12-12 14:14:05 +01:00
PhilippC
2ffa9b06c5 New translations strings.xml (Chinese Simplified) 2020-12-12 11:40:08 +01:00
PhilippC
c1e80d209f New translations strings.xml (Romanian) 2020-12-11 20:00:09 +01:00
PhilippC
a36f5a375a New translations strings.xml (Romanian) 2020-12-11 19:00:10 +01:00
PhilippC
4e7f6d62d2 New translations strings.xml (Russian) 2020-12-08 10:20:10 +01:00
PhilippC
f8e637cdbc New translations strings.xml (Slovenian) 2020-12-07 12:50:10 +01:00
Philipp Crocoll
abf32cf499 manifest and chanelog for 1.08d-r0 2020-12-07 11:03:23 +01:00
Philipp Crocoll
eee24819d5 add support for Argon2id (see https://github.com/keepassxreboot/keepassxc/issues/4317#issuecomment-738101431) 2020-12-07 10:43:46 +01:00
Philipp Crocoll
b7e4bf0be5 fix strings.xml 2020-12-07 10:43:10 +01:00
PhilippC
be65fe2521 New translations strings.xml (Sinhala) 2020-12-05 20:00:08 +01:00
PhilippC
05e62bd40d New translations strings.xml (Sinhala) 2020-12-05 10:00:12 +01:00
PhilippC
ca4e819183 New translations strings.xml (Sinhala) 2020-12-05 10:00:10 +01:00
PhilippC
80b75f11a0 New translations strings.xml (Sinhala) 2020-12-05 10:00:08 +01:00
PhilippC
a18f013d8c New translations strings.xml (Russian) 2020-12-03 11:40:10 +01:00
PhilippC
ffc06404c1 New translations strings.xml (German) 2020-11-30 12:32:18 +01:00
Philipp Crocoll
849cb0c707 changelog for 1.08d 2020-11-30 12:25:12 +01:00
Philipp Crocoll
219932258c Merge branch 'master' of https://github.com/PhilippC/keepass2android 2020-11-30 12:23:24 +01:00
Philipp Crocoll
59a5bb0c89 add menu in SelectCurrentDbActivity, closes https://github.com/PhilippC/keepass2android/issues/988 2020-11-30 12:16:04 +01:00
Philipp Crocoll
29fca5c1f0 allow to export imported keyfiles, closes https://github.com/PhilippC/keepass2android/issues/599 2020-11-30 11:56:39 +01:00
Philipp Crocoll
fec0e7768a add more logging output to diagnose an issue describe by a user where merge conflicts seem to be detected even if they are not there 2020-11-30 11:55:07 +01:00
Philipp Crocoll
3dcb8ed32b update JSch to version 0.1.55, closes #1478 2020-11-30 10:10:13 +01:00
PhilippC
2b1f5cfd0a New translations strings.xml (Italian) 2020-11-26 14:20:13 +01:00
PhilippC
84e08d39a4 New translations strings.xml (Czech) 2020-11-23 01:20:13 +01:00
PhilippC
0a171a6a72 New translations strings.xml (Czech) 2020-11-23 01:20:11 +01:00
PhilippC
cdcbe148c9 Merge pull request #1472 from joschahenningsen/readme-patch
Remove Google+ group from readme
2020-11-21 19:20:46 +01:00
Joscha Henningsen
fea28640b5 update readme 2020-11-20 16:47:39 +01:00
PhilippC
295f19c54e New translations strings.xml (Malayalam) 2020-11-18 14:00:09 +01:00
PhilippC
de759e5870 New translations strings.xml (German) 2020-11-18 13:00:09 +01:00
PhilippC
e9995e0c80 New translations strings.xml (Malayalam) 2020-11-18 10:50:10 +01:00
PhilippC
234fd59d22 New translations strings.xml (Malayalam) 2020-11-18 09:50:13 +01:00
PhilippC
7617012292 New translations strings.xml (Malayalam) 2020-11-18 09:50:11 +01:00
PhilippC
e8085c1c0e New translations strings.xml (Malayalam) 2020-11-17 03:30:07 +01:00
PhilippC
9e8a9e7b9e New translations strings.xml (Malayalam) 2020-11-17 02:30:09 +01:00
PhilippC
e47516b0e0 New translations strings.xml (Malayalam) 2020-11-17 02:30:08 +01:00
Philipp Crocoll
b85cb20177 improve logging on SwitchImeActivity 2020-11-16 12:14:42 +01:00
Philipp Crocoll
612c7927e9 fix to keyboard not opening on QuickUnlock screen, closes #1362 2020-11-16 11:35:09 +01:00
Philipp Crocoll
ad4b719f3f Merge branch 'master' of https://github.com/PhilippC/keepass2android 2020-11-16 10:21:23 +01:00
Philipp Crocoll
24b690d19b fix typo in changelog 2020-11-16 10:21:12 +01:00
PhilippC
e69af9cfbe New translations strings.xml (Ukrainian) 2020-11-08 20:30:09 +01:00
PhilippC
23f324b1d8 New translations strings.xml (Ukrainian) 2020-11-08 20:30:07 +01:00
PhilippC
a1f7a4245a New translations strings.xml (Slovak) 2020-11-07 23:00:08 +01:00
PhilippC
5dab309921 New translations strings.xml (Japanese) 2020-11-07 16:30:09 +01:00
Philipp Crocoll
57308b476d add some logging to ChooseForAutofillActivity to diagnose a problem of a user 2020-11-02 10:02:57 +01:00
PhilippC
44d324bc7d New translations strings.xml (Serbian (Cyrillic)) 2020-10-30 19:50:10 +01:00
PhilippC
90ae1bd7d7 Merge pull request #1459 from CommName/SerbianTranslation
Serbian translation
2020-10-30 15:57:47 +01:00
CommName
67e40bc284 Fixed typo 2020-10-29 15:28:15 +01:00
CommName
58a0f4d536 Added serbian translation 2020-10-29 15:24:38 +01:00
PhilippC
ebadedae41 New translations strings.xml (Czech) 2020-10-27 14:30:12 +01:00
PhilippC
3f89a34946 New translations strings.xml (Czech) 2020-10-27 14:30:09 +01:00
PhilippC
d823768464 New translations strings.xml (Italian) 2020-10-26 18:30:09 +01:00
Philipp Crocoll
174c440813 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2020-10-24 09:47:11 +02:00
Philipp Crocoll
1479ecf03f allow to open .xml files (as unencrypted database) in read-only mode, closes https://github.com/PhilippC/keepass2android/issues/1450 2020-10-24 09:47:00 +02:00
PhilippC
c8ac6ec972 Add 2 FAQs regarding Google Drive 2020-10-24 09:20:04 +02:00
PhilippC
ee340b069b New translations strings.xml (Chinese Simplified) 2020-10-24 06:50:08 +02:00
PhilippC
d13a35b9a8 New translations strings.xml (French) 2020-10-22 22:20:08 +02:00
Philipp Crocoll
b4e5b0107a allow to immediately disable donation option if a certain string is typed in search; 1.08c-r1 2020-10-19 19:40:34 +02:00
PhilippC
0ce41b9f54 New translations strings.xml (Slovenian) 2020-10-19 18:20:09 +02:00
PhilippC
1be1829cfe New translations strings.xml (Chinese Traditional) 2020-10-19 14:20:10 +02:00
PhilippC
160922c9fb New translations strings.xml (Dutch) 2020-10-19 11:31:39 +02:00
Philipp Crocoll
8b072a3c3f version and changelog for 1.08c-r0 2020-10-19 11:27:41 +02:00
Philipp Crocoll
7d98ea39e9 update jars in Xamarin build to account for updates in JavaFileStorage 2020-10-19 11:26:28 +02:00
Philipp Crocoll
170a86f433 Merge remote-tracking branch 'remotes/origin/l10n_master2' 2020-10-19 09:06:31 +02:00
Philipp Crocoll
7d4c8d3735 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2020-10-19 09:05:36 +02:00
Philipp Crocoll
2d23f579e9 when storing package names of target apps in Password entries, no longer use the Url field or KP2A_URL_x fields, instead use AndroidAppX (X being a counter starting at 1), closes #657 2020-10-19 09:04:11 +02:00
PhilippC
9586e7f3ae Merge pull request #1445 from lwis/update-okhttp
Update OkHttp to 4.10.0-RC1 to remove workaround for #747
2020-10-19 08:56:16 +02:00
PhilippC
7bda4095a6 New translations strings.xml (Turkish) 2020-10-17 12:00:11 +02:00
PhilippC
54dc7f46fb New translations strings.xml (Turkish) 2020-10-17 12:00:09 +02:00
PhilippC
87ddfc92a3 New translations strings.xml (Russian) 2020-10-17 12:00:08 +02:00
PhilippC
df98ebeb3b New translations strings.xml (Chinese Simplified) 2020-10-17 09:30:08 +02:00
Lewis Juggins
bbf3b40df8 Import 2020-10-16 13:11:41 +01:00
Lewis Juggins
a01e70012e Update OkHttp to 4.10.0-RC1 to remove workaround for #747 2020-10-16 13:09:47 +01:00
PhilippC
48517665e2 New translations strings.xml (Slovenian) 2020-10-14 07:40:07 +02:00
PhilippC
387998a260 New translations strings.xml (Chinese Traditional) 2020-10-13 08:00:09 +02:00
PhilippC
ef194fe70c New translations strings.xml (Swedish) 2020-10-12 21:10:10 +02:00
PhilippC
c74c718021 New translations strings.xml (Swedish) 2020-10-12 21:10:08 +02:00
Philipp Crocoll
c8f29bd424 include all strings.xml files in keepass2android.csproj, fixes unused translations, closes https://github.com/PhilippC/keepass2android/issues/1338 2020-10-12 21:05:12 +02:00
Philipp Crocoll
64e26fe372 changes to locking of the database: implement an alternative to alarm-based timeout (using a timeout variables checked when resuming), closes https://github.com/PhilippC/keepass2android/issues/1346 2020-10-12 11:57:58 +02:00
PhilippC
da213a1172 New translations strings.xml (Persian) 2020-10-12 10:40:52 +02:00
PhilippC
0e19dc9d17 New translations strings.xml (Slovenian) 2020-10-12 10:40:31 +02:00
Philipp Crocoll
27f9625d4e close SelectCurrentDbActivity after locking, i.e. we don't bring up QuickUnlock dialog anymore, causing trouble in several cases (locking when screen is turned off, face unlock immediately unlocking again), closes https://github.com/PhilippC/keepass2android/issues/1373, closes https://github.com/PhilippC/keepass2android/issues/1291 2020-10-12 10:11:16 +02:00
Philipp Crocoll
1a02741f95 add first mentioning of financial supporter from Github sponsoring 2020-10-12 10:03:29 +02:00
Philipp Crocoll
35c69fcb3a fix bug with potentially not correctly stopping the fingerprint prompt, might cause https://github.com/PhilippC/keepass2android/issues/1423 and https://github.com/PhilippC/keepass2android/issues/1312 2020-10-12 09:34:12 +02:00
Philipp Crocoll
561ff54afd add dates for Oktoberfest 2022-2024 2020-10-12 08:45:54 +02:00
PhilippC
f50c6ea3b9 New translations strings.xml (Finnish) 2020-10-03 01:00:08 +02:00
PhilippC
40f6f5a72e New translations strings.xml (Finnish) 2020-10-03 00:00:08 +02:00
PhilippC
700bedfe81 New translations strings.xml (Finnish) 2020-10-02 23:00:08 +02:00
PhilippC
2b50407127 New translations strings.xml (Italian) 2020-09-30 14:40:10 +02:00
PhilippC
ba68402479 New translations strings.xml (Italian) 2020-09-30 14:40:08 +02:00
PhilippC
7b4c75aa90 New translations strings.xml (Turkish) 2020-09-26 15:10:08 +02:00
PhilippC
a6c9e7a64a New translations strings.xml (Dutch) 2020-09-25 15:30:12 +02:00
PhilippC
4c0c011714 New translations strings.xml (Dutch) 2020-09-25 15:30:10 +02:00
PhilippC
4ba2f648df New translations strings.xml (Swedish) 2020-09-25 14:30:09 +02:00
PhilippC
d8c2966d87 New translations strings.xml (Swedish) 2020-09-25 13:30:10 +02:00
PhilippC
5a608fad93 New translations strings.xml (Vietnamese) 2020-09-17 17:00:10 +02:00
PhilippC
9790d6ff69 New translations strings.xml (Czech) 2020-09-17 13:10:10 +02:00
PhilippC
f24e23d417 New translations strings.xml (Czech) 2020-09-17 13:10:08 +02:00
PhilippC
2eea4c163c New translations strings.xml (Ukrainian) 2020-09-14 09:10:08 +02:00
PhilippC
541106f77b New translations strings.xml (Ukrainian) 2020-09-14 08:10:09 +02:00
PhilippC
2231a9638f New translations strings.xml (Russian) 2020-09-12 23:50:10 +02:00
PhilippC
e01f910869 New translations strings.xml (Russian) 2020-09-12 23:50:09 +02:00
PhilippC
4f511655b4 New translations strings.xml (Russian) 2020-09-12 22:50:08 +02:00
PhilippC
081d3ed4ff New translations strings.xml (Russian) 2020-09-12 22:50:07 +02:00
PhilippC
46703c5ed6 New translations strings.xml (German) 2020-09-12 18:40:07 +02:00
PhilippC
db2ad06e7a New translations strings.xml (French) 2020-09-07 07:41:10 +02:00
PhilippC
328998be57 New translations strings.xml (Chinese Simplified) 2020-09-07 07:40:11 +02:00
PhilippC
cb6dfa1521 New translations strings.xml (Catalan) 2020-09-01 14:10:09 +02:00
PhilippC
f54f127fd4 New translations strings.xml (Catalan) 2020-09-01 14:10:07 +02:00
PhilippC
00bc1e0998 New translations strings.xml (French) 2020-08-26 19:40:07 +02:00
PhilippC
8e0cad21d7 New translations strings.xml (Chinese Simplified) 2020-08-26 05:20:07 +02:00
PhilippC
1df873540c New translations strings.xml (Chinese Simplified) 2020-08-26 04:20:07 +02:00
PhilippC
454f7acb00 New translations strings.xml (Chinese Simplified) 2020-08-26 03:20:07 +02:00
PhilippC
e848a5e4d8 New translations strings.xml (Spanish) 2020-08-25 17:10:09 +02:00
PhilippC
5fa51ca833 New translations strings.xml (Spanish) 2020-08-25 16:10:07 +02:00
PhilippC
28ee65da9a New translations strings.xml (Vietnamese) 2020-08-23 21:10:06 +02:00
PhilippC
f2eeab8609 New translations strings.xml (Chinese Simplified) 2020-08-21 08:10:08 +02:00
PhilippC
37b529a1d8 New translations strings.xml (Slovak) 2020-08-20 14:00:10 +02:00
PhilippC
31f2abb3a8 New translations strings.xml (Slovak) 2020-08-20 14:00:09 +02:00
PhilippC
10b6e0f35e New translations strings.xml (Slovak) 2020-08-20 14:00:07 +02:00
PhilippC
f1d9655ea2 New translations strings.xml (Slovak) 2020-08-20 13:00:08 +02:00
PhilippC
793845c92e New translations strings.xml (Chinese Simplified) 2020-08-17 12:30:08 +02:00
PhilippC
52c8de4b5c New translations strings.xml (Chinese Simplified) 2020-08-17 12:30:07 +02:00
PhilippC
3b3b0d7388 New translations strings.xml (Chinese Simplified) 2020-08-17 11:30:09 +02:00
PhilippC
2bf4565c83 New translations strings.xml (French) 2020-08-16 14:10:07 +02:00
PhilippC
ee95bf3bcc New translations strings.xml (Spanish) 2020-08-15 07:30:07 +02:00
PhilippC
f53f7d0fee New translations strings.xml (Spanish) 2020-08-15 06:30:08 +02:00
PhilippC
8bc6e4c33e New translations strings.xml (Spanish) 2020-08-15 06:30:07 +02:00
PhilippC
4b78fab2ac New translations strings.xml (Japanese) 2020-08-11 15:10:09 +02:00
PhilippC
40f8b6da71 New translations strings.xml (Japanese) 2020-08-11 14:10:10 +02:00
PhilippC
f92cb3d3ea New translations strings.xml (Japanese) 2020-08-11 14:10:08 +02:00
PhilippC
1bc2ba2284 New translations strings.xml (Korean) 2020-08-10 08:30:09 +02:00
PhilippC
8ac84cb7c1 New translations strings.xml (Korean) 2020-08-10 08:30:08 +02:00
PhilippC
385d1b0979 New translations strings.xml (Korean) 2020-08-10 07:30:07 +02:00
PhilippC
01210c401d New translations strings.xml (Hungarian) 2020-08-09 17:30:09 +02:00
PhilippC
d48f54c086 New translations strings.xml (Chinese Traditional) 2020-08-06 16:10:08 +02:00
PhilippC
7a800928e2 New translations strings.xml (Chinese Traditional) 2020-08-06 15:10:08 +02:00
PhilippC
a893150c9e New translations strings.xml (Chinese Traditional) 2020-08-06 13:30:08 +02:00
Philipp Crocoll
50a1092a65 remove duplicates from Changelog 2020-08-06 06:38:36 +02:00
PhilippC
555109c243 Merge pull request #1352 from PhilippC/l10n_master2
New Crowdin updates
2020-08-06 06:34:30 +02:00
PhilippC
7409246425 New translations strings.xml (Chinese Simplified) 2020-08-05 14:40:07 +02:00
PhilippC
feb38f52ea New translations strings.xml (Slovenian) 2020-08-05 10:30:23 +02:00
PhilippC
69ac2d1303 New translations strings.xml (Slovenian) 2020-08-05 10:30:20 +02:00
PhilippC
023a026a85 New translations strings.xml (Finnish) 2020-08-05 05:46:08 +02:00
PhilippC
5198476d06 New translations strings.xml (Italian) 2020-08-05 05:46:02 +02:00
PhilippC
bc614ade20 New translations strings.xml (Japanese) 2020-08-05 05:46:00 +02:00
PhilippC
86cf3a9630 New translations strings.xml (Korean) 2020-08-05 05:45:58 +02:00
PhilippC
aa57120c9c New translations strings.xml (Dutch) 2020-08-05 05:45:56 +02:00
PhilippC
7ee0b78300 New translations strings.xml (Polish) 2020-08-05 05:45:54 +02:00
PhilippC
9ba4d95789 New translations strings.xml (Portuguese) 2020-08-05 05:45:51 +02:00
PhilippC
a221a6bfc3 New translations strings.xml (Greek) 2020-08-05 05:45:50 +02:00
PhilippC
0fea740a7f New translations strings.xml (French) 2020-08-05 05:45:48 +02:00
PhilippC
7755116473 New translations strings.xml (Spanish) 2020-08-05 05:45:45 +02:00
PhilippC
244f64fc4d New translations strings.xml (Czech) 2020-08-05 05:45:39 +02:00
PhilippC
c4d105c02f New translations strings.xml (Danish) 2020-08-05 05:45:37 +02:00
PhilippC
c25bfb8ade New translations strings.xml (German) 2020-08-05 05:45:35 +02:00
PhilippC
e49a1c3d6e New translations strings.xml (Catalan) 2020-08-05 05:45:33 +02:00
PhilippC
d81502e4b5 New translations strings.xml (Russian) 2020-08-05 05:45:30 +02:00
PhilippC
3763374f70 New translations strings.xml (Portuguese, Brazilian) 2020-08-05 05:45:27 +02:00
PhilippC
b043006a74 New translations strings.xml (Slovak) 2020-08-05 05:45:11 +02:00
PhilippC
6897bedd7f New translations strings.xml (Slovenian) 2020-08-05 05:45:09 +02:00
PhilippC
b7fc2c4d1c New translations strings.xml (Swedish) 2020-08-05 05:45:06 +02:00
PhilippC
4012c777a8 New translations strings.xml (Turkish) 2020-08-05 05:45:03 +02:00
PhilippC
0ca0dd0ea5 New translations strings.xml (Ukrainian) 2020-08-05 05:45:01 +02:00
PhilippC
a443507719 New translations strings.xml (Chinese Simplified) 2020-08-05 05:44:59 +02:00
PhilippC
03714c70e0 New translations strings.xml (Chinese Traditional) 2020-08-05 05:44:57 +02:00
PhilippC
6335d642ec New translations strings.xml (Korean) 2020-08-05 05:30:18 +02:00
PhilippC
48eb8c60ea New translations strings.xml (Malayalam) 2020-08-04 18:40:19 +02:00
PhilippC
065acfcb35 New translations strings.xml (Malayalam) 2020-08-04 18:40:17 +02:00
PhilippC
9b0d63b853 New translations strings.xml (Slovenian) 2020-08-04 08:20:09 +02:00
PhilippC
e6b93af59a New translations strings.xml (Slovenian) 2020-08-04 08:20:07 +02:00
PhilippC
024de21188 New translations strings.xml (Italian) 2020-08-04 06:31:58 +02:00
PhilippC
8ccab7fd78 New translations strings.xml (Japanese) 2020-08-04 06:31:55 +02:00
PhilippC
7165f455a4 New translations strings.xml (Korean) 2020-08-04 06:31:53 +02:00
PhilippC
ff5ada3195 New translations strings.xml (Dutch) 2020-08-04 06:31:50 +02:00
PhilippC
cae5f339c9 New translations strings.xml (Polish) 2020-08-04 06:31:48 +02:00
PhilippC
2b7b618302 New translations strings.xml (Greek) 2020-08-04 06:31:44 +02:00
PhilippC
5ec91691c8 New translations strings.xml (French) 2020-08-04 06:31:42 +02:00
PhilippC
690f456482 New translations strings.xml (Spanish) 2020-08-04 06:31:40 +02:00
PhilippC
fa7e3e229e New translations strings.xml (Czech) 2020-08-04 06:31:35 +02:00
PhilippC
08a9af6b80 New translations strings.xml (Danish) 2020-08-04 06:31:32 +02:00
PhilippC
4322d3c09c New translations strings.xml (German) 2020-08-04 06:31:30 +02:00
PhilippC
0ba83b48fd New translations strings.xml (Catalan) 2020-08-04 06:31:28 +02:00
PhilippC
dbdb98280a New translations strings.xml (Russian) 2020-08-04 06:31:25 +02:00
PhilippC
12641a754d New translations strings.xml (Portuguese, Brazilian) 2020-08-04 06:31:22 +02:00
PhilippC
882297877b New translations strings.xml (Slovak) 2020-08-04 06:31:10 +02:00
PhilippC
bef0bd5226 New translations strings.xml (Slovenian) 2020-08-04 06:31:08 +02:00
PhilippC
e20da59b7f New translations strings.xml (Swedish) 2020-08-04 06:31:04 +02:00
PhilippC
97682034a0 New translations strings.xml (Turkish) 2020-08-04 06:31:01 +02:00
PhilippC
4326aa88e9 New translations strings.xml (Ukrainian) 2020-08-04 06:30:58 +02:00
PhilippC
e60a5e6461 New translations strings.xml (Chinese Simplified) 2020-08-04 06:30:56 +02:00
PhilippC
258673062a New translations strings.xml (Chinese Traditional) 2020-08-04 06:30:54 +02:00
Philipp Crocoll
9b9ee82aea remove incorrect string from 1.08 changelog (belongs to 1.08b only) 2020-08-04 06:29:51 +02:00
PhilippC
fb6f1c3a6e Merge pull request #1351 from PhilippC/l10n_master2
New Crowdin updates
2020-08-04 06:28:33 +02:00
PhilippC
e8a2fe42e1 New translations strings.xml (German) 2020-08-04 06:21:51 +02:00
Philipp Crocoll
7dd422b0ce fix changelog: show 1.08 and 1.08b changes 2020-08-04 06:11:07 +02:00
PhilippC
5820def039 New translations strings.xml (German) 2020-08-04 06:10:07 +02:00
Philipp Crocoll
7abfbd3e3b Merge branch 'master' of c:/ph/keepass2android 2020-08-03 21:59:42 +02:00
Philipp Crocoll
9b9ea2ed78 update version to 1.08b-r1 2020-08-03 21:59:36 +02:00
Philipp Crocoll
7abcff24dc remove rPT and rCN folders as the translations are now synced to pt/zh 2020-08-03 21:55:39 +02:00
PhilippC
c1b35a9a7e Merge pull request #1349 from PhilippC/l10n_master2
New Crowdin updates
2020-08-03 21:44:24 +02:00
PhilippC
eeb9cc2324 New translations strings.xml (Norwegian Bokmal) 2020-08-03 21:42:51 +02:00
PhilippC
db564dda61 New translations strings.xml (Basque) 2020-08-03 21:42:49 +02:00
PhilippC
1dc89389db New translations strings.xml (Basque) 2020-08-03 21:42:48 +02:00
PhilippC
74eb2c64e7 New translations strings.xml (Finnish) 2020-08-03 21:42:46 +02:00
PhilippC
04f53d607b New translations strings.xml (Finnish) 2020-08-03 21:42:44 +02:00
PhilippC
ee1d0bd61b New translations strings.xml (Hebrew) 2020-08-03 21:42:43 +02:00
PhilippC
3f1a54a962 New translations strings.xml (Hebrew) 2020-08-03 21:42:41 +02:00
PhilippC
670a50fdce New translations strings.xml (Hungarian) 2020-08-03 21:42:39 +02:00
PhilippC
b1c89d5dbc New translations strings.xml (Hungarian) 2020-08-03 21:42:38 +02:00
PhilippC
5afb5640c4 New translations strings.xml (Italian) 2020-08-03 21:42:36 +02:00
PhilippC
799d9c0fd7 New translations strings.xml (Japanese) 2020-08-03 21:42:34 +02:00
PhilippC
4e833cd382 New translations strings.xml (Japanese) 2020-08-03 21:42:32 +02:00
PhilippC
e933c29715 New translations strings.xml (Korean) 2020-08-03 21:42:30 +02:00
PhilippC
0bb78b5b17 New translations strings.xml (Korean) 2020-08-03 21:42:28 +02:00
PhilippC
12daa78948 New translations strings.xml (Dutch) 2020-08-03 21:42:27 +02:00
PhilippC
8d563a9adf New translations strings.xml (Dutch) 2020-08-03 21:42:25 +02:00
PhilippC
ae3295ce04 New translations strings.xml (Polish) 2020-08-03 21:42:23 +02:00
PhilippC
ca4221b7fb New translations strings.xml (Polish) 2020-08-03 21:42:22 +02:00
PhilippC
816cdd3156 New translations strings.xml (Italian) 2020-08-03 21:42:21 +02:00
PhilippC
eb13676193 New translations strings.xml (Greek) 2020-08-03 21:42:19 +02:00
PhilippC
7111ef5c8e New translations strings.xml (Romanian) 2020-08-03 21:42:17 +02:00
PhilippC
86a40a8f3b New translations strings.xml (French) 2020-08-03 21:42:15 +02:00
PhilippC
268ed3990c New translations strings.xml (French) 2020-08-03 21:42:13 +02:00
PhilippC
bcde5f487d New translations strings.xml (Spanish) 2020-08-03 21:42:11 +02:00
PhilippC
b749728946 New translations strings.xml (Spanish) 2020-08-03 21:42:10 +02:00
PhilippC
7b6ac879db New translations strings.xml (Arabic) 2020-08-03 21:42:08 +02:00
PhilippC
5633403f63 New translations strings.xml (Arabic) 2020-08-03 21:42:07 +02:00
PhilippC
9f5ffca429 New translations strings.xml (Bulgarian) 2020-08-03 21:42:05 +02:00
PhilippC
4a71208629 New translations strings.xml (Greek) 2020-08-03 21:42:03 +02:00
PhilippC
8d7d960173 New translations strings.xml (Bulgarian) 2020-08-03 21:42:02 +02:00
PhilippC
5a69cd878d New translations strings.xml (Catalan) 2020-08-03 21:42:00 +02:00
PhilippC
e81b1d6928 New translations strings.xml (Catalan) 2020-08-03 21:41:59 +02:00
PhilippC
c22bace184 New translations strings.xml (Czech) 2020-08-03 21:41:57 +02:00
PhilippC
1dfaba8dad New translations strings.xml (Czech) 2020-08-03 21:41:55 +02:00
PhilippC
08c5403c00 New translations strings.xml (Danish) 2020-08-03 21:41:54 +02:00
PhilippC
8ac4ef3ce8 New translations strings.xml (Danish) 2020-08-03 21:41:52 +02:00
PhilippC
b6488af6fe New translations strings.xml (German) 2020-08-03 21:41:50 +02:00
PhilippC
65597bba5f New translations strings.xml (German) 2020-08-03 21:41:49 +02:00
PhilippC
88bdeebc93 New translations strings.xml (Romanian) 2020-08-03 21:41:46 +02:00
PhilippC
9eb73c745c New translations strings.xml (Portuguese) 2020-08-03 21:41:45 +02:00
PhilippC
410f5f9437 New translations strings.xml (Galician) 2020-08-03 21:41:43 +02:00
PhilippC
390f20af79 New translations strings.xml (Galician) 2020-08-03 21:41:41 +02:00
PhilippC
d0954ec83d New translations strings.xml (Portuguese, Brazilian) 2020-08-03 21:41:40 +02:00
PhilippC
0718a7b5dd New translations strings.xml (Portuguese, Brazilian) 2020-08-03 21:41:38 +02:00
PhilippC
bc9d80f369 New translations strings.xml (Portuguese, Brazilian) 2020-08-03 21:41:37 +02:00
PhilippC
f94491526f New translations strings.xml (Indonesian) 2020-08-03 21:41:35 +02:00
PhilippC
c60ab35ad3 New translations strings.xml (Indonesian) 2020-08-03 21:41:33 +02:00
PhilippC
2227221725 New translations strings.xml (Persian) 2020-08-03 21:41:31 +02:00
PhilippC
90646f2551 New translations strings.xml (Persian) 2020-08-03 21:41:30 +02:00
PhilippC
8536c26828 New translations strings.xml (Vietnamese) 2020-08-03 21:41:28 +02:00
PhilippC
a02e7a473f New translations strings.xml (Croatian) 2020-08-03 21:41:26 +02:00
PhilippC
80d2f8cebd New translations strings.xml (Norwegian Nynorsk) 2020-08-03 21:41:25 +02:00
PhilippC
94a79b3c11 New translations strings.xml (Norwegian Nynorsk) 2020-08-03 21:41:23 +02:00
PhilippC
13e530d173 New translations strings.xml (Azerbaijani) 2020-08-03 21:41:22 +02:00
PhilippC
832ce4996a New translations strings.xml (Azerbaijani) 2020-08-03 21:41:20 +02:00
PhilippC
5fefd53bab New translations strings.xml (Malayalam) 2020-08-03 21:41:18 +02:00
PhilippC
646e203ea5 New translations strings.xml (Malayalam) 2020-08-03 21:41:17 +02:00
PhilippC
35162c6205 New translations strings.xml (Norwegian Bokmal) 2020-08-03 21:41:15 +02:00
PhilippC
6ef20e2e07 New translations strings.xml (Croatian) 2020-08-03 21:41:14 +02:00
PhilippC
a9724638af New translations strings.xml (Portuguese) 2020-08-03 21:41:12 +02:00
PhilippC
54677a41a4 New translations strings.xml (Vietnamese) 2020-08-03 21:41:10 +02:00
PhilippC
c806130741 New translations strings.xml (Chinese Traditional) 2020-08-03 21:41:09 +02:00
PhilippC
8b79022e48 New translations strings.xml (Russian) 2020-08-03 21:41:07 +02:00
PhilippC
1271596c8c New translations strings.xml (Russian) 2020-08-03 21:41:06 +02:00
PhilippC
e82b7e397e New translations strings.xml (Slovak) 2020-08-03 21:41:04 +02:00
PhilippC
8813753a7e New translations strings.xml (Slovak) 2020-08-03 21:41:02 +02:00
PhilippC
4da61a1f76 New translations strings.xml (Slovenian) 2020-08-03 21:41:00 +02:00
PhilippC
eb7d63a49a New translations strings.xml (Slovenian) 2020-08-03 21:40:59 +02:00
PhilippC
22dc95f8d9 New translations strings.xml (Serbian (Cyrillic)) 2020-08-03 21:40:57 +02:00
PhilippC
ffa306f239 New translations strings.xml (Serbian (Cyrillic)) 2020-08-03 21:40:55 +02:00
PhilippC
3cd8bf12ea New translations strings.xml (Swedish) 2020-08-03 21:40:53 +02:00
PhilippC
ec51d0b52c New translations strings.xml (Turkish) 2020-08-03 21:40:51 +02:00
PhilippC
0622c30e78 New translations strings.xml (Turkish) 2020-08-03 21:40:50 +02:00
PhilippC
35e8338aca New translations strings.xml (Ukrainian) 2020-08-03 21:40:48 +02:00
PhilippC
c5a3312bb1 New translations strings.xml (Ukrainian) 2020-08-03 21:40:47 +02:00
PhilippC
1af865ae4e New translations strings.xml (Chinese Simplified) 2020-08-03 21:40:45 +02:00
PhilippC
542584a531 New translations strings.xml (Chinese Simplified) 2020-08-03 21:40:43 +02:00
PhilippC
6973546803 New translations strings.xml (Chinese Traditional) 2020-08-03 21:40:42 +02:00
PhilippC
875488775b New translations strings.xml (Swedish) 2020-08-03 21:40:40 +02:00
Philipp Crocoll
1c617ee172 update crowdin.yml 2020-08-03 21:36:54 +02:00
PhilippC
ff86ef2114 New translations strings.xml (Portuguese, Brazilian) 2020-08-03 21:33:36 +02:00
Philipp Crocoll
8386ffc6aa update crowdin.yml 2020-08-03 21:32:41 +02:00
PhilippC
5e65563e24 Merge pull request #1347 from PhilippC/l10n_master2
New Crowdin updates
2020-08-03 21:20:51 +02:00
PhilippC
a26fd7df82 New translations strings.xml (Portuguese) 2020-08-03 21:19:24 +02:00
PhilippC
0d659a4170 New translations strings.xml (Portuguese, Brazilian) 2020-08-03 21:19:19 +02:00
PhilippC
5b14afce8b Merge pull request #1345 from PhilippC/l10n_master2
New Crowdin updates
2020-08-03 21:00:08 +02:00
PhilippC
4856c31476 New translations strings.xml (Portuguese) 2020-08-03 20:57:38 +02:00
PhilippC
e07a33bb3f New translations strings.xml (Malayalam) 2020-08-03 12:40:10 +02:00
PhilippC
2d5ae5d24f New translations strings.xml (Slovenian) 2020-08-03 12:40:08 +02:00
PhilippC
2f0da0ae55 New translations strings.xml (Malayalam) 2020-08-03 11:40:57 +02:00
PhilippC
b33ab579bc New translations strings.xml (Catalan) 2020-08-03 11:40:55 +02:00
PhilippC
94c8cb4c33 New translations strings.xml (Czech) 2020-08-03 11:40:54 +02:00
PhilippC
bc1143cc29 New translations strings.xml (Danish) 2020-08-03 11:40:52 +02:00
PhilippC
9e357e63fb New translations strings.xml (German) 2020-08-03 11:40:50 +02:00
PhilippC
f07a8fc831 New translations strings.xml (Greek) 2020-08-03 11:40:49 +02:00
PhilippC
1306ae91e0 New translations strings.xml (Italian) 2020-08-03 11:40:47 +02:00
PhilippC
11f7e6d01f New translations strings.xml (Japanese) 2020-08-03 11:40:45 +02:00
PhilippC
c815ee5a54 New translations strings.xml (Korean) 2020-08-03 11:40:44 +02:00
PhilippC
cd92c7a135 New translations strings.xml (Dutch) 2020-08-03 11:40:42 +02:00
PhilippC
6dcdeb1d81 New translations strings.xml (Spanish) 2020-08-03 11:40:40 +02:00
PhilippC
05b6eb8d47 New translations strings.xml (Polish) 2020-08-03 11:40:39 +02:00
PhilippC
6f12c57780 New translations strings.xml (Slovak) 2020-08-03 11:40:37 +02:00
PhilippC
18c806bb68 New translations strings.xml (Slovenian) 2020-08-03 11:40:35 +02:00
PhilippC
17b984dd75 New translations strings.xml (Swedish) 2020-08-03 11:40:33 +02:00
PhilippC
ac889e9b1f New translations strings.xml (Turkish) 2020-08-03 11:40:32 +02:00
PhilippC
e043c7aa85 New translations strings.xml (Chinese Simplified) 2020-08-03 11:40:30 +02:00
PhilippC
c4a9d0b7b9 New translations strings.xml (Chinese Traditional) 2020-08-03 11:40:28 +02:00
PhilippC
3902e35738 New translations strings.xml (Portuguese, Brazilian) 2020-08-03 11:40:26 +02:00
PhilippC
627684a806 New translations strings.xml (Russian) 2020-08-03 11:40:24 +02:00
PhilippC
b16e95a527 New translations strings.xml (French) 2020-08-03 11:40:22 +02:00
Philipp Crocoll
8fcf608515 Merge branch 'master' of c:/ph/keepass2android 2020-08-03 11:34:48 +02:00
Philipp Crocoll
2d86b7422d manifest and changelog for 1.08b-r0 2020-08-03 11:33:03 +02:00
Philipp Crocoll
3c7cec40a2 Merge remote-tracking branch 'remotes/origin/l10n_master2' 2020-08-03 10:53:26 +02:00
PhilippC
c93515a45a New translations strings.xml (Malayalam) 2020-08-03 10:40:08 +02:00
PhilippC
73e9631459 New translations strings.xml (Chinese Traditional) 2020-07-29 17:30:09 +02:00
PhilippC
e922d01ee7 New translations strings.xml (Chinese Simplified) 2020-07-29 01:40:06 +02:00
PhilippC
d77e45ee41 New translations strings.xml (Chinese Simplified) 2020-07-29 00:40:07 +02:00
PhilippC
b3774ea1a8 New translations strings.xml (Chinese Traditional) 2020-07-28 16:30:07 +02:00
PhilippC
35324c4f59 New translations strings.xml (Chinese Traditional) 2020-07-28 15:30:08 +02:00
PhilippC
81f3b354b4 New translations strings.xml (Spanish) 2020-07-27 15:40:07 +02:00
PhilippC
3c7bc76d13 New translations strings.xml (Italian) 2020-07-27 14:40:09 +02:00
PhilippC
fde262e6a2 New translations strings.xml (Spanish) 2020-07-27 14:40:08 +02:00
PhilippC
9dcefc79ac New translations strings.xml (Spanish) 2020-07-27 13:40:07 +02:00
PhilippC
019a20e983 New translations strings.xml (Dutch) 2020-07-27 12:40:55 +02:00
PhilippC
b7655ad5ee New translations strings.xml (Korean) 2020-07-27 12:40:53 +02:00
PhilippC
6e3d923ba5 New translations strings.xml (Japanese) 2020-07-27 12:40:52 +02:00
PhilippC
c9cd62eff9 New translations strings.xml (Italian) 2020-07-27 12:40:50 +02:00
PhilippC
ade983ae6c New translations strings.xml (Finnish) 2020-07-27 12:40:47 +02:00
PhilippC
5dd91b96c8 New translations strings.xml (Polish) 2020-07-27 12:40:45 +02:00
PhilippC
f4f4a55aba New translations strings.xml (German) 2020-07-27 12:40:43 +02:00
PhilippC
af76080539 New translations strings.xml (Danish) 2020-07-27 12:40:41 +02:00
PhilippC
a76c394f1a New translations strings.xml (Czech) 2020-07-27 12:40:39 +02:00
PhilippC
040f229ec1 New translations strings.xml (Catalan) 2020-07-27 12:40:38 +02:00
PhilippC
617d4e0b99 New translations strings.xml (Spanish) 2020-07-27 12:40:35 +02:00
PhilippC
747f89aa9e New translations strings.xml (Greek) 2020-07-27 12:40:33 +02:00
PhilippC
0b766062fd New translations strings.xml (French) 2020-07-27 12:40:31 +02:00
PhilippC
624a4430ca New translations strings.xml (Portuguese) 2020-07-27 12:40:29 +02:00
PhilippC
04377b03af New translations strings.xml (Slovak) 2020-07-27 12:40:28 +02:00
PhilippC
cbcbdacca1 New translations strings.xml (Portuguese, Brazilian) 2020-07-27 12:40:23 +02:00
PhilippC
1cf6481847 New translations strings.xml (Russian) 2020-07-27 12:40:20 +02:00
PhilippC
902ae521ad New translations strings.xml (Chinese Simplified) 2020-07-27 12:40:18 +02:00
PhilippC
dd679c295d New translations strings.xml (Ukrainian) 2020-07-27 12:40:16 +02:00
PhilippC
f71b44c329 New translations strings.xml (Turkish) 2020-07-27 12:40:14 +02:00
PhilippC
d0f13a7aaf New translations strings.xml (Swedish) 2020-07-27 12:40:12 +02:00
PhilippC
7b071e8bf9 New translations strings.xml (Slovenian) 2020-07-27 12:40:10 +02:00
PhilippC
c24b592ed1 New translations strings.xml (Chinese Traditional) 2020-07-27 12:40:08 +02:00
PhilippC
3faabacfa6 New translations strings.xml (Portuguese) 2020-07-27 11:39:32 +02:00
PhilippC
0587398f86 New translations strings.xml (Portuguese, Brazilian) 2020-07-27 11:39:28 +02:00
PhilippC
b7b4bde51d New translations strings.xml (German) 2020-07-27 11:39:23 +02:00
Philipp Crocoll
160dd70412 adjust changelog for 1.08b-r1 2020-07-27 11:38:30 +02:00
PhilippC
e354bbd647 New translations strings.xml (German) 2020-07-27 11:36:12 +02:00
PhilippC
b3e67cf8d6 New translations strings.xml (Portuguese) 2020-07-27 11:35:15 +02:00
PhilippC
b9c2dd83a9 New translations strings.xml (Portuguese, Brazilian) 2020-07-27 11:34:40 +02:00
Philipp Crocoll
0661598244 improve message title 2020-07-27 11:33:01 +02:00
PhilippC
4d579fabdf New translations strings.xml (Norwegian Bokmal) 2020-07-27 11:26:02 +02:00
PhilippC
6f77fac4b2 New translations strings.xml (Dutch) 2020-07-27 11:26:00 +02:00
PhilippC
cd9bd03c47 New translations strings.xml (Korean) 2020-07-27 11:25:58 +02:00
PhilippC
932cb97e89 New translations strings.xml (Japanese) 2020-07-27 11:25:56 +02:00
PhilippC
bedf92595c New translations strings.xml (Italian) 2020-07-27 11:25:55 +02:00
PhilippC
316668304e New translations strings.xml (Hungarian) 2020-07-27 11:25:53 +02:00
PhilippC
3da270c053 New translations strings.xml (Hebrew) 2020-07-27 11:25:52 +02:00
PhilippC
0d28047dfa New translations strings.xml (Finnish) 2020-07-27 11:25:50 +02:00
PhilippC
ee4677b70e New translations strings.xml (Polish) 2020-07-27 11:25:48 +02:00
PhilippC
f8462fcdbc New translations strings.xml (Basque) 2020-07-27 11:25:44 +02:00
PhilippC
2afb269268 New translations strings.xml (German) 2020-07-27 11:25:43 +02:00
PhilippC
5fa13c6316 New translations strings.xml (Danish) 2020-07-27 11:25:41 +02:00
PhilippC
1c4c7243ed New translations strings.xml (Czech) 2020-07-27 11:25:39 +02:00
PhilippC
c9e6a521dc New translations strings.xml (Catalan) 2020-07-27 11:25:37 +02:00
PhilippC
f2ecb9bc22 New translations strings.xml (Bulgarian) 2020-07-27 11:25:36 +02:00
PhilippC
d60a20f2a5 New translations strings.xml (Arabic) 2020-07-27 11:25:34 +02:00
PhilippC
c32a118157 New translations strings.xml (Spanish) 2020-07-27 11:25:32 +02:00
PhilippC
07e6e440f2 New translations strings.xml (Greek) 2020-07-27 11:25:30 +02:00
PhilippC
4d6db6e394 New translations strings.xml (French) 2020-07-27 11:25:28 +02:00
PhilippC
9fa0f541ae New translations strings.xml (Portuguese) 2020-07-27 11:25:27 +02:00
PhilippC
73c5bab70c New translations strings.xml (Slovak) 2020-07-27 11:25:25 +02:00
PhilippC
929fb69beb New translations strings.xml (Azerbaijani) 2020-07-27 11:25:23 +02:00
PhilippC
e52e8c76a4 New translations strings.xml (Norwegian Nynorsk) 2020-07-27 11:25:22 +02:00
PhilippC
1bf294c6fe New translations strings.xml (Croatian) 2020-07-27 11:25:20 +02:00
PhilippC
d172aca74d New translations strings.xml (Persian) 2020-07-27 11:25:19 +02:00
PhilippC
66a62df64a New translations strings.xml (Indonesian) 2020-07-27 11:25:17 +02:00
PhilippC
902fd70071 New translations strings.xml (Portuguese, Brazilian) 2020-07-27 11:25:15 +02:00
PhilippC
b7b938fef3 New translations strings.xml (Galician) 2020-07-27 11:25:14 +02:00
PhilippC
6a6437fefb New translations strings.xml (Russian) 2020-07-27 11:25:12 +02:00
PhilippC
b90e959e48 New translations strings.xml (Vietnamese) 2020-07-27 11:25:10 +02:00
PhilippC
abeefab726 New translations strings.xml (Chinese Simplified) 2020-07-27 11:25:09 +02:00
PhilippC
1bea5cd1ef New translations strings.xml (Ukrainian) 2020-07-27 11:25:07 +02:00
PhilippC
b4e22849bd New translations strings.xml (Turkish) 2020-07-27 11:25:05 +02:00
PhilippC
07adea2465 New translations strings.xml (Swedish) 2020-07-27 11:25:03 +02:00
PhilippC
e7fdb9239e New translations strings.xml (Serbian (Cyrillic)) 2020-07-27 11:25:01 +02:00
PhilippC
b70adfbc09 New translations strings.xml (Slovenian) 2020-07-27 11:25:00 +02:00
PhilippC
1474549886 New translations strings.xml (Chinese Traditional) 2020-07-27 11:24:58 +02:00
PhilippC
bfdf731fdd New translations strings.xml (Romanian) 2020-07-27 11:24:56 +02:00
Philipp Crocoll
d3ced0cdf3 improve user experience with autofill security alert:
* remember trusted links
 * allow to make an app trusted
 * improve message by displaying application label instead of package name (show package name once for security)
2020-07-27 11:19:29 +02:00
Philipp Crocoll
5fc2f94688 Merge branch 'master' of c:/ph/keepass2android 2020-07-06 21:11:07 +02:00
Philipp Crocoll
5aab4c98cf fix potential crash 2020-07-06 21:10:57 +02:00
Philipp Crocoll
02073c01b6 change to behavior of Autofill: If domain and package are not "compatible" (i.e. package is a trusted web browser or later DAL verification succeeded), allow to insert the credentials for the domain (no longer the package), but ask the user if he trusts the app. 2020-07-06 21:08:15 +02:00
Philipp Crocoll
d14d287c3a improve keyboard activation 2020-06-29 19:45:40 +02:00
Philipp Crocoll
862083c0be only show Google Drive option if device has PlayServices available 2020-06-29 12:02:45 +02:00
Philipp Crocoll
1f9412c5cf avoid potentially failing cast, fixes issue reported on https://github.com/PhilippC/keepass2android/issues/719#issuecomment-645185985 2020-06-17 21:00:39 +02:00
Philipp Crocoll
dd18e505a6 add package reference to GooglePlayServices.Auth to fix NoClassDefFound when using GoogleDrive. Add Changelog For 1.08b-pre2. 2020-06-16 21:46:41 +02:00
Philipp Crocoll
7e2db583a0 Merge branch 'master' of c:/ph/keepass2android 2020-06-15 13:10:20 +02:00
Philipp Crocoll
8d33ced838 manifest for 1.08-r2 release 2020-06-15 13:10:11 +02:00
Philipp Crocoll
f83e5dcc6e update FluentFTP, hoping to see improvements onn https://github.com/PhilippC/keepass2android/issues/1284 2020-06-15 11:31:44 +02:00
Philipp Crocoll
eeaa9f3280 code cleanup 2020-06-15 11:25:08 +02:00
Philipp Crocoll
1fad137c1e fix https://github.com/PhilippC/keepass2android/issues/1015 (bad error message when file not found) 2020-06-15 11:24:38 +02:00
Philipp Crocoll
b88bca35ab fix potential crash when an unknown scheme is entered while editing the URL of a recent file, fixes https://github.com/PhilippC/keepass2android/issues/1055 2020-06-14 20:16:36 +02:00
Philipp Crocoll
e9b9d0a781 fix crash when switching tasks while saving, should fix https://github.com/PhilippC/keepass2android/issues/719 2020-06-14 20:14:39 +02:00
Philipp Crocoll
d30c532a88 fix to password input behind view icon, fixes https://github.com/PhilippC/keepass2android/issues/370 2020-06-14 06:45:16 +02:00
Philipp Crocoll
b4dbc4bc08 improve display of database name/location in notifications, fixes https://github.com/PhilippC/keepass2android/issues/568 2020-06-14 06:29:03 +02:00
Philipp Crocoll
85d852cc54 fix https://github.com/PhilippC/keepass2android/issues/1282 (saving through autofill not working on Android 10 due to missing NewTask flag) 2020-06-13 20:36:46 +02:00
Philipp Crocoll
484a4732f8 fix https://github.com/PhilippC/keepass2android/issues/695 (missing fields on keyboard dialog) 2020-06-13 20:33:58 +02:00
Philipp Crocoll
0649de8cc6 changing the intent filter for ActionView, trying not to be too broad as before but hopefully still catching most intents for viewing kdbx files. Closes https://github.com/PhilippC/keepass2android/issues/816 and https://github.com/PhilippC/keepass2android/issues/157 2020-06-11 11:41:30 +02:00
Philipp Crocoll
69f8481cf1 small code cleanup 2020-06-11 07:27:38 +02:00
Philipp Crocoll
1625e5e3ac specify flag exclude from recents to fix https://github.com/PhilippC/keepass2android/issues/912 2020-06-11 07:27:23 +02:00
Philipp Crocoll
be1cc06a4b reuse WebDav client; forcing WebDav to use http1.1. This is a workaround to fix https://github.com/PhilippC/keepass2android/issues/747 2020-06-11 06:01:47 +02:00
Philipp Crocoll
adc45d8151 show nicer error messages 2020-06-10 21:52:35 +02:00
Philipp Crocoll
965a79f029 don't throw potential exception when checking if file is readonly 2020-05-30 19:48:02 +02:00
Philipp Crocoll
7c72f781a2 add empty file 2020-03-09 12:31:53 +01:00
Philipp Crocoll
b9a15471ef copy FTP data to memory stream to avoid issues when client is closed before reading is complete, closes #1094 2020-03-09 11:58:19 +01:00
Philipp Crocoll
e667f4e89c fix potential NullReferenceException 2020-03-09 11:52:40 +01:00
Philipp Crocoll
349f6c7c90 fix potential crash when opening from internal cache, closes #1179 2020-03-09 10:28:44 +01:00
Philipp Crocoll
e688639f47 Merge branch 'master' into Branch_e1416b9 2020-03-02 10:10:49 +01:00
Philipp Crocoll
8fbeb5c409 upgrading build tools and NuGet packages. switching to Xamarin's Biometric Bindings (even though this reverts from 1.0.1 to 1.0.0) because of build issues/incompatibilities 2020-03-02 10:07:55 +01:00
Philipp Crocoll
9d34dfe23e enable compatibility mode for autofill closes #290, closes #1061 2020-02-17 11:59:04 +01:00
Philipp Crocoll
01ea54932c allow to disable fingerprint unlock (in QuickUnlock mode) after three failed attempts, closes #16 2020-02-16 21:26:33 +01:00
Philipp Crocoll
ad0ac93bd3 add more logging to diagnose why keyboard is switched back sometimes 2020-02-16 05:28:54 +01:00
Philipp Crocoll
dc9d830d16 show username in search result, closes #546 2020-02-15 10:18:38 +01:00
Philipp Crocoll
cab797ee1e delete zh-rCN folder, is now in -zh, closes #651 2020-02-15 10:08:38 +01:00
Philipp Crocoll
e1416b984e Apply password font in EditText views, closes #404 2020-02-15 10:05:27 +01:00
Philipp Crocoll
ff95c32c2d Request focus before calling ShowInputMethod, closes #1132 2020-02-15 09:35:49 +01:00
Philipp Crocoll
2b2deb291a catch invalid dates, closes #868 2020-02-15 04:15:35 +01:00
Philipp Crocoll
e51999ea1f display notifications to allow copying TOTP to clipboard when autofilling, closes #1072 2020-02-15 03:55:43 +01:00
Philipp Crocoll
7ba17b8552 start implementing notifications when searching, e.g. for Autofill 2020-02-15 03:26:35 +01:00
Philipp Crocoll
406723fab0 manifest for 1.08-r1 2020-02-15 03:24:52 +01:00
Philipp Crocoll
e1ea3a1502 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2020-02-13 21:35:02 +01:00
Philipp Crocoll
3f101c070d update to biometric-1.0.1 2020-02-13 21:34:10 +01:00
Philipp Crocoll
dd49cc9324 Merge branch 'master' of c:/ph/keepass2android 2020-02-10 11:00:59 +01:00
Philipp Crocoll
d607151734 changelog for 1.08-r0 2020-02-10 11:00:51 +01:00
Philipp Crocoll
9b780cb216 update version for 1.08-r0 2020-02-10 10:07:13 +01:00
Philipp Crocoll
bd4c01c630 add missing files, ignore some files 2020-02-10 10:06:59 +01:00
Philipp Crocoll
7f4a151a63 manifest for 1.08-r0 2020-01-31 06:20:04 +01:00
PhilippC
d6174dc69e Merge pull request #1135 from PhilippC/l10n_master
New Crowdin translations
2020-01-31 06:21:24 +01:00
PhilippC
61cd5775a2 New translations strings.xml (German) 2020-01-31 06:20:09 +01:00
Philipp Crocoll
69b4828add Merge branch 'master' of https://github.com/PhilippC/keepass2android 2020-01-31 05:24:06 +01:00
Philipp Crocoll
ca09103e98 removed no longer needed subfolder 2020-01-31 05:22:53 +01:00
PhilippC
efadf03238 Merge pull request #1127 from PhilippC/l10n_master
New Crowdin translations
2020-01-31 05:22:14 +01:00
Philipp Crocoll
11727b80f2 simplify code for ftp transaction commit 2020-01-31 05:21:35 +01:00
PhilippC
e57b7179e3 New translations strings.xml (Basque) 2020-01-24 00:30:06 +01:00
PhilippC
1c720ddb7d New translations strings.xml (Basque) 2020-01-24 00:20:07 +01:00
PhilippC
d19396e542 Merge pull request #1107 from PhilippC/l10n_master
New Crowdin translations
2020-01-16 20:15:28 +01:00
PhilippC
ae436249b7 New translations strings.xml (Portuguese, Brazilian) 2020-01-16 20:15:05 +01:00
PhilippC
4518a87f24 New translations strings.xml (Portuguese) 2020-01-16 20:14:41 +01:00
PhilippC
4cc0359c4d New translations strings.xml (Vietnamese) 2020-01-15 20:48:09 +01:00
PhilippC
ec122e078b New translations strings.xml (Greek) 2020-01-15 20:48:07 +01:00
PhilippC
bbc0ba7b3c New translations strings.xml (Croatian) 2020-01-15 20:47:53 +01:00
PhilippC
c4ba08db15 New translations strings.xml (Czech) 2020-01-15 20:47:49 +01:00
PhilippC
75ab8d4eed New translations strings.xml (Danish) 2020-01-15 20:47:44 +01:00
PhilippC
d91cfe7cb0 New translations strings.xml (Dutch) 2020-01-15 20:47:39 +01:00
PhilippC
037c7d35d7 New translations strings.xml (Finnish) 2020-01-15 20:47:35 +01:00
PhilippC
6fd0ab790c New translations strings.xml (French) 2020-01-15 20:47:32 +01:00
PhilippC
1a578ca68e New translations strings.xml (Polish) 2020-01-15 20:47:29 +01:00
PhilippC
60ea6cef08 New translations strings.xml (Hebrew) 2020-01-15 20:47:25 +01:00
PhilippC
d795dbffee New translations strings.xml (Hungarian) 2020-01-15 20:47:23 +01:00
PhilippC
a5163df44c New translations strings.xml (Indonesian) 2020-01-15 20:47:20 +01:00
PhilippC
9fd62088ab New translations strings.xml (Galician) 2020-01-15 20:47:16 +01:00
PhilippC
1f162c85d8 New translations strings.xml (Korean) 2020-01-15 20:47:13 +01:00
PhilippC
9ac6a6a770 New translations strings.xml (Turkish) 2020-01-15 20:47:09 +01:00
PhilippC
78de922261 New translations strings.xml (Swedish) 2020-01-15 20:47:07 +01:00
PhilippC
76c839b091 New translations strings.xml (Spanish) 2020-01-15 20:47:03 +01:00
PhilippC
b5294d6d25 New translations strings.xml (Slovenian) 2020-01-15 20:46:58 +01:00
PhilippC
764963b087 New translations strings.xml (Japanese) 2020-01-15 20:46:54 +01:00
PhilippC
0f7ce379d6 New translations strings.xml (Serbian (Cyrillic)) 2020-01-15 20:46:53 +01:00
PhilippC
1d066f13ba New translations strings.xml (Russian) 2020-01-15 20:46:49 +01:00
PhilippC
1c9450ca10 New translations strings.xml (Slovak) 2020-01-15 20:46:47 +01:00
PhilippC
4f4f9405fe New translations strings.xml (Portuguese, Brazilian) 2020-01-15 20:46:43 +01:00
PhilippC
284e5e472f New translations strings.xml (Portuguese) 2020-01-15 20:46:39 +01:00
PhilippC
14c1026ad1 New translations strings.xml (Persian) 2020-01-15 20:46:34 +01:00
PhilippC
a6f69cc433 New translations strings.xml (Norwegian Bokmal) 2020-01-15 20:46:28 +01:00
PhilippC
dfb50586aa New translations strings.xml (Romanian) 2020-01-15 20:46:26 +01:00
PhilippC
4f1358ffc7 New translations strings.xml (Catalan) 2020-01-15 20:46:22 +01:00
PhilippC
1d12b1c925 New translations strings.xml (Basque) 2020-01-15 20:46:19 +01:00
PhilippC
de8202554a New translations strings.xml (Azerbaijani) 2020-01-15 20:46:17 +01:00
PhilippC
80655e1ca7 New translations strings.xml (Arabic) 2020-01-15 20:46:12 +01:00
PhilippC
4148399f6d New translations strings.xml (Chinese Simplified) 2020-01-15 20:46:10 +01:00
PhilippC
0bcba06ebf New translations strings.xml (Chinese Traditional) 2020-01-15 20:46:09 +01:00
PhilippC
c2cc965c21 New translations strings.xml (Bulgarian) 2020-01-15 20:46:04 +01:00
Philipp Crocoll
dd0c950474 unregister receiver in SelectCurrentDbActivity, closes https://github.com/PhilippC/keepass2android/issues/1111 2020-01-15 05:30:36 +01:00
Philipp Crocoll
b7c8baacc9 OneDrive: improve logging on error; fix creating new file paths, closes https://github.com/PhilippC/keepass2android/issues/1053 2020-01-15 05:18:46 +01:00
PhilippC
5e2fa65a4c New translations strings.xml (Ukrainian) 2020-01-14 00:30:07 +01:00
Philipp Crocoll
52676eb113 make sure we ask if user wants to remember the selected entry even when he didn't select "Choose another entry" (but used search directly), closes https://github.com/PhilippC/keepass2android/issues/742 2020-01-13 13:13:54 +01:00
Philipp Crocoll
bf5ca8908e don't search in groups with the "search disabled flag" when searching for host (i.e. when Share URL is used), closes https://github.com/PhilippC/keepass2android/issues/691 2020-01-13 12:23:45 +01:00
PhilippC
acbe62d6ed New translations strings.xml (Ukrainian) 2020-01-13 11:00:08 +01:00
PhilippC
79ec921abc New translations strings.xml (Ukrainian) 2020-01-13 10:50:09 +01:00
Philipp Crocoll
65bd88af72 changes to search provider, mainly removing special characters from suggestion as several users are reporting crashes on Android 9 when Tabs are in the notes 2020-01-11 17:14:27 +01:00
Philipp Crocoll
0273b4d2bb AndroidContentStorage: truncate file before writing, closes #583 2020-01-08 21:21:36 +01:00
PhilippC
63ef21287a New translations strings.xml (Italian) 2020-01-08 16:00:10 +01:00
PhilippC
1be320b755 New translations strings.xml (Ukrainian) 2020-01-08 11:40:07 +01:00
PhilippC
abcad958ab New translations strings.xml (German) 2020-01-06 14:40:09 +01:00
PhilippC
35b4350455 New translations strings.xml (German) 2020-01-06 14:30:07 +01:00
Philipp Crocoll
8f1251e59b set "no personalized learning" flag for IMEs when entering data to the database, closing #718 2020-01-06 11:57:07 +01:00
Philipp Crocoll
0400ab3c53 upgrade okhttp-digest to 2.0 to fix #1032 2020-01-06 11:21:14 +01:00
Philipp Crocoll
2f3d614ac0 shorten string for Send action to close #734 2019-12-18 05:28:40 +01:00
Philipp Crocoll
fd90b10444 make notes field selectable to close #595 2019-12-16 12:48:36 +01:00
Philipp Crocoll
7f5ec35ada trim TOTP seed to close #340 2019-12-16 12:39:20 +01:00
Philipp Crocoll
b7f7b0d470 allow to add custom fields when editing a template entry, closes #840 2019-12-16 12:32:53 +01:00
Philipp Crocoll
97fb35db90 urldecode display name in WebDavStorage to close #792 2019-12-16 12:18:02 +01:00
Philipp Crocoll
69abcd0786 remove reference to old NetFtp, as this was exchanged for FluentFTP; fix issue with paths that need url encoding, closing #736, closing #615 2019-12-16 12:09:41 +01:00
Philipp Crocoll
d697b93f6a allow to show attachments for template entries 2019-12-16 12:05:10 +01:00
Philipp Crocoll
2290b35317 add jp.hazuki.yuzubrowser to list of trusted browsers, closing #1067 2019-12-08 20:31:15 +01:00
Philipp Crocoll
d838ff0cd9 add support for Lightning browser to close #1034 2019-11-12 06:15:46 +01:00
Philipp Crocoll
a2aa9d61a9 read the reply after writing the file as stated in the docs 2019-11-07 20:09:42 +01:00
Philipp Crocoll
056d791ae9 fix typo on new string, fix compiler error 2019-11-06 22:08:56 +01:00
Philipp Crocoll
d3acacb20b update strings from fingerprint to biometric authentication 2019-11-06 21:56:59 +01:00
Philipp Crocoll
bb74305b26 remove accidentally commited code, was for testing only (into 1.08-pre3) 2019-11-06 20:52:55 +01:00
Philipp Crocoll
32549c9eff make sure biometric prompt does not show up directly after authentication (into 1.08-pre3) 2019-11-06 19:31:57 +01:00
Philipp Crocoll
83b5aa7d7b don't require confirmation for face unlock, as suggested in #795; makes it into pre3 2019-11-06 18:52:34 +01:00
Philipp Crocoll
640a2c7e88 manifest for 1.08-pre3 2019-11-06 18:28:04 +01:00
Philipp Crocoll
31aad963d6 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2019-11-06 18:27:37 +01:00
Philipp Crocoll
326f4282d7 fix potential crash (opening an activity without NewTask flag) 2019-11-06 18:27:24 +01:00
Philipp Crocoll
e5b3cf3db6 trust more Opera browsers 2019-11-06 17:46:26 +01:00
PhilippC
ca3e4a5135 Merge pull request #1023 from squabbi/patch-1
Update How-to-create-a-plug-in_.md
2019-11-06 11:37:50 -05:00
Jayden
c1607bbfb3 Update How-to-create-a-plug-in_.md
Fix malformed link for QR code Play Store link
2019-11-06 16:05:24 +11:00
Philipp Crocoll
0639201b4c add compatibility with steam encoding for OTPs (e.g. otpauth://totp/test:test@example.com?secret=63BEDWCQZKTQWPESARIERL5DTTQFCJTK&issuer=Valve&algorithm=SHA1&digits=5&period=30&encoder=steam) 2019-11-06 04:50:29 +01:00
Philipp Crocoll
b5fe3b8ce4 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2019-11-05 22:41:10 +01:00
Philipp Crocoll
2362efe5fc fix SelectCurrentDbActivity not correctly forwarding to PasswordActivity 2019-11-05 22:40:59 +01:00
Philipp Crocoll
308d8889e4 add missing permission and fix app version for 1.08-pre2 (142 was already used for pre1) 2019-11-05 21:33:14 +01:00
Philipp Crocoll
5e4ea21377 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2019-11-05 20:56:53 +01:00
Philipp Crocoll
45489ad600 changelog and manifest for 1.08-pre2 2019-11-05 20:56:45 +01:00
Philipp Crocoll
683cde5a8b update targetSdkVersion to 29 (Android 10/Q). Change canvas clipping in Soft keyboard to adhere to behavior changes in Android 10. Migrate to AndroidX. Migrate to using BiometricPrompt instead of FingerprintManager, keeping compatibility to SamsungPass API for devices like SGS5. Closes #795, should close #626, closes #910 2019-11-05 20:55:02 +01:00
Philipp Crocoll
8a9c781de2 packages.config to .csproj 2019-11-01 20:35:25 +01:00
PhilippC
6812998c8d Update README.md 2019-10-29 19:43:41 +01:00
Philipp Crocoll
89fda1eee5 update to target Android Q (build tools and targetSdkVersion) 2019-10-28 20:24:20 +01:00
Philipp Crocoll
0cf0170144 changelog and manifest for 1.08-pre1 2019-10-27 22:30:02 +01:00
Philipp Crocoll
cb79c8b1ff Merge branch 'master' of https://github.com/PhilippC/keepass2android 2019-10-27 22:19:57 +01:00
Philipp Crocoll
658dd6a0ec add kiwi browser to list of support autofill browsers 2019-10-27 22:11:36 +01:00
Philipp Crocoll
e6049eca2c upgrade OkHttp to 4.2.2 2019-10-27 22:11:03 +01:00
Philipp Crocoll
efcaa36325 no donate notice in changelog when using the app for one of the first times 2019-10-21 10:33:31 +02:00
Philipp Crocoll
905efd0454 Merge branch 'master' of https://github.com/PhilippC/keepass2android
# Resolved Conflicts:
#	src/keepass2android/Resources/values/strings.xml
2019-10-21 10:24:15 +02:00
Philipp Crocoll
3ce1c04cf2 Merge branch 'Branch_1.07'
# Resolved Conflicts:
#	src/keepass2android/Resources/values/strings.xml
2019-10-10 03:25:02 +02:00
Philipp Crocoll
cb979f8975 Merge remote-tracking branch 'remotes/origin/master' 2019-10-10 03:22:31 +02:00
Philipp Crocoll
cc8cea0049 manifest for 1.07b-r0 2019-10-10 03:20:48 +02:00
Philipp Crocoll
a94e6143e1 "rebase" changes to strings.xml to be in sync with translations from crowdin 2019-10-10 03:15:15 +02:00
PhilippC
699c97eaf9 New translations strings.xml (Portuguese, Brazilian) 2019-10-10 03:09:25 +02:00
PhilippC
10d4ec9bba New translations strings.xml (Portuguese) 2019-10-10 03:09:25 +02:00
PhilippC
e1f1b10f56 New translations strings.xml (French) 2019-10-10 03:09:25 +02:00
PhilippC
cfc09b8f3b New translations strings.xml (Swedish) 2019-10-10 03:09:24 +02:00
PhilippC
4c1571ff2d New translations strings.xml (Spanish) 2019-10-10 03:09:24 +02:00
PhilippC
5aea520cd1 New translations strings.xml (Portuguese, Brazilian) 2019-10-10 03:09:24 +02:00
PhilippC
00294f1aad New translations strings.xml (Portuguese) 2019-10-10 03:09:23 +02:00
PhilippC
e0fd45f838 New translations strings.xml (German) 2019-10-10 03:09:23 +02:00
PhilippC
a7e8363ed7 New translations strings.xml (Swedish) 2019-10-10 03:09:23 +02:00
PhilippC
cb144c5bcf New translations strings.xml (Swedish) 2019-10-10 03:09:23 +02:00
PhilippC
57a9570d34 New translations strings.xml (Swedish) 2019-10-10 03:09:22 +02:00
PhilippC
28162762ef New translations strings.xml (Czech) 2019-10-10 03:09:22 +02:00
PhilippC
b9e745a7fb New translations strings.xml (Czech) 2019-10-10 03:09:22 +02:00
PhilippC
e08e59c226 New translations strings.xml (Polish) 2019-10-10 03:09:21 +02:00
PhilippC
3d6b02a016 New translations strings.xml (Catalan) 2019-10-10 03:09:21 +02:00
PhilippC
b18a7b1a23 New translations strings.xml (Catalan) 2019-10-10 03:09:21 +02:00
PhilippC
8595674eb0 New translations strings.xml (Catalan) 2019-10-10 03:09:21 +02:00
PhilippC
23fd50df21 New translations strings.xml (Dutch) 2019-10-10 03:09:20 +02:00
PhilippC
af80997ed4 New translations strings.xml (Ukrainian) 2019-10-10 03:09:20 +02:00
PhilippC
7e3ac2959e New translations strings.xml (German) 2019-10-10 03:09:20 +02:00
PhilippC
78124c505e New translations strings.xml (German) 2019-10-10 03:09:19 +02:00
PhilippC
589b3f9540 New translations strings.xml (Russian) 2019-10-10 03:09:19 +02:00
PhilippC
bd505d858a New translations strings.xml (Chinese Traditional) 2019-10-10 03:09:19 +02:00
PhilippC
308909f4eb New translations strings.xml (Danish) 2019-10-10 03:09:19 +02:00
PhilippC
9cfcda2938 New translations strings.xml (Danish) 2019-10-10 03:09:18 +02:00
PhilippC
fa4887ffef New translations strings.xml (Italian) 2019-10-10 03:09:18 +02:00
PhilippC
f70f26149e New translations strings.xml (Italian) 2019-10-10 03:09:18 +02:00
PhilippC
3cc904dc18 New translations strings.xml (Danish) 2019-10-10 03:09:17 +02:00
PhilippC
16c6346797 New translations strings.xml (Japanese) 2019-10-10 03:09:17 +02:00
PhilippC
01b8f92d43 New translations strings.xml (Danish) 2019-10-10 03:09:17 +02:00
PhilippC
082f0a928f New translations strings.xml (Chinese Traditional) 2019-10-10 03:09:17 +02:00
PhilippC
2ec4d6e006 New translations strings.xml (Dutch) 2019-10-10 03:09:16 +02:00
PhilippC
7bd46b2182 New translations strings.xml (Chinese Traditional) 2019-10-10 03:09:16 +02:00
PhilippC
2e9ba3bcfc New translations strings.xml (Spanish) 2019-10-10 03:09:16 +02:00
PhilippC
551e374786 New translations strings.xml (Slovenian) 2019-10-10 03:09:15 +02:00
PhilippC
4366858b73 New translations strings.xml (Spanish) 2019-10-10 03:09:15 +02:00
PhilippC
29b7c24312 New translations strings.xml (Slovak) 2019-10-10 03:09:15 +02:00
PhilippC
3c5894db5d New translations strings.xml (Italian) 2019-10-10 03:09:15 +02:00
PhilippC
1d652272d7 New translations strings.xml (French) 2019-10-10 03:09:14 +02:00
PhilippC
d8c7f479ae New translations strings.xml (Danish) 2019-10-10 03:09:14 +02:00
PhilippC
3a0cb3fc72 New translations strings.xml (Slovak) 2019-10-10 03:09:14 +02:00
PhilippC
65f1ec8bf4 New translations strings.xml (Portuguese, Brazilian) 2019-10-10 03:09:14 +02:00
PhilippC
0421e16910 New translations strings.xml (Portuguese) 2019-10-10 03:09:13 +02:00
PhilippC
2489d8e95f New translations strings.xml (Spanish) 2019-10-10 03:09:13 +02:00
PhilippC
ac46ac7372 New translations strings.xml (Japanese) 2019-10-10 03:09:13 +02:00
PhilippC
3ed3c90dae New translations strings.xml (Japanese) 2019-10-10 03:09:12 +02:00
PhilippC
a45530393e New translations strings.xml (Spanish) 2019-10-10 03:09:12 +02:00
PhilippC
a3e4b61216 New translations strings.xml (French) 2019-10-10 03:09:12 +02:00
PhilippC
c4939dd231 New translations strings.xml (Spanish) 2019-10-10 03:09:12 +02:00
PhilippC
c20303ebf1 New translations strings.xml (Chinese Traditional) 2019-10-10 03:09:11 +02:00
PhilippC
d7627899ea New translations strings.xml (Chinese Traditional) 2019-10-10 03:09:11 +02:00
PhilippC
87f82fb23f New translations strings.xml (Chinese Traditional) 2019-10-10 03:09:11 +02:00
PhilippC
f866cdd4aa New translations strings.xml (Slovenian) 2019-10-10 03:09:10 +02:00
PhilippC
a9fc44a4a2 New translations strings.xml (Danish) 2019-10-10 03:09:10 +02:00
PhilippC
ee00e66e4f New translations strings.xml (German) 2019-10-10 03:09:10 +02:00
PhilippC
cfa97759da New translations strings.xml (Danish) 2019-10-10 03:09:10 +02:00
PhilippC
cf26b9fd58 New translations strings.xml (Danish) 2019-10-10 03:09:09 +02:00
PhilippC
6a5ddcc06d New translations strings.xml (Polish) 2019-10-10 03:09:09 +02:00
PhilippC
592667a845 New translations strings.xml (Italian) 2019-10-10 03:09:09 +02:00
PhilippC
8f6e3db71d New translations strings.xml (Czech) 2019-10-10 03:09:08 +02:00
PhilippC
70502414c3 New translations strings.xml (French) 2019-10-10 03:09:08 +02:00
PhilippC
c9189d37f5 New translations strings.xml (Portuguese, Brazilian) 2019-10-10 03:09:08 +02:00
PhilippC
9e62e32e0a New translations strings.xml (Turkish) 2019-10-10 03:09:08 +02:00
PhilippC
f592126d63 New translations strings.xml (Italian) 2019-10-10 03:09:07 +02:00
PhilippC
c26b360bcc New translations strings.xml (Portuguese) 2019-10-10 03:09:07 +02:00
PhilippC
33c844bc97 New translations strings.xml (Dutch) 2019-10-10 03:09:07 +02:00
PhilippC
23a4a90afa New translations strings.xml (Hungarian) 2019-10-10 03:09:06 +02:00
PhilippC
643d8cc644 New translations strings.xml (Turkish) 2019-10-10 03:09:06 +02:00
PhilippC
10d9f73982 New translations strings.xml (Dutch) 2019-10-10 03:09:06 +02:00
PhilippC
a8f3e079a4 New translations strings.xml (Dutch) 2019-10-10 03:09:06 +02:00
PhilippC
8ad258d6b3 New translations strings.xml (Czech) 2019-10-10 03:09:05 +02:00
PhilippC
9a37d61892 New translations strings.xml (German) 2019-10-10 03:09:05 +02:00
PhilippC
30b5443ee1 New translations strings.xml (Vietnamese) 2019-10-10 03:09:05 +02:00
PhilippC
82885da6aa New translations strings.xml (Hungarian) 2019-10-10 03:09:04 +02:00
PhilippC
b498b8b437 New translations strings.xml (Greek) 2019-10-10 03:09:04 +02:00
PhilippC
7109fe405a New translations strings.xml (German) 2019-10-10 03:09:04 +02:00
PhilippC
0611cf2d89 New translations strings.xml (Galician) 2019-10-10 03:09:04 +02:00
PhilippC
2f5a1770c4 New translations strings.xml (French) 2019-10-10 03:09:03 +02:00
PhilippC
f7ee43fc89 New translations strings.xml (Finnish) 2019-10-10 03:09:03 +02:00
PhilippC
1457bdf69b New translations strings.xml (Indonesian) 2019-10-10 03:09:03 +02:00
PhilippC
db4a1a918e New translations strings.xml (Dutch) 2019-10-10 03:09:03 +02:00
PhilippC
66fafc25c8 New translations strings.xml (Czech) 2019-10-10 03:09:02 +02:00
PhilippC
b83cd39754 New translations strings.xml (Croatian) 2019-10-10 03:09:02 +02:00
PhilippC
3010643dc1 New translations strings.xml (Chinese Traditional) 2019-10-10 03:09:02 +02:00
PhilippC
823d6467b9 New translations strings.xml (Chinese Simplified) 2019-10-10 03:09:01 +02:00
PhilippC
9ebdf9c22c New translations strings.xml (Catalan) 2019-10-10 03:09:01 +02:00
PhilippC
0e4421ddc2 New translations strings.xml (Bulgarian) 2019-10-10 03:09:01 +02:00
PhilippC
3fbdf836cd New translations strings.xml (Basque) 2019-10-10 03:09:01 +02:00
PhilippC
124c07efa3 New translations strings.xml (Danish) 2019-10-10 03:09:00 +02:00
PhilippC
5d8cb69938 New translations strings.xml (Italian) 2019-10-10 03:09:00 +02:00
PhilippC
5e2f19b73e New translations strings.xml (Korean) 2019-10-10 03:09:00 +02:00
PhilippC
6e5f2dc910 New translations strings.xml (Ukrainian) 2019-10-10 03:08:59 +02:00
PhilippC
11119c8aa6 New translations strings.xml (Turkish) 2019-10-10 03:08:59 +02:00
PhilippC
b53ebafa9b New translations strings.xml (Swedish) 2019-10-10 03:08:59 +02:00
PhilippC
53bb74b837 New translations strings.xml (Spanish) 2019-10-10 03:08:59 +02:00
PhilippC
8b56ace8d1 New translations strings.xml (Slovenian) 2019-10-10 03:08:58 +02:00
PhilippC
524b8414d5 New translations strings.xml (Slovak) 2019-10-10 03:08:58 +02:00
PhilippC
88bfa05921 New translations strings.xml (Japanese) 2019-10-10 03:08:58 +02:00
PhilippC
4115463922 New translations strings.xml (Russian) 2019-10-10 03:08:57 +02:00
PhilippC
83ab0b2ee4 New translations strings.xml (Portuguese, Brazilian) 2019-10-10 03:08:57 +02:00
PhilippC
5bacadbca0 New translations strings.xml (Portuguese) 2019-10-10 03:08:57 +02:00
PhilippC
005930c8a0 New translations strings.xml (Polish) 2019-10-10 03:08:56 +02:00
PhilippC
a16e6ff00b New translations strings.xml (Persian) 2019-10-10 03:08:56 +02:00
PhilippC
aef334ec61 New translations strings.xml (Norwegian Bokmal) 2019-10-10 03:08:56 +02:00
PhilippC
7917a59757 New translations strings.xml (Romanian) 2019-10-10 03:08:55 +02:00
PhilippC
954fc0f5fb New translations strings.xml (Arabic) 2019-10-10 03:08:55 +02:00
PhilippC
f9578493b4 New translations strings.xml (French) 2019-10-10 03:08:55 +02:00
PhilippC
f49a82745f New translations strings.xml (Chinese Traditional) 2019-10-10 03:08:55 +02:00
PhilippC
84bd67bdea New translations strings.xml (French) 2019-10-10 03:08:54 +02:00
PhilippC
e32bb0a573 New translations strings.xml (Turkish) 2019-10-10 03:08:54 +02:00
PhilippC
8f5d4be864 New translations strings.xml (Italian) 2019-10-10 03:08:54 +02:00
PhilippC
e99c425120 New translations strings.xml (Spanish) 2019-10-10 03:08:53 +02:00
PhilippC
369379df2f New translations strings.xml (Japanese) 2019-10-10 03:08:53 +02:00
PhilippC
9a35575741 New translations strings.xml (Chinese Traditional) 2019-10-10 03:08:53 +02:00
PhilippC
455ca956ab New translations strings.xml (Portuguese) 2019-10-10 03:08:53 +02:00
PhilippC
b87df11941 New translations strings.xml (Dutch) 2019-10-10 03:08:52 +02:00
PhilippC
beb9e2241b New translations strings.xml (Dutch) 2019-10-10 03:08:52 +02:00
PhilippC
71c78d04c6 New translations strings.xml (Dutch) 2019-10-10 03:08:52 +02:00
PhilippC
9a5b18d842 New translations strings.xml (Norwegian Bokmal) 2019-10-10 03:08:52 +02:00
PhilippC
702baf3614 New translations strings.xml (Dutch) 2019-10-10 03:08:51 +02:00
PhilippC
c8b7a8d51e New translations strings.xml (Dutch) 2019-10-10 03:08:51 +02:00
PhilippC
95f1d2ca14 New translations strings.xml (Dutch) 2019-10-10 03:08:51 +02:00
PhilippC
d4673abd01 New translations strings.xml (Polish) 2019-10-10 03:08:50 +02:00
PhilippC
225f0ab437 New translations strings.xml (Polish) 2019-10-10 03:08:50 +02:00
PhilippC
7a36a53a4b New translations strings.xml (Korean) 2019-10-10 03:08:50 +02:00
PhilippC
d9a3469e19 New translations strings.xml (Swedish) 2019-10-10 03:08:50 +02:00
PhilippC
46a5202edb New translations strings.xml (Swedish) 2019-10-10 03:08:49 +02:00
PhilippC
e28b55df9d New translations strings.xml (Swedish) 2019-10-10 03:08:49 +02:00
PhilippC
91a8d6ac6c New translations strings.xml (Swedish) 2019-10-10 03:08:49 +02:00
PhilippC
151d7bb5ca New translations strings.xml (Swedish) 2019-10-10 03:08:48 +02:00
PhilippC
7432f294b2 New translations strings.xml (Swedish) 2019-10-10 03:08:48 +02:00
PhilippC
6ac2bd3c1f New translations strings.xml (Vietnamese) 2019-10-10 03:08:48 +02:00
PhilippC
3ad238e7e8 New translations strings.xml (Basque) 2019-10-10 03:08:47 +02:00
PhilippC
59230fe57a New translations strings.xml (Bulgarian) 2019-10-10 03:08:47 +02:00
PhilippC
43e1e62b41 New translations strings.xml (Catalan) 2019-10-10 03:08:47 +02:00
PhilippC
afb4dd5ce9 New translations strings.xml (Chinese Simplified) 2019-10-10 03:08:47 +02:00
PhilippC
f2b861c369 New translations strings.xml (Croatian) 2019-10-10 03:08:46 +02:00
PhilippC
4080966331 New translations strings.xml (Czech) 2019-10-10 03:08:46 +02:00
PhilippC
54b4662322 New translations strings.xml (Danish) 2019-10-10 03:08:46 +02:00
PhilippC
26e8e2afc9 New translations strings.xml (Dutch) 2019-10-10 03:08:45 +02:00
PhilippC
9aa705f3e7 New translations strings.xml (Finnish) 2019-10-10 03:08:45 +02:00
PhilippC
cb49c90b4a New translations strings.xml (French) 2019-10-10 03:08:45 +02:00
PhilippC
84b2b83901 New translations strings.xml (Galician) 2019-10-10 03:08:45 +02:00
PhilippC
abebc9d3aa New translations strings.xml (German) 2019-10-10 03:08:44 +02:00
PhilippC
19a6044044 New translations strings.xml (Arabic) 2019-10-10 03:08:44 +02:00
PhilippC
6a396561a8 New translations strings.xml (Greek) 2019-10-10 03:08:43 +02:00
PhilippC
025b822046 New translations strings.xml (Hungarian) 2019-10-10 03:08:43 +02:00
PhilippC
1f95c684d8 New translations strings.xml (Indonesian) 2019-10-10 03:08:43 +02:00
PhilippC
7116370908 New translations strings.xml (Italian) 2019-10-10 03:08:43 +02:00
PhilippC
caca6237b8 New translations strings.xml (Japanese) 2019-10-10 03:08:42 +02:00
PhilippC
c5ddf1644d New translations strings.xml (Romanian) 2019-10-10 03:08:42 +02:00
PhilippC
7147874d79 New translations strings.xml (Russian) 2019-10-10 03:08:42 +02:00
PhilippC
91bcbcf47d New translations strings.xml (Serbian (Cyrillic)) 2019-10-10 03:08:41 +02:00
PhilippC
e9ecff62a3 New translations strings.xml (Slovak) 2019-10-10 03:08:41 +02:00
PhilippC
69e081a279 New translations strings.xml (Slovenian) 2019-10-10 03:08:41 +02:00
PhilippC
51ce9847e2 New translations strings.xml (Spanish) 2019-10-10 03:08:41 +02:00
PhilippC
988cc8bd3d New translations strings.xml (Swedish) 2019-10-10 03:08:40 +02:00
PhilippC
9b34ddfd9d New translations strings.xml (Turkish) 2019-10-10 03:08:40 +02:00
PhilippC
bd158984b7 New translations strings.xml (Chinese Traditional) 2019-10-10 03:08:40 +02:00
PhilippC
ba76baf6ce New translations strings.xml (Polish) 2019-10-10 03:08:39 +02:00
PhilippC
19cf36c1e6 New translations strings.xml (Persian) 2019-10-10 03:08:39 +02:00
PhilippC
2bee860748 New translations strings.xml (Norwegian Bokmal) 2019-10-10 03:08:39 +02:00
PhilippC
edcbfeca1c New translations strings.xml (Korean) 2019-10-10 03:08:39 +02:00
PhilippC
db7a629e7d New translations strings.xml (Portuguese, Brazilian) 2019-10-10 03:08:38 +02:00
PhilippC
213ff373a9 New translations strings.xml (Ukrainian) 2019-10-10 03:08:38 +02:00
PhilippC
13fe371b73 New translations strings.xml (Vietnamese) 2019-10-10 03:08:38 +02:00
PhilippC
42e8c28320 New translations strings.xml (Basque) 2019-10-10 03:08:37 +02:00
PhilippC
cefeff50c9 New translations strings.xml (Bulgarian) 2019-10-10 03:08:37 +02:00
PhilippC
d3bb247b65 New translations strings.xml (Catalan) 2019-10-10 03:08:37 +02:00
PhilippC
6a7097a70f New translations strings.xml (Chinese Simplified) 2019-10-10 03:08:37 +02:00
PhilippC
c00ba4ad67 New translations strings.xml (Croatian) 2019-10-10 03:08:36 +02:00
PhilippC
63f3639196 New translations strings.xml (Czech) 2019-10-10 03:08:36 +02:00
PhilippC
5a02b65b66 New translations strings.xml (Danish) 2019-10-10 03:08:36 +02:00
PhilippC
daf0dfa761 New translations strings.xml (Dutch) 2019-10-10 03:08:35 +02:00
PhilippC
9aaf0ff08d New translations strings.xml (Finnish) 2019-10-10 03:08:35 +02:00
PhilippC
afac7406d7 New translations strings.xml (French) 2019-10-10 03:08:35 +02:00
PhilippC
6ae7c6e7ab New translations strings.xml (Galician) 2019-10-10 03:08:34 +02:00
PhilippC
16e8b01bcc New translations strings.xml (German) 2019-10-10 03:08:34 +02:00
PhilippC
ffd37f3658 New translations strings.xml (Arabic) 2019-10-10 03:08:34 +02:00
PhilippC
f6d18b18b9 New translations strings.xml (Greek) 2019-10-10 03:08:34 +02:00
PhilippC
2061ea8e18 New translations strings.xml (Hungarian)
# Conflicts:
#	src/keepass2android/Resources/values-hu/strings.xml
2019-10-10 03:08:33 +02:00
PhilippC
f9ff03d85d New translations strings.xml (Indonesian) 2019-10-10 03:08:33 +02:00
PhilippC
4b8a8e83d2 New translations strings.xml (Italian) 2019-10-10 03:08:33 +02:00
PhilippC
47466e7322 New translations strings.xml (Japanese) 2019-10-10 03:08:32 +02:00
PhilippC
92be6e1b56 New translations strings.xml (Romanian) 2019-10-10 03:08:32 +02:00
PhilippC
f763840c14 New translations strings.xml (Russian)
# Conflicts:
#	src/keepass2android/Resources/values-ru/strings.xml
2019-10-10 03:08:32 +02:00
PhilippC
09fed92c4f New translations strings.xml (Serbian (Cyrillic)) 2019-10-10 03:08:32 +02:00
PhilippC
0cb4e1db64 New translations strings.xml (Slovak) 2019-10-10 03:08:31 +02:00
PhilippC
66c7afc8db New translations strings.xml (Slovenian) 2019-10-10 03:08:31 +02:00
PhilippC
7482006851 New translations strings.xml (Spanish) 2019-10-10 03:08:31 +02:00
PhilippC
45f17d81e7 New translations strings.xml (Swedish) 2019-10-10 03:08:30 +02:00
PhilippC
dc2e557d2c New translations strings.xml (Turkish)
# Conflicts:
#	src/keepass2android/Resources/values-tr/strings.xml
2019-10-10 03:08:30 +02:00
PhilippC
6d4630e2d9 New translations strings.xml (Chinese Traditional) 2019-10-10 03:08:30 +02:00
PhilippC
fc96bc6b4e New translations strings.xml (Polish) 2019-10-10 03:08:30 +02:00
PhilippC
c13986a88f New translations strings.xml (Persian) 2019-10-10 03:08:29 +02:00
PhilippC
6eb7f15045 New translations strings.xml (Norwegian Bokmal) 2019-10-10 03:08:29 +02:00
PhilippC
61346438eb New translations strings.xml (Korean) 2019-10-10 03:08:29 +02:00
PhilippC
47e520c4b0 New translations strings.xml (Portuguese, Brazilian) 2019-10-10 03:08:28 +02:00
PhilippC
bcdae3d3e7 New translations strings.xml (Ukrainian) 2019-10-10 03:08:28 +02:00
PhilippC
a17aafeabd New translations strings.xml (Chinese Traditional) 2019-10-10 03:08:28 +02:00
PhilippC
286c27f7f8 New translations strings.xml (Ukrainian) 2019-10-10 03:08:28 +02:00
PhilippC
a44d08c352 New translations strings.xml (Polish) 2019-10-10 03:08:27 +02:00
PhilippC
aeb396f000 New translations strings.xml (Polish) 2019-10-10 03:08:27 +02:00
PhilippC
6c8dcbadb4 New translations strings.xml (Polish) 2019-10-10 03:08:27 +02:00
PhilippC
0071502c83 New translations strings.xml (Czech) 2019-10-10 03:08:26 +02:00
PhilippC
eb47e19df7 New translations strings.xml (Czech) 2019-10-10 03:08:26 +02:00
PhilippC
8ff2d10697 New translations strings.xml (Czech) 2019-10-10 03:08:26 +02:00
PhilippC
e1bfb4f7c2 New translations strings.xml (Czech) 2019-10-10 03:08:26 +02:00
PhilippC
8ae699b751 New translations strings.xml (Catalan) 2019-10-10 03:08:25 +02:00
PhilippC
6381d323da New translations strings.xml (Catalan) 2019-10-10 03:08:25 +02:00
PhilippC
8e9ec81591 New translations strings.xml (Turkish) 2019-10-10 03:08:25 +02:00
PhilippC
ad847e0114 New translations strings.xml (Chinese Simplified) 2019-10-10 03:08:24 +02:00
PhilippC
d44dd3e738 New translations strings.xml (Chinese Simplified) 2019-10-10 03:08:24 +02:00
PhilippC
6b6a3db89a New translations strings.xml (Chinese Simplified) 2019-10-10 03:08:24 +02:00
PhilippC
cecdb4e76d New translations strings.xml (Swedish) 2019-10-10 03:08:24 +02:00
PhilippC
c984497454 New translations strings.xml (Swedish) 2019-10-10 03:08:23 +02:00
PhilippC
5a617ad824 New translations strings.xml (Danish) 2019-10-10 03:08:23 +02:00
PhilippC
7f83846937 New translations strings.xml (Chinese Traditional) 2019-10-10 03:08:23 +02:00
PhilippC
19de6e7d52 New translations strings.xml (Portuguese, Brazilian) 2019-10-10 03:08:22 +02:00
Philipp Crocoll
12d2f961cf re-acquire token in OneDrive2FileStorage after expiry, closes https://github.com/PhilippC/keepass2android/issues/983 2019-10-10 03:08:22 +02:00
PhilippC
8fe549fc55 Merge pull request #768 from PhilippC/l10n_master
New Crowdin translations
2019-10-10 02:44:27 +02:00
PhilippC
a99e55e884 New translations strings.xml (Portuguese, Brazilian) 2019-10-10 02:41:12 +02:00
PhilippC
e361f770e8 New translations strings.xml (Portuguese) 2019-10-10 02:41:09 +02:00
PhilippC
a27e13bcb3 New translations strings.xml (French) 2019-10-10 02:34:34 +02:00
PhilippC
03cf25766b New translations strings.xml (Swedish) 2019-10-10 02:33:44 +02:00
PhilippC
9ce42a8e98 New translations strings.xml (Spanish) 2019-10-10 02:33:39 +02:00
PhilippC
c03a5b08fd New translations strings.xml (Portuguese, Brazilian) 2019-10-10 02:33:16 +02:00
PhilippC
9b5853d3f9 New translations strings.xml (Portuguese) 2019-10-10 02:33:11 +02:00
PhilippC
8a3735dc01 New translations strings.xml (German) 2019-10-09 22:30:13 +02:00
PhilippC
aae662ab5e New translations strings.xml (Swedish) 2019-10-09 10:10:14 +02:00
PhilippC
d051f02a43 New translations strings.xml (Swedish) 2019-10-09 10:00:15 +02:00
PhilippC
2e4cf0dfc6 New translations strings.xml (Swedish) 2019-10-09 09:50:09 +02:00
Philipp Crocoll
fc76e2042d remove "pre" from changelog 2019-10-09 02:36:04 +02:00
PhilippC
d7f462d21f New translations strings.xml (Czech) 2019-10-08 21:00:11 +02:00
PhilippC
2b61598c21 New translations strings.xml (Czech) 2019-10-08 20:50:12 +02:00
Philipp Crocoll
799dc3a38f switch to FluentFTP to close #825 2019-10-08 07:11:34 +02:00
PhilippC
9c76dce17d New translations strings.xml (Polish) 2019-10-07 21:50:13 +02:00
PhilippC
28ac79bbe5 New translations strings.xml (Catalan) 2019-10-07 21:50:08 +02:00
PhilippC
bdf825a2b5 New translations strings.xml (Catalan) 2019-10-07 21:40:09 +02:00
PhilippC
37d03a2735 New translations strings.xml (Catalan) 2019-10-07 21:20:08 +02:00
PhilippC
e8fde4ad0a New translations strings.xml (Dutch) 2019-10-07 20:50:08 +02:00
PhilippC
1aa29a82fb New translations strings.xml (Ukrainian) 2019-10-07 18:10:09 +02:00
PhilippC
60f292a5a7 New translations strings.xml (German) 2019-10-07 17:30:10 +02:00
PhilippC
1f956ab1db New translations strings.xml (German) 2019-10-07 17:20:12 +02:00
PhilippC
df39fa5545 New translations strings.xml (Russian) 2019-10-07 17:00:12 +02:00
PhilippC
dd0800f543 New translations strings.xml (Chinese Traditional) 2019-10-07 16:50:14 +02:00
PhilippC
8b3c6eb1ff New translations strings.xml (Danish) 2019-10-07 16:30:13 +02:00
PhilippC
88b35c0051 New translations strings.xml (Danish) 2019-10-07 15:00:10 +02:00
PhilippC
2f83169ddd New translations strings.xml (Italian) 2019-10-07 13:50:08 +02:00
PhilippC
ce4b301f5c New translations strings.xml (Italian) 2019-10-07 13:40:13 +02:00
PhilippC
433f46b8f1 New translations strings.xml (Danish) 2019-10-07 13:40:10 +02:00
PhilippC
03eb52dc14 New translations strings.xml (Japanese) 2019-10-07 13:30:19 +02:00
PhilippC
9d785679c5 New translations strings.xml (Danish) 2019-10-07 13:30:14 +02:00
PhilippC
699a4f96b0 New translations strings.xml (Chinese Traditional) 2019-10-07 13:30:09 +02:00
PhilippC
afd6f0f4d6 New translations strings.xml (Dutch) 2019-10-07 12:40:15 +02:00
PhilippC
eaadc45fce New translations strings.xml (Chinese Traditional) 2019-10-07 12:40:13 +02:00
PhilippC
e9852a6d98 New translations strings.xml (Spanish) 2019-10-07 12:30:17 +02:00
PhilippC
e1b3e769d8 New translations strings.xml (Slovenian) 2019-10-07 12:30:12 +02:00
PhilippC
501535a9a4 New translations strings.xml (Spanish) 2019-10-07 12:20:10 +02:00
PhilippC
fb8608e467 New translations strings.xml (Slovak) 2019-10-07 12:10:29 +02:00
PhilippC
e9eb8c250a New translations strings.xml (Italian) 2019-10-07 12:10:22 +02:00
PhilippC
eaa5a9d375 New translations strings.xml (French) 2019-10-07 12:10:15 +02:00
PhilippC
d28834591a New translations strings.xml (Danish) 2019-10-07 12:02:12 +02:00
PhilippC
49aa0a20cd New translations strings.xml (Slovak) 2019-10-07 12:01:17 +02:00
PhilippC
8d611bd6c6 New translations strings.xml (Portuguese, Brazilian) 2019-10-07 12:01:01 +02:00
PhilippC
bfe8650ec9 New translations strings.xml (Portuguese) 2019-10-07 12:00:56 +02:00
PhilippC
fd52a5f388 New translations strings.xml (Spanish) 2019-10-07 11:40:13 +02:00
PhilippC
6b8c5ea1fb New translations strings.xml (Japanese) 2019-10-07 11:40:09 +02:00
PhilippC
8347feceff New translations strings.xml (Japanese) 2019-10-07 11:30:10 +02:00
PhilippC
626b7fc6b3 New translations strings.xml (Spanish) 2019-10-07 11:20:08 +02:00
Philipp Crocoll
1701c9142b allow to activate search field also after QuickUnlock, not only full unlock. Closes #858 2019-10-07 11:19:34 +02:00
Philipp Crocoll
245794ed53 add Copy TOTP notification, closes #110 2019-10-07 11:18:48 +02:00
PhilippC
24aba30fa8 New translations strings.xml (French) 2019-10-07 10:30:10 +02:00
Philipp Crocoll
6338472e73 order group list with culture-aware sorting, closes #922 2019-10-07 10:30:08 +02:00
Philipp Crocoll
580b46a394 detect if FLAG_SECURE cannot be set and display an explanation, combined with a button to access the app settings to disable screen protection if desired. closes #272. 2019-10-07 10:29:54 +02:00
PhilippC
ea1a34353c New translations strings.xml (Spanish) 2019-10-07 09:50:08 +02:00
PhilippC
f9790e0e3e New translations strings.xml (Chinese Traditional) 2019-10-07 09:30:14 +02:00
PhilippC
540c4a72a2 New translations strings.xml (Chinese Traditional) 2019-10-07 09:20:10 +02:00
PhilippC
bc905304e7 New translations strings.xml (Chinese Traditional) 2019-10-07 09:10:08 +02:00
PhilippC
ad04309f9d New translations strings.xml (Slovenian) 2019-10-07 07:20:07 +02:00
Philipp Crocoll
684ffb8525 show toast in correct thread, closes #371 2019-10-07 07:13:59 +02:00
Philipp Crocoll
049764fe67 don't save files in a file version lower than what was read, closes #791 2019-10-07 02:30:38 +02:00
Philipp Crocoll
a048c45b32 improve clearing of clipboard, closes #936 2019-10-07 02:29:00 +02:00
PhilippC
60c78642b1 New translations strings.xml (Danish) 2019-10-07 00:10:09 +02:00
PhilippC
5c7f551922 New translations strings.xml (German) 2019-10-07 00:00:15 +02:00
PhilippC
ceac7841a0 New translations strings.xml (Danish) 2019-10-07 00:00:11 +02:00
PhilippC
a29fc9d3cc New translations strings.xml (Danish) 2019-10-06 23:50:10 +02:00
PhilippC
f5dbc85450 New translations strings.xml (Polish) 2019-10-06 22:50:10 +02:00
PhilippC
6a86a6906c New translations strings.xml (Italian) 2019-10-06 22:40:12 +02:00
PhilippC
2b4bd1a79d New translations strings.xml (Czech) 2019-10-06 22:40:08 +02:00
PhilippC
2b2ce4eb29 New translations strings.xml (French) 2019-10-06 22:20:10 +02:00
PhilippC
6ac875aeb5 New translations strings.xml (Portuguese, Brazilian) 2019-10-06 22:10:24 +02:00
PhilippC
f43c6d3899 New translations strings.xml (Turkish) 2019-10-06 22:00:26 +02:00
PhilippC
3f240868d0 New translations strings.xml (Italian) 2019-10-06 22:00:22 +02:00
PhilippC
5ccea973ee New translations strings.xml (Portuguese) 2019-10-06 21:51:33 +02:00
PhilippC
c1d59d9203 New translations strings.xml (Dutch) 2019-10-06 21:50:33 +02:00
Philipp Crocoll
c6d3eb7131 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2019-10-06 21:48:35 +02:00
Philipp Crocoll
f462bbe98b remove "pre" from changelog 2019-10-06 21:48:10 +02:00
PhilippC
c6be5fcf84 New translations strings.xml (Hungarian) 2019-10-06 21:40:10 +02:00
PhilippC
023d9e194f New translations strings.xml (Turkish) 2019-10-06 21:30:10 +02:00
PhilippC
78ad964481 New translations strings.xml (Dutch) 2019-10-06 21:20:08 +02:00
PhilippC
9c9a8277a9 New translations strings.xml (Dutch) 2019-10-06 21:10:13 +02:00
PhilippC
3f414ded5b New translations strings.xml (Czech) 2019-10-06 21:10:11 +02:00
PhilippC
5906824ffc New translations strings.xml (German) 2019-10-06 21:00:09 +02:00
PhilippC
737c87bdf8 New translations strings.xml (Vietnamese) 2019-10-06 20:53:11 +02:00
PhilippC
bb27734a07 New translations strings.xml (Hungarian) 2019-10-06 20:53:07 +02:00
PhilippC
a9e6880add New translations strings.xml (Greek) 2019-10-06 20:52:57 +02:00
PhilippC
a1c3bf19ae New translations strings.xml (German) 2019-10-06 20:52:53 +02:00
PhilippC
0dc86e8662 New translations strings.xml (Galician) 2019-10-06 20:52:50 +02:00
PhilippC
bddc731390 New translations strings.xml (French) 2019-10-06 20:52:46 +02:00
PhilippC
2521aa2621 New translations strings.xml (Finnish) 2019-10-06 20:52:42 +02:00
PhilippC
23af6f3031 New translations strings.xml (Indonesian) 2019-10-06 20:52:39 +02:00
PhilippC
89ac5af115 New translations strings.xml (Dutch) 2019-10-06 20:52:36 +02:00
PhilippC
1f1ac04640 New translations strings.xml (Czech) 2019-10-06 20:52:32 +02:00
PhilippC
67d2eeaaff New translations strings.xml (Croatian) 2019-10-06 20:52:28 +02:00
PhilippC
0788af941e New translations strings.xml (Chinese Traditional) 2019-10-06 20:52:24 +02:00
PhilippC
484cea229c New translations strings.xml (Chinese Simplified) 2019-10-06 20:52:22 +02:00
PhilippC
827a680f81 New translations strings.xml (Catalan) 2019-10-06 20:52:20 +02:00
PhilippC
8b5c170409 New translations strings.xml (Bulgarian) 2019-10-06 20:52:16 +02:00
PhilippC
9ec76c2738 New translations strings.xml (Basque) 2019-10-06 20:52:11 +02:00
PhilippC
ea9539ad0a New translations strings.xml (Danish) 2019-10-06 20:52:06 +02:00
PhilippC
03f4040c09 New translations strings.xml (Italian) 2019-10-06 20:51:58 +02:00
PhilippC
869f5d35bd New translations strings.xml (Korean) 2019-10-06 20:51:54 +02:00
PhilippC
01ac1c601f New translations strings.xml (Ukrainian) 2019-10-06 20:51:50 +02:00
PhilippC
22f3f5ce59 New translations strings.xml (Turkish) 2019-10-06 20:51:47 +02:00
PhilippC
0b430c90f4 New translations strings.xml (Swedish) 2019-10-06 20:51:41 +02:00
PhilippC
080483b2d0 New translations strings.xml (Spanish) 2019-10-06 20:51:35 +02:00
PhilippC
2da645f25b New translations strings.xml (Slovenian) 2019-10-06 20:51:32 +02:00
PhilippC
3ff6c35e35 New translations strings.xml (Slovak) 2019-10-06 20:51:30 +02:00
PhilippC
5f3fb52833 New translations strings.xml (Japanese) 2019-10-06 20:51:23 +02:00
PhilippC
6117053dd7 New translations strings.xml (Russian) 2019-10-06 20:51:18 +02:00
PhilippC
c3a1faffca New translations strings.xml (Portuguese, Brazilian) 2019-10-06 20:51:12 +02:00
PhilippC
5d85fdda46 New translations strings.xml (Portuguese) 2019-10-06 20:51:10 +02:00
PhilippC
907705b657 New translations strings.xml (Polish) 2019-10-06 20:51:04 +02:00
PhilippC
22e460d7bf New translations strings.xml (Persian) 2019-10-06 20:51:00 +02:00
PhilippC
3a81ebfcd9 New translations strings.xml (Norwegian Bokmal) 2019-10-06 20:50:52 +02:00
PhilippC
ec92225e50 New translations strings.xml (Romanian) 2019-10-06 20:50:49 +02:00
PhilippC
5163d472b3 New translations strings.xml (Arabic) 2019-10-06 20:50:46 +02:00
Philipp Crocoll
069a2d287c catch bad paths passed to search activity. closes #801. 2019-10-06 20:36:37 +02:00
Philipp Crocoll
01b8469fbb fix crash when copying entries, closes #920 2019-10-06 20:25:25 +02:00
PhilippC
421a590514 Update Documentation.md 2019-10-06 07:53:37 +02:00
Philipp Crocoll
a0a494e724 fix bug in BinaryDictionary.java which lead to crashes with dictionary using on 64bit devices; enable multi-dex and increase heap size also for Release build 2019-10-04 20:10:58 +02:00
Philipp Crocoll
3f6f0b7430 Merge branch 'master' of c:/ph/keepass2android 2019-10-03 17:19:35 +02:00
Philipp Crocoll
b8d161ffee add sha sources to repo 2019-10-03 17:18:11 +02:00
Philipp Crocoll
e27ff98517 remove Java implementation of OneDriveStorage2 2019-10-03 17:02:34 +02:00
Philipp Crocoll
4c2c6bbb54 Merge branch 'master' of c:/ph/keepass2android
# Resolved Conflicts:
#	src/keepass2android/proguard.cfg
2019-10-03 16:58:33 +02:00
Philipp Crocoll
5de92719f8 keep keyboard native methods in proguard 2019-10-03 16:57:07 +02:00
Philipp Crocoll
34b9d71cbf prepare for preview release 2019-10-03 16:54:35 +02:00
Philipp Crocoll
57e9253270 improvements to OneDrive2 implementation: it's now possible select between different access scopes, also fixed several issues 2019-10-03 16:42:50 +02:00
Philipp Crocoll
99d0ecfd59 refactoring, use less UrlUtil and more IFileStorage 2019-10-01 20:04:03 +02:00
Philipp Crocoll
706debfa33 add missing file OneDrive2FileStorage (with improvements) 2019-09-30 21:18:40 +02:00
Philipp Crocoll
db26fb6f39 first version of OneDrive implementation in C# 2019-09-30 10:42:27 +02:00
Philipp Crocoll
57e36fb728 subrepo update 2019-09-25 19:28:13 +02:00
Philipp Crocoll
7c49eeca97 update SamsungPass 2019-09-25 19:25:00 +02:00
Philipp Crocoll
8d065255d6 update dropbox sdk and gson jars, upgrade to TargetFramework Android 9 2019-09-25 19:17:08 +02:00
Philipp Crocoll
a630543ecc Merge branch 'master' of https://github.com/PhilippC/keepass2android 2019-09-23 11:52:38 +02:00
Philipp Crocoll
989e397ee2 Integrate 64-bit native libraries (required by Google Play)
Therefore change the way Keyboard and KdbLibrary are built and add (updated) native files for Keyboard.
2019-09-23 11:52:24 +02:00
Philipp Crocoll
f99843737f implement java side of OneDriveStorage2 2019-09-10 05:26:38 +02:00
PhilippC
5197111a3a Merge pull request #949 from ihanson/patch-1
Fix “CHANGE DATABAS” button bug
2019-09-10 05:04:28 +02:00
Ira Hanson
d12339bb50 Correctly strip ellipsis
Fix bug where button caption is “CHANGE DATABAS”
2019-09-09 19:45:52 -05:00
PhilippC
e166e9f754 Update Documentation.md 2019-09-03 11:43:28 +02:00
PhilippC
1d5bca81da Update Documentation.md 2019-09-03 11:36:33 +02:00
Philipp Crocoll
56891d6183 add contributor names 2019-08-21 05:02:37 +02:00
Philipp Crocoll
d0f1882995 manifest for release 1.07b-pre1 2019-08-20 06:09:54 +02:00
Philipp Crocoll
b1b67807ac added ChangeLog for 1.07b, updated contributors 2019-08-20 06:05:50 +02:00
Philipp Crocoll
265c67c91c change SamsungPass back to https://github.com/PhilippC/Xamarin-Samsung-Pass.git, merged changes for Linux from gilbsgilbs 2019-08-20 06:05:21 +02:00
Philipp Crocoll
7c55c50b4c explicity use 8.0 as target version to fix compile error. (Note: I could also upgrade everything to 8.1 to fix the compile error, but that would require extensive testing; updating target version can come with subtle changes in how the app behaves at many places) 2019-08-20 05:46:53 +02:00
Philipp Crocoll
a42b74b614 add Fennec_fdroid and Bromite to list of browsers for Autofill 2019-08-20 05:10:53 +02:00
Philipp Crocoll
262b931a1e Merge branch 'master' of c:/ph/keepass2android 2019-08-19 14:47:53 +02:00
Philipp Crocoll
3f1db5aa56 changes for 1.07-r1 (not commited correctly) 2019-08-19 14:47:46 +02:00
Philipp Crocoll
95ce6878e6 avoid exception for invalid input of getDisplayName, fixes #771 2019-08-19 14:36:33 +02:00
Philipp Crocoll
9f6fea7038 improve error message to diagnose #801 2019-08-19 14:33:44 +02:00
Philipp Crocoll
28eaa2ee7f Merge branch 'master' of https://github.com/PhilippC/keepass2android 2019-08-19 14:32:43 +02:00
Philipp Crocoll
c35cf56d8a fix entry notification being closed immediately after opening when there are TOTP fields in the entry (closes #799) 2019-08-19 14:32:29 +02:00
PhilippC
0526c58913 Update Documentation.md 2019-08-19 12:53:38 +02:00
Philipp Crocoll
1f20c18ad6 fix creation of IfDevice string, closes #888 2019-08-19 12:10:27 +02:00
Philipp Crocoll
4b56eca5e2 add mark.via.gp browser, closes #885 2019-08-19 11:47:42 +02:00
Philipp Crocoll
d14702494e Merge branch 'marcoDallas-fingerprint-improvement-#831' 2019-08-17 23:06:07 +02:00
Philipp Crocoll
f2bda0f2d1 Merge branch 'fingerprint-improvement-#831' of https://github.com/marcoDallas/keepass2android into marcoDallas-fingerprint-improvement-#831 2019-08-17 19:56:01 +02:00
Marco Dalla Libera
5f90628d2d Improved code by using a single call to setPositiveButton.
The positive button is always the same so there's no need to use two different
calls, I just brought one outside the if statement. It was an artifact left
from a previous test where I was changing both of the buttons.
2019-08-15 14:45:24 +02:00
Marco Dalla Libera
409c3eec55 Added underscreen fingerprint improvement to QuickUnlockActivity. 2019-08-15 10:44:03 +02:00
Philipp Crocoll
2a7ea24d17 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2019-08-15 06:53:09 +02:00
PhilippC
f81a398f4b Merge pull request #886 from DDoSolitary/patch-password-cursor
Restore cursor position after switching password visibility.
2019-08-15 06:52:56 +02:00
Philipp Crocoll
7a94f83019 fix compile errors 2019-08-15 06:51:27 +02:00
Philipp Crocoll
134234da12 Merge branch 'patch-password-cursor' of https://github.com/DDoSolitary/keepass2android 2019-08-15 05:48:53 +02:00
Philipp Crocoll
7354c8933c Merge branch 'master' of https://github.com/PhilippC/keepass2android 2019-08-15 05:46:23 +02:00
Philipp Crocoll
0565a83085 update Dropbox SDK version to fix https://github.com/PhilippC/keepass2android/issues/793 2019-08-15 05:45:40 +02:00
PhilippC
eab79eaac2 Merge pull request #905 from marcoDallas/improvement/linux-build-scripts
Improved Android SDK detection in Linux build scripts
2019-08-15 05:42:55 +02:00
PhilippC
1007f7ee6b Merge pull request #906 from marcoDallas/improvement/linux-build-instructions
Added a different path to libzip5 in Linux build instructions
2019-08-15 05:41:40 +02:00
Marco Dalla Libera
ce008843e2 Added a different path to libzip5
In my system (OpenSUSE Tumbleweed 20190806 64bit) its path was
"/usr/lib64/libzip.so.5".
2019-08-12 16:53:54 +02:00
Marco Dalla Libera
ea5ae50813 Improved Android SDK detection
If ANDROID_HOME environment variable is set, add parameter
"/p:AndroidSdkDirectory=$ANDROID_HOME" to improve the Android SDK detection.
2019-08-12 16:37:11 +02:00
Marco Dalla Libera
0970f0659a Fixed wrong indentation in files. 2019-08-12 15:31:45 +02:00
Marco Dalla Libera
ef2123422c IMPROVED UNDERSCREEN FINGERPRINT, ISSUE #831
Improved underscreen fingerprint as request in issue #831 by giving the users
the ability to disable the sensor in the PasswordActivity. Now pressing the
fingerprint icon opens up a dialog that has the option to enable/disable the
sensor.
I added two new strings to the resources (enable sensor - disable sensor) and
already translated them to italian.
2019-08-12 15:09:13 +02:00
PhilippC
6d82642176 Merge pull request #896 from jonalmeida/moz-browser-whitelist
Add support for Fenix Nightly and Reference Browser
2019-08-09 03:46:35 +02:00
Jonathan Almeida
f9c22574a7 Add support for Fenix Nightly and Reference Browser 2019-08-08 19:56:06 -04:00
PhilippC
3fde6af2a2 Merge pull request #892 from PhilippC/Branch_b0f6103
1.07-r1
2019-08-05 07:25:51 +02:00
Philipp Crocoll
5322468819 Merge branch 'Branch_b0f6103' 2019-08-05 07:21:53 +02:00
Philipp Crocoll
0ce77a2729 1.07-r1 2019-08-05 07:20:44 +02:00
Philipp Crocoll
e50cb41d1f Merge branch 'master' of https://github.com/PhilippC/keepass2android 2019-08-05 06:36:56 +02:00
Philipp Crocoll
428c360abf avoid potential NullReferenceException 2019-08-05 06:36:40 +02:00
DDoSolitary
b89f3906e9 Restore cursor position after switching password visibility. 2019-07-27 13:22:42 +08:00
PhilippC
c3898245ce New translations strings.xml (French) 2019-07-22 17:30:13 +02:00
PhilippC
f15748b4e9 New translations strings.xml (Chinese Traditional) 2019-07-22 14:00:18 +02:00
PhilippC
d11c871526 New translations strings.xml (French) 2019-07-22 13:00:11 +02:00
PhilippC
6944d842c3 New translations strings.xml (Turkish) 2019-07-22 11:40:15 +02:00
PhilippC
183087b441 New translations strings.xml (Italian) 2019-07-22 11:30:13 +02:00
PhilippC
5e081805f1 New translations strings.xml (Spanish) 2019-07-22 11:10:22 +02:00
PhilippC
e1addd1485 New translations strings.xml (Japanese) 2019-07-22 11:10:14 +02:00
PhilippC
801f13c2d3 New translations strings.xml (Chinese Traditional) 2019-07-22 10:50:11 +02:00
PhilippC
6dcb22dfc2 New translations strings.xml (Portuguese) 2019-07-22 09:50:30 +02:00
PhilippC
e5dbd86eb3 Merge pull request #835 from PhilippC/pcloud-help-dialog
PCloud improvements
2019-07-22 09:46:54 +02:00
PhilippC
1706891be4 Merge pull request #836 from PhilippC/fix-linux-build
Fix invalid namespace in manifests causing build failure on Linux.
2019-07-22 09:45:07 +02:00
PhilippC
11323c0206 Merge pull request #855 from caesar/patch-1
Add support for autofill in Firefox Preview/Fenix
2019-07-22 09:44:15 +02:00
PhilippC
c36d252159 Merge pull request #872 from yan12125/argon2-performance
Improve Argon2 performance
2019-07-22 09:39:50 +02:00
Chih-Hsuan Yen
7d1eeb1e34 Use native Argon2 implementation 2019-07-16 21:07:26 +08:00
Chih-Hsuan Yen
e081a6aa2c Build fixes 2019-07-16 21:07:26 +08:00
PhilippC
014f238f6c New translations strings.xml (Dutch) 2019-07-03 10:30:13 +02:00
PhilippC
9482b37672 New translations strings.xml (Dutch) 2019-07-03 10:20:13 +02:00
PhilippC
69c5601de4 New translations strings.xml (Dutch) 2019-07-03 10:10:13 +02:00
Caesar Schinas
96c717f748 Add support for autofill in Firefox Preview/Fenix
Also tidy / reorganize `_trustedBrowsers` list somewhat.

Fixes #758.
2019-07-01 11:39:50 +01:00
PhilippC
856ba36a20 New translations strings.xml (Norwegian Bokmal) 2019-06-27 23:10:10 +02:00
PhilippC
396cf51794 New translations strings.xml (Dutch) 2019-06-26 13:30:10 +02:00
PhilippC
8138790396 New translations strings.xml (Dutch) 2019-06-26 13:20:10 +02:00
PhilippC
e698468c39 New translations strings.xml (Dutch) 2019-06-26 13:10:12 +02:00
PhilippC
da005a35bf New translations strings.xml (Polish) 2019-06-21 02:40:11 +02:00
PhilippC
9b62f28e93 New translations strings.xml (Polish) 2019-06-21 02:30:13 +02:00
PhilippC
5adc738c03 New translations strings.xml (Korean) 2019-06-18 10:10:14 +02:00
PhilippC
d784394ea9 New translations strings.xml (Swedish) 2019-06-02 18:00:11 +02:00
PhilippC
b1cbb7893c New translations strings.xml (Swedish) 2019-06-02 17:50:09 +02:00
PhilippC
51b2049429 New translations strings.xml (Swedish) 2019-06-02 17:40:09 +02:00
PhilippC
84c8af7357 New translations strings.xml (Swedish) 2019-06-02 17:30:10 +02:00
PhilippC
69cbda8a39 New translations strings.xml (Swedish) 2019-06-02 17:20:09 +02:00
PhilippC
48f351ba0d New translations strings.xml (Swedish) 2019-06-02 17:10:11 +02:00
PhilippC
0a7fac77ff New translations strings.xml (Vietnamese) 2019-05-26 13:32:22 +02:00
PhilippC
ff336b40ae New translations strings.xml (Basque) 2019-05-26 13:32:16 +02:00
PhilippC
86a8da3ef3 New translations strings.xml (Bulgarian) 2019-05-26 13:32:12 +02:00
PhilippC
a72b681205 New translations strings.xml (Catalan) 2019-05-26 13:32:07 +02:00
PhilippC
3c75a4a012 New translations strings.xml (Chinese Simplified) 2019-05-26 13:32:01 +02:00
PhilippC
f9fc4b9a06 New translations strings.xml (Croatian) 2019-05-26 13:31:56 +02:00
PhilippC
6869f940ac New translations strings.xml (Czech) 2019-05-26 13:31:52 +02:00
PhilippC
79f0f90f3e New translations strings.xml (Danish) 2019-05-26 13:31:47 +02:00
PhilippC
1119610a10 New translations strings.xml (Dutch) 2019-05-26 13:31:42 +02:00
PhilippC
90fe3f04c0 New translations strings.xml (Finnish) 2019-05-26 13:31:37 +02:00
PhilippC
aca0aef285 New translations strings.xml (French) 2019-05-26 13:31:32 +02:00
PhilippC
8134b73902 New translations strings.xml (Galician) 2019-05-26 13:31:28 +02:00
PhilippC
57414cd0b8 New translations strings.xml (German) 2019-05-26 13:31:23 +02:00
PhilippC
6792eb53f0 New translations strings.xml (Arabic) 2019-05-26 13:31:19 +02:00
PhilippC
a6d4814980 New translations strings.xml (Greek) 2019-05-26 13:31:15 +02:00
PhilippC
3ef0afa6bc New translations strings.xml (Hungarian) 2019-05-26 13:31:10 +02:00
PhilippC
942be17e61 New translations strings.xml (Indonesian) 2019-05-26 13:31:06 +02:00
PhilippC
37e8f14e3b New translations strings.xml (Italian) 2019-05-26 13:31:00 +02:00
PhilippC
64ca771c51 New translations strings.xml (Japanese) 2019-05-26 13:30:54 +02:00
PhilippC
df2c2cd827 New translations strings.xml (Romanian) 2019-05-26 13:30:50 +02:00
PhilippC
4b692e4697 New translations strings.xml (Russian) 2019-05-26 13:30:45 +02:00
PhilippC
a0fa5ff4c2 New translations strings.xml (Serbian (Cyrillic)) 2019-05-26 13:30:42 +02:00
PhilippC
32df0ae8fe New translations strings.xml (Slovak) 2019-05-26 13:30:36 +02:00
PhilippC
73b9bcac7a New translations strings.xml (Slovenian) 2019-05-26 13:30:31 +02:00
PhilippC
11f606631c New translations strings.xml (Spanish) 2019-05-26 13:30:28 +02:00
PhilippC
9f696441e3 New translations strings.xml (Swedish) 2019-05-26 13:30:23 +02:00
PhilippC
118d18613f New translations strings.xml (Turkish) 2019-05-26 13:30:19 +02:00
PhilippC
a39bc9b7f7 New translations strings.xml (Chinese Traditional) 2019-05-26 13:30:12 +02:00
PhilippC
e0e17359c9 New translations strings.xml (Polish) 2019-05-25 21:50:41 +02:00
PhilippC
5ab25b0bc8 New translations strings.xml (Persian) 2019-05-25 21:50:37 +02:00
PhilippC
686e7eb6c1 New translations strings.xml (Norwegian Bokmal) 2019-05-25 21:50:29 +02:00
PhilippC
c3ba8662b9 New translations strings.xml (Korean) 2019-05-25 21:50:25 +02:00
PhilippC
b7e23fd046 New translations strings.xml (Portuguese, Brazilian) 2019-05-25 21:50:20 +02:00
PhilippC
9ff89ba263 New translations strings.xml (Ukrainian) 2019-05-25 21:50:16 +02:00
Gilbert Gilb's
c84f85444a Fix invalid manifest namespace causing build failures on Linux. 2019-05-25 21:49:04 +02:00
Gilbert Gilb's
37c10e7b48 Show a dialog after picking PCloud file storage.
Not seeing any file was confusing to users.

See https://github.com/PhilippC/keepass2android/issues/794
See https://github.com/PhilippC/keepass2android/issues/796
2019-05-25 21:44:48 +02:00
Gilbert Gilb's
02b8292a2e Use new option to overwrite file in PCloud file storage. 2019-05-25 21:36:39 +02:00
Gilbert Gilb's
2d1909c227 Update PCloud SDK to 1.1.0. 2019-05-25 21:35:54 +02:00
PhilippC
f470606af0 New translations strings.xml (Vietnamese) 2019-05-21 15:43:03 +02:00
PhilippC
4a7b3f17c2 New translations strings.xml (Basque) 2019-05-21 15:42:54 +02:00
PhilippC
788df21115 New translations strings.xml (Bulgarian) 2019-05-21 15:42:48 +02:00
PhilippC
2aaaa8b416 New translations strings.xml (Catalan) 2019-05-21 15:42:43 +02:00
PhilippC
2660084401 New translations strings.xml (Chinese Simplified) 2019-05-21 15:42:37 +02:00
PhilippC
e0dfb888c1 New translations strings.xml (Croatian) 2019-05-21 15:42:31 +02:00
PhilippC
ab66b5585d New translations strings.xml (Czech) 2019-05-21 15:42:25 +02:00
PhilippC
bf8b9f32df New translations strings.xml (Danish) 2019-05-21 15:42:20 +02:00
PhilippC
d259143736 New translations strings.xml (Dutch) 2019-05-21 15:42:15 +02:00
PhilippC
83dc82a308 New translations strings.xml (Finnish) 2019-05-21 15:42:09 +02:00
PhilippC
233f4bb04f New translations strings.xml (French) 2019-05-21 15:42:04 +02:00
PhilippC
8183d17706 New translations strings.xml (Galician) 2019-05-21 15:41:57 +02:00
PhilippC
feedcae410 New translations strings.xml (German) 2019-05-21 15:41:52 +02:00
PhilippC
3157ea741e New translations strings.xml (Arabic) 2019-05-21 15:41:47 +02:00
PhilippC
623040bf3e New translations strings.xml (Greek) 2019-05-21 15:41:40 +02:00
PhilippC
6a394f697a New translations strings.xml (Hungarian) 2019-05-21 15:41:34 +02:00
PhilippC
3908f4b5ce New translations strings.xml (Indonesian) 2019-05-21 15:41:29 +02:00
PhilippC
ad21ee1e64 New translations strings.xml (Italian) 2019-05-21 15:41:21 +02:00
PhilippC
6c69796248 New translations strings.xml (Japanese) 2019-05-21 15:41:16 +02:00
PhilippC
e6f79562dc New translations strings.xml (Romanian) 2019-05-21 15:41:10 +02:00
PhilippC
5e9c655672 New translations strings.xml (Russian) 2019-05-21 15:41:06 +02:00
PhilippC
6b01100ca4 New translations strings.xml (Serbian (Cyrillic)) 2019-05-21 15:41:01 +02:00
PhilippC
838382ea0a New translations strings.xml (Slovak) 2019-05-21 15:40:55 +02:00
PhilippC
3c62c22f3a New translations strings.xml (Slovenian) 2019-05-21 15:40:50 +02:00
PhilippC
bc1197b4a0 New translations strings.xml (Spanish) 2019-05-21 15:40:44 +02:00
PhilippC
d691570099 New translations strings.xml (Swedish) 2019-05-21 15:40:35 +02:00
PhilippC
772d55fa45 New translations strings.xml (Turkish) 2019-05-21 15:40:29 +02:00
PhilippC
676072e96b New translations strings.xml (Chinese Traditional) 2019-05-21 15:40:17 +02:00
PhilippC
29dec2d9f7 New translations strings.xml (Polish) 2019-05-21 11:50:55 +02:00
PhilippC
b1d6099e2c New translations strings.xml (Persian) 2019-05-21 11:50:51 +02:00
PhilippC
e5cbf010a3 New translations strings.xml (Norwegian Bokmal) 2019-05-21 11:50:41 +02:00
PhilippC
023364f968 New translations strings.xml (Korean) 2019-05-21 11:50:34 +02:00
PhilippC
26fe7f610d New translations strings.xml (Portuguese, Brazilian) 2019-05-21 11:50:29 +02:00
PhilippC
37d6e54e70 New translations strings.xml (Ukrainian) 2019-05-21 11:50:23 +02:00
PhilippC
adc4c59a99 New translations strings.xml (Chinese Traditional) 2019-05-17 05:20:11 +02:00
PhilippC
16fd528e95 New translations strings.xml (Ukrainian) 2019-05-07 13:30:13 +02:00
PhilippC
efdfdac6cb New translations strings.xml (Polish) 2019-05-05 02:40:09 +02:00
PhilippC
03ebe6b176 New translations strings.xml (Polish) 2019-05-05 02:30:11 +02:00
Philipp Crocoll
730019b420 Merge branch 'master' of c:/ph/keepass2android 2019-04-10 06:01:42 +02:00
Philipp Crocoll
b0f61038e3 fix potential crash in Google Drive storage 2019-04-10 06:01:22 +02:00
PhilippC
477c36d880 New translations strings.xml (Polish) 2019-04-10 01:00:11 +02:00
PhilippC
d4a99ce9b2 New translations strings.xml (Czech) 2019-04-07 15:30:10 +02:00
PhilippC
025c5fe301 New translations strings.xml (Czech) 2019-04-07 15:20:09 +02:00
PhilippC
422f5deafb New translations strings.xml (Czech) 2019-04-07 15:10:09 +02:00
PhilippC
00b5473a7a New translations strings.xml (Czech) 2019-04-07 15:00:09 +02:00
PhilippC
945264d927 New translations strings.xml (Catalan) 2019-04-07 10:50:11 +02:00
PhilippC
74848cd015 New translations strings.xml (Catalan) 2019-04-07 10:40:09 +02:00
PhilippC
c583e3238a New translations strings.xml (Turkish) 2019-04-06 12:20:09 +02:00
PhilippC
0cc7abf322 New translations strings.xml (Chinese Simplified) 2019-04-06 10:20:12 +02:00
PhilippC
8f3b9c532c New translations strings.xml (Chinese Simplified) 2019-04-06 10:10:10 +02:00
PhilippC
4ce35de276 New translations strings.xml (Chinese Simplified) 2019-04-06 10:00:10 +02:00
PhilippC
7c05aa625f New translations strings.xml (Swedish) 2019-04-05 11:20:11 +02:00
PhilippC
139ac0b269 New translations strings.xml (Swedish) 2019-04-05 11:10:12 +02:00
PhilippC
8ba35083d8 New translations strings.xml (Danish) 2019-04-04 01:10:11 +02:00
PhilippC
02003abf1d New translations strings.xml (Chinese Traditional) 2019-04-01 16:12:30 +02:00
PhilippC
88ce729351 New translations strings.xml (Portuguese, Brazilian) 2019-04-01 16:11:53 +02:00
Philipp Crocoll
dcac392e43 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2019-04-01 10:44:31 +02:00
PhilippC
87cfa4c4d4 Merge pull request #766 from PhilippC/l10n_master
New Crowdin translations
2019-04-01 10:44:12 +02:00
PhilippC
58ec829d1a New translations strings.xml (Portuguese) 2019-04-01 10:39:46 +02:00
PhilippC
90fd2daa01 New translations strings.xml (Danish) 2019-04-01 10:39:05 +02:00
Philipp Crocoll
d0749324c9 Merge remote-tracking branch 'remotes/origin/l10n_master'
# Resolved Conflicts:
#	src/keepass2android/Resources/values-da/strings.xml
#	src/keepass2android/Resources/values-de/strings.xml
#	src/keepass2android/Resources/values-nl/strings.xml
#	src/keepass2android/Resources/values-ru/strings.xml
2019-04-01 10:36:15 +02:00
PhilippC
a43f72d18a New translations strings.xml (German) 2019-04-01 10:29:58 +02:00
PhilippC
3d691088be New translations strings.xml (Portuguese, Brazilian) 2019-04-01 10:29:53 +02:00
Philipp Crocoll
bca3becadb improved language in resource strings 2019-04-01 10:21:50 +02:00
PhilippC
d937fbe7ad New translations strings.xml (Danish) 2019-04-01 04:10:10 +02:00
PhilippC
c13e00871d New translations strings.xml (Danish) 2019-04-01 03:50:10 +02:00
PhilippC
b5b716da4c New translations strings.xml (Danish) 2019-04-01 03:30:09 +02:00
PhilippC
45d2a8e0b2 New translations strings.xml (Danish) 2019-04-01 03:20:10 +02:00
PhilippC
d47c948699 New translations strings.xml (Danish) 2019-04-01 03:10:11 +02:00
PhilippC
fdf36babba New translations strings.xml (Danish) 2019-04-01 03:00:12 +02:00
PhilippC
d47411264e New translations strings.xml (Danish) 2019-04-01 02:50:11 +02:00
PhilippC
b9ebad7942 New translations strings.xml (Danish) 2019-04-01 02:40:09 +02:00
PhilippC
2878cc1cb5 New translations strings.xml (Danish) 2019-04-01 02:10:11 +02:00
PhilippC
9277d76f37 New translations strings.xml (Danish) 2019-04-01 02:00:21 +02:00
PhilippC
b7b1301334 New translations strings.xml (Turkish) 2019-03-31 14:10:11 +02:00
PhilippC
954dd73ffa New translations strings.xml (Turkish) 2019-03-31 14:00:12 +02:00
PhilippC
7aeab98c5b New translations strings.xml (Portuguese) 2019-03-30 00:00:10 +01:00
PhilippC
51123d60d3 New translations strings.xml (Portuguese) 2019-03-29 23:50:11 +01:00
PhilippC
395d4b5a97 New translations strings.xml (Hungarian) 2019-03-29 15:00:15 +01:00
PhilippC
654f025f64 New translations strings.xml (Hungarian) 2019-03-29 14:50:11 +01:00
PhilippC
8a9ccea5d3 New translations strings.xml (Hungarian) 2019-03-29 14:40:11 +01:00
PhilippC
92e00075c6 New translations strings.xml (Hungarian) 2019-03-29 14:30:11 +01:00
PhilippC
624e78e734 New translations strings.xml (Hungarian) 2019-03-29 14:20:11 +01:00
PhilippC
76bb8822fa New translations strings.xml (Hungarian) 2019-03-29 14:10:09 +01:00
PhilippC
e3cba097fa New translations strings.xml (Hungarian) 2019-03-29 14:00:13 +01:00
PhilippC
c812fca8c1 New translations strings.xml (Hungarian) 2019-03-29 13:50:10 +01:00
PhilippC
f86f4ee18c New translations strings.xml (Hungarian) 2019-03-29 13:20:09 +01:00
PhilippC
dafed9786e New translations strings.xml (Hungarian) 2019-03-29 13:10:10 +01:00
PhilippC
cd3a119053 New translations strings.xml (Hungarian) 2019-03-29 13:00:14 +01:00
PhilippC
f143a171aa New translations strings.xml (Hungarian) 2019-03-29 12:50:13 +01:00
PhilippC
ee93d7df82 New translations strings.xml (Hungarian) 2019-03-29 12:40:11 +01:00
PhilippC
61a3bcc53d New translations strings.xml (Hungarian) 2019-03-29 12:30:12 +01:00
PhilippC
17a46eb92c New translations strings.xml (Hungarian) 2019-03-29 12:00:11 +01:00
PhilippC
14b121a8ba New translations strings.xml (Danish) 2019-03-29 01:50:11 +01:00
PhilippC
41b57417e5 New translations strings.xml (Russian) 2019-03-28 20:10:13 +01:00
PhilippC
bb492c3043 New translations strings.xml (Slovak) 2019-03-28 18:50:14 +01:00
PhilippC
b683dca67c New translations strings.xml (Slovak) 2019-03-28 18:40:11 +01:00
PhilippC
b6e6024bda New translations strings.xml (German) 2019-03-28 15:30:31 +01:00
PhilippC
2b3a95e21d New translations strings.xml (German) 2019-03-28 15:20:13 +01:00
PhilippC
de9c27f1f5 New translations strings.xml (Portuguese, Brazilian) 2019-03-28 13:40:13 +01:00
PhilippC
85c9cb26b1 New translations strings.xml (Portuguese, Brazilian) 2019-03-28 13:30:13 +01:00
PhilippC
8ffa27e93d New translations strings.xml (Italian) 2019-03-28 13:20:19 +01:00
PhilippC
ea743fc2c5 New translations strings.xml (Portuguese, Brazilian) 2019-03-28 13:20:13 +01:00
PhilippC
7fab9aab00 New translations strings.xml (Italian) 2019-03-28 13:10:18 +01:00
PhilippC
444e224d41 New translations strings.xml (Portuguese, Brazilian) 2019-03-28 13:10:12 +01:00
PhilippC
9fde19f1ce New translations strings.xml (Portuguese) 2019-03-28 12:20:22 +01:00
PhilippC
4e085b5dca New translations strings.xml (Italian) 2019-03-28 12:20:16 +01:00
PhilippC
06ab58cc07 New translations strings.xml (Danish) 2019-03-28 11:50:12 +01:00
PhilippC
9dae1746ec New translations strings.xml (Danish) 2019-03-28 11:30:11 +01:00
PhilippC
db87191f1f New translations strings.xml (Danish) 2019-03-28 11:20:10 +01:00
PhilippC
76abe79b6d New translations strings.xml (Japanese) 2019-03-28 10:30:12 +01:00
PhilippC
970bc29e01 New translations strings.xml (Japanese) 2019-03-28 10:20:13 +01:00
PhilippC
79a3262659 New translations strings.xml (French) 2019-03-28 10:10:11 +01:00
PhilippC
3add6d64ef New translations strings.xml (French) 2019-03-28 09:50:12 +01:00
PhilippC
43168b18d1 New translations strings.xml (French) 2019-03-28 09:40:11 +01:00
PhilippC
6970b42456 New translations strings.xml (Polish) 2019-03-28 09:10:17 +01:00
PhilippC
a545b96601 New translations strings.xml (Spanish) 2019-03-28 09:10:11 +01:00
PhilippC
59b66409e8 New translations strings.xml (Chinese Traditional) 2019-03-28 09:00:13 +01:00
PhilippC
25c50bbcaf New translations strings.xml (Chinese Traditional) 2019-03-28 08:50:09 +01:00
PhilippC
a9a5df00d2 New translations strings.xml (German) 2019-03-28 08:40:09 +01:00
PhilippC
5f4d9c29dc New translations strings.xml (German) 2019-03-28 08:10:09 +01:00
PhilippC
31e158e39b New translations strings.xml (Ukrainian) 2019-03-28 08:00:10 +01:00
PhilippC
25af5844be New translations strings.xml (German) 2019-03-28 07:50:10 +01:00
PhilippC
f79bb49af1 New translations strings.xml (Slovenian) 2019-03-28 07:30:19 +01:00
PhilippC
2756bae656 New translations strings.xml (Italian) 2019-03-28 07:30:14 +01:00
PhilippC
b574b55f84 New translations strings.xml (Dutch) 2019-03-28 07:30:09 +01:00
PhilippC
76ef1c4033 New translations strings.xml (Dutch) 2019-03-28 07:20:09 +01:00
PhilippC
409deaee9d New translations strings.xml (Italian) 2019-03-28 07:10:16 +01:00
PhilippC
8396e18283 New translations strings.xml (Dutch) 2019-03-28 07:10:10 +01:00
PhilippC
5e952e06ff New translations strings.xml (Italian) 2019-03-28 07:00:12 +01:00
PhilippC
7b6dc3d773 New translations strings.xml (Italian) 2019-03-28 06:50:10 +01:00
PhilippC
1759b67921 New translations strings.xml (Ukrainian) 2019-03-28 06:10:10 +01:00
PhilippC
1307b0e5d1 New translations strings.xml (Ukrainian) 2019-03-28 05:50:10 +01:00
PhilippC
c1af6994bf New translations strings.xml (Ukrainian) 2019-03-28 05:40:09 +01:00
PhilippC
d09c15e5b8 New translations strings.xml (Chinese Simplified) 2019-03-28 05:30:23 +01:00
PhilippC
ea98b170d9 New translations strings.xml (Russian) 2019-03-28 05:30:17 +01:00
PhilippC
c67f4e45c7 New translations strings.xml (Ukrainian) 2019-03-28 05:30:11 +01:00
PhilippC
c21a5afe94 New translations strings.xml (Chinese Simplified) 2019-03-28 05:20:15 +01:00
PhilippC
49de16f0f3 New translations strings.xml (Russian) 2019-03-28 05:20:09 +01:00
PhilippC
6d60afadf4 New translations strings.xml (Chinese Simplified) 2019-03-28 05:10:09 +01:00
PhilippC
c6751af075 New translations strings.xml (Vietnamese) 2019-03-28 05:02:50 +01:00
PhilippC
d41aa389a7 New translations strings.xml (Dutch) 2019-03-28 05:02:46 +01:00
PhilippC
f95986fd7a New translations strings.xml (Czech) 2019-03-28 05:02:40 +01:00
PhilippC
ac522bce43 New translations strings.xml (Croatian) 2019-03-28 05:02:34 +01:00
PhilippC
6e0729c3b3 New translations strings.xml (Chinese Traditional) 2019-03-28 05:02:30 +01:00
PhilippC
9ce674da2b New translations strings.xml (Chinese Simplified) 2019-03-28 05:02:26 +01:00
PhilippC
da8a8e7e77 New translations strings.xml (Catalan) 2019-03-28 05:02:22 +01:00
PhilippC
566a1088bd New translations strings.xml (Bulgarian) 2019-03-28 05:02:16 +01:00
PhilippC
11f1f07653 New translations strings.xml (Finnish) 2019-03-28 05:02:11 +01:00
PhilippC
45194bb26f New translations strings.xml (Basque) 2019-03-28 05:02:05 +01:00
PhilippC
1f6440189f New translations strings.xml (Russian) 2019-03-28 05:01:59 +01:00
PhilippC
60e98d87d8 New translations strings.xml (Danish) 2019-03-28 05:01:54 +01:00
PhilippC
f560124088 New translations strings.xml (German) 2019-03-28 05:01:48 +01:00
PhilippC
7521d0b787 New translations strings.xml (Portuguese, Brazilian) 2019-03-28 05:01:45 +01:00
PhilippC
c45e52f571 New translations strings.xml (Ukrainian) 2019-03-28 04:45:19 +01:00
PhilippC
275920e5be New translations strings.xml (Greek) 2019-03-28 04:45:16 +01:00
PhilippC
7045c6ee8d New translations strings.xml (Turkish) 2019-03-28 04:45:11 +01:00
PhilippC
7a7b65e8c6 New translations strings.xml (Azerbaijani) 2019-03-28 04:45:04 +01:00
PhilippC
261526b4d1 New translations strings.xml (Arabic) 2019-03-28 04:44:58 +01:00
PhilippC
bc74c91a2c New translations strings.xml (French) 2019-03-28 04:44:53 +01:00
PhilippC
ab47543df0 New translations strings.xml (Hebrew) 2019-03-28 04:44:47 +01:00
PhilippC
3a601468a9 New translations strings.xml (Swedish) 2019-03-28 04:44:42 +01:00
PhilippC
f2002e2b90 New translations strings.xml (Slovenian) 2019-03-28 04:44:38 +01:00
PhilippC
29031167d6 New translations strings.xml (Slovak) 2019-03-28 04:44:32 +01:00
PhilippC
7305ac47c3 New translations strings.xml (Serbian (Cyrillic)) 2019-03-28 04:44:26 +01:00
PhilippC
2aec6c9e4b New translations strings.xml (Romanian) 2019-03-28 04:44:22 +01:00
PhilippC
5a2cdf3cda New translations strings.xml (Portuguese) 2019-03-28 04:44:18 +01:00
PhilippC
a943df63fc New translations strings.xml (Polish) 2019-03-28 04:44:13 +01:00
PhilippC
ca771abebe New translations strings.xml (Galician) 2019-03-28 04:44:07 +01:00
PhilippC
010db6148d New translations strings.xml (Persian) 2019-03-28 04:44:01 +01:00
PhilippC
8f065f480c New translations strings.xml (Norwegian Bokmal) 2019-03-28 04:43:57 +01:00
PhilippC
f163f9382f New translations strings.xml (Korean) 2019-03-28 04:43:52 +01:00
PhilippC
e752244b5f New translations strings.xml (Japanese) 2019-03-28 04:43:47 +01:00
PhilippC
4bbb958a05 New translations strings.xml (Italian) 2019-03-28 04:43:43 +01:00
PhilippC
d1ddfed8dd New translations strings.xml (Indonesian) 2019-03-28 04:43:39 +01:00
PhilippC
bdb39f203a New translations strings.xml (Hungarian) 2019-03-28 04:43:34 +01:00
PhilippC
1bcb6aabe7 New translations strings.xml (Norwegian Nynorsk) 2019-03-28 04:43:30 +01:00
PhilippC
90b09b0f7e New translations strings.xml (Spanish) 2019-03-28 04:43:26 +01:00
Philipp Crocoll
4e6e0a0e73 improve English texts 2019-03-28 04:42:40 +01:00
Philipp Crocoll
ad4c764adb fix potential crashes when database has been closed and recreating activities 2019-03-28 04:42:24 +01:00
PhilippC
2265432ec4 New translations strings.xml (German) 2019-03-28 04:40:11 +01:00
PhilippC
bb45e60a3f New translations strings.xml (French) 2019-03-27 22:20:09 +01:00
PhilippC
b1ff92d63e New translations strings.xml (French) 2019-03-27 22:10:15 +01:00
Philipp Crocoll
016864edfc fix potential crash 2019-03-27 19:20:16 +01:00
PhilippC
dc5133e676 New translations strings.xml (Greek) 2019-03-27 01:00:12 +01:00
PhilippC
1fbd10c918 New translations strings.xml (Greek) 2019-03-27 00:50:09 +01:00
PhilippC
4cd219ab32 New translations strings.xml (Greek) 2019-03-27 00:40:10 +01:00
PhilippC
871e84fec9 New translations strings.xml (Greek) 2019-03-27 00:30:11 +01:00
PhilippC
08ce132587 New translations strings.xml (Greek) 2019-03-27 00:20:09 +01:00
PhilippC
4c58d8df72 New translations strings.xml (Greek) 2019-03-27 00:10:11 +01:00
PhilippC
bf554d2417 New translations strings.xml (Greek) 2019-03-27 00:00:09 +01:00
PhilippC
631cd8e35f New translations strings.xml (Greek) 2019-03-26 23:50:12 +01:00
PhilippC
f46c4d8054 New translations strings.xml (Russian) 2019-03-26 22:50:10 +01:00
PhilippC
0010713b78 New translations strings.xml (Russian) 2019-03-26 22:40:13 +01:00
PhilippC
f5bfd4f8f2 New translations strings.xml (Russian) 2019-03-26 22:30:09 +01:00
PhilippC
6d04d2f579 New translations strings.xml (Russian) 2019-03-26 22:20:10 +01:00
PhilippC
0d3cef1626 New translations strings.xml (Chinese Traditional) 2019-03-25 18:50:10 +01:00
PhilippC
4d251becb0 New translations strings.xml (Chinese Traditional) 2019-03-25 18:40:09 +01:00
PhilippC
372d4c4bf3 New translations strings.xml (Slovenian) 2019-03-25 11:20:12 +01:00
PhilippC
2dbda89973 New translations strings.xml (German) 2019-03-25 11:12:54 +01:00
PhilippC
2f55bbddd8 New translations strings.xml (Portuguese) 2019-03-25 11:11:54 +01:00
PhilippC
928773b183 New translations strings.xml (German) 2019-03-25 10:50:13 +01:00
PhilippC
bc9803cbc4 New translations strings.xml (German) 2019-03-25 10:40:10 +01:00
Philipp Crocoll
fca8f5efbc remove unused strings 2019-03-25 10:34:19 +01:00
PhilippC
f09fe4f7e2 New translations strings.xml (German) 2019-03-25 10:30:12 +01:00
Philipp Crocoll
b2b29c692e 1.07-pre9 2019-03-25 10:30:06 +01:00
PhilippC
de3bc0ff6c New translations strings.xml (Japanese) 2019-03-25 10:20:11 +01:00
Philipp Crocoll
c4a1b6a82e avoid opening password activity when database is already open, closes https://github.com/PhilippC/keepass2android/issues/706 2019-03-25 10:10:19 +01:00
PhilippC
bd08dd54e2 New translations strings.xml (Chinese Traditional) 2019-03-25 09:33:14 +01:00
PhilippC
b1f93fdb75 New translations strings.xml (Chinese Simplified) 2019-03-25 09:33:07 +01:00
PhilippC
51599b3f1a New translations strings.xml (Catalan) 2019-03-25 09:33:02 +01:00
PhilippC
1b753877a9 New translations strings.xml (Finnish) 2019-03-25 09:32:55 +01:00
PhilippC
d33ffa9d22 New translations strings.xml (Portuguese, Brazilian) 2019-03-25 09:32:36 +01:00
PhilippC
df710e523a New translations strings.xml (Turkish) 2019-03-25 09:32:23 +01:00
PhilippC
7d218e0706 New translations strings.xml (Slovenian) 2019-03-25 09:31:57 +01:00
PhilippC
88127a4858 New translations strings.xml (Slovak) 2019-03-25 09:31:51 +01:00
PhilippC
63f2a6f902 New translations strings.xml (Japanese) 2019-03-25 09:31:14 +01:00
Philipp Crocoll
d8286eb639 Merge branch 'l10n_master' of https://github.com/PhilippC/keepass2android
# Resolved Conflicts:
#	src/keepass2android/Resources/values-cs/strings.xml
#	src/keepass2android/Resources/values-da/strings.xml
#	src/keepass2android/Resources/values-de/strings.xml
#	src/keepass2android/Resources/values-hu/strings.xml
#	src/keepass2android/Resources/values-nl/strings.xml
#	src/keepass2android/Resources/values-pl/strings.xml
#	src/keepass2android/Resources/values-ru/strings.xml
#	src/keepass2android/Resources/values-tr/strings.xml
2019-03-25 09:27:27 +01:00
PhilippC
668fa46a98 New translations strings.xml (Slovenian) 2019-03-25 09:15:11 +01:00
PhilippC
e16a671a26 New translations strings.xml (Portuguese) 2019-03-25 09:14:56 +01:00
Philipp Crocoll
7f89ef358c Merge branch 'master' of https://github.com/PhilippC/keepass2android 2019-03-25 09:10:05 +01:00
Philipp Crocoll
e0df319279 try to proceed to password activity also if file storage setup is required, closes https://github.com/PhilippC/keepass2android/issues/416 2019-03-25 09:09:55 +01:00
Philipp Crocoll
61c7a260b4 improve child database configuration activity 2019-03-25 09:08:48 +01:00
Philipp Crocoll
f26fce63ad avoid crash when ROM does not support fingerprint encryption, closes https://github.com/PhilippC/keepass2android/issues/155 2019-03-25 09:08:32 +01:00
Philipp Crocoll
74c3c96b43 Merge branch 'master' of c:/ph/keepass2android 2019-03-25 09:05:39 +01:00
PhilippC
765b020152 New translations strings.xml (Chinese Traditional) 2019-03-25 05:30:11 +01:00
PhilippC
59c05235f6 New translations strings.xml (Chinese Traditional) 2019-03-25 05:20:10 +01:00
PhilippC
92a4131c88 New translations strings.xml (Chinese Traditional) 2019-03-25 05:10:12 +01:00
Philipp Crocoll
540e14bbe7 1.07-pre8 2019-03-24 20:27:35 +01:00
PhilippC
0ebd355edd New translations strings.xml (Slovak) 2019-03-23 23:10:10 +01:00
PhilippC
68d4dfed04 New translations strings.xml (Slovenian) 2019-03-23 19:40:09 +01:00
PhilippC
37a482d2e4 New translations strings.xml (Slovenian) 2019-03-23 19:30:09 +01:00
PhilippC
b79cc65728 New translations strings.xml (Japanese) 2019-03-23 16:10:10 +01:00
PhilippC
78977c7e31 New translations strings.xml (Japanese) 2019-03-23 16:00:11 +01:00
PhilippC
1957fc5345 New translations strings.xml (Turkish) 2019-03-23 07:50:09 +01:00
PhilippC
49cefff75d New translations strings.xml (Turkish) 2019-03-23 07:30:08 +01:00
PhilippC
2ebb145b7b New translations strings.xml (Turkish) 2019-03-23 07:20:17 +01:00
PhilippC
0a6f1394e4 New translations strings.xml (Turkish) 2019-03-23 07:10:11 +01:00
PhilippC
1310913281 New translations strings.xml (Slovenian) 2019-03-22 20:40:10 +01:00
PhilippC
c245c5ade3 New translations strings.xml (Slovenian) 2019-03-22 20:20:10 +01:00
PhilippC
9e6f45a59b New translations strings.xml (Slovenian) 2019-03-22 20:00:18 +01:00
PhilippC
f6a78c8890 New translations strings.xml (Slovenian) 2019-03-22 16:00:15 +01:00
PhilippC
76717fa3cb New translations strings.xml (Slovenian) 2019-03-22 13:10:10 +01:00
PhilippC
a19230393d New translations strings.xml (Chinese Simplified) 2019-03-22 08:00:13 +01:00
PhilippC
0b89969a33 New translations strings.xml (Chinese Simplified) 2019-03-22 07:50:10 +01:00
PhilippC
bbe97230d2 New translations strings.xml (German) 2019-03-22 05:40:10 +01:00
PhilippC
ee0161737c New translations strings.xml (Catalan) 2019-03-22 05:20:10 +01:00
Philipp Crocoll
e7e0b91703 fix potential crash when changing offline cache preference 2019-03-22 04:59:44 +01:00
PhilippC
dbcdf71bbe New translations strings.xml (French) 2019-03-21 21:50:12 +01:00
PhilippC
779615c09a New translations strings.xml (Finnish) 2019-03-21 06:20:11 +01:00
PhilippC
1c3a1ce53c New translations strings.xml (Finnish) 2019-03-21 06:10:09 +01:00
PhilippC
981c524e3f New translations strings.xml (Croatian) 2019-03-21 05:22:26 +01:00
PhilippC
44a7d68f31 New translations strings.xml (Chinese Traditional) 2019-03-21 05:22:22 +01:00
PhilippC
ae858e3dc4 New translations strings.xml (Chinese Simplified) 2019-03-21 05:22:17 +01:00
PhilippC
22fd23a31d New translations strings.xml (Catalan) 2019-03-21 05:22:13 +01:00
PhilippC
2babe87d6d New translations strings.xml (Russian) 2019-03-21 05:21:59 +01:00
PhilippC
95a8b3fe34 New translations strings.xml (German) 2019-03-21 05:21:50 +01:00
PhilippC
32c526a26a New translations strings.xml (Portuguese, Brazilian) 2019-03-21 05:21:46 +01:00
Philipp Crocoll
b2adfad2ee catch potential file not found exceptions 2019-03-21 04:27:44 +01:00
Philipp Crocoll
ee5a8534a7 catch all exceptions when stopping fingerprint, maybe there is a java exception 2019-03-21 04:15:04 +01:00
Philipp Crocoll
80ba3b969d allow to turn off saving of credentials through Autofill for the whole app. Closes https://github.com/PhilippC/keepass2android/issues/488. Allow to re-enable disabled autofill targets in the app preferences. Closes https://github.com/PhilippC/keepass2android/issues/715 2019-03-21 04:13:29 +01:00
Philipp Crocoll
83bd6911c8 Merge branch 'master' of c:/ph/keepass2android 2019-03-19 22:08:28 +01:00
Philipp Crocoll
6c66f6199c 1.07-pre7 2019-03-19 22:08:19 +01:00
Philipp Crocoll
c11731541c reenable search suggestion listener 2019-03-19 22:07:38 +01:00
PhilippC
609593ebd0 New translations strings.xml (French) 2019-03-19 21:51:42 +01:00
PhilippC
85b867a5ca New translations strings.xml (Slovak) 2019-03-19 21:51:27 +01:00
PhilippC
a3690051eb New translations strings.xml (Portuguese) 2019-03-19 21:51:15 +01:00
PhilippC
ecb44a2611 New translations strings.xml (Polish) 2019-03-19 21:51:08 +01:00
PhilippC
7898ea9ba7 New translations strings.xml (Japanese) 2019-03-19 21:50:50 +01:00
PhilippC
90a2029f3d New translations strings.xml (Italian) 2019-03-19 21:50:45 +01:00
PhilippC
1d9a9ea658 New translations strings.xml (Hungarian) 2019-03-19 21:50:36 +01:00
PhilippC
e88f80eda3 New translations strings.xml (Spanish) 2019-03-19 21:50:27 +01:00
Philipp Crocoll
025e2f415d improve logging output 2019-03-19 21:49:04 +01:00
Philipp Crocoll
e113ca79de add missing file 2019-03-19 21:23:50 +01:00
Philipp Crocoll
f988c44440 update changelog 2019-03-19 21:20:07 +01:00
Philipp Crocoll
37cda26e27 fix potential crashes in AutoFill service 2019-03-19 21:13:16 +01:00
Philipp Crocoll
65c2da9afa implement really hacky workaround for another crash on Samsung devices with Android 9 2019-03-19 20:58:37 +01:00
Philipp Crocoll
434b7b756b Merge branch 'master' of c:/ph/keepass2android 2019-03-18 05:51:54 +01:00
Philipp Crocoll
9dfcab6c1c 1.07-pre6 2019-03-18 05:50:56 +01:00
Philipp Crocoll
9f39f4e377 set NoHistory flag for SwitchImeActivity, improves switching back to KP2A 2019-03-18 05:44:01 +01:00
Philipp Crocoll
58da4284ac Merge branch 'master' of c:/ph/keepass2android
# Resolved Conflicts:
#	src/keepass2android/Properties/AndroidManifest_net.xml
#	src/keepass2android/Resources/values/strings.xml
2019-03-18 05:12:05 +01:00
Philipp Crocoll
55787ff6cf fix crash on Samsung devices with Android 9, fix problem with bringing up keyboard 2019-03-18 05:09:20 +01:00
Philipp Crocoll
3b93610e43 fix crash when sending debug log (closes https://github.com/PhilippC/keepass2android/issues/264) 2019-03-18 05:08:34 +01:00
Philipp Crocoll
40f3066ee0 avoid potential crashes when opening child databases (caused by network on main thread or URLs without username/password), fixes https://github.com/PhilippC/keepass2android/issues/728 2019-03-18 03:56:34 +01:00
PhilippC
2108aac41c New translations strings.xml (Russian) 2019-03-15 10:50:12 +01:00
PhilippC
68f8300395 New translations strings.xml (Russian) 2019-03-15 10:40:10 +01:00
PhilippC
325a61912e New translations strings.xml (Russian) 2019-03-15 10:30:10 +01:00
PhilippC
7363c88fce New translations strings.xml (Russian) 2019-03-15 10:20:09 +01:00
PhilippC
0b0f95c65c New translations strings.xml (Danish) 2019-03-14 18:20:18 +01:00
PhilippC
354675f1e5 New translations strings.xml (German) 2019-03-13 14:50:13 +01:00
PhilippC
7a769f283b New translations strings.xml (German) 2019-03-13 14:40:14 +01:00
PhilippC
3dc67d5978 New translations strings.xml (Portuguese, Brazilian) 2019-03-12 15:40:09 +01:00
PhilippC
d3a0d71857 New translations strings.xml (Portuguese, Brazilian) 2019-03-12 15:30:16 +01:00
PhilippC
72f7534a5f New translations strings.xml (Portuguese, Brazilian) 2019-03-12 15:20:13 +01:00
PhilippC
27a733cbed New translations strings.xml (Portuguese, Brazilian) 2019-03-12 15:10:13 +01:00
Philipp Crocoll
92a0ce98bb make nfc implementation compatible to Yubikey NEO 5 (closes https://github.com/PhilippC/keepass2android/issues/564) 2019-03-11 11:46:02 +01:00
Philipp Crocoll
84c9632508 using public suffix to determine canonical domains which fixes the aliexpress issue (fixes https://github.com/PhilippC/keepass2android/issues/711) 2019-03-11 10:56:55 +01:00
Philipp Crocoll
22c2b406db more attempts to get OneDrive for business working 2019-03-11 09:43:42 +01:00
PhilippC
bc374a1317 New translations strings.xml (Spanish) 2019-03-11 09:10:09 +01:00
Philipp Crocoll
0bf82a999a don't refuse to load databases with invalid times 2019-03-11 02:52:56 +01:00
PhilippC
453a8459ac New translations strings.xml (Turkish) 2019-03-10 01:20:10 +01:00
PhilippC
53f6ddad22 New translations strings.xml (Ukrainian) 2019-03-09 22:10:08 +01:00
PhilippC
14bd128931 New translations strings.xml (Greek) 2019-03-08 23:30:11 +01:00
PhilippC
b0b8daa03d New translations strings.xml (Greek) 2019-03-08 23:20:08 +01:00
PhilippC
940cd70f64 New translations strings.xml (Spanish) 2019-03-08 08:40:09 +01:00
PhilippC
d8cdef0622 New translations strings.xml (Spanish) 2019-03-08 08:30:12 +01:00
PhilippC
44a7cfe32e New translations strings.xml (Spanish) 2019-03-08 08:20:09 +01:00
PhilippC
8584352e21 New translations strings.xml (Turkish) 2019-03-07 12:50:10 +01:00
PhilippC
1c39d027e0 New translations strings.xml (Turkish) 2019-03-07 12:40:12 +01:00
PhilippC
ce82e2cdcf New translations strings.xml (Arabic) 2019-03-06 07:30:10 +01:00
PhilippC
a8492f75cd New translations strings.xml (Arabic) 2019-03-06 07:20:10 +01:00
PhilippC
03afb38aa3 New translations strings.xml (Portuguese) 2019-03-04 19:20:10 +01:00
PhilippC
acc2acce2c New translations strings.xml (Portuguese) 2019-03-04 18:50:08 +01:00
PhilippC
3a612864f8 New translations strings.xml (Portuguese) 2019-03-04 18:40:09 +01:00
PhilippC
7e1789a3f4 New translations strings.xml (Slovak) 2019-03-03 13:10:10 +01:00
PhilippC
69dea794e1 New translations strings.xml (Dutch) 2019-03-02 14:50:08 +01:00
PhilippC
4e024bd8b1 New translations strings.xml (Dutch) 2019-03-02 14:40:10 +01:00
PhilippC
6078e511aa New translations strings.xml (Dutch) 2019-03-02 14:30:09 +01:00
PhilippC
58574cd824 New translations strings.xml (Spanish) 2019-02-27 14:30:11 +01:00
PhilippC
635fa99cf2 New translations strings.xml (Spanish) 2019-02-27 14:00:12 +01:00
PhilippC
074d71cef7 New translations strings.xml (Spanish) 2019-02-27 09:20:12 +01:00
PhilippC
027075b1b2 New translations strings.xml (Czech) 2019-02-24 00:00:09 +01:00
PhilippC
898ad42f96 New translations strings.xml (Czech) 2019-02-23 23:50:10 +01:00
PhilippC
c87ffeff71 New translations strings.xml (Japanese) 2019-02-22 11:20:10 +01:00
PhilippC
40f0744adc New translations strings.xml (Japanese) 2019-02-22 11:10:09 +01:00
PhilippC
eba555f260 New translations strings.xml (Japanese) 2019-02-22 11:00:12 +01:00
PhilippC
e7db208a40 New translations strings.xml (Russian) 2019-02-20 20:40:11 +01:00
PhilippC
69399bb328 New translations strings.xml (Italian) 2019-02-18 20:20:14 +01:00
PhilippC
749e928d66 New translations strings.xml (Italian) 2019-02-18 20:10:09 +01:00
PhilippC
a3b8690609 New translations strings.xml (Polish) 2019-02-18 12:40:12 +01:00
PhilippC
340e6794ca New translations strings.xml (German) 2019-02-17 02:50:09 +01:00
PhilippC
7a23152cee New translations strings.xml (German) 2019-02-17 02:40:09 +01:00
PhilippC
d00f71884a New translations strings.xml (German) 2019-02-17 02:30:11 +01:00
PhilippC
587014159d New translations strings.xml (Chinese Simplified) 2019-02-16 15:20:11 +01:00
PhilippC
e2cb3691e4 New translations strings.xml (Chinese Simplified) 2019-02-16 15:10:09 +01:00
PhilippC
a40be3b658 New translations strings.xml (Chinese Simplified) 2019-02-16 13:50:08 +01:00
PhilippC
598d7c699a New translations strings.xml (Chinese Simplified) 2019-02-16 13:40:11 +01:00
PhilippC
23c9b9f2d9 New translations strings.xml (Norwegian Bokmal) 2019-02-15 08:50:09 +01:00
PhilippC
22aeff708a New translations strings.xml (Chinese Simplified) 2019-02-14 08:10:11 +01:00
PhilippC
e9b7b935ee New translations strings.xml (Chinese Simplified) 2019-02-14 08:00:15 +01:00
PhilippC
eb0d9ec482 New translations strings.xml (Chinese Simplified) 2019-02-14 07:50:11 +01:00
PhilippC
cfd0d72100 New translations strings.xml (Polish) 2019-02-11 20:00:15 +01:00
PhilippC
f615dc265a New translations strings.xml (Polish) 2019-02-11 19:50:12 +01:00
PhilippC
53c4971c4e New translations strings.xml (Polish) 2019-02-11 19:40:12 +01:00
PhilippC
3a98fa9f53 New translations strings.xml (Japanese) 2019-02-11 08:20:11 +01:00
PhilippC
6ed5386c12 New translations strings.xml (German) 2019-02-11 04:10:09 +01:00
PhilippC
a998a7f92b New translations strings.xml (German) 2019-02-11 04:00:09 +01:00
PhilippC
3218989b13 New translations strings.xml (German) 2019-02-11 03:50:09 +01:00
PhilippC
3aff954063 New translations strings.xml (Catalan) 2019-02-09 16:20:09 +01:00
PhilippC
11e824c133 New translations strings.xml (Catalan) 2019-02-09 16:10:09 +01:00
PhilippC
a26662a813 New translations strings.xml (Catalan) 2019-02-09 10:10:10 +01:00
PhilippC
007838197b New translations strings.xml (Catalan) 2019-02-09 10:00:09 +01:00
PhilippC
0ad82d5b91 New translations strings.xml (Catalan) 2019-02-09 09:10:08 +01:00
PhilippC
52e47a62d2 New translations strings.xml (Korean) 2019-02-08 17:40:11 +01:00
PhilippC
cbaaf3ee54 New translations strings.xml (Chinese Traditional) 2019-02-08 16:10:12 +01:00
PhilippC
26f26ee35d New translations strings.xml (Chinese Traditional) 2019-02-08 16:00:13 +01:00
PhilippC
0102ac77e3 New translations strings.xml (Chinese Traditional) 2019-02-08 15:50:10 +01:00
PhilippC
d24101bee2 New translations strings.xml (Chinese Traditional) 2019-02-08 15:40:11 +01:00
PhilippC
36cced5ce7 New translations strings.xml (Chinese Traditional) 2019-02-08 15:30:13 +01:00
PhilippC
87eb537ebe New translations strings.xml (French) 2019-02-07 00:40:11 +01:00
PhilippC
86fdc17d2a New translations strings.xml (Slovak) 2019-02-06 21:21:11 +01:00
PhilippC
bd8763c62f New translations strings.xml (Portuguese, Brazilian) 2019-02-06 21:20:54 +01:00
Philipp Crocoll
bc917d41ad 1.07-pre5 2019-02-06 21:13:59 +01:00
Philipp Crocoll
68b60b427a fix missing native keytransform, closes #630 2019-02-06 21:13:46 +01:00
PhilippC
c9e64c53ec New translations strings.xml (Slovak) 2019-02-06 16:10:18 +01:00
PhilippC
6ba6c6bac7 New translations strings.xml (Slovak) 2019-02-06 16:00:26 +01:00
PhilippC
f2967e1d8f New translations strings.xml (Slovak) 2019-02-06 15:50:13 +01:00
PhilippC
60783ca88e New translations strings.xml (Slovak) 2019-02-06 15:40:12 +01:00
PhilippC
8d7c1371df New translations strings.xml (Vietnamese) 2019-02-06 15:33:16 +01:00
PhilippC
090bfe9091 New translations strings.xml (Basque) 2019-02-06 15:33:10 +01:00
PhilippC
3ad2ba9f33 New translations strings.xml (Bulgarian) 2019-02-06 15:33:05 +01:00
PhilippC
1036def599 New translations strings.xml (Catalan) 2019-02-06 15:33:00 +01:00
PhilippC
2acad69940 New translations strings.xml (Chinese Simplified) 2019-02-06 15:32:56 +01:00
PhilippC
1f18011a5b New translations strings.xml (Chinese Traditional) 2019-02-06 15:32:51 +01:00
PhilippC
3da63b378c New translations strings.xml (Croatian) 2019-02-06 15:32:45 +01:00
PhilippC
0852aa7429 New translations strings.xml (Czech) 2019-02-06 15:32:39 +01:00
PhilippC
8a863ca636 New translations strings.xml (Danish) 2019-02-06 15:32:33 +01:00
PhilippC
83db5c205d New translations strings.xml (Finnish) 2019-02-06 15:32:26 +01:00
PhilippC
760e73959c New translations strings.xml (French) 2019-02-06 15:32:22 +01:00
PhilippC
e516e06a53 New translations strings.xml (Galician) 2019-02-06 15:32:16 +01:00
PhilippC
a954461be3 New translations strings.xml (German) 2019-02-06 15:32:12 +01:00
PhilippC
5998369af6 New translations strings.xml (Greek) 2019-02-06 15:32:06 +01:00
PhilippC
f41a2604c4 New translations strings.xml (Azerbaijani) 2019-02-06 15:31:57 +01:00
PhilippC
6fc578d286 New translations strings.xml (Hebrew) 2019-02-06 15:31:51 +01:00
PhilippC
f2604a5fec New translations strings.xml (Indonesian) 2019-02-06 15:31:47 +01:00
PhilippC
642026156a New translations strings.xml (Italian) 2019-02-06 15:31:41 +01:00
PhilippC
708c511a98 New translations strings.xml (Japanese) 2019-02-06 15:31:35 +01:00
PhilippC
2c75b5886f New translations strings.xml (Korean) 2019-02-06 15:31:30 +01:00
PhilippC
0ef7f5a955 New translations strings.xml (Russian) 2019-02-06 15:31:20 +01:00
PhilippC
28856c01cd New translations strings.xml (Serbian (Cyrillic)) 2019-02-06 15:31:09 +01:00
PhilippC
a47bd03e94 New translations strings.xml (Slovak) 2019-02-06 15:31:01 +01:00
PhilippC
c5551ddeb5 New translations strings.xml (Slovenian) 2019-02-06 15:30:57 +01:00
PhilippC
020f274ef3 New translations strings.xml (Spanish) 2019-02-06 15:30:51 +01:00
PhilippC
e2f8f04ace New translations strings.xml (Swedish) 2019-02-06 15:30:45 +01:00
PhilippC
6d61d885c1 New translations strings.xml (Turkish) 2019-02-06 15:30:39 +01:00
PhilippC
e98cd16032 New translations strings.xml (Ukrainian) 2019-02-06 15:30:33 +01:00
PhilippC
4ec8bdda2f New translations strings.xml (Hungarian) 2019-02-06 15:30:29 +01:00
PhilippC
16df1624f8 New translations strings.xml (Arabic) 2019-02-06 15:30:20 +01:00
PhilippC
cb978e012b New translations strings.xml (Portuguese) 2019-02-06 06:20:56 +01:00
PhilippC
b7ea02696b New translations strings.xml (Polish) 2019-02-06 06:20:51 +01:00
PhilippC
49cb8874ca New translations strings.xml (Persian) 2019-02-06 06:20:46 +01:00
PhilippC
1384256d87 New translations strings.xml (Norwegian Nynorsk) 2019-02-06 06:20:41 +01:00
PhilippC
705b2fcd9a New translations strings.xml (Norwegian Bokmal) 2019-02-06 06:20:38 +01:00
PhilippC
906ca77973 New translations strings.xml (Romanian) 2019-02-06 06:20:34 +01:00
PhilippC
7dc5c734d0 New translations strings.xml (Dutch) 2019-02-06 06:20:29 +01:00
Philipp Crocoll
a3c1e311f7 1.07-pre4 2019-02-06 06:15:33 +01:00
Philipp Crocoll
4d246a250d remove AdalBindings project 2019-02-06 06:15:20 +01:00
Philipp Crocoll
8d2c41f558 fix duplicate string resource id 2019-02-06 06:14:49 +01:00
PhilippC
3b06c4c14a New translations strings.xml (Chinese Traditional) 2019-02-05 20:03:10 +01:00
PhilippC
f98dcb813d New translations strings.xml (Finnish) 2019-02-05 20:02:56 +01:00
PhilippC
17cf31e8cf New translations strings.xml (Portuguese, Brazilian) 2019-02-05 20:02:13 +01:00
PhilippC
6771c378bf New translations strings.xml (Russian) 2019-02-05 20:02:09 +01:00
Philipp Crocoll
013aa4d071 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2019-02-05 19:55:58 +01:00
PhilippC
b887e16628 Merge pull request #515 from PhilippC/l10n_master
New Crowdin translations
2019-02-05 19:55:45 +01:00
PhilippC
7774ed65bd Merge branch 'master' into l10n_master 2019-02-05 19:55:11 +01:00
PhilippC
c85f996aa3 New translations strings.xml (Portuguese) 2019-02-05 19:51:56 +01:00
Philipp Crocoll
64d9cc00d1 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2019-02-05 19:46:56 +01:00
Philipp Crocoll
a0efbecee4 Forward to Search results directly when multiple databases open, closes https://github.com/PhilippC/keepass2android/issues/642 2019-02-05 12:15:22 +01:00
Philipp Crocoll
cceb4c6677 increase timeout (https://github.com/PhilippC/keepass2android/issues/339). still todo: test how KP2A behaves on write errors. 2019-02-05 12:14:52 +01:00
Philipp Crocoll
66e448a648 avoid using a deprecated method, might help with https://github.com/PhilippC/keepass2android/issues/653 2019-02-05 11:08:38 +01:00
Philipp Crocoll
eb134fd41a NfcOtpActivity is back - this time with app link enabled (allows users to enter https://keepass2android.crocoll.net/neo/ as NDEF payload and should work on all recent Android devices with NFC). Closes #603 2019-02-05 10:36:08 +01:00
Philipp Crocoll
857d6f9008 reset cancellation signal when cancelled. might fix https://github.com/PhilippC/keepass2android/issues/560 (cannot reproduce, so user must test) 2019-02-05 10:04:10 +01:00
PhilippC
32396c4534 Merge pull request #654 from Small-Ku/master
Update crowdin.yml for better Chinese localiztion
2019-02-05 06:38:57 +01:00
Philipp Crocoll
2df46b6647 improve language in some strings 2019-02-05 06:29:01 +01:00
Philipp Crocoll
9f6ad37547 Revert "failing attempt to integrate ADAL authentication (for OneDrive for business)"
This reverts commit 6b69ad20ad.
2019-02-05 06:28:40 +01:00
PhilippC
65955843e5 New translations strings.xml (Dutch) 2019-01-26 15:40:08 +01:00
PhilippC
9e9b5fb9dd New translations strings.xml (Polish) 2019-01-19 14:10:09 +01:00
PhilippC
f96fc67bc2 New translations strings.xml (Russian) 2019-01-15 13:50:14 +01:00
PhilippC
07ebd0b4ca New translations strings.xml (Russian) 2019-01-15 13:40:10 +01:00
PhilippC
64e955c512 New translations strings.xml (Japanese) 2019-01-14 13:50:11 +01:00
PhilippC
161753b195 New translations strings.xml (Japanese) 2019-01-14 13:40:15 +01:00
PhilippC
f92adb847a New translations strings.xml (Japanese) 2019-01-14 13:30:13 +01:00
PhilippC
98f780c277 New translations strings.xml (Portuguese, Brazilian) 2019-01-14 03:20:08 +01:00
PhilippC
3c512e74db New translations strings.xml (Portuguese, Brazilian) 2019-01-14 03:10:08 +01:00
PhilippC
9b752dd28f New translations strings.xml (Portuguese, Brazilian) 2019-01-14 03:00:11 +01:00
PhilippC
3cf2719c29 New translations strings.xml (Croatian) 2019-01-07 07:30:10 +01:00
PhilippC
be420c0394 New translations strings.xml (Croatian) 2019-01-07 07:20:08 +01:00
PhilippC
1b1d995b9d New translations strings.xml (Russian) 2019-01-03 16:50:10 +01:00
PhilippC
6410f41fa2 New translations strings.xml (Italian) 2019-01-02 15:50:09 +01:00
PhilippC
f90a45b1e6 New translations strings.xml (Italian) 2019-01-02 15:40:08 +01:00
PhilippC
9ca5569122 New translations strings.xml (Slovak) 2019-01-02 12:20:08 +01:00
Philipp Crocoll
a6b4a35973 added OneDriveStorage2 based on Graph SDK 2018-12-30 07:53:29 +01:00
PhilippC
06cb6bac3e New translations strings.xml (Turkish) 2018-12-28 10:50:11 +01:00
PhilippC
5241aeea9f New translations strings.xml (Turkish) 2018-12-28 10:40:09 +01:00
Philipp Crocoll
6b69ad20ad failing attempt to integrate ADAL authentication (for OneDrive for business) 2018-12-27 21:46:11 +01:00
PhilippC
a79d2ec323 New translations strings.xml (Catalan) 2018-12-27 21:40:08 +01:00
PhilippC
209a0fe2da New translations strings.xml (Catalan) 2018-12-27 21:30:10 +01:00
Small_Ku
277f439f70 Update crowdin.yml
for Chinese translation
2018-12-27 00:05:15 +08:00
PhilippC
d9f29fdcaa New translations strings.xml (Danish) 2018-12-26 06:50:08 +01:00
PhilippC
a9141d3fe2 New translations strings.xml (Danish) 2018-12-26 06:40:08 +01:00
PhilippC
4ce55e88fa New translations strings.xml (Danish) 2018-12-26 06:30:08 +01:00
PhilippC
c930d388dc New translations strings.xml (Finnish) 2018-12-25 10:30:25 +01:00
PhilippC
12c7911cf4 New translations strings.xml (Finnish) 2018-12-25 10:20:18 +01:00
PhilippC
06377ff497 New translations strings.xml (Finnish) 2018-12-25 10:10:08 +01:00
PhilippC
7a1938e515 New translations strings.xml (Finnish) 2018-12-25 10:00:09 +01:00
PhilippC
445166d220 New translations strings.xml (Danish) 2018-12-25 08:10:08 +01:00
PhilippC
3963501d0c New translations strings.xml (Danish) 2018-12-25 08:00:09 +01:00
PhilippC
acb51d7859 New translations strings.xml (Spanish) 2018-12-23 19:50:09 +01:00
PhilippC
4dbfb76ced Merge pull request #628 from Skycoder42/master
Correctly extract protected fields from intent (Fixes #627)
2018-12-23 07:27:32 +01:00
Philipp Crocoll
4188464652 change "application" to "app" in english strings 2018-12-23 07:09:17 +01:00
PhilippC
fb552a8d62 New translations strings.xml (Chinese Simplified) 2018-12-23 02:40:09 +01:00
PhilippC
c998e4e34f New translations strings.xml (Chinese Simplified) 2018-12-23 02:30:09 +01:00
PhilippC
ab46015a5a New translations strings.xml (Chinese Simplified) 2018-12-23 02:20:09 +01:00
PhilippC
dd10740bf2 New translations strings.xml (German) 2018-12-22 13:40:08 +01:00
PhilippC
44f26685e4 New translations strings.xml (German) 2018-12-22 13:30:08 +01:00
PhilippC
3caa56ae8c New translations strings.xml (French) 2018-12-21 16:30:09 +01:00
PhilippC
1ca4fbb078 New translations strings.xml (Czech) 2018-12-18 23:40:10 +01:00
PhilippC
bdf5270fa0 New translations strings.xml (Czech) 2018-12-18 19:30:09 +01:00
PhilippC
e3e865b108 New translations strings.xml (Czech) 2018-12-18 19:20:09 +01:00
PhilippC
33f3736798 New translations strings.xml (Czech) 2018-12-18 19:10:11 +01:00
PhilippC
a86fbcee44 New translations strings.xml (Czech) 2018-12-18 19:00:13 +01:00
PhilippC
cdbf8a2811 New translations strings.xml (Czech) 2018-12-18 18:50:09 +01:00
PhilippC
da4fae4e04 New translations strings.xml (Czech) 2018-12-18 18:40:10 +01:00
PhilippC
ddeefc4ab6 New translations strings.xml (Chinese Traditional) 2018-12-17 19:20:11 +01:00
PhilippC
33702064a5 New translations strings.xml (French) 2018-12-17 12:40:10 +01:00
PhilippC
b72995c8bf New translations strings.xml (Chinese Simplified) 2018-12-17 12:20:16 +01:00
PhilippC
868eb1c4fb New translations strings.xml (Catalan) 2018-12-17 12:20:10 +01:00
PhilippC
d93140efc6 New translations strings.xml (Chinese Traditional) 2018-12-17 12:12:20 +01:00
PhilippC
0f59d46ede New translations strings.xml (Croatian) 2018-12-17 12:12:14 +01:00
PhilippC
812b5f22f9 New translations strings.xml (Czech) 2018-12-17 12:12:10 +01:00
PhilippC
d1b5feae0d New translations strings.xml (Danish) 2018-12-17 12:12:05 +01:00
PhilippC
0861fa9e03 New translations strings.xml (Dutch) 2018-12-17 12:12:00 +01:00
PhilippC
c3fe9f513d New translations strings.xml (Finnish) 2018-12-17 12:11:56 +01:00
PhilippC
b513669f4d New translations strings.xml (French) 2018-12-17 12:11:49 +01:00
PhilippC
1ad74fdacc New translations strings.xml (Galician) 2018-12-17 12:11:44 +01:00
PhilippC
9a24ede989 New translations strings.xml (German) 2018-12-17 12:11:40 +01:00
PhilippC
7ea8dfa8ce New translations strings.xml (Greek) 2018-12-17 12:11:35 +01:00
PhilippC
670068eeba New translations strings.xml (Hungarian) 2018-12-17 12:11:28 +01:00
PhilippC
70310f1970 New translations strings.xml (Indonesian) 2018-12-17 12:11:19 +01:00
PhilippC
4463c148a5 New translations strings.xml (Japanese) 2018-12-17 12:11:15 +01:00
PhilippC
c982b45134 New translations strings.xml (Korean) 2018-12-17 12:11:10 +01:00
PhilippC
d209a2c7f8 New translations strings.xml (Norwegian Bokmal) 2018-12-17 12:11:05 +01:00
PhilippC
75c73193a2 New translations strings.xml (Portuguese, Brazilian) 2018-12-17 12:10:59 +01:00
PhilippC
fc99f6774d New translations strings.xml (Romanian) 2018-12-17 12:10:54 +01:00
PhilippC
d40fab86c9 New translations strings.xml (Slovak) 2018-12-17 12:10:45 +01:00
PhilippC
5c0520e093 New translations strings.xml (Slovenian) 2018-12-17 12:10:41 +01:00
PhilippC
1bb9ead202 New translations strings.xml (Spanish) 2018-12-17 12:10:36 +01:00
PhilippC
3afd8915f0 New translations strings.xml (Swedish) 2018-12-17 12:10:32 +01:00
PhilippC
ba3f2d2823 New translations strings.xml (Turkish) 2018-12-17 12:10:28 +01:00
PhilippC
24989d80ac New translations strings.xml (Ukrainian) 2018-12-17 12:10:22 +01:00
PhilippC
d2c16158cc New translations strings.xml (Vietnamese) 2018-12-17 12:10:17 +01:00
PhilippC
8514fd6266 New translations strings.xml (Italian) 2018-12-17 12:10:13 +01:00
Philipp Crocoll
30d1534c01 show save errors as dialogs, closes #339 2018-12-17 12:09:31 +01:00
PhilippC
4f0800d4fc New translations strings.xml (Portuguese) 2018-12-17 12:00:49 +01:00
PhilippC
41fa396318 New translations strings.xml (Polish) 2018-12-17 12:00:45 +01:00
PhilippC
d94af84002 New translations strings.xml (Persian) 2018-12-17 12:00:41 +01:00
PhilippC
63b92cc35a New translations strings.xml (Russian) 2018-12-17 12:00:31 +01:00
PhilippC
3238d9fbc5 New translations strings.xml (Arabic) 2018-12-17 12:00:26 +01:00
Philipp Crocoll
780d4c95fe improve message when file is readonly, closes #521 2018-12-17 11:47:24 +01:00
PhilippC
c3b27c75bf New translations strings.xml (Chinese Traditional) 2018-12-17 11:40:08 +01:00
PhilippC
23c7031672 New translations strings.xml (Chinese Traditional) 2018-12-17 11:30:11 +01:00
PhilippC
9e98d09a93 New translations strings.xml (Chinese Traditional) 2018-12-17 11:20:11 +01:00
Philipp Crocoll
06e64f7347 more autofill logging 2018-12-17 11:12:07 +01:00
Philipp Crocoll
92594db78d automatically fill in OTPs copied from Yubiclip. closes #603 and closes #564 2018-12-17 11:11:56 +01:00
PhilippC
c574f2d6bd New translations strings.xml (Chinese Traditional) 2018-12-17 11:10:11 +01:00
PhilippC
ee156cbfd6 New translations strings.xml (Chinese Traditional) 2018-12-17 10:50:09 +01:00
PhilippC
73d12daf04 New translations strings.xml (Chinese Traditional) 2018-12-17 10:40:09 +01:00
Philipp Crocoll
e4179a934b fix wrong time display when editing expiration date, fixes #634 2018-12-17 10:03:43 +01:00
Philipp Crocoll
afd309d9a8 work on reducing popups for autofill/allow to disable autofill for query. not yet fully functional. refers to #455. 2018-12-17 10:03:02 +01:00
PhilippC
1a24b00c5e New translations strings.xml (Italian) 2018-12-17 09:40:08 +01:00
PhilippC
445e4d8b31 New translations strings.xml (Italian) 2018-12-17 09:30:34 +01:00
PhilippC
224ca98d0e New translations strings.xml (Swedish) 2018-12-16 23:50:10 +01:00
PhilippC
13419c9fb7 New translations strings.xml (Croatian) 2018-12-16 22:10:12 +01:00
PhilippC
00646bc84b New translations strings.xml (Croatian) 2018-12-16 22:00:13 +01:00
PhilippC
cb4b686335 New translations strings.xml (Dutch) 2018-12-16 14:10:09 +01:00
PhilippC
5e900b62c8 New translations strings.xml (Ukrainian) 2018-12-12 09:00:09 +01:00
PhilippC
74c94d37e5 New translations strings.xml (French) 2018-12-11 21:40:08 +01:00
PhilippC
588814d1a6 New translations strings.xml (Portuguese) 2018-12-11 21:30:12 +01:00
PhilippC
572b858f81 New translations strings.xml (Portuguese) 2018-12-11 21:20:10 +01:00
PhilippC
1a9fc48490 New translations strings.xml (Japanese) 2018-12-11 05:30:09 +01:00
PhilippC
2dd131e6c3 New translations strings.xml (Portuguese, Brazilian) 2018-12-11 00:10:08 +01:00
Philipp Crocoll
d1ad2a681f Autofill: fill emailAddress fields with username 2018-12-10 11:24:40 +01:00
Philipp Crocoll
e2e7666c4f fix incorrect webDomain checking, fixes https://github.com/PhilippC/keepass2android/issues/592 2018-12-10 11:23:44 +01:00
Philipp Crocoll
665639fdca fix switching keyboards not working in Android 9: fixes https://github.com/PhilippC/keepass2android/issues/530 2018-12-10 09:52:23 +01:00
Philipp Crocoll
8bb930c1fc make kdb library "embedded jar" instead of "inputjar" to fix issue with native key transform not working. -> 1.07-pre3 2018-12-10 09:50:26 +01:00
PhilippC
b3b9d8d105 New translations strings.xml (Catalan) 2018-12-09 17:30:10 +01:00
PhilippC
82c409252b New translations strings.xml (Polish) 2018-12-09 15:30:18 +01:00
PhilippC
14c63a03c4 New translations strings.xml (Chinese Simplified) 2018-12-09 15:30:14 +01:00
PhilippC
0c7ad8b16c New translations strings.xml (Catalan) 2018-12-09 15:30:10 +01:00
PhilippC
1bf2d8219a New translations strings.xml (Chinese Traditional) 2018-12-09 14:42:11 +01:00
PhilippC
a72264ef36 New translations strings.xml (Croatian) 2018-12-09 14:42:06 +01:00
PhilippC
1acc399568 New translations strings.xml (Czech) 2018-12-09 14:42:00 +01:00
PhilippC
160960437c New translations strings.xml (Danish) 2018-12-09 14:41:56 +01:00
PhilippC
61992adcca New translations strings.xml (Dutch) 2018-12-09 14:41:52 +01:00
PhilippC
10e0ae8200 New translations strings.xml (Finnish) 2018-12-09 14:41:47 +01:00
PhilippC
eb58b8576e New translations strings.xml (French) 2018-12-09 14:41:43 +01:00
PhilippC
9b4d2d6ed7 New translations strings.xml (Galician) 2018-12-09 14:41:38 +01:00
PhilippC
6417e9dec5 New translations strings.xml (German) 2018-12-09 14:41:33 +01:00
PhilippC
f5ac217f13 New translations strings.xml (Greek) 2018-12-09 14:41:29 +01:00
PhilippC
a3d3b14dd1 New translations strings.xml (Bulgarian) 2018-12-09 14:41:21 +01:00
PhilippC
8fccce8684 New translations strings.xml (Hungarian) 2018-12-09 14:41:17 +01:00
PhilippC
4a847cd74a New translations strings.xml (Italian) 2018-12-09 14:41:11 +01:00
PhilippC
f4c1db39ad New translations strings.xml (Japanese) 2018-12-09 14:41:07 +01:00
PhilippC
d9ff177427 New translations strings.xml (Korean) 2018-12-09 14:41:02 +01:00
PhilippC
95e3566c5f New translations strings.xml (Norwegian Bokmal) 2018-12-09 14:40:57 +01:00
PhilippC
76e02ff514 New translations strings.xml (Romanian) 2018-12-09 14:40:52 +01:00
PhilippC
8aca9a2d82 New translations strings.xml (Serbian (Cyrillic)) 2018-12-09 14:40:47 +01:00
PhilippC
3abab2072a New translations strings.xml (Slovak) 2018-12-09 14:40:42 +01:00
PhilippC
ca9e479dc5 New translations strings.xml (Slovenian) 2018-12-09 14:40:38 +01:00
PhilippC
4d230a7b3e New translations strings.xml (Spanish) 2018-12-09 14:40:34 +01:00
PhilippC
974cc59e6c New translations strings.xml (Swedish) 2018-12-09 14:40:31 +01:00
PhilippC
9f09b144f0 New translations strings.xml (Turkish) 2018-12-09 14:40:26 +01:00
PhilippC
9d4dad5fee New translations strings.xml (Ukrainian) 2018-12-09 14:40:22 +01:00
PhilippC
46ffa93d93 New translations strings.xml (Vietnamese) 2018-12-09 14:40:19 +01:00
PhilippC
8b709bc070 New translations strings.xml (Indonesian) 2018-12-09 14:40:14 +01:00
PhilippC
c1284c760a New translations strings.xml (Basque) 2018-12-09 14:40:09 +01:00
PhilippC
6529a94d3a New translations strings.xml (Portuguese) 2018-12-09 08:30:39 +01:00
PhilippC
f5e91a0524 New translations strings.xml (Polish) 2018-12-09 08:30:35 +01:00
PhilippC
f63bd3016b New translations strings.xml (Norwegian Nynorsk) 2018-12-09 08:30:28 +01:00
PhilippC
09cd590796 New translations strings.xml (Russian) 2018-12-09 08:30:24 +01:00
PhilippC
da728c4039 New translations strings.xml (Arabic) 2018-12-09 08:30:20 +01:00
Philipp Crocoll
14b7b8cec1 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2018-12-09 08:23:18 +01:00
Philipp Crocoll
3695c04933 avoid endless loops trying to open databases when loading fails. changelog 1.07-pre2 for release. 2018-12-09 08:22:45 +01:00
Philipp Crocoll
f0f3bb6ede more logging regarding key transformation 2018-12-09 08:21:25 +01:00
Philipp Crocoll
7824326c5b fix typo in string 2018-12-09 08:21:03 +01:00
Philipp Crocoll
a65d263ae2 manifest for 1.07-pre2 2018-12-09 08:20:50 +01:00
PhilippC
f3e628be6b New translations strings.xml (Polish) 2018-12-09 02:10:10 +01:00
PhilippC
62e8dc7767 New translations strings.xml (Polish) 2018-12-09 02:00:09 +01:00
PhilippC
8e8cfa704a New translations strings.xml (Polish) 2018-12-09 01:50:08 +01:00
PhilippC
8b2eff0194 New translations strings.xml (Polish) 2018-12-09 01:40:08 +01:00
PhilippC
d4d063b97a New translations strings.xml (Polish) 2018-12-09 01:30:08 +01:00
PhilippC
d5ec33e1bd New translations strings.xml (Polish) 2018-12-09 01:20:09 +01:00
PhilippC
0726f22ec7 New translations strings.xml (Polish) 2018-12-09 01:00:12 +01:00
PhilippC
531ab93388 New translations strings.xml (Polish) 2018-12-09 00:50:08 +01:00
Philipp Crocoll
a7ad00d402 fix incorrect expiration time in EntryEditActivity, fixes #634 2018-12-08 17:44:02 +01:00
PhilippC
1f18848b4e New translations strings.xml (French) 2018-12-08 17:30:08 +01:00
PhilippC
38179d9ce3 New translations strings.xml (Chinese Simplified) 2018-12-07 08:10:10 +01:00
PhilippC
b86c493cf8 New translations strings.xml (Slovak) 2018-12-04 22:20:13 +01:00
PhilippC
0cc2df85da New translations strings.xml (Catalan) 2018-12-03 21:30:10 +01:00
Skycoder42
3157bac5f6 Add missing import 2018-12-03 18:40:01 +01:00
Skycoder42
5cb1709f5d Correctly extract protected fields from intent
Fixes #627
2018-12-03 18:37:36 +01:00
PhilippC
e6834b13a5 New translations strings.xml (Azerbaijani) 2018-12-03 11:52:59 +01:00
PhilippC
8a17daa002 New translations strings.xml (Chinese Traditional) 2018-12-03 11:52:08 +01:00
PhilippC
1b09189195 New translations strings.xml (Portuguese, Brazilian) 2018-12-03 11:50:50 +01:00
Philipp Crocoll
7f21fa2c40 added ConfigChanges flags to all activities which could potentially show the ykDroid dialog to reduce the chance of activity recreation (this is considered a workaround, waiting for the solution at https://github.com/pp3345/ykDroid/issues/8) 2018-12-03 11:37:08 +01:00
PhilippC
e0e4fc85f7 New translations strings.xml (Vietnamese) 2018-12-01 21:20:08 +01:00
PhilippC
b3e57db9f8 New translations strings.xml (Portuguese) 2018-12-01 00:40:08 +01:00
PhilippC
f8d93a5de7 New translations strings.xml (Portuguese) 2018-12-01 00:30:08 +01:00
PhilippC
c5423ac650 New translations strings.xml (German) 2018-11-29 09:20:13 +01:00
PhilippC
6e93d17d14 New translations strings.xml (German) 2018-11-29 09:10:15 +01:00
PhilippC
127bc1be5c New translations strings.xml (Chinese Simplified) 2018-11-28 03:20:14 +01:00
PhilippC
8136b09992 New translations strings.xml (Ukrainian) 2018-11-27 14:20:09 +01:00
PhilippC
2ffac3268e New translations strings.xml (Ukrainian) 2018-11-27 14:00:12 +01:00
PhilippC
c7056e9d40 New translations strings.xml (Ukrainian) 2018-11-27 13:50:10 +01:00
PhilippC
3fb8b4e7ff New translations strings.xml (Russian) 2018-11-26 21:50:09 +01:00
PhilippC
c728a7802d New translations strings.xml (Russian) 2018-11-26 21:40:09 +01:00
PhilippC
e7d3049456 New translations strings.xml (Russian) 2018-11-26 21:30:09 +01:00
PhilippC
316675c77e New translations strings.xml (Russian) 2018-11-26 21:20:09 +01:00
PhilippC
c836d3de71 New translations strings.xml (Russian) 2018-11-26 21:00:14 +01:00
PhilippC
230429135a New translations strings.xml (Russian) 2018-11-26 20:40:08 +01:00
PhilippC
0be8092382 New translations strings.xml (Russian) 2018-11-26 20:30:09 +01:00
PhilippC
eb2019e568 New translations strings.xml (Russian) 2018-11-26 20:20:12 +01:00
PhilippC
bffbb17271 New translations strings.xml (Spanish) 2018-11-26 09:30:11 +01:00
PhilippC
16b997096d New translations strings.xml (Spanish) 2018-11-26 09:20:10 +01:00
PhilippC
3b23f2a4ed New translations strings.xml (Hungarian) 2018-11-25 03:40:09 +01:00
PhilippC
87f86fd2e8 New translations strings.xml (Slovak) 2018-11-23 20:10:07 +01:00
PhilippC
396509579a New translations strings.xml (Slovak) 2018-11-23 20:00:09 +01:00
PhilippC
91175f19c4 New translations strings.xml (Catalan) 2018-11-23 17:50:09 +01:00
PhilippC
7c22ca0f91 New translations strings.xml (Catalan) 2018-11-23 17:40:18 +01:00
PhilippC
5eb416d8d9 New translations strings.xml (Turkish) 2018-11-22 20:32:03 +01:00
PhilippC
12e374bd2f New translations strings.xml (Turkish) 2018-11-22 20:20:15 +01:00
PhilippC
9b50f0e77c New translations strings.xml (German) 2018-11-21 23:00:10 +01:00
PhilippC
6aa89287b1 New translations strings.xml (German) 2018-11-21 22:50:14 +01:00
PhilippC
4b9ebdc87c New translations strings.xml (French) 2018-11-21 22:20:11 +01:00
PhilippC
336b45667e New translations strings.xml (Russian) 2018-11-21 12:50:09 +01:00
PhilippC
3c33a1126b New translations strings.xml (Russian) 2018-11-21 12:40:10 +01:00
Philipp Crocoll
836cdfb16c move CurrentlyWaitingKey to App instead of activity to survive activity recreation. Avoid activity recreation when plugging in Yubikey. Fixes #609. 2018-11-21 03:01:43 +01:00
Philipp Crocoll
8512bae997 make sure we always save database as KDBX4 when using ChallengeXCKey (for compatibility with KeepassXC), closes #596 2018-11-20 06:08:30 +01:00
PhilippC
6fbe8c5dee New translations strings.xml (German) 2018-11-20 05:00:11 +01:00
Philipp Crocoll
2132ea416b notify about unconfigured child databases. finishes implementation of child databases, thus closes #174 2018-11-20 04:54:45 +01:00
PhilippC
24081b9223 New translations strings.xml (Chinese Simplified) 2018-11-19 20:11:57 +01:00
PhilippC
220cc98559 New translations strings.xml (Portuguese, Brazilian) 2018-11-19 20:10:49 +01:00
Philipp Crocoll
ef8b9b0685 allow to open AutoOpenEntries manually if they are not "Enabled" (but "Visible"). Don't suggest to configure fingerprint unlock for child databases. 2018-11-19 20:03:53 +01:00
PhilippC
e8dd47369c New translations strings.xml (Portuguese) 2018-11-19 19:20:09 +01:00
PhilippC
537eaddecd New translations strings.xml (Portuguese) 2018-11-19 19:10:09 +01:00
Philipp Crocoll
183c171da6 first version of KeeAutoExec functionality in Keepass2Android 2018-11-19 19:06:12 +01:00
Philipp Crocoll
58c6114840 fix potentially incorrect display of storage type in EntryEditActivity 2018-11-18 13:33:19 +01:00
Philipp Crocoll
df5162ce56 implemented first version of AutoOpen entry editing 2018-11-18 03:56:49 +01:00
PhilippC
ae61fe892d New translations strings.xml (Persian) 2018-11-15 20:50:08 +01:00
PhilippC
a78de3b4b9 New translations strings.xml (Persian) 2018-11-15 20:40:10 +01:00
PhilippC
f26a864e83 New translations strings.xml (Persian) 2018-11-15 20:30:14 +01:00
PhilippC
0e0b03e6f2 New translations strings.xml (Persian) 2018-11-15 20:20:11 +01:00
Philipp Crocoll
e5595f13eb intermediate commit, starting to implement edit GUI for AutoOpen entries (does not compile) 2018-11-15 19:14:10 +01:00
PhilippC
1b12c16685 New translations strings.xml (Turkish) 2018-11-14 08:30:11 +01:00
PhilippC
048055daac New translations strings.xml (Turkish) 2018-11-14 08:10:11 +01:00
Philipp Crocoll
f2590f1fed Merge branch 'master' of https://github.com/PhilippC/keepass2android 2018-11-13 22:00:06 +01:00
Philipp Crocoll
2eb7b22100 start implementing the GUI for editing AutoOpen entries 2018-11-13 21:57:43 +01:00
PhilippC
f169750d1a New translations strings.xml (French) 2018-11-13 20:50:12 +01:00
PhilippC
fbb361fa7a New translations strings.xml (Swedish) 2018-11-13 18:10:13 +01:00
PhilippC
902faca13c New translations strings.xml (Italian) 2018-11-13 17:20:16 +01:00
PhilippC
7e476a5785 New translations strings.xml (Italian) 2018-11-13 17:10:18 +01:00
PhilippC
c78c5aad02 New translations strings.xml (Italian) 2018-11-13 17:00:22 +01:00
PhilippC
42c49645da New translations strings.xml (Catalan) 2018-11-13 17:00:18 +01:00
Philipp Crocoll
9427fb9ecc merge KeeAutoExec extension from https://sourceforge.net/p/keepass/discussion/329220/thread/509d35a111/#f70b 2018-11-12 09:47:38 +01:00
PhilippC
61878f293f New translations strings.xml (Chinese Traditional) 2018-11-12 09:12:42 +01:00
PhilippC
2bd1727076 New translations strings.xml (Croatian) 2018-11-12 09:12:37 +01:00
PhilippC
f0fbf7bf8b New translations strings.xml (Czech) 2018-11-12 09:12:31 +01:00
PhilippC
4a1fccc395 New translations strings.xml (Danish) 2018-11-12 09:12:27 +01:00
PhilippC
54c0497933 New translations strings.xml (Dutch) 2018-11-12 09:12:23 +01:00
PhilippC
49a99e9f15 New translations strings.xml (Finnish) 2018-11-12 09:12:16 +01:00
PhilippC
134fd5b2c2 New translations strings.xml (French) 2018-11-12 09:12:12 +01:00
PhilippC
696f9b3550 New translations strings.xml (Galician) 2018-11-12 09:12:06 +01:00
PhilippC
aeda42cb71 New translations strings.xml (German) 2018-11-12 09:11:59 +01:00
PhilippC
7ba8400c38 New translations strings.xml (Greek) 2018-11-12 09:11:55 +01:00
PhilippC
02f10f07e8 New translations strings.xml (Bulgarian) 2018-11-12 09:11:46 +01:00
PhilippC
83cc32afaa New translations strings.xml (Hungarian) 2018-11-12 09:11:41 +01:00
PhilippC
5b8382643a New translations strings.xml (Italian) 2018-11-12 09:11:35 +01:00
PhilippC
003cb8719a New translations strings.xml (Japanese) 2018-11-12 09:11:28 +01:00
PhilippC
c625ebc128 New translations strings.xml (Korean) 2018-11-12 09:11:23 +01:00
PhilippC
89c0b02327 New translations strings.xml (Norwegian Bokmal) 2018-11-12 09:11:17 +01:00
PhilippC
94bb17a301 New translations strings.xml (Romanian) 2018-11-12 09:11:11 +01:00
PhilippC
4f29b921e5 New translations strings.xml (Serbian (Cyrillic)) 2018-11-12 09:11:06 +01:00
PhilippC
8d5dbb0f3d New translations strings.xml (Slovak) 2018-11-12 09:11:02 +01:00
PhilippC
db321e45da New translations strings.xml (Slovenian) 2018-11-12 09:10:57 +01:00
PhilippC
8e254a341c New translations strings.xml (Spanish) 2018-11-12 09:10:53 +01:00
PhilippC
847a52ab08 New translations strings.xml (Swedish) 2018-11-12 09:10:47 +01:00
PhilippC
94e69e4e84 New translations strings.xml (Turkish) 2018-11-12 09:10:41 +01:00
PhilippC
8834526cac New translations strings.xml (Ukrainian) 2018-11-12 09:10:36 +01:00
PhilippC
788365687e New translations strings.xml (Vietnamese) 2018-11-12 09:10:31 +01:00
PhilippC
4c3d328140 New translations strings.xml (Indonesian) 2018-11-12 09:10:25 +01:00
PhilippC
2588f74f7c New translations strings.xml (Basque) 2018-11-12 09:10:20 +01:00
PhilippC
b70a4ef428 Merge pull request #612 from adorokhine/gradle-build
Add Gradle build config to PluginQR and update to match source conventions.
2018-11-12 09:08:02 +01:00
PhilippC
026a903251 New translations strings.xml (Portuguese) 2018-11-11 07:40:47 +01:00
PhilippC
3557113ed8 New translations strings.xml (Polish) 2018-11-11 07:40:42 +01:00
PhilippC
acd8c27a13 New translations strings.xml (Persian) 2018-11-11 07:40:38 +01:00
PhilippC
3c186eb113 New translations strings.xml (Norwegian Nynorsk) 2018-11-11 07:40:34 +01:00
PhilippC
841eb34224 New translations strings.xml (Russian) 2018-11-11 07:40:29 +01:00
PhilippC
ef583ba7ec New translations strings.xml (Arabic) 2018-11-11 07:40:23 +01:00
Alexander Dorokhine
fa0e06df75 Add Gradle build config to PluginQR and update it to match new source conventions.
Version code is bumped because there was a minor code change to avoid a
fatal lint error complaining about a memory leak.

Fixes #489.
2018-11-10 22:34:05 -08:00
Philipp Crocoll
c26ee7271b Merge branch 'master' of https://github.com/PhilippC/keepass2android 2018-11-11 06:36:40 +01:00
Philipp Crocoll
f37c0a9124 allow opening several databases which contain elements with same IDs (required as KeepassHttp stores their settings in an entry with a fixed ID) 2018-11-11 06:35:06 +01:00
Philipp Crocoll
80fbd656a7 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2018-11-08 05:44:21 +01:00
Philipp Crocoll
3fb5749c86 avoid leakage of IOC username/password to logcat/debuglog for some protocols 2018-11-08 05:44:04 +01:00
PhilippC
1692130559 Merge pull request #608 from jakseb/patch-1
Fix formatting in docs/Keepass2Android-Apk.md
2018-11-08 04:41:00 +01:00
Sebastian Jakubiak
cf77a9eae2 Fix formatting in docs/Keepass2Android-Apk.md 2018-11-06 20:28:42 +01:00
PhilippC
26151af48a New translations strings.xml (Swedish) 2018-11-05 18:00:14 +01:00
PhilippC
c3b858f0fd New translations strings.xml (Swedish) 2018-11-05 17:50:08 +01:00
PhilippC
914e788ad8 New translations strings.xml (Swedish) 2018-11-05 17:40:09 +01:00
PhilippC
074178621c Merge pull request #604 from gilbsgilbs/fix-pcloud-filenames
Fix PCloud not overwriting uploaded files.
2018-11-03 19:21:16 +01:00
Gilbert Gilb's
25d1b6b695 Fix PCloud not overwriting uploaded files.
When uploading an existing file into PCloud, it appends a version number
by default (e.g. "MyDb (2).kdbx", "MyDb (3).kdbx" and so on). This
behavior is not desirable in K2PA case. The workaroundfor this is to upload
the file with a temporary name and then rename it to its final name.
This may also avoid corruption with failed uploads depending on how
PCloud handles uploads.

See https://github.com/PhilippC/keepass2android/issues/512#issuecomment-435475365
2018-11-02 23:30:59 +01:00
PhilippC
f121c73c4b New translations strings.xml (Azerbaijani) 2018-10-30 20:20:09 +01:00
PhilippC
3f79e7677c New translations strings.xml (Italian) 2018-10-29 12:50:10 +01:00
PhilippC
ca573f27be New translations strings.xml (Italian) 2018-10-29 11:30:08 +01:00
PhilippC
056a3342bf New translations strings.xml (Italian) 2018-10-29 11:20:10 +01:00
PhilippC
eaa661cf09 New translations strings.xml (Italian) 2018-10-29 11:10:11 +01:00
Philipp Crocoll
b2d791d6ea acknowledge gilbsgilbs for pcloud implementation 2018-10-29 08:39:05 +01:00
Philipp Crocoll
f1ea1935c5 Changelog and manifest for 1.07-pre1 2018-10-28 15:35:40 +01:00
Philipp Crocoll
d9c101debe remove NfcOtpActivity: not working with current multi-db approach, but also not working since Android has App links 2018-10-28 07:17:45 +01:00
PhilippC
e3a720a69d New translations strings.xml (Dutch) 2018-10-26 22:20:10 +02:00
Philipp Crocoll
4f3f18a0ad bug fixes and improvements after adding multi-database support 2018-10-25 06:03:08 +02:00
PhilippC
10a3a8324b New translations strings.xml (Russian) 2018-10-22 16:30:09 +02:00
Philipp Crocoll
a2dab72b25 first version to have multiple databases open at the same time. needs testing and bug fixing. 2018-10-16 06:33:00 +02:00
PhilippC
ca0a381d8c New translations strings.xml (Turkish) 2018-10-11 15:40:08 +02:00
PhilippC
a503e85a57 New translations strings.xml (Turkish) 2018-10-11 15:30:09 +02:00
PhilippC
0d668561b4 New translations strings.xml (Turkish) 2018-10-11 15:20:11 +02:00
PhilippC
c8d39a2c15 New translations strings.xml (Polish) 2018-10-10 17:40:08 +02:00
PhilippC
6146ac90c1 New translations strings.xml (Polish) 2018-10-10 17:30:13 +02:00
PhilippC
2bb00c948d New translations strings.xml (Polish) 2018-10-10 15:00:08 +02:00
PhilippC
01eadd986c New translations strings.xml (Spanish) 2018-10-07 19:30:09 +02:00
PhilippC
b482ea4ecc New translations strings.xml (Chinese Simplified) 2018-10-07 03:40:09 +02:00
PhilippC
19bb98c857 New translations strings.xml (Chinese Simplified) 2018-10-07 03:30:10 +02:00
PhilippC
225afb85e4 New translations strings.xml (Chinese Simplified) 2018-10-07 03:20:08 +02:00
PhilippC
2873ffdff7 New translations strings.xml (Spanish) 2018-10-05 19:30:09 +02:00
PhilippC
52ba506138 Merge pull request #579 from Zeustopher/patch-1
Added Logo to README.md
2018-10-05 05:56:43 +02:00
PhilippC
798f70a706 New translations strings.xml (Spanish) 2018-10-05 05:50:08 +02:00
Christopher Nash
d731d55a7a Added Logo to README.md
Added the Keepass2Android Logo to README.md to give it a little more "flare" when viewing it on Github.
2018-10-04 14:28:19 -06:00
PhilippC
1bfcea0227 New translations strings.xml (Spanish) 2018-10-04 18:20:10 +02:00
PhilippC
71a307bfef New translations strings.xml (German) 2018-10-01 15:30:06 +02:00
PhilippC
7a16a8eaff New translations strings.xml (German) 2018-10-01 15:20:07 +02:00
PhilippC
c1c2ccd940 New translations strings.xml (Russian) 2018-10-01 12:50:06 +02:00
Philipp Crocoll
8a993b7dcb rename StackDbActivity 2018-10-01 11:25:52 +02:00
Philipp Crocoll
977393a9aa refactoring, remove Loaded property from database. instead, make GetDb() return null if database is not loaded. 2018-10-01 11:12:37 +02:00
Philipp Crocoll
4f36de9900 refactoring: introduce StackBaseActivity which replaces PasswordActivity in its role as stack base and orchestrating activity. This is in preparation to allow multiple open databases. 2018-10-01 10:21:28 +02:00
PhilippC
ef658eb4cd New translations strings.xml (Ukrainian) 2018-09-29 14:40:05 +02:00
PhilippC
6f77577482 New translations strings.xml (Ukrainian) 2018-09-29 14:30:05 +02:00
Philipp Crocoll
bfdb1a8f62 disable notification badges ("1" icons) 2018-09-26 05:51:12 +02:00
PhilippC
0935d70ae4 New translations strings.xml (Slovak) 2018-09-23 12:40:06 +02:00
PhilippC
24e4e2b960 New translations strings.xml (Slovak) 2018-09-23 12:30:05 +02:00
PhilippC
e608d7463e New translations strings.xml (Catalan) 2018-09-23 12:20:05 +02:00
PhilippC
47453f1471 New translations strings.xml (Catalan) 2018-09-23 12:10:06 +02:00
PhilippC
362780f59a New translations strings.xml (French) 2018-09-21 14:00:06 +02:00
PhilippC
a2a511b3c0 New translations strings.xml (Vietnamese) 2018-09-21 13:50:38 +02:00
PhilippC
78cde8ab62 New translations strings.xml (Indonesian) 2018-09-21 13:50:35 +02:00
PhilippC
46b779c9d5 New translations strings.xml (Hungarian) 2018-09-21 13:50:32 +02:00
PhilippC
23129bf95a New translations strings.xml (Hebrew) 2018-09-21 13:50:29 +02:00
PhilippC
fba137bb3f New translations strings.xml (Greek) 2018-09-21 13:50:27 +02:00
PhilippC
e50a73b4bf New translations strings.xml (German) 2018-09-21 13:50:24 +02:00
PhilippC
31afe11d0e New translations strings.xml (Galician) 2018-09-21 13:50:21 +02:00
PhilippC
5dc1d047ac New translations strings.xml (French) 2018-09-21 13:50:18 +02:00
PhilippC
19e0cf406c New translations strings.xml (Finnish) 2018-09-21 13:50:15 +02:00
PhilippC
0bc1eece0a New translations strings.xml (Dutch) 2018-09-21 13:50:12 +02:00
PhilippC
f2e93e915b New translations strings.xml (Czech) 2018-09-21 13:50:09 +02:00
PhilippC
8db6a99194 New translations strings.xml (Croatian) 2018-09-21 13:50:06 +02:00
Philipp Crocoll
1490ebce03 minor refactoring 2018-09-21 06:26:04 +02:00
Philipp Crocoll
cd189e01dc use internal directory for offline caching. this reduces the likelihood of data loss. Users need to disable and then re-enable file caching to make sure all files are cached in the new directory. closes #83 https://github.com/PhilippC/keepass2android/issues/83 2018-09-18 06:18:17 +02:00
PhilippC
15467248ee New translations strings.xml (Chinese Simplified) 2018-09-18 04:31:09 +02:00
PhilippC
23008ab5b8 New translations strings.xml (Catalan) 2018-09-18 04:31:07 +02:00
PhilippC
041fbb10a1 New translations strings.xml (Bulgarian) 2018-09-18 04:31:04 +02:00
PhilippC
9ba0e59df5 New translations strings.xml (Danish) 2018-09-18 04:31:01 +02:00
PhilippC
0bb9f57919 New translations strings.xml (Basque) 2018-09-18 04:30:59 +02:00
PhilippC
106da869c1 New translations strings.xml (Italian) 2018-09-18 04:30:56 +02:00
PhilippC
d34a3352f2 New translations strings.xml (Korean) 2018-09-18 04:30:54 +02:00
PhilippC
4b5c922f11 New translations strings.xml (Ukrainian) 2018-09-18 04:30:52 +02:00
PhilippC
aacb415364 New translations strings.xml (Turkish) 2018-09-18 04:30:49 +02:00
PhilippC
bdc8bcfe5c New translations strings.xml (Swedish) 2018-09-18 04:30:46 +02:00
PhilippC
154238edf0 New translations strings.xml (Spanish) 2018-09-18 04:30:43 +02:00
PhilippC
eba789c200 New translations strings.xml (Slovenian) 2018-09-18 04:30:41 +02:00
PhilippC
63cb67a03c New translations strings.xml (Slovak) 2018-09-18 04:30:38 +02:00
PhilippC
1c299c6d5d New translations strings.xml (Serbian (Cyrillic)) 2018-09-18 04:30:36 +02:00
PhilippC
486c5310d7 New translations strings.xml (Japanese) 2018-09-18 04:30:34 +02:00
PhilippC
5ef4a97d5f New translations strings.xml (Russian) 2018-09-18 04:30:31 +02:00
PhilippC
03adb8f730 New translations strings.xml (Portuguese, Brazilian) 2018-09-18 04:30:29 +02:00
PhilippC
abdcd0b3f0 Merge pull request #555 from tobiasKaminsky/ncNaming
NextCloud -> Nextcloud
2018-09-18 04:29:26 +02:00
Philipp Crocoll
6e225808a9 add support for Binary Resource dictionaries of AnySoftKeyboard, fixes #245 2018-09-18 04:27:07 +02:00
tobiasKaminsky
382c96f587 NextCloud -> Nextcloud 2018-09-17 16:08:24 +02:00
PhilippC
80cb0119c7 New translations strings.xml (Portuguese) 2018-09-17 13:00:39 +02:00
PhilippC
e7bc5072c0 New translations strings.xml (Polish) 2018-09-17 13:00:36 +02:00
PhilippC
a65057679c New translations strings.xml (Persian) 2018-09-17 13:00:32 +02:00
PhilippC
025186d22f New translations strings.xml (Norwegian Bokmal) 2018-09-17 13:00:27 +02:00
PhilippC
e17217206f New translations strings.xml (Romanian) 2018-09-17 13:00:24 +02:00
PhilippC
c64ca44457 New translations strings.xml (Arabic) 2018-09-17 13:00:21 +02:00
PhilippC
c6e9a16274 Merge pull request #553 from PhilippC/1.07
1.07
2018-09-17 12:56:40 +02:00
PhilippC
f945380a87 New translations strings.xml (Chinese Traditional) 2018-09-17 11:11:12 +02:00
PhilippC
bb9664eafc New translations strings.xml (Japanese) 2018-09-17 11:10:38 +02:00
PhilippC
eaca802ecc New translations strings.xml (Portuguese, Brazilian) 2018-09-17 11:10:33 +02:00
PhilippC
2e6ca574b6 Merge pull request #552 from PhilippC/1.07
1.07
2018-09-17 11:03:58 +02:00
PhilippC
d4c61ce932 New translations strings.xml (Catalan) 2018-09-16 16:10:05 +02:00
PhilippC
7387ebe182 New translations strings.xml (Catalan) 2018-09-16 16:00:06 +02:00
PhilippC
d6f305cfa6 New translations strings.xml (Dutch) 2018-09-16 10:40:05 +02:00
PhilippC
73b9fbb435 New translations strings.xml (Dutch) 2018-09-16 10:30:05 +02:00
PhilippC
51c2f313d4 New translations strings.xml (Dutch) 2018-09-16 10:20:05 +02:00
PhilippC
0a390107a3 New translations strings.xml (Polish) 2018-09-12 22:40:06 +02:00
PhilippC
077bf997c6 New translations strings.xml (Vietnamese) 2018-09-12 17:10:23 +02:00
PhilippC
48cb473ecb New translations strings.xml (Japanese) 2018-09-12 17:10:19 +02:00
PhilippC
40dc542302 New translations strings.xml (Chinese Simplified) 2018-09-12 17:10:13 +02:00
PhilippC
28bb4894b2 New translations strings.xml (Catalan) 2018-09-12 17:10:08 +02:00
PhilippC
774d17dd25 New translations strings.xml (Chinese Traditional) 2018-09-12 17:01:33 +02:00
PhilippC
790637f1bd New translations strings.xml (Croatian) 2018-09-12 17:01:31 +02:00
PhilippC
99fb5d3b8e New translations strings.xml (Czech) 2018-09-12 17:01:28 +02:00
PhilippC
6676e62579 New translations strings.xml (Danish) 2018-09-12 17:01:25 +02:00
PhilippC
d735992f5c New translations strings.xml (Dutch) 2018-09-12 17:01:22 +02:00
PhilippC
8a32cfc185 New translations strings.xml (Finnish) 2018-09-12 17:01:19 +02:00
PhilippC
285fafc300 New translations strings.xml (French) 2018-09-12 17:01:16 +02:00
PhilippC
0c90433a34 New translations strings.xml (Galician) 2018-09-12 17:01:12 +02:00
PhilippC
d6070368b7 New translations strings.xml (German) 2018-09-12 17:01:09 +02:00
PhilippC
b42389500f New translations strings.xml (Greek) 2018-09-12 17:01:06 +02:00
PhilippC
daca972fc2 New translations strings.xml (Bulgarian) 2018-09-12 17:01:03 +02:00
PhilippC
8447e59d1f New translations strings.xml (Hebrew) 2018-09-12 17:01:00 +02:00
PhilippC
07ff8cd662 New translations strings.xml (Indonesian) 2018-09-12 17:00:57 +02:00
PhilippC
dbc734eee5 New translations strings.xml (Italian) 2018-09-12 17:00:54 +02:00
PhilippC
eaa95fdba4 New translations strings.xml (Japanese) 2018-09-12 17:00:49 +02:00
PhilippC
3ba1169e9c New translations strings.xml (Korean) 2018-09-12 17:00:46 +02:00
PhilippC
0117b53ea2 New translations strings.xml (Russian) 2018-09-12 17:00:43 +02:00
PhilippC
a2ec04b641 New translations strings.xml (Serbian (Cyrillic)) 2018-09-12 17:00:39 +02:00
PhilippC
8fdcef9c42 New translations strings.xml (Slovak) 2018-09-12 17:00:36 +02:00
PhilippC
d311de764d New translations strings.xml (Slovenian) 2018-09-12 17:00:33 +02:00
PhilippC
e9b16b2f70 New translations strings.xml (Spanish) 2018-09-12 17:00:29 +02:00
PhilippC
21a81b977b New translations strings.xml (Swedish) 2018-09-12 17:00:27 +02:00
PhilippC
9ce1c2b075 New translations strings.xml (Turkish) 2018-09-12 17:00:23 +02:00
PhilippC
b974cbd14c New translations strings.xml (Ukrainian) 2018-09-12 17:00:19 +02:00
PhilippC
1d96282fd9 New translations strings.xml (Hungarian) 2018-09-12 17:00:14 +02:00
PhilippC
48efda6bd9 New translations strings.xml (Basque) 2018-09-12 17:00:09 +02:00
PhilippC
aba3e0033f New translations strings.xml (Portuguese) 2018-09-12 05:00:37 +02:00
PhilippC
5bf61a63cc New translations strings.xml (Polish) 2018-09-12 05:00:35 +02:00
PhilippC
48095c0433 New translations strings.xml (Persian) 2018-09-12 05:00:31 +02:00
PhilippC
3e1599119a New translations strings.xml (Norwegian Nynorsk) 2018-09-12 05:00:29 +02:00
PhilippC
f488e8a7ab New translations strings.xml (Norwegian Bokmal) 2018-09-12 05:00:27 +02:00
PhilippC
b5c17bf7bc New translations strings.xml (Romanian) 2018-09-12 05:00:25 +02:00
PhilippC
77e994e9fd New translations strings.xml (Arabic) 2018-09-12 05:00:22 +02:00
PhilippC
bbd3fc4d1d Merge pull request #543 from PhilippC/1.07
first 1.07 features
2018-09-12 04:53:01 +02:00
PhilippC
2a57b94e08 New translations strings.xml (German) 2018-09-09 21:20:06 +02:00
PhilippC
366a37b765 New translations strings.xml (Polish) 2018-09-09 16:40:05 +02:00
PhilippC
a3806f7a81 New translations strings.xml (Greek) 2018-09-06 22:00:07 +02:00
PhilippC
cf28e373f7 Merge pull request #535 from gilbsgilbs/pcloud-integration
Implement requiresSetup for PCloud.
2018-09-06 03:45:20 +02:00
Gilbert Gilb's
8d80295e07 Implement requiresSetup for PCloud.
Also consider error 2095 as a logout, so that the user can re-login.
2018-09-04 20:59:00 +02:00
PhilippC
1f7ffe6ea0 New translations strings.xml (Catalan) 2018-09-03 15:00:07 +02:00
PhilippC
a740753175 New translations strings.xml (Czech) 2018-09-02 10:30:06 +02:00
PhilippC
c70f996915 New translations strings.xml (Ukrainian) 2018-08-30 15:40:06 +02:00
PhilippC
707dfc2a0b New translations strings.xml (Chinese Traditional) 2018-08-30 01:20:53 +02:00
PhilippC
77db3362fc New translations strings.xml (French) 2018-08-30 01:20:41 +02:00
PhilippC
c8e0687288 New translations strings.xml (Russian) 2018-08-30 01:20:24 +02:00
PhilippC
f61a6191ec New translations strings.xml (Slovak) 2018-08-30 01:20:20 +02:00
PhilippC
2648236bb4 New translations strings.xml (Spanish) 2018-08-30 01:20:16 +02:00
PhilippC
382e23f545 New translations strings.xml (Turkish) 2018-08-30 01:20:12 +02:00
PhilippC
2eddbe3669 New translations strings.xml (Ukrainian) 2018-08-30 01:20:09 +02:00
PhilippC
5e41517178 New translations strings.xml (Portuguese) 2018-08-28 21:00:25 +02:00
PhilippC
177c709e0a New translations strings.xml (Chinese Simplified) 2018-08-24 08:00:06 +02:00
PhilippC
699eb824a1 New translations strings.xml (Chinese Simplified) 2018-08-24 07:50:05 +02:00
PhilippC
6b19e305f3 New translations strings.xml (Chinese Simplified) 2018-08-21 20:40:44 +02:00
PhilippC
8b1b4044b3 New translations strings.xml (Portuguese) 2018-08-21 20:40:18 +02:00
1028 changed files with 59077 additions and 20489 deletions

11
.gitignore vendored
View File

@@ -160,3 +160,14 @@ src/java/Keepass2AndroidPluginSDK2/build/generated/mockable-Google-Inc.-Google-A
/src/.vs
/src/JavaFileStorageBindings/Jars/JavaFileStorage-release.aar
/src/PluginSdkBinding/Jars/app-debug.aar
/src/java/KP2AKdbLibrary/libs/arm64-v8a/libfinal-key.so
/src/java/KP2AKdbLibrary/libs/x86_64/libfinal-key.so
/src/java/KP2ASoftkeyboard_AS/app/src/main/libs/arm64-v8a/libkp2akeyboard_jni.so
/src/java/KP2ASoftkeyboard_AS/app/src/main/libs/armeabi-v7a/libkp2akeyboard_jni.so
/src/java/KP2ASoftkeyboard_AS/app/src/main/libs/x86/libkp2akeyboard_jni.so
/src/java/KP2ASoftkeyboard_AS/app/src/main/libs/x86_64/libkp2akeyboard_jni.so
/src/java/KP2AKdbLibrary/app/build
/src/java/KP2ASoftkeyboard_AS/app/.cxx
/src/java/KP2ASoftkeyboard_AS/app/src/main/libs
/src/java/KP2AKdbLibrary/app/.cxx
/src/ActionViewFilterTest

6
.gitmodules vendored
View File

@@ -1,6 +1,6 @@
[submodule "src/SamsungPass"]
path = src/SamsungPass
url = https://github.com/PhilippC/Xamarin-Samsung-Pass.git
[submodule "src/netftpandroid"]
path = src/netftpandroid
url = https://github.com/PhilippC/netftpandroid.git
[submodule "src/java/argon2/phc-winner-argon2"]
path = src/java/argon2/phc-winner-argon2
url = https://github.com/P-H-C/phc-winner-argon2

View File

@@ -4,3 +4,31 @@ files:
/src/keepass2android/Resources/values-%two_letters_code%/%original_file_name%
translate_attributes: '0'
content_segmentation: '0'
languages_mapping:
two_letters_code:
zh-CN: zh
zh-TW: zh-rTW
pt-PT: pt
pt-BR: pt-rBR
- source: src/java/android-filechooser-AS/app/src/main/res/values/strings.xml
translation: >-
/src/java/android-filechooser-AS/app/src/main/res/values-%two_letters_code%/%original_file_name%
translate_attributes: '0'
content_segmentation: '0'
languages_mapping:
two_letters_code:
zh-CN: zh
zh-TW: zh-rTW
pt-PT: pt
pt-BR: pt-rBR
- source: src/java/KP2ASoftkeyboard_AS/app/src/main/res/values/strings.xml
translation: >-
/src/java/KP2ASoftkeyboard_AS/app/src/main/res/values-%two_letters_code%/%original_file_name%
translate_attributes: '0'
content_segmentation: '0'
languages_mapping:
two_letters_code:
zh-CN: zh
zh-TW: zh-rTW
pt-PT: pt
pt-BR: pt-rBR

View File

@@ -28,14 +28,14 @@ Select "Create new database" from the start screen. Tap the integrated help icon
## Getting passwords into password fields
There are many ways how to enter the passwords from your database in the corresponding fields. By default, the clipboard as well as the KP2A keyboard are activated in the settings:
* The KP2A keyboard is the recommended way because it's safe against clipboard loggers: Whenever you select an entry, the KP2A keyboard notification will appear in the notification bar. Click it to activate the keyboard. (The first time you do this, you are required to enable the keyboard in the system settings. This must be done by the user for Android security reasons.) As soon as it's activated, you can tap a field where you want to enter data from the selected entry. The KP2A keyboard will come up. Click the KP2A key (on the bottom left) to select whether you want to enter Username/password etc. When you're done, click the Keyboard key (next to the KP2A key) to switch back to your favorite keyboard.
* You can enable the Keepass2Android Autofill service in the system's accessibility settings which allows to fill data using Android's accessibility system. This works with many apps including Chrome browser but is not supported for Firefox on Android.
* The clipboard based approach can be used as well: Pull the notification bar down and select "Copy username/password to clipboard". Then long-tap the field where you want to paste the data. A small "paste" button should come up. Note, however, that information in the clipboard can be monitored by all apps on your device.
* You can enable the Keepass2Android Autofill service in the system's Autofill settings (Android 8+) which allows to fill data using Android's accessibility system. This works with many apps including Firefox browser but is not supported for Chrome (when writing this).
* The clipboard based approach can be used as well: Pull the notification bar down and select "Copy username/password to clipboard". Then long-tap the field where you want to paste the data. A small "paste" button should come up. Note, however, that information in the clipboard can be monitored by all apps on your device and clearing the clipboard is not always possible.
These options can be used in different workflows:
### Browser-based workflow
If you are browsing the web and need to enter crendentials for a webpage, a simple and powerful workflow is to use the "Share URL" option from the browser's menu. Then select Keepass2Android (or KP2A Offline). Open your database (if it's not already opened) and select the entry you want to enter (if KP2A did not already select the appropriate entry). Use the built-in keyboard or the clipboard to enter the password.
### Autofill service based workflow
If you have enabled the autofill service and open a (supported) app with a password field, a notification appears in the notification bar. Select this notification to select the appropriate entry. When you return to the app, the password and user field should be filled already.
If you have enabled the autofill service and open a (supported) app with a password field, a dropdown appears. Select "Fill with Keepass2Android" to select the appropriate entry. When you return to the app, the password and user field should be filled already.
### KP2A based workflow for websites
Open KP2A, open your database, select your entry (in this step, the notification bar items should show up already). Now click the URL link of the entry to open a browser window with the website. Use one of the methods described above to enter the credentials.
### KP2A Keyboard based workflow
@@ -70,16 +70,51 @@ Please see the [Advanced usage of the Keepass2Android keyboard](Advanced-usage-o
# FAQ
* Should I use the KP2A keyboard for entering passwords?
## Should I use the KP2A keyboard for entering passwords?
The KP2A keyboard is meant to quickly "paste" or "type" values from your database to any text fields by using the KP2A icon. The QUERTY keyboard is just for convenience (if you just have the KP2A keyboard activated and need to enter a few letters). However, every other (trustworthy) keyboard is ok as well to enter sensitive information: Keyboard's aren't unsafe in Android. Only the clipboard is. Thus, the KP2A keyboard allows to get information out of the database without using the clipboard.
**You can use any keyboard when you enter the main database password**
* Is it safe to store my kdbx file in the cloud?
While it may happen that someone gets access to your kdbx file in the cloud, there is still no need to worry: the purpose of encryption is to protect the data even in case someone gets the kdbx file! As long as you are using a safe master key, you're safe!
## Is it safe to store my kdbx file in the cloud?
While it may happen that someone gets access to your kdbx file in the cloud, there is still no need to worry: the purpose of encryption is to protect the data even in case someone gets the kdbx file! As long as you are using a safe master key, you're safe! [Key files](https://keepass.info/help/base/keys.html#keyfiles) can help with securing the database even more.
* Why is Keepass2Android so big?
## Doesn't Keepass2Android create automatic backups?
Yes and no. Yes: Keepass2Android stores the last successfully opened file as a read-only backup locally on the phone (unless you disable this is in the settings). This should make sure that even if the file gets destroyed during a save operation or gets deleted by accident, you should always have a version that can be opened. (Don't mix this up with the internal file cache which is not meant as a backup and can easily be overwritten even with a corrupt file. This internal file cache is meant for providing writable access even when the original file is not reachable, e.g. when you're offline.)
No: The local backup has two shortcomings: It is only one backup and does not allow to revert to older versions. So if you deleted an entry from the database, it might be deleted in the local backup soon as well. The even more important shortcoming is that it is just a local backup. It won't help when your phone gets lost or broken. Please create additional backups on seperate storage!
## How do I backup the database?
If you have stored your database on the cloud, you might rely on your cloud storage providers backups. Make sure they allow you to revert to older revisions in case the file gets corrupted for some reason.
If you are working with a local database file, make sure you create regular backups. I suggest you have an aumotated mechanism, e.g. with FolderSync (Lite) which can copy local files from your device to other locations, e.g. your PC in a local network. You can also use USB or tools like MyPhoneExploror to transfer data to your PC. Or, you use a removable storage like an SD card which you keep in a safe place after making the backup.
In all cases, you need to verify that your backup is readable! It's even best to test this on another device (e.g. a PC), so you simulate the case that you may lose your phone.
## I can open my database with fingerprint, but don't remember my master password!
It's time for action! As soon as possible, select Settings - Database - Export and choose unencrypted XML (don't put this on the cloud but on a local file). Transfer this file to a PC and import it to a new kdbx file, e.g. with Keepass2. Choose a new master password and make sure you don't forget this password!
## How can I transfer data from one device to another?
* If you are about to get a new Android device, you should make sure you're not losing your passwords in the transition! The first thing you need to make sure is that you can access your .kdbx file (which stores the passwords) on the new device. If it is already stored in the cloud, you only need to make sure you know how to setup the cloud storage on the new device (it might require a password, so make sure you have access to that!).
* If the .kdbx-file is stored locally on the old device, make sure you have an up-to-date backup (see above). You can then transfer that backup copy to the new device. (Note: transferring via USB causes data corruption in some cases, use MyPhoneExplorer or similar tools to be sure this does not happen.)
* If you are securing your password database with a keyfile, also transfer this key file to the new device.
* If you are opening your database with a fingerprint, make sure you also know the master password because fingerprint will not be available immediately on the new device.
## Why is Keepass2Android's apk so big?
Please see [Keepass2Android Apk](Keepass2Android-Apk.md) for more information.
## I get a message "File is trashed" when reading or writing a file on Google Drive
This happens because ocaml-fuse (I guess you are on Linux  and use that) moves files to trash and then creates a new one instead of correctly updating the file on Google Drive (each file has a unique ID which Keepass2Android uses). Fortunately, this was fixed: https://github.com/astrada/google-drive-ocamlfuse/issues/494After activating this option, please select "Change database" in KP2A, tap ,"Open file" and browse to the file on Google Drive again. After that, the message should no longer pop up.
## I get a message "The name must not be empty: null" when opening from Google Drive
Please follow these steps:
* select "Change database" on the password screen, then "Open database" and browse to your file again
* go to Android app settings and disable all permissions for the KP2A app. Then try again to open the database file.
* reboot the device
(Before running the following steps, make sure you don't have local changes in your database which have not been synchronized with Google Drive (this can happen if you worked offline). If you have, please open the database from the local cache and go to settings - database settings - export database and make a backup copy of the data.)
* clear KP2A's app cache in the Android settings
* uninstall & reinstall
One of these has helped all users so far, but unfortunately it's not totally clear to me why different steps are required (or nothing for most users).
# For developers
If you are interested in adding new features, you have two options:
Either your features can be implemented as a plug-in. Please see [How to create a plug-in?](How-to-create-a-plug-in_.md) for more information. Or you add the features directly in the source code of the projects and create a pull request.

View File

@@ -54,7 +54,7 @@ Please also add a few strings in your resource files (e.g. strings.xml) with the
These strings will be displayed to the user when KP2A asks if access should be granted.
## Modifying the entry view
You can add menu options for the full entry or for individual fields of the entry when displayed to the user. This is done, for example, by the QR plugin ([https://play.google.com/store/apps/details?id=keepass2android.plugin.qr](https___play.google.com_store_apps_details_id=keepass2android.plugin.qr)).
You can add menu options for the full entry or for individual fields of the entry when displayed to the user. This is done, for example, by the QR plugin ([https://play.google.com/store/apps/details?id=keepass2android.plugin.qr](https://play.google.com/store/apps/details?id=keepass2android.plugin.qr)).
In addition, it is even possible to add new fields or modify existing fields. Please see the sample plugin "PluginA" in the KP2A repository for a simple example on how to do this:
[https://keepass2android.codeplex.com/SourceControl/latest#src/java/PluginA/src/keepass2android/plugina/PluginAActionReceiver.java](https://keepass2android.codeplex.com/SourceControl/latest#src/java/PluginA/src/keepass2android/plugina/PluginAActionReceiver.java)

View File

@@ -2,7 +2,7 @@ Keepass2Android's apk is pretty big, e.g. when comparing to Keepassdroid. The ma
Here's a list of what is contained in the Keepass2Android 0.9.1 application package:
{{
```
Mono for Android
.net dlls 5.0 MB
Runtime 2.5 MB
@@ -22,4 +22,4 @@ Java/Mono bindings 0.5 MB
rest 0.3 MB
TOTAL 13 MB
}}
```

View File

@@ -1,3 +1,6 @@
<h1 align="center"><img src="/src/keepass2android/Resources/mipmap-xxxhdpi/ic_launcher_online.png" align="center" width="100" alt="Keepass2Android Logo">Keepass2Android</h1>
# What is Keepass2Android?
Keepass2Android is a password manager app. It allows to store and retrieve passwords and other sensitive information in a file called "database". This database is secured with a so-called master password. The master password typically is a strong password and can be complemented with a second factor for additional security.
The password database file can be synchronized across different devices. This works best using one of the built-in cloud storage options, but can also be performed with third-party apps. Keepass2Android is compatible with Keepass 1 and Keepass 2 on Windows and KeepassX on Linux.
@@ -5,11 +8,12 @@ The password database file can be synchronized across different devices. This wo
# Where to get it?
Regular stable releases of Keepass2Android are available on [Google Play](https://play.google.com/store/apps/details?id=keepass2android.keepass2android).
Beta-releases can be obtained by opting in to the [Beta testing channel](https://play.google.com/apps/testing/keepass2android.keepass2android) or [Beta testing channel for Keepass2Android Offline](https://play.google.com/apps/testing/keepass2android.keepass2android_nonet). Please join the [Beta tester group](https://plus.google.com/communities/107293657110547776032) for news and discussions about the latest beta releases.
Beta-releases can be obtained by opting in to the [Beta testing channel](https://play.google.com/apps/testing/keepass2android.keepass2android) or [Beta testing channel for Keepass2Android Offline](https://play.google.com/apps/testing/keepass2android.keepass2android_nonet).
# How can I contribute?
* Help to translate Keepass2Android into your language or improve translations at [our Crowdin page](http://crowdin.net/project/keepass2android)
* Add features by [creating a plugin](How-to-create-a-plug-in_.md) or creating a pull request. You might want to contact me before you start working so I can coordinate efforts.
* [Become a GitHub sponsor to boost 🚀 development](https://github.com/sponsors/PhilippC)
* [Make a donation](http://philipp.crocoll.net/donate.php)
# How do I learn more?

View File

@@ -10,8 +10,9 @@
<RootNamespace>AndroidFileChooserBinding</RootNamespace>
<AssemblyName>AndroidFileChooserBinding</AssemblyName>
<FileAlignment>512</FileAlignment>
<TargetFrameworkVersion>v8.1</TargetFrameworkVersion>
<AndroidUseLatestPlatformSdk>True</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -10,8 +10,10 @@
<RootNamespace>JavaFileStorageBindings</RootNamespace>
<AssemblyName>JavaFileStorageBindings</AssemblyName>
<FileAlignment>512</FileAlignment>
<AndroidUseLatestPlatformSdk>True</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v8.1</TargetFrameworkVersion>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
<AndroidClassParser>class-parse</AndroidClassParser>
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -81,18 +83,8 @@
</XamarinComponentReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\AdalBindings\AdalBindings.csproj">
<Project>{0b109c0e-0514-4340-8779-5bd6a0dde84e}</Project>
<Name>AdalBindings</Name>
</ProjectReference>
<ProjectReference Include="..\PCloudBindings\PCloudBindings.csproj" />
</ItemGroup>
<ItemGroup>
<EmbeddedReferenceJar Include="Jars\okhttp-digest-1.7.jar" />
</ItemGroup>
<ItemGroup>
<EmbeddedReferenceJar Include="Jars\gson-2.3.1.jar" />
</ItemGroup>
<ItemGroup>
<EmbeddedReferenceJar Include="Jars\msa-auth-0.8.6\classes-msa-auth.jar" />
</ItemGroup>
@@ -148,12 +140,18 @@
<EmbeddedReferenceJar Include="Jars\jackson-core-2.7.4.jar" />
</ItemGroup>
<ItemGroup>
<EmbeddedJar Include="Jars\dropbox-core-sdk-3.0.3.jar" />
<EmbeddedJar Include="Jars\dropbox-core-sdk-3.1.1.jar" />
</ItemGroup>
<ItemGroup>
<EmbeddedReferenceJar Include="Jars\okhttp-3.9.0.jar" />
<EmbeddedReferenceJar Include="Jars\gson-2.8.1.jar" />
</ItemGroup>
<ItemGroup>
<EmbeddedReferenceJar Include="Jars\okio-1.13.0.jar" />
<EmbeddedReferenceJar Include="Jars\okhttp-digest-2.5.jar" />
</ItemGroup>
<ItemGroup>
<EmbeddedReferenceJar Include="Jars\okio-2.9.0.jar" />
</ItemGroup>
<ItemGroup>
<EmbeddedReferenceJar Include="Jars\okhttp-4.10.0-RC1.jar" />
</ItemGroup>
</Project>

View File

@@ -10,8 +10,9 @@
<RootNamespace>KP2AKdbLibraryBinding</RootNamespace>
<AssemblyName>KP2AKdbLibraryBinding</AssemblyName>
<FileAlignment>512</FileAlignment>
<TargetFrameworkVersion>v8.1</TargetFrameworkVersion>
<AndroidUseLatestPlatformSdk>True</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -52,10 +53,11 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<LibraryProjectZip Include="..\java\KP2AKdbLibrary\app\build\outputs\aar\app-debug.aar">
<Link>Jars\app-debug.aar</Link>
</LibraryProjectZip>
<None Include="Jars\AboutJars.txt" />
<None Include="Additions\AboutAdditions.txt" />
<EmbeddedNativeLibrary Include="libs\armeabi-v7a\libfinal-key.so" />
<EmbeddedNativeLibrary Include="libs\armeabi\libfinal-key.so" />
</ItemGroup>
<ItemGroup>
<TransformFile Include="Transforms\Metadata.xml">
@@ -65,9 +67,7 @@
<TransformFile Include="Transforms\EnumMethods.xml" />
</ItemGroup>
<ItemGroup>
<EmbeddedJar Include="..\java\KP2AKdbLibrary\bin\kp2akdblibrary.jar">
<Link>Jars\kp2akdblibrary.jar</Link>
</EmbeddedJar>
<Folder Include="libs\" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.Bindings.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

View File

@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27004.2009
# Visual Studio Version 16
VisualStudioVersion = 16.0.29418.71
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KeePassLib2Android", "KeePassLib2Android\KeePassLib2Android.csproj", "{545B4A6B-8BBA-4FBE-92FC-4AC060122A54}"
EndProject
@@ -23,14 +23,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PluginSdkBinding", "PluginS
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZlibAndroid", "ZlibAndroid\ZlibAndroid.csproj", "{6C29A7E7-E016-4FC1-B1A0-DEE26AC711BB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Net.FtpClient.Android", "netftpandroid\System.Net.FtpClient\System.Net.FtpClient.Android.csproj", "{146FD497-BA03-4740-B6C5-5C84EA8FCDE2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SamsungPass", "SamsungPass\Xamarin.SamsungPass\SamsungPass\SamsungPass.csproj", "{3A4B8E88-FA9B-4663-BCDA-21C12E3AF98A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PCloudBindings", "PCloudBindings\PCloudBindings.csproj", "{2DB80C77-D46F-4970-B967-E9FFA9B2AC2E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AdalBindings", "AdalBindings\AdalBindings.csproj", "{0B109C0E-0514-4340-8779-5BD6A0DDE84E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -257,24 +253,6 @@ Global
{6C29A7E7-E016-4FC1-B1A0-DEE26AC711BB}.ReleaseNoNet|Win32.Build.0 = Release|Any CPU
{6C29A7E7-E016-4FC1-B1A0-DEE26AC711BB}.ReleaseNoNet|x64.ActiveCfg = Release|Any CPU
{6C29A7E7-E016-4FC1-B1A0-DEE26AC711BB}.ReleaseNoNet|x64.Build.0 = Release|Any CPU
{146FD497-BA03-4740-B6C5-5C84EA8FCDE2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{146FD497-BA03-4740-B6C5-5C84EA8FCDE2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{146FD497-BA03-4740-B6C5-5C84EA8FCDE2}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{146FD497-BA03-4740-B6C5-5C84EA8FCDE2}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{146FD497-BA03-4740-B6C5-5C84EA8FCDE2}.Debug|Win32.ActiveCfg = Debug|Any CPU
{146FD497-BA03-4740-B6C5-5C84EA8FCDE2}.Debug|x64.ActiveCfg = Debug|Any CPU
{146FD497-BA03-4740-B6C5-5C84EA8FCDE2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{146FD497-BA03-4740-B6C5-5C84EA8FCDE2}.Release|Any CPU.Build.0 = Release|Any CPU
{146FD497-BA03-4740-B6C5-5C84EA8FCDE2}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{146FD497-BA03-4740-B6C5-5C84EA8FCDE2}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{146FD497-BA03-4740-B6C5-5C84EA8FCDE2}.Release|Win32.ActiveCfg = Release|Any CPU
{146FD497-BA03-4740-B6C5-5C84EA8FCDE2}.Release|x64.ActiveCfg = Release|Any CPU
{146FD497-BA03-4740-B6C5-5C84EA8FCDE2}.ReleaseNoNet|Any CPU.ActiveCfg = Release|Any CPU
{146FD497-BA03-4740-B6C5-5C84EA8FCDE2}.ReleaseNoNet|Any CPU.Build.0 = Release|Any CPU
{146FD497-BA03-4740-B6C5-5C84EA8FCDE2}.ReleaseNoNet|Mixed Platforms.ActiveCfg = Release|Any CPU
{146FD497-BA03-4740-B6C5-5C84EA8FCDE2}.ReleaseNoNet|Mixed Platforms.Build.0 = Release|Any CPU
{146FD497-BA03-4740-B6C5-5C84EA8FCDE2}.ReleaseNoNet|Win32.ActiveCfg = Release|Any CPU
{146FD497-BA03-4740-B6C5-5C84EA8FCDE2}.ReleaseNoNet|x64.ActiveCfg = Release|Any CPU
{3A4B8E88-FA9B-4663-BCDA-21C12E3AF98A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3A4B8E88-FA9B-4663-BCDA-21C12E3AF98A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3A4B8E88-FA9B-4663-BCDA-21C12E3AF98A}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
@@ -317,30 +295,6 @@ Global
{2DB80C77-D46F-4970-B967-E9FFA9B2AC2E}.ReleaseNoNet|Win32.Build.0 = ReleaseNoNet|Any CPU
{2DB80C77-D46F-4970-B967-E9FFA9B2AC2E}.ReleaseNoNet|x64.ActiveCfg = ReleaseNoNet|Any CPU
{2DB80C77-D46F-4970-B967-E9FFA9B2AC2E}.ReleaseNoNet|x64.Build.0 = ReleaseNoNet|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.Debug|Win32.ActiveCfg = Debug|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.Debug|Win32.Build.0 = Debug|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.Debug|x64.ActiveCfg = Debug|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.Debug|x64.Build.0 = Debug|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.Release|Any CPU.Build.0 = Release|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.Release|Win32.ActiveCfg = Release|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.Release|Win32.Build.0 = Release|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.Release|x64.ActiveCfg = Release|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.Release|x64.Build.0 = Release|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.ReleaseNoNet|Any CPU.ActiveCfg = Release|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.ReleaseNoNet|Any CPU.Build.0 = Release|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.ReleaseNoNet|Mixed Platforms.ActiveCfg = Release|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.ReleaseNoNet|Mixed Platforms.Build.0 = Release|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.ReleaseNoNet|Win32.ActiveCfg = Release|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.ReleaseNoNet|Win32.Build.0 = Release|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.ReleaseNoNet|x64.ActiveCfg = Release|Any CPU
{0B109C0E-0514-4340-8779-5BD6A0DDE84E}.ReleaseNoNet|x64.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View File

@@ -367,5 +367,27 @@ namespace KeePassLib.Cryptography
Debug.Assert(iPos == pbRes.Length);
return pbRes;
}
private static int g_iWeakSeed = 0;
public static Random NewWeakRandom()
{
long s64 = DateTime.UtcNow.ToBinary();
int s32 = (int)((s64 >> 32) ^ s64);
lock (g_oSyncRoot)
{
unchecked
{
g_iWeakSeed += 0x78A8C4B7; // Prime number
s32 ^= g_iWeakSeed;
}
}
// Prevent overflow in the Random constructor of .NET 2.0
if (s32 == int.MinValue) s32 = int.MaxValue;
return new Random(s32);
}
}
}

View File

@@ -1,6 +1,6 @@
/*
KeePass Password Safe - The Open-Source Password Manager
Copyright (C) 2003-2017 Dominik Reichl <dominik.reichl@t-online.de>
Copyright (C) 2003-2020 Dominik Reichl <dominik.reichl@t-online.de>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -20,28 +20,67 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Text;
#if !KeePassUAP
using System.Security.Cryptography;
#endif
using KeePassLib.Native;
using KeePassLib.Utility;
namespace KeePassLib.Cryptography
{
public static class CryptoUtil
{
private static bool? g_obProtData = null;
public static bool IsProtectedDataSupported
{
get
{
if (g_obProtData.HasValue) return g_obProtData.Value;
bool b = false;
try
{
Random r = CryptoRandom.NewWeakRandom();
byte[] pbData = new byte[137];
r.NextBytes(pbData);
byte[] pbEnt = new byte[41];
r.NextBytes(pbEnt);
byte[] pbEnc = ProtectedData.Protect(pbData, pbEnt,
DataProtectionScope.CurrentUser);
if ((pbEnc != null) && !MemUtil.ArraysEqual(pbEnc, pbData))
{
byte[] pbDec = ProtectedData.Unprotect(pbEnc, pbEnt,
DataProtectionScope.CurrentUser);
if ((pbDec != null) && MemUtil.ArraysEqual(pbDec, pbData))
b = true;
}
}
catch (Exception) { Debug.Assert(false); }
Debug.Assert(b); // Should be supported on all systems
g_obProtData = b;
return b;
}
}
public static byte[] HashSha256(byte[] pbData)
{
if(pbData == null) throw new ArgumentNullException("pbData");
if (pbData == null) throw new ArgumentNullException("pbData");
return HashSha256(pbData, 0, pbData.Length);
}
public static byte[] HashSha256(byte[] pbData, int iOffset, int cbCount)
{
if(pbData == null) throw new ArgumentNullException("pbData");
if (pbData == null) throw new ArgumentNullException("pbData");
#if DEBUG
byte[] pbCopy = new byte[pbData.Length];
@@ -49,7 +88,7 @@ namespace KeePassLib.Cryptography
#endif
byte[] pbHash;
using(SHA256Managed h = new SHA256Managed())
using (SHA256Managed h = new SHA256Managed())
{
pbHash = h.ComputeHash(pbData, iOffset, cbCount);
}
@@ -66,6 +105,22 @@ namespace KeePassLib.Cryptography
return pbHash;
}
internal static byte[] HashSha256(string strFilePath)
{
byte[] pbHash = null;
using (FileStream fs = new FileStream(strFilePath, FileMode.Open,
FileAccess.Read, FileShare.Read))
{
using (SHA256Managed h = new SHA256Managed())
{
pbHash = h.ComputeHash(fs);
}
}
return pbHash;
}
/// <summary>
/// Create a cryptographic key of length <paramref name="cbOut" />
/// (in bytes) from <paramref name="pbIn" />.
@@ -73,34 +128,34 @@ namespace KeePassLib.Cryptography
public static byte[] ResizeKey(byte[] pbIn, int iInOffset,
int cbIn, int cbOut)
{
if(pbIn == null) throw new ArgumentNullException("pbIn");
if(cbOut < 0) throw new ArgumentOutOfRangeException("cbOut");
if (pbIn == null) throw new ArgumentNullException("pbIn");
if (cbOut < 0) throw new ArgumentOutOfRangeException("cbOut");
if(cbOut == 0) return MemUtil.EmptyByteArray;
if (cbOut == 0) return MemUtil.EmptyByteArray;
byte[] pbHash;
if(cbOut <= 32) pbHash = HashSha256(pbIn, iInOffset, cbIn);
if (cbOut <= 32) pbHash = HashSha256(pbIn, iInOffset, cbIn);
else
{
using(SHA512Managed h = new SHA512Managed())
using (SHA512Managed h = new SHA512Managed())
{
pbHash = h.ComputeHash(pbIn, iInOffset, cbIn);
}
}
if(cbOut == pbHash.Length) return pbHash;
if (cbOut == pbHash.Length) return pbHash;
byte[] pbRet = new byte[cbOut];
if(cbOut < pbHash.Length)
if (cbOut < pbHash.Length)
Array.Copy(pbHash, pbRet, cbOut);
else
{
int iPos = 0;
ulong r = 0;
while(iPos < cbOut)
while (iPos < cbOut)
{
Debug.Assert(pbHash.Length == 64);
using(HMACSHA256 h = new HMACSHA256(pbHash))
using (HMACSHA256 h = new HMACSHA256(pbHash))
{
byte[] pbR = MemUtil.UInt64ToBytes(r);
byte[] pbPart = h.ComputeHash(pbR);
@@ -125,5 +180,75 @@ namespace KeePassLib.Cryptography
MemUtil.ZeroByteArray(pbHash);
return pbRet;
}
#if !KeePassUAP
private static bool? g_obAesCsp = null;
internal static SymmetricAlgorithm CreateAes()
{
if (g_obAesCsp.HasValue)
return (g_obAesCsp.Value ? CreateAesCsp() : new RijndaelManaged());
SymmetricAlgorithm a = CreateAesCsp();
g_obAesCsp = (a != null);
return (a ?? new RijndaelManaged());
}
private static SymmetricAlgorithm CreateAesCsp()
{
try
{
// On Windows, the CSP implementation is only minimally
// faster (and for key derivations it's not used anyway,
// as KeePass uses a native implementation based on
// CNG/BCrypt, which is much faster)
if (!NativeLib.IsUnix()) return null;
string strFqn = Assembly.CreateQualifiedName(
"System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
"System.Security.Cryptography.AesCryptoServiceProvider");
Type t = Type.GetType(strFqn);
if (t == null) return null;
return (Activator.CreateInstance(t) as SymmetricAlgorithm);
}
catch (Exception) { Debug.Assert(false); }
return null;
}
#endif
public static byte[] ProtectData(byte[] pb, byte[] pbOptEntropy,
DataProtectionScope s)
{
return ProtectDataPriv(pb, true, pbOptEntropy, s);
}
public static byte[] UnprotectData(byte[] pb, byte[] pbOptEntropy,
DataProtectionScope s)
{
return ProtectDataPriv(pb, false, pbOptEntropy, s);
}
private static byte[] ProtectDataPriv(byte[] pb, bool bProtect,
byte[] pbOptEntropy, DataProtectionScope s)
{
if (pb == null) throw new ArgumentNullException("pb");
if ((pbOptEntropy != null) && (pbOptEntropy.Length == 0))
pbOptEntropy = null;
if (CryptoUtil.IsProtectedDataSupported)
{
if (bProtect)
return ProtectedData.Protect(pb, pbOptEntropy, s);
return ProtectedData.Unprotect(pb, pbOptEntropy, s);
}
Debug.Assert(false);
byte[] pbCopy = new byte[pb.Length];
Array.Copy(pb, pbCopy, pb.Length);
return pbCopy;
}
}
}

View File

@@ -21,7 +21,7 @@ using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using keepass2android;
#if KeePassUAP
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Engines;
@@ -144,6 +144,7 @@ namespace KeePassLib.Cryptography.KeyDerivation
public static bool TransformKeyManaged(byte[] pbNewKey32, byte[] pbKeySeed32,
ulong uNumRounds)
{
Kp2aLog.Log("Warning: transforming key managed. Expect this to be slow!");
#if KeePassUAP
KeyParameter kp = new KeyParameter(pbKeySeed32);
AesEngine aes = new AesEngine();

View File

@@ -46,6 +46,8 @@ namespace KeePassLib.Cryptography.KeyDerivation
private const ulong NbBlockSizeInQW = NbBlockSize / 8UL;
private const ulong NbSyncPoints = 4;
private const ulong NbAddressesInBlock = 128;
private const int NbPreHashDigestLength = 64;
private const int NbPreHashSeedLength = NbPreHashDigestLength + 8;
@@ -56,6 +58,7 @@ namespace KeePassLib.Cryptography.KeyDerivation
private sealed class Argon2Ctx
{
public Argon2Type Type = Argon2Type.D;
public uint Version = 0;
public ulong Lanes = 0;
@@ -89,9 +92,9 @@ namespace KeePassLib.Cryptography.KeyDerivation
}
}
private static byte[] Argon2d(byte[] pbMsg, byte[] pbSalt, uint uParallel,
ulong uMem, ulong uIt, int cbOut, uint uVersion, byte[] pbSecretKey,
byte[] pbAssocData)
private byte[] Argon2Transform(byte[] pbMsg, byte[] pbSalt, uint uParallel,
ulong uMem, ulong uIt, int cbOut, uint uVersion, byte[] pbSecretKey,
byte[] pbAssocData)
{
pbSecretKey = (pbSecretKey ?? MemUtil.EmptyByteArray);
pbAssocData = (pbAssocData ?? MemUtil.EmptyByteArray);
@@ -101,6 +104,7 @@ namespace KeePassLib.Cryptography.KeyDerivation
#endif
Argon2Ctx ctx = new Argon2Ctx();
ctx.Type = m_t;
ctx.Version = uVersion;
ctx.Lanes = uParallel;
@@ -137,7 +141,7 @@ namespace KeePassLib.Cryptography.KeyDerivation
h.TransformBlock(pbBuf, 0, pbBuf.Length, pbBuf, 0);
MemUtil.UInt32ToBytesEx(uVersion, pbBuf, 0);
h.TransformBlock(pbBuf, 0, pbBuf.Length, pbBuf, 0);
MemUtil.UInt32ToBytesEx(0, pbBuf, 0); // Argon2d type = 0
MemUtil.UInt32ToBytesEx((uint)m_t, pbBuf, 0);
h.TransformBlock(pbBuf, 0, pbBuf.Length, pbBuf, 0);
MemUtil.UInt32ToBytesEx((uint)pbMsg.Length, pbBuf, 0);
h.TransformBlock(pbBuf, 0, pbBuf.Length, pbBuf, 0);
@@ -487,18 +491,43 @@ namespace KeePassLib.Cryptography.KeyDerivation
private static void FillSegmentThr(object o)
{
Argon2ThreadInfo ti = (o as Argon2ThreadInfo);
if(ti == null) { Debug.Assert(false); return; }
if (ti == null) { Debug.Assert(false); return; }
try
{
Argon2Ctx ctx = ti.Context;
if(ctx == null) { Debug.Assert(false); return; }
if (ctx == null) { Debug.Assert(false); return; }
Debug.Assert(ctx.Version >= MinVersion);
bool bCanXor = (ctx.Version >= 0x13U);
ulong[] pbR = new ulong[NbBlockSizeInQW];
ulong[] pbTmp = new ulong[NbBlockSizeInQW];
ulong[] pbAddrInputZero = null;
bool bDataIndependentAddr = ((ctx.Type == Argon2Type.ID) &&
(ti.Pass == 0) && (ti.Slice < (NbSyncPoints / 2)));
if (bDataIndependentAddr)
{
pbAddrInputZero = new ulong[NbBlockSizeInQW * 3];
const int iInput = (int)NbBlockSizeInQW;
pbAddrInputZero[iInput] = ti.Pass;
pbAddrInputZero[iInput + 1] = ti.Lane;
pbAddrInputZero[iInput + 2] = ti.Slice;
pbAddrInputZero[iInput + 3] = ctx.MemoryBlocks;
pbAddrInputZero[iInput + 4] = ctx.TCost;
pbAddrInputZero[iInput + 5] = (ulong)ctx.Type;
}
ulong uStart = 0;
if((ti.Pass == 0) && (ti.Slice == 0)) uStart = 2;
if ((ti.Pass == 0) && (ti.Slice == 0))
{
uStart = 2;
if (bDataIndependentAddr)
NextAddresses(pbAddrInputZero, pbR, pbTmp);
}
ulong uCur = (ti.Lane * ctx.LaneLength) + (ti.Slice *
ctx.SegmentLength) + uStart;
@@ -506,17 +535,23 @@ namespace KeePassLib.Cryptography.KeyDerivation
ulong uPrev = (((uCur % ctx.LaneLength) == 0) ?
(uCur + ctx.LaneLength - 1UL) : (uCur - 1UL));
ulong[] pbR = new ulong[NbBlockSizeInQW];
ulong[] pbTmp = new ulong[NbBlockSizeInQW];
for(ulong i = uStart; i < ctx.SegmentLength; ++i)
for (ulong i = uStart; i < ctx.SegmentLength; ++i)
{
if((uCur % ctx.LaneLength) == 1)
if ((uCur % ctx.LaneLength) == 1)
uPrev = uCur - 1UL;
ulong uPseudoRand = ctx.Mem[uPrev * NbBlockSizeInQW];
ulong uPseudoRand;
if (bDataIndependentAddr)
{
ulong iMod = i % NbAddressesInBlock;
if (iMod == 0)
NextAddresses(pbAddrInputZero, pbR, pbTmp);
uPseudoRand = pbAddrInputZero[iMod];
}
else uPseudoRand = ctx.Mem[uPrev * NbBlockSizeInQW];
ulong uRefLane = (uPseudoRand >> 32) % ctx.Lanes;
if((ti.Pass == 0) && (ti.Slice == 0))
if ((ti.Pass == 0) && (ti.Slice == 0))
uRefLane = ti.Lane;
ti.Index = i;
@@ -536,11 +571,12 @@ namespace KeePassLib.Cryptography.KeyDerivation
MemUtil.ZeroArray<ulong>(pbR);
MemUtil.ZeroArray<ulong>(pbTmp);
if (pbAddrInputZero != null) MemUtil.ZeroArray<ulong>(pbAddrInputZero);
}
catch(Exception) { Debug.Assert(false); }
catch (Exception) { Debug.Assert(false); }
try { ti.Finished.Set(); }
catch(Exception) { Debug.Assert(false); }
catch (Exception) { Debug.Assert(false); }
}
#if ARGON2_B2ROUND_ARRAYS
@@ -610,6 +646,19 @@ namespace KeePassLib.Cryptography.KeyDerivation
XorBlock(pMem, uNext, pbR, 0);
}
private static void NextAddresses(ulong[] pbAddrInputZero, ulong[] pbR,
ulong[] pbTmp)
{
// pbAddrInputZero contains an address block, an input block and a zero block
const ulong uAddr = 0;
const ulong uInput = NbBlockSizeInQW;
const ulong uZero = NbBlockSizeInQW * 2;
++pbAddrInputZero[uInput + 6];
FillBlock(pbAddrInputZero, uZero, uInput, uAddr, false, pbR, pbTmp);
FillBlock(pbAddrInputZero, uZero, uAddr, uAddr, false, pbR, pbTmp);
}
private static byte[] FinalHash(Argon2Ctx ctx, int cbOut, Blake2b h)
{
ulong[] pqBlockHash = new ulong[NbBlockSizeInQW];

View File

@@ -20,15 +20,27 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Text;
namespace KeePassLib.Cryptography.KeyDerivation
{
public sealed partial class Argon2Kdf : KdfEngine
public enum Argon2Type
{
// The values must be the same as in the Argon2 specification
D = 0,
ID = 2
}
public sealed partial class Argon2Kdf : KdfEngine
{
private static readonly PwUuid g_uuid = new PwUuid(new byte[] {
0xEF, 0x63, 0x6D, 0xDF, 0x8C, 0x29, 0x44, 0x4B,
0x91, 0xF7, 0xA9, 0xA4, 0x03, 0xE3, 0x0A, 0x0C });
private static readonly PwUuid g_uuidD = new PwUuid(new byte[] {
0xEF, 0x63, 0x6D, 0xDF, 0x8C, 0x29, 0x44, 0x4B,
0x91, 0xF7, 0xA9, 0xA4, 0x03, 0xE3, 0x0A, 0x0C });
private static readonly PwUuid g_uuidID = new PwUuid(new byte[] {
0x9E, 0x29, 0x8B, 0x19, 0x56, 0xDB, 0x47, 0x73,
0xB2, 0x3D, 0xFC, 0x3E, 0xC6, 0xF0, 0xA1, 0xE6 });
public const string ParamSalt = "S"; // Byte[]
public const string ParamParallelism = "P"; // UInt32
@@ -54,28 +66,37 @@ namespace KeePassLib.Cryptography.KeyDerivation
internal const uint MinParallelism = 1;
internal const uint MaxParallelism = (1 << 24) - 1;
internal const ulong DefaultIterations = 2;
internal const ulong DefaultMemory = 1024 * 1024; // 1 MB
internal const uint DefaultParallelism = 2;
internal const ulong DefaultIterations = 2;
internal const ulong DefaultMemory = 64 * 1024 * 1024; // 64 MB
internal const uint DefaultParallelism = 2;
public override PwUuid Uuid
{
get { return g_uuid; }
}
private readonly Argon2Type m_t;
public override string Name
{
get { return "Argon2"; }
}
public override PwUuid Uuid
{
get { return ((m_t == Argon2Type.D) ? g_uuidD : g_uuidID); }
}
public override string Name
{
get { return ((m_t == Argon2Type.D) ? "Argon2d" : "Argon2id"); }
}
public Argon2Kdf() : this(Argon2Type.D)
{
}
public Argon2Kdf(Argon2Type t)
{
if ((t != Argon2Type.D) && (t != Argon2Type.ID))
throw new NotSupportedException();
m_t = t;
}
public override byte[] GetSeed(KdfParameters p)
{ return p.GetByteArray(ParamSalt); }
public Argon2Kdf()
{
}
public override KdfParameters GetDefaultParameters()
public override KdfParameters GetDefaultParameters()
{
KdfParameters p = base.GetDefaultParameters();
@@ -91,7 +112,7 @@ namespace KeePassLib.Cryptography.KeyDerivation
public override void Randomize(KdfParameters p)
{
if(p == null) { Debug.Assert(false); return; }
Debug.Assert(g_uuid.Equals(p.KdfUuid));
Debug.Assert(p.KdfUuid.Equals(this.Uuid));
byte[] pb = CryptoRandom.Instance.GetRandomBytes(32);
p.SetByteArray(ParamSalt, pb);
@@ -127,10 +148,59 @@ namespace KeePassLib.Cryptography.KeyDerivation
byte[] pbSecretKey = p.GetByteArray(ParamSecretKey);
byte[] pbAssocData = p.GetByteArray(ParamAssocData);
byte[] pbRet = Argon2d(pbMsg, pbSalt, uPar, uMem, uIt,
32, v, pbSecretKey, pbAssocData);
byte[] pbRet;
if(uMem > (100UL * 1024UL * 1024UL)) GC.Collect();
if (m_t == Argon2Type.ID)
{
pbRet = Argon2Transform(pbMsg, pbSalt, uPar, uMem,
uIt, 32, v, pbSecretKey, pbAssocData);
}
else
{
if (pbSecretKey != null)
{
throw new ArgumentOutOfRangeException("Unsupported configuration: non-null pbSecretKey");
}
if (pbAssocData != null)
{
throw new ArgumentOutOfRangeException("Unsupported configuration: non-null pbAssocData");
}
/*
byte[] pbRet = Argon2d(pbMsg, pbSalt, uPar, uMem, uIt,
32, v, pbSecretKey, pbAssocData);
*/
IntPtr msgPtr = Marshal.AllocHGlobal(pbMsg.Length);
IntPtr saltPtr = Marshal.AllocHGlobal(pbSalt.Length);
IntPtr retPtr = Marshal.AllocHGlobal(32);
Marshal.Copy(pbMsg, 0, msgPtr, pbMsg.Length);
Marshal.Copy(pbSalt, 0, saltPtr, pbSalt.Length);
const UInt32 Argon2_d = 0;
int ret = argon2_hash(
(UInt32)uIt, (UInt32)(uMem / 1024), uPar,
msgPtr, (IntPtr)pbMsg.Length,
saltPtr, (IntPtr)pbSalt.Length,
retPtr, (IntPtr)32,
(IntPtr)0, (IntPtr)0, Argon2_d, v);
if (ret != 0)
{
throw new Exception("argon2_hash failed with " + ret);
}
pbRet = new byte[32];
Marshal.Copy(retPtr, pbRet, 0, 32);
Marshal.FreeHGlobal(msgPtr);
Marshal.FreeHGlobal(saltPtr);
Marshal.FreeHGlobal(retPtr);
}
if(uMem > (100UL * 1024UL * 1024UL)) GC.Collect();
return pbRet;
}
@@ -143,5 +213,14 @@ namespace KeePassLib.Cryptography.KeyDerivation
MaxIterations, uMilliseconds, true);
return p;
}
[DllImport("argon2")]
static extern int argon2_hash(
UInt32 t_cost, UInt32 m_cost, UInt32 parallelism,
IntPtr pwd, IntPtr pwdlen,
IntPtr salt, IntPtr saltlen,
IntPtr hash, IntPtr hashlen,
IntPtr encoded, IntPtr encodedlen,
UInt32 type, UInt32 version);
}
}

View File

@@ -1,6 +1,6 @@
/*
KeePass Password Safe - The Open-Source Password Manager
Copyright (C) 2003-2017 Dominik Reichl <dominik.reichl@t-online.de>
Copyright (C) 2003-2020 Dominik Reichl <dominik.reichl@t-online.de>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

View File

@@ -1,6 +1,6 @@
/*
KeePass Password Safe - The Open-Source Password Manager
Copyright (C) 2003-2017 Dominik Reichl <dominik.reichl@t-online.de>
Copyright (C) 2003-2020 Dominik Reichl <dominik.reichl@t-online.de>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -41,10 +41,11 @@ namespace KeePassLib.Cryptography.KeyDerivation
private static void EnsureInitialized()
{
if(g_l.Count > 0) return;
if(g_l.Count != 0) return;
g_l.Add(new AesKdf());
g_l.Add(new Argon2Kdf());
g_l.Add(new Argon2Kdf(Argon2Type.D));
g_l.Add(new Argon2Kdf(Argon2Type.ID));
}
internal static KdfParameters GetDefaultParameters()

View File

@@ -12,8 +12,8 @@
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
<AndroidResgenClass>Resource</AndroidResgenClass>
<AssemblyName>KeePassLib2Android</AssemblyName>
<TargetFrameworkVersion>v8.1</TargetFrameworkVersion>
<AndroidUseLatestPlatformSdk>True</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<NuGetPackageImportStamp>8482b288</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
@@ -50,6 +50,7 @@
<HintPath>..\ProtoBuf\protobuf-net.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Security" />
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="Mono.Android" />
@@ -71,6 +72,7 @@
<Compile Include="Cryptography\KeyDerivation\KdfParameters.cs" />
<Compile Include="Cryptography\KeyDerivation\KdfPool.cs" />
<Compile Include="IDatabaseFormat.cs" />
<Compile Include="Keys\KcpKeyFile.Xml.cs" />
<Compile Include="Kp2aLog.cs" />
<Compile Include="Resources\Resource.designer.cs" />
<Compile Include="Resources\KLRes.Generated.cs" />
@@ -160,6 +162,7 @@
<Compile Include="Utility\UrlUtil.cs" />
<Compile Include="Utility\TimeUtil.cs" />
<Compile Include="Delegates\Handlers.cs" />
<Compile Include="Utility\XmlUtilEx.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />

View File

@@ -38,9 +38,11 @@ namespace KeePassLib.Keys
get;
}
// /// <summary>
// /// Clear the key and securely erase all security-critical information.
// /// </summary>
// void Clear();
// /// <summary>
// /// Clear the key and securely erase all security-critical information.
// /// </summary>
// void Clear();
uint GetMinKdbxVersion();
}
}

View File

@@ -45,7 +45,12 @@ namespace KeePassLib.Keys
get { return m_pbKey; }
}
public KcpCustomKey(string strName, byte[] pbKeyData, bool bPerformHash)
public uint GetMinKdbxVersion()
{
return 0;
}
public KcpCustomKey(string strName, byte[] pbKeyData, bool bPerformHash)
{
Debug.Assert(strName != null); if(strName == null) throw new ArgumentNullException("strName");
Debug.Assert(pbKeyData != null); if(pbKeyData == null) throw new ArgumentNullException("pbKeyData");

View File

@@ -0,0 +1,281 @@
/*
KeePass Password Safe - The Open-Source Password Manager
Copyright (C) 2003-2021 Dominik Reichl <dominik.reichl@t-online.de>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using KeePassLib.Cryptography;
using KeePassLib.Resources;
using KeePassLib.Serialization;
using KeePassLib.Utility;
namespace KeePassLib.Keys
{
[XmlType("KeyFile")]
public sealed class KfxFile
{
private const ulong KfxVersionCriticalMask = 0xFFFF000000000000UL;
private const int KfxDataHashLength = 4;
private KfxMeta m_meta = new KfxMeta();
public KfxMeta Meta
{
get { return m_meta; }
set
{
if(value == null) throw new ArgumentNullException("value");
m_meta = value;
}
}
private KfxKey m_key = new KfxKey();
public KfxKey Key
{
get { return m_key; }
set
{
if(value == null) throw new ArgumentNullException("value");
m_key = value;
}
}
public static KfxFile Create(ulong uVersion, byte[] pbKey, byte[] pbHash)
{
if(pbKey == null) throw new ArgumentNullException("pbKey");
if(pbKey.Length == 0) throw new ArgumentOutOfRangeException("pbKey");
if(uVersion == 0) uVersion = 0x0002000000000000;
// Null hash: generate one, empty hash: store no hash
if(pbHash == null) pbHash = HashData(pbKey);
VerifyHash(pbKey, pbHash);
KfxFile kf = new KfxFile();
if(uVersion == 0x0001000000000000)
kf.Meta.Version = "1.00"; // KeePass <= 2.46 used two zeros
else kf.Meta.Version = StrUtil.VersionToString(uVersion, 2);
if(uVersion == 0x0001000000000000)
kf.Key.Data.Value = Convert.ToBase64String(pbKey);
else if(uVersion == 0x0002000000000000)
{
kf.Key.Data.Value = FormatKeyHex(pbKey, 3);
if(pbHash.Length != 0)
kf.Key.Data.Hash = MemUtil.ByteArrayToHexString(pbHash);
}
else throw new NotSupportedException(KLRes.FileVersionUnsupported);
return kf;
}
internal static KfxFile Create(ulong uVersion, string strKey, string strHash)
{
byte[] pbKey = ParseKey(uVersion, strKey);
byte[] pbHash = ((strHash != null) ? ParseHash(strHash) : null);
return Create(uVersion, pbKey, pbHash);
}
internal static bool CanLoad(string strFilePath)
{
if(string.IsNullOrEmpty(strFilePath)) { Debug.Assert(false); return false; }
try
{
IOConnectionInfo ioc = IOConnectionInfo.FromPath(strFilePath);
using(Stream s = IOConnection.OpenRead(ioc))
{
return (Load(s) != null);
}
}
catch(Exception) { }
return false;
}
public static KfxFile Load(Stream s)
{
return XmlUtilEx.Deserialize<KfxFile>(s);
}
public void Save(Stream s)
{
XmlUtilEx.Serialize<KfxFile>(s, this, true);
}
private static string FormatKeyHex(byte[] pb, int cTabs)
{
StringBuilder sb = new StringBuilder();
string str = MemUtil.ByteArrayToHexString(pb);
for(int i = 0; i < str.Length; ++i)
{
if((i & 0x1F) == 0)
{
sb.AppendLine();
sb.Append('\t', cTabs);
}
else if((i & 0x07) == 0) sb.Append(' ');
sb.Append(str[i]);
}
sb.AppendLine();
if(cTabs > 0) sb.Append('\t', cTabs - 1);
return sb.ToString();
}
private ulong GetVersion()
{
string str = m_meta.Version;
if(string.IsNullOrEmpty(str)) return 0;
return StrUtil.ParseVersion(str);
}
public byte[] GetKey()
{
ulong uVersion = GetVersion();
byte[] pbKey = ParseKey(uVersion, m_key.Data.Value);
if((pbKey == null) || (pbKey.Length == 0))
throw new FormatException(KLRes.FileCorrupted);
byte[] pbHash = ParseHash(m_key.Data.Hash);
VerifyHash(pbKey, pbHash);
return pbKey;
}
private static byte[] HashData(byte[] pb)
{
return MemUtil.Mid(CryptoUtil.HashSha256(pb), 0, KfxDataHashLength);
}
private static void VerifyHash(byte[] pbKey, byte[] pbHash)
{
// The hash is optional; empty hash means success
if((pbHash == null) || (pbHash.Length == 0)) return;
byte[] pbHashCmp = HashData(pbKey);
if(!MemUtil.ArraysEqual(pbHash, pbHashCmp))
throw new Exception("Keyfile hash mismatch!");
}
private static byte[] ParseKey(ulong uVersion, string strKey)
{
if(strKey == null) throw new ArgumentNullException("strKey");
strKey = StrUtil.RemoveWhiteSpace(strKey);
if(string.IsNullOrEmpty(strKey)) return MemUtil.EmptyByteArray;
uVersion &= KfxVersionCriticalMask;
byte[] pbKey;
if(uVersion == 0x0001000000000000)
pbKey = Convert.FromBase64String(strKey);
else if(uVersion == 0x0002000000000000)
pbKey = ParseHex(strKey);
else throw new NotSupportedException(KLRes.FileVersionUnsupported);
return pbKey;
}
private static byte[] ParseHash(string strHash)
{
return ParseHex(strHash);
}
private static byte[] ParseHex(string str)
{
if(str == null) throw new ArgumentNullException("str");
if(str.Length == 0) return MemUtil.EmptyByteArray;
if(((str.Length & 1) != 0) || !StrUtil.IsHexString(str, true))
throw new FormatException();
return MemUtil.HexStringToByteArray(str);
}
}
public sealed class KfxMeta
{
private string m_strVersion = string.Empty;
[DefaultValue("")]
public string Version
{
get { return m_strVersion; }
set
{
if(value == null) throw new ArgumentNullException("value");
m_strVersion = value;
}
}
}
public sealed class KfxKey
{
private KfxData m_data = new KfxData();
public KfxData Data
{
get { return m_data; }
set
{
if(value == null) throw new ArgumentNullException("value");
m_data = value;
}
}
}
public sealed class KfxData
{
private string m_strHash = string.Empty;
[DefaultValue("")]
[XmlAttribute("Hash")]
public string Hash
{
get { return m_strHash; }
set
{
if(value == null) throw new ArgumentNullException("value");
m_strHash = value;
}
}
private string m_strValue = string.Empty;
[DefaultValue("")]
[XmlText]
public string Value
{
get { return m_strValue; }
set
{
if(value == null) throw new ArgumentNullException("value");
m_strValue = value;
}
}
}
}

View File

@@ -64,7 +64,12 @@ namespace KeePassLib.Keys
get { return m_pbKeyData; }
}
public IOConnectionInfo Ioc
public uint GetMinKdbxVersion()
{
return 0;
}
public IOConnectionInfo Ioc
{
get { return m_ioc; }
}
@@ -122,10 +127,9 @@ namespace KeePassLib.Keys
#endif
}
byte[] pbKey = LoadXmlKeyFile(pbFileData);
if(pbKey == null) pbKey = LoadKeyFile(pbFileData);
byte[] pbKey = LoadKeyFile(pbFileData);
if(pbKey == null) throw new InvalidOperationException();
if (pbKey == null) throw new InvalidOperationException();
m_ioc = iocKeyFile;
m_pbKeyData = new ProtectedBinary(true, pbKey);
@@ -145,54 +149,60 @@ namespace KeePassLib.Keys
// }
private static byte[] LoadKeyFile(byte[] pbFileData)
{
if(pbFileData == null) { Debug.Assert(false); return null; }
private static byte[] LoadKeyFile(byte[] pbFileData)
{
if (pbFileData == null) throw new ArgumentNullException("pbFileData");
int iLength = pbFileData.Length;
byte[] pbKey = LoadKeyFileXml(pbFileData);
if (pbKey != null) return pbKey;
byte[] pbKey = null;
if(iLength == 32) pbKey = LoadBinaryKey32(pbFileData);
else if(iLength == 64) pbKey = LoadHexKey32(pbFileData);
int cb = pbFileData.Length;
if (cb == 32) return pbFileData;
if(pbKey == null)
pbKey = CryptoUtil.HashSha256(pbFileData);
if (cb == 64)
{
pbKey = LoadKeyFileHex(pbFileData);
if (pbKey != null) return pbKey;
}
return pbKey;
}
return CryptoUtil.HashSha256(pbFileData);
}
private static byte[] LoadBinaryKey32(byte[] pbFileData)
{
if(pbFileData == null) { Debug.Assert(false); return null; }
if(pbFileData.Length != 32) { Debug.Assert(false); return null; }
private static byte[] LoadKeyFileXml(byte[] pbFileData)
{
KfxFile kf;
try
{
using (MemoryStream ms = new MemoryStream(pbFileData, false))
{
kf = KfxFile.Load(ms);
}
}
catch (Exception) { return null; }
return pbFileData;
}
// We have a syntactically valid XML key file;
// failing to verify the key should throw an exception
return ((kf != null) ? kf.GetKey() : null);
}
private static byte[] LoadHexKey32(byte[] pbFileData)
{
if(pbFileData == null) { Debug.Assert(false); return null; }
if(pbFileData.Length != 64) { Debug.Assert(false); return null; }
private static byte[] LoadKeyFileHex(byte[] pbFileData)
{
if (pbFileData == null) { Debug.Assert(false); return null; }
try
{
if(!StrUtil.IsHexString(pbFileData, true)) return null;
try
{
int cc = pbFileData.Length;
if ((cc & 1) != 0) { Debug.Assert(false); return null; }
string strHex = StrUtil.Utf8.GetString(pbFileData);
byte[] pbKey = MemUtil.HexStringToByteArray(strHex);
if((pbKey == null) || (pbKey.Length != 32))
{
Debug.Assert(false);
return null;
}
if (!StrUtil.IsHexString(pbFileData, true)) return null;
return pbKey;
}
catch(Exception) { Debug.Assert(false); }
return null;
}
string strHex = StrUtil.Utf8.GetString(pbFileData);
return MemUtil.HexStringToByteArray(strHex);
}
catch (Exception) { Debug.Assert(false); }
return null;
}
/// <summary>
/// Create a new, random key-file.
/// </summary>

View File

@@ -53,7 +53,12 @@ namespace KeePassLib.Keys
get { return m_pbKeyData; }
}
public KcpPassword(byte[] pbPasswordUtf8)
public uint GetMinKdbxVersion()
{
return 0;
}
public KcpPassword(byte[] pbPasswordUtf8)
{
SetKey(pbPasswordUtf8);
}

View File

@@ -21,7 +21,6 @@
using System;
using System.Diagnostics;
using System.IO;
using System.Security;
#if !KeePassUAP
@@ -60,7 +59,12 @@ namespace KeePassLib.Keys
get { return m_pbKeyData; }
}
/// <summary>
public uint GetMinKdbxVersion()
{
return 0;
}
/// <summary>
/// Construct a user account key.
/// </summary>
public KcpUserAccount()
@@ -73,26 +77,7 @@ namespace KeePassLib.Keys
// m_pbKeyData = null;
// }
private static string GetUserKeyFilePath(bool bCreate)
{
#if KeePassRT
string strUserDir = Windows.Storage.ApplicationData.Current.RoamingFolder.Path;
#else
string strUserDir = Environment.GetFolderPath(
Environment.SpecialFolder.ApplicationData);
#endif
strUserDir = UrlUtil.EnsureTerminatingSeparator(strUserDir, false);
strUserDir += PwDefs.ShortProductName;
if (bCreate && !Directory.Exists(strUserDir))
Directory.CreateDirectory(strUserDir);
strUserDir = UrlUtil.EnsureTerminatingSeparator(strUserDir, false);
return strUserDir + UserKeyFileName;
}
private static byte[] LoadUserKey(bool bShowWarning)
private static byte[] LoadUserKey(bool bShowWarning)
{
byte[] pbKey = null;

View File

@@ -85,8 +85,8 @@ namespace keepass2android
{
if (!File.Exists(LogFilename))
{
File.Create(LogFilename);
_logToFile = true;
File.Create(LogFilename).Dispose();
_logToFile = true;
}
@@ -100,8 +100,7 @@ namespace keepass2android
int count = 0;
while (File.Exists(LogFilename + "." + count))
count++;
if (count > 0)
File.Move(LogFilename, LogFilename + "." + count);
File.Move(LogFilename, LogFilename + "." + count);
}
@@ -119,5 +118,10 @@ namespace keepass2android
sendIntent.SetType("text/plain");
ctx.StartActivity(Intent.CreateChooser(sendIntent, "Send log to..."));
}
}
public static void LogTask(object task, string activityName)
{
Log($"Task in activity {activityName} changed to {task?.GetType()?.Name ?? "null"}");
}
}
}

View File

@@ -302,7 +302,7 @@ namespace KeePassLib.Native
}
catch (Exception e)
{
Kp2aLog.Log(e.Message);
Kp2aLog.Log(e.ToString());
return false;
}

View File

@@ -485,12 +485,6 @@ namespace KeePassLib
set { m_pbHashOfLastIO = value; }
}
public bool UseFileTransactions
{
get { return m_bUseFileTransactions; }
set { m_bUseFileTransactions = value; }
}
public bool UseFileLocks
{
get { return m_bUseFileLocks; }
@@ -593,7 +587,7 @@ namespace KeePassLib
/// </summary>
/// <param name="ioConnection">IO connection of the new database.</param>
/// <param name="pwKey">Key to open the database.</param>
public void New(IOConnectionInfo ioConnection, CompositeKey pwKey)
public void New(IOConnectionInfo ioConnection, CompositeKey pwKey, string filenameWithoutPathAndExt)
{
Debug.Assert(ioConnection != null);
if(ioConnection == null) throw new ArgumentNullException("ioConnection");
@@ -608,26 +602,11 @@ namespace KeePassLib
m_bDatabaseOpened = true;
m_bModified = true;
m_pgRootGroup = new PwGroup(true, true,
UrlUtil.StripExtension(UrlUtil.GetFileName(ioConnection.Path)),
m_pgRootGroup = new PwGroup(true, true, filenameWithoutPathAndExt,
PwIcon.FolderOpen);
m_pgRootGroup.IsExpanded = true;
}
/// <summary>
/// Open a database. The URL may point to any supported data source.
/// </summary>
/// <param name="ioSource">IO connection to load the database from.</param>
/// <param name="pwKey">Key used to open the specified database.</param>
/// <param name="slLogger">Logger, which gets all status messages.</param>
public void Open(IOConnectionInfo ioSource, CompositeKey pwKey,
IStatusLogger slLogger, IDatabaseFormat format)
{
Open(IOConnection.OpenRead(ioSource), UrlUtil.StripExtension(
UrlUtil.GetFileName(ioSource.Path)), ioSource, pwKey, slLogger, format);
}
/// <summary>
/// Open a database. The URL may point to any supported data source.
@@ -675,37 +654,7 @@ namespace KeePassLib
throw;
}
}
/// <summary>
/// Save the currently opened database. The file is written to the location
/// it has been opened from.
/// </summary>
/// <param name="slLogger">Logger that recieves status information.</param>
public void Save(IStatusLogger slLogger)
{
Debug.Assert(!HasDuplicateUuids());
FileLock fl = null;
if(m_bUseFileLocks) fl = new FileLock(m_ioSource);
try
{
FileTransactionEx ft = new FileTransactionEx(m_ioSource,
m_bUseFileTransactions);
Stream s = ft.OpenWrite();
KdbxFile kdb = new KdbxFile(this);
kdb.Save(s, null, KdbpFile.GetFormatToUse(m_ioSource), slLogger);
ft.CommitWrite();
m_pbHashOfLastIO = kdb.HashOfFileOnDisk;
m_pbHashOfFileOnDisk = kdb.HashOfFileOnDisk;
Debug.Assert(m_pbHashOfFileOnDisk != null);
}
finally { if(fl != null) fl.Dispose(); }
m_bModified = false;
}
/// <summary>
/// Save the currently opened database. The file is written to the given stream which is expected to be the original location.
@@ -723,46 +672,6 @@ namespace KeePassLib
m_bModified = false;
}
/// <summary>
/// Save the currently opened database to a different location. If
/// <paramref name="bIsPrimaryNow" /> is <c>true</c>, the specified
/// location is made the default location for future saves
/// using <c>SaveDatabase</c>.
/// </summary>
/// <param name="ioConnection">New location to serialize the database to.</param>
/// <param name="bIsPrimaryNow">If <c>true</c>, the new location is made the
/// standard location for the database. If <c>false</c>, a copy of the currently
/// opened database is saved to the specified location, but it isn't
/// made the default location (i.e. no lock files will be moved for
/// example).</param>
/// <param name="slLogger">Logger that recieves status information.</param>
public void SaveAs(IOConnectionInfo ioConnection, bool bIsPrimaryNow,
IStatusLogger slLogger)
{
Debug.Assert(ioConnection != null);
if(ioConnection == null) throw new ArgumentNullException("ioConnection");
IOConnectionInfo ioCurrent = m_ioSource; // Remember current
m_ioSource = ioConnection;
byte[] pbHashCopy = m_pbHashOfFileOnDisk;
try { this.Save(slLogger); }
catch(Exception)
{
m_ioSource = ioCurrent; // Restore
m_pbHashOfFileOnDisk = pbHashCopy;
m_pbHashOfLastIO = null;
throw;
}
if(!bIsPrimaryNow)
{
m_ioSource = ioCurrent; // Restore
m_pbHashOfFileOnDisk = pbHashCopy;
}
}
/// <summary>
/// Closes the currently opened database. No confirmation message is shown

View File

@@ -360,5 +360,12 @@ namespace KeePassLib.Serialization
m_ioCredProtMode = IOCredProtMode.None;
}
}
public bool IsSameFileAs(IOConnectionInfo other)
{
if (other == null)
return false;
return Path == other.Path && UserName == other.UserName;
}
}
}

View File

@@ -23,7 +23,7 @@ using System.Diagnostics;
using System.IO;
using System.Text;
using System.Xml;
using keepass2android;
#if !KeePassUAP
using System.Drawing;
#endif
@@ -872,8 +872,17 @@ namespace KeePassLib.Serialization
pb = pb8;
}
long lSec = MemUtil.BytesToInt64(pb);
return new DateTime(lSec * TimeSpan.TicksPerSecond, DateTimeKind.Utc);
}
try
{
return new DateTime(lSec * TimeSpan.TicksPerSecond, DateTimeKind.Utc);
}
catch (System.ArgumentOutOfRangeException e)
{
//files might contain bad data, e.g. see #868. Fall back to MinValue
Kp2aLog.Log("Failed to read date from file.");
return DateTime.MinValue;
}
}
else
{
string str = ReadString(xr);

View File

@@ -581,7 +581,7 @@ namespace KeePassLib.Serialization
return vEntries; */
PwDatabase pd = new PwDatabase();
pd.New(new IOConnectionInfo(), new CompositeKey());
pd.New(new IOConnectionInfo(), new CompositeKey(), "");
KdbxFile f = new KdbxFile(pd);
f.Load(msData, KdbxFormat.PlainXml, null);

View File

@@ -1048,7 +1048,7 @@ namespace KeePassLib.Serialization
return true; */
PwDatabase pd = new PwDatabase();
pd.New(new IOConnectionInfo(), new CompositeKey());
pd.New(new IOConnectionInfo(), new CompositeKey(), "");
PwGroup pg = pd.RootGroup;
if (pg == null) { Debug.Assert(false); return false; }

View File

@@ -23,6 +23,7 @@ using System.Diagnostics;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Security;
using System.Text;
using System.Xml;
@@ -126,8 +127,8 @@ namespace KeePassLib.Serialization
/// </summary>
private const uint FileVersion32 = 0x00040000;
internal const uint FileVersion32_4 = 0x00040000; // First of 4.x series
internal const uint FileVersion32_3 = 0x00030001; // Old format 3.1
public const uint FileVersion32_4 = 0x00040000; // First of 4.x series
public const uint FileVersion32_3 = 0x00030001; // Old format 3.1
private const uint FileVersionCriticalMask = 0xFFFF0000;
@@ -372,16 +373,22 @@ namespace KeePassLib.Serialization
{
if(m_uForceVersion != 0) return m_uForceVersion;
// See also KeePassKdb2x3.Export (KDBX 3.1 export module)
// See also KeePassKdb2x3.Export (KDBX 3.1 export module)
uint minVersionForKeys = m_pwDatabase.MasterKey.UserKeys.Select(key => key.GetMinKdbxVersion()).Max();
AesKdf kdfAes = new AesKdf();
uint minRequiredVersion = Math.Max(minVersionForKeys, m_uFileVersion); //don't save a version lower than what we read
AesKdf kdfAes = new AesKdf();
if(!kdfAes.Uuid.Equals(m_pwDatabase.KdfParameters.KdfUuid))
return FileVersion32;
return Math.Max(FileVersion32, minRequiredVersion);
if(m_pwDatabase.PublicCustomData.Count > 0)
return FileVersion32;
return Math.Max(FileVersion32, minRequiredVersion);
bool bCustomData = false;
bool bCustomData = false;
GroupHandler gh = delegate(PwGroup pg)
{
if(pg == null) { Debug.Assert(false); return true; }
@@ -396,9 +403,10 @@ namespace KeePassLib.Serialization
};
gh(m_pwDatabase.RootGroup);
m_pwDatabase.RootGroup.TraverseTree(TraversalMethod.PreOrder, gh, eh);
if(bCustomData) return FileVersion32;
if(bCustomData)
return Math.Max(FileVersion32, minRequiredVersion);
return FileVersion32_3; // KDBX 3.1 is sufficient
return Math.Max(FileVersion32_3, minRequiredVersion); ; // KDBX 3.1 is sufficient
}
private void ComputeKeys(out byte[] pbCipherKey, int cbCipherKey,

View File

@@ -26,11 +26,11 @@ namespace KeePassLib.Serialization
/// <summary>
/// Determines whether the database pointed to by the specified ioc should be (de)serialised in default (xml) or protocol buffers format.
/// </summary>
public static KdbxFormat GetFormatToUse(IOConnectionInfo ioc)
public static KdbxFormat GetFormatToUse(string fileExt)
{
// If the filename ends in .kdbp, use ProtocolBuffers format.
return UrlUtil.GetExtension(UrlUtil.GetFileName(ioc.Path)).Equals(KdbpFile.FileNameExtension, StringComparison.OrdinalIgnoreCase) ? KdbxFormat.ProtocolBuffers : KdbxFormat.Default;
}
return fileExt.Equals(KdbpFile.FileNameExtension, StringComparison.OrdinalIgnoreCase) ? KdbxFormat.ProtocolBuffers :
(fileExt.Equals("xml", StringComparison.OrdinalIgnoreCase) ? KdbxFormat.PlainXml : KdbxFormat.Default);
}
public static void WriteDocument(PwDatabase database, Stream stream, byte[] protectedStreamKey, byte[] hashOfHeader)
{

View File

@@ -37,7 +37,7 @@ namespace KeePassLib.Utility
/// </summary>
public static class MemUtil
{
internal static readonly byte[] EmptyByteArray = new byte[0];
public static readonly byte[] EmptyByteArray = new byte[0];
private static readonly uint[] m_vSBox = new uint[256] {
0xCD2FACB3, 0xE78A7F5C, 0x6F0803FC, 0xBCF6E230,

View File

@@ -1734,5 +1734,24 @@ namespace KeePassLib.Utility
// behavior of Notepad (on Windows 10)
return str.Replace('\0', ' ');
}
internal static string RemoveWhiteSpace(string str)
{
if (str == null) { Debug.Assert(false); return string.Empty; }
int cc = str.Length;
if (cc == 0) return string.Empty;
StringBuilder sb = new StringBuilder();
for (int i = 0; i < cc; ++i)
{
char ch = str[i];
if (char.IsWhiteSpace(ch)) continue;
sb.Append(ch);
}
return sb.ToString();
}
}
}

View File

@@ -0,0 +1,290 @@
/*
KeePass Password Safe - The Open-Source Password Manager
Copyright (C) 2003-2021 Dominik Reichl <dominik.reichl@t-online.de>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
using System.Xml.XPath;
using KeePassLib.Delegates;
using KeePassLib.Interfaces;
using KeePassLib.Serialization;
namespace KeePassLib.Utility
{
public static class XmlUtilEx
{
public static XmlDocument CreateXmlDocument()
{
XmlDocument d = new XmlDocument();
// .NET 4.5.2 and newer do not resolve external XML resources
// by default; for older .NET versions, we explicitly
// prevent resolving
d.XmlResolver = null; // Default in old .NET: XmlUrlResolver object
return d;
}
public static XmlReaderSettings CreateXmlReaderSettings()
{
XmlReaderSettings xrs = new XmlReaderSettings();
xrs.CloseInput = false;
xrs.IgnoreComments = true;
xrs.IgnoreProcessingInstructions = true;
xrs.IgnoreWhitespace = true;
#if KeePassUAP
xrs.DtdProcessing = DtdProcessing.Prohibit;
#else
// Also see PrepMonoDev.sh script
xrs.ProhibitDtd = true; // Obsolete in .NET 4, but still there
// xrs.DtdProcessing = DtdProcessing.Prohibit; // .NET 4 only
#endif
xrs.ValidationType = ValidationType.None;
xrs.XmlResolver = null;
return xrs;
}
public static XmlReader CreateXmlReader(Stream s)
{
if(s == null) { Debug.Assert(false); throw new ArgumentNullException("s"); }
return XmlReader.Create(s, CreateXmlReaderSettings());
}
public static XmlWriterSettings CreateXmlWriterSettings()
{
XmlWriterSettings xws = new XmlWriterSettings();
xws.CloseOutput = false;
xws.Encoding = StrUtil.Utf8;
xws.Indent = true;
xws.IndentChars = "\t";
xws.NewLineOnAttributes = false;
return xws;
}
public static XmlWriter CreateXmlWriter(Stream s)
{
if(s == null) { Debug.Assert(false); throw new ArgumentNullException("s"); }
return XmlWriter.Create(s, CreateXmlWriterSettings());
}
public static T Deserialize<T>(Stream s)
{
if(s == null) { Debug.Assert(false); throw new ArgumentNullException("s"); }
XmlSerializer xs = new XmlSerializer(typeof(T));
T t = default(T);
using(XmlReader xr = CreateXmlReader(s))
{
t = (T)xs.Deserialize(xr);
}
return t;
}
public static void Serialize<T>(Stream s, T t)
{
if(s == null) { Debug.Assert(false); throw new ArgumentNullException("s"); }
XmlSerializer xs = new XmlSerializer(typeof(T));
using(XmlWriter xw = CreateXmlWriter(s))
{
xs.Serialize(xw, t);
}
}
internal static void Serialize<T>(Stream s, T t, bool bRemoveXsdXsi)
{
// One way to remove the "xsd" and "xsi" namespace declarations
// is to use an XmlSerializerNamespaces object containing only
// a ""/"" pair; this seems to work, but Microsoft's
// documentation explicitly states that it isn't supported:
// https://docs.microsoft.com/en-us/dotnet/api/system.xml.serialization.xmlserializernamespaces
// There are other, more complex ways, but these either rely on
// undocumented details or require the type T to be modified.
string str;
using(MemoryStream ms = new MemoryStream())
{
Serialize<T>(ms, t);
str = StrUtil.Utf8.GetString(ms.ToArray());
}
Func<string, string, bool> fFindPfx = delegate(string strText, string strSub)
{
int i = strText.IndexOf(strSub, StringComparison.Ordinal);
if(i < 0) return false;
if(i == 0) return true;
return char.IsWhiteSpace(strText[i - 1]);
};
if(bRemoveXsdXsi)
{
if(!fFindPfx(str, "xsd:") && !fFindPfx(str, "xsi:"))
{
Debug.Assert(str.IndexOf("xmlns:xsd") > 0);
str = str.Replace(" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"", string.Empty);
Debug.Assert(str.IndexOf("xmlns:xsd") < 0);
Debug.Assert(str.IndexOf("xmlns:xsi") > 0);
str = str.Replace(" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"", string.Empty);
Debug.Assert(str.IndexOf("xmlns:xsi") < 0);
}
else { Debug.Assert(false); } // "xsd"/"xsi" decl. may be required
}
MemUtil.Write(s, StrUtil.Utf8.GetBytes(str));
}
#if DEBUG
internal static void ValidateXml(string strXml, bool bReplaceStdEntities)
{
if(strXml == null) throw new ArgumentNullException("strXml");
if(strXml.Length == 0) { Debug.Assert(false); return; }
string str = strXml;
if(bReplaceStdEntities)
str = str.Replace("&nbsp;", "&#160;");
XmlDocument d = new XmlDocument();
d.LoadXml(str);
}
#endif
internal static XPathNodeIterator FindNodes(PwDatabase pd, string strXPath,
IStatusLogger sl, out XmlDocument xd)
{
if(pd == null) throw new ArgumentNullException("pd");
if(strXPath == null) { Debug.Assert(false); strXPath = string.Empty; }
KdbxFile kdbx = new KdbxFile(pd);
byte[] pbXml;
using(MemoryStream ms = new MemoryStream())
{
kdbx.Save(ms, null, KdbxFormat.PlainXml, sl);
pbXml = ms.ToArray();
}
string strXml = StrUtil.Utf8.GetString(pbXml);
xd = CreateXmlDocument();
xd.LoadXml(strXml);
XPathNavigator xpNav = xd.CreateNavigator();
return xpNav.Select(strXPath);
// XPathExpression xpExpr = xpNav.Compile(strXPath);
// xpExpr.SetContext(new XuXsltContext());
// return xpNav.Select(xpExpr);
}
/* private sealed class XuFnMatches : IXsltContextFunction
{
private readonly XPathResultType[] m_vArgTypes = new XPathResultType[] {
XPathResultType.String, XPathResultType.String, XPathResultType.String
};
public XPathResultType[] ArgTypes { get { return m_vArgTypes; } }
public int Maxargs { get { return 3; } }
public int Minargs { get { return 2; } }
public XPathResultType ReturnType { get { return XPathResultType.Boolean; } }
private static string GetArgString(object[] args, int i, string strDefault)
{
if(args == null) { Debug.Assert(false); return strDefault; }
if(i >= args.Length) return strDefault;
object o = args[i];
if(o == null) return strDefault;
XPathNodeIterator it = (o as XPathNodeIterator);
if(it != null) o = it.Current.Value;
return (o.ToString() ?? strDefault);
}
public object Invoke(XsltContext xsltContext, object[] args,
XPathNavigator docContext)
{
string strInput = GetArgString(args, 0, string.Empty);
string strPattern = GetArgString(args, 1, string.Empty);
string strFlags = GetArgString(args, 2, null);
RegexOptions ro = RegexOptions.None;
if(!string.IsNullOrEmpty(strFlags))
{
if(strFlags.IndexOf('s') >= 0) ro |= RegexOptions.Singleline;
if(strFlags.IndexOf('m') >= 0) ro |= RegexOptions.Multiline;
if(strFlags.IndexOf('i') >= 0) ro |= RegexOptions.IgnoreCase;
if(strFlags.IndexOf('x') >= 0) ro |= RegexOptions.IgnorePatternWhitespace;
}
return Regex.IsMatch(strInput, strPattern, ro);
}
}
private sealed class XuXsltContext : XsltContext
{
public override bool Whitespace { get { return false; } }
public override int CompareDocument(string baseUri, string nextbaseUri)
{
return string.CompareOrdinal(baseUri, nextbaseUri);
}
public override bool PreserveWhitespace(XPathNavigator node)
{
return false;
}
public override IXsltContextFunction ResolveFunction(string prefix,
string name, XPathResultType[] ArgTypes)
{
if(prefix != "kp") { Debug.Assert(false); return null; }
if(name == "matches") return new XuFnMatches();
Debug.Assert(false);
return null;
}
public override IXsltContextVariable ResolveVariable(string prefix,
string name)
{
Debug.Assert(false);
return null;
}
} */
}
}

View File

@@ -0,0 +1,47 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using keepass2android.Io;
using KeePassLib;
using KeePassLib.Interfaces;
using KeePassLib.Utility;
namespace keepass2android
{
public class ElementAndDatabaseId
{
private const char Separator = '+';
public ElementAndDatabaseId(Database db, IStructureItem element)
{
DatabaseId = db.IocAsHexString();
ElementIdString = element.Uuid.ToHexString();
}
public ElementAndDatabaseId(string fullId)
{
string[] parts = fullId.Split(Separator);
if (parts.Length != 2)
throw new Exception("Invalid full id " + fullId);
DatabaseId = parts[0];
ElementIdString = parts[1];
}
public string DatabaseId { get; set; }
public string ElementIdString { get; set; }
public PwUuid ElementId { get { return new PwUuid(MemUtil.HexStringToByteArray(ElementIdString));} }
public string FullId
{
get { return DatabaseId + Separator + ElementIdString; }
}
}
}

View File

@@ -1,4 +1,5 @@
using System;
using System.Collections.Generic;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using Android.App;
@@ -9,7 +10,8 @@ using KeePassLib;
using KeePassLib.Keys;
using KeePassLib.Serialization;
using keepass2android.Io;
#if !NoNet
using KeePassLib.Interfaces;
#if !NoNet && !EXCLUDE_JAVAFILESTORAGE
using Keepass2android.Javafilestorage;
#endif
@@ -27,37 +29,47 @@ namespace keepass2android
}
/// <summary>
/// <summary>
/// Interface through which Activities and the logic layer can access some app specific functionalities and Application static data
/// </summary>
/// This also contains methods which are UI specific and should be replacable for testing.
public interface IKp2aApp : ICertificateValidationHandler
{
/// <summary>
/// Locks the currently open database, quicklocking if available (unless false is passed for allowQuickUnlock)
/// </summary>
void LockDatabase(bool allowQuickUnlock = true);
/// <summary>
/// Locks all currently open databases, quicklocking if available (unless false is passed for allowQuickUnlock)
/// </summary>
void Lock(bool allowQuickUnlock, bool lockWasTriggeredByTimeout);
/// <summary>
/// Loads the specified data as the currently open database, as unlocked.
/// </summary>
void LoadDatabase(IOConnectionInfo ioConnectionInfo, MemoryStream memoryStream, CompositeKey compKey,
ProgressDialogStatusLogger statusLogger, IDatabaseFormat databaseFormat);
/// <summary>
/// Returns the current database
/// </summary>
Database GetDb();
/// <summary>
/// Loads the specified data as the currently open database, as unlocked.
/// </summary>
Database LoadDatabase(IOConnectionInfo ioConnectionInfo, MemoryStream memoryStream, CompositeKey compKey, ProgressDialogStatusLogger statusLogger, IDatabaseFormat databaseFormat, bool makeCurrent);
/// <summary>
/// Tell the app that the file from ioc was opened with keyfile.
/// </summary>
void StoreOpenedFileAsRecent(IOConnectionInfo ioc, string keyfile, string displayName = "");
HashSet<PwGroup> DirtyGroups { get; }
void MarkAllGroupsAsDirty();
/// <summary>
/// Returns the current database
/// </summary>
Database CurrentDb { get; }
IEnumerable<Database> OpenDatabases { get; }
void CloseDatabase(Database db);
Database FindDatabaseForElement(IStructureItem element);
/// <summary>
/// Tell the app that the file from ioc was opened with keyfile.
/// </summary>
void StoreOpenedFileAsRecent(IOConnectionInfo ioc, string keyfile, bool updateTimestamp, string displayName = "");
/// <summary>
/// Creates a new database and returns it
/// </summary>
Database CreateNewDatabase();
Database CreateNewDatabase(bool makeCurrent);
/// <summary>
/// Returns the user-displayable string identified by stringKey
@@ -76,7 +88,8 @@ namespace keepass2android
EventHandler<DialogClickEventArgs> yesHandler,
EventHandler<DialogClickEventArgs> noHandler,
EventHandler<DialogClickEventArgs> cancelHandler,
Context ctx);
Context ctx,
string messageSuffix = "");
/// <summary>
/// Asks the user the question "messageKey" with the options Yes/No/Cancel, but the yes/no strings can be selected freely, calls the handler corresponding to the answer.
@@ -86,7 +99,8 @@ namespace keepass2android
EventHandler<DialogClickEventArgs> yesHandler,
EventHandler<DialogClickEventArgs> noHandler,
EventHandler<DialogClickEventArgs> cancelHandler,
Context ctx);
Context ctx,
string messageSuffix = "");
/// <summary>
/// Returns a Handler object which can run tasks on the UI thread
@@ -109,8 +123,12 @@ namespace keepass2android
bool CheckForDuplicateUuids { get; }
#if !NoNet
#if !NoNet && !EXCLUDE_JAVAFILESTORAGE
ICertificateErrorHandler CertificateErrorHandler { get; }
#endif
}
}

View File

@@ -82,7 +82,12 @@ namespace keepass2android.Io
UrlUtil.GetFileName(ioc.Path));
}
public bool RequiresCredentials(IOConnectionInfo ioc)
public string GetFileExtension(IOConnectionInfo ioc)
{
return UrlUtil.GetExtension(ioc.Path);
}
public bool RequiresCredentials(IOConnectionInfo ioc)
{
return false;
}
@@ -207,8 +212,7 @@ namespace keepass2android.Io
public IOConnectionInfo GetParentPath(IOConnectionInfo ioc)
{
//TODO: required for OTP Aux file retrieval
throw new NotImplementedException();
return IoUtil.GetParentPath(ioc);
}
public IOConnectionInfo GetFilePath(IOConnectionInfo folderPath, string filename)
@@ -266,7 +270,7 @@ namespace keepass2android.Io
}
else return false;
}
else throw new Exception("couldn't move to first result element: " + (cursor == null) + uri.ToString());
else return false;
}
catch (Exception e)
{
@@ -329,12 +333,13 @@ namespace keepass2android.Io
public void CommitWrite()
{
ParcelFileDescriptor fileDescriptor = _ctx.ContentResolver.OpenFileDescriptor(Android.Net.Uri.Parse(_path), "w");
ParcelFileDescriptor fileDescriptor = _ctx.ContentResolver.OpenFileDescriptor(Android.Net.Uri.Parse(_path), "rwt");
using (var outputStream = new FileOutputStream(fileDescriptor.FileDescriptor))
{
byte[] data = _memoryStream.ToArray();
outputStream.Write(data, 0, data.Length);
outputStream.Write(data);
outputStream.Close();
}
fileDescriptor.Close();

View File

@@ -12,13 +12,10 @@ using Android.Content;
using Android.Content.PM;
using Android.OS;
using Android.Preferences;
using Android.Support.V13.App;
using Android.Support.V4.App;
using Java.IO;
using Java.Util;
using Android.Support.V4;
using KeePassLib.Serialization;
using KeePassLib.Utility;
using ActivityCompat = Android.Support.V13.App.ActivityCompat;
using File = System.IO.File;
using FileNotFoundException = System.IO.FileNotFoundException;
using IOException = System.IO.IOException;
@@ -204,7 +201,12 @@ namespace keepass2android.Io
}
public bool RequiresCredentials(IOConnectionInfo ioc)
public string GetFileExtension(IOConnectionInfo ioc)
{
return UrlUtil.GetExtension(ioc.Path);
}
public bool RequiresCredentials(IOConnectionInfo ioc)
{
return (!ioc.IsLocalFile()) && (ioc.CredSaveMode != IOCredSaveMode.SaveCred);
}
@@ -255,7 +257,8 @@ namespace keepass2android.Io
if (ioc.IsLocalFile())
{
bool requiresPermission = !(ioc.Path.StartsWith(activity.Activity.FilesDir.CanonicalPath)
|| ioc.Path.StartsWith(IoUtil.GetInternalDirectory(activity.Activity).CanonicalPath));
|| ioc.Path.StartsWith(IoUtil.GetInternalDirectory(activity.Activity).CanonicalPath)
|| ioc.Path.StartsWith(IoUtil.GetInternalDirectory(activity.Activity).CanonicalPath));
var extDirectory = activity.Activity.GetExternalFilesDir(null);
if ((extDirectory != null) && (ioc.Path.StartsWith(extDirectory.CanonicalPath)))

View File

@@ -65,22 +65,28 @@ namespace keepass2android.Io
protected readonly OfflineSwitchableFileStorage _cachedStorage;
private readonly ICacheSupervisor _cacheSupervisor;
private readonly string _streamCacheDir;
private readonly string _legacyCacheDir;
private readonly string _cacheDir;
public CachingFileStorage(IFileStorage cachedStorage, string cacheDir, ICacheSupervisor cacheSupervisor)
public CachingFileStorage(IFileStorage cachedStorage, Context cacheDirContext, ICacheSupervisor cacheSupervisor)
{
_cachedStorage = new OfflineSwitchableFileStorage(cachedStorage);
_cacheSupervisor = cacheSupervisor;
_streamCacheDir = cacheDir + Java.IO.File.Separator + "OfflineCache" + Java.IO.File.Separator;
if (!Directory.Exists(_streamCacheDir))
Directory.CreateDirectory(_streamCacheDir);
}
_legacyCacheDir = cacheDirContext.CacheDir.Path + Java.IO.File.Separator + "OfflineCache" + Java.IO.File.Separator;
if (!Directory.Exists(_legacyCacheDir))
Directory.CreateDirectory(_legacyCacheDir);
_cacheDir = IoUtil.GetInternalDirectory(cacheDirContext).Path + Java.IO.File.Separator + "OfflineCache" + Java.IO.File.Separator;
if (!Directory.Exists(_cacheDir))
Directory.CreateDirectory(_cacheDir);
}
public void ClearCache()
{
IoUtil.DeleteDir(new Java.IO.File(_streamCacheDir), true);
}
IoUtil.DeleteDir(new Java.IO.File(_legacyCacheDir), true);
IoUtil.DeleteDir(new Java.IO.File(_cacheDir), true);
}
public IEnumerable<string> SupportedProtocols { get { return _cachedStorage.SupportedProtocols; } }
@@ -105,15 +111,23 @@ namespace keepass2android.Io
{
SHA256Managed sha256 = new SHA256Managed();
string iocAsHexString = MemUtil.ByteArrayToHexString(sha256.ComputeHash(Encoding.Unicode.GetBytes(ioc.Path.ToCharArray())))+".cache";
return _streamCacheDir + iocAsHexString;
if (File.Exists(_legacyCacheDir + iocAsHexString))
return _legacyCacheDir + iocAsHexString;
return _cacheDir + iocAsHexString;
}
public bool IsCached(IOConnectionInfo ioc)
{
return File.Exists(CachedFilePath(ioc))
bool result = File.Exists(CachedFilePath(ioc))
&& File.Exists(VersionFilePath(ioc))
&& File.Exists(BaseVersionFilePath(ioc));
}
Kp2aLog.Log(ioc.GetDisplayName() + " isCached = " + result);
return result;
}
public void Delete(IOConnectionInfo ioc)
{
@@ -168,7 +182,9 @@ namespace keepass2android.Io
if (!IsCached(ioc))
throw;
Kp2aLog.Log("couldn't open from remote " + ioc.Path);
#if DEBUG
Kp2aLog.Log("couldn't open from remote " + ioc.Path);
#endif
Kp2aLog.Log(ex.ToString());
_cacheSupervisor.CouldntOpenFromRemote(ioc, ex);
@@ -436,7 +452,12 @@ namespace keepass2android.Io
return _cachedStorage.GetFilenameWithoutPathAndExt(ioc);
}
public bool RequiresCredentials(IOConnectionInfo ioc)
public string GetFileExtension(IOConnectionInfo ioc)
{
return _cachedStorage.GetFileExtension(ioc);
}
public bool RequiresCredentials(IOConnectionInfo ioc)
{
return _cachedStorage.RequiresCredentials(ioc);
}
@@ -576,11 +597,15 @@ namespace keepass2android.Io
public string GetBaseVersionHash(IOConnectionInfo ioc)
{
return File.ReadAllText(BaseVersionFilePath(ioc));
}
string hash = File.ReadAllText(BaseVersionFilePath(ioc));
Kp2aLog.Log(ioc.GetDisplayName() + " baseVersionHash = " + hash);
return hash;
}
public string GetLocalVersionHash(IOConnectionInfo ioc)
{
return File.ReadAllText(VersionFilePath(ioc));
string hash = File.ReadAllText(VersionFilePath(ioc));
Kp2aLog.Log(ioc.GetDisplayName() + " localVersionHash = " + hash);
return hash;
}
public bool HasLocalChanges(IOConnectionInfo ioc)
{

View File

@@ -88,11 +88,13 @@ namespace keepass2android.Io
IWriteTransaction OpenWriteTransaction(IOConnectionInfo ioc, bool useFileTransaction);
string GetFilenameWithoutPathAndExt(IOConnectionInfo ioc);
/// <summary>
/// Returns true if the the given ioc must be filled with username/password
/// </summary>
bool RequiresCredentials(IOConnectionInfo ioc);
string GetFileExtension(IOConnectionInfo ioc);
/// <summary>
/// Returns true if the the given ioc must be filled with username/password
/// </summary>
bool RequiresCredentials(IOConnectionInfo ioc);
/// <summary>
/// Creates the directory described by ioc

View File

@@ -128,10 +128,12 @@ namespace keepass2android.Io
}
//creates a local ioc where the sourceIoc can be stored to
public static IOConnectionInfo GetInternalIoc(IOConnectionInfo sourceIoc, Context ctx)
public static IOConnectionInfo GetInternalIoc(IOConnectionInfo sourceIoc, Context ctx, IKp2aApp app)
{
Java.IO.File internalDirectory = IoUtil.GetInternalDirectory(ctx);
string targetPath = UrlUtil.GetFileName(sourceIoc.Path);
var filestorage = app.GetFileStorage(sourceIoc);
string targetPath = filestorage.GetFilenameWithoutPathAndExt(sourceIoc);
targetPath = targetPath.Trim("|\\?*<\":>+[]/'".ToCharArray());
if (targetPath == "")
targetPath = "internal";
@@ -153,7 +155,7 @@ namespace keepass2android.Io
public static IOConnectionInfo ImportFileToInternalDirectory(IOConnectionInfo sourceIoc, Context ctx, IKp2aApp app)
{
var targetIoc = GetInternalIoc(sourceIoc, ctx);
var targetIoc = GetInternalIoc(sourceIoc, ctx, app);
IoUtil.Copy(targetIoc, sourceIoc, app);

View File

@@ -177,7 +177,12 @@ namespace keepass2android.Io
_jfs.GetFilename(IocToPath(ioc)));
}
public bool RequiresCredentials(IOConnectionInfo ioc)
public string GetFileExtension(IOConnectionInfo ioc)
{
return UrlUtil.GetExtension(ioc.Path);
}
public bool RequiresCredentials(IOConnectionInfo ioc)
{
return false;
}
@@ -233,7 +238,6 @@ namespace keepass2android.Io
public FileDescription GetFileDescription(IOConnectionInfo ioc)
{
Kp2aLog.Log("GetFileDescription "+ioc.Path);
try
{
return ConvertToFileDescription(Jfs.GetFileEntry(IocToPath(ioc)));
@@ -302,7 +306,9 @@ namespace keepass2android.Io
public void OnResume(IFileStorageSetupActivity activity)
{
#if DEBUG
Kp2aLog.Log("JFS/OnResume Ioc.Path=" +activity.Ioc.Path+". Path="+((IJavaFileStorageFileStorageSetupActivity)activity).Path);
#endif
_jfs.OnResume(((IJavaFileStorageFileStorageSetupActivity) activity));
}
@@ -366,4 +372,4 @@ namespace keepass2android.Io
}
}
#endif
}
}

View File

@@ -3,12 +3,12 @@ using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.FtpClient;
using System.Reflection;
using System.Threading;
using Android.Content;
using Android.OS;
using Android.Preferences;
using FluentFTP;
using KeePassLib;
using KeePassLib.Serialization;
using KeePassLib.Utility;
@@ -17,73 +17,6 @@ namespace keepass2android.Io
{
public class NetFtpFileStorage: IFileStorage
{
class RetryConnectFtpClient : FtpClient
{
protected override FtpClient CloneConnection()
{
RetryConnectFtpClient conn = new RetryConnectFtpClient();
conn.m_isClone = true;
foreach (PropertyInfo prop in GetType().GetProperties())
{
object[] attributes = prop.GetCustomAttributes(typeof(FtpControlConnectionClone), true);
if (attributes != null && attributes.Length > 0)
{
prop.SetValue(conn, prop.GetValue(this, null), null);
}
}
// always accept certficate no matter what because if code execution ever
// gets here it means the certificate on the control connection object being
// cloned was already accepted.
conn.ValidateCertificate += new FtpSslValidation(
delegate(FtpClient obj, FtpSslValidationEventArgs e)
{
e.Accept = true;
});
return conn;
}
private static T DoInRetryLoop<T>(Func<T> func)
{
double timeout = 30.0;
double timePerRequest = 1.0;
var startTime = DateTime.Now;
while (true)
{
var attemptStartTime = DateTime.Now;
try
{
return func();
}
catch (System.Net.Sockets.SocketException e)
{
if ((e.ErrorCode != 10061) || (DateTime.Now > startTime.AddSeconds(timeout)))
{
throw;
}
double secondsSinceAttemptStart = (DateTime.Now - attemptStartTime).TotalSeconds;
if (secondsSinceAttemptStart < timePerRequest)
{
Thread.Sleep(TimeSpan.FromSeconds(timePerRequest - secondsSinceAttemptStart));
}
}
}
}
public override void Connect()
{
DoInRetryLoop(() =>
{
base.Connect();
return true;
}
);
}
}
public struct ConnectionSettings
{
public FtpEncryptionMode EncryptionMode {get; set; }
@@ -147,9 +80,8 @@ namespace keepass2android.Io
public NetFtpFileStorage(Context context, ICertificateValidationHandler app)
{
_app = app;
_app = app;
traceStream = new MemoryStream();
FtpTrace.AddListener(new System.Diagnostics.TextWriterTraceListener(traceStream));
}
@@ -172,9 +104,9 @@ namespace keepass2android.Io
{
using (FtpClient client = GetClient(ioc))
{
string localPath = IocToUri(ioc).PathAndQuery;
string localPath = IocToLocalPath(ioc);
if (client.DirectoryExists(localPath))
client.DeleteDirectory(localPath, true);
client.DeleteDirectory(localPath);
else
client.DeleteFile(localPath);
}
@@ -205,7 +137,8 @@ namespace keepass2android.Io
{
var settings = ConnectionSettings.FromIoc(ioc);
FtpClient client = new RetryConnectFtpClient();
FtpClient client = new FtpClient();
client.RetryAttempts = 3;
if ((settings.Username.Length > 0) || (settings.Password.Length > 0))
client.Credentials = new NetworkCredential(settings.Username, settings.Password);
else
@@ -250,20 +183,22 @@ namespace keepass2android.Io
path = path.Substring(settings.Length + 1);
}
return new Uri(scheme + "://" + path);
Kp2aLog.Log("FTP: IocToUri out = " + scheme + "://" + path);
return new Uri(scheme + "://" + path);
}
private string IocPathFromUri(IOConnectionInfo baseIoc, Uri uri)
private string IocPathFromUri(IOConnectionInfo baseIoc, string uri)
{
string basePath = baseIoc.Path;
string basePath = baseIoc.Path;
int schemeLength = basePath.IndexOf("://", StringComparison.Ordinal);
string scheme = basePath.Substring(0, schemeLength);
basePath = basePath.Substring(schemeLength + 3);
string baseSettings = basePath.Substring(0, basePath.IndexOf(ConnectionSettings.SettingsPostFix, StringComparison.Ordinal));
basePath = basePath.Substring(baseSettings.Length+1);
string baseHost = basePath.Substring(0, basePath.IndexOf("/", StringComparison.Ordinal));
return scheme + "://" + baseSettings + ConnectionSettings.SettingsPostFix + baseHost + uri.AbsolutePath; //TODO does this contain Query?
}
string result = scheme + "://" + baseSettings + ConnectionSettings.SettingsPostFix + baseHost + uri; //TODO does this contain Query?
return result;
}
public bool CheckForFileChangeFast(IOConnectionInfo ioc, string previousFileVersion)
@@ -281,9 +216,12 @@ namespace keepass2android.Io
try
{
using (var cl = GetClient(ioc))
{
return cl.OpenRead(IocToUri(ioc).PathAndQuery, FtpDataType.Binary, 0);
}
{
var memStream = new MemoryStream();
cl.OpenRead(IocToLocalPath(ioc), FtpDataType.Binary, 0).CopyTo(memStream);
memStream.Seek(0, SeekOrigin.Begin);
return memStream;
}
}
catch (FtpCommandException ex)
{
@@ -314,7 +252,12 @@ namespace keepass2android.Io
UrlUtil.GetFileName(ioc.Path));
}
public bool RequiresCredentials(IOConnectionInfo ioc)
public string GetFileExtension(IOConnectionInfo ioc)
{
return UrlUtil.GetExtension(ioc.Path);
}
public bool RequiresCredentials(IOConnectionInfo ioc)
{
return false;
}
@@ -325,7 +268,7 @@ namespace keepass2android.Io
{
using (var client = GetClient(ioc))
{
client.CreateDirectory(IocToUri(GetFilePath(ioc, newDirName)).PathAndQuery);
client.CreateDirectory(IocToLocalPath(GetFilePath(ioc, newDirName)));
}
}
catch (FtpCommandException ex)
@@ -334,14 +277,19 @@ namespace keepass2android.Io
}
}
public IEnumerable<FileDescription> ListContents(IOConnectionInfo ioc)
public static string IocToLocalPath(IOConnectionInfo ioc)
{
return WebUtility.UrlDecode(IocToUri(ioc).PathAndQuery);
}
public IEnumerable<FileDescription> ListContents(IOConnectionInfo ioc)
{
try
{
using (var client = GetClient(ioc))
using (var client = GetClient(ioc))
{
List<FileDescription> files = new List<FileDescription>();
foreach (FtpListItem item in client.GetListing(IocToUri(ioc).PathAndQuery,
foreach (FtpListItem item in client.GetListing(IocToLocalPath(ioc),
FtpListOption.Modify | FtpListOption.Size | FtpListOption.DerefLinks))
{
@@ -355,7 +303,7 @@ namespace keepass2android.Io
DisplayName = item.Name,
IsDirectory = true,
LastModified = item.Modified,
Path = IocPathFromUri(ioc, new Uri(item.FullName))
Path = IocPathFromUri(ioc, item.FullName)
});
break;
case FtpFileSystemObjectType.File:
@@ -366,7 +314,7 @@ namespace keepass2android.Io
DisplayName = item.Name,
IsDirectory = false,
LastModified = item.Modified,
Path = IocPathFromUri(ioc, new Uri(item.FullName)),
Path = IocPathFromUri(ioc, item.FullName),
SizeInBytes = item.Size
});
break;
@@ -391,10 +339,10 @@ namespace keepass2android.Io
//is it very inefficient to connect for each description?
using (FtpClient client = GetClient(ioc))
{
var uri = IocToUri(ioc);
string path = uri.PathAndQuery;
{
string path = IocToLocalPath(ioc);
if (!client.FileExists(path) && (!client.DirectoryExists(path)))
throw new FileNotFoundException();
var fileDesc = new FileDescription()
@@ -506,7 +454,7 @@ namespace keepass2android.Io
{
using (var client = GetClient(ioc))
{
return client.OpenWrite(IocToUri(ioc).PathAndQuery);
return client.OpenWrite(IocToLocalPath(ioc));
}
}
@@ -575,7 +523,7 @@ namespace keepass2android.Io
{
_client = _fileStorage.GetClient(_ioc, false);
_stream = _client.OpenWrite(NetFtpFileStorage.IocToUri(_iocTemp).PathAndQuery);
_stream = _client.OpenWrite(NetFtpFileStorage.IocToLocalPath(_iocTemp));
return _stream;
}
catch (FtpCommandException ex)
@@ -590,22 +538,11 @@ namespace keepass2android.Io
{
Android.Util.Log.Debug("NETFTP","connected: " + _client.IsConnected.ToString());
_stream.Close();
Android.Util.Log.Debug("NETFTP", "connected: " + _client.IsConnected.ToString());
_stream.Dispose();
_client.GetReply();
//make sure target file does not exist:
//try
{
if (_client.FileExists(NetFtpFileStorage.IocToUri(_ioc).PathAndQuery))
_client.DeleteFile(NetFtpFileStorage.IocToUri(_ioc).PathAndQuery);
}
//catch (FtpCommandException)
{
//TODO get a new clien? might be stale
}
_client.Rename(NetFtpFileStorage.IocToUri(_iocTemp).PathAndQuery,
NetFtpFileStorage.IocToUri(_ioc).PathAndQuery);
_client.MoveFile(NetFtpFileStorage.IocToLocalPath(_iocTemp),
NetFtpFileStorage.IocToLocalPath(_ioc));
}
catch (FtpCommandException ex)

View File

@@ -78,7 +78,12 @@ namespace keepass2android.Io
return _baseStorage.GetFilenameWithoutPathAndExt(ioc);
}
public bool RequiresCredentials(IOConnectionInfo ioc)
public string GetFileExtension(IOConnectionInfo ioc)
{
return _baseStorage.GetFileExtension(ioc);
}
public bool RequiresCredentials(IOConnectionInfo ioc)
{
return _baseStorage.RequiresCredentials(ioc);
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,26 @@
namespace keepass2android.Io.ItemLocation
{
public abstract class OneDrive2PrefixContainer
{
public abstract string Onedrive2ProtocolId { get; }
public string Onedrive2Prefix { get { return Onedrive2ProtocolId + "://"; } }
}
//for permissions including all my files and all shared files
public class OneDrive2FullPrefixContainer : OneDrive2PrefixContainer
{
public override string Onedrive2ProtocolId { get { return "onedrive2_full"; }}
}
//for permissions including all my files
public class OneDrive2MyFilesPrefixContainer : OneDrive2PrefixContainer
{
public override string Onedrive2ProtocolId { get { return "onedrive2_myfiles"; } }
}
//for permissions to app folder only
public class OneDrive2AppFolderPrefixContainer : OneDrive2PrefixContainer
{
public override string Onedrive2ProtocolId { get { return "onedrive2_appfolder"; } }
}
}

View File

@@ -9,14 +9,14 @@ using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
#if !NoNet
#if !NoNet && !EXCLUDE_JAVAFILESTORAGE
using Keepass2android.Javafilestorage;
#endif
using KeePassLib.Serialization;
namespace keepass2android.Io
{
#if !NoNet
#if !NoNet && !EXCLUDE_JAVAFILESTORAGE
public class WebDavFileStorage: JavaFileStorage
{
public WebDavFileStorage(IKp2aApp app) : base(new Keepass2android.Javafilestorage.WebDavStorage(app.CertificateErrorHandler), app)

View File

@@ -12,8 +12,8 @@
<FileAlignment>512</FileAlignment>
<AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
<TargetFrameworkVersion>v8.1</TargetFrameworkVersion>
<AndroidUseLatestPlatformSdk>true</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v10.0</TargetFrameworkVersion>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
@@ -22,7 +22,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;EXCLUDE_TWOFISH;_EXCLUDE_KEYBOARD;_EXCLUDE_FILECHOOSER;_EXCLUDE_JAVAFILESTORAGE;INCLUDE_KEYTRANSFORM</DefineConstants>
<DefineConstants>DEBUG;_EXCLUDE_TWOFISH;_EXCLUDE_KEYBOARD;_EXCLUDE_FILECHOOSER;_EXCLUDE_JAVAFILESTORAGE;INCLUDE_KEYTRANSFORM</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AndroidLinkMode>None</AndroidLinkMode>
@@ -34,6 +34,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<JavaMaximumHeapSize>4G</JavaMaximumHeapSize>
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseNoNet|AnyCPU'">
@@ -56,42 +57,12 @@
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Xml" />
<Reference Include="Xamarin.Android.Arch.Core.Common, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Xamarin.Android.Arch.Core.Common.1.0.0\lib\MonoAndroid80\Xamarin.Android.Arch.Core.Common.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Android.Arch.Lifecycle.Common, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Xamarin.Android.Arch.Lifecycle.Common.1.0.1\lib\MonoAndroid80\Xamarin.Android.Arch.Lifecycle.Common.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Android.Arch.Lifecycle.Runtime, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Xamarin.Android.Arch.Lifecycle.Runtime.1.0.0\lib\MonoAndroid80\Xamarin.Android.Arch.Lifecycle.Runtime.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Android.Support.Annotations, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Xamarin.Android.Support.Annotations.26.1.0.1\lib\MonoAndroid80\Xamarin.Android.Support.Annotations.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Android.Support.Compat, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Xamarin.Android.Support.Compat.26.1.0.1\lib\MonoAndroid80\Xamarin.Android.Support.Compat.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Android.Support.Core.UI, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Xamarin.Android.Support.Core.UI.26.1.0.1\lib\MonoAndroid80\Xamarin.Android.Support.Core.UI.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Android.Support.Core.Utils, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Xamarin.Android.Support.Core.Utils.26.1.0.1\lib\MonoAndroid80\Xamarin.Android.Support.Core.Utils.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Android.Support.Fragment, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Xamarin.Android.Support.Fragment.26.1.0.1\lib\MonoAndroid80\Xamarin.Android.Support.Fragment.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Android.Support.Media.Compat, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Xamarin.Android.Support.Media.Compat.26.1.0.1\lib\MonoAndroid80\Xamarin.Android.Support.Media.Compat.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Android.Support.v13, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Xamarin.Android.Support.v13.26.1.0.1\lib\MonoAndroid80\Xamarin.Android.Support.v13.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="database\CheckDatabaseForChanges.cs" />
<Compile Include="database\edit\AddTemplateEntries.cs" />
<Compile Include="database\edit\CopyEntry.cs" />
<Compile Include="database\edit\DeleteMultipleItems.cs" />
<Compile Include="database\edit\DeleteMultipleItemsFromOneDatabase.cs" />
<Compile Include="database\edit\EditGroup.cs" />
<Compile Include="database\edit\MoveElements.cs" />
<Compile Include="database\KdbDatabaseFormat.cs" />
@@ -103,6 +74,7 @@
<Compile Include="DataExchange\Formats\KeePassKdb2x.cs" />
<Compile Include="DataExchange\Formats\KeePassXml2x.cs" />
<Compile Include="DataExchange\PwExportInfo.cs" />
<Compile Include="ElementAndDatabaseId.cs" />
<Compile Include="Io\AndroidContentStorage.cs" />
<Compile Include="Io\BuiltInFileStorage.cs" />
<Compile Include="Io\CachingFileStorage.cs" />
@@ -117,6 +89,8 @@
<Compile Include="Io\JavaFileStorage.cs" />
<Compile Include="Io\NetFtpFileStorage.cs" />
<Compile Include="Io\OfflineSwitchableFileStorage.cs" />
<Compile Include="Io\OneDrive2FileStorage.cs" />
<Compile Include="Io\OneDrive2PrefixContainer.cs" />
<Compile Include="Io\PCloudFileStorage.cs" />
<Compile Include="Io\SftpFileStorage.cs" />
<Compile Include="Io\OneDriveFileStorage.cs" />
@@ -156,9 +130,9 @@
<Compile Include="Utils\Spr\SprEngine.PickChars.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\AdalBindings\AdalBindings.csproj">
<Project>{0b109c0e-0514-4340-8779-5bd6a0dde84e}</Project>
<Name>AdalBindings</Name>
<ProjectReference Include="..\AndroidFileChooserBinding\AndroidFileChooserBinding.csproj">
<Project>{3c0f7fe5-639f-4422-a087-8b26cf862d1b}</Project>
<Name>AndroidFileChooserBinding</Name>
</ProjectReference>
<ProjectReference Include="..\JavaFileStorageBindings\JavaFileStorageBindings.csproj">
<Project>{48574278-4779-4b3a-a9e4-9cf1bc285d0b}</Project>
@@ -172,9 +146,9 @@
<Project>{70D3844A-D9FA-4A64-B205-A84C6A822196}</Project>
<Name>KP2AKdbLibraryBinding</Name>
</ProjectReference>
<ProjectReference Include="..\netftpandroid\System.Net.FtpClient\System.Net.FtpClient.Android.csproj">
<Project>{146FD497-BA03-4740-B6C5-5C84EA8FCDE2}</Project>
<Name>System.Net.FtpClient.Android</Name>
<ProjectReference Include="..\PCloudBindings\PCloudBindings.csproj">
<Project>{2db80c77-d46f-4970-b967-e9ffa9b2ac2e}</Project>
<Name>PCloudBindings</Name>
</ProjectReference>
<ProjectReference Include="..\TwofishCipher\TwofishCipher.csproj">
<Project>{5CF675A5-9BEE-4720-BED9-D5BF14A2EBF9}</Project>
@@ -185,34 +159,125 @@
<Folder Include="Resources\" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
<None Include="app.config" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="FluentFTP">
<Version>31.3.1</Version>
</PackageReference>
<PackageReference Include="Microsoft.Graph">
<Version>1.21.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.Graph.Auth">
<Version>1.0.0-preview.1</Version>
</PackageReference>
<PackageReference Include="Microsoft.Identity.Client">
<Version>4.8.2</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Arch.Core.Common">
<Version>1.1.1.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Arch.Core.Runtime">
<Version>1.1.1.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Arch.Lifecycle.Common">
<Version>1.1.1.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Arch.Lifecycle.LiveData">
<Version>1.1.1.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Arch.Lifecycle.LiveData.Core">
<Version>1.1.1.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Arch.Lifecycle.Runtime">
<Version>1.1.1.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Arch.Lifecycle.ViewModel">
<Version>1.1.1.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.Animated.Vector.Drawable">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.Annotations">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.AsyncLayoutInflater">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.Collections">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.Compat">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.CoordinaterLayout">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.Core.UI">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.Core.Utils">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.CursorAdapter">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.CustomTabs">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.CustomView">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.DocumentFile">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.DrawerLayout">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.Fragment">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.Interpolator">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.Loader">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.LocalBroadcastManager">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.Media.Compat">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.Print">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.SlidingPaneLayout">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.SwipeRefreshLayout">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.v13">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.v4">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.v7.AppCompat">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.Vector.Drawable">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.VersionedParcelable">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.ViewPager">
<Version>28.0.0.3</Version>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<Import Project="..\packages\Xamarin.Android.Support.Annotations.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Annotations.targets" Condition="Exists('..\packages\Xamarin.Android.Support.Annotations.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Annotations.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Verwenden Sie die Wiederherstellung von NuGet-Paketen, um die fehlenden Dateien herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}".</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\Xamarin.Android.Support.Annotations.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Annotations.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Android.Support.Annotations.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Annotations.targets'))" />
<Error Condition="!Exists('..\packages\Xamarin.Android.Arch.Core.Common.1.0.0\build\MonoAndroid80\Xamarin.Android.Arch.Core.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Android.Arch.Core.Common.1.0.0\build\MonoAndroid80\Xamarin.Android.Arch.Core.Common.targets'))" />
<Error Condition="!Exists('..\packages\Xamarin.Android.Arch.Lifecycle.Common.1.0.1\build\MonoAndroid80\Xamarin.Android.Arch.Lifecycle.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Android.Arch.Lifecycle.Common.1.0.1\build\MonoAndroid80\Xamarin.Android.Arch.Lifecycle.Common.targets'))" />
<Error Condition="!Exists('..\packages\Xamarin.Android.Arch.Lifecycle.Runtime.1.0.0\build\MonoAndroid80\Xamarin.Android.Arch.Lifecycle.Runtime.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Android.Arch.Lifecycle.Runtime.1.0.0\build\MonoAndroid80\Xamarin.Android.Arch.Lifecycle.Runtime.targets'))" />
<Error Condition="!Exists('..\packages\Xamarin.Android.Support.Compat.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Compat.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Android.Support.Compat.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Compat.targets'))" />
<Error Condition="!Exists('..\packages\Xamarin.Android.Support.Core.UI.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Core.UI.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Android.Support.Core.UI.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Core.UI.targets'))" />
<Error Condition="!Exists('..\packages\Xamarin.Android.Support.Core.Utils.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Core.Utils.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Android.Support.Core.Utils.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Core.Utils.targets'))" />
<Error Condition="!Exists('..\packages\Xamarin.Android.Support.Fragment.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Fragment.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Android.Support.Fragment.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Fragment.targets'))" />
<Error Condition="!Exists('..\packages\Xamarin.Android.Support.Media.Compat.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Media.Compat.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Android.Support.Media.Compat.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Media.Compat.targets'))" />
<Error Condition="!Exists('..\packages\Xamarin.Android.Support.v13.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.v13.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Android.Support.v13.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.v13.targets'))" />
</Target>
<Import Project="..\packages\Xamarin.Android.Arch.Core.Common.1.0.0\build\MonoAndroid80\Xamarin.Android.Arch.Core.Common.targets" Condition="Exists('..\packages\Xamarin.Android.Arch.Core.Common.1.0.0\build\MonoAndroid80\Xamarin.Android.Arch.Core.Common.targets')" />
<Import Project="..\packages\Xamarin.Android.Arch.Lifecycle.Common.1.0.1\build\MonoAndroid80\Xamarin.Android.Arch.Lifecycle.Common.targets" Condition="Exists('..\packages\Xamarin.Android.Arch.Lifecycle.Common.1.0.1\build\MonoAndroid80\Xamarin.Android.Arch.Lifecycle.Common.targets')" />
<Import Project="..\packages\Xamarin.Android.Arch.Lifecycle.Runtime.1.0.0\build\MonoAndroid80\Xamarin.Android.Arch.Lifecycle.Runtime.targets" Condition="Exists('..\packages\Xamarin.Android.Arch.Lifecycle.Runtime.1.0.0\build\MonoAndroid80\Xamarin.Android.Arch.Lifecycle.Runtime.targets')" />
<Import Project="..\packages\Xamarin.Android.Support.Compat.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Compat.targets" Condition="Exists('..\packages\Xamarin.Android.Support.Compat.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Compat.targets')" />
<Import Project="..\packages\Xamarin.Android.Support.Core.UI.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Core.UI.targets" Condition="Exists('..\packages\Xamarin.Android.Support.Core.UI.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Core.UI.targets')" />
<Import Project="..\packages\Xamarin.Android.Support.Core.Utils.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Core.Utils.targets" Condition="Exists('..\packages\Xamarin.Android.Support.Core.Utils.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Core.Utils.targets')" />
<Import Project="..\packages\Xamarin.Android.Support.Fragment.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Fragment.targets" Condition="Exists('..\packages\Xamarin.Android.Support.Fragment.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Fragment.targets')" />
<Import Project="..\packages\Xamarin.Android.Support.Media.Compat.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Media.Compat.targets" Condition="Exists('..\packages\Xamarin.Android.Support.Media.Compat.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.Media.Compat.targets')" />
<Import Project="..\packages\Xamarin.Android.Support.v13.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.v13.targets" Condition="Exists('..\packages\Xamarin.Android.Support.v13.26.1.0.1\build\MonoAndroid80\Xamarin.Android.Support.v13.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">

View File

@@ -52,7 +52,8 @@ namespace keepass2android
public void UpdateMessage (String message)
{
_message = message;
Kp2aLog.Log("status message: " + message);
_message = message;
if ( _app!= null && _progressDialog != null && _handler != null ) {
_handler.Post(() => {_progressDialog.SetMessage(message); } );
}
@@ -60,6 +61,7 @@ namespace keepass2android
public void UpdateSubMessage(String submessage)
{
Kp2aLog.Log("status submessage: " + submessage);
_submessage = submessage;
if (_app != null && _progressDialog != null && _handler != null)
{

View File

@@ -49,6 +49,11 @@ namespace keepass2android
get { return _activeActivity; }
private set
{
if (_activeActivity != null && _activeActivity != _previouslyActiveActivity)
{
_previouslyActiveActivity = _activeActivity;
}
_activeActivity = value;
if (_task != null)
_task.ActiveActivity = _activeActivity;
@@ -60,12 +65,18 @@ namespace keepass2android
}
}
private readonly Handler _handler;
public Activity PreviouslyActiveActivity
{
get { return _previouslyActiveActivity; }
}
private readonly Handler _handler;
private readonly RunnableOnFinish _task;
private IProgressDialog _progressDialog;
private readonly IKp2aApp _app;
private Thread _thread;
private Activity _activeActivity;
private Activity _activeActivity, _previouslyActiveActivity;
private ProgressDialogStatusLogger _progressDialogStatusLogger;
public ProgressTask(IKp2aApp app, Activity activity, RunnableOnFinish task)

View File

@@ -23,7 +23,7 @@ namespace keepass2android
/// <summary>
/// EqualityComparer implementation to compare PwGroups based on their Id
/// </summary>
class PwGroupEqualityFromIdComparer: IEqualityComparer<PwGroup>
public class PwGroupEqualityFromIdComparer: IEqualityComparer<PwGroup>
{
#region IEqualityComparer implementation
public bool Equals (PwGroup x, PwGroup y)

File diff suppressed because it is too large Load Diff

View File

@@ -72,8 +72,8 @@ namespace keepass2android
SearchParameters sp = SearchParameters.None;
sp.SearchInUrls = true;
sp.SearchString = url;
if(sp.RegularExpression) // Validate regular expression
if(sp.RegularExpression) // Validate regular expression
{
new Regex(sp.SearchString);
}
@@ -103,8 +103,10 @@ namespace keepass2android
PwGroup pgResults = new PwGroup(true, true, strGroupName, PwIcon.EMailSearch) {IsVirtual = true};
if (String.IsNullOrWhiteSpace(host))
return pgResults;
foreach (PwEntry entry in database.Entries.Values)
{
foreach (PwEntry entry in database.EntriesById.Values)
{
if (!entry.GetSearchingEnabled())
continue;
string otherUrl = entry.Strings.ReadSafe(PwDefs.UrlField);
otherUrl = SprEngine.Compile(otherUrl, new SprContext(entry, database.KpDatabase, SprCompileFlags.References));
String otherHost = ExtractHost(otherUrl);

View File

@@ -86,6 +86,9 @@ namespace keepass2android
ReadOnlyReason_PreKitKat,
ReadOnlyReason_ReadOnlyFlag,
ReadOnlyReason_ReadOnlyKitKat,
ReadOnlyReason_LocalBackup
ReadOnlyReason_LocalBackup,
Ok,
cancel,
FileNotFound
}
}

View File

@@ -25,9 +25,7 @@ using KeePass.Util.Spr;
using KeePassLib;
using KeePassLib.Collections;
using KeePassLib.Cryptography;
using KeePassLib.Delegates;
using KeePassLib.Security;
using KeePassLib.Utility;
namespace KeePass.Util
@@ -89,41 +87,8 @@ namespace KeePass.Util
return str;
}
*/
private static string ReplaceHmacOtpPlaceholder(string strText,
SprContext ctx)
{
PwEntry pe = ctx.Entry;
PwDatabase pd = ctx.Database;
if((pe == null) || (pd == null)) return strText;
string str = strText;
const string strHmacOtpPlh = @"{HMACOTP}";
if(str.IndexOf(strHmacOtpPlh, StrUtil.CaseIgnoreCmp) >= 0)
{
const string strKeyField = "HmacOtp-Secret";
const string strCounterField = "HmacOtp-Counter";
byte[] pbSecret = StrUtil.Utf8.GetBytes(pe.Strings.ReadSafe(
strKeyField));
string strCounter = pe.Strings.ReadSafe(strCounterField);
ulong uCounter;
ulong.TryParse(strCounter, out uCounter);
string strValue = HmacOtp.Generate(pbSecret, uCounter, 6, false, -1);
pe.Strings.Set(strCounterField, new ProtectedString(false,
(uCounter + 1).ToString()));
pd.Modified = true;
str = StrUtil.ReplaceCaseInsensitive(str, strHmacOtpPlh, strValue);
}
return str;
}
public static bool EntriesHaveSameParent(PwObjectList<PwEntry> v)
public static bool EntriesHaveSameParent(PwObjectList<PwEntry> v)
{
if(v == null) { Debug.Assert(false); return true; }
if(v.UCount == 0) return true;

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Microsoft.Identity.Client" publicKeyToken="0a613f4dd989e8ae" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.4.0.0" newVersion="4.4.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

View File

@@ -29,7 +29,7 @@ namespace keepass2android
{
try
{
IOConnectionInfo ioc = _app.GetDb().Ioc;
IOConnectionInfo ioc = _app.CurrentDb.Ioc;
IFileStorage fileStorage = _app.GetFileStorage(ioc);
if (fileStorage is CachingFileStorage)
{
@@ -49,7 +49,7 @@ namespace keepass2android
hashingRemoteStream.CopyTo(remoteData);
hashingRemoteStream.Close();
if (!MemUtil.ArraysEqual(_app.GetDb().KpDatabase.HashOfFileOnDisk, hashingRemoteStream.Hash))
if (!MemUtil.ArraysEqual(_app.CurrentDb.KpDatabase.HashOfFileOnDisk, hashingRemoteStream.Hash))
{
_app.TriggerReload(_context);
Finish(true);

View File

@@ -26,6 +26,7 @@ using KeePassLib;
using KeePassLib.Keys;
using KeePassLib.Serialization;
using keepass2android.Io;
using KeePassLib.Interfaces;
using KeePassLib.Utility;
using Exception = System.Exception;
using String = System.String;
@@ -33,27 +34,23 @@ using String = System.String;
namespace keepass2android
{
public class Database {
public Dictionary<PwUuid, PwGroup> Groups = new Dictionary<PwUuid, PwGroup>(new PwUuidEqualityComparer());
public Dictionary<PwUuid, PwEntry> Entries = new Dictionary<PwUuid, PwEntry>(new PwUuidEqualityComparer());
public HashSet<PwGroup> Dirty = new HashSet<PwGroup>(new PwGroupEqualityFromIdComparer());
public class Database
{
public HashSet<IStructureItem> Elements = new HashSet<IStructureItem>();
public Dictionary<PwUuid, PwGroup> GroupsById = new Dictionary<PwUuid, PwGroup>(new PwUuidEqualityComparer());
public Dictionary<PwUuid, PwEntry> EntriesById = new Dictionary<PwUuid, PwEntry>(new PwUuidEqualityComparer());
public PwGroup Root;
public PwDatabase KpDatabase;
public IOConnectionInfo Ioc
{
get
{
return KpDatabase == null ? null : KpDatabase.IOConnectionInfo;
return KpDatabase?.IOConnectionInfo;
}
}
/// <summary>
/// Information about the last opened entry. Includes the entry but also transformed fields.
/// </summary>
public PwEntryOutput LastOpenedEntry { get; set; }
/// <summary>
/// if an OTP key was used, this property tells the location of the OTP auxiliary file.
/// Must be set after loading.
@@ -73,31 +70,14 @@ namespace keepass2android
_app = app;
CanWrite = true; //default
}
private bool _loaded;
private bool _reloadRequested;
private IDatabaseFormat _databaseFormat = new KdbxDatabaseFormat(KdbxFormat.Default);
private IDatabaseFormat _databaseFormat = new KdbxDatabaseFormat(KdbxFormat.Default);
public bool ReloadRequested
{
get { return _reloadRequested; }
set { _reloadRequested = value; }
}
public bool ReloadRequested { get; set; }
public bool Loaded {
get { return _loaded;}
set { _loaded = value; }
}
public bool DidOpenFileChange()
public bool DidOpenFileChange()
{
if (Loaded == false)
{
return false;
}
return _app.GetFileStorage(Ioc).CheckForFileChangeFast(Ioc, LastFileVersion);
}
@@ -112,32 +92,20 @@ namespace keepass2android
Stream s = databaseData ?? fileStorage.OpenFileForRead(iocInfo);
var fileVersion = _app.GetFileStorage(iocInfo).GetCurrentFileVersionFast(iocInfo);
PopulateDatabaseFromStream(pwDatabase, s, iocInfo, compositeKey, status, databaseFormat);
try
{
LastFileVersion = fileVersion;
LastFileVersion = fileVersion;
status.UpdateSubMessage("");
status.UpdateSubMessage("");
Root = pwDatabase.RootGroup;
PopulateGlobals(Root);
Root = pwDatabase.RootGroup;
PopulateGlobals(Root);
KpDatabase = pwDatabase;
SearchHelper = new SearchDbHelper(app);
KpDatabase = pwDatabase;
SearchHelper = new SearchDbHelper(app);
_databaseFormat = databaseFormat;
_databaseFormat = databaseFormat;
CanWrite = databaseFormat.CanWrite && !fileStorage.IsReadOnly(iocInfo);
Loaded = true;
}
catch (Exception)
{
Clear();
throw;
}
CanWrite = databaseFormat.CanWrite && !fileStorage.IsReadOnly(iocInfo);
}
/// <summary>
@@ -219,8 +187,7 @@ namespace keepass2android
public void SaveData() {
KpDatabase.UseFileTransactions = _app.GetBooleanPreference(PreferenceKey.UseFileTransactions);
using (IWriteTransaction trans = _app.GetFileStorage(Ioc).OpenWriteTransaction(Ioc, KpDatabase.UseFileTransactions))
using (IWriteTransaction trans = _app.GetFileStorage(Ioc).OpenWriteTransaction(Ioc, _app.GetBooleanPreference(PreferenceKey.UseFileTransactions)))
{
DatabaseFormat.Save(KpDatabase, trans.OpenFile());
@@ -239,14 +206,18 @@ namespace keepass2android
{
if (checkForDuplicateUuids)
{
if (Entries.ContainsKey(e.Uuid))
if (EntriesById.ContainsKey(e.Uuid))
{
throw new DuplicateUuidsException("Same UUID for entries '"+Entries[e.Uuid].Strings.ReadSafe(PwDefs.TitleField)+"' and '"+e.Strings.ReadSafe(PwDefs.TitleField)+"'.");
throw new DuplicateUuidsException("Same UUID for entries '"+EntriesById[e.Uuid].Strings.ReadSafe(PwDefs.TitleField)+"' and '"+e.Strings.ReadSafe(PwDefs.TitleField)+"'.");
}
}
Entries [e.Uuid] = e;
EntriesById [e.Uuid] = e;
Elements.Add(e);
}
GroupsById[currentGroup.Uuid] = currentGroup;
Elements.Add(currentGroup);
foreach (PwGroup g in childGroups)
{
if (checkForDuplicateUuids)
@@ -258,7 +229,6 @@ namespace keepass2android
}
* */
}
Groups[g.Uuid] = g;
PopulateGlobals(g);
}
}
@@ -266,33 +236,15 @@ namespace keepass2android
{
PopulateGlobals(currentGroup, _app.CheckForDuplicateUuids);
}
public void Clear() {
_loaded = false;
Groups.Clear();
Entries.Clear();
Dirty.Clear();
DrawableFactory.Clear();
Root = null;
KpDatabase = null;
CanWrite = true;
_reloadRequested = false;
OtpAuxFileIoc = null;
LastOpenedEntry = null;
}
public void MarkAllGroupsAsDirty() {
foreach ( PwGroup group in Groups.Values ) {
Dirty.Add(group);
}
}
public void UpdateGlobals()
{
EntriesById.Clear();
GroupsById.Clear();
Elements.Clear();
PopulateGlobals(Root);
}
}
[Serializable]

View File

@@ -216,9 +216,16 @@ namespace keepass2android
private DateTime JavaTimeToCSharp(long javatime)
{
try
{
var utcTime = new DateTime(1970, 1, 1).AddMilliseconds(javatime);
return TimeZoneInfo.ConvertTimeFromUtc(utcTime, TimeZoneInfo.Local);
}
catch (ArgumentOutOfRangeException)
{
return DateTime.MinValue;
}
var utcTime = new DateTime(1970, 1, 1).AddMilliseconds(javatime);
return TimeZoneInfo.ConvertTimeFromUtc(utcTime, TimeZoneInfo.Local);
}
#endif

View File

@@ -27,7 +27,7 @@ namespace keepass2android
}
public byte[] HashOfLastStream { get; private set; }
public bool CanWrite { get { return true; } }
public bool CanWrite { get { return _format != KdbxFormat.PlainXml; } }
public string SuccessMessage { get { return null; } }
public void Save(PwDatabase kpDatabase, Stream stream)
{

View File

@@ -14,13 +14,13 @@ namespace keepass2android
public class PwEntryOutput
{
private readonly PwEntry _entry;
private readonly PwDatabase _db;
private readonly Database _db;
private readonly ProtectedStringDictionary _outputStrings = new ProtectedStringDictionary();
/// <summary>
/// Constructs the PwEntryOutput by replacing the placeholders
/// </summary>
public PwEntryOutput(PwEntry entry, PwDatabase db)
public PwEntryOutput(PwEntry entry, Database db)
{
_entry = entry;
_db = db;
@@ -34,7 +34,7 @@ namespace keepass2android
string GetStringAndReplacePlaceholders(string key)
{
String value = Entry.Strings.ReadSafe(key);
value = SprEngine.Compile(value, new SprContext(Entry, _db, SprCompileFlags.All));
value = SprEngine.Compile(value, new SprContext(Entry, _db.KpDatabase, SprCompileFlags.All));
return value;
}

View File

@@ -26,7 +26,7 @@ namespace keepass2android
{
try
{
IOConnectionInfo ioc = _app.GetDb().Ioc;
IOConnectionInfo ioc = _app.CurrentDb.Ioc;
IFileStorage fileStorage = _app.GetFileStorage(ioc);
if (!(fileStorage is CachingFileStorage))
{
@@ -43,17 +43,21 @@ namespace keepass2android
try
{
remoteData = cachingFileStorage.GetRemoteDataAndHash(ioc, out hash);
Kp2aLog.Log("Checking for file change. Current hash = " + hash);
}
catch (FileNotFoundException)
{
StatusLogger.UpdateSubMessage(_app.GetResourceString(UiStringKey.RestoringRemoteFile));
cachingFileStorage.UpdateRemoteFile(ioc, _app.GetBooleanPreference(PreferenceKey.UseFileTransactions));
Finish(true, _app.GetResourceString(UiStringKey.SynchronizedDatabaseSuccessfully));
Kp2aLog.Log("Checking for file change: file not found");
return;
}
//check if remote file was modified:
if (cachingFileStorage.GetBaseVersionHash(ioc) != hash)
var baseVersionHash = cachingFileStorage.GetBaseVersionHash(ioc);
Kp2aLog.Log("Checking for file change. baseVersionHash = " + baseVersionHash);
if (baseVersionHash != hash)
{
//remote file is modified
if (cachingFileStorage.HasLocalChanges(ioc))
@@ -70,10 +74,12 @@ namespace keepass2android
Finish(true, _app.GetResourceString(UiStringKey.SynchronizedDatabaseSuccessfully));
}
_saveDb = null;
}), false, remoteData);
}), _app.CurrentDb, false, remoteData);
_saveDb.Run();
_app.GetDb().MarkAllGroupsAsDirty();
_app.CurrentDb.UpdateGlobals();
_app.MarkAllGroupsAsDirty();
}
else
{
@@ -103,6 +109,7 @@ namespace keepass2android
}
catch (Exception e)
{
Kp2aLog.LogUnexpectedError(e);
Finish(false, e.Message);
}

View File

@@ -36,8 +36,11 @@ namespace keepass2android
{
_actionToPerform = actionToPerform;
}
public override void Run()
//if set to true, the previously active active will be passed to ActionToPerformOnFinish instead null if no activity is on foreground
public bool AllowInactiveActivity { get; set; }
public override void Run()
{
if (Message == null)
Message = "";
@@ -46,7 +49,7 @@ namespace keepass2android
Handler.Post(() => {_actionToPerform(Success, Message, ActiveActivity);});
}
else
_actionToPerform(Success, Message, ActiveActivity);
_actionToPerform(Success, Message, AllowInactiveActivity ? (ActiveActivity ?? PreviouslyActiveActivity) : ActiveActivity);
base.Run();
}
}

View File

@@ -24,26 +24,28 @@ namespace keepass2android
public class AddEntry : RunnableOnFinish {
protected Database Db
{
get { return _app.GetDb(); }
get { return _app.CurrentDb; }
}
private readonly IKp2aApp _app;
private readonly PwEntry _entry;
private readonly PwGroup _parentGroup;
private readonly Activity _ctx;
public static AddEntry GetInstance(Activity ctx, IKp2aApp app, PwEntry entry, PwGroup parentGroup, OnFinish finish) {
private readonly Database _db;
return new AddEntry(ctx, app, entry, parentGroup, finish);
public static AddEntry GetInstance(Activity ctx, IKp2aApp app, PwEntry entry, PwGroup parentGroup, OnFinish finish, Database db) {
return new AddEntry(ctx, db, app, entry, parentGroup, finish);
}
protected AddEntry(Activity ctx, IKp2aApp app, PwEntry entry, PwGroup parentGroup, OnFinish finish):base(ctx, finish) {
public AddEntry(Activity ctx, Database db, IKp2aApp app, PwEntry entry, PwGroup parentGroup, OnFinish finish):base(ctx, finish) {
_ctx = ctx;
_parentGroup = parentGroup;
_db = db;
_parentGroup = parentGroup;
_app = app;
_entry = entry;
_onFinishToRun = new AfterAdd(ctx, app.GetDb(), entry, OnFinishToRun);
_onFinishToRun = new AfterAdd(ctx, app.CurrentDb, entry, app,OnFinishToRun);
}
@@ -57,10 +59,13 @@ namespace keepass2android
{
_parentGroup.AddEntry(_entry, true);
}
// Commit to disk
SaveDb save = new SaveDb(_ctx, _app, OnFinishToRun);
// Add entry to global
_db.EntriesById[_entry.Uuid] = _entry;
_db.Elements.Add(_entry);
// Commit to disk
SaveDb save = new SaveDb(_ctx, _app, _app.CurrentDb, OnFinishToRun);
save.SetStatusLogger(StatusLogger);
save.Run();
}
@@ -68,12 +73,13 @@ namespace keepass2android
private class AfterAdd : OnFinish {
private readonly Database _db;
private readonly PwEntry _entry;
private readonly IKp2aApp _app;
public AfterAdd(Activity activity, Database db, PwEntry entry, OnFinish finish):base(activity, finish) {
public AfterAdd(Activity activity, Database db, PwEntry entry, IKp2aApp app, OnFinish finish):base(activity, finish) {
_db = db;
_entry = entry;
}
_app = app;
}
@@ -83,11 +89,10 @@ namespace keepass2android
PwGroup parent = _entry.ParentGroup;
// Mark parent group dirty
_db.Dirty.Add(parent);
// Add entry to global
_db.Entries[_entry.Uuid] = _entry;
_app.DirtyGroups.Add(parent);
} else
{
StatusLogger.UpdateMessage(UiStringKey.UndoingChanges);

View File

@@ -26,13 +26,16 @@ namespace keepass2android
public class AddGroup : RunnableOnFinish {
internal Database Db
{
get { return _app.GetDb(); }
get { return _app.CurrentDb; }
}
private IKp2aApp _app;
public IKp2aApp App { get => _app; }
private IKp2aApp _app;
private readonly String _name;
private readonly int _iconId;
private readonly PwUuid _groupCustomIconId;
internal PwGroup Group;
public PwGroup Group;
internal PwGroup Parent;
protected bool DontSave;
readonly Activity _ctx;
@@ -67,9 +70,11 @@ namespace keepass2android
Group.CustomIconUuid = _groupCustomIconId;
}
Parent.AddGroup(Group, true);
_app.CurrentDb.GroupsById[Group.Uuid] = Group;
_app.CurrentDb.Elements.Add(Group);
// Commit to disk
SaveDb save = new SaveDb(_ctx, _app, OnFinishToRun, DontSave);
// Commit to disk
SaveDb save = new SaveDb(_ctx, _app, _app.CurrentDb, OnFinishToRun, DontSave);
save.SetStatusLogger(StatusLogger);
save.Run();
}
@@ -86,13 +91,15 @@ namespace keepass2android
if ( Success ) {
// Mark parent group dirty
_addGroup.Db.Dirty.Add(_addGroup.Parent);
_addGroup.App.DirtyGroups.Add(_addGroup.Parent);
// Add group to global list
_addGroup.Db.Groups[_addGroup.Group.Uuid] = _addGroup.Group;
_addGroup.Db.GroupsById[_addGroup.Group.Uuid] = _addGroup.Group;
_addGroup.Db.Elements.Add(_addGroup.Group);
} else {
StatusLogger.UpdateMessage(UiStringKey.UndoingChanges);
_addGroup.Parent.Groups.Remove(_addGroup.Group);
}
base.Run();

View File

@@ -28,7 +28,7 @@ namespace keepass2android
{
public class AddTemplateEntries : RunnableOnFinish {
class TemplateEntry
public class TemplateEntry
{
public UiStringKey Title { get; set; }
public PwIcon Icon { get; set; }
@@ -47,11 +47,12 @@ namespace keepass2android
void AddToEntry(IKp2aApp app, PwEntry entry, int position);
}
internal enum FieldType
public enum FieldType
{
Inline, ProtectedInline
}
internal enum SpecialFieldKey
public enum SpecialFieldKey
{
ExpDate, OverrideUrl, Tags
}
@@ -125,7 +126,7 @@ namespace keepass2android
protected Database Db
{
get { return _app.GetDb(); }
get { return _app.CurrentDb; }
}
private readonly IKp2aApp _app;
@@ -140,7 +141,7 @@ namespace keepass2android
//_onFinishToRun = new AfterAdd(this, OnFinishToRun);
}
static readonly List<TemplateEntry> TemplateEntries = new List<TemplateEntry>()
public static readonly List<TemplateEntry> TemplateEntries = new List<TemplateEntry>()
{
new TemplateEntry()
{
@@ -285,12 +286,23 @@ namespace keepass2android
};
public static bool ContainsAllTemplates(IKp2aApp app)
public static bool ContainsAllTemplates(Database db)
{
return TemplateEntries.All(t => app.GetDb().Entries.ContainsKey(t.Uuid));
return TemplateEntries.All(t =>
{
string hexId = t.Uuid.ToHexString();
return db.EntriesById.Any(kvp => kvp.Key.Equals(t.Uuid) ||
kvp.Value.Strings.ReadSafe(TemplateIdStringKey) == hexId);
});
}
public override void Run() {
public static string TemplateIdStringKey
{
get { return "KP2A_TemplateId"; }
}
public override void Run() {
StatusLogger.UpdateMessage(UiStringKey.AddingEntry);
List<PwEntry> addedEntries;
@@ -298,10 +310,10 @@ namespace keepass2android
if (addedEntries.Any())
{
_app.GetDb().Dirty.Add(templateGroup);
_app.DirtyGroups.Add(templateGroup);
// Commit to disk
SaveDb save = new SaveDb(_ctx, _app, OnFinishToRun);
SaveDb save = new SaveDb(_ctx, _app, _app.CurrentDb, OnFinishToRun);
save.SetStatusLogger(StatusLogger);
save.Run();
}
@@ -315,26 +327,28 @@ namespace keepass2android
}
PwGroup templateGroup;
if (!_app.GetDb().Groups.TryGetValue(_app.GetDb().KpDatabase.EntryTemplatesGroup, out templateGroup))
if (!_app.CurrentDb.GroupsById.TryGetValue(_app.CurrentDb.KpDatabase.EntryTemplatesGroup, out templateGroup))
{
//create template group
templateGroup = new PwGroup(true, true, _app.GetResourceString(UiStringKey.TemplateGroupName), PwIcon.Folder);
_app.GetDb().KpDatabase.RootGroup.AddGroup(templateGroup, true);
_app.GetDb().KpDatabase.EntryTemplatesGroup = templateGroup.Uuid;
_app.GetDb().KpDatabase.EntryTemplatesGroupChanged = DateTime.Now;
_app.GetDb().Dirty.Add(_app.GetDb().KpDatabase.RootGroup);
_app.GetDb().Groups[templateGroup.Uuid] = templateGroup;
_app.CurrentDb.KpDatabase.RootGroup.AddGroup(templateGroup, true);
_app.CurrentDb.KpDatabase.EntryTemplatesGroup = templateGroup.Uuid;
_app.CurrentDb.KpDatabase.EntryTemplatesGroupChanged = DateTime.Now;
_app.DirtyGroups.Add(_app.CurrentDb.KpDatabase.RootGroup);
_app.CurrentDb.GroupsById[templateGroup.Uuid] = templateGroup;
_app.CurrentDb.Elements.Add(templateGroup);
}
addedEntries = new List<PwEntry>();
foreach (var template in TemplateEntries)
{
if (_app.GetDb().Entries.ContainsKey(template.Uuid))
if (_app.CurrentDb.EntriesById.ContainsKey(template.Uuid))
continue;
PwEntry entry = CreateEntry(template);
templateGroup.AddEntry(entry, true);
addedEntries.Add(entry);
_app.GetDb().Entries[entry.Uuid] = entry;
_app.CurrentDb.EntriesById[entry.Uuid] = entry;
}
return templateGroup;
}
@@ -373,8 +387,12 @@ namespace keepass2android
base.Run();
}
}
public static bool IsTemplateId(PwUuid pwUuid)
{
return TemplateEntries.Any(te => te.Uuid.Equals(pwUuid));
}
}
}

View File

@@ -16,8 +16,8 @@ namespace keepass2android.database.edit
{
public class CopyEntry: AddEntry
{
public CopyEntry(Activity ctx, IKp2aApp app, PwEntry entry, OnFinish finish)
: base(ctx, app, CreateCopy(entry, app), entry.ParentGroup, finish)
public CopyEntry(Activity ctx, IKp2aApp app, PwEntry entry, OnFinish finish, Database db)
: base(ctx, db, app, CreateCopy(entry, app), entry.ParentGroup, finish)
{
}

View File

@@ -27,23 +27,22 @@ namespace keepass2android
{
public class CreateDb : RunnableOnFinish {
private const ulong DefaultEncryptionRounds = PwDefs.DefaultKeyEncryptionRounds;
private readonly IOConnectionInfo _ioc;
private readonly IOConnectionInfo _ioc;
private readonly bool _dontSave;
private readonly Activity _ctx;
private readonly IKp2aApp _app;
private CompositeKey _key;
private readonly bool _makeCurrent;
public CreateDb(IKp2aApp app, Activity ctx, IOConnectionInfo ioc, OnFinish finish, bool dontSave): base(ctx, finish) {
public CreateDb(IKp2aApp app, Activity ctx, IOConnectionInfo ioc, OnFinish finish, bool dontSave, bool makeCurrent): base(ctx, finish) {
_ctx = ctx;
_ioc = ioc;
_dontSave = dontSave;
_app = app;
_makeCurrent = makeCurrent;
_app = app;
}
public CreateDb(IKp2aApp app, Activity ctx, IOConnectionInfo ioc, OnFinish finish, bool dontSave, CompositeKey key)
public CreateDb(IKp2aApp app, Activity ctx, IOConnectionInfo ioc, OnFinish finish, bool dontSave, CompositeKey key, bool makeCurrent)
: base(ctx, finish)
{
_ctx = ctx;
@@ -51,12 +50,13 @@ namespace keepass2android
_dontSave = dontSave;
_app = app;
_key = key;
_makeCurrent = makeCurrent;
}
public override void Run() {
StatusLogger.UpdateMessage(UiStringKey.progress_create);
Database db = _app.CreateNewDatabase();
Database db = _app.CreateNewDatabase(_makeCurrent);
db.KpDatabase = new KeePassLib.PwDatabase();
@@ -65,7 +65,7 @@ namespace keepass2android
_key = new CompositeKey(); //use a temporary key which should be changed after creation
}
db.KpDatabase.New(_ioc, _key);
db.KpDatabase.New(_ioc, _key, _app.GetFileStorage(_ioc).GetFilenameWithoutPathAndExt(_ioc));
db.KpDatabase.KdfParameters = (new AesKdf()).GetDefaultParameters();
db.KpDatabase.Name = "Keepass2Android Password Database";
@@ -74,7 +74,6 @@ namespace keepass2android
// Set Database state
db.Root = db.KpDatabase.RootGroup;
db.Loaded = true;
db.SearchHelper = new SearchDbHelper(_app);
// Add a couple default groups
@@ -88,12 +87,14 @@ namespace keepass2android
addTemplates.AddTemplates(out addedEntries);
// Commit changes
SaveDb save = new SaveDb(_ctx, _app, OnFinishToRun, _dontSave);
SaveDb save = new SaveDb(_ctx, _app, db, OnFinishToRun, _dontSave);
save.SetStatusLogger(StatusLogger);
_onFinishToRun = null;
save.Run();
db.UpdateGlobals();
}
}

View File

@@ -31,7 +31,7 @@ namespace keepass2android
public DeleteEntry(Activity activiy, IKp2aApp app, PwEntry entry, OnFinish finish):base(activiy, finish, app) {
Ctx = activiy;
Db = app.GetDb();
Db = app.FindDatabaseForElement(entry);
_entry = entry;
}
@@ -40,7 +40,7 @@ namespace keepass2android
{
get
{
return App.GetDb().DatabaseFormat.CanRecycle && CanRecycleGroup(_entry.ParentGroup);
return Db.DatabaseFormat.CanRecycle && CanRecycleGroup(_entry.ParentGroup);
}
}

View File

@@ -47,7 +47,7 @@ namespace keepass2android
*/
private void SetMembers(Activity activity, IKp2aApp app, PwGroup group, bool dontSave)
{
base.SetMembers(activity, app.GetDb());
base.SetMembers(activity, app.FindDatabaseForElement(group));
_group = group;
DontSave = dontSave;
@@ -58,7 +58,7 @@ namespace keepass2android
{
get
{
return App.GetDb().DatabaseFormat.CanRecycle && CanRecycleGroup(_group);
return Db.DatabaseFormat.CanRecycle && CanRecycleGroup(_group);
}
}

View File

@@ -7,12 +7,12 @@ using KeePassLib.Interfaces;
namespace keepass2android
{
public class DeleteMultipleItems : DeleteRunnable
public class DeleteMultipleItemsFromOneDatabase : DeleteRunnable
{
private readonly List<IStructureItem> _elementsToDelete;
private readonly bool _canRecycle;
public DeleteMultipleItems(Activity activity, Database db, List<IStructureItem> elementsToDelete, OnFinish finish, IKp2aApp app)
public DeleteMultipleItemsFromOneDatabase(Activity activity, Database db, List<IStructureItem> elementsToDelete, OnFinish finish, IKp2aApp app)
: base(activity, finish, app)
{
_elementsToDelete = elementsToDelete;
@@ -21,12 +21,13 @@ namespace keepass2android
//determine once. The property is queried for each delete operation, but might return false
//after one entry/group is deleted (and thus in recycle bin and thus can't be recycled anymore)
_canRecycle = DetermineCanRecycle();
ShowDatabaseIocInStatus = true;
}
private bool DetermineCanRecycle()
{
Android.Util.Log.Debug("KP2A", "CanRecycle?");
if (!App.GetDb().DatabaseFormat.CanRecycle)
if (!Db.DatabaseFormat.CanRecycle)
{
Android.Util.Log.Debug("KP2A", "CanRecycle? No because of DB format.");
return false;

View File

@@ -100,7 +100,8 @@ namespace keepass2android
};
Db.KpDatabase.RootGroup.AddGroup(pgRecycleBin, true);
Db.Groups[pgRecycleBin.Uuid] = pgRecycleBin;
Db.GroupsById[pgRecycleBin.Uuid] = pgRecycleBin;
Db.Elements.Add(pgRecycleBin);
Db.KpDatabase.RecycleBinUuid = pgRecycleBin.Uuid;
bGroupListUpdateRequired = true;
@@ -121,24 +122,27 @@ namespace keepass2android
public void Start()
{
if (CanRecycle)
string messageSuffix = ShowDatabaseIocInStatus ? "(" + App.GetFileStorage(Db.Ioc).GetDisplayName(Db.Ioc) + ")" : "";
if (CanRecycle)
{
App.AskYesNoCancel(UiStringKey.AskDeletePermanently_title,
QuestionRecycleResourceId,
(dlgSender, dlgEvt) =>
{
DeletePermanently = true;
ProgressTask pt = new ProgressTask(App, Ctx, this);
pt.Run();
DeletePermanently = true;
ProgressTask pt = new ProgressTask(App, Ctx, this);
pt.Run();
},
(dlgSender, dlgEvt) =>
{
DeletePermanently = false;
ProgressTask pt = new ProgressTask(App, Ctx, this);
pt.Run();
DeletePermanently = false;
ProgressTask pt = new ProgressTask(App, Ctx, this);
pt.Run();
},
(dlgSender, dlgEvt) => { },
Ctx);
Ctx, messageSuffix);
@@ -149,12 +153,12 @@ namespace keepass2android
QuestionNoRecycleResourceId,
(dlgSender, dlgEvt) =>
{
ProgressTask pt = new ProgressTask(App, Ctx, this);
pt.Run();
ProgressTask pt = new ProgressTask(App, Ctx, this);
pt.Run();
},
null,
(dlgSender, dlgEvt) => { },
Ctx);
Ctx, messageSuffix);
}
@@ -182,7 +186,8 @@ namespace keepass2android
PwDeletedObject pdo = new PwDeletedObject(pe.Uuid, dtNow);
pd.DeletedObjects.Add(pdo);
touchedGroups.Add(pgParent);
Db.Entries.Remove(pe.Uuid);
Db.EntriesById.Remove(pe.Uuid);
Db.Elements.Remove(pe);
}
else // Recycle
{
@@ -215,31 +220,41 @@ namespace keepass2android
if (success)
{
foreach (var g in touchedGroups)
Db.Dirty.Add(g);
App.DirtyGroups.Add(g);
foreach (var g in permanentlyDeletedGroups)
{
//remove groups from global lists if present there
Db.Dirty.Remove(g);
Db.Groups.Remove(g.Uuid);
//remove groups from global lists if present there
App.DirtyGroups.Remove(g);
Db.GroupsById.Remove(g.Uuid);
Db.Elements.Remove(g);
}
}
else
{
// Let's not bother recovering from a failure to save. It is too much work.
App.LockDatabase(false);
App.Lock(false, false);
}
}, OnFinishToRun);
// Commit database
SaveDb save = new SaveDb(Ctx, App, OnFinishToRun, false);
save.SetStatusLogger(StatusLogger);
SaveDb save = new SaveDb(Ctx, App, Db, OnFinishToRun, false);
save.ShowDatabaseIocInStatus = ShowDatabaseIocInStatus;
save.SetStatusLogger(StatusLogger);
save.Run();
}
protected abstract void PerformDelete(List<PwGroup> touchedGroups, List<PwGroup> permanentlyDeletedGroups);
public bool ShowDatabaseIocInStatus
{
get;
set;
}
protected abstract void PerformDelete(List<PwGroup> touchedGroups, List<PwGroup> permanentlyDeletedGroups);
public abstract UiStringKey StatusMessage { get; }

View File

@@ -26,9 +26,12 @@ namespace keepass2android
public class EditGroup : RunnableOnFinish {
internal Database Db
{
get { return _app.GetDb(); }
get { return _app.FindDatabaseForElement(Group); }
}
private IKp2aApp _app;
public IKp2aApp App { get => _app; }
private IKp2aApp _app;
private readonly String _name;
private readonly PwIcon _iconId;
private readonly PwUuid _customIconId;
@@ -57,7 +60,7 @@ namespace keepass2android
Group.Touch(true);
// Commit to disk
SaveDb save = new SaveDb(_ctx, _app, OnFinishToRun);
SaveDb save = new SaveDb(_ctx, _app, Db, OnFinishToRun);
save.SetStatusLogger(StatusLogger);
save.Run();
}
@@ -76,10 +79,10 @@ namespace keepass2android
if ( Success ) {
// Mark parent group dirty
_editGroup.Db.Dirty.Add(_editGroup.Group.ParentGroup);
_editGroup.App.DirtyGroups.Add(_editGroup.Group.ParentGroup);
} else
{
_editGroup._app.LockDatabase(false);
_editGroup._app.Lock(false, false);
}
base.Run();

View File

@@ -21,6 +21,7 @@ using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Android.App;
using keepass2android.database.edit;
using KeePassLib;
using KeePassLib.Keys;
using KeePassLib.Serialization;
@@ -36,20 +37,25 @@ namespace keepass2android
private readonly bool _rememberKeyfile;
IDatabaseFormat _format;
public LoadDb(Activity activity, IKp2aApp app, IOConnectionInfo ioc, Task<MemoryStream> databaseData, CompositeKey compositeKey, String keyfileOrProvider, OnFinish finish): base(activity, finish)
public LoadDb(Activity activity, IKp2aApp app, IOConnectionInfo ioc, Task<MemoryStream> databaseData, CompositeKey compositeKey, String keyfileOrProvider, OnFinish finish, bool updateLastUsageTimestamp, bool makeCurrent): base(activity, finish)
{
_app = app;
_ioc = ioc;
_databaseData = databaseData;
_compositeKey = compositeKey;
_keyfileOrProvider = keyfileOrProvider;
_updateLastUsageTimestamp = updateLastUsageTimestamp;
_makeCurrent = makeCurrent;
_rememberKeyfile = app.GetBooleanPreference(PreferenceKey.remember_keyfile);
_rememberKeyfile = app.GetBooleanPreference(PreferenceKey.remember_keyfile);
}
public override void Run()
protected bool success = false;
private bool _updateLastUsageTimestamp;
private readonly bool _makeCurrent;
public override void Run()
{
try
{
@@ -76,8 +82,12 @@ namespace keepass2android
}
//ok, try to load the database. Let's start with Kdbx format and retry later if that is the wrong guess:
_format = new KdbxDatabaseFormat(KdbpFile.GetFormatToUse(_ioc));
_format = new KdbxDatabaseFormat(KdbpFile.GetFormatToUse(_app.GetFileStorage(_ioc).GetFileExtension(_ioc)));
TryLoad(databaseStream);
success = true;
}
catch (Exception e)
{
@@ -89,7 +99,7 @@ namespace keepass2android
{
Kp2aLog.Log("KeyFileException");
Finish(false, /*TODO Localize: use Keepass error text KPRes.KeyFileError (including "or invalid format")*/
_app.GetResourceString(UiStringKey.keyfile_does_not_exist), Exception);
_app.GetResourceString(UiStringKey.keyfile_does_not_exist), false, Exception);
}
catch (AggregateException e)
{
@@ -100,20 +110,20 @@ namespace keepass2android
// Override the message shown with the last (hopefully most recent) inner exception
Kp2aLog.LogUnexpectedError(innerException);
}
Finish(false, _app.GetResourceString(UiStringKey.ErrorOcurred) + " " + message, Exception);
Finish(false, _app.GetResourceString(UiStringKey.ErrorOcurred) + " " + message, false, Exception);
return;
}
catch (DuplicateUuidsException e)
{
Kp2aLog.Log(e.ToString());
Finish(false, _app.GetResourceString(UiStringKey.DuplicateUuidsError) + " " + e.Message + _app.GetResourceString(UiStringKey.DuplicateUuidsErrorAdditional), Exception);
Finish(false, _app.GetResourceString(UiStringKey.DuplicateUuidsError) + " " + e.Message + _app.GetResourceString(UiStringKey.DuplicateUuidsErrorAdditional), false, Exception);
return;
}
catch (Exception e)
{
if (!(e is InvalidCompositeKeyException))
Kp2aLog.LogUnexpectedError(e);
Finish(false, _app.GetResourceString(UiStringKey.ErrorOcurred) + " " + e.Message, Exception);
Finish(false, _app.GetResourceString(UiStringKey.ErrorOcurred) + " " + (e.Message ?? (e is FileNotFoundException ? _app.GetResourceString(UiStringKey.FileNotFound) : "")), false, Exception);
return;
}
@@ -125,7 +135,7 @@ namespace keepass2android
/// </summary>
public Exception Exception { get; set; }
private void TryLoad(MemoryStream databaseStream)
Database TryLoad(MemoryStream databaseStream)
{
//create a copy of the stream so we can try again if we get an exception which indicates we should change parameters
//This is not optimal in terms of (short-time) memory usage but is hard to avoid because the Keepass library closes streams also in case of errors.
@@ -138,19 +148,16 @@ namespace keepass2android
//now let's go:
try
{
_app.LoadDatabase(_ioc, workingCopy, _compositeKey, StatusLogger, _format);
Database newDb = _app.LoadDatabase(_ioc, workingCopy, _compositeKey, StatusLogger, _format, _makeCurrent);
Kp2aLog.Log("LoadDB OK");
//make sure the stored access time for the actual file is more recent than that of its backup
Thread.Sleep(10);
SaveFileData(_ioc, _keyfileOrProvider);
Finish(true, _format.SuccessMessage);
return newDb;
}
catch (OldFormatException)
{
_format = new KdbDatabaseFormat(_app);
TryLoad(databaseStream);
return TryLoad(databaseStream);
}
catch (InvalidCompositeKeyException)
{
@@ -162,7 +169,7 @@ namespace keepass2android
//retry without password:
_compositeKey.RemoveUserKey(passwordKey);
//retry:
TryLoad(databaseStream);
return TryLoad(databaseStream);
}
else throw;
}
@@ -175,7 +182,7 @@ namespace keepass2android
{
keyfileOrProvider = "";
}
_app.StoreOpenedFileAsRecent(ioc, keyfileOrProvider);
_app.StoreOpenedFileAsRecent(ioc, keyfileOrProvider, _updateLastUsageTimestamp);
}

View File

@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using Android.App;
@@ -50,10 +51,19 @@ namespace keepass2android.database.edit
}
HashSet<Database> removeDatabases = new HashSet<Database>();
Database addDatabase = _app.FindDatabaseForElement(_targetGroup);
if (addDatabase == null)
{
Finish(false, "Did not find target database. Did you lock it?");
return;
}
foreach (var elementToMove in _elementsToMove)
{
_app.GetDb().Dirty.Add(elementToMove.ParentGroup);
_app.DirtyGroups.Add(elementToMove.ParentGroup);
PwGroup pgParent = elementToMove.ParentGroup;
if (pgParent != _targetGroup)
@@ -63,8 +73,14 @@ namespace keepass2android.database.edit
PwEntry entry = elementToMove as PwEntry;
if (entry != null)
{
var dbRem = _app.FindDatabaseForElement(entry);
removeDatabases.Add(dbRem);
dbRem.EntriesById.Remove(entry.Uuid);
dbRem.Elements.Remove(entry);
pgParent.Entries.Remove(entry);
_targetGroup.AddEntry(entry, true, true);
addDatabase.EntriesById.Add(entry.Uuid, entry);
addDatabase.Elements.Add(entry);
}
else
{
@@ -74,27 +90,60 @@ namespace keepass2android.database.edit
Finish(false, _app.GetResourceString(UiStringKey.CannotMoveGroupHere));
return;
}
var dbRem = _app.FindDatabaseForElement(@group);
if (dbRem == null)
{
Finish(false, "Did not find source database. Did you lock it?");
return;
}
dbRem.GroupsById.Remove(group.Uuid);
dbRem.Elements.Remove(group);
removeDatabases.Add(dbRem);
pgParent.Groups.Remove(group);
_targetGroup.AddGroup(group, true, true);
addDatabase.GroupsById.Add(group.Uuid, group);
addDatabase.Elements.Add(group);
}
}
}
}
_onFinishToRun = new ActionOnFinish(ActiveActivity, (success, message, activity) =>
{
if (!success)
{ // Let's not bother recovering from a failure.
_app.LockDatabase(false);
}
}, OnFinishToRun);
// Save
SaveDb save = new SaveDb(_ctx, _app, OnFinishToRun, false);
save.SetStatusLogger(StatusLogger);
save.Run();
//first save the database where we added the elements
var allDatabasesToSave = new List<Database> {addDatabase};
//then all databases where we removed elements:
removeDatabases.RemoveWhere(db => db == addDatabase);
allDatabasesToSave.AddRange(removeDatabases);
int indexToSave = 0;
bool allSavesSuccess = true;
void ContinueSave(bool success, string message, Activity activeActivity)
{
allSavesSuccess &= success;
indexToSave++;
if (indexToSave == allDatabasesToSave.Count)
{
OnFinishToRun.SetResult(allSavesSuccess);
OnFinishToRun.Run();
return;
}
SaveDb saveDb = new SaveDb(_ctx, _app, allDatabasesToSave[indexToSave], new ActionOnFinish(activeActivity, ContinueSave), false);
saveDb.SetStatusLogger(StatusLogger);
saveDb.ShowDatabaseIocInStatus = allDatabasesToSave.Count > 1;
saveDb.Run();
}
SaveDb save = new SaveDb(_ctx, _app, allDatabasesToSave[0], new ActionOnFinish(ActiveActivity, ContinueSave), false);
save.SetStatusLogger(StatusLogger);
save.ShowDatabaseIocInStatus = allDatabasesToSave.Count > 1;
save.Run();
}
}
}

View File

@@ -16,6 +16,7 @@ This file is part of Keepass2Android, Copyright 2013 Philipp Crocoll. This file
*/
using System;
using Android;
using Android.App;
using Android.Content;
using Android.OS;
@@ -28,11 +29,17 @@ namespace keepass2android
protected bool Success;
protected String Message;
protected Exception Exception;
protected OnFinish BaseOnFinish;
protected bool ImportantMessage
{
get;
set;
}
protected OnFinish BaseOnFinish;
protected Handler Handler;
private ProgressDialogStatusLogger _statusLogger = new ProgressDialogStatusLogger(); //default: no logging but not null -> can be used whenever desired
private Activity _activeActivity;
private Activity _activeActivity, _previouslyActiveActivity;
public ProgressDialogStatusLogger StatusLogger
@@ -46,7 +53,12 @@ namespace keepass2android
get { return _activeActivity; }
set
{
_activeActivity = value;
if (_activeActivity != null && _activeActivity != _previouslyActiveActivity)
{
_previouslyActiveActivity = _activeActivity;
}
_activeActivity = value;
if (BaseOnFinish != null)
{
BaseOnFinish.ActiveActivity = value;
@@ -54,8 +66,15 @@ namespace keepass2android
}
}
public Activity PreviouslyActiveActivity
{
get { return _previouslyActiveActivity; }
protected OnFinish(Activity activeActivity, Handler handler)
}
protected OnFinish(Activity activeActivity, Handler handler)
{
ActiveActivity = activeActivity;
BaseOnFinish = null;
@@ -77,20 +96,22 @@ namespace keepass2android
Handler = null;
}
public void SetResult(bool success, string message, Exception exception) {
public void SetResult(bool success, string message, bool importantMessage, Exception exception) {
Success = success;
Message = message;
ImportantMessage = importantMessage;
Exception = exception;
}
public void SetResult(bool success) {
public void SetResult(bool success) {
Success = success;
}
public virtual void Run() {
if (BaseOnFinish == null) return;
// Pass on result on call finish
BaseOnFinish.SetResult(Success, Message, Exception);
BaseOnFinish.SetResult(Success, Message, ImportantMessage, Exception);
if ( Handler != null ) {
Handler.Post(BaseOnFinish.Run);
@@ -100,14 +121,31 @@ namespace keepass2android
}
protected void DisplayMessage(Context ctx) {
DisplayMessage(ctx, Message);
DisplayMessage(ctx, Message, ImportantMessage);
}
public static void DisplayMessage(Context ctx, string message)
public static void DisplayMessage(Context ctx, string message, bool makeDialog)
{
if ( !String.IsNullOrEmpty(message) ) {
Kp2aLog.Log("OnFinish message: "+message);
Toast.MakeText(ctx ?? Application.Context, message, ToastLength.Long).Show();
Kp2aLog.Log("OnFinish message: " + message);
if (makeDialog && ctx != null)
{
try
{
AlertDialog.Builder builder = new AlertDialog.Builder(ctx);
builder.SetMessage(message)
.SetPositiveButton(Android.Resource.String.Ok, (sender, args) => ((Dialog)sender).Dismiss())
.Show();
}
catch (Exception)
{
Toast.MakeText(ctx, message, ToastLength.Long).Show();
}
}
else
Toast.MakeText(ctx ?? Application.Context, message, ToastLength.Long).Show();
}
}
}

View File

@@ -50,9 +50,9 @@ namespace keepass2android
}
}
protected void Finish(bool result, String message, Exception exception = null) {
protected void Finish(bool result, String message, bool importantMessage = false, Exception exception = null) {
if ( OnFinishToRun != null ) {
OnFinishToRun.SetResult(result, message, exception);
OnFinishToRun.SetResult(result, message, importantMessage, exception);
OnFinishToRun.Run();
}
}

View File

@@ -34,7 +34,8 @@ namespace keepass2android
public class SaveDb : RunnableOnFinish {
private readonly IKp2aApp _app;
private readonly bool _dontSave;
private readonly Database _db;
private readonly bool _dontSave;
/// <summary>
/// stream for reading the data from the original file. If this is set to a non-null value, we know we need to sync
@@ -43,9 +44,10 @@ namespace keepass2android
private readonly Context _ctx;
private Thread _workerThread;
public SaveDb(Activity ctx, IKp2aApp app, OnFinish finish, bool dontSave)
public SaveDb(Activity ctx, IKp2aApp app, Database db, OnFinish finish, bool dontSave)
: base(ctx, finish)
{
_db = db;
_ctx = ctx;
_app = app;
_dontSave = dontSave;
@@ -59,60 +61,73 @@ namespace keepass2android
/// <param name="finish"></param>
/// <param name="dontSave"></param>
/// <param name="streamForOrigFile">Stream for reading the data from the (changed) original location</param>
public SaveDb(Activity ctx, IKp2aApp app, OnFinish finish, bool dontSave, Stream streamForOrigFile)
public SaveDb(Activity ctx, IKp2aApp app, OnFinish finish, Database db, bool dontSave, Stream streamForOrigFile)
: base(ctx, finish)
{
_db = db;
_ctx = ctx;
_app = app;
_dontSave = dontSave;
_streamForOrigFile = streamForOrigFile;
}
public SaveDb(Activity ctx, IKp2aApp app, OnFinish finish)
public SaveDb(Activity ctx, IKp2aApp app, Database db, OnFinish finish)
: base(ctx, finish)
{
_ctx = ctx;
_app = app;
_dontSave = false;
_db = db;
_dontSave = false;
}
public override void Run ()
public bool ShowDatabaseIocInStatus { get; set; }
public override void Run ()
{
if (!_dontSave)
{
try
{
if (_app.GetDb().CanWrite == false)
if (_db.CanWrite == false)
{
//this should only happen if there is a problem in the UI so that the user sees an edit interface.
Finish(false,"Cannot save changes. File is read-only!");
return;
}
StatusLogger.UpdateMessage(UiStringKey.saving_database);
IOConnectionInfo ioc = _app.GetDb().Ioc;
string message = _app.GetResourceString(UiStringKey.saving_database);
if (ShowDatabaseIocInStatus)
message += " (" + _app.GetFileStorage(_db.Ioc).GetDisplayName(_db.Ioc) + ")";
StatusLogger.UpdateMessage(message);
IOConnectionInfo ioc = _db.Ioc;
IFileStorage fileStorage = _app.GetFileStorage(ioc);
if (_streamForOrigFile == null)
{
if ((!_app.GetBooleanPreference(PreferenceKey.CheckForFileChangesOnSave))
|| (_app.GetDb().KpDatabase.HashOfFileOnDisk == null)) //first time saving
|| (_db.KpDatabase.HashOfFileOnDisk == null)) //first time saving
{
PerformSaveWithoutCheck(fileStorage, ioc);
Finish(true);
return;
}
}
if (
(_streamForOrigFile != null)
|| fileStorage.CheckForFileChangeFast(ioc, _app.GetDb().LastFileVersion) //first try to use the fast change detection
|| (FileHashChanged(ioc, _app.GetDb().KpDatabase.HashOfFileOnDisk) == FileHashChange.Changed) //if that fails, hash the file and compare:
)
bool hasStreamForOrigFile = (_streamForOrigFile != null);
bool hasChangeFast = hasStreamForOrigFile ||
fileStorage.CheckForFileChangeFast(ioc, _db.LastFileVersion); //first try to use the fast change detection;
bool hasHashChanged = hasChangeFast ||
(FileHashChanged(ioc, _db.KpDatabase.HashOfFileOnDisk) ==
FileHashChange.Changed); //if that fails, hash the file and compare:
if (hasHashChanged)
{
Kp2aLog.Log("Conflict. " + hasStreamForOrigFile + " " + hasChangeFast + " " + hasHashChanged);
//ask user...
_app.AskYesNoCancel(UiStringKey.TitleSyncQuestion, UiStringKey.MessageSyncQuestion,
@@ -128,6 +143,7 @@ namespace keepass2android
//small.
MergeIn(fileStorage, ioc);
PerformSaveWithoutCheck(fileStorage, ioc);
_db.UpdateGlobals();
Finish(true);
};
RunInWorkerThread(runHandler);
@@ -217,13 +233,13 @@ namespace keepass2android
StatusLogger.UpdateSubMessage(_app.GetResourceString(UiStringKey.SynchronizingDatabase));
PwDatabase pwImp = new PwDatabase();
PwDatabase pwDatabase = _app.GetDb().KpDatabase;
pwImp.New(new IOConnectionInfo(), pwDatabase.MasterKey);
PwDatabase pwDatabase = _db.KpDatabase;
pwImp.New(new IOConnectionInfo(), pwDatabase.MasterKey, _app.GetFileStorage(ioc).GetFilenameWithoutPathAndExt(ioc));
pwImp.MemoryProtection = pwDatabase.MemoryProtection.CloneDeep();
pwImp.MasterKey = pwDatabase.MasterKey;
var stream = GetStreamForBaseFile(fileStorage, ioc);
_app.GetDb().DatabaseFormat.PopulateDatabaseFromStream(pwImp, stream, null);
_db.DatabaseFormat.PopulateDatabaseFromStream(pwImp, stream, null);
pwDatabase.MergeIn(pwImp, PwMergeMethod.Synchronize, null);
@@ -249,8 +265,8 @@ namespace keepass2android
private void PerformSaveWithoutCheck(IFileStorage fileStorage, IOConnectionInfo ioc)
{
StatusLogger.UpdateSubMessage("");
_app.GetDb().SaveData();
_app.GetDb().LastFileVersion = fileStorage.GetCurrentFileVersionFast(ioc);
_db.SaveData();
_db.LastFileVersion = fileStorage.GetCurrentFileVersionFast(ioc);
}
public byte[] HashOriginalFile(IOConnectionInfo iocFile)

View File

@@ -52,7 +52,7 @@ namespace keepass2android
public override void Run ()
{
StatusLogger.UpdateMessage(UiStringKey.SettingPassword);
PwDatabase pm = _app.GetDb().KpDatabase;
PwDatabase pm = _app.CurrentDb.KpDatabase;
CompositeKey newKey = new CompositeKey ();
if (String.IsNullOrEmpty (_password) == false) {
newKey.AddUserKey (new KcpPassword (_password));
@@ -74,7 +74,7 @@ namespace keepass2android
// Save Database
_onFinishToRun = new AfterSave(ActiveActivity, previousKey, previousMasterKeyChanged, pm, OnFinishToRun);
SaveDb save = new SaveDb(_ctx, _app, OnFinishToRun, _dontSave);
SaveDb save = new SaveDb(_ctx, _app, _app.CurrentDb, OnFinishToRun, _dontSave);
save.SetStatusLogger(StatusLogger);
save.Run();
}

View File

@@ -36,7 +36,7 @@ namespace keepass2android
public override void Run() {
// Commit to disk
SaveDb save = new SaveDb(_ctx, _app, OnFinishToRun);
SaveDb save = new SaveDb(_ctx, _app, _app.CurrentDb, OnFinishToRun);
save.SetStatusLogger(StatusLogger);
save.Run();
}
@@ -59,7 +59,7 @@ namespace keepass2android
if ( parent != null ) {
// Mark parent group dirty
_app.GetDb().Dirty.Add(parent);
_app.DirtyGroups.Add(parent);
}

View File

@@ -1,14 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Xamarin.Android.Arch.Core.Common" version="1.0.0" targetFramework="monoandroid81" />
<package id="Xamarin.Android.Arch.Lifecycle.Common" version="1.0.1" targetFramework="monoandroid81" />
<package id="Xamarin.Android.Arch.Lifecycle.Runtime" version="1.0.0" targetFramework="monoandroid81" />
<package id="Xamarin.Android.Support.Annotations" version="26.1.0.1" targetFramework="monoandroid81" />
<package id="Xamarin.Android.Support.Compat" version="26.1.0.1" targetFramework="monoandroid81" />
<package id="Xamarin.Android.Support.Core.UI" version="26.1.0.1" targetFramework="monoandroid81" />
<package id="Xamarin.Android.Support.Core.Utils" version="26.1.0.1" targetFramework="monoandroid81" />
<package id="Xamarin.Android.Support.Fragment" version="26.1.0.1" targetFramework="monoandroid81" />
<package id="Xamarin.Android.Support.Media.Compat" version="26.1.0.1" targetFramework="monoandroid81" />
<package id="Xamarin.Android.Support.v13" version="26.1.0.1" targetFramework="monoandroid81" />
<package id="Xamarin.Android.Support.v4" version="23.1.1.0" targetFramework="MonoAndroid50" />
</packages>

View File

@@ -10,8 +10,9 @@
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
<AssemblyName>Kp2aKeyboardBinding</AssemblyName>
<AndroidUseLatestPlatformSdk>True</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v8.1</TargetFrameworkVersion>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v10.0</TargetFrameworkVersion>
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
@@ -67,5 +68,4 @@
<ItemGroup>
<Folder Include="libs\" />
</ItemGroup>
</Project>
</Project>

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More