Commit Graph

4673 Commits

Author SHA1 Message Date
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
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
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
v1.11-r0
2024-02-20 07:10:16 +01:00