1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 22:57:29 +00:00
Commit Graph

2028 Commits

Author SHA1 Message Date
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
Austin Huang
85ac7478eb
fix string grammar 2021-05-18 14:48:23 -04:00
Rania Pilioura
c0cc45bcc3 Format code 2021-05-17 05:51:56 +03:00
Rania Pilioura
89139618a5 Add margin between chat bubble and bottom controls in DM
Similar previous commmit was reverted
Fix #1135
2021-05-17 05:44:19 +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
e4c4f099e5 Make location single line with ellipsis. Fixes austinhuang0131/barinsta#1212 2021-05-15 12:47:22 +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
Renovate Bot
56a9f42df2
Update dependency androidx.room:room-testing to v2.3.0 2021-05-14 17:34:15 +00: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
13b747fc87 add string for swipe up link confirmation 2021-05-10 21:54:06 +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
Renovate Bot
86365f95ea
Update dependency androidx.room:room-runtime to v2.3.0 2021-05-09 22:04:14 +00:00
Austin Huang
16381ad522
Merge pull request #1224 from austinhuang0131/renovate/com.google.android.material-material-1.x
Update dependency com.google.android.material:material to v1.4.0-beta01
2021-05-09 18:00:28 -04:00
Ammar Githam
ae356d6601 Add prop to explicitly split apks instead of default 2021-05-10 00:54:06 +09:00
Ammar Githam
870eac1b6a Fix multiple apk build not triggered 2021-05-10 00:21:59 +09:00
stamatiap
1665262fdf fix highlight title - issue #1075 2021-05-09 13:40:05 +03:00
Ammar Githam
b56f3e69e2 Merge branch 'master' into split-abi-apks 2021-05-09 13:32:11 +09:00
Renovate Bot
e26152dbc7
Update dependency com.google.android.material:material to v1.4.0-beta01 2021-05-08 19:29:53 +00: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
247a2b4bf5 Increase profile picture download button margin
Fix #1061
2021-05-08 06:58:43 +03:00
Rania Pilioura
798d646674 Add margin between chat bubble and bottom controls in DM
Fix #1135
2021-05-08 06:45:10 +03: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
83475a9bfb Update Android Gradle Plugin to 4.2.0
Also update some dependencies
2021-05-07 20:56:44 +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
d8f476ea66 Fix build 2021-05-02 20:02:03 +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
Austin Huang
e4f224763a
oops 2021-04-30 11:36:37 -04:00
Austin Huang
a352ca6bf2
removing redundant element 2021-04-30 11:35:11 -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
67b8bd9a2f
Merge pull request #1168 from austinhuang0131/renovate/androidx.camera-camera-camera2-1.x
Update dependency androidx.camera:camera-camera2 to v1.1.0-alpha04
2021-04-26 18:14:06 -04:00
Austin Huang
98c80a5cd3
New Crowdin updates (#1045)
* New translations arrays.xml (Chinese Traditional)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations arrays.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Greek)

* New translations strings.xml (Czech)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations arrays.xml (Greek)

* New translations strings.xml (Greek)

* New translations arrays.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations arrays.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations arrays.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* Update source file strings.xml

* New translations strings.xml (Polish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Dutch)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Persian)

* New translations strings.xml (Hindi)

* New translations strings.xml (Greek)

* New translations strings.xml (Swedish)

* New translations strings.xml (French)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Russian)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Catalan)

* New translations strings.xml (Basque)

* New translations strings.xml (Odia)
2021-04-26 18:13:34 -04:00
Renovate Bot
0b2a955f38
Update dependency androidx.camera:camera-camera2 to v1.1.0-alpha04 2021-04-26 22:12:56 +00:00
Austin Huang
409d8c928d
Merge pull request #856 from austinhuang0131/renovate/androidx.camera-camera-view-1.x
Update dependency androidx.camera:camera-view to v1.0.0-alpha24
2021-04-26 18:09:38 -04: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
ImgBotApp
57fa307782
[ImgBot] Optimize images
*Total -- 113.62kb -> 101.65kb (10.54%)

