Commit graph

23459 commits

Author SHA1 Message Date
Elv1zz
e2dd29052b
Reduce number of exit points
The method `onReceivedHttpError` did have 3 exit points (`return`), but Codacy only allows us 2, so error handling for `request?.url` and `view?.context` was combined. Seems debatable, what's more readable, but the rules are the rules.

Signed-off-by: Elv1zz <elv1zz.git@gmail.com>
2024-01-24 08:28:08 +01:00
Elv1zz
7b776c8aa7
Replacing magic number by well-known constant
Improving code quality a bit by avoiding magic numbers.

Signed-off-by: Elv1zz <elv1zz.git@gmail.com>
2024-01-24 08:28:08 +01:00
Elv1zz
d59e16cb4c
Using simplified way of removeKeys method
Isntead of having to find the hostname and port from an URL (which might be more tricky than expected), we now can simply pass down the URL and `AdvancedX509KeyManager` will take care of finding the port from the URL.

Signed-off-by: Elv1zz <elv1zz.git@gmail.com>
2024-01-24 08:28:08 +01:00
Elv1zz
692cee7255
Handle TLS client certificates in NextCloudWebViewClient
All interaction with the nextcloud server is handled by the `NextCloudWebViewClient`, so TLS client certificate handling should be done by that class. Since `AuthenticatorActivity` only extends `NextCloudWebViewClient` with some additional methods, it is enough to have the certificate handling in one place.

Signed-off-by: Elv1zz <elv1zz.git@gmail.com>
2024-01-24 08:28:08 +01:00
Elv1zz
41a8667a26
Temporary change to make automated tests run
Since the official nextcloud android-library does not have the new `AdvancedX509KeyManager`, the automated tests cannot build th
e app. So for that I refer to my fork of the android-library for now. This commit shall be reverted before merge.

Signed-off-by: Elv1zz <elv1zz.git@gmail.com>
2024-01-24 08:28:08 +01:00
Elv1zz
45e369bae8
Added support for TLS client certificates
Using the new `AdvancedX509KeyManager` class from the `nextcloud-android-library` to add support for servers that require a TLS client certificate to connect.

