Kirill Kamakin
6c3abbd51c
Highlight current tab in navigation drawer
2022-11-20 10:36:26 +01:00
Kirill Kamakin
1a4d15b680
Lock drawer closed in onboarding
2022-11-19 12:30:43 +01:00
Kirill Kamakin
e86b24c3f6
Use material toolbar without action bar
2022-11-18 22:42:56 +01:00
Kirill Kamakin
21abf38282
Start search implementation
2022-11-12 15:27:27 +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
e0a4442e72
Create network module
2022-08-06 18:23:10 +02:00
Kirill Kamakin
107bb64256
Replace Timber with Logger
2022-08-05 20:16:29 +02:00
Kirill Kamakin
e18f726da5
Implement adding recipes through app
2022-06-12 12:49:18 +02:00
Kirill Kamakin
96bce0e5f4
Remove unused class
2022-04-18 12:42:08 +02:00
Kirill Kamakin
50c8e14593
Implement showing authentication progress
2022-04-09 18:56:25 +05:00
Kirill Kamakin
e7620400b8
Use single UI state for activity
2022-04-09 03:06:02 +05:00
Kirill Kamakin
d2029438d7
Fix handling result in BaseURLFragment and AuthenticationFragment
2022-04-08 21:19:05 +05:00
Kirill Kamakin
7c081c199a
Replace AccountManager with EncryptedSharedPreferences
2022-04-08 20:07:32 +05:00
Kirill Kamakin
b129913a82
Clear unused and fix tests
2022-04-08 17:54:23 +05:00
Kirill Kamakin
57f4ec4e22
Implement the simplest account manager authentication
2022-04-08 17:54:22 +05:00
Kirill Kamakin
096b5389bd
Use AccountManager
2022-04-08 17:54:21 +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
fb10333c2c
Fix showing login/logout button on initial screens
2022-04-04 19:34:21 +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
e6dbff4a67
Fix IllegalStateException when inflating menu
2022-04-04 18:52:19 +05:00
Kirill Kamakin
468aa8c02a
Implement login/logout functionality
2022-04-04 16:42:22 +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
7fc2887dc7
Major code refactoring
...
Main goals are:
1. Ability to use mocks in unit tests instead of
having to setup mock web server as if it was an
integration test.
2. Cache Retrofit services in memory
3. Make it easier to read
4. Use OptIn where possible instead of propagating
Experimental* annotations everywhere
2022-04-03 00:17:28 +05:00
Kirill Kamakin
a36fec226d
Use view binding property delegate ( #22 )
2021-12-27 08:37:10 +00:00
Kirill Kamakin
a15fac7c7e
Hide error when text is entered ( #14 )
2021-11-27 16:36:30 +00:00
Kirill Kamakin
339f8327de
Implement URL input format checks
2021-11-27 12:27:25 +03:00
Kirill Kamakin
d8b4245eef
Remove app title after user authenticates
2021-11-23 21:04:16 +03:00
Kirill Kamakin
d36ebfe50c
Show auth errors to the user
2021-11-21 17:29:44 +03:00
Kirill Kamakin
0a0472c17d
Fix ability to click login twice
2021-11-20 22:59:13 +03:00
Kirill Kamakin
a6e948ca6b
Fix calling navigateToAuth twice and even more
...
Calling that method several times in a row is not supported,
Navigation library throws an Exception saying it doesn't know how
to navigate there
2021-11-20 22:07:43 +03:00
Kirill Kamakin
0e4016150a
Observe auth statuses as LiveData, not Flow
2021-11-20 15:37:03 +03:00
Kirill Kamakin
5866584d14
Replace "Mealie" with "Mealient" everywhere
2021-11-20 13:44:07 +03:00