/app/src/main/res/drawable/ic_hashtag.png -- 5.45kb -> 2.51kb (53.88%)
/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png -- 4.20kb -> 2.22kb (47.07%)
/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png -- 2.73kb -> 1.64kb (39.91%)
/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png -- 1.35kb -> 0.99kb (26.5%)
/app/src/main/res/mipmap-hdpi/ic_launcher_background.png -- 0.91kb -> 0.76kb (16.16%)
/app/src/main/res/drawable/barinsta_logo.png -- 48.03kb -> 44.37kb (7.63%)
/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -- 17.47kb -> 16.60kb (4.97%)
/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png -- 33.48kb -> 32.54kb (2.79%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-04-26 21:36:56 +00:00
Austin Huang
64be939cb5
Merge pull request #1128 from The-EDev/master
Changed icon to use separate foreground and background
2021-04-26 17:36:22 -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
Renovate Bot
ffe4dbe8b9
Update dependency androidx.camera:camera-view to v1.0.0-alpha24 2021-04-21 18:58:06 +00:00
The-EDev
95dacbfb08 Changed icon to use separate foreground and background. 2021-04-18 15:37:39 +03: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
Austin Huang
42e4580209
Merge remote-tracking branch 'origin/master' 2021-04-17 16:24:31 -04:00
Austin Huang
a1091d7340
close #661 2021-04-17 16:24:21 -04:00
tcely
fdcc6768bc
Open instagr.am links too 2021-04-16 14:56:32 -04:00
Ammar Githam
732153f8bb Fix some codefactor warnings 2021-04-15 23:40:55 +09:00
Ammar Githam
81a55151c1 Fix styles 2021-04-15 23:33:00 +09:00
Ammar Githam
1ee12f71f4 Merge branch 'master' into feature/search-history 2021-04-15 22:35:31 +09:00
Ammar Githam
cfd1d4a421 Null check csrf token 2021-04-14 21:17:24 +09:00
Ammar Githam
eed4036ad9 Fix setItemsToThread. Fixes https://github.com/austinhuang0131/barinsta/issues/967 2021-04-14 21:17:07 +09:00
Ammar Githam
f2a3506b19 Make refreshStory synchronised? May fix https://github.com/austinhuang0131/barinsta/issues/945 2021-04-14 20:48:42 +09:00
Ammar Githam
d4ee1b9f42 Set click listener on parent view. Fixes https://github.com/austinhuang0131/barinsta/issues/1055 2021-04-14 20:23:42 +09:00
Ammar Githam
34e54837d5 Create new caption object if null. Fixes https://github.com/austinhuang0131/barinsta/issues/1030 2021-04-14 20:17:00 +09:00
Ammar Githam
de9891f368 Add null check. Fixes https://github.com/austinhuang0131/barinsta/issues/1078 2021-04-14 01:27:31 +09:00
Ammar Githam
af3670e3ec Add fragment manager destroyed checks. Fixes https://github.com/austinhuang0131/barinsta/issues/1068 2021-04-14 01:16:32 +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
Ammar Githam
548582a6d2 Fix options menu item background in dark black theme. Fixes https://github.com/austinhuang0131/barinsta/issues/1076 2021-04-14 01:02:42 +09:00
Ammar Githam
e69fc28ab2 Merge branch 'master' into feature/search-history 2021-04-14 00:18:25 +09:00
Ammar Githam
c859669ac1 Add search fragment with recent searches 2021-04-14 00:17:23 +09:00
Austin Huang
6328a66fe4
New Crowdin updates (#962)
* New translations strings.xml (Japanese)

* New translations strings.xml (Spanish)

* New translations strings.xml (Italian)

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations arrays.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Spanish)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Dutch)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Hindi)

* New translations strings.xml (Persian)

* New translations strings.xml (Basque)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Greek)

* New translations strings.xml (French)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Odia)

* Update source file strings.xml

* New translations strings.xml (Chinese Simplified)
2021-04-11 11:28:49 -04:00
Austin Huang
14ed5e9364
release prep 2021-04-11 10:11:40 -04:00
Austin Huang
d8d47befab
favorite tab for anons 2021-04-11 10:07:28 -04:00
Austin Huang
d326d9e2d7
visual optimizations for the previous commit 2021-04-11 09:54:25 -04:00
Austin Huang
84d82e92d3
made play in background an option per https://redd.it/mmpeg9 2021-04-11 09:45:38 -04:00
Austin Huang
23a5ae8405
fix picture zooming issue
Co-Authored-By: Ammar Githam <ammargitham786@gmail.com>
2021-04-09 09:06:53 -04:00
Ammar Githam
9ea7c2c3af Set new uri path to a different PreferenceKey to maintain ability to downgrade. 2021-04-09 20:18:41 +09:00
Ammar Githam
7e3edf639d Merge branch 'master' into support-android-11 2021-04-09 20:07:22 +09:00
Ammar Githam
99431fd077 Null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/981 2021-04-09 20:05:18 +09:00
Ammar Githam
977ccce22c Null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/990 2021-04-09 19:57:56 +09:00
Ammar Githam
1c1e5f0654 Null check. Fixes https://github.com/austinhuang0131/barinsta/issues/991 2021-04-09 19:54:38 +09:00
Ammar Githam
f570ea6146 Null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/992 2021-04-09 19:51:37 +09:00
Ammar Githam
1fdd9077d5 Remove invalid gifs before submitting to adapter. Fixes https://github.com/austinhuang0131/barinsta/issues/1013 2021-04-09 19:36:11 +09:00
Ammar Githam
bb29e847f5 Check for all dm related values before initializing. Fixes https://github.com/austinhuang0131/barinsta/issues/1019 2021-04-09 19:29:38 +09:00
Ammar Githam
abd6fa1c28 Null check. Fixes https://github.com/austinhuang0131/barinsta/issues/1021 2021-04-09 19:13:59 +09:00
Ammar Githam
7b60258959 Improve folder selection UI/UX 2021-04-08 23:48:44 +09:00
Ammar Githam
c8704fb2dc Merge branch 'master' into support-android-11 2021-04-08 18:50:14 +09:00
Ammar Githam
ef847321dc No more scanning 2021-04-08 09:02:18 +09:00
Ammar Githam
94b6e778bd Fix leak and add null checks 2021-04-08 08:10:37 +09:00
Ammar Githam
5a8c3bb201 Fix crop for scoped storage 2021-04-08 07:51:37 +09:00
Austin Huang
a2f73eeb2d
actually add getHideMutedReelsPreference 2021-04-07 07:36:21 -04:00
Ammar Githam
6005e91d8a Media picker will require Read storage permission 2021-04-06 00:58:42 +09:00
Ammar Githam
bca38a2645 Fix audio recording in dm 2021-04-06 00:51:01 +09:00
Ammar Githam
8030c7f220 Fix downloaded check logic 2021-04-05 21:01:33 +09:00
Austin Huang
917e4f3fbd
close #971 2021-04-04 10:59:24 -04:00
Ammar Githam
9b691a453e Remove read/write storage permissions.
Add an activity to select directory.
2021-04-04 23:53:10 +09:00
Austin Huang
d569e718a9
fix navigation actions for fdroid, part 2 2021-04-04 10:43:51 -04:00
Austin Huang
f584b51f64
fix navigation actions for fdroid 2021-04-04 09:47:57 -04:00
Austin Huang
51f76a6c3c
release prep 2021-04-03 22:22:55 -04:00
Austin Huang
50429a0926
#955 2021-04-03 22:16:50 -04:00
Austin Huang
eafce5309a
New Crowdin updates (#841)
* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Vietnamese)

