1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2025-07-05 19:02:01 +00:00
Commit Graph

158 Commits

Author SHA1 Message Date
Ammar Githam
29d2b894d8 Interchange UserService and UserRepository names. Check description.
As per the sample provided at https://github.com/android/architecture-components-samples/tree/main/GithubBrowserSample, the Retrofit interfaces should be named Services and the classes using the services are Repositories.

Once all are properly named, we can move the db repositories inside the repositories package.
2021-06-09 08:40:13 +09:00
Ammar Githam
6b499e3dfc Migrate DirectMessagesService to object 2021-06-06 20:11:36 +09:00
Ammar Githam
cae457aa9a Convert StoriesRepository and StoriesService to kotlin 2021-06-06 19:29:21 +09:00
Ammar Githam
a2cc4573e1 Rename .java to .kt 2021-06-06 19:29:21 +09:00
Ammar Githam
cf65ed0fc5 Convert FriendshipRepository and FriendshipService to kotlin 2021-06-06 14:18:27 +09:00
Ammar Githam
7769aa220f Rename .java to .kt 2021-06-06 14:18:26 +09:00
Ammar Githam
143a0ce259 Convert GraphQLRepository and GraphQLService to kotlin 2021-06-06 13:14:29 +09:00
Ammar Githam
dd3562116b Rename .java to .kt 2021-06-06 13:14:28 +09:00
Ammar Githam
a2bd2e4b53 Convert UserRepository and UserService to kotlin 2021-06-06 10:11:30 +09:00
Ammar Githam
6b24c907dd Rename .java to .kt 2021-06-06 10:11:30 +09:00
Ammar Githam
e56e4c17c9 Migrate MediaService to object 2021-06-06 09:43:19 +09:00
Ammar Githam
3f09c7d173 Convert User to kotlin 2021-06-05 19:58:01 +09:00
Ammar Githam
b997504602 Convert MediaRepository and MediaService to kotlin. 2021-06-04 07:17:24 +09:00
Ammar Githam
708e0fda5b Some code cleanup 2021-06-03 20:42:28 +09:00
Ammar Githam
bcec6d373c Fix comment replies cursor 2021-06-01 18:16:54 +09:00
Ammar Githam
e6b791bd4d Merge remote-tracking branch 'upstream/master' 2021-06-01 06:46:31 +09:00
Ammar Githam
cc1741005b DirectMessagesRepository migrated to suspend functions 2021-06-01 06:45:36 +09:00
Austin Huang
d4307fc770
fix profile post graphql hash
might solve the problem where the app and browser has different ratelimits
2021-05-31 12:24:56 -04:00
Ammar Githam
741a997424 More suspend funs 2021-05-31 22:16:18 +09:00
Ammar Githam
87e6e4440f Convert to kotlin, suspend funs, and viewModelScope 2021-05-31 20:55:22 +09:00
Ammar Githam
9d2cc10083 Use map directly 2021-05-30 00:03:45 +09:00
Austin Huang
890139a287
comments redo (logged-in endpoint) 2021-05-29 10:46:23 -04:00
Ammar Githam
a19d16a26e Convert some web repo and service classes to kotlin 2021-05-29 01:30:01 +09:00
Ammar Githam
b179fb66c0 Rename .java to .kt 2021-05-29 01:30:01 +09:00
Ammar Githam
841c3bdbda Convert to kotlin 2021-05-25 01:58:37 +09:00
Ammar Githam
c18e1ddb93 Convert to kotlin 2021-05-25 00:41:07 +09:00
Ammar Githam
4b6ab15e26 Fix a variable name, add logging to upload video request and handle non json errors correctly. 2021-05-24 22:49:32 +09:00
Ammar Githam
5b10ecbd9d Added some todo 2021-05-24 20:29:05 +09:00
Ammar Githam
d7462109db Convert to kotlin 2021-05-23 16:48:27 +09:00
Ammar Githam
742b696d17 Share posts via DM. Resolves part of austinhuang0131/barinsta#537 2021-05-23 15:57:01 +09:00
Ammar Githam
09306049d5 Add reddit post to rate limit dialog 2021-05-23 10:35:42 +09:00
Ammar Githam
13bfc9cb84 Convert some retrofit response classes to kotlin 2021-05-23 06:26:33 +09:00
Ammar Githam
dde8fd37e3 Fix stories parsing 2021-05-22 20:27:32 +09:00
Ammar Githam
0c7fb20b2b Merge branch 'master' of https://github.com/austinhuang0131/barinsta
Merge branch 'master'
2021-05-22 18:03:03 +09:00
Ammar Githam
84e93431ae Add Kotlin and convert some model classes to kotlin 2021-05-22 17:58:18 +09:00
Austin Huang
ec9e28bc09
close #1267 and also simplify FriendshipService 2021-05-21 12:23:24 -04:00
Austin Huang
62f63a33a3
retire PostFetcher 2021-05-19 12:38:29 -04:00
Austin Huang
ba0d51d0b6
migrate preference keys 2021-05-18 14:54:26 -04:00
Austin Huang
fc70129c96
close #1040 (probably) 2021-05-15 12:53:00 -04:00
Austin Huang
f89f0ef542
add a simple user constructor 2021-05-15 12:52:31 -04:00
Ammar Githam
96da16ff84 Convert Post view to a regular fragment instead of dialog.
Added global fragment animations too
2021-05-07 20:34:31 +09:00
Ammar Githam
3bbafc654c Fix some story and mediaretriever bug 2021-05-05 18:07:48 +09:00
Ammar Githam
63dc69e13c Fix for Looper.prepare() 2021-05-03 21:10:46 +09:00
Ammar Githam
1dfe5f623c Use Toast instead of SnackBar. Probable workaround for austinhuang0131/barinsta#1027 2021-05-03 17:18:41 +09:00
Ammar Githam
109d08c59f Always return new RetrofitFactory instance. Fixes austinhuang0131/barinsta#1099. 2021-05-03 17:10:20 +09:00
Ammar Githam
074ee18c9d Improve comments viewer ui and ux. Update ui for likes viewer and follows viewer. 2021-05-02 18:16:25 +09:00
Ammar Githam
ea2956f3ca Add state saved check before show. Fixes https://github.com/austinhuang0131/barinsta/issues/1071. 2021-04-14 01:08:08 +09:00
Austin Huang
807cf91cd7
Merge branch 'master' into retrofit-intercept-errors 2021-04-03 19:03:56 -04:00
Austin Huang
04ee3883ea
close #952 2021-04-03 11:44:15 -04:00
Austin Huang
eb21854ee7
muted reels behaviour setting 2021-04-02 17:14:37 -04:00