Signed-off-by: Elv1zz <elv1zz.git@gmail.com>
2024-01-24 08:28:08 +01:00
Tobias Kaminsky
5d69cbdb28 daily dev 20240124
Update Nextcloud Android library
2024-01-24 03:40:04 +01:00
Nextcloud bot
e224626c17
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-24 02:38:08 +00:00
Tobias Kaminsky
c4aa5a4923 Merge remote-tracking branch 'origin/master' into dev 2024-01-24 03:34:42 +01:00
Andy Scherzinger
3d9931dd97
Merge pull request #12374 from nextcloud/readme-faq
Update README: FAQ/known issues section + misc
2024-01-24 00:49:06 +01:00
Josh
c0074de7a2 Update README: FAQ/known issues section + misc
* Establish a Known Issues/FAQs section
* Move Support/Help section and expand it a little
* Give the logcat/logs section a proper header

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-01-24 00:48:53 +01:00
Tobias Kaminsky
14c5bce228
Merge pull request #12404 from nextcloud/filedropBugfix
Filedrop must not be used when serializing
2024-01-23 10:51:11 +01:00
tobiasKaminsky
69aa577b91
Filedrop must not be used when serializing
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-01-23 07:42:45 +01:00
Nextcloud bot
03b163f8ee
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-23 02:47:00 +00:00
Tobias Kaminsky
95e6483d0d daily dev 20240123
Update Nextcloud Android library
Update 3rd-party dependencies
2024-01-23 03:39:41 +01:00
Tobias Kaminsky
0a7d380380 Merge remote-tracking branch 'origin/master' into dev 2024-01-23 03:34:33 +01:00
Andy Scherzinger
1130e6c3bc
Merge pull request #12403 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2024-01-22 19:36:34 +01:00
nextcloud-android-bot
a00d96a943 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2024-01-22 18:36:01 +00:00
Andy Scherzinger
05427ce9ec
Merge pull request #12398 from nextcloud/dependabot/github_actions/actions/cache-4.0.0
Bump actions/cache from 3.3.3 to 4.0.0
2024-01-22 17:10:09 +01:00
Andy Scherzinger
f903bc95a2
Merge pull request #12399 from nextcloud/dependabot/github_actions/actions/upload-artifact-4.2.0
Bump actions/upload-artifact from 4.1.0 to 4.2.0
2024-01-22 17:09:35 +01:00
Andy Scherzinger
a5b68b872b
Add version number comment to unit-tests.yml
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-01-22 16:34:55 +01:00
Andy Scherzinger
f18a0752cc
Add version number comment to screenShotTest.yml
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-01-22 16:34:18 +01:00
Andy Scherzinger
562a9acbda
update version number to exact version
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-01-22 13:11:24 +01:00
dependabot[bot]
098b395322
Bump actions/upload-artifact from 4.1.0 to 4.2.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](1eb3cb2b3e...694cdabd8b)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 11:36:28 +00:00
dependabot[bot]
815b65d652
Bump actions/cache from 3.3.3 to 4.0.0
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.3 to 4.0.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](e12d46a63a...13aacd865c)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 11:36:19 +00:00
Tobias Kaminsky
c7341d9ab2 daily dev 20240122
Update Nextcloud Android library
2024-01-22 03:41:27 +01:00
Nextcloud bot
d119992272
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-22 02:38:18 +00:00
Tobias Kaminsky
6c25ef20e9 Merge remote-tracking branch 'origin/master' into dev 2024-01-22 03:36:10 +01:00
Andy Scherzinger
e3ced0db65
Merge pull request #12397 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2024-01-21 19:18:34 +01:00
nextcloud-android-bot
8fb6fadba0 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2024-01-21 16:17:39 +00:00
Nextcloud bot
28df5a551a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-21 02:57:23 +00:00
Tobias Kaminsky
90d609383b daily dev 20240120 2024-01-20 02:36:28 +01:00
Tobias Kaminsky
21e249e49b Merge remote-tracking branch 'origin/master' into dev 2024-01-20 02:31:00 +01:00
Tobias Kaminsky
d8ef2ed8d8
Merge pull request #12390 from nextcloud/masterTo329
Bump master to 3.29 Alpha
2024-01-19 10:26:36 +01:00
tobiasKaminsky
e95f7d162f
Bump master to 3.29 Alpha
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-01-19 10:18:31 +01:00
Tobias Kaminsky
8d1a26d54f daily dev 20240119
Update Nextcloud Android library
2024-01-19 03:43:52 +01:00
Nextcloud bot
162651d73f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-19 02:38:17 +00:00
Tobias Kaminsky
1ef544655f Merge remote-tracking branch 'origin/master' into dev 2024-01-19 03:36:47 +01:00
Tobias Kaminsky
0175867281
Merge pull request #12384 from nextcloud/jr/dev-container-jdk-17
chore: update devContainer JDK (11->17)
2024-01-18 10:46:52 +01:00
Tobias Kaminsky
d617d04de3
Merge pull request #12388 from nextcloud/bumpandroidPluginVersion
Bump androidPluginVersion to match library
2024-01-18 10:45:40 +01:00
Tobias Kaminsky
1e743e4aa3
Merge pull request #12360 from nextcloud/proxy
Optional proxy support
2024-01-18 10:34:09 +01:00
tobiasKaminsky
3d1265d6aa Optional proxy support
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-01-18 09:18:02 +00:00
tobiasKaminsky
e72ce49371
Bump androidPluginVersion to match library
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-01-18 09:12:50 +01:00
Josh
2264d9dd12 chore: update devContainer JDK (11->17)
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-01-18 08:10:15 +01:00
Andy Scherzinger
0361a6ddaf
Merge pull request #12387 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2024-01-18 08:07:29 +01:00
Nextcloud bot
03b31ea6a2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-18 02:37:47 +00:00
nextcloud-android-bot
3128b17e47 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2024-01-18 02:27:20 +00:00
Tobias Kaminsky
0cbfe36ef7 daily dev 20240118 2024-01-18 02:36:53 +01:00
Tobias Kaminsky
26ae0fe9d5 Merge remote-tracking branch 'origin/master' into dev 2024-01-18 02:31:18 +01:00
Tobias Kaminsky
826ee7d8a3
Merge pull request #12381 from nextcloud/bump328
bump to 3.28.0 alpha
2024-01-17 07:40:33 +01:00