* New translations arrays.xml (Vietnamese)

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (French)

* New translations strings.xml (Russian)

* New translations strings.xml (Hindi)

* New translations strings.xml (Persian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Polish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Dutch)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Italian)

* New translations strings.xml (Basque)

* New translations strings.xml (Greek)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (Catalan)

* New translations strings.xml (Odia)

* Update source file strings.xml

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Italian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Spanish)

* New translations strings.xml (Persian)

* New translations arrays.xml (Basque)

* New translations strings.xml (Basque)

* New translations strings.xml (Basque)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Catalan)

* New translations strings.xml (Catalan)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations arrays.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Spanish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Persian)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Hindi)

* New translations strings.xml (Dutch)

* New translations strings.xml (Macedonian)

* New translations strings.xml (French)

* New translations strings.xml (Basque)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Greek)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Odia)

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Italian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Greek)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Persian)

* New translations strings.xml (French)

* New translations strings.xml (Russian)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Spanish)

* New translations arrays.xml (Chinese Traditional)

* New translations arrays.xml (Russian)

* New translations strings.xml (Russian)

* New translations arrays.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations arrays.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations arrays.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Dutch)

* New translations arrays.xml (Vietnamese)

* New translations strings.xml (Vietnamese)

* New translations arrays.xml (Portuguese, Brazilian)

* New translations arrays.xml (Indonesian)

* New translations strings.xml (Indonesian)

* New translations arrays.xml (Persian)

* New translations arrays.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations arrays.xml (Odia)

* New translations arrays.xml (Polish)

* New translations arrays.xml (Dutch)

* New translations strings.xml (Persian)

* New translations arrays.xml (Spanish)

* New translations arrays.xml (Basque)

* New translations strings.xml (Basque)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Greek)

* New translations arrays.xml (Greek)

* New translations arrays.xml (French)

* New translations strings.xml (French)

* New translations arrays.xml (Catalan)

* New translations strings.xml (Macedonian)

* New translations arrays.xml (Czech)

* New translations strings.xml (Czech)

* New translations arrays.xml (German)

* New translations strings.xml (German)

* New translations arrays.xml (Italian)

* New translations strings.xml (Italian)

* New translations arrays.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations arrays.xml (Macedonian)

* New translations strings.xml (Odia)

* Update source file arrays.xml

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Dutch)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Hindi)

* New translations strings.xml (Persian)

* New translations strings.xml (Basque)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Greek)

* New translations strings.xml (French)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Odia)

* Update source file strings.xml

* New translations strings.xml (Spanish)

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Dutch)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Hindi)

* New translations strings.xml (Persian)

* New translations strings.xml (Basque)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Greek)

* New translations strings.xml (French)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Odia)

* New translations strings.xml (Italian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Polish)

* New translations strings.xml (French)

* New translations strings.xml (Japanese)

* New translations strings.xml (Spanish)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Dutch)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Hindi)

* New translations strings.xml (Persian)

* New translations strings.xml (Basque)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Greek)

* New translations strings.xml (French)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Odia)

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Dutch)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Hindi)

* New translations strings.xml (Persian)

* New translations strings.xml (Basque)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Greek)

