Commit Graph

257 Commits

Author SHA1 Message Date
Kirill Kamakin
4c8fdad38e Add RoomTypeConverters tests 2021-11-13 19:03:25 +03:00
Kirill Kamakin
0ff9afa4c6 Add OkHttpBuilder tests 2021-11-13 19:03:13 +03:00
Kirill Kamakin
c5e116549d Do not add logging interceptor to release builds 2021-11-13 15:12:09 +00:00
Kirill Kamakin
0398a6403e Add AuthRepoImpl tests 2021-11-13 17:49:43 +03:00
Kirill Kamakin
22d19b4c04 Extract generic test code 2021-11-13 17:49:35 +03:00
Kirill Kamakin
dd74715818 Use SingletonComponent everywhere to make it easier to test 2021-11-13 17:38:46 +03:00
Kirill Kamakin
740dd12f3b Enable lint rules and fix found issues 2021-11-13 16:46:00 +03:00
Kirill Kamakin
dc518555e8 Fix logging reference to PagingData 2021-11-13 15:09:39 +03:00
Kirill Kamakin
31fc27ebef Fix parsing of null descriptions 2021-11-13 15:09:39 +03:00
Kirill Kamakin
284f32588f Add new launcher icon 2021-11-13 15:09:39 +03:00
Kirill Kamakin
734dff68a7 Use margin instead of four attrs with same value 2021-11-13 15:09:38 +03:00
Kirill Kamakin
7637fb5f7c Extract styles 2021-11-13 15:09:38 +03:00
Kirill Kamakin
ea4b5d49b9 Extract margin_small 2021-11-13 15:09:38 +03:00
Kirill Kamakin
ef3c010f96 Rearrange auth inputs 2021-11-13 15:09:38 +03:00
Kirill Kamakin
4bb6c97c9d Implement testing auth storage impl 2021-11-13 15:09:37 +03:00
Kirill Kamakin
603504f7fe Implement BaseTest 2021-11-13 15:09:37 +03:00
Kirill Kamakin
c94fff2864 Remove example tests 2021-11-13 15:09:37 +03:00
Kirill Kamakin
c9bf25d5ea Add AuthDataSourceImplTest test 2021-11-13 15:09:37 +03:00
Kirill Kamakin
d370823a10 Update test dependencies 2021-11-13 15:09:36 +03:00
Kirill Kamakin
12e1fe4939 Mark Hilt modules as interfaces which they are 2021-11-13 15:09:36 +03:00
Kirill Kamakin
cb495aaba3 Use more concise runCatching instead of Result 2021-11-13 15:09:36 +03:00
Kirill Kamakin
10b3dadc3d Remove auth state Toasts 2021-11-13 15:09:36 +03:00
Kirill Kamakin
2d6071f05e Implement generation of Glide APIs 2021-11-13 15:09:35 +03:00
Kirill Kamakin
0e41b612f6 Add logging to RecipesFragment 2021-11-13 15:09:35 +03:00
Kirill Kamakin
7ec2376138 Move implementations to impl packages 2021-11-13 15:09:35 +03:00
Kirill Kamakin
c081edbbbf Extract RecipeImageLoader interface 2021-11-13 15:09:35 +03:00
Kirill Kamakin
c22c544297 Extract ImageLoader interface 2021-11-13 15:09:34 +03:00
Kirill Kamakin
43d66247cb Bump versions of dependencies 2021-11-13 15:09:34 +03:00
Kirill Kamakin
3397880e1c Add links to versions of all dependencies 2021-11-13 15:09:34 +03:00
Kirill Kamakin
3d7048a381 Forget we were on auth screen after it's gone 2021-11-13 15:09:34 +03:00
Kirill Kamakin
407a73d444 Implement showing recipe pictures in the list 2021-11-13 15:09:33 +03:00
Kirill Kamakin
67b75b710d Add dependency on Glide 2021-11-13 15:09:33 +03:00
Kirill Kamakin
65548cb397 Fix requesting recipe summary errors due to time types 2021-11-13 15:09:33 +03:00
Kirill Kamakin
14ddd1ed55 Fix error logging with Timber 2021-11-13 15:09:33 +03:00
Kirill Kamakin
12e7096c17 Add more verbose logging 2021-11-13 15:09:33 +03:00
Kirill Kamakin
9efd90037c Fix compilation errors due to inconsistencies of external libs 2021-11-13 15:09:32 +03:00
Kirill Kamakin
470d5a4aef Initialize RecipesFragment 2021-11-13 15:09:32 +03:00
Kirill Kamakin
39bac99e16 Fix Log -> Timber transition leftovers 2021-11-13 15:09:32 +03:00
Kirill Kamakin
ef5f1def51 Allow reading base url and token 2021-11-13 15:09:31 +03:00
Kirill Kamakin
d0acd4b5ed Add Room, Paging library and navigation ktx 2021-11-13 15:09:31 +03:00
Kirill Kamakin
f5ee40d945 Store base url too 2021-11-13 15:09:31 +03:00
Kirill Kamakin
ae74dac851 Set tag for OkHttp logs 2021-11-13 15:09:31 +03:00
Kirill Kamakin
9afc7bdcd3 Add OkHttp logging interceptor 2021-11-13 15:09:30 +03:00
Kirill Kamakin
3ce822e373 Fix MediaType construction 2021-11-13 15:09:30 +03:00
Kirill Kamakin
daa8006e4e Add logging with Timber 2021-11-13 15:09:30 +03:00
Kirill Kamakin
b0a53b5991 Implement initial authentication flow 2021-11-13 15:09:30 +03:00
Kirill Kamakin
3b83aa4e15 Add Preference library dependency 2021-11-13 15:09:29 +03:00
Kirill Kamakin
576584c467 Use kotlinx serialization instead of gson 2021-11-13 15:09:29 +03:00
Kirill Kamakin
543428c0e2 Add Retrofit dependency 2021-11-13 15:09:29 +03:00
Kirill Kamakin
d279d70735 Specify that everything should be backed up explicitly 2021-11-13 15:09:29 +03:00