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
09306049d5
Add reddit post to rate limit dialog
2021-05-23 10:35:42 +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
Ammar Githam
13bfc9cb84
Convert some retrofit response classes to kotlin
2021-05-23 06:26:33 +09:00
Austin Huang
c003cf5900
convert some more classes to kotlin
2021-05-22 16:22:16 -04:00
Austin Huang
1ad2b3e72b
Rename .java to .kt
2021-05-22 16:22:15 -04:00
Austin Huang
c5f20676f4
Rename .java to .kt
2021-05-22 16:19:00 -04:00
Austin Huang
974a846185
convert some more classes to kotlin
2021-05-22 12:35:38 -04:00
Austin Huang
1a7d5082ba
Rename .java to .kt
2021-05-22 12:35:38 -04:00
Austin Huang
c2b46c4319
fix "post not found" message when it actually works
2021-05-22 12:35:18 -04:00
Austin Huang
43b2d37c4f
fix #1300
2021-05-22 12:12:57 -04:00
Ammar Githam
dde8fd37e3
Fix stories parsing
2021-05-22 20:27:32 +09:00
Ammar Githam
17fb608c34
Convert some more classes to kotlin
2021-05-22 20:10:53 +09:00
Ammar Githam
746925e54d
Rename .java to .kt
2021-05-22 20:10:52 +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
4a9bf1119e
show bottom navigation in pvv2
2021-05-21 16:00:40 -04:00
Austin Huang
a351b57b80
Update LocaleUtils.java
2021-05-21 15:18:40 -04:00
Austin Huang
1c93a99533
add new languages
2021-05-21 14:54:12 -04:00
Austin Huang
98d7260927
fix archive viewing bug
2021-05-21 14:21:44 -04:00
Austin Huang
ec9e28bc09
close #1267 and also simplify FriendshipService
2021-05-21 12:23:24 -04:00
Austin Huang
e726ba3ccf
replace DownloadCheckerAsyncTask, close #825
2021-05-20 15:21:00 -04:00
Austin Huang
447ef0d660
replace CreateThreadAction
2021-05-20 15:07:09 -04:00
Austin Huang
a812161185
Merge pull request #1201 from tcely/issue-1178
...
Use Uri.parse for IntentUtils.parseUrl
2021-05-19 17:01:10 -04:00
Austin Huang
42dfe01220
"ig.me/u/..." doesn't exist anymore? so removed it
2021-05-19 17:00:36 -04:00
tcely
9a889ef385
fix size comparison & handle empty paths list
2021-05-19 15:19:44 -04:00
Austin Huang
e3da94c925
user agent maintenance
2021-05-19 13:05:53 -04:00
Austin Huang
55624dbdce
Merge pull request #1219 from raniapl/raniapl/development
...
Disable scrolling on empty profiles - Fix issues #1093 , #1135 , #1061
2021-05-19 12:57:46 -04:00
Austin Huang
62f63a33a3
retire PostFetcher
2021-05-19 12:38:29 -04:00
Austin Huang
af4aaf6e2a
remove direct download function
2021-05-19 12:06:59 -04:00
Austin Huang
3cc5040110
close #1268
2021-05-19 12:06:34 -04:00
Ammar Githam
644f2ddff8
Add some null checks and formatting.
2021-05-19 20:09:49 +09:00
Ammar Githam
f501f68f98
Merge branch 'master' into raniapl/development
2021-05-19 19:55:14 +09:00
Austin Huang
efb5818a65
post shortcode converter
2021-05-18 22:11:16 -04:00
Austin Huang
a462f1e6b2
Merge pull request #1190 from raniapl/stamatiap/development
...
add an alert dialog for swipe up link - fix issue #1101
2021-05-18 17:15:33 -04:00
Austin Huang
f85daef6ea
remove redundant import
2021-05-18 17:15:09 -04:00
Austin Huang
78caa4286a
fix indentations
2021-05-18 17:14:28 -04:00
Austin Huang
5c0598502a
comment out unused stuff
2021-05-18 16:43:22 -04:00
Austin Huang
d5e75d16c3
long-clicking a discover topic should now show cover post
2021-05-18 16:43:11 -04:00
Austin Huang
f4d1575edb
close #1263
2021-05-18 16:24:37 -04:00
Austin Huang
4161c7bc4d
close #1271
2021-05-18 16:21:30 -04:00
Austin Huang
256a2ae88d
option to show keyboard immediately on search, close #1261
2021-05-18 15:48:28 -04:00
Austin Huang
bedae1804f
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber
2021-05-18 15:39:24 -04:00
Austin Huang
ba0d51d0b6
migrate preference keys
2021-05-18 14:54:26 -04:00
Rania Pilioura
c0cc45bcc3
Format code
2021-05-17 05:51:56 +03:00
Rania Pilioura
86b724d998
Disable scrolling on blank or private profiles
...
works with MotionLayout
See #1219
2021-05-17 05:38:30 +03:00
Rania Pilioura
3ca326d520
Merge remote-tracking branch 'upstream/master' into raniapl/development
2021-05-17 03:14:53 +03:00
stamatiap
892bfa336f
Merge branch 'stamatiap/development' of https://github.com/raniapl/barinsta into stamatiap/development
2021-05-16 10:10:52 +03:00
Stamatia Papageorgiou
cdb566a160
Merge branch 'austinhuang0131:master' into stamatiap/development
2021-05-16 10:09:08 +03:00
stamatiap
407f0680c1
make changes in dialog
2021-05-16 10:00:16 +03:00
Austin Huang
23b7119846
null check to avoid launch crash
...
immediately hitting the feed tab after launch will produce the following crash, so this resolves it by a null check:
```
java.lang.NullPointerException: Attempt to read from field 'awais.instagrabber.customviews.PostsRecyclerView awais.instagrabber.databinding.FragmentFeedBinding.feedRecyclerView' on a null object reference
at awais.instagrabber.fragments.main.FeedFragment.scrollToTop(FeedFragment.java:461)
at awais.instagrabber.utils.NavigationExtensions.lambda$setupItemReselected$2(NavigationExtensions.java:190)
at awais.instagrabber.utils.-$$Lambda$NavigationExtensions$C3II1R-NOFB80ERAxio06uf3Qto.onNavigationItemReselected(Unknown Source:4)
...
```
2021-05-15 20:40:02 -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
37edc0171e
Pause story player in onPause instead of releasing it. Fixes austinhuang0131/barinsta#1060
2021-05-15 13:27:51 +09:00
Ammar Githam
b3cd83ad31
Fix clicking story from story list after searching opens wrong story. Fixes austinhuang0131/barinsta#1189
2021-05-15 13:21:58 +09:00
Ammar Githam
e1057c8781
Fix sending videos in DM. Fixes austinhuang0131/barinsta#1217
2021-05-15 12:44:03 +09:00
Ammar Githam
2f44255584
Some refactoring
2021-05-15 11:47:43 +09:00
Ammar Githam
5daec513ba
Fix post view button colors wrong for some themes
2021-05-15 11:47:30 +09:00
Ammar Githam
eb1e55470a
Fix null menuItemView warnings
2021-05-15 11:46:15 +09:00
Ammar Githam
1e94c73e10
Fix feed stories not rendered if app goes in background immediately after startup. Fixes austinhuang0131/barinsta#1258
2021-05-15 08:21:38 +09:00
Ammar Githam
7797ca3205
BottomNavBar: update deprecated method calls
2021-05-15 07:38:00 +09:00
Ammar Githam
988033f5fd
Fix verified, private icons in profile details shifting when scrolling
2021-05-15 07:07:27 +09:00
Ammar Githam
78cfa32a83
Fix navigating away from post view causing app resize
2021-05-15 06:51:33 +09:00
Austin Huang
429bcc4e91
fix #1255
2021-05-14 15:00:31 -04:00
Austin Huang
1e2cf4f3a9
Merge pull request #1229 from raniapl/stamatiap/fixissue1075
...
fix highlight title - issue #1075
2021-05-14 14:08:23 -04:00
Rania Pilioura
e8a4477cbc
Merge branch 'master' into raniapl/development
2021-05-14 14:51:50 +03:00
Rania Pilioura
78484a86ac
Trying to solve merge conflicts
...
disable scrolling functionality first try removed
2021-05-14 14:19:59 +03:00
Ammar Githam
cf71ca682e
Update keyboard/emojipicker visiblity logic. Fixes austinhuang0131/barinsta#1181 . Also check description.
...
This commits adds some special handling for Android 11+ users regarding keyboard visibility. Check https://github.com/android/user-interface-samples/tree/master/WindowInsetsAnimation .
2021-05-14 00:53:23 +09:00
Ammar Githam
1ede8ad4bf
Fix some bottom nav bar related issues. Check description.
...
1. Fixed inconsistent bottom bar hiding. Since currently bottom bar cannot hide with motionlayout, keep bottom bar visible.
2. Remove unnecessary padding in location and hashtag fragment.
3. Fix the last item in more preference screen hidden under bottom bar.
2021-05-11 20:07:10 +09:00
Ammar Githam
413f12c3c2
parse locationId to long before setting to bundle. Fixes austinhuang0131/barinsta#1235
2021-05-11 19:45:28 +09:00
Stamatia Papageorgiou
d9248d2fb9
Merge branch 'master' into stamatiap/development
2021-05-10 22:25:07 +03:00
stamatiap
38b7f29d44
update alert dialog title
2021-05-10 21:54:07 +03:00
stamatiap
1f61926108
add default case to switch statement - issue #1101
2021-05-10 21:54:06 +03:00
stamatiap
fdacd1b421
add alert dialog for swipe up link - issue #1101
2021-05-10 21:54:06 +03:00
Ammar Githam
79fe697167
Include textview left padding while calculating last line width in text messages. For austinhuang0131/barinsta#1222
2021-05-10 23:03:37 +09:00
Ammar Githam
3b41cd78bd
Remove unnecessary null check
2021-05-10 21:48:44 +09:00
Ammar Githam
f3d5678225
Null checks. Fixes austinhuang0131/barinsta#1221
2021-05-10 21:45:43 +09:00
Ammar Githam
1c5bdb1cca
Possible fix for Tmp detached view error. Fixes austinhuang0131/barinsta#1200
2021-05-10 21:39:13 +09:00
Ammar Githam
3cc4f7b7bc
Check null url. Fixes austinhuang0131/barinsta#1192
2021-05-10 21:22:35 +09:00
stamatiap
1665262fdf
fix highlight title - issue #1075
2021-05-09 13:40:05 +03:00
Ammar Githam
2f4fe657e9
Allow reacting direct item with any emoji. Fixes austinhuang0131/barinsta#1137
2021-05-09 03:57:47 +09:00
Ammar Githam
5744a1a687
Add fullscreen mode to post view
2021-05-09 02:14:36 +09:00
Rania Pilioura
6502bceb2e
Make AppBarLayout.LayoutParams toolbarLayoutParams final
2021-05-08 14:59:24 +03:00
Ammar Githam
3dde61d91a
Show tooltip to make user aware of expandable count. Fix FormattedNumberTextView animation.
2021-05-08 20:22:26 +09:00
Ammar Githam
fb1f3c2cd8
Due to MotionLayout, the bottom nav bar won't hide on scroll. Instead give recyclerview bottom padding to avoid last row/item being partly hidden.
2021-05-08 16:42:57 +09:00
Ammar Githam
b64d1409a0
Fix instance leak
2021-05-08 15:52:40 +09:00
Ammar Githam
2f4eff741e
Update post view layout and a height related bug. Use exo's internal layout for controls.
2021-05-08 15:49:20 +09:00
Rania Pilioura
8210347e66
Disable scrolling when profile has no posts
...
Fix #1093
2021-05-08 06:35:57 +03:00
Ammar Githam
59c8a325fe
Fix collapsing toolbar with covers
2021-05-07 21:19:16 +09: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
tcely
94ea635ca4
Removed try/catch for null url
2021-05-04 21:19:22 -04:00
tcely
be252f9a42
Removed old unused functions
2021-05-04 21:19:20 -04:00
tcely
8637fceab0
Removed logging of parsed differences
2021-05-04 21:19:17 -04:00
tcely
53ce38f5cd
Use Uri.parse for IntentUtils.parseUrl
...
Fixes #1178
2021-05-04 21:19:15 -04:00
Ammar Githam
63dc69e13c
Fix for Looper.prepare()
2021-05-03 21:10:46 +09:00
Ammar Githam
d819928eb3
Memory efficient bitmap decoding in DownloadWorker. Fixes austinhuang0131/barinsta#930 .
2021-05-03 18:30:50 +09:00
Ammar Githam
b2822b27a1
Fixes austinhuang0131/barinsta#1199
2021-05-03 17:40:06 +09:00
Ammar Githam
9dae40fae0
More null checks. Probably resolves austinhuang0131/barinsta#992
2021-05-03 17:31:00 +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
ac3f8b9bfd
Wrapping ViewModelProvider constructor with try-catch to prevent crashes. Addresses austinhuang0131/barinsta#903 .
2021-05-03 16:52:08 +09:00
Ammar Githam
a6e9a34024
Switch to use exo controls
2021-05-03 03:16:40 +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
Austin Huang
18292ead4e
close #1196
2021-04-30 19:16:10 -04:00
stamatiap
990cb8fdcd
make needed changes - issue #1047
2021-04-28 20:36:25 +03:00
stamatiap
a5759b6c1b
fix Add to favorites button's visibility - issue #1047
2021-04-28 20:36:25 +03:00
Ammar Githam
1cd75f2462
Popup to first fragment on tab reselect. Closes austinhuang0131/barinsta#1079
2021-04-29 01:38:46 +09:00
Ammar Githam
8f4691a72a
Handle possible exception on MainActivity destroy. Fixes part of austinhuang0131/barinsta#1099
2021-04-29 00:34:54 +09:00
Ammar Githam
1a57c4c813
Handle no map app. Fixes austinhuang0131/barinsta#1175
2021-04-29 00:22:13 +09:00
Ammar Githam
c0fb6e3a50
Fix comments input color in dark black theme. Fixes austinhuang0131/barinsta#1062
2021-04-29 00:14:12 +09:00
Ammar Githam
6df5bc056c
Fix tapping search input not showing keyboard the first time
2021-04-28 23:16:35 +09:00
Austin Huang
f88bc49c30
Merge pull request #1077 from ammargitham/feature/search-history
...
Search history with separate search fragment
2021-04-26 17:53:20 -04:00
Austin Huang
df7644f0df
Merge pull request #1113 from tcely/patch-1
...
Open instagr.am links too
2021-04-26 17:41:41 -04:00
Ammar Githam
8820779303
Handle long clicks. Fixes austinhuang0131/barinsta#1117
2021-04-25 20:58:02 +09:00
Ammar Githam
cdbaf95589
Surround setPrimaryClip with try catch. Fixes austinhuang0131/barinsta#1133
2021-04-25 16:25:58 +09:00
Ammar Githam
3e06cb2079
Null check. Fixes austinhuang0131/barinsta#1125
2021-04-25 16:18:58 +09:00
Ammar Githam
7658cacbc2
Wrap navigate calls with try catch to prevent double click exceptions. Closes austinhuang0131/barinsta#1132 , austinhuang0131/barinsta#1150 , austinhuang0131/barinsta#1156
2021-04-25 16:08:43 +09:00
tcely
b741ff9ccb
Replace instagr.am with instagram.com
2021-04-23 22:36:12 -04:00
Ammar Githam
627b1bfe76
Null check and fragment manager check. Fixes https://github.com/austinhuang0131/barinsta/issues/1116
2021-04-18 16:46:36 +09:00
Ammar Githam
732153f8bb
Fix some codefactor warnings
2021-04-15 23:40:55 +09:00
Ammar Githam
1ee12f71f4
Merge branch 'master' into feature/search-history
2021-04-15 22:35:31 +09:00