* New translations strings.xml (French)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Odia)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (French)
2021-04-03 21:37:57 -04:00
Ammar Githam
7577e82ac1 Add back username prepend logic 2021-04-04 09:27:59 +09:00
Ammar Githam
7848b60b97 Merge branch 'master' into support-android-11 2021-04-04 09:06:26 +09:00
Austin Huang
35bf9a485e
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2021-04-03 19:30:10 -04:00
Austin Huang
bcde6ac85a
login update 2021-04-03 19:30:00 -04:00
Austin Huang
807cf91cd7
Merge branch 'master' into retrofit-intercept-errors 2021-04-03 19:03:56 -04:00
Ammar Githam
04879819c5 Enable splits only if it is a release build and skip if 'noAbiSplits' is passed as project prop 2021-04-04 02:29:43 +09:00
Austin Huang
fcdcef4ebb
removed "@" for consistency 2021-04-03 12:50:46 -04:00
Austin Huang
f55e519895
Merge branch 'master' into pr/925 2021-04-03 12:41:00 -04:00
Austin Huang
8991f14f1b
Merge pull request #955 from ammargitham/restart-on-login-logout
Completely restart app on login logout
2021-04-03 12:40:32 -04:00
Austin Huang
5c97f54f9d
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2021-04-03 12:30:23 -04:00
Austin Huang
4c800835c3
new story menubar; effectively close #553 2021-04-03 12:29:56 -04:00
Austin Huang
04ee3883ea
close #952 2021-04-03 11:44:15 -04:00
Ammar Githam
0cc03b98c2 Completely restart app on login logout 2021-04-04 00:43:01 +09:00
Ammar Githam
122f9b2381 Fix highlights overlapping counts 2021-04-03 23:49:54 +09:00
Ammar Githam
7005527150 Check navigation. Fixes https://github.com/austinhuang0131/barinsta/issues/380 2021-04-03 23:44:46 +09:00
Ammar Githam
043b0d50eb Remove unused files 2021-04-03 23:08:37 +09:00
Ammar Githam
b6b27681f0 Allow generating different apks per cpu type. Reduces apk size considerably. 2021-04-03 22:17:23 +09:00
Ammar Githam
3038a06dca Long name causing compile issues on windows? 2021-04-03 22:07:58 +09:00
Ammar Githam
c5786a6843 Set tabOrderString value with default graph names when its empty 2021-04-03 20:48:21 +09:00
Ammar Githam
e2c15e76b8 Revert "Get tabOrderString always from settings, so that it's not stale if preferences were updated"
This reverts commit b1dd0e6e3c.
2021-04-03 20:45:02 +09:00
Ammar Githam
b1dd0e6e3c Get tabOrderString always from settings, so that it's not stale if preferences were updated 2021-04-03 20:41:35 +09:00
Ammar Githam
bde319ecd4 1. Fix NavDirection compile issue.
2. Fix null pointer if tab order pref is null.
3. Set initial tab order in pref if empty.
2021-04-03 20:23:03 +09:00
Ammar Githam
7c0acdbd6e Migrate File usage to DocumentFile 2021-04-03 19:53:01 +09:00
Austin Huang
5623f6d266
Merge branch 'master' into feature/option_prepend_username 2021-04-02 17:35:18 -04:00
Austin Huang
ddb911624c
dm attachment filename issue 2021-04-02 17:26:44 -04:00
Austin Huang
eb21854ee7
muted reels behaviour setting 2021-04-02 17:14:37 -04:00
Austin Huang
d0e01b3b9b
fix notification navigation in pursuant to #850 2021-04-02 16:59:28 -04:00
junhuicoding
f9816ec335 Fix checkDownloaded to check for both with and without username 2021-04-03 04:05:00 +08:00
Austin Huang
4ab225cdaf
Merge pull request #900 from ammargitham/per-flavor-update-check
Update checker per flavor
2021-04-02 14:04:14 -04:00
Austin Huang
ee95c3f77d
fix image resolution mechanism 2021-04-02 14:03:54 -04:00
Austin Huang
0c11053b93
Merge branch 'master' into per-flavor-update-check 2021-04-02 13:50:49 -04:00
junhuicoding
f0167f2d93 Resolve PR comments 2021-04-03 01:24:13 +08:00
Austin Huang
00128ad6f9
close #880 2021-04-02 13:22:46 -04:00
Austin Huang
e00f7e9fac
Merge branch 'master' into retrofit-intercept-errors 2021-04-02 12:39:39 -04:00
Austin Huang
23611df3fe
make isNavRootInCurrentTabs consistent, show/hide explore 2021-04-02 12:01:29 -04:00
Austin Huang
a3b3c54609
Merge branch 'master' into retrofit-intercept-errors 2021-04-02 09:36:33 -04:00
Austin Huang
1774ce8af0
Merge branch 'master' into bottombar_redesign 2021-04-02 09:35:25 -04:00
Ammar Githam
91c70b778a Move downloads to Environment downloads folder 2021-04-02 01:42:21 +09:00
Renovate Bot
2074045a19
Update dependency com.google.android.material:material to v1.4.0-alpha02 2021-03-31 17:37:25 +00:00
junhuicoding
2d2ad6130b Fix Codacy Issues 2021-04-01 00:55:20 +08:00
junhuicoding
f1df75860b Fix Codacy Issues 2021-04-01 00:48:58 +08:00
junhuicoding
2a1473084e Merge upstream master 2021-04-01 00:35:38 +08:00
junhuicoding
7f5b91e343 nullchecker fix for profileModel 2021-04-01 00:24:15 +08:00
junhuicoding
50432468e5 Updated username prepending for sliders and stories 2021-03-31 23:58:17 +08:00
junhuicoding
a2be48029f initial implementation 2021-03-31 22:53:56 +08:00
Ammar Githam
666a36ff20 Fix crash when fetching self profile info is slow 2021-03-31 21:43:20 +09:00
Austin Huang
cbb7b8654a
Update NotificationsPreferencesFragment.java 2021-03-30 12:23:32 -04:00
Ammar Githam
9cc019d2ae Add copy options in dm 2021-03-30 22:32:05 +09:00
Ammar Githam
38bd1c9cbd Refactor giphy and voice options to their own viewholder, fix download when permission requested. 2021-03-30 22:08:24 +09:00
Ammar Githam
783acf4174 Move dm unseen count observer to main activity. Fixes https://github.com/austinhuang0131/barinsta/issues/873 2021-03-30 21:27:15 +09:00
Ammar Githam
07f41a8a8c Add GraphQl error handling 2021-03-30 20:44:01 +09:00
Ammar Githam
f7b918d91b Merge branch 'master' into retrofit-intercept-errors 2021-03-30 20:01:08 +09:00
Ammar Githam
a89cdfebf1 Add XMA type direct item and fix default viewholder not visible. Fixes https://github.com/austinhuang0131/barinsta/issues/891 2021-03-30 00:47:28 +09:00
Ammar Githam
4507d8b588 Handle unknown dm types. Fixes the crash in https://github.com/austinhuang0131/barinsta/issues/891 2021-03-29 23:02:42 +09:00
Ammar Githam
7dc9583e51 Null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/905 2021-03-29 22:48:55 +09:00
Ammar Githam
39b89423d9 Handle all possible version names in update checker 2021-03-29 22:42:08 +09:00
Ammar Githam
c5d55f3661 Added auto fetch more posts in feed at init. But disabled due to some weird list merging. 2021-03-29 02:01:40 +09:00
Ammar Githam
86b04e69ee Skip update check for pre-release builds 2021-03-28 23:32:27 +09:00
Ammar Githam
1089a39375 Separate out latest version check logic per flavor 2021-03-28 22:56:29 +09:00
Ammar Githam
5653fcb41f Fix last selected tab on activity recreate 2021-03-28 17:42:09 +09:00
Austin Huang
6965fbdc9a
Merge branch 'master' into retrofit-intercept-errors 2021-03-27 16:06:53 -04:00
Austin Huang
ec592074be
fix graphql parse thumbnail 2021-03-27 10:41:31 -04:00
Austin Huang
4ef78bbe3f
fix the dm colors for light theme 2021-03-26 22:51:44 -04:00
Austin Huang
dc1119c604
Merge branch 'master' into pr/850 2021-03-26 22:27:47 -04:00
Austin Huang
0dc33d0b35
fix private page layout/refresh issue, plus close #799 2021-03-26 22:24:00 -04:00
Austin Huang
2d21e1371c
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2021-03-26 21:16:27 -04:00
Austin Huang
1d73a0cde1
close #846 2021-03-26 21:00:33 -04:00
Austin Huang
db22500eed
close #871 2021-03-26 20:47:48 -04:00
Renovate Bot
21ad97d9c8
Update dependency com.squareup.leakcanary:leakcanary-android to v2.7 2021-03-26 19:19:16 +00:00
Ammar Githam
f3a778db5c Update github pre-release versionName 2021-03-27 00:40:08 +09:00
Ammar Githam
b71984d5d8 Custom apk name for github flavor and git ignore android studio flavor release folders. 2021-03-26 22:30:55 +09:00
Austin Huang
695f2d6042
Merge pull request #857 from austinhuang0131/renovate/androidx.recyclerview-recyclerview-1.x
Update dependency androidx.recyclerview:recyclerview to v1.2.0-rc01
2021-03-25 09:11:51 -04:00
Austin Huang
105a4d757c
Merge pull request #865 from egecelikci/patch-1
fix incorrectly placed string
2021-03-25 09:10:46 -04:00
Ammar Githam
8b54eec29b Make TextRange serializable. Fixes https://github.com/austinhuang0131/barinsta/issues/858 2021-03-25 21:28:50 +09:00
egecelikci
f897d27f9a
fix incorrectly placed string
`edit_collection` to `delete_collection`
2021-03-25 15:22:22 +03:00
Ammar Githam
a60e934162 Null check. Fixes https://github.com/austinhuang0131/barinsta/issues/862 2021-03-25 21:19:55 +09:00
Ammar Githam
8f72796891 Null check. Fixes https://github.com/austinhuang0131/barinsta/issues/863 2021-03-25 21:14:08 +09:00
Ammar Githam
926ebca9e9 Set dm colors for Light themes. Also some dm fixes. 2021-03-25 21:07:16 +09:00
Ammar Githam
6bed9bf28c Fix double voice message 2021-03-25 19:47:33 +09:00
Ammar Githam
1d3ec52857 Generate default tab preference list from current tabs 2021-03-25 19:29:56 +09:00
Renovate Bot
ac5425803a
Update dependency androidx.recyclerview:recyclerview to v1.2.0-rc01 2021-03-24 19:54:54 +00:00
Renovate Bot
d93f89cf39
Update dependency androidx.camera:camera-camera2 to v1.1.0-alpha03 2021-03-24 17:48:08 +00:00
Austin Huang
74be5a5caf
Merge pull request #836 from MeLlamoPablo/fix/archive-story-viewer-crash
Fix crashes on the story archive viewer
2021-03-24 13:12:31 -04:00
Ammar Githam
b80ae2fcfe Get 'show bottom destinations' from tabs. Add Activity to list of available tabs. 2021-03-25 01:23:33 +09:00
Ammar Githam
aa5c57e162 Remove unused menu files 2021-03-25 00:35:41 +09:00
Ammar Githam
2fed236f04 Disable DM if tab removed and do not add favs to more list if tab added 2021-03-25 00:32:24 +09:00
Ammar Githam
b9d75af03c Merge branch 'master' into bottombar_redesign 2021-03-24 23:40:31 +09:00
Ammar Githam
ace2688c8d For db update check id != 0 instead of id > 0.
Fixes an issue when the entry was saved with -1 in earlier stages of dev.
2021-03-24 22:26:11 +09:00
Ammar Githam
9fe896bc65 Customise screen/tab order 2021-03-24 22:24:36 +09:00
Austin Huang
ed91fcf5c9
Merge pull request #835 from ammargitham/add-sentry
Add sentry to github builds
2021-03-23 08:55:53 -04:00
Austin Huang
6833e03299
#825 2021-03-22 18:16:50 -04:00
Austin Huang
fa1f5d2b72
retire LocationFetcher and enforce consistency 2021-03-22 18:04:45 -04:00
Austin Huang
1cee2cd4c0
improve search
1. separate logged-in and anonymous endpoints
2. migrate to retrofit + gson, retire SuggestionsFetcher
3. prefixing search with @ or # will only return users or hashtags, respectively
4. add subtitles for locations (address) and hashtags (rough post count)
2021-03-22 16:48:35 -04:00
Austin Huang
0f996f88ba
remove avatar from hashtag
avatars don't exist on app api, and there's no pattern... so bye bye
2021-03-22 15:33:43 -04:00
Austin Huang
1dd78b7d91
reorganize responses 2021-03-22 14:51:44 -04:00
Austin Huang
aca44f0ab9
fix pending badge 2021-03-22 13:53:35 -04:00
Austin Huang
ac89f9d70e
remove duplicate code 2021-03-22 12:12:48 -04:00
Austin Huang
81bdced230
close #843 2021-03-22 12:12:03 -04:00
Ammar Githam
71e1b9c03c
Merge branch 'bottombar_redesign' into bottombar_redesign 2021-03-23 00:16:58 +09:00
Ammar Githam
58a69f2da6 Read emojis json with context 2021-03-23 00:00:29 +09:00
Ammar Githam
0d53e244e2 Destroy references to solve leak 2021-03-22 23:46:47 +09:00
Austin Huang
0d58aac9b9
New Crowdin updates (#811)
* New translations strings.xml (French)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Italian)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations arrays.xml (Macedonian)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Slovak)

