1
0
mirror of https://github.com/owncloud/android-library.git synced 2026-08-11 16:33:03 +00:00
Commit Graph

408 Commits

Author SHA1 Message Date
Abel García de Prada f712a384cd Fix unexpected end of stream when connecting with server 2022-05-30 13:41:41 +02:00
Hannes Achleitner 1412117dcd Android Arctic Fox 2022-05-30 09:12:42 +02:00
Hannes Achleitner a054adc688 Java 8 is by default 2022-05-30 09:11:56 +02:00
Fernando Sanz fd8caa42cb Updated versionCode and versionName 2022-05-11 09:53:47 +02:00
dependabot[bot] 7fe41ce51c Bump robolectric from 4.8 to 4.8.1
Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.8 to 4.8.1.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.8...robolectric-4.8.1)

---
updated-dependencies:
- dependency-name: org.robolectric:robolectric
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-04 02:08:05 +00:00
dependabot[bot] 6e503c2cf7 Bump robolectric from 4.7.3 to 4.8
Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.7.3 to 4.8.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.7.3...robolectric-4.8)

---
updated-dependencies:
- dependency-name: org.robolectric:robolectric
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-29 02:44:52 +00:00
Abel García de Prada f6eb631fbf Reformat some code 2022-04-25 08:41:14 +02:00
Christian Schabesberger be758eb5ea apply requested changes 2022-04-25 08:41:14 +02:00
Christian Schabesberger 105830e4f0 apply requested changes 2022-04-25 08:41:14 +02:00
Christian Schabesberger 09375ce053 rebase okhttp_signleton fix on top of connection validator
fix token oauth token refresh error

pleasure the linter
2022-04-25 08:41:14 +02:00
Christian Schabesberger fc4ae27bbe remove redundant intercept of httpclient with httpmethod 2022-04-25 08:41:14 +02:00
Schabi 344c1e1136 apply required fixes 2022-04-25 08:41:14 +02:00
Schabi 79e4287223 clean up http client 2022-04-25 08:41:14 +02:00
Christian Schabesberger 0313c1e103 get okhttp singleton removal changes to compile 2022-04-25 08:41:14 +02:00
Abel García de Prada e0b81bd11a Bump kotlin to 1.6.20 2022-04-08 10:53:23 +02:00
Abel García de Prada 97a613f168 Bump target sdk to api 31 2022-04-08 09:48:29 +02:00
Christian Schabesberger 7c77c267f9 apply changes according to review 2022-03-23 13:27:19 +01:00
Christian Schabesberger 2a4195c966 fix lint and compile issues 2022-03-23 13:27:18 +01:00
Christian Schabesberger d9dce81ce7 add GetBaseUrlRemoteOperation 2022-03-23 13:26:58 +01:00
Christian Schabesberger 4f3e167efa fix spelling mistakes 2022-03-23 13:26:58 +01:00
Christian Schabesberger fc8440cc01 remove debug statements 2022-03-23 13:26:58 +01:00
Christian Schabesberger 5ca99a0e69 update base url in active client after 301 redirect
reduce validation retry count
2022-03-23 13:26:58 +01:00
Christian Schabesberger ce761aaec2 remove redirect code from owncloudclient use okhttp instead 2022-03-23 13:26:58 +01:00
Christian Schabesberger c59d1540c7 clean up credentials stuff from owncloudclient 2022-03-23 13:26:58 +01:00
Christian Schabesberger 5582097ca1 get access token to update through connection validator
update token
2022-03-23 13:26:58 +01:00
Christian Schabesberger e27a968ddb add update authToken code to connectionValidator 2022-03-23 13:26:58 +01:00
Christian Schabesberger cfd69987e9 update session from APM while running the app 2022-03-23 13:26:57 +01:00
Christian Schabesberger b2f6d7f3b1 make initial check with apm work though connection validator 2022-03-23 13:24:27 +01:00
Christian Schabesberger 7ccb86c153 stop validation process if failing 2022-03-23 13:24:27 +01:00
Christian Schabesberger e878ad3931 make oidc discovery work again 2022-03-23 13:24:27 +01:00
Schabi 8d09a5c242 make initial connection using connection validator work 2022-03-23 13:24:27 +01:00
Christian Schabesberger ddb15a33f1 try shifting over to connection validator for updating credentials
intermediate commit
2022-03-23 13:24:27 +01:00
Christian Schabesberger c2c351c912 set max redirect count for owncloud client to 5 2022-03-23 13:24:27 +01:00
Christian Schabesberger ca206173df create logic scaffold for connection validator get status.php with it 2022-03-23 13:24:27 +01:00
Christian Schabesberger 7e4b43e7cb prepare code for the inclusion of connection validator 2022-03-23 13:24:27 +01:00
Christian Schabesberger 0e82f983b5 remove OwnCloudClient factory 2022-03-23 13:24:27 +01:00
Christian Schabesberger 0d94058db9 remove retrive cookies from middleware 2022-03-23 13:24:27 +01:00
Christian Schabesberger 2f952a3a09 debug and add mutex for halding requiests 2022-03-23 13:24:27 +01:00
Christian Schabesberger 39b1fce7f6 init connectionvalidator 2022-03-23 13:24:27 +01:00
dependabot[bot] 2edfc17653 Bump stetho-okhttp3 from 1.5.1 to 1.6.0
Bumps [stetho-okhttp3](https://github.com/facebook/stetho) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/facebook/stetho/releases)
- [Changelog](https://github.com/facebook/stetho/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/stetho/compare/v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: com.facebook.stetho:stetho-okhttp3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-10 10:15:54 +00:00
Christian Schabesberger 194894637e fix wrongly licensed source files 2022-03-10 09:45:34 +01:00
Christian Schabesberger c662383182 add mit license header to where it was missing 2022-03-10 09:45:34 +01:00
Christian Schabesberger 5619c1daf8 apply code cleanup according to review 2022-03-08 08:59:10 +01:00
Christian Schabesberger 85a3918ff1 fix usage of debug interceptor 2022-03-08 08:59:10 +01:00
Christian Schabesberger 7e507abf32 add debug interceptor 2022-03-08 08:59:10 +01:00
Fernando Sanz a9a6ca6d4e Upgraded versionName and versionNumber 2022-02-09 14:32:09 +01:00
Hannes Achleitner 7365c0b126 Fix lint warnings 2022-01-31 08:09:53 +01:00
Fernando Sanz 27e5d367af Ktlint fixes. 2021-12-13 08:53:18 +01:00
Fernando Sanz 2b299da415 Retrieve new capability to user's avatar. 2021-12-13 08:53:18 +01:00
dependabot[bot] 5ce81e3b17 Bump robolectric from 4.5.1 to 4.7.3
Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.5.1 to 4.7.3.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.5.1...robolectric-4.7.3)

---
updated-dependencies:
- dependency-name: org.robolectric:robolectric
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-02 02:08:45 +00:00