1
0
mirror of https://github.com/owncloud/android-library.git synced 2026-08-14 09:53:01 +00:00
Commit Graph

90 Commits

Author SHA1 Message Date
Abel García de Prada db97ed7fb3 Fix response log marked as request one 2020-10-21 18:21:39 +02:00
Abel García de Prada 197c86ec64 Add LogInterceptor as NetworkInterceptor 2020-10-21 15:59:39 +02:00
Abel García de Prada c0d2e20bb1 Log http body if it is not binary 2020-10-21 15:39:48 +02:00
Abel García de Prada aa665a7295 Show request headers and body properly 2020-10-20 11:31:52 +02:00
Abel García de Prada dc39475760 Add log interceptor disabled by default 2020-10-19 09:00:26 +02:00
Abel García de Prada b7fd663d77 Improve http logs 2020-10-19 09:00:26 +02:00
Abel García de Prada dc215dc80e Add a new variable to enable or disable http logs 2020-10-19 09:00:26 +02:00
Abel García de Prada a564f18f16 Http logs enabled only in debug versions 2020-10-19 09:00:26 +02:00
agarcia 775fdb080c Add first draft to log network calls 2020-10-19 09:00:26 +02:00
agarcia a55498c64b Remove single cookie header 2020-09-30 08:36:12 +02:00
agarcia f09162b213 Fix redirections 2020-08-04 17:27:58 +02:00
agarcia 31d3bfbde9 Move RequestBody to constructor to avoid npe 2020-08-04 17:27:58 +02:00
agarcia f89cfd91a9 Reformat some code thanks to code review 2020-08-04 17:27:58 +02:00
agarcia 69497645ec Update dav4android and fix timestamp error depending on locale 2020-08-04 17:27:58 +02:00
agarcia c5891b0a14 Remove interceptor and fix some errors related with shares 2020-08-04 17:27:58 +02:00
agarcia b287cb9148 Compile project with latest changes from OkHttp and dav4jvm 2020-08-04 17:27:58 +02:00
agarcia 93026e8180 First step to replace interceptor 2020-08-04 17:27:58 +02:00
agarcia c5cf0a8c0f Migrate http methods to kotlin 2020-08-04 17:27:57 +02:00
agarcia aebd7288cd Migrate DavUtils to kotlin and fix a compilation error 2020-08-04 17:27:57 +02:00
agarcia 7f2d94bc78 Migrate webdav wrappers to kotlin 2020-08-04 17:27:57 +02:00
agarcia ffe7d9d8e3 Update dav4android and okttp versions to 4.6.0 2020-08-04 17:27:57 +02:00
agarcia 23a38a7fe6 Refresh stored client credentials when needed 2020-06-30 18:32:38 +02:00
Hannes Achleitner 070ac89fa9 Use Android separator instead of homemade one 2020-06-25 06:14:16 +02:00
agarcia 76a808cb0d Use TLSv1.3 if available 2020-06-15 14:16:45 +02:00
davigonz d957d48279 Move some OAuth constants out of the library 2020-04-29 17:32:54 +02:00
davigonz 7b32f7bbe4 Move OAuthConnectionBuilder to presentation layer, along with the rest of AppAuth dependencies 2020-04-29 17:32:54 +02:00
davigonz 5371c682d4 Add oidc scope constant 2020-04-29 17:32:54 +02:00
davigonz f20d2554bf Fix crash when response body is empty and solve issue when retrieving auth methods 2020-04-29 17:32:54 +02:00
agarcia 9e46b83901 A little cleanup 2020-04-16 14:31:08 +02:00
davigonz 18b0abb01a Apply CR changes 2020-04-16 14:31:08 +02:00
davigonz cf06126ce1 Move account version constant to a better place within AccountUtils 2020-04-16 14:31:08 +02:00
davigonz 0028d63292 Create account version constant 2020-04-16 14:31:08 +02:00
agarcia c6e88b127c Fix a potential null pointer exception 2020-04-16 14:31:08 +02:00
agarcia 7e6b63db1f A little cleanup and improve some log messages 2020-04-16 14:31:08 +02:00
agarcia 1536a455a6 Move constants and utils to proper files 2020-04-16 14:31:08 +02:00
Abel García de Prada 3829a1ca32 Start working on login usecase 2020-04-16 14:31:08 +02:00
abelgardep ec5c9fc4aa Remove ugly dependency from GetRemoteStatusOperation
Create AnonymousService for operations that not require authentication
2020-04-16 14:31:08 +02:00
Hannes Achleitner 6803a347bf Update Copyright year to 2020 2020-03-17 15:50:50 +01:00
davigonz 0f1f232c16 Fix crash when client is revoked from web UI 2020-02-12 10:51:49 +01:00
davigonz 4a9eb24d69 Include hostname verifier 2020-02-11 16:46:15 +01:00
davigonz 1b4ce388b3 Apply changes requested in code review 2020-02-06 15:03:50 +01:00
davigonz 4153ee4e35 Remove no longer used OAuth classes 2020-02-05 17:16:06 +01:00
davigonz 261be8bf85 Create OAuth scope param to save it in AccountManager during OAuth process 2020-02-05 16:32:50 +01:00
davigonz b7033e53bf Use custom connection builder to work with http requests along with AppAuth library 2020-02-05 10:16:33 +01:00
davigonz b04a314478 Remove unnecessary method 2020-02-05 08:49:24 +01:00
davigonz c7f9c9d201 Clean up owncloud client factories 2020-02-04 17:49:35 +01:00
davigonz 5b3c21ba82 Change policy name in ownCloudClientManagerFactory 2020-02-04 15:33:00 +01:00
Abel García de Prada 11a2ec1d3e Replace stacktrace with timber log 2020-01-21 13:11:54 +01:00
Abel García de Prada 03e30ae698 Fix log with old server version 2020-01-16 15:13:41 +01:00
davigonz 20e4317bd9 Include new isServerVersionSupported parameter to log out <10 accounts 2020-01-16 15:13:41 +01:00