* New translations arrays.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Greek)

* New translations strings.xml (Hindi)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Catalan)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Basque)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Dutch)

* New translations strings.xml (Odia)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Persian)

* New translations strings.xml (Kannada)

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Greek)

* New translations strings.xml (Hindi)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Catalan)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Basque)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Dutch)

* New translations strings.xml (Odia)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Persian)

* New translations strings.xml (Kannada)

* Update source file strings.xml

* New translations strings.xml (French)

* New translations strings.xml (Polish)

* New translations arrays.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Italian)

* New translations strings.xml (Greek)

* New translations strings.xml (Hindi)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Catalan)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Basque)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Dutch)

* New translations strings.xml (Odia)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Persian)

* New translations strings.xml (Kannada)

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (Basque)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Basque)

* New translations strings.xml (Russian)

* New translations arrays.xml (Russian)

* Update source file strings.xml

* New translations strings.xml (Greek)

* New translations strings.xml (Hindi)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Catalan)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Basque)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Dutch)

* New translations strings.xml (Odia)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Persian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Italian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (French)

* New translations strings.xml (Polish)

* Update source file strings.xml

* New translations strings.xml (Greek)

* New translations strings.xml (Hindi)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Catalan)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Basque)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Dutch)

* New translations strings.xml (Odia)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Persian)

