Commit Graph

91 Commits

Author SHA1 Message Date
Kirill Kamakin
32d366b8fd Fix absent recipe refresh on authorization 2022-11-13 15:38:45 +01:00
Kirill Kamakin
a638133621 Increase page size to improve load speed 2022-11-13 14:58:04 +01:00
Kirill Kamakin
946f34cb37 Insert all recipes in one query 2022-11-13 13:17:55 +01:00
Kirill Kamakin
a952a5252e Hide InvalidatingPagingSourceFactory behind interface 2022-11-13 10:54:03 +01:00
Kirill Kamakin
0db76155a5 Send null queries to ViewModel 2022-11-13 10:10:45 +01:00
Kirill Kamakin
5a874e4899 Refresh results on new search automatically 2022-11-13 10:03:36 +01:00
Kirill Kamakin
79631a7eb0 Implement full text search 2022-11-13 09:52:52 +01:00
Kirill Kamakin
4ad3e7662e Split loadRecipeInfo to refresh/load 2022-11-06 19:37:42 +01:00
Kirill Kamakin
cc73f68751 Fix jumping recipe info sheet 2022-11-06 19:37:42 +01:00
Kirill Kamakin
bbc368ce69 Reuse build configuration for logger 2022-11-05 12:42:58 +01:00
Kirill Kamakin
f98de3784e Disable Firebase data collection in debug builds 2022-11-05 12:42:57 +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
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
5c5bfdedd3 Fix sending duplicate requests 2022-10-29 19:22:54 +02:00
Kirill Kamakin
b2ff374cef Use server info repo in ViewModel 2022-10-29 19:19:20 +02:00
Kirill Kamakin
cda22215ec Extract server info repo 2022-10-29 19:15:57 +02:00
Kirill Kamakin
f2b20024eb Request both versions simultaneously 2022-10-29 18:26:29 +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
4577aac8fc Check version if it is unknown 2022-10-29 17:14:24 +02:00
Kirill Kamakin
17fc2f62bd Check version when requesting recipes 2022-10-29 17:09:42 +02:00
Kirill Kamakin
1502d3db9d Return V1 version response from V1 data source 2022-10-29 16:57:21 +02:00
Kirill Kamakin
da33bc2730 Remove v1 version from v0 data source 2022-10-29 16:50:13 +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
c810e0550a Fix RemoteToLocalMappingsTest compilation 2022-08-07 12:00:29 +02:00
Kirill Kamakin
ec10eab888 Remove unused default parameters 2022-08-07 11:52:27 +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
715f99a6ed Use AddRecipeRequest mappers 2022-08-05 21:57:55 +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
ba5f7322ab Implement logging module 2022-08-05 18:58:21 +02:00
Kirill Kamakin
057651c60f Use intermediate representation for AddRecipe draft 2022-08-04 21:19:15 +02:00
Kirill Kamakin
8784912cdb Extract AddRecipeInput proto file to a module 2022-08-04 20:53:26 +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
869fa21e3f Make code more readable 2022-04-08 22:08:21 +05:00