Commit Graph

286 Commits

Author SHA1 Message Date
Kirill Kamakin
f322112405 Fallback to HTTP if 443 is closed too 2022-12-22 18:48:46 +01:00
Kirill Kamakin
0bf4747d18 Inline scheme names 2022-12-21 22:44:47 +01:00
Kirill Kamakin
04474c3055 Remove redundant trim from base URL VM 2022-12-21 22:36:02 +01:00
Kirill Kamakin
e8077f460a Improve logging of base URL recovery 2022-12-21 22:26:50 +01:00
Kirill Kamakin
99fcbaa899 Fix showing SSL errors if no scheme was specified 2022-12-21 22:25:03 +01:00
Kirill Kamakin
77395a07f4 Add base url setup to sign in test 2022-12-16 21:43:35 +01:00
Kirill Kamakin
913ac84310 Fix authentication with API token on v0.5.6 2022-12-16 21:27:17 +01:00
Kirill Kamakin
c1a292851a Add ViewModel tests 2022-12-16 21:19:19 +01:00
Kirill Kamakin
226097d096 Remove recipe from local db when deleted 2022-12-16 20:24:40 +01:00
Kirill Kamakin
878fc8f080 Replace LiveData with Flow for delete result 2022-12-16 20:06:44 +01:00
Kirill Kamakin
822fdf86e4 Show confirmation dialog before deleting recipe 2022-12-16 19:42:46 +01:00
Kirill Kamakin
9ab86e7be3 Initialize recipe removal feature 2022-12-16 17:56:03 +01:00
Kirill Kamakin
a20694e7fd Hide/show favorite icon on sign-out/sign-in 2022-12-16 17:24:35 +01:00
Kirill Kamakin
cd3931e147 Show error message when favorite update fails 2022-12-16 17:24:35 +01:00
Kirill Kamakin
30ee8ecdea Add TODOs 2022-12-16 17:24:35 +01:00
Kirill Kamakin
0b65c59b59 Ignore favorites errors when updating recipes 2022-12-16 17:24:34 +01:00
Kirill Kamakin
700614427c Add more logging 2022-12-16 17:24:34 +01:00
Kirill Kamakin
127153cac7 Update unit tests 2022-12-16 17:24:34 +01:00
Kirill Kamakin
97735847c0 Refresh favorite recipes on change 2022-12-16 17:24:34 +01:00
Kirill Kamakin
af390ebcaf Fix recipe list diff calculation 2022-12-16 17:24:34 +01:00
Kirill Kamakin
4334fdaa6a Replace add/remove with update 2022-12-16 17:24:34 +01:00
Kirill Kamakin
2fa43f57b7 Update favorite status on icon click 2022-12-16 17:24:34 +01:00
Kirill Kamakin
3eb99206e8 Display favorite icon on recipe holders 2022-12-16 17:24:33 +01:00
Kirill Kamakin
aefb974cb3 Save isFavorite flag to DB for recipes 2022-12-16 17:24:33 +01:00
Kirill Kamakin
f6c0e862fc Set base url through Interceptor 2022-12-11 20:22:36 +01:00
Kirill Kamakin
7a5cbbb5a3 Add MigrationDetectorImpl tests 2022-12-11 18:19:32 +01:00
Kirill Kamakin
901d37570a Fix migration logs 2022-12-11 17:49:52 +01:00
Kirill Kamakin
3720b1aadb Create API token when updating from 24 2022-12-11 17:45:22 +01:00
Kirill Kamakin
c99f9fea88 Create API token when signing in 2022-12-11 16:25:12 +01:00
Kirill Kamakin
79b857810a Remove makeCall helper fun 2022-12-11 10:24:35 +01:00
Kirill Kamakin
9adf37ae33 Move token invalidation to auth interceptor 2022-12-10 09:30:38 +01:00
Kirill Kamakin
54d0c895a9 Extract Authorization header to an interceptor 2022-12-10 08:15:46 +01:00
Kirill Kamakin
a18984bda0 Implement displaying ingredient sections 2022-12-04 19:25:36 +01:00
Kirill Kamakin
221ab89b86 Fix formatting zeroes 2022-12-04 19:02:14 +01:00
Kirill Kamakin
aee1585106 Add notes when amounts are enabled 2022-12-04 19:00:52 +01:00
Kirill Kamakin
58ccd10f35 Do not filter blank ingredients and instructions 2022-12-04 18:59:20 +01:00
Kirill Kamakin
a628912557 Parse ingredient amounts from V1 response 2022-12-04 18:47:27 +01:00
Kirill Kamakin
e1b29f3806 Add ShareRecipeViewModel tests 2022-11-29 20:42:56 +01:00
Kirill Kamakin
4a68916433 Show progress when parsing recipe 2022-11-29 19:42:07 +01:00
Kirill Kamakin
0c41aac9b7 Use regex to find URLs 2022-11-28 21:59:08 +01:00
Kirill Kamakin
a0a3862df7 Add ShareRecipeRepoImpl tests 2022-11-28 21:45:03 +01:00
Kirill Kamakin
4826478a2a Implement saving recipes by URLs 2022-11-28 21:22:24 +01:00
Kirill Kamakin
d62ce1a74e Remove Google Analytics and Crashlytics 2022-11-22 19:50:29 +01:00
Kirill Kamakin
4c1b840e5d Fix crash caused by immediately removed TextWatchers 2022-11-21 21:37:01 +01:00
Kirill Kamakin
7fa96affe8 Show text when no recipes found 2022-11-21 20:17:16 +01:00
Kirill Kamakin
48ad18fa72 Disable lift on scroll for search 2022-11-21 19:48:19 +01:00
Kirill Kamakin
9d4f7775f4 Fix crash on URL input screen 2022-11-20 18:18:35 +01:00
Kirill Kamakin
ac843f6ed6 Hide keyboard when navigation is open 2022-11-20 15:53:09 +01:00
Kirill Kamakin
d7c94d29d4 Hide edit text cursor on list scroll 2022-11-20 15:49:14 +01:00
Kirill Kamakin
cadb762ed4 Hide keyboard on tab switch 2022-11-20 15:10:20 +01:00