Commit Graph

284 Commits

Author SHA1 Message Date
Kirill Kamakin
96bce0e5f4 Remove unused class 2022-04-18 12:42:08 +02:00
Kirill Kamakin
6764a4d86e Merge pull request #43 from kirmanak/version
Bump version to v0.2.1
2022-04-09 19:07:53 +05:00
Kirill Kamakin
c013ed9fd5 Bump version to v0.2.1 2022-04-09 19:02:50 +05:00
Kirill Kamakin
65e66e8510 Merge pull request #42 from kirmanak/auth-progress
Implement showing authentication progress
2022-04-09 19:01:31 +05:00
Kirill Kamakin
50c8e14593 Implement showing authentication progress 2022-04-09 18:56:25 +05:00
Kirill Kamakin
4944cd3cf3 Merge pull request #41 from kirmanak/material-3
Start migration to material 3
2022-04-09 17:36:28 +05:00
Kirill Kamakin
9db89965c0 Start migration to Material 3
Theme was generated here
https://material-foundation.github.io/material-theme-builder/#/custom
Primary: BB86FC
Secondary: 655A70
Tertiary: 805159
Neutral: 605D62
2022-04-09 17:32:19 +05:00
Kirill Kamakin
d52c428ea5 Disable extra OkHttp logging 2022-04-09 17:32:18 +05:00
Kirill Kamakin
a5ae5e91cd Disable Picasso logging 2022-04-09 17:32:18 +05:00
Kirill Kamakin
15b4c2b91a Replace if with when in SplashViewModel 2022-04-09 17:32:18 +05:00
Kirill Kamakin
a9e0842a38 Simplify RecipeInfoFragment code 2022-04-09 03:38:30 +05:00
Kirill Kamakin
e7620400b8 Use single UI state for activity 2022-04-09 03:06:02 +05:00
Kirill Kamakin
536c9765cb Merge pull request #40 from kirmanak/version
Bump version to 0.2.0
2022-04-08 23:33:34 +05:00
Kirill Kamakin
1b643e872c Bump version to 0.2.0 2022-04-08 23:28:06 +05:00
Kirill Kamakin
fb4e081e33 Fix restarting count down 2022-04-08 23:26:22 +05:00
Kirill Kamakin
6baae367e3 Merge pull request #39 from kirmanak/authentication
Fix expiring tokens
2022-04-08 23:19:19 +05:00
Kirill Kamakin
ad1077510b Add auth repo and storage tests 2022-04-08 23:03:36 +05:00
Kirill Kamakin
869fa21e3f Make code more readable 2022-04-08 22:08:21 +05:00
Kirill Kamakin
a3d320bb79 Fix logout button 2022-04-08 21:54:43 +05:00
Kirill Kamakin
0768842405 Fix restarting count down in disclaimer 2022-04-08 21:27:59 +05:00
Kirill Kamakin
d2029438d7 Fix handling result in BaseURLFragment and AuthenticationFragment 2022-04-08 21:19:05 +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
ba28f7d322 Start AddAccountActivity implementation 2022-04-08 17:54:23 +05:00
Kirill Kamakin
d1578afab9 Fix AuthenticationInterceptor calling getAuthHeader twice 2022-04-08 17:54:23 +05:00
Kirill Kamakin
b129913a82 Clear unused and fix tests 2022-04-08 17:54:23 +05:00
Kirill Kamakin
d40793104f Fix recursive calls to getAuthToken 2022-04-08 17:54:23 +05:00
Kirill Kamakin
b3f7527884 Add authentication timeout 2022-04-08 17:54:23 +05:00
Kirill Kamakin
76a49a41a1 Implement token invalidation 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
608aec525b Merge pull request #38 from kirmanak/back-after-url
Fix inability to press back on recipes after input URL
2022-04-06 15:51:57 +05:00
Kirill Kamakin
680afcc99a Fix inability to press back on recipes after input URL 2022-04-06 15:48:15 +05:00
Kirill Kamakin
015a72e656 Merge pull request #37 from kirmanak/migrations
Fix database migration from version 0.1.4
2022-04-06 15:38:08 +05:00
Kirill Kamakin
2f05231125 Bump version to 0.1.7 2022-04-06 15:32:34 +05:00
Kirill Kamakin
0c3767645c Implement migration from 1 to 2 2022-04-06 15:30:51 +05:00
Kirill Kamakin
dcef49ea5a Merge pull request #35 from kirmanak/error-handling
Simplify error handling
2022-04-05 15:40:04 +05:00
Kirill Kamakin
eca325ebe4 Simplify error handling 2022-04-05 15:35:18 +05:00
Kirill Kamakin
21feea145a Merge pull request #34 from kirmanak/license
Update LICENSE year
2022-04-05 15:18:06 +05:00
Kirill Kamakin
d772c33a36 Update LICENSE year 2022-04-05 14:54:59 +05:00
Kirill Kamakin
163d14eaba Merge pull request #33 from kirmanak/version
Bump version to 0.1.6
2022-04-04 21:25:39 +05:00
Kirill Kamakin
9d09280522 Bump version to 0.1.6 2022-04-04 21:20:30 +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
2e5684c8a3 Merge pull request #32 from kirmanak/fixes
Fix several issues
2022-04-04 21:00:15 +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
0a120bb291 Merge pull request #31 from kirmanak/version
Bump version to 0.1.5
2022-04-04 16:53:04 +05:00