Commit Graph

49 Commits

Author SHA1 Message Date
Kirill Kamakin
a18984bda0 Implement displaying ingredient sections 2022-12-04 19:25:36 +01:00
Kirill Kamakin
a628912557 Parse ingredient amounts from V1 response 2022-12-04 18:47:27 +01:00
Kirill Kamakin
4826478a2a Implement saving recipes by URLs 2022-11-28 21:22:24 +01:00
Kirill Kamakin
4c1b840e5d Fix crash caused by immediately removed TextWatchers 2022-11-21 21:37:01 +01:00
Kirill Kamakin
d7c94d29d4 Hide edit text cursor on list scroll 2022-11-20 15:49:14 +01:00
Kirill Kamakin
73a703b0b8 Make navigation bar match color 2022-11-19 10:57:08 +01:00
Kirill Kamakin
274a3ec20f Hide keyboard when user scrolls recipe list 2022-11-17 20:56:07 +01:00
Kirill Kamakin
21abf38282 Start search implementation 2022-11-12 15:27:27 +01:00
Kirill Kamakin
d873bfa2ed Ignore load errors if wasn't loading 2022-11-05 11:32:17 +01:00
Kirill Kamakin
1ee0456494 Use repeatOnLifecycle 2022-11-05 10:57:56 +01:00
Kirill Kamakin
b7bb6c8566 Simplify edge case handling 2022-11-05 10:40:15 +01:00
Kirill Kamakin
33bdaf9726 Show load end/load failure toasts 2022-11-04 22:13:57 +01:00
Kirill Kamakin
610f3e9377 Ignore duplicate start destination updates 2022-10-31 21:23:03 +01:00
Kirill Kamakin
81e3fcfd98 Start splash screen API migration 2022-10-31 21:08:17 +01:00
Kirill Kamakin
7c02df4d30 Add unit tests 2022-10-31 20:30:13 +01:00
Kirill Kamakin
039ba20c83 Remove empty file 2022-10-30 13:31:12 +01:00
Kirill Kamakin
9d1fdce77a Generate random ids for instructions and ingredients 2022-10-30 13:21:27 +01:00
Kirill Kamakin
7d64215b63 Remove unused data 2022-10-30 13:01:06 +01:00
Kirill Kamakin
31ccf8822d Remove unused fields 2022-10-30 12:47:49 +01:00
Kirill Kamakin
9ed229f20f Fix parsing update recipe response 2022-10-30 11:53:48 +01:00
Kirill Kamakin
71d5900530 Split v1 creation to create/update 2022-10-30 11:07:02 +01:00
Kirill Kamakin
2328c6ed59 Create separate model for v1 add recipe request 2022-10-30 10:43:56 +01:00
Kirill Kamakin
6280445a7c Move runCatchingExceptCancel to datasource 2022-10-29 19:31:02 +02:00
Kirill Kamakin
7702dbebd1 Move V0 responses to v0 package 2022-10-29 18:15:10 +02:00
Kirill Kamakin
47addc3b90 Fix opening recipes on v0.5.6 2022-10-29 17:46:28 +02:00
Kirill Kamakin
45b1b07372 Fix absent images on v0.5.6 2022-10-29 17:33:39 +02:00
Kirill Kamakin
1502d3db9d Return V1 version response from V1 data source 2022-10-29 16:57:21 +02:00
Kirill Kamakin
1f5234d123 Allow viewing recipes on V1 2022-10-29 16:40:19 +02:00
Kirill Kamakin
95205f8ffe Initialize v1 support 2022-08-14 18:19:42 +02:00
Kirill Kamakin
725b75211d Simplify MealieDataSourceImpl 2022-08-07 11:42:36 +02:00
Kirill Kamakin
35566d8fa9 Hide MealieDataSourceWrapper behind interfaces 2022-08-07 11:00:19 +02:00
Kirill Kamakin
e0a4442e72 Create network module 2022-08-06 18:23:10 +02:00
Kirill Kamakin
81e06dc1d8 Simplify logAndMapErrors calls 2022-08-05 21:54:52 +02:00
Kirill Kamakin
107bb64256 Replace Timber with Logger 2022-08-05 20:16:29 +02:00
Kirill Kamakin
53b40bbc60 Extract database module 2022-08-04 19:34:21 +02:00
Kirill Kamakin
e18f726da5 Implement adding recipes through app 2022-06-12 12:49:18 +02:00
Kirill Kamakin
12c5d8d5d3 Update Kotlin coroutines 2022-05-26 10:32:55 +02:00
Kirill Kamakin
2686f757ea Replace Picasso with Glide 2022-04-18 13:17:07 +02:00
Kirill Kamakin
869fa21e3f Make code more readable 2022-04-08 22:08:21 +05:00
Kirill Kamakin
5b56ff9932 Remove unused methods 2022-04-08 20:15:02 +05:00
Kirill Kamakin
0a854947a9 Move base url implementation to impl package 2022-04-08 20:10:13 +05:00
Kirill Kamakin
7c081c199a Replace AccountManager with EncryptedSharedPreferences 2022-04-08 20:07:32 +05:00
Kirill Kamakin
eca325ebe4 Simplify error handling 2022-04-05 15:35:18 +05:00
Kirill Kamakin
97ffbff89a Trim e-mail and username to ease the login process
Spaces aren't visible in EditText and it's possible to
get authentication errors because of that invisible space.
2022-04-04 21:19:57 +05:00
Kirill Kamakin
f14afd2ebe Fix IllegalStateException when clicking login after logout
The previous login result was stored as live data and
prevented AuthenticationFragment from being shown
properly. However, an attempt to destroy RecipesFragment
was made. This attempt caused IllegalStateException
when accessing view in onDestroyView.
2022-04-04 20:52:14 +05:00
Kirill Kamakin
c98feceab4 Fix pressing back on AuthenticationFragment
If login request isn't disabled when user presses
back then they might get navigated back to
authentication again.
2022-04-04 18:54:48 +05:00
Kirill Kamakin
f44f54522d Extract Base URL from authentication 2022-04-04 03:34:50 +05:00
Kirill Kamakin
b3e25db4df Replace Shared Preferences with Data Store 2022-04-03 19:59:57 +05:00
Kirill Kamakin
8fee0c3a3d Reorganize code 2022-04-03 17:21:18 +05:00