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

1580 Commits

Author SHA1 Message Date
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