Compare commits

...

1221 Commits

Author SHA1 Message Date
Philipp Crocoll
62c361feb0 revert unintentional change 2025-07-08 17:03:32 +02:00
Philipp Crocoll
0ee2495528 disable password-based QuickUnlock when device is not protected by screen lock 2025-07-08 16:54:45 +02:00
Philipp Crocoll
7dc635a625 Update KeePass2 code for password quality estimation; add and use list of most popular passwords to account for NIST recommendation of using "blocklists" 2025-07-08 12:09:59 +02:00
Philipp Crocoll
e15112c3b4 disable cleartextTrafficPermitted. default to https for links. 2025-07-08 10:35:50 +02:00
Philipp Crocoll
89a09ea142 set version to 1.12-r9d 2025-07-05 14:17:07 +02:00
Philipp Crocoll
628c0d2c19 enable creation of a release 2025-07-05 14:16:17 +02:00
Philipp Crocoll
584feabe44 build process: add previously missing change; fix error in build.yml, more verbose output in release.yml 2025-07-05 13:34:01 +02:00
Philipp Crocoll
ae2cfde897 change makefile to no longer use msbuild but always dotnet 2025-07-05 13:10:21 +02:00
Philipp Crocoll
42c66670b8 release process: make find calls to run in bash 2025-07-05 12:12:49 +02:00
Philipp Crocoll
288539b902 make output more verbose 2025-07-05 11:09:55 +02:00
Philipp Crocoll
61fd32f121 avoid building the "full" apk when calling apk_split 2025-07-05 09:39:54 +02:00
Philipp Crocoll
43108ec4a6 remove ls step in release 2025-07-05 08:35:58 +02:00
Philipp Crocoll
51089c6b98 change build artifact release paths. make archive name depend on matrix variables. 2025-07-05 08:16:30 +02:00
Philipp Crocoll
cf18fcf91c remove distclean from build 2025-07-05 08:15:58 +02:00
Philipp Crocoll
da0513c768 don't create release but only list files to test the release workflow without polluting github releases 2025-07-05 07:49:39 +02:00
Philipp Crocoll
37f520cdbe manifest for r9c 2025-07-05 07:40:21 +02:00
Philipp Crocoll
c98572bee0 fix wildcard for selecting files to upload to release 2025-07-05 07:39:44 +02:00
Philipp Crocoll
b1774ffc4b increase version number ot r9b 2025-07-05 07:19:26 +02:00
Philipp Crocoll
57aaa0c4cd start release action by pushing version tags instead of when release is created on Github 2025-07-05 07:18:21 +02:00
Philipp Crocoll
b961ae1b33 make sure AndroidManifest.xml exists before running nuget 2025-07-05 07:12:17 +02:00
Philipp Crocoll
5e418e2b1b run workload update before any dotnet/nuget calls in github actions 2025-07-05 06:57:00 +02:00
Philipp Crocoll
6d22a213f3 add build target apk_split; build all combinations in a Github action when creating the release 2025-07-05 06:44:28 +02:00
Philipp Crocoll
a76addc43f manifest for 1.12-r9 2025-07-05 06:43:39 +02:00
Philipp Crocoll
1d96217713 remove GooglePlayServices Auth and Base from apk in NoNet build 2025-07-05 06:42:42 +02:00
Philipp Crocoll
d2b8fdcfff allow using Dropbox secrets from environment (better suited for Github action builds) 2025-07-05 06:34:23 +02:00
Philipp Crocoll
507b671448 exclude Mega and OneDrive from NoNet build. Manifest for 1.12-r8c 2025-07-02 21:39:37 +02:00
Philipp Crocoll
3118ffaeb5 update version code and name => r8b (to distinguish from previously incorrect r8 build) 2025-07-02 21:04:22 +02:00
Philipp Crocoll
0abe29bd77 restore NoNet build, including removal of MLKit for that Flavor as it adds internet permission 2025-07-02 21:03:20 +02:00
Philipp Crocoll
f3a7831390 upload release artifacts before rebuilding 2025-06-30 22:29:31 +02:00
Philipp Crocoll
37cd58f7ba Merge branch 'v1.12' 2025-06-30 21:59:46 +02:00
Philipp Crocoll
7dd80a8ef7 remove "net" where no longer appropriate from workflow file 2025-06-30 16:16:55 +02:00
Philipp Crocoll
c78636264b align net and nonet manifests 2025-06-30 16:05:02 +02:00
Philipp Crocoll
035506a5a3 add nonet to release workflow 2025-06-30 16:04:38 +02:00
PhilippC
4cf46ef062 Merge pull request #2933 from PhilippC/v1.12
several updates for V1.12
2025-06-30 15:48:57 +02:00
Philipp Crocoll
c7b8063171 add previously forgotten changes 2025-06-30 14:36:59 +02:00
Philipp Crocoll
0a8b149c9a fix failing AutofillTest by adjusting to changed policy 2025-06-30 14:05:26 +02:00
Philipp Crocoll
9240a27791 run workload update before running tests, otherwise dotnet test can fail 2025-06-30 13:38:54 +02:00
PhilippC
e90d5b903c Merge pull request #2932 from PhilippC/2915-bug-exporting-the-key-file-broken-android-file-browser-doesnt-open
Fix crash when exporting key file
2025-06-30 12:43:08 +02:00
Philipp Crocoll
50b4a9f1b9 add missing Theme attributes 2025-06-30 12:42:05 +02:00
Philipp Crocoll
9783c3b5fe manifest for 1.12-r7 2025-06-24 17:12:22 +02:00
Philipp Crocoll
7a837e3237 show autofill more often without requiring manual requests, might mitigate issues in https://github.com/PhilippC/keepass2android/issues/2898 2025-06-24 17:10:50 +02:00
Philipp Crocoll
c8f6714373 refactoring: simplify autofill code 2025-06-24 17:10:08 +02:00
Philipp Crocoll
bc0313aa6a remove no-longer-needed step in release workflow 2025-06-24 15:41:46 +02:00
Philipp Crocoll
0f98668bcd improve app stability and refactor to get better logs 2025-06-24 15:41:11 +02:00
Philipp Crocoll
8d1195ac96 manifest for v1.12-r6b. Same as v1.12-r6, but need a new version code for Google Play release based on github-action built apk 2025-06-18 03:00:52 +02:00
Philipp Crocoll
df731ac1b3 add checksum to releases; cleanup workflow 2025-06-18 02:40:03 +02:00
Philipp Crocoll
bd784fa13d fix file path for apk to upload 2025-06-18 02:29:47 +02:00
Philipp Crocoll
a6bc5e657c remove no longer needed installation of sdk 26 2025-06-18 02:09:36 +02:00
Philipp Crocoll
56c4cdb321 add Configuration=Release 2025-06-18 02:04:52 +02:00
Philipp Crocoll
42a4a83c7d add upload apk to release in workflow 2025-06-17 22:20:56 +02:00
Philipp Crocoll
fe3933e154 try escape keystore env for building apk 2025-06-17 22:02:21 +02:00
Philipp Crocoll
3efe130ee8 remove unescaped test 2025-06-17 21:59:46 +02:00
Philipp Crocoll
5808857749 fix quoting for shell 2025-06-17 21:12:51 +02:00
Philipp Crocoll
a7397c3316 explicitly set shell=bash 2025-06-17 21:08:13 +02:00
Philipp Crocoll
d12f936898 next attempt 2025-06-17 20:51:10 +02:00
Philipp Crocoll
67f7d74bb9 and more debugging 2025-06-17 20:44:34 +02:00
Philipp Crocoll
b0d0f06073 more debug 2025-06-17 20:37:24 +02:00
Philipp Crocoll
67ee571c27 fix debugging signing 2025-06-17 20:32:15 +02:00
Philipp Crocoll
a360695271 debug signing 2025-06-17 20:28:05 +02:00
Philipp Crocoll
149857a516 make keystore path absolute 2025-06-17 18:45:17 +02:00
Philipp Crocoll
fb8ffb802f try to fix release workflow 2025-06-17 17:50:10 +02:00
Philipp Crocoll
e957073457 add workflow file for generating the "net" release apk 2025-06-17 17:30:16 +02:00
Philipp Crocoll
da86b0f50b manifest for 1.12-r6 2025-06-17 16:55:47 +02:00
PhilippC
0aa78ffd66 Merge pull request #2862 from Gian-Fr/fix-makefile
Fixed MakeFile for Linux
2025-06-17 16:52:04 +02:00
PhilippC
ce0087af99 Merge pull request #2850 from PhilippC/l10n_master3
New Crowdin updates
2025-06-17 16:46:16 +02:00
PhilippC
576bfeecfe Merge pull request #2918 from PhilippC/2869-fix-bad-behavior-when-starting-passwordactivity-twice
Fix bad behavior when starting passwordactivity twice
2025-06-17 16:45:12 +02:00
Philipp Crocoll
c0e2f34b79 use correct message severity when synchronizing 2025-06-17 16:42:30 +02:00
Philipp Crocoll
84d0c32610 fix issue with loading Yubikey aux file. closes #2880 2025-06-17 16:27:43 +02:00
Philipp Crocoll
40184dbd55 catch exception while sending log data. might throw if too much data is sent. 2025-06-17 14:58:06 +02:00
Philipp Crocoll
2d17bdde19 add more logging while loading database to get more info regarding #2868 2025-06-17 14:58:01 +02:00
Philipp Crocoll
e2babde1fa do not reset activity state in OnNewIntent if the activity hasn't even been initialized. closes #2869, closes #2888 2025-06-17 14:04:15 +02:00
Philipp Crocoll
e1f26fb045 cleanup and improve formatting 2025-06-17 13:58:29 +02:00
Philipp Crocoll
adbbfa0ac1 add more logging to diagnose #2891 2025-06-17 08:27:13 +02:00
PhilippC
37a013135e New translations strings.xml (French) 2025-06-05 23:19:38 +02:00
PhilippC
acc6ea7f85 New translations strings.xml (French) 2025-06-05 22:10:08 +02:00
PhilippC
62f012713a New translations strings.xml (Turkish) 2025-06-03 19:34:43 +02:00
PhilippC
0d726c1789 New translations strings.xml (Turkish) 2025-06-03 17:37:29 +02:00
Philipp Crocoll
f162e868b9 link libargon2.so for x86 and x86_64 to fix #2881 2025-06-03 17:07:17 +02:00
PhilippC
0a1f95653f New translations strings.xml (Spanish) 2025-06-01 16:19:37 +02:00
PhilippC
27451825c6 New translations strings.xml (Italian) 2025-05-29 10:32:52 +02:00
PhilippC
bdd6f1033e New translations strings.xml (Romanian) 2025-05-26 14:25:46 +02:00
PhilippC
c0413f9b74 New translations strings.xml (Turkish) 2025-05-26 12:52:41 +02:00
PhilippC
59d6fc8fdb New translations strings.xml (German) 2025-05-16 08:18:05 +02:00
PhilippC
c500245647 New translations strings.xml (German) 2025-05-16 06:50:12 +02:00
PhilippC
026a263f10 New translations strings.xml (German) 2025-05-13 10:41:52 +02:00
PhilippC
839e6d3cb4 New translations strings.xml (French) 2025-05-12 04:51:42 +02:00
PhilippC
735f4caf89 New translations strings.xml (French) 2025-05-12 03:33:02 +02:00
PhilippC
11af71ef82 New translations strings.xml (Slovak) 2025-05-12 00:26:40 +02:00
PhilippC
e09577d17f New translations strings.xml (Slovak) 2025-05-11 22:34:40 +02:00
Gian-Fr
c1dbf171f5 Fixed MakeFile for Linux 2025-05-01 16:21:02 +02:00
PhilippC
4ca4ec10be New translations strings.xml (Czech) 2025-04-24 11:00:27 +02:00
PhilippC
77fded4964 New translations strings.xml (Chinese Simplified) 2025-04-24 11:00:26 +02:00
PhilippC
578491b1c7 New translations strings.xml (Slovenian) 2025-04-24 08:40:12 +02:00
PhilippC
eee3ffd861 New translations strings.xml (Slovenian) 2025-04-24 07:18:52 +02:00
PhilippC
89696d7f0d New translations strings.xml (Portuguese, Brazilian) 2025-04-23 00:14:27 +02:00
Philipp Crocoll
e5d28f0979 only try to activate the keyboard once in password activity and entry edit activity; explain why the prompt shows up in SwitchImeActivity. closes #1400 2025-04-22 17:48:56 +02:00
Philipp Crocoll
0e581a66c5 treat server certificate failures as error by default, closes #1078 2025-04-22 16:02:02 +02:00
PhilippC
a202c76bf0 New translations strings.xml (Chinese Simplified) 2025-04-22 08:10:50 +02:00
PhilippC
c9936ab76b New translations strings.xml (Italian) 2025-04-16 21:31:25 +02:00
PhilippC
7ac6f7ed51 New translations strings.xml (Italian) 2025-04-16 21:31:24 +02:00
PhilippC
ceb31c54b1 Merge pull request #2847 from PhilippC/2430-remove-plain-storage-uri-from-logs
remove potential plain-text credentials for file storage from logs
2025-04-15 14:27:02 +02:00
Philipp Crocoll
42d8be593e remove potential plain-text credentials for file storage from logs 2025-04-15 14:00:31 +02:00
Philipp Crocoll
313adb6c3e manifest for 1.12-r5 2025-04-15 13:27:47 +02:00
PhilippC
668ba4cdee Merge pull request #2845 from PhilippC/2816-bug-yubikey-not-working-in-112
fix implementation of yubikey secret reading
2025-04-15 13:18:25 +02:00
PhilippC
a36bfa7ff5 Merge pull request #2833 from PhilippC/l10n_master3
New Crowdin updates
2025-04-15 12:45:48 +02:00
Philipp Crocoll
26c37bcd2a fix implementation of yubikey secret reading 2025-04-15 12:44:43 +02:00
PhilippC
1980f05a7c Merge pull request #2844 from PhilippC/2837-improve-error-reporting
Improve error reporting and fix crash
2025-04-15 12:17:18 +02:00
Philipp Crocoll
dbf10ba9fb Improve error reporting: Extract original message when showing "Java exception messages" consistently. Improve error handling in deprecated OneDrive API stub and avoid crash by no-longer throwing in Main-thread methods. 2025-04-15 11:45:16 +02:00
PhilippC
4be18d8373 Merge pull request #2830 from PhilippC/754-crash-when-using-fingerprint-before-otp
Fix crash when combining biometric unlock and KeeChallenge/OTP.
2025-04-15 11:42:59 +02:00
PhilippC
831b290d81 New translations strings.xml (Greek) 2025-04-13 20:35:49 +02:00
PhilippC
9d4c15f7bc New translations strings.xml (Greek) 2025-04-13 19:35:57 +02:00
PhilippC
4c4afa792d New translations strings.xml (Romanian) 2025-04-09 10:41:02 +02:00
Philipp Crocoll
8e256ac94d fix crash when combining biometric unlock and KeeChallenge/OTP. 2025-04-08 16:27:52 +02:00
Philipp Crocoll
65ff09f866 Manifest for 1.12-r4 2025-04-08 15:31:56 +02:00
Philipp Crocoll
8e9c2824cf add some files for building on Linux 2025-04-08 14:16:39 +02:00
PhilippC
92b8ff5c8d Merge pull request #2827 from PhilippC/2816-bug-yubikey-not-working-in-112
fix reading of cryptostream. Fixes Yubikey/KeeChallenge regression in 1.12-r1 .. 1.12-r3
2025-04-08 12:57:36 +02:00
PhilippC
223c3bfb8e Merge pull request #2826 from PhilippC/feature/snackbar-messages
use snackbars instead of toasts
2025-04-08 12:56:23 +02:00
PhilippC
b4e03a8374 Merge pull request #2797 from PhilippC/l10n_master3
New Crowdin updates
2025-04-08 12:41:50 +02:00
PhilippC
fb2df35d37 Merge pull request #2828 from PhilippC/2818-feat-new-color-scheme-too-beige-green
slightly adjust background color to become true gray.
2025-04-08 12:34:55 +02:00
Philipp Crocoll
345dad5d04 slightly adjust background color to become true gray. closes #2818 2025-04-08 12:34:07 +02:00
Philipp Crocoll
50d6598b02 fix reading of cryptostream. The implementation issue became a bug in .net8. Closes #2816 2025-04-08 12:25:29 +02:00
Philipp Crocoll
90f04b76f4 fix issue with MessagePresenter potentially crashing 2025-04-08 12:20:24 +02:00
Philipp Crocoll
8b4314c394 fix bug with messages not always showing as they should. 2025-04-08 11:25:43 +02:00
Philipp Crocoll
17241bc422 use snackbars instead of toasts (in most cases) 2025-04-08 10:37:40 +02:00
PhilippC
c4a73bf107 New translations strings.xml (Czech) 2025-04-04 15:32:59 +02:00
Philipp Crocoll
e76f3999b6 reduce logging verbosity of file provider 2025-04-01 15:36:39 +02:00
Philipp Crocoll
0567bfe645 fix wiki links 2025-04-01 12:42:43 +02:00
Philipp Crocoll
6043bdbc48 * restore some files which are link targets from within the app or the web. add links to the corresponding new wiki pages if possible. 2025-04-01 12:38:58 +02:00
PhilippC
4ba40ba24f New translations strings.xml (Slovenian) 2025-03-27 12:19:23 +01:00
PhilippC
e2711b709d New translations strings.xml (Portuguese, Brazilian) 2025-03-26 12:13:50 +01:00
PhilippC
4764b15e75 New translations strings.xml (Portuguese, Brazilian) 2025-03-26 09:06:54 +01:00
PhilippC
1b389ef12e New translations strings.xml (Japanese) 2025-03-26 09:06:43 +01:00
PhilippC
b32c2dbc7e New translations strings.xml (Czech) 2025-03-26 09:06:37 +01:00
PhilippC
f06937dab3 New translations strings.xml (French) 2025-03-26 09:06:32 +01:00
PhilippC
14efce62ff New translations strings.xml (Slovenian) 2025-03-26 09:06:29 +01:00
PhilippC
3c8b530e2e New translations strings.xml (Slovak) 2025-03-26 09:06:28 +01:00
PhilippC
9939e07b7d New translations strings.xml (Italian) 2025-03-26 09:06:27 +01:00
PhilippC
ecf416febc New translations strings.xml (German) 2025-03-26 09:06:25 +01:00
Philipp Crocoll
f949e6e389 add an item to the changelog for 1.12 2025-03-26 08:49:57 +01:00
Philipp Crocoll
15bf08f5e6 fix crash in NoSecureDisplayActivity by removing superfluous toolbar creation 2025-03-26 08:49:35 +01:00
Philipp Crocoll
fa69f38ab1 add some more error logging 2025-03-26 08:49:11 +01:00
Philipp Crocoll
d3b06080eb remove docs from repo. has been moved to https://github.com/PhilippC/keepass2android/wiki 2025-03-26 08:36:43 +01:00
PhilippC
749ab330ff Merge pull request #2815 from PhilippC/bugfix/list-onedrive-shares-failing
Improve OneDrive implementation
2025-03-25 17:01:01 +01:00
Philipp Crocoll
677c6555e8 this change fixes an issue with OneDrive: sometimes, the wrong DriveId was used to list the user's shares which was leading to an empty file browser screen. Also, files can be used if they are shared directly (not the parent folder) 2025-03-25 12:31:35 +01:00
PhilippC
c62f6ef139 Merge pull request #2814 from PhilippC/feature/otpauth-uris
Add support for otpauth:// URIs
2025-03-25 12:27:11 +01:00
Philipp Crocoll
0c34625782 Merge remote-tracking branch 'remotes/origin/master' into feature/otpauth-uris 2025-03-25 10:56:42 +01:00
Philipp Crocoll
e86fa6f9fa add support for otpauth:// URIs 2025-03-25 10:56:24 +01:00
PhilippC
e2e975f357 Merge pull request #2805 from PhilippC/feature/debug-improvements
Improve debugging experience
2025-03-25 10:53:02 +01:00
Philipp Crocoll
8eaf6d3f88 add comment in Makefile 2025-03-25 10:52:33 +01:00
PhilippC
1cb036941e New translations strings.xml (Vietnamese) 2025-03-23 09:12:18 +01:00
PhilippC
a53ff37e89 New translations strings.xml (Vietnamese) 2025-03-23 07:30:07 +01:00
PhilippC
dc3ee35c8b New translations strings.xml (Italian) 2025-03-21 14:54:31 +01:00
PhilippC
e05fe94650 New translations strings.xml (Italian) 2025-03-20 21:28:17 +01:00
PhilippC
b0cb0b06a2 New translations strings.xml (German) 2025-03-20 19:11:11 +01:00
PhilippC
a9fed1c203 Merge pull request #2804 from PhilippC/bugfix/gdrive-class-def-not-found
Bugfix/gdrive class def not found
2025-03-18 17:07:33 +01:00
Philipp Crocoll
6d8407676d add a custom "Kp2a debug" icon for distinguishability. remove an Assert we don't use and which should fire during debugging. 2025-03-18 16:43:47 +01:00
Philipp Crocoll
1157716c9c manifest for 1.12-r3 2025-03-18 16:35:58 +01:00
Philipp Crocoll
861615b7a4 update AndroidX packages and add missing dependencies to Guava and PlayServices.Auth. 2025-03-18 16:34:31 +01:00
Philipp Crocoll
e12d11264e switch to testing Google Drive 2025-03-18 16:32:55 +01:00
PhilippC
6d7b4810da New translations strings.xml (Hungarian) 2025-03-18 13:16:38 +01:00
PhilippC
585b747612 New translations strings.xml (Hungarian) 2025-03-18 11:35:13 +01:00
PhilippC
55887e1a89 New translations strings.xml (Slovak) 2025-03-17 18:31:07 +01:00
PhilippC
39a7a1298a New translations strings.xml (Romanian) 2025-03-14 09:08:28 +01:00
PhilippC
90059c5ae6 New translations strings.xml (Romanian) 2025-03-14 09:08:27 +01:00
PhilippC
ad63179484 New translations strings.xml (Romanian) 2025-03-14 07:51:48 +01:00
PhilippC
6eaba9d3a8 New translations strings.xml (Chinese Simplified) 2025-03-13 08:11:39 +01:00
PhilippC
11ce68902c New translations strings.xml (Slovenian) 2025-03-13 08:11:38 +01:00
PhilippC
70ca059e0f New translations strings.xml (Portuguese, Brazilian) 2025-03-12 00:48:40 +01:00
Philipp Crocoll
6588f40007 manifest for v1.12-r2 2025-03-11 18:31:06 +01:00
PhilippC
67aaba0656 Merge pull request #2787 from PhilippC/l10n_master3
New Crowdin updates
2025-03-11 16:59:24 +01:00
PhilippC
2d8eac4f12 Merge pull request #2796 from PhilippC/feature/improve-help-texts
improve help texts
2025-03-11 16:43:49 +01:00
Philipp Crocoll
00d822ad4b * show a toast when users without Play services are trying to scan a QR code (#2791)
* show a message informing that built-in Google Drive support is more and more restricted by Google (#2788)
2025-03-11 16:43:13 +01:00
PhilippC
5cf15b26b9 Merge pull request #2795 from PhilippC/bugfix/autofill-fixes
Autofill fixes
2025-03-11 16:37:31 +01:00
Philipp Crocoll
07f08a8851 autofill: avoid crash when looking up a null key.
closes https://github.com/PhilippC/keepass2android/issues/2362
2025-03-11 16:11:35 +01:00
Philipp Crocoll
d2e0ae6394 after updating to targetSdkVersion=34, an implicit mutable intent could lead to a crash.
closes https://github.com/PhilippC/keepass2android/issues/2790
2025-03-11 16:10:52 +01:00
PhilippC
cbae7c38cf New translations strings.xml (Romanian) 2025-03-07 12:55:01 +01:00
PhilippC
15656109bc New translations strings.xml (Romanian) 2025-03-07 11:03:36 +01:00
PhilippC
93e415120a New translations strings.xml (Slovak) 2025-03-06 13:19:21 +01:00
PhilippC
c47e7c03f9 New translations strings.xml (Portuguese, Brazilian) 2025-03-06 11:20:24 +01:00
PhilippC
125512d2c3 New translations strings.xml (French) 2025-03-05 23:47:24 +01:00
PhilippC
65b0d31762 New translations strings.xml (French) 2025-03-05 22:50:35 +01:00
PhilippC
9103529b64 New translations strings.xml (Japanese) 2025-03-05 15:46:39 +01:00
PhilippC
349952cb52 New translations strings.xml (Czech) 2025-03-05 15:46:38 +01:00
PhilippC
305cf6b050 New translations strings.xml (Slovenian) 2025-03-05 14:14:47 +01:00
PhilippC
78ff49a6d4 New translations strings.xml (Portuguese, Brazilian) 2025-03-04 15:38:10 +01:00
Philipp Crocoll
9cd8996aeb manifest and changelog for 1.12-r1 2025-03-04 15:01:19 +01:00
PhilippC
25232a4146 New translations strings.xml (Portuguese, Brazilian) 2025-03-04 14:29:54 +01:00
PhilippC
5266d2f985 New translations strings.xml (Romanian) 2025-03-04 13:19:32 +01:00
PhilippC
ae35d5873a Merge pull request #2785 from PhilippC/bugfix/webdav-fileselect-not-working-always
Bugfix: Webdav username and password could got lost during file selection
2025-03-04 12:25:26 +01:00
PhilippC
fe9aaa0d29 Merge pull request #2786 from PhilippC/bugfix/webdav-dialog-crashing
add a theme to SelectStorageLocationActivity
2025-03-04 12:16:08 +01:00
PhilippC
076bde7669 Merge pull request #2784 from PhilippC/l10n_master3
New Crowdin updates
2025-03-04 12:11:29 +01:00
Philipp Crocoll
592bee1ac1 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2025-03-04 11:58:13 +01:00
Philipp Crocoll
c9a7d56da4 Webdav username and password could got lost during file selection (seems to depend on server behavior in PROPFIND request). Fix this for these cases. 2025-03-04 11:55:10 +01:00
PhilippC
2157cc8e4a New translations strings.xml (Romanian) 2025-03-04 11:54:51 +01:00
Philipp Crocoll
2cd11ba50e add a theme to SelectStorageLocationActivity. without, the webdav credential dialog was crashing. 2025-02-25 16:15:45 +01:00
Philipp Crocoll
eddcedd00b manifest and changelog for 1.12-r0. Fix changelog to adhere to theme. 2025-02-25 13:02:29 +01:00
PhilippC
0d4fe11cfb Merge pull request #2772 from PhilippC/l10n_master3
New Crowdin updates
2025-02-25 11:07:18 +01:00
PhilippC
ecbf4e511d New translations strings.xml (Spanish) 2025-02-24 14:24:35 +01:00
PhilippC
16bbae832e New translations strings.xml (Slovenian) 2025-02-17 08:34:55 +01:00
PhilippC
571da788d0 New translations strings.xml (Slovak) 2025-02-14 22:47:24 +01:00
PhilippC
f2eed5ece0 New translations strings.xml (Slovak) 2025-02-14 21:28:37 +01:00
PhilippC
2c5516310f New translations strings.xml (Chinese Simplified) 2025-02-12 12:55:34 +01:00
PhilippC
5550dffab8 New translations strings.xml (Portuguese, Brazilian) 2025-02-11 23:57:51 +01:00
PhilippC
b9744dd6b5 New translations strings.xml (German) 2025-02-11 18:28:15 +01:00
PhilippC
82fedb3526 Merge pull request #2771 from PhilippC/l10n_master3
New Crowdin updates
2025-02-11 17:16:10 +01:00
PhilippC
cc4f0a3dec Merge pull request #2768 from PhilippC/update/upgrade-dropbox-sdk-to-7-0-0
upgrade Dropbox SDK to 7.0.0.
2025-02-11 17:06:30 +01:00
PhilippC
cdfa48d942 New translations strings.xml (German) 2025-02-11 16:48:42 +01:00
PhilippC
c4edc871b3 New translations strings.xml (German) 2025-02-11 16:43:20 +01:00
PhilippC
ed6d1d2aaf New translations strings.xml (German) 2025-02-11 16:43:03 +01:00
PhilippC
b0f56dbb2c New translations strings.xml (German) 2025-02-11 16:42:44 +01:00
PhilippC
c794efe899 New translations strings.xml (Yoruba) 2025-02-11 16:19:20 +01:00
PhilippC
c2fb4f103d New translations strings.xml (Vietnamese) 2025-02-11 16:19:15 +01:00
PhilippC
18b192bc42 New translations strings.xml (Hebrew) 2025-02-11 16:19:08 +01:00
PhilippC
522fc9816d New translations strings.xml (German) 2025-02-11 16:19:06 +01:00
PhilippC
3be4fb8460 New translations strings.xml (Romanian) 2025-02-11 16:19:02 +01:00
PhilippC
7ca07814bb New translations strings.xml (Yoruba) 2025-02-11 16:19:01 +01:00
PhilippC
aaea8ed956 New translations strings.xml (Vietnamese) 2025-02-11 16:18:57 +01:00
PhilippC
822ccdc349 New translations strings.xml (German) 2025-02-11 16:18:49 +01:00
PhilippC
dbc1b9553a New translations strings.xml (Yoruba) 2025-02-11 16:18:45 +01:00
PhilippC
04c5f08f5f New translations strings.xml (Norwegian Bokmal) 2025-02-11 16:18:44 +01:00
PhilippC
5c10385246 New translations strings.xml (Sinhala) 2025-02-11 16:18:43 +01:00
PhilippC
90f9b6f414 New translations strings.xml (Malayalam) 2025-02-11 16:18:42 +01:00
PhilippC
b555194d8e New translations strings.xml (Azerbaijani) 2025-02-11 16:18:41 +01:00
PhilippC
0e7c4eced7 New translations strings.xml (Norwegian Nynorsk) 2025-02-11 16:18:41 +01:00
PhilippC
816a40d0ec New translations strings.xml (Croatian) 2025-02-11 16:18:40 +01:00
PhilippC
75a819b7b4 New translations strings.xml (Persian) 2025-02-11 16:18:39 +01:00
PhilippC
cf0e5be55c New translations strings.xml (Indonesian) 2025-02-11 16:18:38 +01:00
PhilippC
492fb404fe New translations strings.xml (Portuguese, Brazilian) 2025-02-11 16:18:37 +01:00
PhilippC
6453d215eb New translations strings.xml (Galician) 2025-02-11 16:18:36 +01:00
PhilippC
35f13eff53 New translations strings.xml (Vietnamese) 2025-02-11 16:18:34 +01:00
PhilippC
fe2c5185eb New translations strings.xml (Chinese Traditional) 2025-02-11 16:18:33 +01:00
PhilippC
f1429c0d0d New translations strings.xml (Chinese Simplified) 2025-02-11 16:18:32 +01:00
PhilippC
d6e30b805d New translations strings.xml (Ukrainian) 2025-02-11 16:18:31 +01:00
PhilippC
e8aeaf71d4 New translations strings.xml (Turkish) 2025-02-11 16:18:30 +01:00
PhilippC
1500d635e9 New translations strings.xml (Swedish) 2025-02-11 16:18:29 +01:00
PhilippC
27798ea073 New translations strings.xml (Serbian (Cyrillic)) 2025-02-11 16:18:28 +01:00
PhilippC
891918269e New translations strings.xml (Slovenian) 2025-02-11 16:18:28 +01:00
PhilippC
0cf8ec67da New translations strings.xml (Slovak) 2025-02-11 16:18:27 +01:00
PhilippC
217a3d107d New translations strings.xml (Russian) 2025-02-11 16:18:26 +01:00
PhilippC
38a229cb78 New translations strings.xml (Portuguese) 2025-02-11 16:18:24 +01:00
PhilippC
0598d49ba0 New translations strings.xml (Polish) 2025-02-11 16:18:24 +01:00
PhilippC
f8f2dbc7f4 New translations strings.xml (Dutch) 2025-02-11 16:18:22 +01:00
PhilippC
7449d5dbb1 New translations strings.xml (Korean) 2025-02-11 16:18:22 +01:00
PhilippC
a890b0f66e New translations strings.xml (Japanese) 2025-02-11 16:18:21 +01:00
PhilippC
1647ed455e New translations strings.xml (Italian) 2025-02-11 16:18:20 +01:00
PhilippC
a383847d5b New translations strings.xml (Hungarian) 2025-02-11 16:18:19 +01:00
PhilippC
3fb2a824cf New translations strings.xml (Hebrew) 2025-02-11 16:18:18 +01:00
PhilippC
dd7579ce7c New translations strings.xml (Finnish) 2025-02-11 16:18:17 +01:00
PhilippC
49c51ceea4 New translations strings.xml (Basque) 2025-02-11 16:18:16 +01:00
PhilippC
a5370793cb New translations strings.xml (Greek) 2025-02-11 16:18:15 +01:00
PhilippC
6f72020607 New translations strings.xml (German) 2025-02-11 16:18:14 +01:00
PhilippC
6a7c61ea3c New translations strings.xml (Danish) 2025-02-11 16:18:13 +01:00
PhilippC
46c1854481 New translations strings.xml (Czech) 2025-02-11 16:18:12 +01:00
PhilippC
72030a4749 New translations strings.xml (Catalan) 2025-02-11 16:18:11 +01:00
PhilippC
1c18884527 New translations strings.xml (Bulgarian) 2025-02-11 16:18:10 +01:00
PhilippC
1c5c695f4f New translations strings.xml (Belarusian) 2025-02-11 16:18:09 +01:00
PhilippC
a1cef1ccda New translations strings.xml (Arabic) 2025-02-11 16:18:08 +01:00
PhilippC
4dfcbbf62a New translations strings.xml (Spanish) 2025-02-11 16:18:07 +01:00
PhilippC
d0e1a15673 New translations strings.xml (French) 2025-02-11 16:18:06 +01:00
PhilippC
8fc9324be5 New translations strings.xml (Romanian) 2025-02-11 16:18:05 +01:00
PhilippC
4f4724804e Merge pull request #2769 from PhilippC/bugfix/crowdin-config-fix
fix crowdin.yml file: adjust to renamed folder
2025-02-11 16:04:17 +01:00
Philipp Crocoll
533d92509f fix crowdin.yml file: adjust to renamed folder 2025-02-11 16:03:53 +01:00
Philipp Crocoll
96960ef376 upgrade Dropbox SDK to 7.0.0. This is required before 01/2026 as described in https://dropbox.tech/developers/api-server-certificate-changes. 2025-02-11 16:00:59 +01:00
PhilippC
46194317a8 Merge pull request #2766 from PhilippC/bugfix/potential-crashes-when-registering-receivers
fix potential crashes
2025-02-11 13:54:23 +01:00
PhilippC
c4d6e18759 Merge pull request #2765 from PhilippC/bugfix/2371-autofill-not-working-with-compose-apps
Fix autofill with Compose apps
2025-02-11 13:21:11 +01:00
Philipp Crocoll
ee41a600b1 fix potential crashes on old Android versions when registering receivers (after upgrade to support target sdk 34) 2025-02-11 13:18:23 +01:00
PhilippC
07562cc5a9 Merge pull request #2744 from midnight-wonderer/bug/hostname-matching
Fix hostname matching logic. closes #1926
2025-02-11 12:33:49 +01:00
Philipp Crocoll
0f5b411dc7 Fix an issue that autofill didn't work with compose apps as described on #2371. Closes #2371. Closes #2590 which is a prototype for this commit. 2025-02-11 12:33:14 +01:00
PhilippC
7577e3064c Merge pull request #2764 from PhilippC/remove-unused-package
remove no-longer required package from dependencies
2025-02-11 12:07:21 +01:00
Philipp Crocoll
d33e1f266c remove no-longer required package from dependencies 2025-02-11 11:12:25 +01:00
PhilippC
aeda21f163 Merge pull request #2762 from PhilippC/i18n-fix
I18n fix for password hint
2025-02-11 08:19:05 +01:00
Philipp Crocoll
4d1142df4d Merge branch 'password-hint-fix' into i18n-fix 2025-02-06 13:03:22 +01:00
Philipp Crocoll
4c632d0c72 fix i18n of a password hint in entry edit 2025-02-06 13:02:28 +01:00
PhilippC
cd75d7cda8 Merge pull request #2761 from PhilippC/feature/target-sdk-34
upgrade to target sdk 34: mark OngoingNotificationsService as Use, register receivers as exported
2025-02-06 12:42:02 +01:00
Philipp Crocoll
deb3701ebf Merge branch 'master' into i18n-fix 2025-02-06 12:30:04 +01:00
PhilippC
2bd0d415b6 Merge pull request #2758 from jonalmeida/patch-1
Remove deprecated Firefox Nightly app ID from trusted browsers
2025-02-06 12:17:20 +01:00
Philipp Crocoll
0bd58bd51f upgrade to target sdk 34: mark OngoingNotificationsService as Special Use, register receivers as exported
(This is required because it is allowed that plugins send intents and also intents from system notifications are not received in NonExported mode)
2025-02-06 12:12:54 +01:00
Philipp Crocoll
d998e08b4f make CreateDatabaseActivity use the blue theme to be more consistent 2025-02-06 11:19:29 +01:00
PhilippC
60e5dc21f1 Merge pull request #2760 from PhilippC/update-onedrive-implementation
Update onedrive implementation
2025-02-06 11:17:28 +01:00
Philipp Crocoll
793341918b cleanup code and fix bug with "My files" variant 2025-02-06 10:40:36 +01:00
Jonathan Almeida
8759fe5346 Remove deprecated Firefox Nightly app ID from trusted browsers
This app ID has not been used for a few years now and can be safely removed. 

See the original PR for added context: https://github.com/PhilippC/keepass2android/pull/896
2025-02-03 18:05:10 -05:00
PhilippC
1b8c0b8a70 Merge pull request #2754 from anttiharju/fix-push-branch-name
Use the right branch name
2025-01-30 10:37:02 +01:00
Philipp Crocoll
087af49514 fix OneDrive implementation for app folder 2025-01-30 09:09:25 +01:00
anttiharju
05e270bde3 Use the right branch name 2025-01-28 22:19:56 +02:00
Philipp Crocoll
7c6ce14348 this is the first attempt to fix the currently broken OneDrive implemenation by upgrading to Graph SDK 5. Unfortunately, the SDK is much harder to use because of a missing abstraction for DriveItems on different places (regular folder, special folder, shared folder) and also doesn't work well, see e.g. https://stackoverflow.com/questions/79374963/list-shared-folders-with-graph-sdk or https://stackoverflow.com/questions/79374845/graph-sdk-c-missing-methods-for-working-with-app-folder. 2025-01-21 16:23:07 +01:00
PhilippC
fdfa2b0bf2 Merge pull request #2747 from dktapps/patch-1
fix readme logo
2025-01-21 07:53:18 +01:00
Dylan T.
3fde725657 fix readme logo 2025-01-15 00:16:52 +00:00
PhilippC
146f181682 Merge pull request #2745 from PhilippC/argon2-fix
fix issue with argon2 kdf
2025-01-14 16:50:08 +01:00
PhilippC
1094b43009 Merge pull request #2746 from PhilippC/bugfix/refresh-number-of-entries-in-group
fix: number of entries in group did not immediately update
2025-01-14 16:49:54 +01:00
Philipp Crocoll
379d43e2b8 Merge remote-tracking branch 'remotes/origin/update-libs-and-tools' 2025-01-14 15:30:46 +01:00
Philipp Crocoll
090bc6249a fix: number of entries in group did not immediately update when adding entries 2025-01-14 15:29:22 +01:00
Philipp Crocoll
73fc93ed96 fix issue with argon2 kdf (regression from .net8 migration) by
* including armeabi-v7 and arm64-v8 .so files
* switching to [LibraryImport] instead of [DllImport]
2025-01-14 13:55:21 +01:00
Sarun Rattanasiri
980df2b3a7 fix hostname matching logic 2025-01-14 17:24:48 +07:00
PhilippC
81b48a3ac2 Merge pull request #2743 from PhilippC/sdk-style-projects
Migrate to .net 8 and Material 3
2025-01-14 10:16:23 +01:00
Philipp Crocoll
29fc0fe5ae adjust Makefile to hardlink the appropriate Manifest file from the Manifests folder. Adjust build.yml for renamed test project. Add AndroidManifest.xml to .gitignore as this is only a link. 2025-01-14 08:40:13 +01:00
Philipp Crocoll
0cae15a219 port AutofillParser unit tests to .net 8 2025-01-07 13:16:54 +01:00
Philipp Crocoll
409f6b9981 rename folder keepass2android => keepass2android-app 2025-01-07 11:20:08 +01:00
Philipp Crocoll
738d59dbda remove old (pre-sdk-style) projects, rename sdk style projects to have the names of the old ones. adjust the .sln and .csproj files accordingly. This is a bit like a squash commit, as it shows the diff between the pre-sdk-style code with the updated code (sdk-style, Material3, Zxing=>GMS CodeScanner, Kdbp support removed) 2025-01-07 11:19:23 +01:00
Philipp Crocoll
63836de8aa add svgs for two custom icons 2025-01-07 10:38:14 +01:00
Philipp Crocoll
9a95691860 remove no-longe-used testing project 2025-01-07 10:37:47 +01:00
Philipp Crocoll
4d129c5e05 add filtered resources to java project files 2025-01-07 10:23:44 +01:00
Philipp Crocoll
a672e9bbd2 reactivate QR scanning capabilities by using GMS CodeScanner (instead of ZXing which is no longer compatible with new .net Android); copy resource string from KP2AKeyboard project to app such that it can be used in the manifest. 2025-01-07 10:22:19 +01:00
Philipp Crocoll
0e3ef76d6e recreate group activity when list text size was changed 2024-12-31 15:15:11 +01:00
Philipp Crocoll
2ad073c80f fix layout of password activity 2024-12-31 14:22:16 +01:00
Philipp Crocoll
33c1f5d6dd mask password textedit before assigning password. This ensures that there is not the fraction of a second where the password might be visible. 2024-12-31 14:00:24 +01:00
Philipp Crocoll
f0d9c8134e improve behavior when changing the theme 2024-12-31 13:04:37 +01:00
PhilippC
830494851d Merge pull request #2734 from anttiharju/prevent-duplicate-CI-runs
Prevent duplicate CI runs in PRs
2024-12-31 11:34:24 +01:00
anttiharju
6e30dd35ee Prevent duplicate runs in PRs 2024-12-20 08:11:26 +02:00
Philipp Crocoll
bf5411bdb8 minor modifications to improve Material UI. Change dialog to Material Dialogs. 2024-12-17 13:14:56 +01:00
Philipp Crocoll
e14cd62e75 changes to implement material design/fix flaws and issues in the major activities. More testing pending. 2024-12-10 18:35:02 +01:00
Philipp Crocoll
ed9cd7180c replace icons by vector drawables to fix color issues with day/night scheme 2024-12-10 15:06:37 +01:00
Philipp Crocoll
add8209f11 change encoding to utf8 2024-12-10 11:47:51 +01:00
Philipp Crocoll
9194436bc8 start replacing some icons 2024-12-10 11:22:55 +01:00
Philipp Crocoll
c3c1f1ecb7 add database filename on password activity again 2024-12-10 11:22:30 +01:00
Philipp Crocoll
83d076c9a7 fix bottom bar in QuickUnlock and Password activity 2024-12-07 08:12:11 +01:00
Philipp Crocoll
f974b0ffa0 remove bad named folder 2024-12-07 07:54:14 +01:00
Philipp Crocoll
95d7ecd066 first steps towards Material3 design
* updates themes and color definitions
 * removed many color attributes from views and special configurations
 * reworked settings completely to get rid of "settings toolsbar"
 * use DayNight theme instead of custom light/dark
Note that there are quite a few issues left.
2024-12-07 07:53:34 +01:00
Philipp Crocoll
b101bf8d5f rename apk of PluginSdk to avoid a weird binding error 2024-12-07 07:46:41 +01:00
Philipp Crocoll
52a62df97c migrate preferences to AndroidX, separate one large settings fragment into many smaller ones to get rid of "ToolbarPreference" workaround 2024-12-01 09:52:08 +01:00
Philipp Crocoll
e873ed466e + theme test for testing material design stuff (because old theming is broken after upgrading to sdk-style projects) 2024-11-19 14:25:11 +01:00
Philipp Crocoll
b153ea2cb4 remove unused stuff from PluginSDK project 2024-11-19 09:44:18 +01:00
Philipp Crocoll
c32a6eae7a make app-style app compilable
* switched from support library to androidx
 * disabled some code which will need to be fixed later (strings in manifest, zxing qr reader)
 * changes in styles need to be tested
still crashing when trying to use any code from the Keyboard binding.
2024-11-19 09:43:54 +01:00
Philipp Crocoll
43f6064faa towards sdk-style projects. As of now, all code/resources etc. is duplicated for new projects in new folders. this will be moved back to the original locations (and then squashed). App currently does not build. 2024-11-05 10:58:57 +01:00
快乐小牛
f001d1fa54 fix: entry_edit hint i18n 2024-10-30 11:48:23 +08:00
Philipp Crocoll
dad9b0e53f update minSdk of offline version to 21 (Android 5.0) to simplify the build. 2024-10-22 15:49:08 +02:00
Philipp Crocoll
b2b0b8ddc9 switch to Java 17 in build.yml 2024-10-22 15:23:27 +02:00
Philipp Crocoll
9494f28acf Merge branch 'anttiharju/master' into update-libs-and-tools 2024-10-22 15:11:36 +02:00
Philipp Crocoll
a98cd33cff updating OkHttp, okhttp-digest and dropbox sdk. Removing no longer needed onedrive aar.
I wasn't successful in binding the latest dropbox sdk (7.0) and therefor only updated to 5.4.6 which doesn't require an .aar.
2024-10-22 15:02:10 +02:00
anttiharju
65092dcccf Switch okhttp-digest source to github
as instructed at
https://github.com/rburgst/okhttp-digest?tab=readme-ov-file#use-via-gradle
2024-10-15 22:55:48 +03:00
anttiharju
e464c59796 Downgrade setup-gradle to v3
v3 is node20 and doesn't do validation by default like v4

validation can be disabled in v4 but when that bump is made it's
probably better to resolve the issues rather than ignore them.
2024-10-15 22:48:50 +03:00
anttiharju
7dcccf1105 Bump artifact actions to v4
v4 included breaking changes, but the setup here was compatible
thanks to the usage of `${{ github.job }}`.
https://github.com/actions/upload-artifact/releases/tag/v4.0.0

v3 artifact actions will be deprecated on November 30th
https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

node16 actions will be EOL on October 15th
https://github.blog/changelog/2024-09-25-end-of-life-for-actions-node16/

These seem contradictory but I _guess_ on self-hosted runners one
can keep using v3 artifact actions until November 30th.
2024-10-13 15:29:45 +03:00
anttiharju
8d354bb3f0 Update actions/setup-java to v4
Just a node20 update
https://github.com/actions/setup-java/releases/tag/v4.0.0
2024-10-13 15:22:50 +03:00
anttiharju
5882263ee8 Bump microsoft/setup-msbuild to v2 for node20
Just a node20 update
https://github.com/microsoft/setup-msbuild/releases/tag/v2
2024-10-13 15:20:33 +03:00
anttiharju
38e305bb4a Pin a third-party action
This is security hardening, see
https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions#using-third-party-actions
2024-10-13 15:16:37 +03:00
anttiharju
177b1fc9a3 Update al-cheb/configure-pagefile-action to v1.4
Just a node20 update per
https://github.com/al-cheb/configure-pagefile-action/releases/tag/v1.4
2024-10-13 15:15:11 +03:00
anttiharju
8bde5ed262 Use actions/checkout for fetching submodules 2024-10-13 15:10:36 +03:00
anttiharju
247b37262d Bump actions/cache to v4
Just a node20 update per
https://github.com/actions/cache/releases/tag/v4.0.0
2024-10-13 14:58:18 +03:00
anttiharju
84230b32ef Bump gradle/actions/setup-gradle to v4
It includes caching improvements as described here:
https://github.com/gradle/actions/releases/tag/v4.0.0

windows-2022 includes node20 per
https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md#nodejs
2024-10-13 14:56:14 +03:00
anttiharju
a54444e919 Bump gradle-build-action to v3
Gradle v2 uses node16 which will be EOL soon.

"The only major breaking change from gradle-build-action@v2.12.0
is the update to require a Node 20 runtime environment.

Aside from that change, this release should generally serve as a
drop-in replacement for gradle-build-action@v2."

Gradle updated the action name, following the advice from
https://github.com/gradle/gradle-build-action/releases/tag/v3.0.0
2024-10-13 14:42:06 +03:00
anttiharju
4b55e2ce8b Bump checkout from v3 to v4
checkout v3 uses node16 which reaches EOL on 15th of Oct 2024
https://github.blog/changelog/2024-09-25-end-of-life-for-actions-node16/
2024-10-13 14:35:35 +03:00
Philipp Crocoll
5ae718c58e update targetframework for Guava libs 2024-10-08 16:19:24 +02:00
Philipp Crocoll
669022ddf0 update Newtonsoft.Json, FluentFTP and MegaApiClient to the latest versions 2024-10-08 16:07:56 +02:00
Philipp Crocoll
f0fd21a6ec upgrade to Gradle version 8.6 (plugin version 8.4) 2024-10-08 16:03:03 +02:00
Philipp Crocoll
73a8ec27d4 remove no-longer-needed jars from JavaFileStorageBindings 2024-10-08 15:19:23 +02:00
Philipp Crocoll
51902c9bc4 fix build issues related to removal of deprecated OneDrive API jars. onedrive:// is now no longer supported, but has been replaced with onedrive2:// a long time ago already. 2024-10-08 14:59:49 +02:00
PhilippC
32d3abf5d6 Merge pull request #2544 from PhilippC/release-preparation-1-11
Version 1.11-r0
2024-02-20 07:10:16 +01:00
Philipp Crocoll
543eeb69ef manifest for 1.11 2024-02-19 21:07:32 +01:00
PhilippC
ec6e1593b0 Merge pull request #2542 from PhilippC/l10n_master2
New Crowdin updates
2024-02-19 16:18:36 +01:00
PhilippC
ee27bea111 New translations strings.xml (Dutch) 2024-02-19 14:39:34 +01:00
PhilippC
de93b12877 New translations strings.xml (Japanese) 2024-02-19 14:39:33 +01:00
PhilippC
71d2a332c7 New translations strings.xml (German) 2024-02-19 14:38:53 +01:00
PhilippC
37d1481658 Merge pull request #2513 from PhilippC/l10n_master2
New Crowdin updates
2024-02-19 11:45:11 +01:00
PhilippC
a8cc1ad66d New translations strings.xml (Portuguese, Brazilian) 2024-02-16 16:28:07 +01:00
PhilippC
3056ee9d45 New translations strings.xml (Portuguese, Brazilian) 2024-02-16 13:17:44 +01:00
PhilippC
0ec5996c8d New translations strings.xml (Portuguese, Brazilian) 2024-02-16 11:48:14 +01:00
PhilippC
01666d8402 New translations strings.xml (Czech) 2024-02-13 12:46:17 +01:00
PhilippC
422fa01ba1 New translations strings.xml (Czech) 2024-02-13 11:30:21 +01:00
PhilippC
ca9c19e8a9 New translations strings.xml (Turkish) 2024-02-12 16:21:28 +01:00
PhilippC
093f7683b8 New translations strings.xml (German) 2024-02-11 22:31:36 +01:00
PhilippC
d4cf908f4a New translations strings.xml (German) 2024-02-11 21:35:40 +01:00
PhilippC
55d62144fb New translations strings.xml (Portuguese, Brazilian) 2024-02-08 12:03:39 +01:00
PhilippC
c181565aaa New translations strings.xml (Slovenian) 2024-02-07 18:03:13 +01:00
PhilippC
c0c4524562 Merge pull request #2530 from PhilippC/release-preparation-1-11
changelog for version 1.11
2024-02-06 21:46:13 +01:00
PhilippC
eac1803084 New translations strings.xml (German) 2024-02-06 13:47:53 +01:00
PhilippC
58904f1166 New translations strings.xml (German) 2024-02-06 12:09:11 +01:00
Philipp Crocoll
54eb1baee2 changelog for version 1.11 2024-02-06 09:40:54 +01:00
PhilippC
ada01924ba New translations strings.xml (Chinese Simplified) 2024-02-06 04:25:32 +01:00
PhilippC
e38e7df221 Merge pull request #2516 from PhilippC/803--totp-overview
TOTP overview
2024-01-17 18:34:29 +01:00
Philipp Crocoll
fb4ab84ceb Merge branch 'master' of https://github.com/PhilippC/keepass2android into 803--totp-overview 2024-01-17 07:48:06 +01:00
Philipp Crocoll
4475fac51e add missing file for SearchTotpResults, preview TOTPs depending on settings, make TOTP copyable from Entry view
closes #803
2024-01-17 07:46:51 +01:00
Philipp Crocoll
13ef4ca9ff add FAB for TOTP, add activity for showing TOTP entries 2024-01-17 07:35:05 +01:00
Philipp Crocoll
f297ebcd40 * introduce FAB for search
* introduce TOTP preview on PwEntryView

first steps towards #803
2024-01-17 07:07:46 +01:00
PhilippC
a5ef4ccc7a Merge pull request #2514 from PhilippC/1942--fix-text-color-not-themed
Fix bad text color on autofill target preference dialog
2024-01-15 12:30:50 +01:00
Philipp Crocoll
dfd9c32251 Fixes bad text color, closes https://github.com/PhilippC/keepass2android/issues/1942 2024-01-15 11:51:59 +01:00
PhilippC
5397a1c88f New translations strings.xml (Polish) 2024-01-15 09:22:32 +01:00
PhilippC
fdcd4321e0 Merge pull request #2512 from PhilippC/2504--copy-on-longclick
fix merge issue
2024-01-15 08:27:57 +01:00
Philipp Crocoll
11013791ef revert another unintentionally commit change 2024-01-15 08:06:19 +01:00
Philipp Crocoll
6958a2d189 revert unintentionally commited changes to AutofillTest 2024-01-15 07:47:21 +01:00
Philipp Crocoll
94ec8cf1ac fix merge issue 2024-01-15 06:56:32 +01:00
Philipp Crocoll
63631fa81f Merge branch '2504--copy-on-longclick'
# Resolved Conflicts:
#	src/keepass2android/EntryActivity.cs
2024-01-14 21:55:23 +01:00
PhilippC
107d9c6235 Merge pull request #2500 from PhilippC/l10n_master2
New Crowdin updates
2024-01-14 21:52:47 +01:00
PhilippC
8e4ee4f588 Merge pull request #2508 from PhilippC/2507--dialog-behind-keyboard
making activity adjustResize to (hopefully) close #2507
2024-01-14 21:52:39 +01:00
Philipp Crocoll
f0a06faae1 copy text value to clipboard when long-clicking in Entry view. closes #2504 2024-01-14 21:34:19 +01:00
PhilippC
99db263833 Merge branch 'master' into 2507--dialog-behind-keyboard 2024-01-13 11:47:12 +01:00
Philipp Crocoll
e2e42cd177 making activity adjustResize to (hopefully) close #2507 (in some Android versions, it seems like the keyboard from autofill does not get hidden as it should, overlaying the dialog buttons) 2024-01-13 11:45:44 +01:00
PhilippC
a376c6ee0b New translations strings.xml (Japanese) 2024-01-11 14:40:23 +01:00
PhilippC
0326e02ddd New translations strings.xml (Slovenian) 2024-01-09 09:54:12 +01:00
PhilippC
d75482f3bd New translations strings.xml (Dutch) 2024-01-08 13:48:56 +01:00
PhilippC
bca0d042a1 New translations strings.xml (Dutch) 2024-01-08 12:05:55 +01:00
PhilippC
29eaf5f205 New translations strings.xml (Dutch) 2024-01-07 18:14:06 +01:00
PhilippC
78da5e2973 New translations strings.xml (Dutch) 2024-01-07 18:14:05 +01:00
PhilippC
20541618f9 New translations strings.xml (Dutch) 2024-01-07 18:14:04 +01:00
PhilippC
e459d280f2 New translations strings.xml (Dutch) 2024-01-07 17:09:40 +01:00
PhilippC
705e2e4a86 New translations strings.xml (Dutch) 2024-01-07 15:55:10 +01:00
PhilippC
cf9b368afc New translations strings.xml (Dutch) 2024-01-07 14:01:42 +01:00
PhilippC
f1c6a5365c New translations strings.xml (Dutch) 2024-01-07 13:03:09 +01:00
PhilippC
6a61bf6364 New translations strings.xml (Dutch) 2024-01-07 11:14:14 +01:00
PhilippC
814571c746 New translations strings.xml (Dutch) 2024-01-06 21:07:45 +01:00
PhilippC
fc5587260f New translations strings.xml (Dutch) 2024-01-06 19:51:14 +01:00
PhilippC
674ba7bd71 New translations strings.xml (Dutch) 2024-01-06 18:54:57 +01:00
PhilippC
556f82f786 New translations strings.xml (Dutch) 2024-01-06 17:48:44 +01:00
PhilippC
58c5c5882b New translations strings.xml (Chinese Simplified) 2024-01-06 04:27:00 +01:00
PhilippC
a706571e66 New translations strings.xml (Portuguese, Brazilian) 2024-01-05 12:03:52 +01:00
PhilippC
3997b21aec Merge pull request #2502 from PhilippC/totp-improvements
TOTP improvements
2024-01-05 09:28:50 +01:00
Philipp Crocoll
c354612369 catch potential crash when otp data is invalid
closes https://github.com/PhilippC/keepass2android/issues/1602
2024-01-05 09:27:34 +01:00
Philipp Crocoll
4fea731c87 move TOTP field up in EntryActivity and add a progress bar to indicate the time left for using the TOTP
closes https://github.com/PhilippC/keepass2android/issues/2315
2024-01-05 09:01:29 +01:00
Philipp Crocoll
e189776ba9 Merge branch 'master' into totp-improvements 2024-01-05 06:46:04 +01:00
Philipp Crocoll
31255f0c52 move TOTP button on keyboard to third position (after User/Pwd) and disable TOTP "internal fields"
closes #1341
closes #2394
closes #1844
2024-01-04 19:09:24 +01:00
Philipp Crocoll
059280efd0 Introduce preference options to control the behavior when autofilling TOTP entries (show entry notification, activate keyboard, copy TOTP to clipboard)
Required a bit of refactoring to decide when to bring up keyboard selection dialog. Also changed the code so it shows e.g. on Pixel 6a with Android 14, previously did not.
closes #2308
closes #1286 as it now shows up the entry notificaton (unless disabled) and solves the underlying issue in the best found way
2024-01-04 19:06:49 +01:00
Philipp Crocoll
5edc070aa8 show entry notification when autofilling an entry with TOTP (to allow copying TOTP to clipboard)
fixes https://github.com/PhilippC/keepass2android/issues/1272
2024-01-04 08:21:45 +01:00
PhilippC
95843b1134 New translations strings.xml (Dutch) 2024-01-03 23:15:02 +01:00
PhilippC
d2ea9b18a8 New translations strings.xml (Spanish) 2024-01-03 21:44:24 +01:00
PhilippC
828425ab0e New translations strings.xml (Spanish) 2024-01-03 20:48:41 +01:00
PhilippC
4395f422b3 New translations strings.xml (Portuguese, Brazilian) 2024-01-03 11:52:22 +01:00
PhilippC
be2c28811c Merge pull request #2498 from PhilippC/2246--fix-base32-parsing-in-keepass2totp
replace base32 parsing algorithm to fix issue with some TOTP entries using KeePass2 style
2024-01-03 11:27:14 +01:00
Philipp Crocoll
fcc4d44786 replace base32 parsing algorithm to fix issue with some TOTP entries using KeePass2 style
fixes #2020
fixes #2246
2024-01-03 10:17:06 +01:00
PhilippC
337e6324ff Merge pull request #2497 from PhilippC/1248--totp-docs
add TOTP section in Docs
2024-01-03 09:01:45 +01:00
Philipp Crocoll
310143c612 add TOTP section in Docs
closes #1248
2024-01-03 09:00:30 +01:00
PhilippC
49cb33a4da Merge pull request #2496 from PhilippC/2458--seed-only-traytotp-style-entries
make settings field for TrayTotp style otp entries optional
2024-01-03 08:52:22 +01:00
Philipp Crocoll
c934755e1c make settings field for TrayTotp style otp entries optional
closes https://github.com/PhilippC/keepass2android/issues/2458
2024-01-03 08:06:20 +01:00
PhilippC
64355a3da7 Merge pull request #2495 from PhilippC/1949--enable-shared-folders-in-pcloud
update to pcloud 1.9.1 to enable access to shared folders
2024-01-03 06:46:15 +01:00
PhilippC
9579f3bf51 Merge pull request #2463 from PhilippC/l10n_master2
New Crowdin updates
2024-01-03 06:30:55 +01:00
PhilippC
674ae26bd7 Merge pull request #2493 from PhilippC/1327--replace-placeholders-in-more-places
replace placeholder in title for viewing entries and autofill entry a…
2024-01-03 06:30:35 +01:00
PhilippC
d2778e8496 Merge pull request #2494 from PhilippC/2449--ignore-android-settings-for-autofill
ignore Android settings for Autofill, fixes #2449
2024-01-03 06:30:21 +01:00
Philipp Crocoll
cc19e6f326 update to pcloud 1.9.1 to enable access to shared folders
fixes #1949, fixes #2474
fixes https://github.com/pCloud/pcloud-sdk-java/issues/33
2024-01-03 06:29:03 +01:00
Philipp Crocoll
dd7a2718c9 ignore Android settings for Autofill, fixes #2449 2024-01-03 05:50:25 +01:00
PhilippC
9c50d2d98a Merge pull request #2464 from PhilippC/2396--webdav-password-in-logs
avoid passwords appearing in logfiles (#2396)
2024-01-02 21:08:51 +01:00
PhilippC
8ee13acdde Merge pull request #2490 from PhilippC/2488-fix-crash-in-autofill
avoid potentiall null hints in autofill (#2488)
2024-01-02 21:03:30 +01:00
PhilippC
aeda304919 Merge pull request #2492 from PhilippC/2466--reduce-logging
do not log folder name to fix #2466
2024-01-02 21:03:14 +01:00
Philipp Crocoll
9f08e0039b replace placeholder in title for viewing entries and autofill entry as well as in search results, fixes #1327 2024-01-02 21:00:43 +01:00
Philipp Crocoll
dfd101da77 do not log folder name to fix #2466 2024-01-02 16:34:30 +01:00
Philipp Crocoll
f4b5eee171 avoid potentiall null hints in autofill (#2488) 2024-01-02 16:26:02 +01:00
Philipp Crocoll
98e31942e1 remove potential password in logs 2024-01-02 12:40:39 +01:00
PhilippC
385aad8fb0 New translations strings.xml (Portuguese, Brazilian) 2023-12-31 01:42:46 +01:00
PhilippC
3e383d50f8 New translations strings.xml (Portuguese, Brazilian) 2023-12-31 00:44:33 +01:00
PhilippC
8c089a8711 New translations strings.xml (Polish) 2023-12-17 16:05:36 +01:00
PhilippC
098123787d New translations strings.xml (Czech) 2023-12-15 10:06:50 +01:00
PhilippC
a22b8474c3 New translations strings.xml (Polish) 2023-12-11 19:31:51 +01:00
PhilippC
8fc4607a34 New translations strings.xml (Polish) 2023-12-11 18:32:40 +01:00
PhilippC
4b56405960 New translations strings.xml (Portuguese, Brazilian) 2023-12-10 23:11:27 +01:00
PhilippC
c4b41001b3 New translations strings.xml (Portuguese, Brazilian) 2023-12-07 12:13:32 +01:00
PhilippC
cb51be349e New translations strings.xml (Portuguese, Brazilian) 2023-12-03 11:06:26 +01:00
PhilippC
13170bb88c New translations strings.xml (Portuguese, Brazilian) 2023-12-02 14:03:33 +01:00
PhilippC
88a20d947c New translations strings.xml (Portuguese, Brazilian) 2023-12-02 13:07:24 +01:00
PhilippC
4fcc2625c0 New translations strings.xml (Greek) 2023-12-01 12:14:22 +01:00
PhilippC
324cf74a2b New translations strings.xml (Greek) 2023-12-01 10:59:01 +01:00
PhilippC
e3d14221f9 New translations strings.xml (Portuguese, Brazilian) 2023-12-01 00:48:04 +01:00
PhilippC
7d0a43397a New translations strings.xml (Portuguese, Brazilian) 2023-11-30 13:08:04 +01:00
PhilippC
a6d1b26479 New translations strings.xml (Portuguese, Brazilian) 2023-11-30 11:28:31 +01:00
PhilippC
79ad753218 New translations strings.xml (Portuguese, Brazilian) 2023-11-29 13:52:17 +01:00
PhilippC
24ee49ea9f New translations strings.xml (Portuguese, Brazilian) 2023-11-27 12:52:12 +01:00
PhilippC
ab6e8e3685 New translations strings.xml (Portuguese, Brazilian) 2023-11-27 11:08:20 +01:00
PhilippC
81e8820732 New translations strings.xml (Slovenian) 2023-11-24 07:53:52 +01:00
PhilippC
93c72ee04e New translations strings.xml (Chinese Simplified) 2023-11-24 07:53:51 +01:00
PhilippC
8a53357e3d New translations strings.xml (Chinese Simplified) 2023-11-24 06:46:31 +01:00
PhilippC
c12ae13077 New translations strings.xml (Portuguese, Brazilian) 2023-11-21 18:16:54 +01:00
PhilippC
071fc3fd51 New translations strings.xml (Japanese) 2023-11-21 13:38:50 +01:00
Philipp Crocoll
ad6ced3aad addition to last commit: this refers to #2396 2023-11-21 13:33:37 +01:00
Philipp Crocoll
6ef8b8fc3b replace usage of IoConnectionInfo::GetDisplayName() to avoid passwords (as part of the URL) appearing in logfiles 2023-11-21 13:31:54 +01:00
PhilippC
825793f385 New translations strings.xml (Portuguese, Brazilian) 2023-11-21 12:01:55 +01:00
PhilippC
bd6af10fd5 New translations strings.xml (Portuguese, Brazilian) 2023-11-21 10:48:05 +01:00
Philipp Crocoll
2e9400cf4d Manifest and changelog for 1.10-pre 2023-11-21 08:43:54 +01:00
PhilippC
c719043159 New translations strings.xml (Azerbaijani) 2023-11-21 08:12:31 +01:00
PhilippC
c6e32937ce New translations strings.xml (Croatian) 2023-11-21 08:12:29 +01:00
PhilippC
081b77c2bd New translations strings.xml (Persian) 2023-11-21 08:12:28 +01:00
PhilippC
a950298c11 New translations strings.xml (Indonesian) 2023-11-21 08:12:26 +01:00
PhilippC
eafd3bb702 New translations strings.xml (Galician) 2023-11-21 08:12:25 +01:00
PhilippC
0e53f91d01 New translations strings.xml (Chinese Traditional) 2023-11-21 08:12:24 +01:00
PhilippC
96156bf8b9 New translations strings.xml (Ukrainian) 2023-11-21 08:12:23 +01:00
PhilippC
8efc1f3c1f New translations strings.xml (Turkish) 2023-11-21 08:12:22 +01:00
PhilippC
67d20124ff New translations strings.xml (Swedish) 2023-11-21 08:12:21 +01:00
PhilippC
b93739926d New translations strings.xml (Serbian (Cyrillic)) 2023-11-21 08:12:20 +01:00
PhilippC
4afac75bb4 New translations strings.xml (Slovenian) 2023-11-21 08:12:19 +01:00
PhilippC
cea41d1446 New translations strings.xml (Slovak) 2023-11-21 08:12:18 +01:00
PhilippC
dd5b744bfb New translations strings.xml (Russian) 2023-11-21 08:12:17 +01:00
PhilippC
47cbe5b0ab New translations strings.xml (Portuguese) 2023-11-21 08:12:16 +01:00
PhilippC
99950e3c93 New translations strings.xml (Polish) 2023-11-21 08:12:15 +01:00
PhilippC
df8f375b59 New translations strings.xml (Dutch) 2023-11-21 08:12:14 +01:00
PhilippC
fdc213bfc1 New translations strings.xml (Korean) 2023-11-21 08:12:12 +01:00
PhilippC
428b008017 New translations strings.xml (Japanese) 2023-11-21 08:12:11 +01:00
PhilippC
3d4a0a79f9 New translations strings.xml (Italian) 2023-11-21 08:12:10 +01:00
PhilippC
008e55598c New translations strings.xml (Portuguese, Brazilian) 2023-11-21 08:12:09 +01:00
PhilippC
7c3832830e New translations strings.xml (Vietnamese) 2023-11-21 08:12:08 +01:00
PhilippC
c3e234da25 New translations strings.xml (Chinese Simplified) 2023-11-21 08:12:07 +01:00
PhilippC
6ba0b29c77 New translations strings.xml (Hungarian) 2023-11-21 08:12:06 +01:00
PhilippC
b16f747913 New translations strings.xml (Hebrew) 2023-11-21 08:12:05 +01:00
PhilippC
35ac1cf642 New translations strings.xml (Finnish) 2023-11-21 08:12:04 +01:00
PhilippC
5d2da784b9 New translations strings.xml (Basque) 2023-11-21 08:12:03 +01:00
PhilippC
86b225034c New translations strings.xml (Greek) 2023-11-21 08:12:02 +01:00
PhilippC
727cf74201 New translations strings.xml (German) 2023-11-21 08:12:01 +01:00
PhilippC
6f8ae7be34 New translations strings.xml (Danish) 2023-11-21 08:12:00 +01:00
PhilippC
a84d26b151 New translations strings.xml (Catalan) 2023-11-21 08:11:59 +01:00
PhilippC
6f7419e38a New translations strings.xml (Arabic) 2023-11-21 08:11:57 +01:00
PhilippC
bdb11f4873 New translations strings.xml (Spanish) 2023-11-21 08:11:56 +01:00
PhilippC
87603cd9c1 New translations strings.xml (Romanian) 2023-11-21 08:11:55 +01:00
PhilippC
e6cec96504 New translations strings.xml (Czech) 2023-11-21 08:11:54 +01:00
PhilippC
fb478af6c7 New translations strings.xml (Belarusian) 2023-11-21 08:11:53 +01:00
PhilippC
9991964c9b New translations strings.xml (French) 2023-11-21 08:11:51 +01:00
Philipp Crocoll
d761f07fc9 change app-id of pCloud because the previous app couldn't be modified anymore (https://github.com/PhilippC/keepass2android/pull/2388#issuecomment-1799771771) but is not compatible with the latest sdk version 2023-11-21 08:07:39 +01:00
PhilippC
b18515dd8c Merge pull request #2456 from PhilippC/l10n_master2
New Crowdin updates
2023-11-21 08:05:10 +01:00
PhilippC
2677cae5e6 Merge pull request #2457 from hyproman/persist-ftp-debug-perf
Persist ftp debug preference
2023-11-21 07:11:33 +01:00
Philipp Crocoll
cb832c412f improve some source strings (removing superfluous characters) 2023-11-21 07:08:41 +01:00
PhilippC
97018b15f7 New translations strings.xml (Norwegian Bokmal) 2023-11-21 07:04:00 +01:00
PhilippC
6b06d4ba8d New translations strings.xml (Malayalam) 2023-11-21 07:03:58 +01:00
PhilippC
902fc6f6d3 New translations strings.xml (Azerbaijani) 2023-11-21 07:03:57 +01:00
PhilippC
d4fd8db455 New translations strings.xml (Norwegian Nynorsk) 2023-11-21 07:03:56 +01:00
PhilippC
9f1be03dc4 New translations strings.xml (Croatian) 2023-11-21 07:03:55 +01:00
PhilippC
7b863e115f New translations strings.xml (Persian) 2023-11-21 07:03:54 +01:00
PhilippC
06fa5a5fcd New translations strings.xml (Indonesian) 2023-11-21 07:03:53 +01:00
PhilippC
b1837468d7 New translations strings.xml (Galician) 2023-11-21 07:03:52 +01:00
PhilippC
0ffe6cda16 New translations strings.xml (Chinese Traditional) 2023-11-21 07:03:51 +01:00
PhilippC
0ba1e946d1 New translations strings.xml (Ukrainian) 2023-11-21 07:03:50 +01:00
PhilippC
ba2890cc80 New translations strings.xml (Turkish) 2023-11-21 07:03:49 +01:00
PhilippC
ee9750e689 New translations strings.xml (Swedish) 2023-11-21 07:03:47 +01:00
PhilippC
3f358fed38 New translations strings.xml (Serbian (Cyrillic)) 2023-11-21 07:03:46 +01:00
PhilippC
4eb7b4519e New translations strings.xml (Slovenian) 2023-11-21 07:03:45 +01:00
PhilippC
9b61f651c4 New translations strings.xml (Slovak) 2023-11-21 07:03:44 +01:00
PhilippC
c716fa0c12 New translations strings.xml (Russian) 2023-11-21 07:03:43 +01:00
PhilippC
013d69b520 New translations strings.xml (Portuguese) 2023-11-21 07:03:42 +01:00
PhilippC
fec2875e6a New translations strings.xml (Polish) 2023-11-21 07:03:41 +01:00
PhilippC
1a1036f7b8 New translations strings.xml (Dutch) 2023-11-21 07:03:40 +01:00
PhilippC
b9fcf8deda New translations strings.xml (Korean) 2023-11-21 07:03:39 +01:00
PhilippC
a9a88dbdbe New translations strings.xml (Japanese) 2023-11-21 07:03:37 +01:00
PhilippC
d3f505fb55 New translations strings.xml (Italian) 2023-11-21 07:03:36 +01:00
PhilippC
da10ebd2f4 New translations strings.xml (Hungarian) 2023-11-21 07:03:35 +01:00
PhilippC
daeee50e09 New translations strings.xml (Hebrew) 2023-11-21 07:03:34 +01:00
PhilippC
f602367a6c New translations strings.xml (Finnish) 2023-11-21 07:03:33 +01:00
PhilippC
db2ad49f36 New translations strings.xml (Basque) 2023-11-21 07:03:32 +01:00
PhilippC
a782843b29 New translations strings.xml (Greek) 2023-11-21 07:03:31 +01:00
PhilippC
e35babb8eb New translations strings.xml (German) 2023-11-21 07:03:30 +01:00
PhilippC
e6b296c0b9 New translations strings.xml (Danish) 2023-11-21 07:03:28 +01:00
PhilippC
44692afa98 New translations strings.xml (Catalan) 2023-11-21 07:03:27 +01:00
PhilippC
491912a6ab New translations strings.xml (Bulgarian) 2023-11-21 07:03:26 +01:00
PhilippC
5cb02e88bf New translations strings.xml (Arabic) 2023-11-21 07:03:25 +01:00
PhilippC
69ce92a7b7 New translations strings.xml (Spanish) 2023-11-21 07:03:24 +01:00
PhilippC
a09e2656be New translations strings.xml (Romanian) 2023-11-21 07:03:23 +01:00
PhilippC
445923e12c New translations strings.xml (Portuguese, Brazilian) 2023-11-21 07:03:21 +01:00
PhilippC
6499c97206 New translations strings.xml (Vietnamese) 2023-11-21 07:03:20 +01:00
PhilippC
41ef1900a1 New translations strings.xml (Chinese Simplified) 2023-11-21 07:03:19 +01:00
PhilippC
290f61d114 New translations strings.xml (Czech) 2023-11-21 07:03:18 +01:00
PhilippC
11f45c61e8 New translations strings.xml (Belarusian) 2023-11-21 07:03:16 +01:00
PhilippC
ac6df5d10f New translations strings.xml (French) 2023-11-21 07:03:15 +01:00
Philipp Crocoll
206ab3ac42 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2023-11-13 09:55:58 +01:00
PhilippC
33847deb00 Merge pull request #2455 from PhilippC/l10n_master2
New Crowdin updates
2023-11-13 09:54:48 +01:00
PhilippC
baf9a29646 update links from codeplex to github, closes 2454 2023-11-13 09:52:42 +01:00
Philipp Crocoll
30d45e086c refactor SftpFileStorage creation 2023-11-13 09:18:39 +01:00
PhilippC
66166e44a0 New translations strings.xml (Czech) 2023-11-10 15:42:42 +01:00
PhilippC
8ace491d84 New translations strings.xml (French) 2023-11-10 13:52:04 +01:00
PhilippC
39deef4053 New translations strings.xml (Belarusian) 2023-11-08 10:39:24 +01:00
PhilippC
1faa0b06bd New translations strings.xml (French) 2023-11-07 19:30:59 +01:00
PhilippC
1eb1e1cb2b New translations strings.xml (Vietnamese) 2023-11-07 17:23:46 +01:00
PhilippC
d551969b04 New translations strings.xml (Vietnamese) 2023-11-07 14:30:33 +01:00
PhilippC
0f0c1ddbfd New translations strings.xml (Portuguese, Brazilian) 2023-11-07 11:06:02 +01:00
PhilippC
b46f2984a3 New translations strings.xml (Spanish) 2023-11-07 07:00:55 +01:00
PhilippC
cce1e2794e New translations strings.xml (Chinese Simplified) 2023-11-07 02:44:46 +01:00
Rick Brown
c19b8d2238 Fix nonet compilation 2023-11-06 18:09:19 -05:00
Rick Brown
141d2f3ddb Persist FTP/SFTP debug log preference
-Commit/apply FtpDebug_key state to persistent preferences
-Configure SFTP/JSch logging based on FtpDebug_key/LogFilename
 state on app startup
2023-11-06 16:55:36 -05:00
PhilippC
3d2ae980b7 New translations strings.xml (Slovenian) 2023-11-06 19:56:59 +01:00
PhilippC
a8f4fcde7b New translations strings.xml (Portuguese, Brazilian) 2023-11-06 11:41:33 +01:00
PhilippC
add8b2dad6 New translations strings.xml (Chinese Simplified) 2023-11-06 11:41:29 +01:00
PhilippC
50074d547f New translations strings.xml (Slovenian) 2023-11-06 11:41:25 +01:00
PhilippC
e6b425a30e New translations strings.xml (Slovak) 2023-11-06 11:41:23 +01:00
PhilippC
9af9d34d87 New translations strings.xml (Czech) 2023-11-06 11:41:10 +01:00
PhilippC
4fee92f591 New translations strings.xml (Spanish) 2023-11-06 11:41:05 +01:00
PhilippC
1b658f1c39 New translations strings.xml (French) 2023-11-06 11:41:04 +01:00
PhilippC
4dbd33ba97 Merge pull request #2455 from PhilippC/l10n_master2
New Crowdin updates
2023-11-06 10:34:07 +01:00
PhilippC
f8f18152c3 Merge pull request #2435 from hyproman/upgrade-fluentftp
Update to latest FluentFTP version
2023-11-06 10:33:41 +01:00
PhilippC
dbf5e46e94 New translations strings.xml (Croatian) 2023-11-06 09:24:19 +01:00
PhilippC
a23c1a2360 New translations strings.xml (Persian) 2023-11-06 09:24:18 +01:00
PhilippC
d2bd91ba6a New translations strings.xml (Portuguese, Brazilian) 2023-11-06 09:24:16 +01:00
PhilippC
95352ef0ee New translations strings.xml (Chinese Traditional) 2023-11-06 09:24:14 +01:00
PhilippC
24b8c27d26 New translations strings.xml (Chinese Simplified) 2023-11-06 09:24:13 +01:00
PhilippC
191b90d974 New translations strings.xml (Ukrainian) 2023-11-06 09:24:12 +01:00
PhilippC
21db4b612b New translations strings.xml (Turkish) 2023-11-06 09:24:10 +01:00
PhilippC
a23101b812 New translations strings.xml (Swedish) 2023-11-06 09:24:09 +01:00
PhilippC
8042470488 New translations strings.xml (Slovenian) 2023-11-06 09:24:07 +01:00
PhilippC
4bbec4367f New translations strings.xml (Slovak) 2023-11-06 09:24:06 +01:00
PhilippC
4b583cc0c0 New translations strings.xml (Russian) 2023-11-06 09:24:05 +01:00
PhilippC
cd07de56df New translations strings.xml (Portuguese) 2023-11-06 09:24:04 +01:00
PhilippC
962c4dbf63 New translations strings.xml (Polish) 2023-11-06 09:24:03 +01:00
PhilippC
09b56d85cf New translations strings.xml (Dutch) 2023-11-06 09:24:01 +01:00
PhilippC
8281888608 New translations strings.xml (Korean) 2023-11-06 09:24:00 +01:00
PhilippC
44d9456e20 New translations strings.xml (Japanese) 2023-11-06 09:23:59 +01:00
PhilippC
7b01e4494f New translations strings.xml (Italian) 2023-11-06 09:23:58 +01:00
PhilippC
fda68a1114 New translations strings.xml (Hungarian) 2023-11-06 09:23:57 +01:00
PhilippC
4849c089b3 New translations strings.xml (Finnish) 2023-11-06 09:23:55 +01:00
PhilippC
580668c5cb New translations strings.xml (Basque) 2023-11-06 09:23:54 +01:00
PhilippC
da8f1122e8 New translations strings.xml (Greek) 2023-11-06 09:23:53 +01:00
PhilippC
7d44518ac7 New translations strings.xml (German) 2023-11-06 09:23:52 +01:00
PhilippC
1a2c1267c4 New translations strings.xml (Danish) 2023-11-06 09:23:50 +01:00
PhilippC
85e0fe487f New translations strings.xml (Czech) 2023-11-06 09:23:49 +01:00
PhilippC
fa9a9f2602 New translations strings.xml (Catalan) 2023-11-06 09:23:48 +01:00
PhilippC
5c7d626f4b New translations strings.xml (Belarusian) 2023-11-06 09:23:46 +01:00
PhilippC
b3ce9c64b1 New translations strings.xml (Arabic) 2023-11-06 09:23:45 +01:00
PhilippC
dc809941e8 New translations strings.xml (Spanish) 2023-11-06 09:23:43 +01:00
PhilippC
b7d69c33c8 New translations strings.xml (French) 2023-11-06 09:23:42 +01:00
PhilippC
de765f3451 New translations strings.xml (Romanian) 2023-11-06 09:23:41 +01:00
Philipp Crocoll
1581d79666 Merge branch 'master' of https://github.com/PhilippC/keepass2android into iansw246/master 2023-11-06 09:02:01 +01:00
Philipp Crocoll
297fa267e5 fix bug in shared preference handling
fix issue with receiving meta data: previous implementation was repeatedly listing the full contents of pCloud recursively which is slow and might not work for large contents (https://github.com/pCloud/pcloud-sdk-java/issues/42)
2023-11-06 09:01:13 +01:00
PhilippC
77e2d67b6c Merge pull request #2299 from PhilippC/l10n_master2
New Crowdin updates
2023-11-04 18:23:55 +01:00
PhilippC
a3ba2d8367 Merge pull request #2344 from iansw246/master
Hide progress dialogs when user input dialog is showing
2023-11-04 18:23:44 +01:00
PhilippC
48d59aa0f6 New translations strings.xml (Spanish) 2023-11-02 21:37:26 +01:00
PhilippC
cff6595b79 New translations strings.xml (Spanish) 2023-11-02 20:29:56 +01:00
Rick Brown
798f633af7 Merge branch 'master' into upgrade-fluentftp 2023-11-02 15:19:28 -04:00
Rick Brown
f5681c4e62 Integrate FTP debug logging into UI toggle 2023-11-02 15:11:54 -04:00
PhilippC
690de2761c New translations strings.xml (Slovenian) 2023-11-02 18:29:48 +01:00
PhilippC
92238436d5 New translations strings.xml (Slovak) 2023-11-02 17:10:41 +01:00
PhilippC
9282e80938 New translations strings.xml (French) 2023-11-02 17:10:40 +01:00
PhilippC
588e203442 New translations strings.xml (Czech) 2023-11-02 15:24:59 +01:00
PhilippC
7e96055e0b New translations strings.xml (Portuguese, Brazilian) 2023-11-02 12:19:16 +01:00
Philipp Crocoll
c90d623d15 Merge branch 'bug-2378-pcloud-sdk-upgrade' into iansw246/master 2023-11-01 18:06:16 +01:00
PhilippC
86a03d8b9a New translations strings.xml (Czech) 2023-11-01 16:18:25 +01:00
Philipp Crocoll
17f7d1b8eb Merge branch 'target-sdk33' into iansw246/master 2023-11-01 12:24:34 +01:00
Philipp Crocoll
d3fecaf4e3 Merge branch 'master' into iansw246/master 2023-11-01 12:09:04 +01:00
PhilippC
03dee4f262 New translations strings.xml (Chinese Simplified) 2023-11-01 02:26:14 +01:00
PhilippC
2b502df566 Merge pull request #2434 from hyproman/bug-2423-ftp-contents-invisible
Bugfix for issue #2423 - FTP contents invisible
2023-10-31 09:14:42 +01:00
PhilippC
9ea064108c Merge pull request #2451 from PhilippC/target-sdk33
Update to target sdk33
2023-10-31 09:13:18 +01:00
Philipp Crocoll
682736d119 implement info text for notifications permission in GroupBaseActivity 2023-10-31 07:27:27 +01:00
Philipp Crocoll
150bd336d8 update to targetSdkVersion=33 again, this time with handling of notification permissions (https://developer.android.com/develop/ui/views/notifications/notification-permission)
For now, this is only implemented for entry activity, unlocked/QuickUnlock notifications not tested/implemented yet.
2023-10-31 06:46:13 +01:00
PhilippC
d13ee3d2ca New translations strings.xml (Slovenian) 2023-10-26 18:51:08 +02:00
PhilippC
99b5df4c94 New translations strings.xml (Portuguese, Brazilian) 2023-10-24 11:30:43 +02:00
PhilippC
9a70442d69 New translations strings.xml (Chinese Simplified) 2023-10-24 02:23:38 +02:00
Rick Brown
cd04050e57 Merge branch 'master' into upgrade-fluentftp 2023-10-23 17:54:59 -04:00
PhilippC
c13bb15fc0 New translations strings.xml (Norwegian Bokmal) 2023-10-23 11:20:35 +02:00
PhilippC
84939c70e1 New translations strings.xml (Malayalam) 2023-10-23 11:20:33 +02:00
PhilippC
2b108d9818 New translations strings.xml (Azerbaijani) 2023-10-23 11:20:31 +02:00
PhilippC
06f338fdd5 New translations strings.xml (Norwegian Nynorsk) 2023-10-23 11:20:30 +02:00
PhilippC
fa5e8c1656 New translations strings.xml (Croatian) 2023-10-23 11:20:29 +02:00
PhilippC
3652e2ee25 New translations strings.xml (Persian) 2023-10-23 11:20:28 +02:00
PhilippC
e8f3eb1bc8 New translations strings.xml (Indonesian) 2023-10-23 11:20:27 +02:00
PhilippC
233f612479 New translations strings.xml (Portuguese, Brazilian) 2023-10-23 11:20:25 +02:00
PhilippC
dc1e790ab5 New translations strings.xml (Galician) 2023-10-23 11:20:24 +02:00
PhilippC
bab77538c9 New translations strings.xml (Vietnamese) 2023-10-23 11:20:22 +02:00
PhilippC
09165af0a8 New translations strings.xml (Chinese Traditional) 2023-10-23 11:20:21 +02:00
PhilippC
4502d3d2bf New translations strings.xml (Chinese Simplified) 2023-10-23 11:20:20 +02:00
PhilippC
eb03d448d8 New translations strings.xml (Ukrainian) 2023-10-23 11:20:19 +02:00
PhilippC
7798ec8454 New translations strings.xml (Turkish) 2023-10-23 11:20:17 +02:00
PhilippC
7424bb324f New translations strings.xml (Swedish) 2023-10-23 11:20:16 +02:00
PhilippC
b18432add6 New translations strings.xml (Serbian (Cyrillic)) 2023-10-23 11:20:15 +02:00
PhilippC
e9a66d688c New translations strings.xml (Slovenian) 2023-10-23 11:20:14 +02:00
PhilippC
d9add0d5f6 New translations strings.xml (Slovak) 2023-10-23 11:20:12 +02:00
PhilippC
aed00420fc New translations strings.xml (Russian) 2023-10-23 11:20:11 +02:00
PhilippC
8dc546e640 New translations strings.xml (Portuguese) 2023-10-23 11:20:09 +02:00
PhilippC
c8f3d5f3e2 New translations strings.xml (Polish) 2023-10-23 11:20:08 +02:00
PhilippC
1f3786189b New translations strings.xml (Dutch) 2023-10-23 11:20:07 +02:00
PhilippC
d7bdde0585 New translations strings.xml (Korean) 2023-10-23 11:20:05 +02:00
PhilippC
f213f05477 New translations strings.xml (Japanese) 2023-10-23 11:20:04 +02:00
PhilippC
cb73144da7 New translations strings.xml (Italian) 2023-10-23 11:20:02 +02:00
PhilippC
689a1710c4 New translations strings.xml (Hungarian) 2023-10-23 11:20:01 +02:00
PhilippC
da116bbb4d New translations strings.xml (Hebrew) 2023-10-23 11:20:00 +02:00
PhilippC
2fd76ad28f New translations strings.xml (Finnish) 2023-10-23 11:19:58 +02:00
PhilippC
bdc7bf9cf6 New translations strings.xml (Basque) 2023-10-23 11:19:57 +02:00
PhilippC
b3ef4f817a New translations strings.xml (Greek) 2023-10-23 11:19:56 +02:00
PhilippC
3fb2f2e858 New translations strings.xml (German) 2023-10-23 11:19:54 +02:00
PhilippC
d8f60aa7f1 New translations strings.xml (Danish) 2023-10-23 11:19:53 +02:00
PhilippC
31f3a30a54 New translations strings.xml (Czech) 2023-10-23 11:19:52 +02:00
PhilippC
474b90f331 New translations strings.xml (Catalan) 2023-10-23 11:19:51 +02:00
PhilippC
fa0a52b328 New translations strings.xml (Bulgarian) 2023-10-23 11:19:50 +02:00
PhilippC
ccb6ece463 New translations strings.xml (Belarusian) 2023-10-23 11:19:48 +02:00
PhilippC
ffa33ed190 New translations strings.xml (Arabic) 2023-10-23 11:19:47 +02:00
PhilippC
c4923c57bf New translations strings.xml (Spanish) 2023-10-23 11:19:46 +02:00
PhilippC
2602bf7bee New translations strings.xml (French) 2023-10-23 11:19:45 +02:00
PhilippC
7df86fd134 New translations strings.xml (Romanian) 2023-10-23 11:19:43 +02:00
PhilippC
cf2f57b372 Merge pull request #2345 from AlexCherrypi/patch-1
remember keyprovider for "Password + Key file + Challenge-Response for KeePass XC"
2023-10-23 11:18:12 +02:00
Philipp Crocoll
7c2500af63 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2023-10-23 11:14:28 +02:00
PhilippC
748a71bc03 Merge pull request #2386 from hyproman/bug-2366-WIP-ssh-custom-alg-cfg
Bug 2366 SSH Custom Algorithms Configuration
2023-10-23 11:03:02 +02:00
Philipp Crocoll
e3ae3233fe introduce file storage for pcloud with access to all files. current implementation doesn't work in my tests. 2023-10-23 09:46:43 +02:00
Philipp Crocoll
bc464b0eba Merge remote-tracking branch 'remotes/origin/master' into bug-2378-pcloud-sdk-upgrade 2023-10-17 08:14:38 +02:00
PhilippC
9b3d7250ec Merge pull request #2348 from lockland/master
Update pt-BR strings.xml
2023-10-17 08:08:31 +02:00
PhilippC
b04f7f6c81 Merge pull request #2358 from anthonyryan1/master
Losslessly compress PNG images
2023-10-17 08:07:42 +02:00
PhilippC
41151a184b Merge pull request #2409 from schlotter/fix-de-translation-keytransform
Update strings.xml (German)
2023-10-17 08:02:12 +02:00
PhilippC
9d9b24cb98 Merge pull request #2439 from hyproman/bug-2426-set-system-language
Bug 2426 Add "System language" as language option
2023-10-17 07:16:20 +02:00
Rick Brown
087e3f5931 Allow "System language" to be set as language option
Populate "System language" as a first class item in the language
preference list so that users can select it in scenarios where they
have previously selected a specific language, and wish to go back to
the default.
2023-10-11 17:23:09 -04:00
Rick Brown
c8abb4d76a Update to latest FluentFTP version 2023-10-08 18:23:11 -04:00
PhilippC
18f81e6927 New translations strings.xml (Chinese Traditional) 2023-10-07 23:45:25 +02:00
PhilippC
b8c094554a New translations strings.xml (Chinese Simplified) 2023-10-07 23:45:22 +02:00
PhilippC
1c6831bb78 New translations strings.xml (Greek) 2023-10-07 23:44:46 +02:00
PhilippC
a5e7bbc081 New translations strings.xml (Danish) 2023-10-07 23:44:42 +02:00
Rick Brown
be2218afcc Bugfix for issue #2423 - FTP contents invisible
Change working directory to target path and call GetListing on
current directory instead of calling GetListing on explicit path.

For some reason GetListing(path) does not always return the contents of
the directory. However, calling SetWorkingDirectory(path) followed by
GetListing(null, options) to list the contents of the working directory
does consistently work.

Similar behavior was confirmed using ncftp client. I suspect this is a
strange bug/nuance in the server's implementation of the LIST command?
2023-10-07 17:30:32 -04:00
PhilippC
32c1d2a379 New translations strings.xml (Finnish) 2023-09-15 21:45:50 +02:00
PhilippC
9c7182f85a New translations strings.xml (German) 2023-08-27 16:49:51 +02:00
Christian Schlotter
100ed6e58e Fix grammar 2023-08-27 15:47:03 +02:00
PhilippC
31abf68031 New translations strings.xml (German) 2023-08-27 15:46:35 +02:00
Christian Schlotter
a5bce53a12 Update strings.xml (German) 2023-08-26 23:28:21 +02:00
Rick Brown
489ed8e2b4 Convert literals to constants, add javadoc to resolver class 2023-08-09 20:58:06 -04:00
Rick Brown
d63e11b307 Add SFTP credentials documentation 2023-08-09 17:38:37 -04:00
Rick Brown
c9be806b01 Bump pcloud sdk to v1.8.1 (latest available in maven)
NOTE: pCloud auth does NOT currently work. The redirect_uri needs
      updating in the Kp2A pCloud app configuration.

See here for more info:
      https://github.com/pCloud/pcloud-sdk-java/issues/33
2023-07-25 17:12:17 -04:00
Rick Brown
0e9da69f47 Minor ssh debug logging changes
-Refactor the logger implementation to make creation more intuitive
-Remove SSH debug logging preference persistence (didn't work properly
 anyway, and probably not worth trying to fix)
2023-07-23 22:29:13 -04:00
Rick Brown
18ecfd5396 Integrate KEx/SHK functionality into JavaFileStorageTest-AS
-Re-organize SFTP Credentials dialog to be more space-efficient
-Add KEX and SHK algorithm spec fields (these get used to build the SFTP
 URI when connecting)
-Add CSV test fields/buttons for standalone testing of spec/config
 resolution
2023-07-23 22:29:13 -04:00
PhilippC
0fef5f0f8c New translations strings.xml (Spanish) 2023-07-22 08:25:42 +02:00
Rick Brown
83529dd3b5 Modify/specify KEX/SHK algorithms
-Implemented ability to manipulate server_host_key (SHK) via SFTP
 Credentials dialog (like KEX)
-Implemented a few basic wildcard/relative algorithm list manipulation
features:
   - Prepend to existing list: +alg_name
   - Append to end of existing list: alg_name+
   - Remove a specific value: -alg_name
   - Remove values matching prefix: -alg_prefix*
   - Remove values matching suffix: -*alg_suffix
   - Remove values matching substring: -*alg_substring*
   - Remove values matching prefix and suffix: -alg*name
   - Otherwise CSV of values completely replace original config values
2023-07-20 19:48:49 -04:00
Rick Brown
9204c4ca8f Add ssh config options to display URI 2023-07-19 22:11:34 -04:00
Rick Brown
46fdba1bfa SSH/SFTP: Allow kex algorithms to be explicitly set
-kex config overload, set via database connection settings
2023-07-19 19:38:00 -04:00
Rick Brown
006f5497e5 Merge branch 'bug-2366-ssh-debug-logging_master' into custom-sftp-private-key_patches 2023-07-19 17:12:53 -04:00
Rick Brown
da3665c25b Fix NoNet compilation error 2023-07-12 18:40:57 -04:00
Rick Brown
464fe43323 Add JSch (SFTP) debug logging
-App Settings->Log-File for Debugging->SFTP debug logging
-Logs to android log (logcat) if log file is not enabled
-Logs to Kp2a log file if it is enabled
-Logs are tagged as "KP2AJFS[JSch]"
-When enabled, logs ALL levels (DEBUG+).

NOTE: Sensitive SSH connection information may be logged!!
2023-07-12 17:03:39 -04:00
PhilippC
bded2394bb New translations strings.xml (Russian) 2023-07-10 00:19:43 +02:00
PhilippC
0fe2ca8238 New translations strings.xml (Russian) 2023-07-09 23:15:32 +02:00
PhilippC
ae33ca219f New translations strings.xml (Hungarian) 2023-07-08 15:24:04 +02:00
PhilippC
c16eeff130 Merge pull request #2365 from hyproman/bugfix-2350-sftp-fails-ipv6
Bugfix for issue #2350 - SFTP fails to connect to IPv6 address
2023-06-26 11:13:15 +02:00
AlexCherrypi
fb0f83c37a Update PasswordActivity.cs 2023-06-18 21:49:26 +02:00
Rick Brown
da5533ef3b Modified impl of bugfix #2350
URL encode/decode host parameter in SFTP URI

This version is slightly different than the original PR, given
this branch's changes to SftpStorage.buildFullPath().
2023-06-16 19:40:01 -04:00
Rick Brown
03ea073426 Bugfix for issue #2350 - SFTP fails to connect to IPv6 address
Since IPv6 addresses contain colons, they break the host:port URI
parsing logic, since "host" will have colons in it.

This fix adds URL encoding/decoding of the "host" parameter, thus
removing any possible colons in that parameter that could conflict
with the host:port separator.
2023-06-16 19:18:47 -04:00
PhilippC
681dfb6ded New translations strings.xml (Russian) 2023-06-10 23:46:19 +02:00
Anthony Ryan
cde5d31845 Losslessly compress PNG images
By using Efficient-Compression-Tool we were able to save 804 KB of 9.8 MB (8.2%)
without changing the visual appearance.
2023-06-10 09:15:03 -04:00
PhilippC
20f334f0d3 New translations strings.xml (Danish) 2023-06-09 10:00:23 +02:00
PhilippC
d8268d4f0f New translations strings.xml (Russian) 2023-06-02 23:03:27 +02:00
PhilippC
325e8a8e32 New translations strings.xml (Russian) 2023-06-02 22:05:45 +02:00
PhilippC
7e9e91da05 New translations strings.xml (Russian) 2023-06-02 20:52:43 +02:00
PhilippC
80eaf39f04 New translations strings.xml (Russian) 2023-06-02 19:56:15 +02:00
PhilippC
ddffdb48aa New translations strings.xml (Czech) 2023-06-01 11:20:16 +02:00
Sidney Souza
85709e4058 Update strings.xml
add some brazilian portuguese translation fixes
2023-05-31 10:50:51 -03:00
PhilippC
5a406fe5df New translations strings.xml (German) 2023-05-31 14:05:45 +02:00
AlexCherrypi
4e2603ae27 remember keyprovider for "Password + Key file + Challenge-Response for KeePass XC" "
extended "SetKeyProviderFromString()" to set _keyFile for "ChallengeXCKeyFile";
extended "InitializePasswordModeSpinner()" case 7 to remember key file location
2023-05-21 15:53:31 +02:00
ianjazz246
bcf980eed5 Make _activeProgressDialogs readonly 2023-05-20 10:58:19 -07:00
ianjazz246
05c94a3af8 Fix a few more tabs 2023-05-20 10:48:32 -07:00
ianjazz246
3526aa1889 Fix more tabs 2023-05-20 10:46:29 -07:00
ianjazz246
72a3b55341 Fix tab indentation 2023-05-20 10:42:09 -07:00
ianjazz246
b11d5e667e Hide progress dialogs when dialog requesting user input is showing 2023-05-20 10:19:14 -07:00
PhilippC
93a4529fe9 New translations strings.xml (Indonesian) 2023-05-10 14:15:38 +02:00
PhilippC
7582274903 New translations strings.xml (Catalan) 2023-05-08 21:28:00 +02:00
Philipp Crocoll
158349c005 mark camera as optional feature to make the app compatible with non-camera devices again, closes https://github.com/PhilippC/keepass2android/issues/2316 2023-04-21 04:44:08 +02:00
PhilippC
2fffe5988c New translations strings.xml (German) 2023-04-16 11:34:09 +02:00
PhilippC
3f6e51b126 Update Privacy-Policy.md 2023-04-13 04:36:57 +02:00
PhilippC
c0345d1309 Merge pull request #2303 from robellegate/add/pr-template
Add issue templates for bug report, feature request, and question
2023-04-11 06:07:31 +02:00
PhilippC
14f7e17fa4 New translations strings.xml (Czech) 2023-04-10 17:51:09 +02:00
PhilippC
05acba4309 New translations strings.xml (Czech) 2023-04-10 16:55:36 +02:00
Robert Ellegate
746dcd4c6b 🎨 style(issue_template): improve readability of bug report template
This commit improves the readability of the bug report template by changing the label of the "Version" information to "provide it below" instead of "provide it here". Additionally, the "Which version of Android are you on?" question is now a separate input field instead of a textarea, which makes it easier to answer. Finally, the markdown formatting of the instructions for finding the Android version is improved for better readability.
2023-04-09 11:20:44 -04:00
Robert Ellegate
37a6da5a3b 🎨 style(issue_template): add prefixes to issue titles
Add prefixes to issue titles to improve consistency and make it easier to identify the type of issue.

- `[FEAT]` for feature requests
- `[QUESTION]` for questions

Also, update the bug report template to move the instructions for finding the app version to a markdown section and remove the placeholder text from the version input field. This makes it clearer and easier to follow the instructions.
2023-04-09 11:16:01 -04:00
Robert Ellegate
1efe2e16a5 📝 chore(github): add issue templates for bug report, feature request, and question
The issue templates for bug report, feature request, and question have been added to the `.github/ISSUE_TEMPLATE` directory. These templates will help standardize the information provided in issues and make it easier for contributors to provide the necessary information. The bug report template includes checkboxes to ensure that the FAQ has been checked and open issues have been searched before submitting a new bug report. The feature request template is a simple template for suggesting new ideas for the project. The question template asks for the version of Keepass2Android being used to help with troubleshooting.
2023-04-08 13:37:07 -04:00
PhilippC
542984ca2f New translations strings.xml (Japanese) 2023-04-08 18:26:37 +02:00
PhilippC
f8746f69f8 New translations strings.xml (Slovak) 2023-04-08 11:16:05 +02:00
Philipp Crocoll
5cbddb4fcc explicitly remove READ_PHONE_STATE permission to close #2300; manifest for 1.09e-r7 2023-04-08 08:30:36 +02:00
Philipp Crocoll
b3a73f20d4 fix to potential crash when reloading the database. related to 4910c73a5e 2023-04-08 08:25:09 +02:00
PhilippC
53913e66ab New translations strings.xml (Polish) 2023-04-07 16:17:52 +02:00
Philipp Crocoll
badf99c20d Manifest for 1.09e-r6 2023-04-07 10:05:22 +02:00
Philipp Crocoll
b8318f7fa5 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2023-04-07 09:19:43 +02:00
PhilippC
f0e30459a2 Merge pull request #2294 from PhilippC/l10n_master2
New Crowdin updates
2023-04-07 08:10:29 +02:00
Philipp Crocoll
e101ffb01e add regression test for the crash fixed in 9933fa1f9d 2023-04-07 08:10:10 +02:00
PhilippC
a05ef51d44 New translations strings.xml (Japanese) 2023-04-03 10:08:32 +02:00
PhilippC
8aacdf683b New translations strings.xml (Dutch) 2023-04-02 10:10:05 +02:00
PhilippC
0502efde14 New translations strings.xml (Dutch) 2023-04-02 09:00:39 +02:00
Philipp Crocoll
94ede3a696 output current Configuration during build 2023-03-31 08:01:25 +02:00
Philipp Crocoll
9933fa1f9d fix to potential crash in Autofill. Couldn't add a test yet, still waiting for corresponding Autofill structure. 2023-03-31 08:01:10 +02:00
Philipp Crocoll
4910c73a5e fix to potential crash when reloading database 2023-03-31 08:00:44 +02:00
Philipp Crocoll
cf222a2db1 remove Flavor from build-properties, adjust Manifest for debug build 2023-03-31 07:59:34 +02:00
PhilippC
a9ad3725dc Merge pull request #2265 from PhilippC/l10n_master2
New Crowdin updates
2023-03-31 07:58:27 +02:00
PhilippC
40d3fe1cd9 New translations strings.xml (Ukrainian) 2023-03-22 22:56:58 +01:00
PhilippC
1e90a52275 New translations strings.xml (Ukrainian) 2023-03-22 21:15:28 +01:00
PhilippC
8596edaa67 New translations strings.xml (Greek) 2023-03-22 10:59:35 +01:00
PhilippC
38f1aa4d3d New translations strings.xml (Greek) 2023-03-22 10:59:34 +01:00
PhilippC
984da3fd3b New translations strings.xml (Greek) 2023-03-22 09:53:14 +01:00
PhilippC
ed7138991d New translations strings.xml (German) 2023-03-21 21:45:15 +01:00
PhilippC
1e78527164 New translations strings.xml (Italian) 2023-03-21 00:17:53 +01:00
PhilippC
a6540b4462 New translations strings.xml (Japanese) 2023-03-20 13:56:48 +01:00
PhilippC
230b3941e8 New translations strings.xml (Japanese) 2023-03-20 12:42:13 +01:00
Philipp Crocoll
554f88c723 add make target "clean_rm" to remove build artifacts using rm. Created a new release based on this clean to see if it helps with #2263. 2023-03-20 09:51:58 +01:00
Philipp Crocoll
4cd32d30c6 removing unused duplicated files 2023-03-20 09:47:38 +01:00
PhilippC
a76c43a800 New translations strings.xml (Chinese Traditional) 2023-03-19 11:40:16 +01:00
Philipp Crocoll
d0da83182f manifest for 1.09e-r5 2023-03-19 10:01:25 +01:00
Philipp Crocoll
ec5f26e0cd reduce log output 2023-03-18 20:34:45 +01:00
Philipp Crocoll
6110166af8 code simplification and fix for Autofill not being able to save credentials, closes https://github.com/PhilippC/keepass2android/issues/2269 2023-03-16 20:27:22 +01:00
Philipp Crocoll
6f10a04589 revert most of the added debug outputs 2023-03-16 20:25:57 +01:00
PhilippC
eedeeafd80 New translations strings.xml (Chinese Simplified) 2023-03-16 03:34:05 +01:00
Philipp Crocoll
e0c003fcb2 add debugging output 2023-03-14 20:19:08 +01:00
PhilippC
ad3b1500bb New translations strings.xml (Finnish) 2023-03-12 23:25:28 +01:00
PhilippC
5f2a976fde New translations strings.xml (Finnish) 2023-03-12 22:20:54 +01:00
PhilippC
dd0becdfd8 New translations strings.xml (Slovenian) 2023-03-12 20:04:54 +01:00
PhilippC
cacd204ac2 New translations strings.xml (Chinese Simplified) 2023-03-10 04:06:30 +01:00
PhilippC
728fd2f8ae New translations strings.xml (Portuguese, Brazilian) 2023-03-09 21:38:11 +01:00
Philipp Crocoll
944f44bc4b Manifest for v1.09e-r4 2023-03-09 20:45:25 +01:00
Philipp Crocoll
58047d5386 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2023-03-09 20:44:29 +01:00
PhilippC
c0a06c9f3a Merge pull request #2264 from PhilippC/l10n_master2
New Crowdin updates
2023-03-09 20:44:02 +01:00
Philipp Crocoll
d0c041a0e2 remove debugging code 2023-03-09 20:16:24 +01:00
PhilippC
df060e2f4b New translations strings.xml (Portuguese, Brazilian) 2023-03-09 19:56:04 +01:00
PhilippC
aea55dad45 New translations strings.xml (Chinese Traditional) 2023-03-09 19:56:01 +01:00
PhilippC
5442dbf441 New translations strings.xml (Chinese Simplified) 2023-03-09 19:56:00 +01:00
PhilippC
317476d9b5 New translations strings.xml (Ukrainian) 2023-03-09 19:55:59 +01:00
PhilippC
ad0acb7a69 New translations strings.xml (Slovenian) 2023-03-09 19:55:56 +01:00
PhilippC
b66ae5d264 New translations strings.xml (Polish) 2023-03-09 19:55:53 +01:00
PhilippC
d87706fa43 New translations strings.xml (Japanese) 2023-03-09 19:55:51 +01:00
PhilippC
cb25d12709 New translations strings.xml (Greek) 2023-03-09 19:55:46 +01:00
PhilippC
dce536009e New translations strings.xml (German) 2023-03-09 19:55:45 +01:00
PhilippC
656e785214 New translations strings.xml (Danish) 2023-03-09 19:55:44 +01:00
PhilippC
35d50a6eb0 New translations strings.xml (French) 2023-03-09 19:55:39 +01:00
PhilippC
786bb646c2 New translations strings.xml (Slovak) 2023-03-09 19:55:37 +01:00
Philipp Crocoll
72cc6ff768 wrap adding fields and hints to dictionary, avoiding to add a duplicate key. Should close #2262 (but I can't reproduce) 2023-03-09 19:46:28 +01:00
Philipp Crocoll
404e07e5c0 Merge remote-tracking branch 'remotes/origin/l10n_master2' 2023-03-09 19:40:36 +01:00
Philipp Crocoll
1c7159ede9 changelog and manifest for 1.09e-r3 2023-03-09 19:39:51 +01:00
PhilippC
2378cd0d7c New translations strings.xml (Greek) 2023-03-08 16:54:54 +01:00
PhilippC
b149bab761 New translations strings.xml (Chinese Simplified) 2023-03-07 03:36:36 +01:00
PhilippC
5ebd8e5e33 New translations strings.xml (Portuguese, Brazilian) 2023-03-06 14:12:17 +01:00
Philipp Crocoll
db6b266a59 add more autofill tests and change AutofillParser to make them pass 2023-03-06 10:26:58 +01:00
Philipp Crocoll
7de28c5aba add preference to control if autofill view details are written to log 2023-03-06 10:26:33 +01:00
PhilippC
ed79df0c6d Merge pull request #2254 from PhilippC/PhilippC-autofill-testing-and-improvements
Autofill testing and improvements
2023-03-06 08:28:42 +01:00
Philipp Crocoll
4949fede32 remove tab in yml file 2023-03-06 08:05:57 +01:00
PhilippC
bddef6442c Merge pull request #2251 from WreckingBANG/master
Added Monochrome Icon
2023-03-06 07:59:11 +01:00
Philipp Crocoll
48a6d0a2ad disable macos build action 2023-03-06 07:58:52 +01:00
PhilippC
ac5f3c9ca5 Merge pull request #2244 from PhilippC/l10n_master2
New Crowdin updates
2023-03-04 09:08:30 +01:00
PhilippC
93e1cf1147 Merge pull request #2240 from hyproman/java-file-storage-android-studio
Get JavaFileStorage working in Android Studio
2023-03-04 09:01:19 +01:00
PhilippC
a805787a95 Merge pull request #2248 from hyproman/build-doc-update
Update build documentation
2023-03-04 09:00:56 +01:00
Philipp Crocoll
85315d0ecc run unit tests in github action 2023-02-28 22:42:04 +01:00
Philipp Crocoll
595a451f77 fix failing test 2023-02-28 22:37:32 +01:00
Philipp Crocoll
914224e4fa refactoring of autofill implementation, extracted some pieces to be independant of Android framework, added some xUnit tests 2023-02-28 22:31:28 +01:00
Philipp Crocoll
e350e8788c Merge branch 'master' into PhilippC-autofill-testing-and-improvements 2023-02-28 22:17:10 +01:00
PhilippC
ca5f6dc43c New translations strings.xml (Slovak) 2023-02-24 20:38:56 +01:00
WreckingBANG
0d4955622d Delete main.yml 2023-02-23 15:04:55 +01:00
WreckingBANG
886daa6b27 Update main.yml 2023-02-23 15:04:18 +01:00
WreckingBANG
8fa0803474 Create main.yml 2023-02-23 15:03:48 +01:00
WreckingBANG
4cad70e750 Update ic_launcher_offline_round.xml 2023-02-23 14:59:54 +01:00
WreckingBANG
c29b789a2b Update ic_launcher_offline.xml 2023-02-23 14:59:40 +01:00
WreckingBANG
cd34896661 Update ic_launcher_online_round.xml 2023-02-23 14:59:31 +01:00
WreckingBANG
1e02db86d6 Update ic_launcher_online.xml 2023-02-23 14:59:13 +01:00
Rick Brown
994741cbf5 Update build documentation based on my experience 2023-02-19 22:47:29 -05:00
Rick Brown
5e265d1816 Backend:
-Generalize SFTP query param option map building
-Add "key" and "phrase" as SFTP query params
  key: custom private key name
  phrase: passphrase used to unlock key
-Add CRUD support for custom private keys
  Key files are stored in "user_keys" subdirectory
  File names are constructed by (sanitized) key name
  Basic support for private key content validation
-Existing and new key-related functionality moved into
  SftpPublicPrivateKeyUtils class

UI:
-Add custom private key support to SFTP Credentials dialog
  Add a new auth mode item (authModeSpinner)
  Add Spinner showing saved private key names, with an option
   to create a new one (top).
  Add Delete Private Key button; deletes the selected key
   in Spinner

Testing:
-Add custom private key CRUD support to JavaFileStorageTest app
 via file chooser SFTP Credentials panel
2023-02-19 20:26:39 -05:00
Rick Brown
83e77b2a31 Bugfix for #2223 - crash after import database by SFTP
Add FLAG_MUTABLE flag to PendingIntent call for API >= 31 to fix an
issue where trying to open an SFTP database (transition to choose a
remote database file) crashes and returns to the Open/New database
screen.
2023-02-19 19:52:05 -05:00
Rick Brown
893cf2b3c8 Get JavaFileStorage working in Android Studio
Resolve issue where AS would fail to import Android API jar
2023-02-19 19:52:05 -05:00
PhilippC
58844be6eb New translations strings.xml (Danish) 2023-02-19 23:50:16 +01:00
PhilippC
2d899fa067 New translations strings.xml (Danish) 2023-02-19 22:32:16 +01:00
PhilippC
060bf6a6ee New translations strings.xml (Danish) 2023-02-19 21:31:30 +01:00
PhilippC
890f1bd704 New translations strings.xml (Danish) 2023-02-19 20:33:39 +01:00
PhilippC
139abcaec6 New translations strings.xml (German) 2023-02-18 23:26:56 +01:00
PhilippC
78a48b75b8 New translations strings.xml (German) 2023-02-18 22:13:41 +01:00
PhilippC
3918b06b1f New translations strings.xml (German) 2023-02-18 21:04:46 +01:00
PhilippC
40847ebe31 New translations strings.xml (German) 2023-02-18 19:55:30 +01:00
PhilippC
34cac86a9b New translations strings.xml (German) 2023-02-18 18:58:40 +01:00
PhilippC
d8598a53e0 New translations strings.xml (Japanese) 2023-02-18 17:41:17 +01:00
PhilippC
92d9eb1512 New translations strings.xml (German) 2023-02-18 11:15:28 +01:00
PhilippC
1be7b33f6b New translations strings.xml (German) 2023-02-18 10:09:38 +01:00
PhilippC
8464fa4f29 New translations strings.xml (German) 2023-02-18 09:11:16 +01:00
PhilippC
eff9a96bd5 New translations strings.xml (German) 2023-02-18 07:44:12 +01:00
PhilippC
bd4e321b0e New translations strings.xml (German) 2023-02-18 06:48:57 +01:00
PhilippC
47aaedbfb5 New translations strings.xml (German) 2023-02-18 06:48:56 +01:00
PhilippC
3043f8981d New translations strings.xml (German) 2023-02-18 06:48:55 +01:00
Rick Brown
15b3b76b27 Squashed commit of not-yet-approved PR #2038
https://github.com/PhilippC/keepass2android/pull/2038
User-defined SFTP connection timeout

The addition of SFTP query parameter options are needed
to support custom private key functionality.

Squashed commits from hyproman:sftp-conn-timeout:

commit 9c6b96e8198f1b912acdc1248af775f8fed58e1c
commit ebe59d9bc337a46bf0646677eb38b13ddde21f14
commit 69eb0bfd1a7010a2e442c36d10a16d1710c958de
commit 9394947c12bedb8667b7b94d0b1457f9e0451e18
2023-02-15 19:08:14 -05:00
Philipp Crocoll
cfd413f1f4 add more hints for password fields to fix issues with autofill (maybe on newer Android versions only), closes #2184 2023-02-13 09:42:55 +01:00
Philipp Crocoll
30df03eec6 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2023-02-13 09:40:08 +01:00
PhilippC
5048f63204 Merge pull request #2225 from PhilippC/l10n_master2
New Crowdin updates
2023-02-13 09:37:38 +01:00
PhilippC
7557c0b9fd Merge pull request #2234 from hyproman/bugfix-2223-sftp-db-import-crash
Bugfix for #2223 - crash after import database by SFTP
2023-02-13 09:36:46 +01:00
PhilippC
9346f6bb32 Merge pull request #2226 from hyproman/gradle-version-sync
Reuse a single GradleDaemon instance
2023-02-13 09:36:35 +01:00
Rick Brown
23d7efff53 Bugfix for #2223 - crash after import database by SFTP
Add FLAG_MUTABLE flag to PendingIntent call for API >= 31 to fix an
issue where trying to open an SFTP database (transition to choose a
remote database file) crashes and returns to the Open/New database
screen.
2023-02-12 13:28:45 -05:00
PhilippC
c7eb2bf873 New translations strings.xml (Japanese) 2023-02-12 17:02:59 +01:00
Rick Brown
632121f3ec Get JavaFileStorage working in Android Studio
Resolve issue where AS would fail to import Android API jar
2023-02-11 18:34:20 -05:00
Philipp Crocoll
f7feddcf1f start to refactor Autofill code to extract some logic into an non-Androidlibrary 2023-02-11 06:56:02 +01:00
Philipp Crocoll
e745fee6e2 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2023-02-11 06:51:06 +01:00
Philipp Crocoll
bcc17d91bd fix potential crash on newer Android versions when trying to close notification drawer 2023-02-11 06:50:52 +01:00
Rick Brown
8c8a8e3968 Normalize gradle jvmargs to reuse a single GradleDaemon
Set max heap to 1.5G across all java projects. Inspection
via VisualVM found 1G to be a little too aggressive, while
2G seemed overkill. In any case a full build now can reuse
a single GradleDaemon instance instead of three.
2023-02-09 20:20:03 -05:00
PhilippC
3c41550404 New translations strings.xml (Polish) 2023-02-09 16:44:10 +01:00
PhilippC
76107b1207 Merge pull request #2207 from PhilippC/l10n_master2
New Crowdin updates
2023-02-06 20:48:03 +01:00
PhilippC
bb0c13b9d8 New translations strings.xml (Slovenian) 2023-02-06 18:57:26 +01:00
PhilippC
405166ba9d New translations strings.xml (Japanese) 2023-02-03 13:58:57 +01:00
PhilippC
f5cb60770e New translations strings.xml (Ukrainian) 2023-02-03 11:26:34 +01:00
Philipp Crocoll
9958a73d4a revert to targetSdkVersion 31 to avoid issues with notifications not showing 2023-02-01 21:16:05 +01:00
PhilippC
fd287b8da7 New translations strings.xml (Basque) 2023-02-01 17:53:32 +01:00
PhilippC
9bea5b13e3 New translations strings.xml (Chinese Traditional) 2023-02-01 00:34:15 +01:00
PhilippC
aa6a728e8c New translations strings.xml (Chinese Traditional) 2023-01-31 23:35:12 +01:00
PhilippC
1c8431a3f9 New translations strings.xml (Chinese Traditional) 2023-01-31 22:35:51 +01:00
PhilippC
6a0eacd8f1 New translations strings.xml (Chinese Traditional) 2023-01-31 21:37:45 +01:00
PhilippC
d27976b737 New translations strings.xml (Chinese Traditional) 2023-01-31 19:41:50 +01:00
PhilippC
f312b50f0c New translations strings.xml (Chinese Traditional) 2023-01-31 18:42:58 +01:00
PhilippC
deb169fece New translations strings.xml (Chinese Traditional) 2023-01-31 18:42:57 +01:00
PhilippC
2df656211d New translations strings.xml (Japanese) 2023-01-31 14:17:53 +01:00
Philipp Crocoll
c86f9b3a4f KP2ASoftkeyboard_AS/gradle/wrapper/gradle-wrapper.properties: back to gradle 7.6 (7.5 was an unintentional change) 2023-01-30 21:02:58 +01:00
Philipp Crocoll
1c517dceb8 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2023-01-30 10:54:23 +01:00
Philipp Crocoll
bede68b60a update java projects to sourceCompatibility/targetCompatibility=11 and compileSdkVersion 33 2023-01-30 10:54:06 +01:00
PhilippC
8ab7fe84dd Merge pull request #2186 from PhilippC/l10n_master2
New Crowdin updates
2023-01-30 09:12:41 +01:00
PhilippC
305946b552 Merge pull request #2198 from proski/fix-2185
Suppress "Entry is available" notifications on wearable devices
2023-01-30 09:12:23 +01:00
PhilippC
f1fdfa5205 Update README.md 2023-01-30 08:09:34 +01:00
Philipp Crocoll
c1f7460c3e disable linux runner, currently not supported 2023-01-30 08:00:36 +01:00
Philipp Crocoll
1f92e449f5 check for sdk version before calling SetLocalOnly 2023-01-30 07:37:23 +01:00
PhilippC
50aec43b38 Merge pull request #2203 from tenzap/009-updateAGPandGradle
Java modules: upgrade Android gradle plugin & Gradle
2023-01-28 21:02:53 +01:00
PhilippC
dc75565d7c New translations strings.xml (Japanese) 2023-01-27 14:06:54 +01:00
tenzap
91b59c7c9f github workflow: switch to JDK 11
Since Android Gradle plugin was updated, it now requires JDK 11.

Fixes:

> Could not resolve all files for configuration ':classpath'.
   > Could not resolve com.android.tools.build:gradle:7.4.0.
     Required by:
         project :
      > No matching variant of com.android.tools.build:gradle:7.4.0 was found. The consumer was configured to find a runtime of a library compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.6' but:
          - Variant 'apiElements' capability com.android.tools.build:gradle:7.4.0 declares a library, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares an API of a component compatible with Java 11 and the consumer needed a runtime of a component compatible with Java 8
              - Other compatible attribute:
                  - Doesn't say anything about org.gradle.plugin.api-version (required '7.6')
2023-01-26 22:02:25 +01:00
tenzap
e42b4c9654 Java modules: update repository sources 2023-01-26 22:02:09 +01:00
tenzap
d6486d4b98 Java modules: Upgrade to AGP 7.4.0 & Gradle 7.6
Fix the issues that were reported because of that change:

WARNING:The specified Android SDK Build Tools version (28.0.3) is ignored, as it is below the minimum supported version (30.0.3) for Android Gradle Plugin 7.4.0.
Android SDK Build Tools 30.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '28.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

android:exported needs to be explicitly specified for element <activity#com.crocoapps.javafilestoragetest2.MainActivity>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.

Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated.
Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace
This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.

.../keepass2android/src/java/KP2ASoftkeyboard_AS/app/src/main/AndroidManifest.xml:5:5-46 Warning:
	uses-sdk:targetSdkVersion value (14) specified in the manifest file is ignored. It is overridden by the value declared in the DSL or the variant API, or 1 if not declared/present. Current value is (18).
2023-01-26 22:02:02 +01:00
PhilippC
5bdf93633f Merge pull request #2200 from tenzap/007-ci
Fix github workflow
2023-01-26 20:17:30 +01:00
PhilippC
81f582bb8b New translations strings.xml (Japanese) 2023-01-26 10:21:28 +01:00
tenzap
7ba6a44888 github workflow: restore download of 'platforms;android-26'
Some targets still target v8.0 (api26):

src/KeePassLib2Android/KeePassLib2Android.csproj:    <TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
src/KP2AKdbLibraryBinding/KP2AKdbLibraryBinding.csproj:    <TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
src/ZlibAndroid/ZlibAndroid.csproj:    <TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
src/PluginSdkBinding/PluginSdkBinding.csproj:    <TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
src/PCloudBindings/PCloudBindings.csproj:    <TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
src/AndroidFileChooserBinding/AndroidFileChooserBinding.csproj:    <TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
src/TwofishCipher/TwofishCipher.csproj:    <TargetFrameworkVersion>v8.0</TargetFrameworkVersion>

So we need it in ANDROID_SDK_ROOT.

Otherwise build fails with this error (on macos & windows):

C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Xamarin\Android\Xamarin.Android.Tooling.targets(100,5): error XA5207: Could not find android.jar for API level 26. This means the Android SDK platform for API level 26 is not installed. Either install it in the Android SDK Manager (Tools > Android > Android SDK Manager...), or change the Xamarin.Android project to target an API version that is installed. (C:\Android\android-sdk\platforms\android-26\android.jar missing.) [D:\a\keepass2android\keepass2android\src\TwofishCipher\TwofishCipher.csproj]
2023-01-25 09:16:31 +01:00
tenzap
187d4c8f41 github workflow: fix typo 2023-01-25 09:13:41 +01:00
tenzap
58b0b666ce github workflow: restore download of xamarin.android only if it isn't in cache 2023-01-25 09:13:22 +01:00
tenzap
8393694e6c github workflow: restore 'Setup Xamarin.Android' step 2023-01-25 09:11:24 +01:00
tenzap
b99f82d3d7 github workflow: remove 'Install NDK' step
Not needed and I believe nowadays we should use the sdkmanager or cmdline-tools/latest/bin
2023-01-25 09:10:22 +01:00
tenzap
dfbfeb3fa3 remove ndk version specified in KP2ASoftkeyboard_AS/app/build.gradle
Partially reverts 4b3f6657a8
2023-01-25 09:08:11 +01:00
tenzap
3c9a8341ae github workflow: use gradle/gradle-build-action@v2 to manage gradle cache
Should be better than the custom way we used and manages the lock
made on windows runners
2023-01-25 09:06:52 +01:00
Philipp Crocoll
8f69a60307 remove gradle caching on Windows as well 2023-01-24 20:55:37 +01:00
Philipp Crocoll
14c2e64e2f disable gradle cache 2023-01-24 20:50:52 +01:00
Philipp Crocoll
554338012e now really remove install workload 2023-01-24 19:57:16 +01:00
Philipp Crocoll
3185cf1a9c re-enable download of xamarin build tools for linux 2023-01-24 19:43:54 +01:00
Philipp Crocoll
ed91d0db0b fix syntax error 2023-01-24 19:36:10 +01:00
Philipp Crocoll
dd7cb0a088 enable usage of xamarin_url for linux again 2023-01-24 19:31:01 +01:00
Philipp Crocoll
874e1dbae8 remove download of xamarin-33 2023-01-24 19:22:52 +01:00
Philipp Crocoll
649c0739f6 github action: install ndk for windows also, use "workload install" on linux 2023-01-23 20:39:17 +01:00
Philipp Crocoll
3db5ea4713 fix syntax error 2023-01-23 12:53:07 +01:00
Philipp Crocoll
96b5e1c10e install NDK 21.0.6113669 on github workflow runner 2023-01-23 12:41:14 +01:00
Philipp Crocoll
2bf5222505 update github workflow to use Visual studio 2022 and Xamarin for target sdk 33 2023-01-23 12:15:28 +01:00
Philipp Crocoll
24d6909297 changes to make build succeed for Flavor=Net as well 2023-01-23 11:30:41 +01:00
Philipp Crocoll
1c3f4106dd fix to weird autofill behavior: now returning dataset directly, instead of responseBuilder with dataset, allowing to fill the result of the autofill activity immediately. 2023-01-23 10:11:28 +01:00
Philipp Crocoll
4b3f6657a8 * update target-sdk version to 33. update some packages (build currently fails for flavor=Net, but works with NoNet)
* make changes to comply with new target sdk version requirements (mostly Exported-attribute and mutability flags)
* drop samsung fingerprint support (as suggested by Samsung), would require more hacks to keep it with the new target sdk version
* add build-properties.props to allow specifying a flavor in VS builds.
2023-01-23 10:07:15 +01:00
PhilippC
fd75737331 New translations strings.xml (Japanese) 2023-01-23 01:06:47 +01:00
PhilippC
195cdb8ad7 New translations strings.xml (Japanese) 2023-01-23 00:07:54 +01:00
Pavel Roskin
a8e519660b Suppress "Entry is available" notifications on wearable devices
Fixes #2185
2023-01-22 10:49:21 -08:00
PhilippC
54047e8a26 New translations strings.xml (Japanese) 2023-01-22 04:56:19 +01:00
PhilippC
e84c5bacb1 New translations strings.xml (Japanese) 2023-01-22 03:58:28 +01:00
PhilippC
48037d667c New translations strings.xml (Japanese) 2023-01-21 15:49:56 +01:00
PhilippC
41682aab0a New translations strings.xml (Japanese) 2023-01-21 14:42:18 +01:00
PhilippC
9561c99711 New translations strings.xml (Japanese) 2023-01-21 13:31:07 +01:00
PhilippC
1fd538999f New translations strings.xml (Polish) 2023-01-17 12:01:22 +01:00
PhilippC
a4396af352 New translations strings.xml (Basque) 2023-01-16 19:03:40 +01:00
PhilippC
d7c403cf30 New translations strings.xml (Basque) 2023-01-16 16:10:16 +01:00
PhilippC
089eb9bcb2 New translations strings.xml (French) 2023-01-11 13:38:13 +01:00
PhilippC
178383d549 New translations strings.xml (Portuguese, Brazilian) 2023-01-09 13:12:11 +01:00
Philipp Crocoll
f6e6d0e59c update changelog to include 1.09e 2023-01-09 10:58:36 +01:00
PhilippC
30c1cc1e3f Merge pull request #2183 from PhilippC/l10n_master2
New Crowdin updates
2023-01-09 10:00:22 +01:00
PhilippC
e7f579862f New translations strings.xml (Chinese Simplified) 2023-01-08 04:03:15 +01:00
PhilippC
22fc984432 New translations strings.xml (German) 2023-01-07 23:26:13 +01:00
Philipp Crocoll
33b3c78676 Merge branch 'master' of https://github.com/PhilippC/keepass2android 2023-01-07 21:01:08 +01:00
Philipp Crocoll
0052641b86 pseudo-change to trigger crowdin sync once again 2023-01-07 21:00:57 +01:00
PhilippC
b5b67ed6c4 Merge pull request #2181 from PhilippC/l10n_master2
New Crowdin updates
2023-01-07 20:59:48 +01:00
PhilippC
08e0b6e72d New translations strings.xml (Persian) 2023-01-05 08:51:01 +01:00
PhilippC
6e23b1ef22 New translations strings.xml (Japanese) 2023-01-05 08:50:50 +01:00
PhilippC
e0da7c6bf5 New translations strings.xml (Serbian (Cyrillic)) 2023-01-05 08:50:28 +01:00
Philipp Crocoll
138bd8adef changelog entries for 1.09e 2023-01-04 23:20:58 +01:00
PhilippC
ab527368c0 Merge pull request #2179 from PhilippC/makefile-signing
allow to sign apk using a specific keystore
2023-01-04 23:04:19 +01:00
PhilippC
335c53360d Merge pull request #2142 from nikoyak/fix-1956
fix crashes/unexpected logouts (#1956, #1936, #1909)
2023-01-04 22:23:31 +01:00
PhilippC
7b31f6ec5a Merge pull request #2176 from sratz/jsch
Migrate from com.jcraft:jsch 0.1.55 to com.github.mwiede:jsch 0.2.5
2023-01-04 22:21:36 +01:00
Philipp Crocoll
63a8791752 allow to sign apk using a specific keystore 2023-01-04 21:50:06 +01:00
Sebastian Ratz
e3ce7fe95a Migrate from com.jcraft:jsch 0.1.55 to com.github.mwiede:jsch 0.2.5
com.jcraft:jsch is not actively maintained anymore and lacks support
for modern public key algorithms such as rsa-sha2-256. It only
supports ssh-rsa which is disabled in up-to-date environments.

com.github.mwiede:jsch was created as a drop-in replacement which
works in modern environments [1].

Sources are taken from maven central [2]. The following files were
omitted, because they depend on additional 3rd-party libraries which
we do not have / do not need:

    com/jcraft/jsch/JUnixSocketFactory.java
    com/jcraft/jsch/Log4j2Logger.java
    com/jcraft/jsch/PageantConnector.java
    com/jcraft/jsch/Slf4jLogger.java
    com/jcraft/jsch/SSHAgentConnector.java
    com/jcraft/jsch/bc/*
    com/jcraft/jsch/jgss/GSSContextKrb5.java

Fixes #1812.

[1] https://github.com/mwiede/jsch
[2] https://repo1.maven.org/maven2/com/github/mwiede/jsch/0.2.5/jsch-0.2.5-sources.jar
2023-01-03 15:26:42 +01:00
PhilippC
ce6556496e Merge pull request #2159 from tenzap/003-makefile_java
Makefile: add more source files to deps for java targets
2023-01-03 10:13:48 +01:00
PhilippC
eab5e22c8c Merge pull request #2162 from tenzap/004-gitignore
Fix gitignore with Resource.designer.cs/Resource.Designer.cs
2023-01-03 10:13:06 +01:00
PhilippC
827905e690 Merge pull request #2163 from tenzap/005-nuget.packages
remove src/.nuget/packages.config
2023-01-03 10:12:25 +01:00
PhilippC
7fe407d25e Merge pull request #2164 from tenzap/006-removeUntracked
remove untracked files as per .gitignore
2023-01-03 10:11:49 +01:00
nikoyak
b9d0f56e0f Revert "avoid potential crash in Android 12 while reloading the Database, closes https://github.com/PhilippC/keepass2android/issues/1909"
This reverts commit 40146a42ce,
because the root problem is fixed.
2022-12-20 11:42:31 +03:00
nikoyak
5d06a8b62a fix #1956, #1936, #1909 2022-12-20 11:33:51 +03:00
tenzap
39c1f671d4 remove untracked files as per .gitignore
Somes files that are in .gitignore are still in the repository
This will remove them.

Commands used to do this:

git rm --cached -r . &&
git add . &&
git restore --staged .gitmodul

The jars in src/java/JavaFileStorage/libs are no more used since commit
a63663c30e

If this removes too many files, it means that .gitignore has to be fixed.
To find which rule removes which file run:

git check-ignore -v <file>

Especially, removing .idea/ completely might not be correct depending on ones
objective.
2022-12-19 22:54:50 +01:00
tenzap
4eb8c77304 remove src/.nuget/packages.config
It references a package that is deprecated and which seem to be already replaced
2022-12-19 22:37:28 +01:00
tenzap
c933748077 Fix gitignore with Resource.designer.cs/Resource.Designer.cs
Default value for <AndroidResgenFile> is Resource.designer.cs
https://learn.microsoft.com/en-us/xamarin/android/deploy-test/building-apps/build-properties#androidresgenfile

Two projects were using <AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
All other projects use <AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
Difference is one has uppercase D, the other lowercase d

.gitignore already has a rule for 'Resource.designer.cs' in it.

The two projects that were with Resource.Designer.cs needed either a specific line in gitignore
or weren't actually ignored.

Selected fix here is to rename the file with a lowercase 'd' instead of uppercase.
This permits to remove one line from .gitignore and keep the other file really ignored
2022-12-19 19:42:26 +01:00
tenzap
3347722d6d Makefile: add more source files to deps for java targets 2022-12-19 12:06:36 +01:00
PhilippC
56c35ac573 Merge pull request #2106 from AriehSchneier/mark-clipboard-sensitive
Mark passwords as sensitive when copy to clipboard
2022-12-19 10:29:35 +01:00
Arieh Schneier
68a61dfcd8 Wrap in version check 2022-12-19 19:07:09 +11:00
PhilippC
664c260b99 Merge pull request #2139 from tenzap/master_pass1.6.2
Add function to support 'SamsungPass v1.2.6' (fixes build failure)
2022-12-19 08:46:35 +01:00
PhilippC
a07ce67c95 Update README.md 2022-12-19 08:45:27 +01:00
PhilippC
6cd71b2bf5 Merge pull request #1904 from PhilippC/l10n_master2
New Crowdin updates
2022-12-19 08:40:03 +01:00
PhilippC
eb3001a57d Merge pull request #2158 from tenzap/002-makefile-speedup
Speed-up makefile processing:
2022-12-19 08:13:14 +01:00
PhilippC
cfd44501d4 Merge pull request #2148 from PhilippC/dependabot/nuget/src/keepass2android/Newtonsoft.Json-13.0.1
Bump Newtonsoft.Json from 11.0.1 to 13.0.1 in /src/keepass2android
2022-12-19 08:13:03 +01:00
PhilippC
62f7592e1d New translations strings.xml (Dutch) 2022-12-18 22:13:41 +01:00
PhilippC
5b07f5d726 New translations strings.xml (Dutch) 2022-12-18 22:13:40 +01:00
PhilippC
3c7cdd150a New translations strings.xml (Dutch) 2022-12-18 21:06:16 +01:00
tenzap
3bafb4e022 Speed-up makefile processing:
On Windows, before the start of the java target, processing took ~10sec while less
than a second on linux.

Disable built-in rules to speed-up the Makefile processing.
2022-12-18 20:56:22 +01:00
PhilippC
477bb87322 Merge pull request #2150 from tenzap/001-build_system
Build system improvements (Makefile, github workflow)
2022-12-18 15:46:35 +01:00
PhilippC
6584303cdf New translations strings.xml (Japanese) 2022-12-16 04:00:42 +01:00
PhilippC
cbcb72158e New translations strings.xml (Japanese) 2022-12-15 14:49:31 +01:00
PhilippC
43c8c7d243 New translations strings.xml (Japanese) 2022-12-15 02:43:10 +01:00
PhilippC
9d31559916 New translations strings.xml (Japanese) 2022-12-14 23:46:21 +01:00
tenzap
3483654830 github workflow: make use of caches for nuget, gradle & xamarin
Speeds job by up to ~3-5 minutes
2022-12-13 14:10:00 +01:00
tenzap
a74b162e37 Build.readme.md: small updates
Mention java
Do minimal required install of Mono on linux (instead of mono-complete
2022-12-13 14:09:59 +01:00
tenzap
52dd73fa9f Makefile: improve java & native targets
So that they get rebuilt if any of their files changes
2022-12-13 14:09:29 +01:00
tenzap
548b92ffe9 Makefile: improve nuget restore & clean
In some cases, nuget restore isn't sufficient to restore everything, especially if project.assets.json files
are missing or were removed. So we add a call to MSBuild -t:restore to build it.

Both nuget & msbuild are required because msbuild can only restore packages in 'packages.config' from version
16.5
2022-12-13 14:07:15 +01:00
PhilippC
1df84ae7a3 New translations strings.xml (Japanese) 2022-12-13 06:48:56 +01:00
PhilippC
ba40179c82 New translations strings.xml (Japanese) 2022-12-13 05:01:53 +01:00
PhilippC
1add52a459 New translations strings.xml (Japanese) 2022-12-13 04:02:55 +01:00
PhilippC
2f105d30fd New translations strings.xml (Japanese) 2022-12-12 16:37:03 +01:00
PhilippC
e473940c26 New translations strings.xml (Japanese) 2022-12-12 16:37:02 +01:00
Arieh Schneier
5f836c381f Mark passwords as sensitive when copy to clipboard 2022-12-13 02:28:05 +11:00
PhilippC
7282fdae0b New translations strings.xml (Japanese) 2022-12-12 14:22:34 +01:00
PhilippC
df2a7412d3 New translations strings.xml (Japanese) 2022-12-12 13:24:16 +01:00
PhilippC
ae4cdeedbf New translations strings.xml (Japanese) 2022-12-12 10:57:38 +01:00
PhilippC
fe6115aefb New translations strings.xml (Japanese) 2022-12-12 09:52:08 +01:00
PhilippC
414dfa57b2 New translations strings.xml (Japanese) 2022-12-12 07:08:35 +01:00
PhilippC
193a39390c New translations strings.xml (Japanese) 2022-12-12 06:06:05 +01:00
PhilippC
43455959e2 New translations strings.xml (Japanese) 2022-12-12 03:19:36 +01:00
PhilippC
2d0e142a79 New translations strings.xml (Japanese) 2022-12-12 02:24:01 +01:00
PhilippC
27714c0cdf New translations strings.xml (Japanese) 2022-12-11 15:40:06 +01:00
PhilippC
37db758ee5 New translations strings.xml (Japanese) 2022-12-11 14:41:35 +01:00
dependabot[bot]
faccbc10e5 Bump Newtonsoft.Json from 11.0.1 to 13.0.1 in /src/keepass2android
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 11.0.1 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/11.0.1...13.0.1)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-11 13:29:25 +00:00
PhilippC
748bd493c4 Merge pull request #2134 from tenzap/master_my
Fix build, support build of 'nonet' flavor inside master branch
2022-12-11 14:28:54 +01:00
PhilippC
8616956df1 New translations strings.xml (Japanese) 2022-12-11 06:33:44 +01:00
PhilippC
e0da5470e2 New translations strings.xml (Japanese) 2022-12-11 05:30:02 +01:00
PhilippC
27e237c5e9 New translations strings.xml (Japanese) 2022-12-11 01:05:29 +01:00
PhilippC
22d4ebbea4 New translations strings.xml (Japanese) 2022-12-10 23:58:51 +01:00
tenzap
586b7fc389 remove src/build-scripts/build-xamarin*.bat
Prefered method to build on command line is with make since it is provided in NDK anyway
2022-12-10 20:44:55 +01:00
tenzap
63f6c1e5cf relocate build.readme.md and mention it in README.md 2022-12-10 20:44:55 +01:00
tenzap
2c128794ac Update build scripts for Windows, linux, support macos & 'build readme'
Remove the older shell scripts, they are superseede by a Makefile
which is more efficient.

BTW update the build README
2022-12-10 20:44:55 +01:00
tenzap
cf0e8a1926 [nonet migration] adapt Makefile and github worklow, update build doc
This will permit to build on the github workflow both the 'net' and 'nonet'
variant
2022-12-10 20:44:55 +01:00
tenzap
06bd468658 [nonet migration] permit to build nonet on master branch through NoNet Flavor
To select the NoNet Flavor, call MSBuild with the 'Flavor' Parameter.
For example MSBuild.exe ....... -p:Flavor=NoNet

For the "net" build, flavor value is "Net"

See: https://learn.microsoft.com/en-us/visualstudio/msbuild/how-to-build-the-same-source-files-with-different-options?view=vs-2019
2022-12-10 20:44:55 +01:00
tenzap
7b6ff73fb9 Add Makefile to be able to build from command line 2022-12-10 20:44:51 +01:00
PhilippC
54231b23f3 New translations strings.xml (Japanese) 2022-12-10 15:50:08 +01:00
PhilippC
77ee958587 New translations strings.xml (Japanese) 2022-12-10 14:46:54 +01:00
PhilippC
69137b2212 New translations strings.xml (Japanese) 2022-12-10 11:45:56 +01:00
PhilippC
208f080bd2 New translations strings.xml (Japanese) 2022-12-10 10:41:40 +01:00
PhilippC
34b738e2fe New translations strings.xml (Japanese) 2022-12-10 03:32:42 +01:00
PhilippC
1664171794 New translations strings.xml (Japanese) 2022-12-10 01:20:54 +01:00
PhilippC
5690ff6c99 New translations strings.xml (Japanese) 2022-12-09 07:25:47 +01:00
PhilippC
e7a43ab7a6 New translations strings.xml (Japanese) 2022-12-09 04:32:52 +01:00
tenzap
96fcc79c93 Autoselect correct AndroidManifest in csproj
This avoids use of an external .bat script and selects the correct manifest based
on the configuration to build for (Debug, Release...)
2022-12-08 12:29:16 +01:00
tenzap
b99272e850 add github actions workflow (build with macos, windows, linux) 2022-12-08 12:29:15 +01:00
PhilippC
b04aba7644 New translations strings.xml (Japanese) 2022-12-08 01:42:55 +01:00
PhilippC
cef13eafa0 New translations strings.xml (Japanese) 2022-12-08 00:16:52 +01:00
PhilippC
37befe2c46 New translations strings.xml (Finnish) 2022-12-07 14:32:24 +01:00
PhilippC
dd84af3bfc New translations strings.xml (Finnish) 2022-12-07 14:32:22 +01:00
PhilippC
65a4d64925 New translations strings.xml (Japanese) 2022-12-07 14:32:21 +01:00
PhilippC
0b2d62917a New translations strings.xml (Japanese) 2022-12-07 11:06:22 +01:00
tenzap
9fc7dca138 [nonet migration] don't use GoogleDriveAppDataFileStorage when building nonet
src/keepass2android/app/App.cs: don't use GoogleDriveAppDataFileStorage when building nonet
2022-12-07 04:12:12 +01:00
tenzap
b50c7e6cf6 [nonet migration] update 'sr' translations from nonet branch 2022-12-07 04:12:12 +01:00
tenzap
944bce14b8 [Build Fix] set AndroidClassParser build property to class-parse
Build reported these warnings:

warning XA4231: The Android class parser value 'jar2xml' is deprecated and will be removed in a future version of Xamarin.Android. Update the project properties to use 'class-parse'

In the code <AndroidClassParser> is not specified, so by default it uses
'jar2xml'. So set its value to 'class-parse'.

See:
https://github.com/xamarin/xamarin-android/blob/main/Documentation/guides/messages/xa4231.md
https://github.com/xamarin/xamarin-android/issues/1319

Moving to class-parse instead of jar2xml also fixes issues when building with Java 11 & Xamarin < 12.2
Because of:
- 94e21c7aaa
If the change wasn't done, we would have to stick with JDK-8
2022-12-07 04:12:12 +01:00
tenzap
269952ee67 [Build Fix] fix location of 'Xamarin.Android.Bindings.targets' to 'Xamarin\Android\'
Instead of 'Novell\'

In kp2akeytransform.csproj

Novell\Xamarin.Android.Bindings.targets is not anymore at this place. It is now in
Xamarin\Android\Xamarin.Android.Bindings.targets

Most subprojects already use that path, but this wasn't changed here
2022-12-07 04:12:12 +01:00
tenzap
d1ccd16987 Various fixes to the build scripts (*.bat & *.sh)
build.readme.md: mention how to build the native libs when on windows

Fix target name: rename target to keepass2android-app

*.BAT build-scripts: make script fail when a command fails
  If a command was failing, the script continued to run and didn't fail.
  The build errors could be hidden. This will make them apparent

build-java.bat:
- prefix call to gradlew.bat with 'call'
  Otherwise, the batch file stops at the first gradlew call.
- don't build PluginQR as its output is not used, and the build fails with
  newer Android SDK/NDK

build-xamarin.bat:
- use VS2019 path, download NuGet dependencies
- Call vcvarsall.bat only if not yet done
- build also APK
- Tested with VS Community 2019
- When calling it multiple times, the PATH env var contains duplicate values
  and in the end will be too long, leading to vcvarsall.bat failing,
  and hence build-xamarin.bat too

build-java.sh:
- don't unset ANDROID_NDK_HOME & ANDROID_NDK
  Fixes build issues on github actions
- add missing KP2AKdbLibrary
- add executable bit to src/java/KP2AKdbLibrary/gradlew
- support build with msbuild & force use of xabuild when on linux
- don't build PluginQR as its output is not used, and the build fails with
  newer Android SDK/NDK

build-xamarin.sh:
- put the config (Debug or Release) in a variable

build-apk.sh:
- fix project name to keepass2android-app.csproj
- support build with msbuild & force use of xabuild when on linux
  Needed for github actions, and will also support building on macos with msbuild
- put the config (Debug or Release) in a variable
- Add missing /p:Configuration= /p:Platform=AnyCPU which is needed when building
  nonet on macos (because nonet uses "Release")

remove PluginQR
2022-12-07 04:11:24 +01:00
tenzap
78a7c79376 [Build Fix] KP2AKdbLibrary; upgrade AGP to 4.0.1 & gradle version to 6.1.1
Fixes:
> No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi

See https://stackoverflow.com/a/69293151
2022-12-06 23:36:02 +01:00
tenzap
41c66ecb28 [Build Fix] KP2ASoftkeyboard_AS/build.gradle: upgrade AGP to 4.0.1 & gradle to 6.1.1
Fixes:
> No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi

See https://stackoverflow.com/a/69293151
2022-12-06 23:35:58 +01:00
tenzap
b2f21094b5 remove untracked Kp2aBusinessLogic/Resources/Resource.Designer.cs
Since it is in gitignore
2022-12-06 23:00:52 +01:00
tenzap
32666a0d86 Add function to support 'SamsungPass v1.2.6'
This commit has to be merged with the commit in SamsungPass submodule that
updates SamsungPass to v1.2.6.

Commit message below:

With 1.1.3 build fails as soon as we use Xamarin.Android >= 12.1 (on all
platforms) [1].

Actually, this is due the version of r8.jar shipped by Xamarin which now fails.
Failure is actually normal [2], as expected, while in the past it didn't fail
(problem not catched in older versions).

So the bug is actually in SamsungPass.

This PR has to be taken with caution:
- it was just to check that it would build with a newer version of SamsungPass
- The new functions that are in the jar haven't been ported except those
  mandatory to build
- Content is unsure and part of the code is marked as TODO
- jar was taken from a location whose trustability was not checked [3]

API for 1.2.6 can be found at [4]

[1] https://github.com/xamarin/xamarin-android/issues/7607
[2] https://issuetracker.google.com/issues/192128533
[3] https://github.com/antonjlin/Shack/blob/master/app/libs/pass-v1.2.6.jar
[4] https://web.archive.org/web/20181004165435/http://img-developer.samsung.com/onlinedocs/sms/pass/index.html

Error was:
```
Error in obj/Debug/lp/12/jl/__reference__pass-v1.1.3.jar:com/samsung/android/sdk/pass/SpassFingerprint.class:

java.lang.ArrayIndexOutOfBoundsException: Index 4 out of bounds for length 4

"/tmp/keepass2android/src/KeePass.sln" (keepass2android-app target) (1) ->
"/tmp/keepass2android/src/keepass2android/keepass2android-app.csproj" (default target) (2) ->
(_CompileToDalvik target) ->
  /tmp/keepass2android/l/xamarin.android-oss/bin/Release/lib/xamarin.android/xbuild/Xamarin/Android/Xamarin.Android.D8.targets(79,5): error : java.lang.ArrayIndexOutOfBoundsException :  Index 4 out of bounds for length 4 [/tmp/keepass2android/src/keepass2android/keepass2android-app.csproj]
```
2022-12-05 23:25:32 +01:00
PhilippC
61afc4ed58 New translations strings.xml (Japanese) 2022-12-05 12:25:13 +01:00
PhilippC
9904946ce2 New translations strings.xml (Japanese) 2022-12-05 01:18:16 +01:00
PhilippC
78f76054ad New translations strings.xml (Japanese) 2022-12-05 00:18:52 +01:00
PhilippC
6e71b3fb66 New translations strings.xml (Japanese) 2022-12-04 15:59:42 +01:00
PhilippC
37a8b51a5f New translations strings.xml (Japanese) 2022-12-04 13:23:24 +01:00
PhilippC
02a43799a7 New translations strings.xml (Japanese) 2022-11-22 15:12:32 +01:00
PhilippC
a5994ebe63 New translations strings.xml (Japanese) 2022-11-22 12:22:20 +01:00
PhilippC
7319652db7 New translations strings.xml (Japanese) 2022-11-21 00:29:02 +01:00
PhilippC
35f91fd842 New translations strings.xml (Japanese) 2022-11-19 11:29:21 +01:00
PhilippC
801fd86db5 New translations strings.xml (Japanese) 2022-11-19 10:02:01 +01:00
PhilippC
afb376a3bc New translations strings.xml (Japanese) 2022-11-19 09:05:36 +01:00
PhilippC
3baaef19d4 New translations strings.xml (Japanese) 2022-11-19 06:55:16 +01:00
PhilippC
2e0e0c1d86 New translations strings.xml (Japanese) 2022-11-19 05:51:29 +01:00
PhilippC
c091c5aeda New translations strings.xml (Japanese) 2022-11-19 05:51:28 +01:00
PhilippC
74dd3b67e2 New translations strings.xml (Japanese) 2022-11-19 04:46:05 +01:00
PhilippC
2b3d090fd6 New translations strings.xml (Japanese) 2022-11-18 15:25:48 +01:00
PhilippC
d875f3fb2f New translations strings.xml (Japanese) 2022-11-18 14:27:22 +01:00
PhilippC
92f90eddc7 New translations strings.xml (Japanese) 2022-11-18 10:17:37 +01:00
PhilippC
3feae3b211 New translations strings.xml (Japanese) 2022-11-18 07:12:21 +01:00
PhilippC
03855a604a New translations strings.xml (Japanese) 2022-11-12 05:21:24 +01:00
PhilippC
b88000a5b4 New translations strings.xml (Japanese) 2022-11-12 03:15:17 +01:00
PhilippC
136ba783c8 New translations strings.xml (Japanese) 2022-11-10 17:46:25 +01:00
PhilippC
df6fb03245 New translations strings.xml (Japanese) 2022-11-10 14:50:51 +01:00
PhilippC
9509f5ae52 New translations strings.xml (Japanese) 2022-11-10 13:51:10 +01:00
PhilippC
c69177be6f New translations strings.xml (Hungarian) 2022-09-28 23:09:13 +02:00
PhilippC
daaa7d4016 New translations strings.xml (Hungarian) 2022-09-28 19:55:36 +02:00
PhilippC
d6914456dc New translations strings.xml (German) 2022-09-10 10:43:51 +02:00
PhilippC
4c3efb6b52 New translations strings.xml (German) 2022-09-10 09:21:39 +02:00
PhilippC
f6193103e2 New translations strings.xml (Korean) 2022-08-22 05:34:50 +02:00
PhilippC
68a78c32e3 New translations strings.xml (Korean) 2022-08-22 03:54:30 +02:00
PhilippC
241ea648ee New translations strings.xml (Persian) 2022-08-18 01:43:33 +02:00
PhilippC
a7a4e45c8b New translations strings.xml (Persian) 2022-08-18 01:43:32 +02:00
PhilippC
0b17c5dcda New translations strings.xml (Persian) 2022-08-18 00:42:44 +02:00
PhilippC
60b79a9b8a New translations strings.xml (Persian) 2022-08-17 18:28:30 +02:00
PhilippC
9dfd8bbadf New translations strings.xml (Persian) 2022-08-17 17:13:32 +02:00
PhilippC
7bfd80a122 New translations strings.xml (Catalan) 2022-08-14 19:01:21 +02:00
PhilippC
8b6c6707c7 New translations strings.xml (Persian) 2022-08-14 16:41:11 +02:00
PhilippC
d1ee19243f New translations strings.xml (Persian) 2022-08-14 16:41:10 +02:00
PhilippC
3aca98d1e2 New translations strings.xml (Persian) 2022-08-14 15:37:17 +02:00
PhilippC
b76c6063b0 New translations strings.xml (Persian) 2022-08-14 12:29:55 +02:00
PhilippC
584b4321ca New translations strings.xml (Persian) 2022-08-14 12:29:54 +02:00
PhilippC
b499d12768 New translations strings.xml (Persian) 2022-08-14 11:31:23 +02:00
PhilippC
246f6f8132 New translations strings.xml (Persian) 2022-08-13 02:31:02 +02:00
PhilippC
e07a350159 New translations strings.xml (Persian) 2022-08-13 01:02:26 +02:00
PhilippC
ac05f5c93c New translations strings.xml (Persian) 2022-08-12 23:57:12 +02:00
PhilippC
41cec5ffc3 New translations strings.xml (Persian) 2022-08-12 13:47:15 +02:00
PhilippC
f5ca01c529 New translations strings.xml (Persian) 2022-08-12 12:40:09 +02:00
PhilippC
6b115616b7 New translations strings.xml (Italian) 2022-08-12 12:39:16 +02:00
PhilippC
611efe05ca New translations strings.xml (Ukrainian) 2022-07-29 13:47:19 +02:00
PhilippC
9e3d30e81e New translations strings.xml (Ukrainian) 2022-07-29 13:47:17 +02:00
PhilippC
ba20fd79e0 New translations strings.xml (Ukrainian) 2022-07-29 13:47:16 +02:00
PhilippC
37e6ea89b7 New translations strings.xml (Persian) 2022-07-18 00:11:17 +02:00
PhilippC
a8457067b3 New translations strings.xml (Persian) 2022-07-16 18:12:17 +02:00
PhilippC
6e82ca9ac2 New translations strings.xml (Portuguese) 2022-06-11 19:20:25 +02:00
PhilippC
57a6e4f175 New translations strings.xml (Portuguese) 2022-06-11 18:19:43 +02:00
PhilippC
7621ae0c98 New translations strings.xml (Danish) 2022-06-06 20:33:11 +02:00
PhilippC
70b87adf62 New translations strings.xml (Turkish) 2022-06-06 11:16:12 +02:00
PhilippC
55e6bd42b1 New translations strings.xml (Turkish) 2022-06-06 10:07:28 +02:00
PhilippC
b5711591d5 New translations strings.xml (Turkish) 2022-06-06 05:24:50 +02:00
PhilippC
f29463ef6d New translations strings.xml (Turkish) 2022-06-06 05:24:49 +02:00
PhilippC
18b623548a New translations strings.xml (Turkish) 2022-06-06 04:20:06 +02:00
PhilippC
6c394c22da New translations strings.xml (Swedish) 2022-06-02 18:36:04 +02:00
PhilippC
738f9e7547 New translations strings.xml (Swedish) 2022-06-02 17:34:12 +02:00
PhilippC
d885fddfe6 New translations strings.xml (Greek) 2022-05-05 15:18:42 +02:00
PhilippC
95a1713c8a New translations strings.xml (Italian) 2022-05-04 15:17:15 +02:00
PhilippC
6661ffb580 New translations strings.xml (Italian) 2022-05-04 14:06:22 +02:00
PhilippC
99b7a6ccf7 New translations strings.xml (German) 2022-05-02 21:40:33 +02:00
PhilippC
c63865f043 New translations strings.xml (Norwegian Bokmal) 2022-04-19 13:01:50 +02:00
PhilippC
a00312df84 New translations strings.xml (Hungarian) 2022-04-17 21:10:59 +02:00
PhilippC
9ec3374240 New translations strings.xml (Russian) 2022-04-14 20:22:37 +02:00
PhilippC
81c8e17333 New translations strings.xml (Russian) 2022-04-14 20:22:36 +02:00
PhilippC
cf576dcbfd New translations strings.xml (Russian) 2022-04-14 19:24:05 +02:00
PhilippC
3cbaa09769 New translations strings.xml (Romanian) 2022-04-14 15:30:06 +02:00
PhilippC
89f795e953 New translations strings.xml (Romanian) 2022-04-14 14:34:55 +02:00
PhilippC
86c9ab40cf New translations strings.xml (Spanish) 2022-04-05 20:12:11 +02:00
PhilippC
681a7d17d5 New translations strings.xml (Chinese Traditional) 2022-04-01 15:37:31 +02:00
PhilippC
5a1d0ea51b New translations strings.xml (Ukrainian) 2022-03-27 03:08:55 +02:00
PhilippC
9aa3c02907 New translations strings.xml (Ukrainian) 2022-03-27 01:09:01 +01:00
PhilippC
0cfdfed476 New translations strings.xml (Spanish) 2022-03-24 11:31:17 +01:00
PhilippC
a205614d65 New translations strings.xml (Russian) 2022-03-22 12:58:32 +01:00
PhilippC
db27bcbbe7 New translations strings.xml (Russian) 2022-03-22 11:22:43 +01:00
PhilippC
943430cfce New translations strings.xml (Ukrainian) 2022-03-15 15:12:20 +01:00
PhilippC
6c55d2aec6 New translations strings.xml (Slovak) 2022-03-08 19:49:56 +01:00
PhilippC
7d3ecaca7e New translations strings.xml (Dutch) 2022-03-04 11:51:05 +01:00
PhilippC
f2e8de6938 New translations strings.xml (Dutch) 2022-03-04 10:45:09 +01:00
PhilippC
26090e87b3 New translations strings.xml (Czech) 2022-03-03 13:19:41 +01:00
PhilippC
af82d9fec1 New translations strings.xml (Czech) 2022-03-03 12:18:04 +01:00
PhilippC
86defbb144 New translations strings.xml (Greek) 2022-02-28 18:22:23 +01:00
PhilippC
d0a5557807 New translations strings.xml (Greek) 2022-02-28 17:25:11 +01:00
PhilippC
74788c77e0 New translations strings.xml (Danish) 2022-02-20 01:28:52 +01:00
PhilippC
f77bdc4b9c New translations strings.xml (Danish) 2022-02-20 00:29:45 +01:00
PhilippC
7f659178c5 New translations strings.xml (French) 2022-02-13 10:06:51 +01:00
PhilippC
b67e8e6c85 New translations strings.xml (Greek) 2022-02-11 17:21:34 +01:00
PhilippC
df4e7c0774 New translations strings.xml (Greek) 2022-02-11 16:15:28 +01:00
PhilippC
8d5882cb81 New translations strings.xml (Polish) 2022-02-09 16:14:37 +01:00
PhilippC
d540fda5b0 New translations strings.xml (Slovenian) 2022-02-07 09:39:12 +01:00
PhilippC
d39957b8ca New translations strings.xml (Chinese Simplified) 2022-02-06 09:58:15 +01:00
PhilippC
7160bcc33f New translations strings.xml (Chinese Simplified) 2022-02-06 08:57:30 +01:00
PhilippC
36d8a0aa8d New translations strings.xml (Portuguese, Brazilian) 2022-02-05 23:09:46 +01:00
PhilippC
0dec97fad1 New translations strings.xml (Italian) 2022-02-05 19:00:32 +01:00
PhilippC
9da08e94ac New translations strings.xml (Italian) 2022-02-05 18:01:15 +01:00
PhilippC
62b3fe61b6 New translations strings.xml (Italian) 2022-02-05 16:59:40 +01:00
Philipp Crocoll
50287025a0 manifest and changelog for 1.09d-r0 2022-02-05 16:13:53 +01:00
Philipp Crocoll
ed234c898e can now view entry history and remove/restore previous versions. closes #298 2022-02-05 15:53:08 +01:00
PhilippC
f2775fe0f0 New translations strings.xml (Bulgarian) 2022-02-04 09:21:37 +01:00
PhilippC
135168c1bb New translations strings.xml (Bulgarian) 2022-02-04 08:17:37 +01:00
Philipp Crocoll
35f74f5ea4 add support for Google Drive with restricted scope, closes #622 2022-02-02 03:50:51 +01:00
Philipp Crocoll
26f0ab6661 implement support for MEGA, closes #99 2022-02-02 02:54:35 +01:00
PhilippC
6213c753fe New translations strings.xml (Polish) 2022-01-25 12:12:52 +01:00
PhilippC
3f1b23dc82 New translations strings.xml (Slovenian) 2022-01-24 13:52:51 +01:00
PhilippC
dda76323c6 New translations strings.xml (Belarusian) 2022-01-24 12:52:26 +01:00
PhilippC
c41128401d New translations strings.xml (Belarusian) 2022-01-24 11:52:59 +01:00
PhilippC
9a5fe131cd New translations strings.xml (Belarusian) 2022-01-24 10:30:29 +01:00
PhilippC
e45fe2f279 New translations strings.xml (Belarusian) 2022-01-24 09:35:11 +01:00
PhilippC
4698a948cc New translations strings.xml (French) 2022-01-23 11:18:50 +01:00
Philipp Crocoll
3648213be2 Update AndroidX.Biometric library, an attempt to see if this helps regarding https://github.com/PhilippC/keepass2android/issues/1914 2022-01-20 20:02:16 +01:00
Philipp Crocoll
40146a42ce avoid potential crash in Android 12 while reloading the Database, closes https://github.com/PhilippC/keepass2android/issues/1909 2022-01-20 20:00:37 +01:00
PhilippC
35501c4c48 New translations strings.xml (Slovak) 2022-01-20 14:30:13 +01:00
PhilippC
dc28e5708d New translations strings.xml (Danish) 2022-01-20 11:40:27 +01:00
PhilippC
d4f3f69129 New translations strings.xml (Danish) 2022-01-20 10:42:12 +01:00
PhilippC
936bc7ed72 New translations strings.xml (Chinese Simplified) 2022-01-18 04:00:47 +01:00
PhilippC
8a59fbdb41 New translations strings.xml (Portuguese, Brazilian) 2022-01-17 14:59:40 +01:00
Philipp Crocoll
2c93fd1542 Add option to hide the "Disable autofill for XY" prompt, closes https://github.com/PhilippC/keepass2android/issues/1843 2022-01-17 10:05:16 +01:00
Philipp Crocoll
2981497da9 start adding option for "no disable autofill" 2022-01-17 09:49:44 +01:00
Philipp Crocoll
6745e0486c unmask single field when using the toggle menu option in the popup menu, closes https://github.com/PhilippC/keepass2android/issues/71; add option for specifying the default visibility of the TOTP field, closes https://github.com/PhilippC/keepass2android/issues/1873 2022-01-17 09:46:47 +01:00
PhilippC
76c6f56d73 New translations strings.xml (Portuguese, Brazilian) 2022-01-16 12:18:31 +01:00
PhilippC
21b0c63422 New translations strings.xml (Chinese Simplified) 2022-01-16 06:08:25 +01:00
Philipp Crocoll
093ebb424e Merge branch 'master' of https://github.com/PhilippC/keepass2android 2022-01-15 20:10:53 +01:00
Philipp Crocoll
c344b0f62a add button to scan QR code for TOTP setup in the "setup TOTP" dialog. Closes https://github.com/PhilippC/keepass2android/issues/1575 2022-01-15 20:10:34 +01:00
PhilippC
b447d2e5ad New translations strings.xml (Russian) 2022-01-15 20:01:52 +01:00
Philipp Crocoll
2b85ed473c make sure master password is no longer in unmasked mode when using fingerprint, closes https://github.com/PhilippC/keepass2android/issues/1134 2022-01-15 16:28:00 +01:00
Philipp Crocoll
d536b38acc allow to create a special entry in the database with the QuickUnlock code as password, closes https://github.com/PhilippC/keepass2android/issues/331 2022-01-15 16:17:35 +01:00
Philipp Crocoll
b4a82511ff Add option to always merge on conflict, closes https://github.com/PhilippC/keepass2android/issues/1218 2022-01-15 15:55:34 +01:00
PhilippC
35a84adde3 Merge pull request #1902 from whalehub/patch-1
Fix homepage URL
2022-01-15 14:20:21 +01:00
PhilippC
f1de28e6c1 New translations strings.xml (Italian) 2022-01-14 19:04:49 +01:00
PhilippC
2336255763 New translations strings.xml (Italian) 2022-01-14 19:04:48 +01:00
PhilippC
a3022963c0 New translations strings.xml (Italian) 2022-01-14 17:53:44 +01:00
PhilippC
396a035cfd New translations strings.xml (Slovenian) 2022-01-13 07:05:18 +01:00
PhilippC
2001fd26f8 New translations strings.xml (Chinese Simplified) 2022-01-13 04:39:02 +01:00
PhilippC
9daf2d0448 New translations strings.xml (Portuguese, Brazilian) 2022-01-12 19:12:30 +01:00
PhilippC
b2d14ff400 New translations strings.xml (Chinese Simplified) 2022-01-12 18:08:57 +01:00
Philipp Crocoll
675fd5b735 release 1.09c-r0. This solves the problem with Google Drive API blocked, closes #1833, closes #1859 and closes #1862 2022-01-12 17:30:04 +01:00
PhilippC
14c7663167 Merge pull request #1851 from PhilippC/l10n_master2
New Crowdin updates
2022-01-12 16:58:01 +01:00
PhilippC
788a04aceb New translations strings.xml (Slovenian) 2022-01-12 08:37:49 +01:00
PhilippC
99c70f96d8 New translations strings.xml (Russian) 2022-01-12 08:37:45 +01:00
PhilippC
9f729e8c36 New translations strings.xml (Polish) 2022-01-12 08:37:41 +01:00
PhilippC
35f1a351ba New translations strings.xml (Portuguese, Brazilian) 2022-01-12 08:37:32 +01:00
PhilippC
5f59de2fba New translations strings.xml (Chinese Simplified) 2022-01-12 08:37:23 +01:00
PhilippC
95b7c59606 New translations strings.xml (Ukrainian) 2022-01-12 08:37:21 +01:00
PhilippC
7962b5c8ea New translations strings.xml (Japanese) 2022-01-12 08:37:16 +01:00
PhilippC
d2818a35c6 New translations strings.xml (Slovak) 2022-01-12 08:37:07 +01:00
PhilippC
44183178c6 New translations strings.xml (Spanish) 2022-01-12 08:37:04 +01:00
PhilippC
2ebb35b631 New translations strings.xml (Spanish) 2022-01-12 08:37:03 +01:00
PhilippC
173a5fedf0 New translations strings.xml (French) 2022-01-12 08:37:00 +01:00
PhilippC
00c0bbd942 New translations strings.xml (Romanian) 2022-01-12 08:36:58 +01:00
PhilippC
1dfb38207b New translations strings.xml (Danish) 2022-01-12 08:36:57 +01:00
PhilippC
df0d087646 New translations strings.xml (Italian) 2022-01-12 08:36:53 +01:00
PhilippC
8f84e292b2 New translations strings.xml (Greek) 2022-01-12 08:36:43 +01:00
PhilippC
45bf4247c1 New translations strings.xml (German) 2022-01-12 08:36:40 +01:00
Philipp Crocoll
daecd42d8e Merge branch 'master' of https://github.com/PhilippC/keepass2android 2022-01-12 08:31:38 +01:00
Philipp Crocoll
952aaa76ff update file storage selection to use icon from https://developers.google.com/drive/api/v3/branding 2022-01-12 08:28:09 +01:00
Philipp Crocoll
fe57c05579 prototype implementation using the "Sign in with Google" button 2022-01-12 08:11:18 +01:00
Philipp Crocoll
309fd9f4d1 GoogleDriveFileStorage: update libraries and reimplement authentication workflow to show consent screen (verification by Google now passed); migrate Java filestorage and filechooser projects to AndroidX; disable "app is blocked" message; see #1833 2022-01-12 08:07:28 +01:00
Aaron
9af0d74ba4 Fix homepage URL
Signed-off-by: Aaron <admin@datahoarder.dev>
2022-01-08 05:45:32 +01:00
PhilippC
c1292b585f Merge pull request #1888 from mcpower/xamarin-ci-build-link
Fix Xamarin.Android CI build link
2022-01-06 15:16:57 +01:00
PhilippC
87a6bbe0fd Update README.md 2022-01-06 11:16:04 +01:00
PhilippC
b807431053 Update README.md 2022-01-06 11:15:47 +01:00
Philipp Crocoll
1442af3148 add Belarusian translation to close #1896 2022-01-05 12:47:30 +01:00
PhilippC
eb92645ed0 Merge pull request #1897 from IanSmith123/patch-1
chore: typo in Chinese  version ChangeLog  v1.07
2022-01-05 12:31:54 +01:00
Les1ie
714be0f6ae chore: fix Chinese version ChangeLog v1.07 typo 2022-01-04 19:23:33 +08:00
PhilippC
48d080bcda New translations strings.xml (Danish) 2022-01-02 20:39:02 +01:00
PhilippC
531cb51fac New translations strings.xml (Slovak) 2022-01-02 13:27:30 +01:00
mcpower
e8bc949230 Fix Xamarin.Android CI build link 2022-01-02 13:03:47 +11:00
PhilippC
d99d43dde7 New translations strings.xml (Croatian) 2021-12-30 09:23:34 +01:00
PhilippC
b64c304a92 New translations strings.xml (Croatian) 2021-12-30 08:21:45 +01:00
PhilippC
d392b1c434 New translations strings.xml (Croatian) 2021-12-29 15:51:28 +01:00
PhilippC
1f9b5df44b New translations strings.xml (Croatian) 2021-12-28 17:34:46 +01:00
PhilippC
edd4067efc New translations strings.xml (Croatian) 2021-12-28 17:34:46 +01:00
PhilippC
1a23b8363a New translations strings.xml (Croatian) 2021-12-28 17:34:44 +01:00
PhilippC
04df628fe8 New translations strings.xml (German) 2021-12-28 16:20:53 +01:00
PhilippC
2bb5a18f27 New translations strings.xml (Hungarian) 2021-12-26 15:48:49 +01:00
PhilippC
6cc7c3b1fb New translations strings.xml (Hungarian) 2021-12-26 14:41:24 +01:00
PhilippC
21c1b1e913 New translations strings.xml (Hungarian) 2021-12-24 13:22:51 +01:00
PhilippC
a1cdba5baa New translations strings.xml (Chinese Traditional) 2021-12-23 17:35:28 +01:00
PhilippC
3b14ffb331 New translations strings.xml (Chinese Traditional) 2021-12-23 16:36:14 +01:00
PhilippC
56a0c6325d New translations strings.xml (Spanish) 2021-12-17 13:25:21 +01:00
PhilippC
69c0485fe8 New translations strings.xml (Korean) 2021-12-17 09:23:47 +01:00
PhilippC
21205f85aa New translations strings.xml (Spanish) 2021-12-17 08:16:43 +01:00
PhilippC
9d10d75d54 New translations strings.xml (Chinese Traditional) 2021-12-16 17:06:37 +01:00
PhilippC
2757f657c5 New translations strings.xml (Chinese Traditional) 2021-12-16 16:06:26 +01:00
PhilippC
1c4040707e New translations strings.xml (Romanian) 2021-12-13 15:11:59 +01:00
PhilippC
ca4a29a991 New translations strings.xml (Romanian) 2021-12-13 14:13:56 +01:00
PhilippC
9120da776c New translations strings.xml (Romanian) 2021-12-13 14:13:55 +01:00
PhilippC
24b2f1fca5 New translations strings.xml (Italian) 2021-12-13 13:18:04 +01:00
PhilippC
f4f0bb166a New translations strings.xml (Italian) 2021-12-13 12:21:02 +01:00
PhilippC
27c8d78ac9 New translations strings.xml (Italian) 2021-12-13 11:09:44 +01:00
PhilippC
fe32105491 New translations strings.xml (Ukrainian) 2021-12-08 01:13:55 +01:00
PhilippC
ad7ef30f68 New translations strings.xml (French) 2021-12-05 19:51:53 +01:00
PhilippC
c1df53e986 New translations strings.xml (French) 2021-12-05 18:51:26 +01:00
PhilippC
36b8f52929 New translations strings.xml (Russian) 2021-12-05 03:19:40 +01:00
PhilippC
f84ab77a9a New translations strings.xml (Russian) 2021-12-05 02:20:51 +01:00
PhilippC
1ec842c274 New translations strings.xml (Arabic) 2021-12-02 16:50:21 +01:00
PhilippC
e06849cd24 New translations strings.xml (Finnish) 2021-11-29 14:19:28 +01:00
PhilippC
3f31533909 New translations strings.xml (Finnish) 2021-11-29 13:20:11 +01:00
PhilippC
681d120e8b New translations strings.xml (Polish) 2021-11-26 19:33:42 +01:00
PhilippC
74ae266fed New translations strings.xml (Polish) 2021-11-26 18:36:29 +01:00
PhilippC
028f16af06 New translations strings.xml (Greek) 2021-11-24 16:05:30 +01:00
PhilippC
fa7980f379 New translations strings.xml (Greek) 2021-11-24 15:05:17 +01:00
PhilippC
4ddc173757 New translations strings.xml (Chinese Simplified) 2021-11-23 04:18:51 +01:00
PhilippC
8bc93d7f23 New translations strings.xml (Portuguese, Brazilian) 2021-11-22 15:04:59 +01:00
PhilippC
de72df99ea New translations strings.xml (Slovenian) 2021-11-22 13:15:06 +01:00
2274 changed files with 58484 additions and 40554 deletions

53
.github/ISSUE_TEMPLATE/bug_report.yaml vendored Normal file
View File

@@ -0,0 +1,53 @@
name: Bug Report
description: Report a bug.
title: "[BUG] "
labels: bug
body:
- type: markdown
attributes:
value: |
Please check out the [FAQ section](https://github.com/PhilippC/keepass2android/blob/master/docs/Documentation.md#faq) and [search for open issues](https://github.com/PhilippC/keepass2android/issues?q=is%3Aopen+is%3Aissue+label%3Abug) first.
- type: checkboxes
attributes:
label: Checks
options:
- label: I have read the FAQ section, searched the open issues, and still think this is a new bug.
required: true
- type: textarea
id: bug
attributes:
label: "Describe the bug you encountered:"
validations:
required: true
- type: textarea
id: expected
attributes:
label: "Describe what you expected to happen:"
- type: markdown
attributes:
value: |
Please follow these steps to find your app version:
1. Click the **⁝** icon in the top right corner
2. Select **Settings**
3. Click **About**
4. Find the "Version" information and provide it below
- type: input
id: version
attributes:
label: "What version of Keepass2Android are you using?"
validations:
required: true
- type: markdown
attributes:
value: |
Please follow these steps to find your Android version:
1. Open your device's **Settings** app
2. Scroll down and select **About phone** or **About tablet**
3. Find the **Android version** section and provide it below
- type: input
id: os
attributes:
label: "Which version of Android are you on?"
validations:
required: true

View File

@@ -0,0 +1,8 @@
---
name: Feature Request
about: Suggest an idea for this project.
title: '[FEAT] '
labels: enhancement
assignees: ''
---

16
.github/ISSUE_TEMPLATE/question.md vendored Normal file
View File

@@ -0,0 +1,16 @@
---
name: Question
about: Ask a question about 'Keepass2Android'.
title: '[QUESTION] '
labels: question
assignees: ''
---
**What version of Keepass2Android are you using?**
Please follow these steps to find your app version:
1. Click the **⁝** icon in the top right corner
2. Select **Settings**
3. Click **About**
4. Find the "Version" information and provide it here:

363
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,363 @@
name: Build keepass2android app
on:
push:
branches:
- master
pull_request:
jobs:
# macos:
# Disabled. Does not work, maybe due to nuget version, see https://github.com/PhilippC/keepass2android/actions/runs/4297640426/jobs/7490853348
# should work again when the Project solution is converted to sdk style .csproj files.
# runs-on: macos-12
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: true
# - name: Setup Gradle
# uses: gradle/actions/setup-gradle@v3
# - name: Cache NuGet packages
# uses: actions/cache@v4
# with:
# path: ~/.nuget/packages
# key: ${{ runner.os }}-nuget-${{ hashFiles('src/**/*.csproj', 'src/**/packages.config') }}
# restore-keys: |
# ${{ runner.os }}-nuget-
# # As per https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md#visual-studio-for-mac
# - name: Switch to Visual Studio 2019
# if: ${{ false }} # Not needed. We stay with the default 'Visual Studio 2022' of macos-12 runner.
# run: |
# mv "/Applications/Visual Studio.app" "/Applications/Visual Studio 2022.app"
# mv "/Applications/Visual Studio 2019.app" "/Applications/Visual Studio.app"
# # As of 2022-12-02, keepass2android doesn't build with Xamarin >= 12.1 because there is some issue with SamsungPass. Removing SamsungPass would make the build succeed.
# - name: Set default Xamarin SDK versions
# run: |
# # If using the github runner 'macos-12'
# #$VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --android=11.3
# #$VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --android=12.0
# #$VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --android=12.1 # Build fails in this case, as of 2022-12-02 : Xamarin/Android/Xamarin.Android.D8.targets(79,5): error : java.lang.ArrayIndexOutOfBoundsException : Index 4 out of bounds for length 4
# #$VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --android=12.2 # Build fails in this case, as of 2022-12-02 : Xamarin/Android/Xamarin.Android.D8.targets(79,5): error : java.lang.ArrayIndexOutOfBoundsException : Index 4 out of bounds for length 4
# #$VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --android=12.3 # Build fails in this case, as of 2022-12-02
# $VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --android=13.1
# # If using the github runner 'macos-11'
# #$VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --android=11.0
# #$VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --android=12.0
# # If using the github runner 'macos-10.15'
# # $VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --android=11.2
# - name: Switch to JDK-11
# uses: actions/setup-java@v4
# with:
# java-version: '11'
# distribution: 'temurin'
# - name: Display java version
# run: java -version
# # Some components of Keepass2Android currently target android API 26 which are not available on the runner
# - name: Download android-26 API
# run: $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager --install "platforms;android-26"
# - name: Build native dependencies
# run: make native
# - name: Build java dependencies
# run: make java
# - name: Install NuGet dependencies (net)
# run: make nuget Flavor=Net
# - name: Build keepass2android (net)
# run: |
# make dotnetbuild Flavor=Net
# - name: Build APK (net)
# run: |
# make apk Flavor=Net
# - name: Archive production artifacts (net)
# uses: actions/upload-artifact@v4
# with:
# name: signed APK ('net' built on ${{ github.job }})
# path: |
# src/keepass2android/bin/*/*-Signed.apk
# - name: Install NuGet dependencies (nonet)
# run: make nuget Flavor=NoNet
# - name: Build keepass2android (nonet)
# run: |
# make dotnetbuild Flavor=NoNet
# - name: Build APK (nonet)
# run: |
# make apk Flavor=NoNet
# - name: Archive production artifacts (nonet)
# uses: actions/upload-artifact@v4
# with:
# name: signed APK ('nonet' built on ${{ github.job }})
# path: |
# src/keepass2android/bin/*/*-Signed.apk
# - name: Perform "make distclean"
# run: make distclean
# linux:
# disabled.
# As per: xamarin/xamarin-android#7235 (comment)
# > Unfortunately the Classic OSS Xamarin.Android packages for Linux are no longer being built and as such they are not available for the v13.0 tag.
# we can re-enable this after porting to .net 6.0
# runs-on: ubuntu-22.04
# env:
# # Build Artifact of xamarin.android-oss dated 2021-02-02, master branch (= version 11.2.99) - *.deb cannot be installed because "lxd" package is not anymore shipped in current ubuntu version
# #xamarin_url: https://artprodcus3.artifacts.visualstudio.com/Ad0adf05a-e7d7-4b65-96fe-3f3884d42038/6fd3d886-57a5-4e31-8db7-52a1b47c07a8/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL3hhbWFyaW4vcHJvamVjdElkLzZmZDNkODg2LTU3YTUtNGUzMS04ZGI3LTUyYTFiNDdjMDdhOC9idWlsZElkLzM0NTE3L2FydGlmYWN0TmFtZS9JbnN0YWxsZXJzKy0rTGludXg1/content?format=zip
# # Build Artifact of xamarin.android-oss dated 2021-03-23, d16-9 branch (= version 11.2.2) - *.deb cannot be installed because "lxd" package is not anymore shipped in current ubuntu version
# #xamarin_url: https://artprodcus3.artifacts.visualstudio.com/Ad0adf05a-e7d7-4b65-96fe-3f3884d42038/6fd3d886-57a5-4e31-8db7-52a1b47c07a8/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL3hhbWFyaW4vcHJvamVjdElkLzZmZDNkODg2LTU3YTUtNGUzMS04ZGI3LTUyYTFiNDdjMDdhOC9idWlsZElkLzM3Njg0L2FydGlmYWN0TmFtZS9JbnN0YWxsZXJzKy0rTGludXg1/content?format=zip
# # Build Artifact of xamarin.android-oss dated 2021-07-21, master branch (= version 11.4.99)
# # xamarin_url: https://artprodcus3.artifacts.visualstudio.com/Ad0adf05a-e7d7-4b65-96fe-3f3884d42038/6fd3d886-57a5-4e31-8db7-52a1b47c07a8/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL3hhbWFyaW4vcHJvamVjdElkLzZmZDNkODg2LTU3YTUtNGUzMS04ZGI3LTUyYTFiNDdjMDdhOC9idWlsZElkLzQzNjU5L2FydGlmYWN0TmFtZS9pbnN0YWxsZXJzLXVuc2lnbmVkKy0rTGludXg1/content?format=zip
# # Build Artifact of xamarin.android-oss dated 2022-02-16, master branch (= version 12.2.99)
# xamarin_url: https://artprodcus3.artifacts.visualstudio.com/Ad0adf05a-e7d7-4b65-96fe-3f3884d42038/6fd3d886-57a5-4e31-8db7-52a1b47c07a8/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL3hhbWFyaW4vcHJvamVjdElkLzZmZDNkODg2LTU3YTUtNGUzMS04ZGI3LTUyYTFiNDdjMDdhOC9idWlsZElkLzU0OTUzL2FydGlmYWN0TmFtZS9pbnN0YWxsZXJzLXVuc2lnbmVkKy0rTGludXg1/content?format=zip
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: true
# - name: Setup Gradle
# uses: gradle/actions/setup-gradle@v3
# - name: Cache NuGet packages
# uses: actions/cache@v4
# with:
# path: ~/.nuget/packages
# key: ${{ runner.os }}-nuget-${{ hashFiles('src/**/*.csproj', 'src/**/packages.config') }}
# restore-keys: |
# ${{ runner.os }}-nuget-
# - name: Cache Xamarin.Android packages
# id: xamarin_cache
# uses: actions/cache@v4
# with:
# path: ~/xamarin.android-oss
# key: ${{ runner.os }}-xamarin.android-oss-${{ env.xamarin_url }}
# restore-keys: |
# ${{ runner.os }}-xamarin.android-oss-${{ env.xamarin_url }}
# - name: Install Mono
# if: ${{ false }} # disable for now since it is already installed on the runner which uses the same repo https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md#language-and-runtime
# run: |
# sudo apt install gnupg ca-certificates &&
# sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF &&
# echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list &&
# sudo apt update &&
# sudo apt-get -y -t stable-focal install mono-complete
# - name: Download & unpack Xamarin.Android
# if: steps.xamarin_cache.outputs.cache-hit != 'true'
# run: |
# set -x
# cd $HOME &&
# wget -O "installers-unsigned - Linux.zip" ${{ env.xamarin_url }} &&
# unzip "installers-unsigned - Linux.zip" &&
# mkdir -p xamarin.android-oss &&
# DIR=$(unzip -Z -1 installers-unsigned\ -\ Linux.zip | cut -d '/' -f1 | sort -u) &&
# tar -xvf "$DIR"/xamarin.android-oss-*.tar.* --strip-components=1 -C xamarin.android-oss &&
# mv "$DIR"/*.deb xamarin.android-oss
# - name: Setup Xamarin.Android
# run: |
# cd $HOME &&
# sudo apt install -y ./xamarin.android-oss/*.deb &&
# echo "$HOME/xamarin.android-oss/bin/Release/bin" >> $GITHUB_PATH
# - name: Switch to JDK-11
# uses: actions/setup-java@v4
# with:
# java-version: '11'
# distribution: 'temurin'
# - name: Display java version
# run: java -version
# # Some components of Keepass2Android currently target android API 26 which are not available on the runner
# - name: Download android-26 API
# run: $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager --install "platforms;android-26"
# - name: Install libzip4
# if: ${{ false }} # disable for now since it is already installed on the runner
# run: sudo apt -y install libzip4
# - name: Build native dependencies
# run: make native
# - name: Build java dependencies
# run: make java
# - name: Install NuGet dependencies (net)
# run: make nuget Flavor=Net
# - name: Build keepass2android (net)
# run: |
# make dotnetbuild Flavor=Net
# - name: Build APK (net)
# run: |
# make apk Flavor=Net
# - name: Archive production artifacts (net)
# uses: actions/upload-artifact@v4
# with:
# name: signed APK ('net' built on ${{ github.job }})
# path: |
# src/keepass2android/bin/*/*-Signed.apk
# - name: Install NuGet dependencies (nonet)
# run: make nuget Flavor=NoNet
# - name: Build keepass2android (nonet)
# run: |
# make dotnetbuild Flavor=NoNet
# - name: Build APK (nonet)
# run: |
# make apk Flavor=NoNet
# - name: Archive production artifacts (nonet)
# uses: actions/upload-artifact@v4
# with:
# name: signed APK ('nonet' built on ${{ github.job }})
# path: |
# src/keepass2android/bin/*/*-Signed.apk
# - name: Perform "make distclean"
# run: make distclean
windows:
# on windows-2022 it builds with:
# Microsoft Visual Studio\2022\Enterprise
# Found Java SDK version 11.0.12
# Found Xamarin.Android 13.1.0.1
#
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Cache NuGet packages
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('src/**/*.csproj', 'src/**/packages.config') }}
restore-keys: |
${{ runner.os }}-nuget-
# Workaround an issue when building on windows-2022. Error was
# D8 : OpenJDK 64-Bit Server VM warning : INFO: os::commit_memory(0x00000000ae400000, 330301440, 0) failed; error='The paging file is too small for this operation to complete' (DOS error/errno=1455) [D:\a\keepass2android\keepass2android\src\keepass2android\keepass2android-app.csproj]
# C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Xamarin\Android\Xamarin.Android.D8.targets(81,5): error MSB6006: "java.exe" exited with code 1. [D:\a\keepass2android\keepass2android\src\keepass2android\keepass2android-app.csproj]
- name: Configure Pagefile
uses: al-cheb/configure-pagefile-action@a3b6ebd6b634da88790d9c58d4b37a7f4a7b8708 # v1.4
with:
minimum-size: 8GB
- name: Add dotnetbuild to PATH
uses: microsoft/setup-msbuild@v2
# If we want to also have nmake, use this instead
#uses: ilammy/msvc-dev-cmd@v1
- name: Switch to JDK-17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Display java version
run: java -version
# Some components of Keepass2Android currently target android API 26 which are not available on the runner
- name: Download android-26 API
shell: cmd
run: |
%ANDROID_SDK_ROOT%\cmdline-tools\latest\bin\sdkmanager --install "platforms;android-26"
- name: Build native dependencies
shell: cmd
run: |
make native
- name: Build java dependencies
shell: cmd
run: |
make java
- name: Update dotnet workloads
run: |
dotnet workload update
- name: Select the manifest
run: |
make manifestlink Flavor=Net
- name: Install NuGet dependencies (net)
run: make nuget Flavor=Net
- name: Build keepass2android (net)
run: |
make dotnetbuild Flavor=Net
- name: Build APK (net)
run: |
make apk Flavor=Net
- name: Archive production artifacts (net)
uses: actions/upload-artifact@v4
with:
name: signed APK ('net' built on ${{ github.job }})
path: |
src/keepass2android/bin/*/*-Signed.apk
- name: Select the manifest
run: |
make manifestlink Flavor=NoNet
- name: Install NuGet dependencies (nonet)
run: make nuget Flavor=NoNet
- name: Build keepass2android (nonet)
run: |
make dotnetbuild Flavor=NoNet
- name: Test Autofill
working-directory: ./src/Kp2aAutofillParser.Tests
run: dotnet test
- name: Build APK (nonet)
run: |
make apk Flavor=NoNet
- name: Archive production artifacts (nonet)
uses: actions/upload-artifact@v4
with:
name: signed APK ('nonet' built on ${{ github.job }})
path: |
src/keepass2android/bin/*/*-Signed.apk

146
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,146 @@
name: Create keepass2android release
env:
NAME: 'Release'
on:
push:
tags:
- "v1.*"
jobs:
build-release:
runs-on: windows-2022
strategy:
matrix:
flavor: [Net, NoNet]
target: [apk, apk_split]
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Extract key store
env:
KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }}
KeyStore: "${{ github.workspace }}/kp2a.keystore"
shell: bash
run: |
echo $KeyStore
echo $KEYSTORE_BASE64 | base64 --decode > $KeyStore
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Cache NuGet packages
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('src/**/*.csproj', 'src/**/packages.config') }}
restore-keys: |
${{ runner.os }}-nuget-
# Workaround an issue when building on windows-2022. Error was
# D8 : OpenJDK 64-Bit Server VM warning : INFO: os::commit_memory(0x00000000ae400000, 330301440, 0) failed; error='The paging file is too small for this operation to complete' (DOS error/errno=1455) [D:\a\keepass2android\keepass2android\src\keepass2android\keepass2android-app.csproj]
# C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Xamarin\Android\Xamarin.Android.D8.targets(81,5): error MSB6006: "java.exe" exited with code 1. [D:\a\keepass2android\keepass2android\src\keepass2android\keepass2android-app.csproj]
- name: Configure Pagefile
uses: al-cheb/configure-pagefile-action@a3b6ebd6b634da88790d9c58d4b37a7f4a7b8708 # v1.4
with:
minimum-size: 8GB
- name: Add msbuild/dotnet to PATH
uses: microsoft/setup-msbuild@v2
# If we want to also have nmake, use this instead
#uses: ilammy/msvc-dev-cmd@v1
- name: Switch to JDK-17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Display java version
run: java -version
- name: Build native dependencies
shell: cmd
run: |
make native
- name: Build java dependencies
shell: cmd
run: |
make java
- name: List apks
run: find . -type f -name "*.apk"
shell: bash
- name: Update dotnet workloads
run: |
dotnet workload update
- name: List apks
run: find . -type f -name "*.apk"
shell: bash
- name: Select the manifest
run: |
make manifestlink Flavor=${{ matrix.flavor }}
- name: List apks
run: find . -type f -name "*.apk"
shell: bash
- name: Install NuGet dependencies
run: make nuget Flavor=${{ matrix.flavor }}
- name: List apks
run: find . -type f -name "*.apk"
shell: bash
- name: Build APK (net)
env:
KeyStore: "${{ github.workspace }}/kp2a.keystore"
MyAndroidSigningStorePass: ${{ secrets.KEY_STORE_PASSWORD }}
MyAndroidSigningKeyPass: ${{ secrets.KEY_PASSWORD }}
DropboxAppKey: ${{ secrets.DROPBOX_APP_KEY }}
DropboxAppSecret: ${{ secrets.DROPBOX_APP_SECRET }}
DropboxAppFolderAppKey: ${{ secrets.DROPBOX_APP_FOLDER_APP_KEY }}
DropboxAppFolderAppSecret: ${{ secrets.DROPBOX_APP_FOLDER_APP_SECRET }}
run: |
make ${{ matrix.target }} Configuration=Release Flavor=${{ matrix.flavor }}
- name: List apks
run: find . -type f -name "*.apk"
shell: bash
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: keepass2android_${{ matrix.target }}_${{ matrix.flavor }}
# the first line is for "apk" target, the second line is for "apk_split" target
path: |
src/keepass2android-app/bin/Release/net8.0-android/publish/*.apk
src/keepass2android-app/bin/Release/net8.0-android/*/publish/*.apk
- name: List apks
run: find . -type f -name "*.apk"
shell: bash
- name: Upload APK to GitHub Release
uses: softprops/action-gh-release@v2
if: github.ref_type == 'tag'
with:
files: |
src/keepass2android-app/bin/Release/net8.0-android/publish/*.apk
src/keepass2android-app/bin/Release/net8.0-android/*/publish/*.apk

11
.gitignore vendored
View File

@@ -7,6 +7,10 @@ PCtest
bin
obj
# Makefile-related files
/allow_git_clean
/stamp.nuget_*
Resource.designer.cs
R.java
@@ -60,7 +64,7 @@ Thumbs.db
/src/java/android-filechooser/code/projectzip/project.zip
/src/java/android-filechooser/code/unused.txt
/src/Kp2aBusinessLogic/Io/DropboxFileStorageKeys.cs
/src/Kp2aBusinessLogic/Io/DropboxFileStorage.g.cs
/src/java/workspace/DriveTest
@@ -105,7 +109,6 @@ Thumbs.db
/src/java/JavaFileStorageTest/gen/group/pals/android/lib/ui/filechooser/R.java
/src/java/JavaFileStorageTest/gen/keepass2android/javafilestorage/R.java
/src/TwofishCipher/Resources/Resource.Designer.cs
/src/BindingLibrary1
/src/PluginTOTP
@@ -171,3 +174,7 @@ src/java/Keepass2AndroidPluginSDK2/build/generated/mockable-Google-Inc.-Google-A
/src/java/KP2ASoftkeyboard_AS/app/src/main/libs
/src/java/KP2AKdbLibrary/app/.cxx
/src/ActionViewFilterTest
/docs/gdrive-verification
/src/MegaTest
*.dtbcache.json
/src/keepass2android-app/AndroidManifest.xml

370
Makefile Normal file
View File

@@ -0,0 +1,370 @@
#!/usr/bin/make -f
#
# This Makefile can be used on both unix-like (use make) & windows (with GNU make)
#
# append the Configuration variable to 'make' call with value to use in '/p:Configuration='
# of dotnetbuild command.
#
# append the Flavor variable to 'make' call with value to use in '/p:Flavor='
# of dotnetbuild command.
#
# Example:
# make Configuration=Release Flavor=NoNet
#
#
# Some targets:
# - all: everything (including APK)
# - native: build the native libs
# - java: build the java libs
# - nuget: restore NuGet packages
# - dotnetbuild: build the project
# - apk: same as all
# - manifestlink: creates a symlink (to be used in building) to the AndroidManifest corresponding to the selected Flavor
#
# - distclean: run a 'git clean -xdff'. Remove everyhing that is not in the git tree.
# - clean: all clean_* targets below
# - clean_native: clean native lib
# - clean_java: call clean target of java libs
# - clean_nuget: cleanup the 'nuget restore'
# - clean_dotnet: call clean target of dotnetbuild
#
#
#
# Disable built-in rules to speed-up the Makefile processing.
# for example when running 'make java' on Windows it could take ~10 sec more than on linux to start building
# from what this option disables, the "clearing out the default list of suffixes for suffix rules"
# gives the most speed gain.
MAKEFLAGS += --no-builtin-rules
ifeq ($(OS),Windows_NT) # is Windows_NT on XP, 2000, 7, Vista, 10...
detected_OS := Windows
WHICH := where
RM := RMDIR /S /Q
RMFILE := DEL
CP := copy
GRADLEW := gradlew.bat
# Force use of cmd shell (don't use POSIX shell because the user may not have one installed)
SHELL := cmd
else
detected_OS := $(shell uname)
WHICH := which
RM := rm -rf
RMFILE := $(RM)
CP := cp
GRADLEW := ./gradlew
endif
$(info MAKESHELL: $(MAKESHELL))
$(info SHELL: $(SHELL))
$(info )
ifeq ($(detected_OS),Linux)
DOTNET_binary := dotnet
DOTNET := $(shell $(WHICH) $(DOTNET_binary))
else ifeq ($(detected_OS),Windows)
DOTNET_binary := dotnet
DOTNET := $(shell $(WHICH) $(DOTNET_binary) 2> nul)
else
DOTNET_binary := dotnet
DOTNET := $(shell $(WHICH) $(DOTNET_binary))
endif
ifeq ($(DOTNET),)
$(info )
$(info '$(DOTNET_binary)' binary could not be found. Check it is in your PATH.)
$(error )
endif
$(info DOTNET: $(DOTNET))
$(info )
ifeq ($(ANDROID_SDK_ROOT),)
$(error set ANDROID_SDK_ROOT environment variable)
endif
$(info ANDROID_SDK_ROOT: $(ANDROID_SDK_ROOT))
ifeq ($(ANDROID_HOME),)
$(error set ANDROID_HOME environment variable)
endif
$(info ANDROID_HOME: $(ANDROID_SDK_ROOT))
ifeq ($(ANDROID_NDK_ROOT),)
$(error set ANDROID_NDK_ROOT environment variable)
endif
$(info ANDROID_NDK_ROOT: $(ANDROID_NDK_ROOT))
ifneq ($(Configuration),)
DOTNET_PARAM = -p:Configuration="$(Configuration)"
else
$(warning Configuration environment variable not set.)
endif
DELETE_MANIFEST_LINK :=
CREATE_MANIFEST_LINK :=
MANIFEST_FILE :=
ifneq ($(Flavor),)
DOTNET_PARAM += -p:Flavor="$(Flavor)"
ifneq ($(Flavor),)
ifeq ($(Flavor),Debug)
MANIFEST_FILE := AndroidManifest_debug.xml
endif
ifeq ($(Flavor),Net)
MANIFEST_FILE := AndroidManifest_net.xml
endif
ifeq ($(Flavor),NoNet)
MANIFEST_FILE := AndroidManifest_nonet.xml
endif
ifeq ($(detected_OS),Windows)
DELETE_MANIFEST_LINK := @cmd /c del src\keepass2android-app\AndroidManifest.xml
CREATE_MANIFEST_LINK := @cmd /c mklink /h src\keepass2android-app\AndroidManifest.xml src\keepass2android-app\Manifests\$(MANIFEST_FILE)
else
DELETE_MANIFEST_LINK := rm -f src/keepass2android-app/AndroidManifest.xml
CREATE_MANIFEST_LINK := ln -f src/keepass2android-app/Manifests/$(MANIFEST_FILE) src/keepass2android-app/AndroidManifest.xml
endif
endif
else
$(warning Flavor environment variable not set.)
endif
ifneq ($(KeyStore),)
DOTNET_PARAM += -p:AndroidKeyStore=True -p:AndroidSigningKeyStore="$(KeyStore)" -p:AndroidSigningStorePass=env:MyAndroidSigningStorePass -p:AndroidSigningKeyPass=env:MyAndroidSigningKeyPass -p:AndroidSigningKeyAlias="kp2a"
endif
ifeq ($(detected_OS),Windows)
to_win_path=$(subst /,\,$(1))
to_posix_path=$(subst \,/,$(1))
define remove_dir
if exist $(1) ( $(RM) $(1) )
endef
define remove_files
$(foreach file,$(call to_win_path,$(1)), IF EXIST $(file) ( $(RMFILE) $(file) ) & )
endef
else
define remove_dir
$(RM) $(1)
endef
define remove_files
$(RMFILE) $(1)
endef
endif
# Recursive wildcard: https://stackoverflow.com/a/18258352
rwildcard=$(foreach d,$(wildcard $(1:=/*)),$(call rwildcard,$d,$2) $(filter $(subst *,%,$2),$d))
$(info DOTNET_PARAM: $(DOTNET_PARAM))
$(info nuget path: $(shell $(WHICH) nuget))
$(info )
NATIVE_COMPONENTS := argon2
NATIVE_CLEAN_TARGETS := clean_argon2
OUTPUT_argon2 = src/java/argon2/libs/armeabi-v7a/libargon2.so \
src/java/argon2/libs/arm64-v8a/libargon2.so \
src/java/argon2/libs/x86/libargon2.so \
src/java/argon2/libs/x86_64/libargon2.so
JAVA_COMPONENTS := \
JavaFileStorageTest-AS \
KP2ASoftkeyboard_AS \
Keepass2AndroidPluginSDK2 \
KP2AKdbLibrary
#PluginQR # Doesn't seem required
JAVA_CLEAN_TARGETS := \
clean_JavaFileStorageTest-AS \
clean_KP2ASoftkeyboard_AS \
clean_Keepass2AndroidPluginSDK2 \
clean_KP2AKdbLibrary \
clean_PluginQR
INPUT_android-filechooser-AS := $(filter-out $(filter %/app,$(wildcard src/java/android-filechooser-AS/*)),$(wildcard src/java/android-filechooser-AS/*)) \
$(filter-out $(filter %/build,$(wildcard src/java/android-filechooser-AS/app/*)),$(wildcard src/java/android-filechooser-AS/app/*)) \
$(call rwildcard,src/java/android-filechooser-AS/app/src,*)
INPUT_JavaFileStorage := $(filter-out $(filter %/app,$(wildcard src/java/JavaFileStorage/*)),$(wildcard src/java/JavaFileStorage/*)) \
$(filter-out $(filter %/build,$(wildcard src/java/JavaFileStorage/app/*)),$(wildcard src/java/JavaFileStorage/app/*)) \
$(wildcard src/java/JavaFileStorage/libs/*) \
$(call rwildcard,src/java/JavaFileStorage/app/src,*) \
INPUT_JavaFileStorageTest-AS := $(filter-out $(filter %/app,$(wildcard src/java/JavaFileStorageTest-AS/*)),$(wildcard src/java/JavaFileStorageTest-AS/*)) \
$(filter-out $(filter %/build,$(wildcard src/java/JavaFileStorageTest-AS/app/*)),$(wildcard src/java/JavaFileStorageTest-AS/app/*)) \
$(call rwildcard,src/java/JavaFileStorageTest-AS/app/src,*) \
$(INPUT_android-filechooser-AS) \
$(INPUT_JavaFileStorage)
OUTPUT_JavaFileStorageTest-AS = src/java/android-filechooser-AS/app/build/outputs/aar/android-filechooser-debug.aar \
src/java/android-filechooser-AS/app/build/outputs/aar/android-filechooser-release.aar \
src/java/JavaFileStorage/app/build/outputs/aar/JavaFileStorage-debug.aar \
src/java/JavaFileStorage/app/build/outputs/aar/JavaFileStorage-release.aar \
src/java/JavaFileStorageTest-AS/app/build/outputs/apk/debug/app-debug.apk \
src/java/JavaFileStorageTest-AS/app/build/outputs/apk/release/app-release-unsigned.apk
INPUT_KP2ASoftkeyboard_AS := $(wildcard src/java/KP2ASoftkeyboard_AS/*) \
$(wildcard src/java/KP2ASoftkeyboard_AS/app/*) \
$(call rwildcard,src/java/KP2ASoftkeyboard_AS/app/src,*)
OUTPUT_KP2ASoftkeyboard_AS = src/java/KP2ASoftkeyboard_AS/app/build/outputs/aar/app-debug.aar \
src/java/KP2ASoftkeyboard_AS/app/build/outputs/aar/app-release.aar
INPUT_Keepass2AndroidPluginSDK2 := $(wildcard src/java/Keepass2AndroidPluginSDK2/*) \
$(wildcard src/java/Keepass2AndroidPluginSDK2/app/*) \
$(call rwildcard,src/java/Keepass2AndroidPluginSDK2/app/src,*)
OUTPUT_Keepass2AndroidPluginSDK2 = src/java/Keepass2AndroidPluginSDK2/app/build/outputs/aar/app-debug.aar \
src/java/Keepass2AndroidPluginSDK2/app/build/outputs/aar/app-release.aar
INPUT_KP2AKdbLibrary := $(wildcard src/java/KP2AKdbLibrary/*) \
$(wildcard src/java/KP2AKdbLibrary/app/*) \
$(call rwildcard,src/java/KP2AKdbLibrary/app/src,*)
OUTPUT_KP2AKdbLibrary = src/java/KP2AKdbLibrary/app/build/outputs/aar/app-debug.aar \
src/java/KP2AKdbLibrary/app/build/outputs/aar/app-release.aar
INPUT_PluginQR := $(wildcard src/java/PluginQR/*) \
$(wildcard src/java/PluginQR/app/*) \
$(call rwildcard,src/java/PluginQR/app/src,*) \
$(INPUT_Keepass2AndroidPluginSDK2)
OUTPUT_PluginQR = src/java/Keepass2AndroidPluginSDK2/app/build/outputs/aar/Keepass2AndroidPluginSDK2-debug.aar \
src/java/Keepass2AndroidPluginSDK2/app/build/outputs/aar/Keepass2AndroidPluginSDK2-release.aar \
src/java/PluginQR/app/build/outputs/apk/debug/app-debug.apk \
src/java/PluginQR/app/build/outputs/apk/debug/app-release-unsigned.apk
##### Targets definition
.PHONY: native $(NATIVE_COMPONENTS) clean_native $(NATIVE_CLEAN_TARGETS) \
java $(JAVA_COMPONENTS) clean_java $(JAVA_CLEAN_TARGETS) \
nuget clean_nuget \
dotnetbuild clean_dotnet \
apk all clean
all: apk
##### Native Dependencies
native: $(NATIVE_COMPONENTS)
argon2: $(OUTPUT_argon2)
$(OUTPUT_argon2): $(wildcard src/java/argon2/phc-winner-argon2/src/*) $(wildcard src/java/argon2/phc-winner-argon2/src/blake2/*)
cd src/java/argon2 && $(ANDROID_NDK_ROOT)/ndk-build
##### Java Dependencies
java: $(JAVA_COMPONENTS)
JavaFileStorageTest-AS: $(OUTPUT_JavaFileStorageTest-AS)
KP2ASoftkeyboard_AS: $(OUTPUT_KP2ASoftkeyboard_AS)
Keepass2AndroidPluginSDK2: $(OUTPUT_Keepass2AndroidPluginSDK2)
KP2AKdbLibrary: $(OUTPUT_KP2AKdbLibrary)
PluginQR: $(OUTPUT_PluginQR)
$(OUTPUT_JavaFileStorageTest-AS): $(INPUT_JavaFileStorageTest-AS)
$(call remove_files,$(OUTPUT_JavaFileStorageTest-AS))
cd src/java/JavaFileStorageTest-AS && $(GRADLEW) assemble
$(OUTPUT_KP2ASoftkeyboard_AS): $(INPUT_KP2ASoftkeyboard_AS)
$(call remove_files,$(OUTPUT_KP2ASoftkeyboard_AS))
cd src/java/KP2ASoftkeyboard_AS && $(GRADLEW) assemble
$(OUTPUT_Keepass2AndroidPluginSDK2): $(INPUT_Keepass2AndroidPluginSDK2)
$(call remove_files,$(OUTPUT_Keepass2AndroidPluginSDK2))
cd src/java/Keepass2AndroidPluginSDK2 && $(GRADLEW) assemble
$(OUTPUT_KP2AKdbLibrary): $(INPUT_KP2AKdbLibrary)
$(call remove_files,$(OUTPUT_KP2AKdbLibrary))
cd src/java/KP2AKdbLibrary && $(GRADLEW) assemble
$(OUTPUT_PluginQR): $(INPUT_PluginQR)
$(call remove_files,$(OUTPUT_PluginQR))
cd src/java/PluginQR && $(GRADLEW) assemble
##### Nuget Dependencies
nuget: stamp.nuget_$(Flavor)
stamp.nuget_$(Flavor): src/KeePass.sln $(wildcard src/*/*.csproj) $(wildcard src/*/packages.config)
ifeq ($(shell $(WHICH) nuget),)
$(error "nuget" command not found. Check it is in your PATH)
endif
$(RMFILE) stamp.nuget_*
nuget restore src/KeePass.sln
$(DOTNET) restore src/KeePass.sln $(DOTNET_PARAM) -p:RestorePackagesConfig=true
@echo "" > stamp.nuget_$(Flavor)
manifestlink:
$(info Creating hardlink for manifest of Flavor: $(Flavor))
$(DELETE_MANIFEST_LINK)
$(CREATE_MANIFEST_LINK)
#####
dotnetbuild: manifestlink native java nuget
$(DOTNET) build src/KeePass.sln -target:keepass2android-app -p:AndroidSdkDirectory="$(ANDROID_SDK_ROOT)" -p:BuildProjectReferences=true $(DOTNET_PARAM) -p:Platform="Any CPU" -m
apk: manifestlink native java nuget
$(DOTNET) publish src/keepass2android-app/keepass2android-app.csproj -p:AndroidSdkDirectory="$(ANDROID_SDK_ROOT)" -t:SignAndroidPackage $(DOTNET_PARAM) -p:Platform=AnyCPU -m
apk_split: manifestlink native java nuget
$(DOTNET) publish src/keepass2android-app/keepass2android-app.csproj -p:AndroidSdkDirectory="$(ANDROID_SDK_ROOT)" -t:SignAndroidPackage $(DOTNET_PARAM) -p:Platform=AnyCPU -m -p:RuntimeIdentifier=android-arm
$(DOTNET) publish src/keepass2android-app/keepass2android-app.csproj -p:AndroidSdkDirectory="$(ANDROID_SDK_ROOT)" -t:SignAndroidPackage $(DOTNET_PARAM) -p:Platform=AnyCPU -m -p:RuntimeIdentifier=android-arm64
$(DOTNET) publish src/keepass2android-app/keepass2android-app.csproj -p:AndroidSdkDirectory="$(ANDROID_SDK_ROOT)" -t:SignAndroidPackage $(DOTNET_PARAM) -p:Platform=AnyCPU -m -p:RuntimeIdentifier=android-x86
$(DOTNET) publish src/keepass2android-app/keepass2android-app.csproj -p:AndroidSdkDirectory="$(ANDROID_SDK_ROOT)" -t:SignAndroidPackage $(DOTNET_PARAM) -p:Platform=AnyCPU -m -p:RuntimeIdentifier=android-x64
src/build-scripts/rename-output-apks.sh src/keepass2android-app/bin/Release/net8.0-android/
build_all: dotnetbuild
##### Cleanup targets
clean_native: $(NATIVE_CLEAN_TARGETS)
clean_argon2:
cd src/java/argon2 && $(ANDROID_NDK_ROOT)/ndk-build clean
clean_java: $(JAVA_CLEAN_TARGETS)
clean_JavaFileStorageTest-AS:
cd src/java/JavaFileStorageTest-AS && $(GRADLEW) clean
clean_KP2ASoftkeyboard_AS:
cd src/java/KP2ASoftkeyboard_AS && $(GRADLEW) clean
clean_Keepass2AndroidPluginSDK2:
cd src/java/Keepass2AndroidPluginSDK2 && $(GRADLEW) clean
clean_KP2AKdbLibrary:
cd src/java/KP2AKdbLibrary && $(GRADLEW) clean
clean_PluginQR:
cd src/java/PluginQR && $(GRADLEW) clean
clean_rm:
rm -rf src/*/obj
rm -rf src/*/bin
rm -rf src/java/*/app/build
rm -rf src/java/argon2/obj
rm -rf src/java/argon2/libs
rm -rf src/packages
rm -rf src/java/KP2AKdbLibrary/app/.cxx
rm -rf src/java/KP2ASoftkeyboard_AS/app/.cxx
rm -rf src/SamsungPass/Xamarin.SamsungPass/SamsungPass/bin
rm -rf src/SamsungPass/Xamarin.SamsungPass/SamsungPass/obj
# https://learn.microsoft.com/en-us/nuget/consume-packages/package-restore-troubleshooting#other-potential-conditions
clean_nuget:
cd src && $(call remove_dir,packages)
ifeq ($(detected_OS),Windows)
DEL /S src\project.assets.json
DEL /S src\*.nuget.*
else
$(RM) src/*/obj/project.assets.json
$(RM) src/*/obj/*.nuget.*
endif
$(RMFILE) stamp.nuget_*
clean_dotnet:
$(DOTNET) clean src/KeePass.sln $(DOTNET_PARAM)
clean: clean_native clean_java clean_nuget clean_dotnet
distclean: clean
ifneq ("$(wildcard ./allow_git_clean)","")
ifeq ($(shell $(WHICH) git),)
$(error "git" command not found. Check it is in your PATH)
endif
git clean -xdff src
else
$(warning 'git clean' skipped for safety reasons. See hint below:)
$(info )
$(info 'git clean' would delete all untracked files, those in '.gitignore' and those in '.git/info/exclude'.)
$(info )
$(info Check which files would be deleted by running: "git clean -n -xdff src")
$(info If listed files are acceptable, you can enable the call to "git clean" by creating an empty file named 'allow_git_clean' next to the Makefile.)
$(info )
endif

View File

@@ -1,7 +1,7 @@
files:
- source: src/keepass2android/Resources/values/strings.xml
- source: src/keepass2android-app/Resources/values/strings.xml
translation: >-
/src/keepass2android/Resources/values-%two_letters_code%/%original_file_name%
/src/keepass2android-app/Resources/values-%two_letters_code%/%original_file_name%
translate_attributes: '0'
content_segmentation: '0'
languages_mapping:

View File

@@ -1,5 +0,0 @@
As of December 2017, Google does not accept the use of Accessibility services for anything except helping people with disabilities. This means that Keepass2Android can no longer provide the accessibility service based AutoFill feature. Otherwise, Google would remove Keepass2Android from Play Store.
If you want to continue using this feature, please [install the Accessibility service based AutoFill plugin](https://github.com/PhilippC/kp2a_accservice_autofill/releases/).
After installation, please enable the accessibility service "KP2A AutoFillPlugin" in the Android system settings. When trying to use the plugin for the first time, KP2A will ask you if the plugin may access the Keepass database. Please accept this to use the plugin.

View File

@@ -1,18 +0,0 @@
# Installing dictionaries
Keepass2Android will load dictionaries for your current language both from AnySoftKeyboard and from Hacker's keyboard.
* For AnySoftKeyboard dictionaries visit: [https://play.google.com/store/search?q=anysoftkeyboard+dictionary&c=apps](https://play.google.com/store/search?q=anysoftkeyboard+dictionary&c=apps)
* For Hacker's Keyboard dictionaries visit: [https://play.google.com/store/search?q=hacker%27s%20keyboard%20dictionary&c=apps](https://play.google.com/store/search?q=hacker%27s%20keyboard%20dictionary&c=apps)
# Automatic keyboard switching (requires ADB)
Starting with Keepass2Android 1.02-pre1, you can use the [KeyboardSwap Plugin](https://play.google.com/store/apps/details?id=keepass2android.plugin.keyboardswap2) to switch to the KP2A keyboard automatically instead of bringing up the Input method selection dialog (e.g. after using the Share URL feature). To setup the plugin please follow the instructions on [the PlayStore website](https://play.google.com/store/apps/details?id=keepass2android.plugin.keyboardswap2)
# Deprecated: Automatic keyboard switching on rooted devices
In order to automatically switch to the KP2A keyboard and back, you need to
* have a rooted device (per Android security policies)
* have at least KP2A version 0.9.3-pre2
* install the Secure Settings app with the "System+" module available in Secure Settings v. 1.3.4 and above. **Note:** This is no longer available for recent Android versions.
* Go to the KP2A keyboard settings. Enable auto-switch on rooted devices.
If you go to a website, select "Share URL" -> Keepass2Android, the keyboard should be switched as soon as you locate the entry or when it's found automatically.

View File

@@ -1,118 +0,0 @@
<div class="wikidoc">
<h1>Comparison of Keepass apps for Android</h1>
<p>This page was created to give you a short overview of the features of Keepass2Android vs. Keepass2Android Offline. As Keepass2Android is based on Keepassdroid (by Brian Pellin), there are quite a few similarities here, as well, so we added Keepass2Android
vs. Keepassdroid comparison as well. &quot;Better&quot; properties are highlighted in bold. The page was created in 12/2013. If any information is out of date, please leave a note in the comments section.</p>
<table>
<tbody>
<tr>
<th>&nbsp;</th>
<th>
<h3>Keepass2Android</h3>
</th>
<th>
<h3>Keepass2Android Offline</h3>
</th>
<th>
<h3>Keepassdroid</h3>
</th>
</tr>
<tr>
<td><strong>Play Store link</strong></td>
<td><a href="https://play.google.com/store/apps/details?id=keepass2android.keepass2android">https://play.google.com/store/apps/details?id=keepass2android.keepass2android</a></td>
<td><a href="https://play.google.com/store/apps/details?id=keepass2android.keepass2android_nonet">https://play.google.com/store/apps/details?id=keepass2android.keepass2android_nonet</a></td>
<td><a href="https://play.google.com/store/apps/details?id=com.android.keepass">https://play.google.com/store/apps/details?id=com.android.keepass</a></td>
</tr>
<tr>
<td><strong>Technology</strong></td>
<td>Mono for Android, Java</td>
<td>Mono for Android, Java</td>
<td>Java</td>
</tr>
<tr>
<td><strong>Keepass 2.x (kdbx) support</strong></td>
<td><strong>write and read</strong></td>
<td><strong>write and read</strong></td>
<td>read (write in beta)</td>
</tr>
<tr>
<td><strong>Keepass 2.x feature support</strong></td>
<td><strong>Viewing and editing of tags, attachments, additional fields, TAN support</strong></td>
<td><strong>Viewing and editing of tags, attachments, additional fields, TAN support</strong></td>
<td>Edit standard fields only, no display/edit of attachments</td>
</tr>
<tr>
<td><strong>Keepass 1.x (kdb) support</strong></td>
<td>currently read-only</td>
<td>currently read-only</td>
<td><strong>yes</strong></td>
</tr>
<tr>
<td><strong>Storage locations</strong></td>
<td>SD Card,<strong> Cloud (Dropbox, Google Drive, OneDrive), Web (FTP/HTTP/HTTPS/WebDav), SFTP</strong></td>
<td>SD Card</td>
<td>SD Card</td>
</tr>
<tr>
<td><strong>File choosers</strong></td>
<td><strong>Internal or third party</strong></td>
<td><strong>Internal or third party</strong></td>
<td>Third party</td>
</tr>
<tr>
<td><strong>Required permissions</strong></td>
<td>Internet, SD card, Manage accounts</td>
<td><strong>SD card</strong></td>
<td><strong>SD card</strong></td>
</tr>
<tr>
<td><strong>Android 4.x style</strong></td>
<td><strong>yes</strong></td>
<td><strong>yes</strong></td>
<td>no</td>
</tr>
<tr>
<td><strong>Database locking</strong></td>
<td><strong>QuickUnlock</strong> or full lock</td>
<td><strong>QuickUnlock</strong> or full lock</td>
<td>Full lock only</td>
</tr>
<tr>
<td><strong>Browser integration</strong></td>
<td><strong>yes</strong></td>
<td><strong>yes</strong></td>
<td>no</td>
</tr>
<tr>
<td><strong>Secure keyboard</strong></td>
<td><strong>yes</strong></td>
<td><strong>yes</strong></td>
<td>no</td>
</tr>
<tr>
<td><strong>Database unlocking</strong></td>
<td><strong>password, keyfile, One-Time-Passwords (supports Yubikey NEO with NFC), KeeChallenge</strong></td>
<td><strong>password, keyfile, One-Time-Passwords (supports Yubikey NEO with NFC),&nbsp;KeeChallenge</strong></td>
<td>password, keyfile</td>
</tr>
<tr>
<td><strong>Keepass plugin compatibility</strong></td>
<td><strong>Twofish Cipher, KeeChallenge, TrayTOTP, KeeOTP</strong></td>
<td><strong>Twofish Cipher, KeeChallenge, TrayTOTP, KeeOTP</strong></td>
<td>Twofish Cipher</td>
</tr>
<tr>
<td><strong>Extensible with plugins</strong></td>
<td><strong>yes</strong></td>
<td><strong>yes</strong></td>
<td>no</td>
</tr>
<tr>
<td><strong>Database export</strong></td>
<td><strong>yes</strong></td>
<td><strong>yes</strong></td>
<td>no</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
</div><div class="ClearBoth"></div>

View File

@@ -1,120 +1 @@
**Note:** This is an incomplete and preliminary documentation. More documentation will be added as requests come in or when the app is more feature stable.
If you want, I'd be happy if you contribute texts for this place!
If you think something is missing in the documentation, please create an issue at https://github.com/PhilippC/keepass2android/issues
# What you should know and think about
If you store important information using Keepass2Android, you should know a little bit about what's going on:
* Keepass2Android stores your password in an encrypted file. It is *your responsibility* to backup this file regularly and safely.
* There is no way for anyone, including the app's author, to access the information stored in your password database without
* having the database file
* knowing the master password (and additional second factor if you chose one)
This means that **if you forget the master password, your database is lost**! So make sure you remember the password and retain any second factor method (if one is used).
* You might also want to think about:
* What happens if I have an accident? Should any trusted person be able to access my database?
* What happens if my phone gets lost or stolen? Do I know how to recover my database from a backup or the cloud?
# Getting started
## Opening an existing database
Many users are already using Keepass 2 on Windows and thus have their passwords stored in a Keepass database, typically a file with ending .kdbx. For opening such an existing database, there are two main options:
* You can open the file directly if it is located on a webserver or in the cloud. Use "Open Database" on the startscreen. By default, files from the cloud or servers are cached in the application's cache directory after loading them once. This allows to access your files even when you're offline.
* If you don't have your database stored on a webserver or in the cloud (or if you're using KP2A Offline) you need to copy your kdbx-Database to your phone. I suggest to use a sync tool like FolderSync. Such a tool copies your database to your local storage, so you always have it accessible. FolderSync can access your database if you have it on a network share or use any other common storage.
## Creating a new database
Select "Create new database" from the start screen. Tap the integrated help icons for more information. Note that by default, the database is created as a local file. Please consider making backups regularly or select a location in the cloud.
## 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 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 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
When you are in a text field, you can use the Android icon in the notification bar to switch to the KP2A keyboard. Hit the KP2A key to select an icon. After it's selected, hit the KP2A key again to enter the desired field.
## Creating a new account
Assume you want to create an account on a website. If you do not have a database yet, see above. As soon as you have a database, you may proceed as follows:
* Go to the website you want to create the account for
* Select Share/Share URL from the browser's menu and tap "Keepass2Android"
* Log in to your database (if it's not already unlocked)
* You will see the search result screen with "No search results"
* Tap "Create entry for URL"
* Choose the desired group, then tap the "+"-button to add an entry.
* Tap the "..." button next to the password field to launch the password generator, create your password and then select "Accept"
* Enter a name for the entry
* Enter the username you want to use for the entry
* Tap "Save" on the top
* You should see notifications like "Entry is available through KP2A keyboard" and/or "Copy username/password to clipboard". If not, view the new entry by clicking it.
* Return back to the browser.
* Use the notifications to enter your new credentials. See "Getting passwords into the password fields" for more details.
* If the user name you entered is not available or valid, choose a different one but copy it to clipboard. After creating the account, don't forget to update the new entry.
# Keepass2Android vs Keepass2Android Offline vs Keepassdroid
What's the difference between these apps? There is a short comparison on [Comparison of Keepass apps for Android](Comparison-of-Keepass-apps-for-Android.md) to help you pick the best for you!
# Advanced topics
## YubiKey NEO support for One-Time-Passwords
Please see the [How to use Keepass2Android with YubiKey NEO](How-to-use-Keepass2Android-with-YubiKey-NEO.md) page.
## Advanced usage of the Keepass2Android keyboard
Please see the [Advanced usage of the Keepass2Android keyboard](Advanced-usage-of-the-Keepass2Android-keyboard.md) page.
# FAQ
## 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! [Key files](https://keepass.info/help/base/keys.html#keyfiles) can help with securing the database even more.
## 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/494. After 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.
This page has been moved to the [wiki](https://github.com/PhilippC/keepass2android/wiki/Documentation)

1
docs/Generating-TOTPs.md Normal file
View File

@@ -0,0 +1 @@
This page has been moved to the [wiki](https://github.com/PhilippC/keepass2android/wiki/Generating-TOTPs)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

View File

@@ -1,157 +0,0 @@
# How to create a plug-in or connect from your app
Creating a plug-in for Keepass2Android or enabling your app to query credentials from Keepass2Android is pretty simple. Please follow the steps below to get started. In case you have any questions, please contact me.
## Preparations
First check out the source code and import the Keepass2AndroidPluginSDK from [https://keepass2android.codeplex.com/SourceControl/latest#src/java/Keepass2AndroidPluginSDK/](https://keepass2android.codeplex.com/SourceControl/latest#src/java/Keepass2AndroidPluginSDK/) into your workspace. You should be able to build this library project.
Now add a reference to the PluginSDK library from your existing app or add a new plug-in app and then add the reference.
## Authorization
Keepass2Android stores very sensitive user data and therefore implements a plug-in authorization scheme based on broadcasts sent between the plug-in and the host app (=Keepass2Android or Keepass2Android Offline). Before your app/plug-in gets any information from KP2A, the user will have to grant your app/plug-in access to KP2A. As not every app/plug-in requires access to all information, you must specify which scopes are required by your app. The implemented scopes can be found in [https://keepass2android.codeplex.com/SourceControl/latest#src/java/Keepass2AndroidPluginSDK/src/keepass2android/pluginsdk/Strings.java](https://keepass2android.codeplex.com/SourceControl/latest#src/java/Keepass2AndroidPluginSDK/src/keepass2android/pluginsdk/Strings.java).
To tell Kp2a that you're a plug-in, you need to add a simple BroadcastReceiver like this:
```java
public class PluginAAccessReceiver extends keepass2android.pluginsdk.PluginAccessBroadcastReceiver
{
@Override
public ArrayList<String> getScopes() {
ArrayList<String> scopes = new ArrayList<String>();
scopes.add(Strings.SCOPE_DATABASE_ACTIONS);
scopes.add(Strings.SCOPE_CURRENT_ENTRY);
return scopes;
}
}
```
Here, you define the method getScopes where the list of scopes is created which must be granted by the user. The actual logic of the authorization process is implemented by the base class in the sdk.
In order to make this broadcast receiver visible to KP2A, add the following lines (probably with the name adapted to your class name) in the AndroidManifest.xml:
```xml
<receiver android:name="PluginAAccessReceiver" android:exported="true">
<intent-filter>
<action android:name="keepass2android.ACTION_TRIGGER_REQUEST_ACCESS" />
<action android:name="keepass2android.ACTION_RECEIVE_ACCESS" />
<action android:name="keepass2android.ACTION_REVOKE_ACCESS" />
</intent-filter>
</receiver>
```
Please also add a few strings in your resource files (e.g. strings.xml) with the following keys:
```xml
<string name="kp2aplugin_title">The Great PluginA</string>
<string name="kp2aplugin_shortdesc">Test plugin to demonstrate how plugins work</string>
<string name="kp2aplugin_author">[your name here](your-name-here)</string>
```
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)).
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)
## Querying credentials
KP2A 0.9.4 adds a great opportunity for third party apps: Instead of prompting the user to enter credentials or a passphrase, the app should try to get the data from KP2A if it is installed: If the user grants (or previously granted) access for the app, KP2A will automatically retrieve the matching entry. User action is only required if the KP2A database is locked (user will usually unlock it with the short QuickUnlock code) or if no matching entry is found (user can then create a new entry or select an existing one. in the latter case KP2A will offer to add entry information so that the entry will be found automatically next time).
To implement this, simply follow the steps descrIbed above in the sections Preparation and Authorization. Then, wherever appropriate in your app, do something like this:
```java
try
{
PlaceholderFragment.this.startActivityForResult(
Kp2aControl.getQueryEntryIntentForOwnPackage(),
1);
}
catch (ActivityNotFoundException e)
{
Toast.makeText(
PlaceholderFragment.this.getActivity(),
"no KP2A host app found",
Toast.LENGTH_SHORT).show();
}
```
(of course you can use `PacketManager` to check if the intent can be started instead of catching the `Exception`).
Instead of querying credentials associated with your own app, you might want to query other credentials as well. instead of `KpControl.getQueryEntryIntentForOwnPackage()` use
`Kp2aControl.getQueryEntryIntent("google.com")`
This requires \{"SCOPE_QUERY_CREDENTIALS (whereas getQueryEntryIntentForOwnPackage() requires SCOPE_QUERY_CREDENTIALS_FOR_OWN_PACKAGE)"\}.
The credential data can be retrieved in onActivityResult():
```java
if ((requestCode == 1) //queryEntry for own package
&& (resultCode == RESULT_OK)) // ensure user granted access and selected something
{
HashMap<String, String> credentials = Kp2aControl.getEntryFieldsFromIntent(data);
if (!credentials.isEmpty())
{
//here we go!
Toast.makeText(
getActivity(),
"retrieved credenitals! Username="+credentials.get(KeepassDefs.UserNameField),
Toast.LENGTH_LONG).show();
}
}
```
Note that you get access to all strings (Title, Username, Password, URL, Notes + any user defined strings) in the entry. This may be in intersting in combination with the following section:
## Storing data in KP2A
If you allow the user to set up an account in your app or create a password, e.g. for encryption, please add an option to store this data in the Keepass2Android database, as this will lead to great workflows for the user. It's as simple as
```java
try {
HashMap<String, String> fields = new HashMap<String, String>();
//standard fields
fields.put(KeepassDefs.TitleField, "plugin A");
fields.put(KeepassDefs.UserNameField, "John Doe");
fields.put(KeepassDefs.PasswordField, "top secret");
//associate entry with our app. If we would require the URL field for a web URL,
//this string could be added in any other (e.g. a custom) field
fields.put(KeepassDefs.UrlField, "androidapp://"+getActivity().getPackageName());
//custom field:
fields.put(PLUGIN_A_PASSPHRASE, "some long text");
//mark custom field as protected (i.e. display masked, enable memory protection in Keepass2)
ArrayList<String> protectedFields = new ArrayList<String>();
protectedFields.add(PLUGIN_A_PASSPHRASE);
//add to KP2A
PlaceholderFragment.this.startActivityForResult(
Kp2aControl.getAddEntryIntent(fields, protectedFields),
2);
} catch (ActivityNotFoundException e) {
Toast.makeText(
PlaceholderFragment.this.getActivity(),
"no KP2A host app found",
Toast.LENGTH_SHORT).show();
}
```
Note that this does not even require access authorization because the user will actively save the entry anyways (after selecting the group where to create it.)
## Get information about database actions
With {"SCOPE_DATABASE_ACTIONS"}, you will be informed when the user opens, closes, locks or unlocks the database including the file name information.
PluginA uses this to simply display a toast message in its ActionReceiver:
```java
@Override
protected void dbAction(DatabaseAction db) {
Log.d("PluginA", db.getAction() + " in file " + db.getFileDisplayName() + " ("+db.getFilePath()+")");
}
```
## Sample plugin
Most example code from above is taken from the simple sample plugin "PluginA" as can be found on [https://keepass2android.codeplex.com/SourceControl/latest#src/java/PluginA/](https://keepass2android.codeplex.com/SourceControl/latest#src/java/PluginA/)

View File

@@ -1,31 +0,0 @@
<div class="wikidoc">
<h1>How to use Keepass2Android with YubiKey NEO</h1>
<p>Please refer to the documentation on the Keepass website (<a href="http://keepass.info/help/kb/yubikey.html">http://keepass.info/help/kb/yubikey.html</a>) or the Yubico website (<a href="http://www.yubico.com/applications/password-management/consumer/keepass/">http://www.yubico.com/applications/password-management/consumer/keepass/</a>)
on how to set up a Keepass 2 database with Yubikey/OTP protection.<br>
<br>
After successful setup you should have the database file, e.g. yubi.kdbx, and the OTP auxiliary file, e.g. yubi.otp.xml, both in the same folder.<br>
<a href="How to use Keepass2Android with YubiKey NEO_OTPAuxFile_2.png"><img title="OTPAuxFile" src="How to use Keepass2Android with YubiKey NEO_OTPAuxFile_thumb.png" alt="OTPAuxFile" width="513" height="40" border="0" style="padding-top:0px; padding-left:0px; display:inline; padding-right:0px; border:0px"></a></p>
<p>Make sure you make <strong>both files</strong> available to Keepass2Android, e.g. by placing them both in your Dropbox.</p>
<p>Now you should check your NDEF setup of the Yubikey NEO. Therefore, go to the Tools menu in the Yubico Personalization Utility. Select the same slot as used for OTPs with Keepass 2. The default setting for NDEF type and payload should work. If you experience
problems, you may use the configuration as shown in this screenshot or simply press the &ldquo;Reset&rdquo; button:</p>
<p><a href="How to use Keepass2Android with YubiKey NEO_image_2.png"><img title="image" src="How to use Keepass2Android with YubiKey NEO_image_thumb.png" alt="image" width="760" height="622" border="0" style="padding-top:0px; padding-left:0px; display:inline; padding-right:0px; border:0px"></a></p>
<p><br>
<br>
In Keepass2Android, select &quot;Open file&quot; and locate your database file, e.g. yubi.kdbx.<br>
<br>
In the password screen under &quot;Select master key type&quot; select &quot;Password &#43; OTP&quot;.</p>
<p><a href="How to use Keepass2Android with YubiKey NEO_Screenshot_2013-12-13-06-38-50_2.png"><img title="Screenshot_2013-12-13-06-38-50" src="How to use Keepass2Android with YubiKey NEO_Screenshot_2013-12-13-06-38-50_thumb.png" alt="Screenshot_2013-12-13-06-38-50" width="204" height="360" border="0" style="padding-top:0px; padding-left:0px; display:inline; padding-right:0px; border:0px"></a></p>
<p>Click &quot;Load auxiliary OTP file&quot;. This is required to load the information how many OTPs must be entered. As loading the file might require user action in some cases, this is not performed automatically.<br>
<a href="How to use Keepass2Android with YubiKey NEO_Screenshot_2013-12-13-06-38-12_2.png"><img title="Screenshot_2013-12-13-06-38-12" src="How to use Keepass2Android with YubiKey NEO_Screenshot_2013-12-13-06-38-12_thumb.png" alt="Screenshot_2013-12-13-06-38-12" width="204" height="360" border="0" style="padding-top:0px; padding-left:0px; display:inline; padding-right:0px; border:0px"></a><br>
After loading the OTP auxiliary file, you should see a few text fields for entering the OTPs. Now swipe your YubiKey NEO at the back of your Android device. If you have multiple apps which can handle NFC actions, you might be prompted to select which app to
use. Select Keepass2Android in this case. Swipe your YubiKey again until all OTP fields are filled. Note: You don't need to select the next text field, this is done automatically!<br>
<a href="How to use Keepass2Android with YubiKey NEO_Screenshot_2013-12-13-06-38-36_2.png"><img title="Screenshot_2013-12-13-06-38-36" src="How to use Keepass2Android with YubiKey NEO_Screenshot_2013-12-13-06-38-36_thumb.png" alt="Screenshot_2013-12-13-06-38-36" width="204" height="360" border="0" style="padding-top:0px; padding-left:0px; display:inline; padding-right:0px; border:0px"></a><br>
Don't forget to also enter your password and click OK. You will see the &ldquo;Saving auxiliary OTP file&hellip;&rdquo; dialog. Note that there is some encryption envolved which is probably fast on your PC but might take some time on your mobile device. You
can reduce the look-ahead window length to speed this up.<br>
<a href="How to use Keepass2Android with YubiKey NEO_Screenshot_2013-12-13-06-39-47_2.png"><img title="Screenshot_2013-12-13-06-39-47" src="How to use Keepass2Android with YubiKey NEO_Screenshot_2013-12-13-06-39-47_thumb.png" alt="Screenshot_2013-12-13-06-39-47" width="204" height="360" border="0" style="padding-top:0px; padding-left:0px; display:inline; padding-right:0px; border:0px"></a></p>
<h2>&nbsp;</h2>
<h2>A note about offline access</h2>
<p>If your database is stored in the cloud or on the web, you can still access it if you have enabled file caching (which is on by default). With OTPs, this becomes a little bit more complicated: If you repeatedly open your datbase while being offline, the
OTP counter stored on the Yubikey will be increased. Don&rsquo;t forget to synchronize the database (which will also synchronize the OTP auxiliary file) as soon as possible to avoid problems with accessing your database on other devices! If you often need
to open the database while you&rsquo;re offline, consider increasing the look-ahead window length!</p>
</div><div class="ClearBoth"></div>

View File

@@ -1,25 +0,0 @@
Keepass2Android's apk is pretty big, e.g. when comparing to Keepassdroid. The main difference is that Keepass2Android is built on Mono for Android. Mono is an open-source implementation of the Microsoft .Net Framework (installed on pretty much every Windows PC). On Windows, the .net framework requires several hundred MB (but only once, not for every application). On Android devices, Mono is not installed globally. Instead, it is packaged into every app. The more features from Mono are required, the bigger the package becomes.
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
Google libraries 0.8 MB
(for Drive support)
Resources Strings, Icons.. 2.1 MB
Password Font 0.2 MB
Java Code including Dropbox 1.1 MB
GDrive, SkyDrive
libraries
Keepass library 0.2 MB
Keepass2Android Code 0.3 MB
Java/Mono bindings 0.5 MB
rest 0.3 MB
TOTAL 13 MB
```

View File

@@ -1,20 +0,0 @@
Google has introduced the Android Autofill interface in Android 8. Keepass2Android supports this interface. In most Android apps and all Autofill-enabled browsers, this is the most convenient way of entering passwords. As soon as you focus a field, you will see a popup "Fill with Keepass2Android".
<img src="autofill-facebook.png" />
After clicking this popup, you can unlock your KP2A database. If automatic look up succeeds, KP2A will close automatically, if not you are prompted to select the entry you want to auto-fill. When returning to the target app, the fields should be filled automatically already.
As of January 2018, the following browsers are known to have Android Autofill support:
* Firefox Focus / Firefox Klar
* Opera Mini
These browsers do not (yet) have autofill support:
* Google Chrome
* Firefox for Android ([bugzilla entry](https://bugzilla.mozilla.org/show_bug.cgi?id=1352011))
* Brave-Browser
* Opera
Please use the Share-URL-feature and the built-in KP2A keyboard for these browsers.

View File

@@ -1,23 +1 @@
# Who we are
Philipp Crocoll
Wallonenstr. 4
76297 Stutensee
Germany
is the author of Keepass2Android and Keepass2Android Offline.
# What data is collected?
The contents of your password database is yours and is never collected by us. Keepass2Android stores this data on a location chosen by the user and encrypted in the Keepass database format. The app author does not have any access, neither to the files nor the contents. Depending on the user's choice of the storage location, the files may be stored on third-party servers like Dropbox or Google Drive.
Keepass2Android does not collect personal identifiable information. For debugging purposes, the user may activate creating a debug log. This collects data inside the app and is not accessible to any other app nor the author of the app, unless the user explicitly sends the debug log to the author. Debug logs usually do not contain personal identifiable information, except if such information is part of file or folder names. Debug logs will not be shared with third parties unless explicitly authorized by the sender.
# What Android permissions are required?
* **Internet** (Keepass2Android regular only): Required to allow the user to read/store password databases or key files on remote locations, e.g. Dropbox or via WebDav.
* **Contacts/Accounts** (Keepass2Android regular only): Required by the Google Drive SDK. If you want to access files on Google Drive, you are prompted to select one of the Google Accounts on your phone to use. The permission is required to query the list of Google accounts on the device. Keepass2Android does not access your personal contacts.
* **Storage**: Required to allow the user to read/store password databases or key files on the device locally.
* **Fingerprint**: Required if you want to use fingerprint unlock.
* **Vibrate**: Required by the built-in keyboard (vibrate on key press)
This page has been moved to the [wiki](https://github.com/PhilippC/keepass2android/wiki/Privacy-Policy)

View File

@@ -1,9 +1,9 @@
<h1 align="center"><img src="/src/keepass2android/Resources/mipmap-xxxhdpi/ic_launcher_online.png" align="center" width="100" alt="Keepass2Android Logo">Keepass2Android</h1>
<h1 align="center"><img src="/src/keepass2android-app/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.
Keepass2Android is a password manager app. It allows to store and retrieve passwords and other sensitive information in a file called "database", secured with a strong key.
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 2.x and KeepassXC on PCs as well as many other KeePass ports for a variety of platforms.
# Where to get it?
Regular stable releases of Keepass2Android are available on [Google Play](https://play.google.com/store/apps/details?id=keepass2android.keepass2android).
@@ -11,12 +11,13 @@ Regular stable releases of Keepass2Android are available on [Google Play](https:
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)
* Help to translate Keepass2Android into your language or improve translations at [our Crowdin page](https://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)
* [Make a donation](https://philipp.crocoll.net/donate.php)
# How do I learn more?
Please see the [documentation](Documentation.md).
Please see the [wiki](https://github.com/PhilippC/keepass2android/wiki/Documentation) for further information.
[![Build Status](https://www.bitrise.io/app/43a23ab54dee9f7e/status.svg?token=2vryTsMQzTX3XRPikhgRwA&branch=master)](https://www.bitrise.io/app/43a23ab54dee9f7e)
<img src="https://github.com/PhilippC/keepass2android/actions/workflows/build.yml/badge.svg" alt="build status" /> [Build status](https://github.com/PhilippC/keepass2android/actions)

View File

@@ -1 +0,0 @@
theme: jekyll-theme-slate

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

39
graphics/add_key.svg Normal file
View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 24 24"
id="vector"
version="1.1"
sodipodi:docname="add_key.svg"
xml:space="preserve"
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs1" /><sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="23.953242"
inkscape:cx="12.315661"
inkscape:cy="15.509383"
inkscape:window-width="1920"
inkscape:window-height="1009"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="vector" /><path
id="path"
d="M 10.713223,9.3111931 C 10.058635,7.4512054 8.2864577,6.1180811 6.2029521,6.1180811 c -2.6423001,0 -4.7896679,2.1473678 -4.7896679,4.7896679 0,2.6423 2.1473678,4.789668 4.7896679,4.789668 2.0835056,0 3.8556829,-1.333124 4.5102709,-3.193112 h 3.472509 v 3.193112 c 0.287003,0 -0.146251,0.0043 0.592486,0.0043 0.662368,-1.733234 2.204981,-2.868561 4.118569,-2.847515 l 0.108132,0.0043 -0.02952,-3.5473559 z M 6.2029521,12.504305 c -0.8781058,0 -1.5965559,-0.718451 -1.5965559,-1.596556 0,-0.878106 0.7184501,-1.5965559 1.5965559,-1.5965559 0.8781057,0 1.596556,0.7184499 1.596556,1.5965559 0,0.878105 -0.7184503,1.596556 -1.596556,1.596556 z"
fill="none"
style="fill:#000000;stroke-width:0.798278"
sodipodi:nodetypes="csssccccccccsssss" /><path
id="path-3"
d="M 19.160885,15.206642 H 18.38893 v 1.543912 h -1.543912 v 0.771955 h 1.543912 v 1.543912 h 0.771955 v -1.543912 h 1.543912 v -0.771955 h -1.543912 z m -0.385978,-1.929889 c -2.130597,0 -3.859778,1.729181 -3.859778,3.859778 0,2.130598 1.729181,3.859779 3.859778,3.859779 2.130598,0 3.859779,-1.729181 3.859779,-3.859779 0,-2.130597 -1.729181,-3.859778 -3.859779,-3.859778 z m 0,6.947601 c -1.702162,0 -3.087823,-1.38566 -3.087823,-3.087823 0,-1.702162 1.385661,-3.087823 3.087823,-3.087823 1.702163,0 3.087823,1.385661 3.087823,3.087823 0,1.702163 -1.38566,3.087823 -3.087823,3.087823 z"
fill="none"
style="fill:#000000;stroke-width:0.385978" /></svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

41
graphics/donate_beer.svg Normal file
View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 24 24"
id="vector"
version="1.1"
sodipodi:docname="donate_beer.svg"
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
xml:space="preserve"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs1" /><sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="23.953242"
inkscape:cx="-2.1708961"
inkscape:cy="8.5792145"
inkscape:window-width="1920"
inkscape:window-height="1009"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="vector" /><path
d="m 19.122138,7.2306214 h -1.653647 c 0.297658,-0.6614585 0.46302,-1.0583336 0.46302,-1.6205737 0,-1.5213554 -1.2237,-2.778126 -2.71198,-2.8442725 -0.595314,-0.7606784 -1.521356,-1.2237001 -2.513544,-1.2237001 -0.628386,0 -1.2237,0.1653664 -1.752865,0.496095 -0.66146,-0.595312 -1.4882844,-1.09140704 -2.4144154,-1.09140704 -1.2567704,0 -2.4803818,0.79375024 -3.1750024,1.81892344 -1.2898439,0.2315116 -2.2821211,1.3890637 -2.2821211,2.7449667 0,0.7606771 0.2976567,1.4552087 0.8268236,1.9843756 V 21.121082 c 0,0.56224 0.3638031,0.992188 0.8929686,0.992188 H 16.145308 c 0.56224,0 0.992188,-0.429948 0.992188,-0.992188 v -1.322918 h 1.984377 c 0.926043,0 1.653646,-0.859896 1.653646,-1.752866 V 8.7187289 c 0,-0.9260419 -0.760676,-1.4882835 -1.653646,-1.4882835 z m -2.742001,3.4534426 -0.403803,6.23289 1.161425,0.235551 z M 8.5387954,1.9389516 c 1.0252612,0 1.8852456,0.6945319 2.3480906,1.5213555 0.396876,-0.5622402 1.058335,-0.9591153 1.818925,-0.9591153 0.79375,0 1.521354,0.4299469 1.885246,1.0914069 0.03307,0.066146 0.06615,0.09922 0.09922,0.1653651 0.132293,-0.033074 0.264583,-0.066146 0.429949,-0.066146 0.992188,0 1.818922,0.7937502 1.818922,1.8189248 0,0.6283853 -0.297656,1.157552 -0.79375,1.4882805 -0.297657,0.1984382 -0.628386,0.33073 -1.025262,0.33073 -0.562239,0 -1.058334,-0.2645835 -1.389064,-0.6614585 -0.297656,0.1653651 -0.661458,0.2645848 -1.025259,0.2645848 -0.661459,0 -1.289848,-0.297658 -1.686721,-0.7937515 C 10.556071,7.0651695 9.5969562,7.7266281 8.5055494,7.7266281 7.8440909,7.7266281 7.2157042,7.495118 6.752684,7.0982428 6.4881014,7.2305357 6.223518,7.3297527 5.8927893,7.3297527 5.5289861,7.3297527 5.1982576,7.2305331 4.9006008,7.032096 4.4045017,6.7013675 4.073773,6.1391272 4.073773,5.510742 c 0,-0.99219 0.7937503,-1.8189248 1.8189234,-1.8189248 h 0.066146 c 0.033074,-0.033074 0.033074,-0.09922 0.066147,-0.1322931 0.4630217,-0.8598969 1.4552103,-1.620574 2.513544,-1.620574 z M 7.0663448,10.173751 C 7.3454436,9.6502765 7.6191839,9.77712 7.850694,9.7109719 c 0.7287987,-0.097569 -0.2443734,0.033155 0.4171739,0.033155 1.0583336,0 -0.3223139,-0.092452 0.4673072,-0.058644 0.9864968,-0.054022 0.2018914,-0.2044859 0.7061633,-0.044083 0.6347356,0.2019011 0.6968396,0.5726311 0.9614236,0.5064841 0.463021,0.330729 0.963735,-0.3189756 1.525975,-0.3189756 0.363803,0 0.835316,-0.4743211 1.557892,0.1118782 L 14.664387,10.833358 14.395185,14.364324 10.64269,17.493095 9.1598621,15.996034 7.5547275,14.287026 C 7.8523853,14.419319 6.3897465,11.864369 6.6189488,10.45106 Z m -2.1655736,10.947507 0.095178,0.247507 H 16.193161 l -0.04759,-0.247507 z M 19.439483,17.51402 c 0.0013,0.363801 -0.297718,0.767343 -0.661459,0.760677 l -1.610745,-0.02952 0.02379,-0.611478 c -0.03594,-3.690037 -0.05332,-2.690499 -0.05332,-8.9386516 l 1.610745,3e-7 c 0.363802,10e-8 0.660168,0.1322954 0.661459,0.496095 z"
id="path4"
style="stroke-width:0.0176389"
sodipodi:nodetypes="ccscscscscsssscsssccccccscsccsssscscscssssccssccscscscccccccccccccsscccsss" /><g
style="fill:none"
id="g1"
transform="matrix(0.46698189,0,0,0.46698189,15.656847,1.4036426)"><path
d="m -10.266621,19.230782 c 0.9810002,-1.152 2.4840002,-1.881 4.0500002,-1.881 2.772,0 4.95,2.178 4.95,4.95 0,3.3992 -3.055,6.1695 -7.6836,10.3667 l -0.0114,0.0103 -1.3050002,1.188 -1.305,-1.179 -0.0355,-0.0323 c -4.61513,-4.1939 -7.6595,-6.9604 -7.6595,-10.3537 0,-2.772 2.178,-4.95 4.95,-4.95 1.566,0 3.069,0.729 4.05,1.881 z"
fill="#000000"
id="path1"
style="fill:none;stroke:#000000;stroke-width:1.97721;stroke-dasharray:none" /></g></svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

40
graphics/donate_beer1.svg Normal file
View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 24 24"
id="vector"
version="1.1"
sodipodi:docname="donate_beer.svg"
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
xml:space="preserve"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs1" /><sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="11.976621"
inkscape:cx="-16.532209"
inkscape:cy="17.158429"
inkscape:window-width="1920"
inkscape:window-height="1009"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="vector" /><path
d="m 18.43668,7.522128 h -1.450694 c 0.261126,-0.580277 0.406194,-0.9284433 0.406194,-1.4216791 0,-1.334638 -1.073514,-2.4371639 -2.379137,-2.4951922 -0.52225,-0.6673196 -1.334638,-1.0735142 -2.205054,-1.0735142 -0.551263,0 -1.073514,0.1450708 -1.537734,0.4352088 C 10.689977,2.4447025 9.9646292,2.0094937 9.1521632,2.0094937 c -1.1025258,0 -2.1759622,0.6963325 -2.7853313,1.5956852 -1.1315401,0.2030979 -2.0020342,1.2185825 -2.0020342,2.4080743 0,0.6673184 0.261125,1.2766095 0.7253467,1.7408312 V 19.707799 c 0,0.493236 0.3191533,0.870416 0.7833738,0.870416 h 9.9516808 c 0.493236,0 0.870416,-0.37718 0.870416,-0.870416 v -1.160555 h 1.740832 c 0.812389,0 1.450693,-0.75436 1.450693,-1.537735 V 8.8275986 c 0,-0.8123879 -0.667318,-1.305625 -1.450693,-1.305625 z m -1.740834,2.3211109 h 0.870417 V 16.226289 H 16.695846 Z M 9.1522411,2.87991 c 0.8994299,0 1.6538679,0.6092913 2.0599069,1.334638 0.348167,-0.4932359 0.928444,-0.8414021 1.595687,-0.8414021 0.696332,0 1.334636,0.3771791 1.653868,0.9574575 0.02901,0.058028 0.05803,0.087042 0.08704,0.1450696 0.116057,-0.029014 0.232111,-0.058028 0.377181,-0.058028 0.870416,0 1.595685,0.6963325 1.595685,1.5956864 0,0.5512629 -0.261125,1.0154846 -0.696333,1.3056224 -0.261125,0.1740837 -0.551264,0.2901392 -0.89943,0.2901392 -0.493235,0 -0.928444,-0.2321109 -1.218583,-0.580277 -0.261125,0.1450696 -0.580277,0.232112 -0.899429,0.232112 -0.580277,0 -1.131543,-0.2611262 -1.479708,-0.6963337 -0.406195,0.8123878 -1.247597,1.3926649 -2.2050543,1.3926649 -0.5802771,0 -1.1315413,-0.2030966 -1.5377346,-0.5512629 C 7.353227,7.5220527 7.1211162,7.6090927 6.8309782,7.6090927 6.5118249,7.6090927 6.221687,7.5220507 5.9605619,7.3479677 5.5253532,7.0578299 5.2352152,6.564594 5.2352152,6.0133311 c 0,-0.8704176 0.6963326,-1.5956864 1.5956852,-1.5956864 h 0.058028 C 6.9179429,4.3886305 6.9179429,4.3306021 6.9469571,4.301588 7.3531517,3.5472271 8.223568,2.8799087 9.1520113,2.8799087 Z M 6.8311314,8.4796646 c 0.2030967,0 0.4352088,-0.029014 0.6383054,-0.087043 0.4932346,0.2901392 1.073513,0.4352075 1.653868,0.4352075 0.9284432,0 1.7988592,-0.3771791 2.4080732,-1.0154846 0.406195,0.2030967 0.841402,0.3191521 1.305625,0.3191521 0.232111,0 0.493235,-0.029014 0.725346,-0.087043 0.406194,0.2901379 0.89943,0.4352088 1.392666,0.4352088 0.319153,0 0.609291,-0.058028 0.899431,-0.1740838 v 9.2553464 0.116057 0.290139 H 5.9606373 V 8.3054252 C 6.2217635,8.4214819 6.5119015,8.479509 6.8310548,8.479509 Z M 5.9607151,19.707953 v -1.160554 h 9.8647159 v 1.160554 z M 19.016957,17.009586 c 0,0.319153 -0.261125,0.667319 -0.580277,0.667319 H 16.695846 V 16.80649 h 0.870417 c 0.319152,0 0.580278,-0.406195 0.580278,-0.725348 V 9.6980915 c 0,-0.3191521 -0.261126,-0.4352088 -0.580278,-0.4352088 h -0.870417 v -0.870415 h 1.740834 c 0.319152,0 0.580277,0.1160567 0.580277,0.4352088 z"
id="path4"
style="stroke-width:0.0154741" /><g
style="fill:none"
id="g1"
transform="matrix(0.40966874,0,0,0.40966874,6.107757,8.1297763)"><path
d="M 12,5.881 C 12.981,4.729 14.484,4 16.05,4 18.822,4 21,6.178 21,8.95 c 0,3.3992 -3.055,6.1695 -7.6836,10.3667 L 13.305,19.327 12,20.515 10.695,19.336 10.6595,19.3037 C 6.04437,15.1098 3,12.3433 3,8.95 3,6.178 5.178,4 7.95,4 9.516,4 11.019,4.729 12,5.881 Z"
fill="#000000"
id="path1"
style="fill:none;stroke:#000000;stroke-width:1.97720724;stroke-dasharray:none" /></g></svg>

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Xamarin.GooglePlayServices" version="27.0.0.0" />
</packages>

View File

@@ -1,48 +0,0 @@
Additions allow you to add arbitrary C# to the generated classes
before they are compiled. This can be helpful for providing convenience
methods or adding pure C# classes.
== Adding Methods to Generated Classes ==
Let's say the library being bound has a Rectangle class with a constructor
that takes an x and y position, and a width and length size. It will look like
this:
public partial class Rectangle
{
public Rectangle (int x, int y, int width, int height)
{
// JNI bindings
}
}
Imagine we want to add a constructor to this class that takes a Point and
Size structure instead of 4 ints. We can add a new file called Rectangle.cs
with a partial class containing our new method:
public partial class Rectangle
{
public Rectangle (Point location, Size size) :
this (location.X, location.Y, size.Width, size.Height)
{
}
}
At compile time, the additions class will be added to the generated class
and the final assembly will a Rectangle class with both constructors.
== Adding C# Classes ==
Another thing that can be done is adding fully C# managed classes to the
generated library. In the above example, let's assume that there isn't a
Point class available in Java or our library. The one we create doesn't need
to interact with Java, so we'll create it like a normal class in C#.
By adding a Point.cs file with this class, it will end up in the binding library:
public class Point
{
public int X { get; set; }
public int Y { get; set; }
}

View File

@@ -1,82 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{3C0F7FE5-639F-4422-A087-8B26CF862D1B}</ProjectGuid>
<ProjectTypeGuids>{10368E6C-D01B-4462-8E8B-01FC667A7035};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>AndroidFileChooserBinding</RootNamespace>
<AssemblyName>AndroidFileChooserBinding</AssemblyName>
<FileAlignment>512</FileAlignment>
<TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AndroidLinkMode>None</AndroidLinkMode>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseNoNet|AnyCPU'">
<OutputPath>bin\ReleaseNoNet\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
<WarningLevel>4</WarningLevel>
<TargetFramework>net8.0-android</TargetFramework>
<SupportedOSPlatformVersion>21</SupportedOSPlatformVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<Reference Include="Mono.Android" />
<Reference Include="System" />
<Reference Include="System.Core" />
<None Remove="Transforms\EnumFields.xml" />
<None Remove="Transforms\EnumMethods.xml" />
<None Remove="Transforms\Metadata.xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<LibraryProjectZip Include="..\java\android-filechooser-AS\app\build\outputs\aar\android-filechooser-release.aar">
<Link>Jars\android-filechooser-release.aar</Link>
</LibraryProjectZip>
<None Include="Jars\AboutJars.txt" />
<None Include="Additions\AboutAdditions.txt" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<TransformFile Include="Transforms\Metadata.xml" />
<TransformFile Include="Transforms\EnumFields.xml" />
<TransformFile Include="Transforms\EnumMethods.xml" />
</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.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<ItemGroup>
<XamarinComponentReference Include="xamandroidsupportv4-18">
<Version>20.0.0.4</Version>
<Visible>False</Visible>
</XamarinComponentReference>
<AndroidLibrary Include="..\java\android-filechooser-AS\app\build\outputs\aar\android-filechooser-release.aar" Link="android-filechooser-release.aar" />
</ItemGroup>
</Project>

View File

@@ -1,24 +0,0 @@
This directory is for Android .jars.
There are 2 types of jars that are supported:
== Input Jar ==
This is the jar that bindings should be generated for.
For example, if you were binding the Google Maps library, this would
be Google's "maps.jar".
Set the build action for these jars in the properties page to "InputJar".
== Reference Jars ==
These are jars that are referenced by the input jar. C# bindings will
not be created for these jars. These jars will be used to resolve
types used by the input jar.
NOTE: Do not add "android.jar" as a reference jar. It will be added automatically
based on the Target Framework selected.
Set the build action for these jars in the properties page to "ReferenceJar".

View File

@@ -1,30 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AndroidFileChooserBinding")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("AndroidFileChooserBinding")]
[assembly: AssemblyCopyright("Copyright © 2013")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -1,14 +1,3 @@
<enum-field-mappings>
<!--
This example converts the constants Fragment_id, Fragment_name,
and Fragment_tag from android.support.v4.app.FragmentActivity.FragmentTag
to an enum called Android.Support.V4.App.FragmentTagType with values
Id, Name, and Tag.
<mapping jni-class="android/support/v4/app/FragmentActivity$FragmentTag" clr-enum-type="Android.Support.V4.App.FragmentTagType">
<field jni-name="Fragment_name" clr-name="Name" value="0" />
<field jni-name="Fragment_id" clr-name="Id" value="1" />
<field jni-name="Fragment_tag" clr-name="Tag" value="2" />
</mapping>
-->
</enum-field-mappings>

View File

@@ -1,13 +1,3 @@
<enum-method-mappings>
<!--
This example changes the Java method:
android.support.v4.app.Fragment.SavedState.writeToParcel (int flags)
to be:
android.support.v4.app.Fragment.SavedState.writeToParcel (Android.OS.ParcelableWriteFlags flags)
when bound in C#.
<mapping jni-class="android/support/v4/app/Fragment.SavedState">
<method jni-name="writeToParcel" parameter="flags" clr-enum-type="Android.OS.ParcelableWriteFlags" />
</mapping>
-->
</enum-method-mappings>

View File

@@ -4,19 +4,4 @@
<remove-node path="/api/package[@name='group.pals.android.lib.ui.filechooser.prefs']" />
<!--
<remove-node path="/api/package[@name='group.pals.android.lib.ui.filechooser']/class[@name='FragmentFiles']" />
<remove-node path="/api/package[@name='group.pals.android.lib.ui.filechooser.utils.ui.bookmark']/class[@name='BookmarkFragment']" />
<remove-node path="/api/package[@name='group.pals.android.lib.ui.filechooser.utils.ui.history']/class[@name='HistoryFragment']" />
<remove-node path="/api/package[@name='group.pals.android.lib.ui.filechooser.prefs']/class[@name='DisplayPrefs']" />
This sample removes the class: android.support.v4.content.AsyncTaskLoader.LoadTask:
<remove-node path="/api/package[@name='android.support.v4.content']/class[@name='AsyncTaskLoader.LoadTask']" />
This sample removes the method: android.support.v4.content.CursorLoader.loadInBackground:
<remove-node path="/api/package[@name='android.support.v4.content']/class[@name='CursorLoader']/method[@name='loadInBackground']" />
-->
</metadata>

View File

@@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
</packages>

View File

@@ -1,48 +0,0 @@
Additions allow you to add arbitrary C# to the generated classes
before they are compiled. This can be helpful for providing convenience
methods or adding pure C# classes.
== Adding Methods to Generated Classes ==
Let's say the library being bound has a Rectangle class with a constructor
that takes an x and y position, and a width and length size. It will look like
this:
public partial class Rectangle
{
public Rectangle (int x, int y, int width, int height)
{
// JNI bindings
}
}
Imagine we want to add a constructor to this class that takes a Point and
Size structure instead of 4 ints. We can add a new file called Rectangle.cs
with a partial class containing our new method:
public partial class Rectangle
{
public Rectangle (Point location, Size size) :
this (location.X, location.Y, size.Width, size.Height)
{
}
}
At compile time, the additions class will be added to the generated class
and the final assembly will a Rectangle class with both constructors.
== Adding C# Classes ==
Another thing that can be done is adding fully C# managed classes to the
generated library. In the above example, let's assume that there isn't a
Point class available in Java or our library. The one we create doesn't need
to interact with Java, so we'll create it like a normal class in C#.
By adding a Point.cs file with this class, it will end up in the binding library:
public class Point
{
public int X { get; set; }
public int Y { get; set; }
}

View File

@@ -1,69 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{23233A28-D74F-4BF8-B4D8-834060840BD7}</ProjectGuid>
<ProjectTypeGuids>{10368E6C-D01B-4462-8E8B-01FC667A7035};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>AppCompatV7Binding</RootNamespace>
<AssemblyName>AppCompatV7Binding</AssemblyName>
<FileAlignment>512</FileAlignment>
<TargetFrameworkVersion>v2.2</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseNoNet|AnyCPU'">
<OutputPath>bin\ReleaseNoNet\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="Mono.Android" />
<Reference Include="System" />
<Reference Include="System.Core" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="Jars\AboutJars.txt" />
<None Include="Additions\AboutAdditions.txt" />
<LibraryProjectZip Include="project_appcompatv7.zip" />
</ItemGroup>
<ItemGroup>
<TransformFile Include="Transforms\Metadata.xml" />
<TransformFile Include="Transforms\EnumFields.xml" />
<TransformFile Include="Transforms\EnumMethods.xml" />
</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.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@@ -1,24 +0,0 @@
This directory is for Android .jars.
There are 2 types of jars that are supported:
== Input Jar ==
This is the jar that bindings should be generated for.
For example, if you were binding the Google Maps library, this would
be Google's "maps.jar".
Set the build action for these jars in the properties page to "InputJar".
== Reference Jars ==
These are jars that are referenced by the input jar. C# bindings will
not be created for these jars. These jars will be used to resolve
types used by the input jar.
NOTE: Do not add "android.jar" as a reference jar. It will be added automatically
based on the Target Framework selected.
Set the build action for these jars in the properties page to "ReferenceJar".

View File

@@ -1,30 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AppCompatV7Binding")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("AppCompatV7Binding")]
[assembly: AssemblyCopyright("Copyright © 2013")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -1,9 +0,0 @@
<metadata>
<!--
This sample removes the class: android.support.v4.content.AsyncTaskLoader.LoadTask:
<remove-node path="/api/package[@name='android.support.v4.content']/class[@name='AsyncTaskLoader.LoadTask']" />
This sample removes the method: android.support.v4.content.CursorLoader.loadInBackground:
<remove-node path="/api/package[@name='android.support.v4.content']/class[@name='CursorLoader']/method[@name='loadInBackground']" />
-->
</metadata>

View File

@@ -1,4 +1,4 @@
Additions allow you to add arbitrary C# to the generated classes
Additions allow you to add arbitrary C# to the generated classes
before they are compiled. This can be helpful for providing convenience
methods or adding pure C# classes.
@@ -11,9 +11,9 @@ this:
public partial class Rectangle
{
public Rectangle (int x, int y, int width, int height)
{
// JNI bindings
}
{
// JNI bindings
}
}
Imagine we want to add a constructor to this class that takes a Point and
@@ -23,9 +23,9 @@ with a partial class containing our new method:
public partial class Rectangle
{
public Rectangle (Point location, Size size) :
this (location.X, location.Y, size.Width, size.Height)
{
}
this (location.X, location.Y, size.Width, size.Height)
{
}
}
At compile time, the additions class will be added to the generated class
@@ -44,5 +44,5 @@ By adding a Point.cs file with this class, it will end up in the binding library
public class Point
{
public int X { get; set; }
public int Y { get; set; }
public int Y { get; set; }
}

View File

@@ -0,0 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0-android</TargetFramework>
<SupportedOSPlatformVersion>21</SupportedOSPlatformVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,35 @@
<metadata>
<remove-node path="/api/package[@name='com.dropbox.core']" />
<remove-node path="/api/package[@name='com.dropbox.core.http']" />
<remove-node path="/api/package[@name='com.dropbox.core.json']" />
<remove-node path="/api/package[@name='com.dropbox.core.oauth']" />
<remove-node path="/api/package[@name='com.dropbox.core.sdk.android']" />
<remove-node path="/api/package[@name='com.dropbox.core.stone']" />
<remove-node path="/api/package[@name='com.dropbox.core.util']" />
<remove-node path="/api/package[@name='com.dropbox.core.v1']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.account']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.callbacks']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.check']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.seenstate']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.teamcommon']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.secondaryemails']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.async']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.auth']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.common']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.contacts']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.fileproperties']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.filerequests']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.files']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.paper']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.openid']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.sharing']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.team']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.teamlog']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.teampolicies']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.users']" />
<remove-node path="/api/package[@name='com.dropbox.core.v2.userscommon']" />
<remove-node path="/api/package[@name='com.dropbox.android']" />
<remove-node path="/api/package[@name='com.dropbox.core.android']" />
</metadata>

Binary file not shown.

Binary file not shown.

View File

@@ -1,4 +1,4 @@
Additions allow you to add arbitrary C# to the generated classes
Additions allow you to add arbitrary C# to the generated classes
before they are compiled. This can be helpful for providing convenience
methods or adding pure C# classes.
@@ -11,9 +11,9 @@ this:
public partial class Rectangle
{
public Rectangle (int x, int y, int width, int height)
{
// JNI bindings
}
{
// JNI bindings
}
}
Imagine we want to add a constructor to this class that takes a Point and
@@ -23,9 +23,9 @@ with a partial class containing our new method:
public partial class Rectangle
{
public Rectangle (Point location, Size size) :
this (location.X, location.Y, size.Width, size.Height)
{
}
this (location.X, location.Y, size.Width, size.Height)
{
}
}
At compile time, the additions class will be added to the generated class
@@ -44,5 +44,5 @@ By adding a Point.cs file with this class, it will end up in the binding library
public class Point
{
public int X { get; set; }
public int Y { get; set; }
public int Y { get; set; }
}

View File

@@ -1,24 +0,0 @@
This directory is for Android .jars.
There are 2 types of jars that are supported:
== Input Jar ==
This is the jar that bindings should be generated for.
For example, if you were binding the Google Maps library, this would
be Google's "maps.jar".
Set the build action for these jars in the properties page to "InputJar".
== Reference Jars ==
These are jars that are referenced by the input jar. C# bindings will
not be created for these jars. These jars will be used to resolve
types used by the input jar.
NOTE: Do not add "android.jar" as a reference jar. It will be added automatically
based on the Target Framework selected.
Set the build action for these jars in the properties page to "ReferenceJar".

View File

@@ -1,27 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.microsoft.aad.adal"
android:versionCode="1"
android:versionName="0.1.1" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="21" />
<application>
<activity android:name="com.microsoft.aad.adal.AuthenticationActivity" >
</activity>
<receiver
android:name = "com.microsoft.aad.adal.ApplicationReceiver">
<intent-filter>
<action android:name="android.intent.action.PACKAGE_ADDED"/>
<action android:name="android.intent.action.PACKAGE_INSTALL"/>
<data android:scheme="package"/>
</intent-filter>
</receiver>
</application>
</manifest>

View File

@@ -1,21 +0,0 @@
int dimen activity_horizontal_margin 0x7f030000
int dimen activity_vertical_margin 0x7f030001
int id LinearLayout1 0x7f060004
int id com_microsoft_aad_adal_editDummyText 0x7f060002
int id com_microsoft_aad_adal_progressBar 0x7f060003
int id com_microsoft_aad_adal_webView1 0x7f060001
int id editPassword 0x7f060006
int id editUserName 0x7f060005
int id webView1 0x7f060000
int layout activity_authentication 0x7f020000
int layout dialog_authentication 0x7f020001
int layout http_auth_dialog 0x7f020002
int string app_loading 0x7f040000
int string broker_processing 0x7f040001
int string http_auth_dialog_cancel 0x7f040006
int string http_auth_dialog_login 0x7f040005
int string http_auth_dialog_password 0x7f040003
int string http_auth_dialog_title 0x7f040004
int string http_auth_dialog_username 0x7f040002
int style AppBaseTheme 0x7f050000
int style AppTheme 0x7f050001

View File

@@ -1,17 +0,0 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".AuthenticationActivity" >
<WebView
android:id="@+id/webView1"
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true" />
</RelativeLayout>

View File

@@ -1,40 +0,0 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<WebView
android:id="@+id/com_microsoft_aad_adal_webView1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingBottom="0dp"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingTop="0dp" />
<EditText
android:id="@+id/com_microsoft_aad_adal_editDummyText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/com_microsoft_aad_adal_webView1"
android:layout_alignLeft="@+id/com_microsoft_aad_adal_webView1"
android:layout_alignStart="@+id/com_microsoft_aad_adal_webView1"
android:layout_marginBottom="124dp"
android:layout_marginLeft="86dp"
android:layout_marginStart="86dp"
android:ems="10"
android:inputType="textEmailAddress"
android:visibility="gone" >
</EditText>
<ProgressBar
android:id="@+id/com_microsoft_aad_adal_progressBar"
style="?android:attr/progressBarStyleLarge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true" />
</RelativeLayout>

View File

@@ -1,32 +0,0 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/LinearLayout1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingLeft="10dp"
android:paddingRight="10dp" >
<EditText
android:id="@+id/editUserName"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:hint="@string/http_auth_dialog_username"
android:paddingTop="10dp" >
<requestFocus />
</EditText>
<EditText
android:id="@+id/editPassword"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:hint="@string/http_auth_dialog_password"
android:inputType="textPassword"
android:paddingTop="10dp"
android:paddingBottom="20dp"
android:importantForAccessibility="no" />
</LinearLayout>

View File

@@ -1,8 +0,0 @@
<resources>
<!--
Customize dimensions originally defined in res/values/dimens.xml (such as
screen margins) for sw600dp devices (e.g. 7" tablets) here.
-->
</resources>

View File

@@ -1,9 +0,0 @@
<resources>
<!--
Customize dimensions originally defined in res/values/dimens.xml (such as
screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
-->
<dimen name="activity_horizontal_margin">128dp</dimen>
</resources>

View File

@@ -1,11 +0,0 @@
<resources>
<!--
Base application theme for API 11+. This theme completely replaces
AppBaseTheme from res/values/styles.xml on API 11+ devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Holo.Light">
<!-- API 11 theme customizations can go here. -->
</style>
</resources>

View File

@@ -1,12 +0,0 @@
<resources>
<!--
Base application theme for API 14+. This theme completely replaces
AppBaseTheme from BOTH res/values/styles.xml and
res/values-v11/styles.xml on API 14+ devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
<!-- API 14 theme customizations can go here. -->
</style>
</resources>

View File

@@ -1,7 +0,0 @@
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
</resources>

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation">
<string name="app_loading">Loading&#8230;</string>
<string name="broker_processing">Broker is processing</string>
<string name="http_auth_dialog_username">Username</string>
<string name="http_auth_dialog_password">Password</string>
<string name="http_auth_dialog_title">Enter your credentials</string>
<string name="http_auth_dialog_login">Login</string>
<string name="http_auth_dialog_cancel">Cancel</string>
</resources>

View File

@@ -1,20 +0,0 @@
<resources>
<!--
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Light">
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
-->
</style>
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
</resources>

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.microsoft.services.msa"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="22" />
<uses-permission android:name="com.sony.mobile.permission.SYSTEM_UI_VISIBILITY_EXTENSION" />
</manifest>

View File

@@ -1 +0,0 @@
int string app_name 0x7f020000

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.microsoft.services.msa"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="22" />
<uses-permission android:name="com.sony.mobile.permission.SYSTEM_UI_VISIBILITY_EXTENSION" />
</manifest>

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- From: file:/C:/Users/pnied/Documents/git/msa-auth-for-android/src/main/res/values/strings.xml -->
<eat-comment/>
<string name="app_name">msa-auth</string>
</resources>

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