* New translations strings.xml (Greek)

* New translations arrays.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Italian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)
2021-03-22 10:34:39 -04:00
Austin Huang
fba0a751b1
Merge branch 'master' into add-sentry 2021-03-22 10:32:32 -04:00
Ammar Githam
91e13a23ad Add ig error interceptor 2021-03-22 22:02:48 +09:00
Ammar Githam
c57e305732 Create RetrofitFactory to reuse retrofit objects. 2021-03-22 20:59:08 +09:00
Austin Huang
19516afb83
close #834? 2021-03-21 21:49:59 -04:00
Austin Huang
19dbdcb326
fix ghost location when tapping media twice 2021-03-21 21:42:52 -04:00
Austin Huang
af3ec4ba26
backup user argument for GraphQL feed 2021-03-21 21:35:18 -04:00
Austin Huang
e9239c31b0
migrate ProfileFetcher 2021-03-21 21:18:07 -04:00
Austin Huang
72e99aeff8
various improvements
see the following comment on #814
2021-03-21 20:11:35 -04:00
Austin Huang
915e893cc1
Merge branch 'master' into pr/814 2021-03-21 19:15:23 -04:00
Austin Huang
442903eaf9
make archives usable and also some marginal improvements 2021-03-21 19:11:33 -04:00
Ammar Githam
6b047c4ebb Add custom deserializer for EmojiCategory and Emoji class, to fix parsing error 2021-03-22 07:37:41 +09:00
Pablo Rodríguez Caballero
0afe482b86
fix(StoryViewerFragment): crash when parsing unexpected Instagram id 2021-03-21 21:31:38 +01:00
Pablo Rodríguez Caballero
622363c2c6
fix(StoryViewerFragment): wrong viewModel superclass assigned on init 2021-03-21 21:31:26 +01:00
Austin Huang
358beffa9d
small fix 2021-03-21 15:56:09 -04:00
Austin Huang
3e056df520
bypass the error so it doesn't crash 2021-03-21 15:12:12 -04:00
Austin Huang
ff7d2076ab
Merge branch 'master' into master 2021-03-21 11:27:32 -04:00
Ammar Githam
39c472d6c2 Move sentry strings to github flavor strings.xml 2021-03-21 23:30:38 +09:00
Ammar Githam
5bdfb7df51 Add sentry to github builds
This commit adds github and fdroid product flavors.
Sentry is added only to github builds.
Sentry is opt-in.
2021-03-21 22:50:23 +09:00
Ammar Githam
16ac573859 Fix compile error after pull 2021-03-21 22:41:06 +09:00
Austin Huang
7599af22a3
Merge pull request #831 from austinhuang0131/renovate/junit5-monorepo
Update dependency org.junit.jupiter:junit-jupiter to v5.7.1
2021-03-20 18:24:52 -04:00
Renovate Bot
c10d41528e
Update dependency org.junit.jupiter:junit-jupiter to v5.7.1 2021-03-20 22:22:12 +00:00
zerrium
0849d9d61f Removed java.util.Locale on KeywordsFilterUtils.java 2021-03-21 01:43:53 +07:00
zerrium
480fd59713 Refactored Adapter and ViewHolder binder 2021-03-21 01:43:21 +07:00
Renovate Bot
46bf8d9191
Update dependency com.google.guava:guava to v27.1-jre 2021-03-20 18:29:42 +00:00
Austin Huang
299b07fcdc
Merge pull request #828 from austinhuang0131/renovate/com.google.android.exoplayer-exoplayer-core-2.x
Update dependency com.google.android.exoplayer:exoplayer-core to v2.13.2
2021-03-20 14:26:16 -04:00
Zerrium
03413eedcd
Update app/src/main/java/awais/instagrabber/adapters/KeywordsFilterAdapter.java
Co-authored-by: Austin Huang <im@austinhuang.me>
2021-03-21 01:16:19 +07:00
Zerrium
311c7feb80
Update app/src/main/java/awais/instagrabber/fragments/settings/PostPreferencesFragment.java
Co-authored-by: Austin Huang <im@austinhuang.me>
2021-03-21 01:16:03 +07:00
Zerrium
d2324a7edd
Update app/src/main/java/awais/instagrabber/utils/KeywordsFilterUtils.java
Co-authored-by: Austin Huang <im@austinhuang.me>
2021-03-21 01:15:49 +07:00
Zerrium
8ff35ec7cd
Update app/src/main/res/values/strings.xml
Co-authored-by: Austin Huang <im@austinhuang.me>
2021-03-21 01:14:57 +07:00
Austin Huang
6fec6f5c86
convert HashtagFetcher 2021-03-20 13:37:17 -04:00
Ammar Githam
839e30a4e5 Add delete option in post view. Fixes 1 part of https://github.com/austinhuang0131/barinsta/issues/289 2021-03-21 01:14:57 +09:00
Austin Huang
700711f5f3
Merge branch 'master' into master 2021-03-20 11:30:59 -04:00
Ammar Githam
16fd56c7e5 Fix profile fetching when username sometimes without '@' 2021-03-21 00:23:25 +09:00
Renovate Bot
f3028f5c5a
Update dependency com.google.android.exoplayer:exoplayer-core to v2.13.2 2021-03-20 15:13:41 +00:00
Ammar Githam
9cdbd89328 Add manual mark as seen menu item in thread when auto mark is disabled 2021-03-20 21:04:49 +09:00
Ammar Githam
d7ecc935f7 Add launch screen. Fixes https://github.com/austinhuang0131/barinsta/issues/410 2021-03-20 13:49:13 +09:00
Ammar Githam
8e32958da6 Keep screen on while video is playing. Closes https://github.com/austinhuang0131/barinsta/issues/490 2021-03-20 13:33:37 +09:00
Ammar Githam
ee36ba8c35 Check for username first, then fb id 2021-03-20 12:59:55 +09:00
Ammar Githam
6f67dadb31 Handle new created threads using inbox manager 2021-03-20 12:40:51 +09:00
Ammar Githam
737931821e Hide player controls initially for video post. Fixes https://github.com/austinhuang0131/barinsta/issues/360 2021-03-20 11:07:17 +09:00
Ammar Githam
0903804523 Remove icu4j dependency 2021-03-20 10:32:13 +09:00
zerrium
b3cc58ea60 Fixed filter issue 2021-03-19 19:03:58 +07:00
zerrium
21950a4277 Fixed warnings 2021-03-19 18:47:50 +07:00
zerrium
10f5d91a42 Fixed Edit Keyword Filters dialog settings 2021-03-19 18:26:44 +07:00
zerrium
44358bbd31 Finishing touch for KeywordsFilter 2021-03-19 16:19:59 +07:00
zerrium
a4c99568ef Added settings for KeywordFilter 2021-03-19 16:19:27 +07:00
zerrium
741aa0dfa5 Removed unused class 2021-03-19 16:17:02 +07:00
zerrium
ea9d39c265 Added Set<String> support for SettingsHelper and sharedPreferences 2021-03-19 11:10:42 +07:00
Zerrium
4853c1572d
Merge pull request #1 from austinhuang0131/master
Upstream from Master
2021-03-19 10:11:24 +07:00
Austin Huang
2590552b49
fix 3rd-party attributions 2021-03-18 22:07:24 -04:00
Austin Huang
9db530184e
clean string resources 2021-03-18 21:46:10 -04:00
Austin Huang
8a0f119970
disable LogCollector 2021-03-18 21:20:15 -04:00
Austin Huang
7f4196e119
close #808 2021-03-18 18:09:33 -04:00
Austin Huang
e6961fcee6
better story buttons handling, close #810 2021-03-18 17:25:53 -04:00
Austin Huang
7c706e277b
close #750 2021-03-18 17:00:23 -04:00
Austin Huang
383ffce89f
better handling for own profile 2021-03-18 16:34:26 -04:00
Austin Huang
cea09771d6
image candidate selection refactor
https://t.me/barinsta_app/18199
2021-03-18 15:09:04 -04:00
Austin Huang
85953352b9
close #813 2021-03-18 14:37:29 -04:00
Ammar Githam
1cd75356c7 Check currentFeedStoryIndex every time before accessing models list. Fixes: https://github.com/austinhuang0131/barinsta/issues/819 2021-03-18 22:03:56 +09:00
Ammar Githam
863a06f3af Surrounding setSubtitle with try-catch to avoid crash. Handles 2nd part of https://github.com/austinhuang0131/barinsta/issues/816 2021-03-18 21:57:49 +09:00
Ammar Githam
565a8d3dd6 Null check current user. Fixes 1 part of https://github.com/austinhuang0131/barinsta/issues/816 2021-03-18 21:50:39 +09:00
zerrium
ba2d35ddcd Fixed warnings (2) 2021-03-18 15:22:47 +07:00
zerrium
41d4bf313f Fixed warnings 2021-03-18 15:14:35 +07:00
zerrium
6202f876b1 Removed unused imports 2021-03-18 14:05:14 +07:00
zerrium
8a835d4bd7 Modified FeedPostFetchService to skip adding junk post to FeedModels 2021-03-18 14:03:38 +07:00
zerrium
12a669ee3a Returned FeedAdapterV2 to its original code 2021-03-18 14:02:58 +07:00
zerrium
0a672476d9 Added back-end code to filter out instagram posts with specified keywords 2021-03-18 12:40:05 +07:00
zerrium
d24bcd1a76 Updated keywords for instagram post filter 2021-03-18 12:39:25 +07:00
zerrium
8f3ade92c3 Updated FilterKeywords class (zerrium package) 2021-03-18 11:53:05 +07:00
zerrium
110db39ff6 Added FilterKeywords class (zerrium package) 2021-03-18 11:32:50 +07:00
zerrium
c0adbb0ab1 Added filter keywords to filter out instagram posts containing those keywords 2021-03-18 11:11:02 +07:00
zerrium
bd7d0324ea Upstream dependencies version 2021-03-18 10:46:48 +07:00
xbvrhlmb
0502d8c54c Translate RU 2021-03-17 23:54:42 +02:00
Austin Huang
e3783ffcee
oops 2021-03-17 16:52:07 -04:00
Austin Huang
a4c699443d
Merge pull request #687 from austinhuang0131/l10n_master
New Crowdin updates
2021-03-17 16:41:53 -04:00
Austin Huang
10180a4d3e New translations strings.xml (Vietnamese) 2021-03-17 16:38:18 -04:00
Austin Huang
e15b0497bd New translations strings.xml (Chinese Traditional) 2021-03-17 16:38:17 -04:00
Austin Huang
d0de9ae525 New translations strings.xml (Dutch) 2021-03-17 16:38:15 -04:00
Austin Huang
a4ad39e242 New translations strings.xml (Indonesian) 2021-03-17 16:38:14 -04:00
Austin Huang
532d2672b3 New translations strings.xml (Macedonian) 2021-03-17 16:38:12 -04:00
Austin Huang
a9a7c6ebfd New translations strings.xml (Basque) 2021-03-17 16:38:11 -04:00
Austin Huang
f547335620 New translations strings.xml (German) 2021-03-17 16:38:10 -04:00
Austin Huang
97089315d6 New translations strings.xml (Czech) 2021-03-17 16:38:08 -04:00
Austin Huang
2aa3499608 New translations strings.xml (Greek) 2021-03-17 16:38:07 -04:00
Austin Huang
0513c72d5c New translations strings.xml (Chinese Simplified) 2021-03-17 16:09:02 -04:00
Austin Huang
df725ff81d New translations arrays.xml (Chinese Simplified) 2021-03-17 15:41:30 -04:00
Austin Huang
6b87b741d5 New translations strings.xml (Chinese Simplified) 2021-03-17 15:41:29 -04:00
Austin Huang
29bb694dd4 New translations strings.xml (Spanish) 2021-03-17 15:41:27 -04:00
Austin Huang
bb78033fd3 Update source file strings.xml 2021-03-17 15:41:24 -04:00
Austin Huang
8d9213f71c
release prep 2021-03-17 15:34:56 -04:00
Austin Huang
67e385fe5e New translations strings.xml (Kannada) 2021-03-17 15:14:09 -04:00