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