Commit Graph

1910 Commits

Author SHA1 Message Date
Ammar Githam
04aae488d9 Rename .java to .kt 2021-06-05 19:58:01 +09:00
Ammar Githam
faf299f6f0 Preparation for adding ProfileFragmentViewModel 2021-06-05 19:36:00 +09:00
Austin Huang
696a8c9c61
close #1383 2021-06-04 16:02:29 -04:00
Austin Huang
bcfe4819cb
close #1346 2021-06-04 15:51:59 -04:00
Austin Huang
8e1d5c66bd
close #1388 (i think) 2021-06-04 15:34:29 -04:00
Austin Huang
4a72d64a6d
close #1385 2021-06-04 15:29:36 -04:00
Austin Huang
aad93a9662
close #1386 2021-06-04 14:45:28 -04:00
Austin Huang
86ce7e5f05
close #1387 2021-06-04 14:38:03 -04: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
8491d1aac7 Convert BitmapUtils to kotlin and migrate MediaUploader funcs to suspend 2021-06-03 20:40:13 +09:00
Ammar Githam
5756f055d9 Convert DownloadWorker to kotlin 2021-06-02 08:09:22 +09:00
Ammar Githam
9e65ee9d27 Rename .java to .kt 2021-06-02 08:09:21 +09:00
Ammar Githam
45e629ee61 Convert DirectMessageSettingsFragment to kotlin 2021-06-02 07:14:38 +09:00
Ammar Githam
01c944486d Convert DirectPendingInboxFragment to kotlin 2021-06-01 21:23:42 +09:00
Ammar Githam
ffafda0085 Rename .java to .kt 2021-06-01 21:23:42 +09:00
Ammar Githam
da41393177 Some refactoring and fixes 2021-06-01 20:54:20 +09:00
Ammar Githam
fd3b1a8d18 Convert DirectMessageInboxFragment to kotlin 2021-06-01 20:03:00 +09:00
Ammar Githam
652c57aa24 Rename .java to .kt 2021-06-01 20:03:00 +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
0c77611e22 Missed gradle changes 2021-05-31 22:16:34 +09:00
Ammar Githam
741a997424 More suspend funs 2021-05-31 22:16:18 +09:00
Ammar Githam
538a1406a6 Merge remote-tracking branch 'upstream/master' 2021-05-31 20:56:06 +09:00
Ammar Githam
87e6e4440f Convert to kotlin, suspend funs, and viewModelScope 2021-05-31 20:55:22 +09:00
Ammar Githam
68bc9a7543 Rename .java to .kt 2021-05-31 20:55:22 +09:00
Austin Huang
d532d28ac3
convert some to kotlin 2021-05-30 20:51:54 -04:00
Austin Huang
7cf659c4f5
Rename .java to .kt 2021-05-30 20:51:54 -04:00
Austin Huang
a037b68f27
oops 2021-05-30 20:47:44 -04:00
Austin Huang
267096ff39
move private post warning to share dialog
i don't know if this works on android 10+ but eh
2021-05-30 20:02:18 -04:00
Austin Huang
241c9437c5
close #1360, close #1361 2021-05-30 19:23:09 -04:00
Austin Huang
972f71c480
convert some to kotlin 2021-05-30 19:07:58 -04:00
Austin Huang
37b4817bd7
Rename .java to .kt 2021-05-30 18:06:40 -04:00
Ammar Githam
ed092d7af0 Fix unresolved reference error. See description.
New okio version is not on the release classpath but it is on the debug classpath. Since leakcanary has move to it, but retrofit2 still uses old. So need to explicitly use old api in code and suppress the deprecation.
2021-05-30 20:55:00 +09:00
Ammar Githam
9d2cc10083 Use map directly 2021-05-30 00:03:45 +09:00
Austin Huang
e8ce2898b6
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2021-05-29 10:47:52 -04:00
Austin Huang
890139a287
comments redo (logged-in endpoint) 2021-05-29 10:46:23 -04:00
Ammar Githam
3db7b53757 Convert DirectThreadViewModel to kotlin and fix ThreadManager 2021-05-29 23:14:04 +09:00
Ammar Githam
ddac623184 Rename .java to .kt 2021-05-29 23:14:03 +09:00
Ammar Githam
59750b1026 Convert DM managers to kotlin 2021-05-29 22:22:28 +09:00
Ammar Githam
229cde6074 Rename .java to .kt 2021-05-29 22:22:28 +09: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
9830a04ec3 Handle '@' in username in ProfileFragment. Fixes austinhuang0131/barinsta#1337 2021-05-28 21:48:59 +09:00
Ammar Githam
cf0c420801 Convert CameraActivity to kotlin 2021-05-28 21:18:59 +09:00
Ammar Githam
f52cebf419 Rename .java to .kt 2021-05-28 21:18:59 +09:00
Ammar Githam
0c61439957 Fix favicon param can be nullable. Fixes austinhuang0131/barinsta#1353 2021-05-28 21:16:21 +09:00
Ammar Githam
5b9354324e init settingsHelper before setting up CrashReporter 2021-05-28 20:52:45 +09:00
Ammar Githam
c9f1e2eff4 Convert Login to kotlin 2021-05-28 09:00:16 +09:00
Ammar Githam
a49221775e Rename .java to .kt 2021-05-28 09:00:16 +09:00
Ammar Githam
631d55af85 Convert InstaGrabberApplication to kotlin 2021-05-28 08:49:41 +09:00
Ammar Githam
e0a13f7fb7 Rename .java to .kt 2021-05-28 08:49:41 +09:00
Ammar Githam
5452ea74f4 Convert BaseLanguageActivity to kotlin 2021-05-28 08:16:15 +09:00
Ammar Githam
31faadb930 Rename .java to .kt 2021-05-28 08:16:15 +09:00
Ammar Githam
a25e6e11c3 Convert MainActivity to kotlin 2021-05-26 22:44:48 +09:00
Ammar Githam
fda9d9e3c4 Rename .java to .kt 2021-05-26 22:44:47 +09:00
Austin Huang
83ac47b04a
Merge remote-tracking branch 'origin/master' 2021-05-25 22:47:42 -04:00
Austin Huang
b26cdb3d68
new story models 2021-05-25 22:47:27 -04:00
Austin Huang
af8111edad
convert wrappeduser 2021-05-25 22:13:48 -04:00
Austin Huang
23d35e7f52
Rename .java to .kt 2021-05-25 22:13:47 -04:00
Ammar Githam
77965f9634 Convert FavoritesViewModel to kotlin and optimise code 2021-05-25 07:36:47 +09:00
Ammar Githam
39687136dc Rename .java to .kt 2021-05-25 07:36:47 +09:00
Ammar Githam
d284a1901e Convert FavoritesFragment to kotlin 2021-05-25 06:45:07 +09:00
Ammar Githam
7f21eed5cf Rename .java to .kt 2021-05-25 06:45:07 +09:00
Ammar Githam
ce31554687 Fix Caption de-serialization 2021-05-25 02:08:46 +09:00
Ammar Githam
841c3bdbda Convert to kotlin 2021-05-25 01:58:37 +09:00
Ammar Githam
ebe6a176f1 Rename .java to .kt 2021-05-25 01:58:37 +09:00
Ammar Githam
eab6fea0ab Convert to kotlin 2021-05-25 01:22:59 +09:00
Ammar Githam
54a03e0d2b Rename .java to .kt 2021-05-25 01:22:59 +09:00
Ammar Githam
bc6fdd03d9 null checks and try with resources 2021-05-25 00:43:20 +09:00
Ammar Githam
c18e1ddb93 Convert to kotlin 2021-05-25 00:41:07 +09:00
Ammar Githam
c3e31ab81b Fix dm video upload 2021-05-24 23:40:08 +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
981cd693bf Remove the last usage of Date. austinhuang0131/barinsta#1309 2021-05-24 20:04:32 +09:00
Austin Huang
7e00dcc1b7
more #1309 2021-05-23 21:34:19 -04:00
Austin Huang
2395b3b892
remake date formatter 2021-05-23 20:51:29 -04:00
Ammar Githam
5f217829b8 update null checks 2021-05-24 08:56:23 +09:00
Ammar Githam
d611006438 Convert Emoji parsing utils to kotlin. austinhuang0131/barinsta#1311 2021-05-24 08:45:41 +09:00
Ammar Githam
2ac05569e1 Rename .java to .kt 2021-05-24 08:45:41 +09:00
Ammar Githam
b273bff738 Replace some usages of Date with LocalDateTime. austinhuang0131/barinsta#1309 2021-05-23 21:58:19 +09:00
Ammar Githam
c784ca937d Fix FriendshipStatus variable names 2021-05-23 20:17:52 +09:00
Ammar Githam
51f3a348b7 Add some TODO 2021-05-23 20:03:34 +09:00
Ammar Githam
7ca0d513dc Null check 2021-05-23 17:11:12 +09:00
Ammar Githam
7dc3732e3e Convert to kotlin 2021-05-23 17:10:49 +09:00
Ammar Githam
a808d600bb Rename .java to .kt 2021-05-23 17:10:49 +09:00
Ammar Githam
d7462109db Convert to kotlin 2021-05-23 16:48:27 +09:00
Ammar Githam
333e0faed5 Rename .java to .kt 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
0dfdc4bb41 Replace Toast with Tooltip in PostViewV2Fragment. Fixes austinhuang0131/barinsta#1264 2021-05-23 12:10:42 +09:00
Ammar Githam
0986f2fb71 Remove pk from Caption constructor, to resolve deserialization exception when pk sent by api is a string 2021-05-23 12:09:54 +09:00
Ammar Githam
027d2c634a Show post view toasts near the views 2021-05-23 11:47:15 +09:00
Ammar Githam
30257a953f Further fixes for post view layout problem for some posts 2021-05-23 11:39:16 +09:00
Ammar Githam
09306049d5 Add reddit post to rate limit dialog 2021-05-23 10:35:42 +09:00
Renovate Bot
303b04be55
Update dependency com.github.ammargitham:AutoLinkTextViewV2 to v3.2.0 2021-05-23 00:12:00 +00:00
Ammar Githam
ce4203e5ea Update AutoLinkTextViewV2. Fixes austinhuang0131/barinsta#1204 2021-05-23 08:47:51 +09:00
Ammar Githam
b3680584bf Fix fullscreen mode showing bottom nav bar and fix austinhuang0131/barinsta#1292 2021-05-23 08:07:49 +09:00
Ammar Githam
505d5acef3 Merge remote-tracking branch 'upstream/master' 2021-05-23 06:31:04 +09:00