Commit Graph

612 Commits

Author SHA1 Message Date
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
64d4d47be2 Cleanup responses a bit more 2022-10-30 13:08:25 +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
90380dcbf1 Fix logging method name 2022-10-30 11:08:27 +01:00
Kirill Kamakin
71d5900530 Split v1 creation to create/update 2022-10-30 11:07:02 +01:00
Kirill Kamakin
7ac0409cd5 Move v0 add recipe models to one file 2022-10-30 10:45:06 +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
a06d710f7a Use V1 model for authentication 2022-10-29 19:59:09 +02:00
Kirill Kamakin
9bf9146a40 Implement V1 authentication 2022-10-29 19:55:40 +02:00
Kirill Kamakin
3d267f319f Fix logging method name 2022-10-29 19:46:33 +02:00
Kirill Kamakin
5d99b0ee96 Extract duplicated makeCall methods 2022-10-29 19:46:09 +02: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
9e9d07db7d Fix invalid import 2022-10-29 18:36:15 +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
3f2f945d99 Fix opening recipes on v1 2022-10-29 18:01:16 +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
90eeb155b2 Merge branch 'master' into v1-support
# Conflicts:
#	gradle/libs.versions.toml
2022-10-29 16:23:10 +02:00
Kirill Kamakin
43d744f7a5 Merge pull request #75 from kirmanak/update-dependencies
Update versions of dependencies
2022-10-29 16:11:55 +02:00
Kirill Kamakin
611a844dfc Update versions of dependencies 2022-10-29 15:54:14 +02:00
Kirill Kamakin
df3dcf8b57 Merge branch 'master' into v1-support
# Conflicts:
#	gradle/libs.versions.toml
2022-10-29 15:41:49 +02:00
Kirill Kamakin
6a5fb47ea2 Merge pull request #73 from kirmanak/update-dependencies
Update versions
2022-10-01 13:53:44 +02:00
Kirill Kamakin
8638b36fa9 Update versions 2022-10-01 13:29:44 +02:00
Kirill Kamakin
ac8395134b Create V1 files 2022-08-20 12:49:06 +02:00
Kirill Kamakin
288ad55995 Update versions of dependencies 2022-08-14 18:25:18 +02:00
Kirill Kamakin
95205f8ffe Initialize v1 support 2022-08-14 18:19:42 +02:00
Kirill Kamakin
684b492fb2 Merge pull request #72 from kirmanak/version-bump
Bump version to 0.2.5
2022-08-07 18:58:15 +02:00
Kirill Kamakin
0c274dae13 Bump version to 0.2.5 2022-08-07 18:47:30 +02:00
Kirill Kamakin
cbcd49c472 Merge pull request #71 from kirmanak/okay
Disable Okay button when not clickable
2022-08-07 17:30:43 +02:00
Kirill Kamakin
fbf1411f0b Disable Okay button when not clickable 2022-08-07 15:02:55 +02:00
Kirill Kamakin
a08ea0a14b Merge pull request #70 from kirmanak/network-module
Extract datasource to separate module
2022-08-07 13:29:07 +02:00
Kirill Kamakin
3e838aba85 Add MealieDataSourceWrapperTest 2022-08-07 13:16:28 +02:00
Kirill Kamakin
72a0a286ff Format MealieDataSourceImpl 2022-08-07 12:47:09 +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