Kirill Kamakin
3b88eb65e8
Add RecipeViewModel tests
2022-11-06 19:37:43 +01:00
Kirill Kamakin
0c87657b55
Add RecipeInfoViewModel test
2022-11-06 19:37:42 +01:00
Kirill Kamakin
b3ea95f732
Update recipe repo
2022-11-06 19:37:42 +01:00
Kirill Kamakin
79324278de
Add Analytics tests
2022-11-05 12:42:58 +01:00
Kirill Kamakin
dfd590ee50
Add RecipeViewModel tests
2022-11-05 12:17:48 +01:00
Kirill Kamakin
2027f6ac60
Add valueUpdatesOnly tests
2022-11-05 11:44:14 +01:00
Kirill Kamakin
7c02df4d30
Add unit tests
2022-10-31 20:30:13 +01:00
Kirill Kamakin
94c030c04d
Handle server info inside of AuthDataSource
2022-10-30 13:40:43 +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
2328c6ed59
Create separate model for v1 add recipe request
2022-10-30 10:43:56 +01:00
Kirill Kamakin
5f9779d904
Fix failing tests
2022-10-29 20:24:32 +02:00
Kirill Kamakin
6280445a7c
Move runCatchingExceptCancel to datasource
2022-10-29 19:31:02 +02:00
Kirill Kamakin
cda22215ec
Extract server info repo
2022-10-29 19:15:57 +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
17fc2f62bd
Check version when requesting recipes
2022-10-29 17:09:42 +02:00
Kirill Kamakin
3e838aba85
Add MealieDataSourceWrapperTest
2022-08-07 13:16:28 +02:00
Kirill Kamakin
9d8d07fb49
Remove AuthenticationInterceptorTest
2022-08-07 12:43:21 +02:00
Kirill Kamakin
8ee77b1ab8
Fix AuthRepoImplTest
2022-08-07 12:42:40 +02:00
Kirill Kamakin
df6d2f68aa
Fix imports in tests
2022-08-07 12:42:23 +02:00
Kirill Kamakin
27db0520e3
Move AuthDataSourceImplTest
2022-08-07 12:38:48 +02:00
Kirill Kamakin
c2749d629e
Move VersionDataSourceImplTest
2022-08-07 12:26:48 +02:00
Kirill Kamakin
c810e0550a
Fix RemoteToLocalMappingsTest compilation
2022-08-07 12:00:29 +02:00
Kirill Kamakin
22bae5e9ee
Add mock of Logger to tests
2022-08-05 20:27:59 +02:00
Kirill Kamakin
057651c60f
Use intermediate representation for AddRecipe draft
2022-08-04 21:19:15 +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
3079cd9588
Implement Glide image preload in RecyclerView
2022-04-18 18:08:06 +02:00
Kirill Kamakin
2686f757ea
Replace Picasso with Glide
2022-04-18 13:17:07 +02:00
Kirill Kamakin
a5ae5e91cd
Disable Picasso logging
2022-04-09 17:32:18 +05:00
Kirill Kamakin
ad1077510b
Add auth repo and storage tests
2022-04-08 23:03:36 +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
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
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
eca325ebe4
Simplify error handling
2022-04-05 15:35:18 +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
fd9f7e5aa1
Reorganize test code
2022-04-03 17:28:12 +05:00
Kirill Kamakin
8fee0c3a3d
Reorganize code
2022-04-03 17:21:18 +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
90dbb180a0
Use runTest instead of runBlockingTest now
2021-12-27 12:14:28 +03:00
Kirill Kamakin
0586776a3e
Fix image loader duplicating slashes
2021-11-27 12:34:37 +03:00
Kirill Kamakin
339f8327de
Implement URL input format checks
2021-11-27 12:27:25 +03:00
Kirill Kamakin
20c19fd644
Move RoomTypeConverters to util
2021-11-27 00:17:18 +03:00
Kirill Kamakin
91078de1a7
Replace PagingSource factory with Google's impl
2021-11-26 19:39:44 +03:00