Commit Graph

262 Commits

Author SHA1 Message Date
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
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
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
Philipp Crocoll
30d45e086c refactor SftpFileStorage creation 2023-11-13 09:18:39 +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
Philipp Crocoll
1581d79666 Merge branch 'master' of https://github.com/PhilippC/keepass2android into iansw246/master 2023-11-06 09:02:01 +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
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
Rick Brown
c8abb4d76a Update to latest FluentFTP version 2023-10-08 18:23:11 -04: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
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
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
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
b2f21094b5 remove untracked Kp2aBusinessLogic/Resources/Resource.Designer.cs
Since it is in gitignore
2022-12-06 23:00:52 +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
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
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
Philipp Crocoll
294e6f5edf add option to sync database after quick-unlocking the database. closes https://github.com/PhilippC/keepass2android/issues/188 2021-11-17 11:30:43 +01:00
Philipp Crocoll
caff2e25e2 update to build with Android 11 Build tools. Major reconfiguration of csproj file, simplifying PackageReferences. 2021-11-10 11:21:45 +01:00
Philipp Crocoll
e00eb2a5bc commit unsaved change regarding read-only access to content storage 2021-02-19 11:53:45 +01:00
Philipp Crocoll
54f8916ddd no longer checking for FLAG_SUPPORTS_WRITE for ContontStorage - this often returns false even for non-readonly files, closes https://github.com/PhilippC/keepass2android/issues/1212 2021-02-19 11:41:03 +01:00
Philipp Crocoll
15d3492ae3 fix for OneDrive file storage unnecessarily prompting for login, closes https://github.com/PhilippC/keepass2android/issues/1038 2021-02-18 16:20:03 +01:00
Philipp Crocoll
a37789fbfe minor changes adapting to VS upgrade 2021-02-09 14:44:50 +01:00
Philipp Crocoll
8d95fb1660 implement upload sessions for OneDrive to resolve file size restriction (closes https://github.com/PhilippC/keepass2android/issues/1036) 2021-02-09 14:44:02 +01:00
Philipp Crocoll
fec0e7768a add more logging output to diagnose an issue describe by a user where merge conflicts seem to be detected even if they are not there 2020-11-30 11:55:07 +01:00
Philipp Crocoll
1479ecf03f allow to open .xml files (as unencrypted database) in read-only mode, closes https://github.com/PhilippC/keepass2android/issues/1450 2020-10-24 09:47:00 +02:00
Philipp Crocoll
64e26fe372 changes to locking of the database: implement an alternative to alarm-based timeout (using a timeout variables checked when resuming), closes https://github.com/PhilippC/keepass2android/issues/1346 2020-10-12 11:57:58 +02:00
Philipp Crocoll
dd18e505a6 add package reference to GooglePlayServices.Auth to fix NoClassDefFound when using GoogleDrive. Add Changelog For 1.08b-pre2. 2020-06-16 21:46:41 +02:00
Philipp Crocoll
1fad137c1e fix https://github.com/PhilippC/keepass2android/issues/1015 (bad error message when file not found) 2020-06-15 11:24:38 +02:00
Philipp Crocoll
e9b9d0a781 fix crash when switching tasks while saving, should fix https://github.com/PhilippC/keepass2android/issues/719 2020-06-14 20:14:39 +02:00
Philipp Crocoll
965a79f029 don't throw potential exception when checking if file is readonly 2020-05-30 19:48:02 +02:00
Philipp Crocoll
b9a15471ef copy FTP data to memory stream to avoid issues when client is closed before reading is complete, closes #1094 2020-03-09 11:58:19 +01:00
Philipp Crocoll
8fbeb5c409 upgrading build tools and NuGet packages. switching to Xamarin's Biometric Bindings (even though this reverts from 1.0.1 to 1.0.0) because of build issues/incompatibilities 2020-03-02 10:07:55 +01:00
Philipp Crocoll
11727b80f2 simplify code for ftp transaction commit 2020-01-31 05:21:35 +01:00
Philipp Crocoll
b7c8baacc9 OneDrive: improve logging on error; fix creating new file paths, closes https://github.com/PhilippC/keepass2android/issues/1053 2020-01-15 05:18:46 +01:00
Philipp Crocoll
bf5ca8908e don't search in groups with the "search disabled flag" when searching for host (i.e. when Share URL is used), closes https://github.com/PhilippC/keepass2android/issues/691 2020-01-13 12:23:45 +01:00
Philipp Crocoll
0273b4d2bb AndroidContentStorage: truncate file before writing, closes #583 2020-01-08 21:21:36 +01:00
Philipp Crocoll
69abcd0786 remove reference to old NetFtp, as this was exchanged for FluentFTP; fix issue with paths that need url encoding, closing #736, closing #615 2019-12-16 12:09:41 +01:00
Philipp Crocoll
a2aa9d61a9 read the reply after writing the file as stated in the docs 2019-11-07 20:09:42 +01:00
Philipp Crocoll
89fda1eee5 update to target Android Q (build tools and targetSdkVersion) 2019-10-28 20:24:20 +01:00
Philipp Crocoll
3ce1c04cf2 Merge branch 'Branch_1.07'
# Resolved Conflicts:
#	src/keepass2android/Resources/values/strings.xml
2019-10-10 03:25:02 +02:00
Philipp Crocoll
12d2f961cf re-acquire token in OneDrive2FileStorage after expiry, closes https://github.com/PhilippC/keepass2android/issues/983 2019-10-10 03:08:22 +02:00
Philipp Crocoll
799dc3a38f switch to FluentFTP to close #825 2019-10-08 07:11:34 +02:00
Philipp Crocoll
01b8469fbb fix crash when copying entries, closes #920 2019-10-06 20:25:25 +02:00
Philipp Crocoll
57e9253270 improvements to OneDrive2 implementation: it's now possible select between different access scopes, also fixed several issues 2019-10-03 16:42:50 +02:00
Philipp Crocoll
99d0ecfd59 refactoring, use less UrlUtil and more IFileStorage 2019-10-01 20:04:03 +02:00
Philipp Crocoll
706debfa33 add missing file OneDrive2FileStorage (with improvements) 2019-09-30 21:18:40 +02:00
Philipp Crocoll
db26fb6f39 first version of OneDrive implementation in C# 2019-09-30 10:42:27 +02:00