Commit Graph

194 Commits

Author SHA1 Message Date
Kirill Kamakin
f98de3784e Disable Firebase data collection in debug builds 2022-11-05 12:42:57 +01:00
Kirill Kamakin
d873bfa2ed Ignore load errors if wasn't loading 2022-11-05 11:32:17 +01:00
Kirill Kamakin
39ce70f964 Remove unnecessary method 2022-11-05 11:08:12 +01:00
Kirill Kamakin
7800d7e754 Simplify RecipesPagingAdapter creation 2022-11-05 11:06:21 +01:00
Kirill Kamakin
1ee0456494 Use repeatOnLifecycle 2022-11-05 10:57:56 +01:00
Kirill Kamakin
b7bb6c8566 Simplify edge case handling 2022-11-05 10:40:15 +01:00
Kirill Kamakin
33bdaf9726 Show load end/load failure toasts 2022-11-04 22:13:57 +01:00
Kirill Kamakin
714ff7d33f Request recipes on successful authorization 2022-11-04 21:51:14 +01:00
Kirill Kamakin
d6c67d1663 Call onCreate faster 2022-11-04 19:09:36 +01:00
Kirill Kamakin
270707c434 Add logging to start destination 2022-11-03 19:15:11 +01:00
Kirill Kamakin
610f3e9377 Ignore duplicate start destination updates 2022-10-31 21:23:03 +01:00
Kirill Kamakin
0487a5c038 Keep splash screen while start is unknown 2022-10-31 21:16:20 +01:00
Kirill Kamakin
6ccb8848ec Fix navigation setup 2022-10-31 21:08:17 +01:00
Kirill Kamakin
a6a9aef5e2 Remove splash fragment 2022-10-31 21:08:17 +01:00
Kirill Kamakin
81e3fcfd98 Start splash screen API migration 2022-10-31 21:08:17 +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
039ba20c83 Remove empty file 2022-10-30 13:31:12 +01:00
Kirill Kamakin
9d1fdce77a Generate random ids for instructions and ingredients 2022-10-30 13:21:27 +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
fbf1411f0b Disable Okay button when not clickable 2022-08-07 15:02:55 +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
5297419b33 Use one App class for all variants 2022-08-05 21:32:44 +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