1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-15 19:27:31 +00:00
Commit Graph

1177 Commits

Author SHA1 Message Date
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
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
db22500eed
close #871 2021-03-26 20:47:48 -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
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
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
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
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
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
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
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
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
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
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
Austin Huang
fbb5c244ae
patrol certain error strings 2021-03-17 15:09:00 -04:00
Austin Huang
74d3e1ad7d
literally 4f6039b, part 2 2021-03-17 14:28:27 -04:00
Austin Huang
9b0fea6906
update signing mechanism 2021-03-17 14:13:04 -04:00
Ammar Githam
13200f3f1d Merge branch 'master' of https://github.com/austinhuang0131/barinsta 2021-03-18 01:57:10 +09:00
Ammar Githam
dfa3a50893 Auto mark dm seen if enabled in settings. Fixes https://github.com/austinhuang0131/barinsta/issues/797 2021-03-18 01:41:29 +09:00
Austin Huang
4f6039b284
we don't support DirectStory yet, disabling it 2021-03-17 12:28:26 -04:00
Ammar Githam
321af4cad4 Pause post video in background. Fixes https://github.com/austinhuang0131/barinsta/issues/413 2021-03-17 22:35:49 +09:00
Ammar Githam
a271ba5ab7 Fix post video timeline issues 2021-03-17 20:45:40 +09:00
Ammar Githam
50fd282ab2 Use null checked context for Toast. Fixes https://github.com/austinhuang0131/barinsta/issues/802 2021-03-17 19:12:20 +09:00
Austin Huang
b5cd213e84
high definition?! 2021-03-16 22:40:05 -04:00
Austin Huang
4ee36305df
oops 2021-03-16 22:33:43 -04:00
Austin Huang
05156442cc
hashtag backend fix 2021-03-16 21:16:06 -04:00
Austin Huang
6a524b7616
support fb thread members 2021-03-16 20:24:19 -04:00
Austin Huang
a55def53c5
restore dm button on profiles 2021-03-16 20:04:53 -04:00
Austin Huang
9bf72b2781
make signing simpler shall we 2021-03-16 19:30:54 -04:00
Austin Huang
d65fbd4193
revamp notifications; close #796 2021-03-16 17:57:57 -04:00
Austin Huang
22a927e9e7
open on giphy & download voice; close #792 2021-03-16 16:51:50 -04:00
Austin Huang
046ea3de40
Merge branch 'master' into pr/753 2021-03-16 15:59:58 -04:00
Ammar Githam
473e33841c Always slide up bottom nav bar when navigating. Fixes https://github.com/austinhuang0131/barinsta/issues/406 2021-03-17 01:13:43 +09:00
Ammar Githam
160d556ac5 Null check context object. Should fix https://github.com/austinhuang0131/barinsta/issues/427 2021-03-17 00:55:34 +09:00
Ammar Githam
ae79a35d01 Null check palette object. Should fix https://github.com/austinhuang0131/barinsta/issues/567 2021-03-17 00:54:43 +09:00
Ammar Githam
23830f5a9d Fix GIF button gone when keyboard is shown 2021-03-17 00:41:45 +09:00
Ammar Githam
2cd1ffdeb1 Check if it is safe to navigate. Should fix https://github.com/austinhuang0131/barinsta/issues/708 2021-03-16 22:45:34 +09:00
Ammar Githam
04637da854 Fix ProfilePicDialogFragment instantiation. Fixes https://github.com/austinhuang0131/barinsta/issues/746 2021-03-16 22:25:03 +09:00
Ammar Githam
747745c6d5 Use null safe equals. Fixes https://github.com/austinhuang0131/barinsta/issues/789 2021-03-16 21:57:03 +09:00
Ammar Githam
cc8f14b562 Fix Animatable drawable class cast issue on sdk lower than 24. Fixes https://github.com/austinhuang0131/barinsta/issues/794 2021-03-16 21:29:12 +09:00
Ammar Githam
6d73528387 Send stickers and gifs in DM 2021-03-16 01:48:39 +09:00
Ammar Githam
4bb77abb33 Uncomment code, which was commented for testing 2021-03-15 22:53:28 +09:00
Ammar Githam
faee351a11 Updating profile details count divider to use item_pref_divider, for consistency 2021-03-15 21:20:04 +09:00
Austin Huang
96d93a70f7
close #782, close #787 2021-03-14 23:34:46 -04:00
Austin Huang
1568b42d0d
date is locale not post, also post settings title 2021-03-14 23:18:40 -04:00
Austin Huang
0b8545c0e1
Merge branch 'master' into pr/753 2021-03-14 22:54:51 -04:00
Ammar Githam
546e6025d6 Disabling dm auto refresh temporarily 2021-03-14 02:46:41 +09:00
Ammar Githam
1bd7f9add4 Start sync service after boot complete and update default freq to 30 secs. 2021-03-14 02:20:35 +09:00
Ammar Githam
a6d8de87ea Merge remote-tracking branch 'origin/dm-notifications-enhancements' into dm-notifications-enhancements 2021-03-14 00:22:09 +09:00
Ammar Githam
df5a96e035 DM sync service 2021-03-14 00:21:31 +09:00
Austin Huang
9c7015ff9b
reorganize fav string again
hopefully this is the final fix for #489
2021-03-11 14:47:54 -05:00
Austin Huang
d551969da3
close #660 2021-03-11 14:30:33 -05:00
Austin Huang
b7d233b94d
fix #467? 2021-03-11 11:34:14 -05:00
Austin Huang
d6539bddc5
Merge branch 'master' into dm-notifications-enhancements 2021-03-05 14:21:24 -05:00
Austin Huang
be250a9cee
fix unread threads typeface, close #463 2021-03-05 14:18:51 -05:00
Austin Huang
8105462acb
add suggestion chaining 2021-03-05 14:06:27 -05:00
Austin Huang
508a80be53
changing profile layout... again 2021-03-05 11:44:42 -05:00
Austin Huang
a37bb2d185
implement profile context (backend) 2021-03-05 10:50:10 -05:00
Austin Huang
7acd5faefd
notification backend revamp 2021-03-04 15:27:46 -05:00
Austin Huang
5421bb4592
fix story seen 2021-03-04 12:33:59 -05:00
Ammar Githam
605f15ee3a Merge branch 'master' into dm-notifications-enhancements 2021-03-03 20:06:51 +09:00
Austin Huang
de86668caf
regular maintenance
1. fix notification can't open post + remove duplicate code
2. optimize bio (long)click mechanism
3. remove the old deprecated RamboTextView and its MentionClickListener
2021-03-02 21:37:26 -05:00
Pablo Rodríguez Caballero
136e9e53d2
fix: emjois being url-encoded when replying to stories 2021-02-28 20:16:36 +01:00
Austin Huang
bd802a9759
close #748 2021-02-27 18:30:45 -05:00
Ammar Githam
8f926baee5 Merge branch 'master' into dm-notifications-enhancements 2021-02-28 01:21:16 +09:00
Ammar Githam
e4741d3f7c Merge remote-tracking branch 'origin/dm-notifications-enhancements' into dm-notifications-enhancements 2021-02-28 01:13:47 +09:00
Ammar Githam
a7a595f8d4 Centralised syncing of inbox. 2021-02-28 00:59:55 +09:00
Austin Huang
605ddd3635
oop 2021-02-23 22:34:50 -05:00
Austin Huang
20d9a3935b
close #717 and fix looper toast issue 2021-02-23 22:02:13 -05:00
Austin Huang
8950ed488d
actually fix #319 and also convert more hardcoded strings 2021-02-19 17:59:05 -05:00
Austin Huang
d10e95c529
oops, better handling 2021-02-18 19:57:38 -05:00
Austin Huang
bbe3d9c588
general maintenance
1. Close #689
2. Greek and Basque
3. Fix/add several strings
4. Fix launch crash
5. Fix staggered grid sidecar bug
2021-02-18 19:51:09 -05:00
sigaloid
a623022934
Increase thread message limit
I've had no issues going as high as 40 messages every few seconds. May make the loading time longer, though. 

I think a slider in the settings to set the thread and thread message limit would be ideal, since I rarely want to load any more than the top 2-3 threads, but it would be better to load more messages in those threads. But on my device, 10 is too low and a lot of time is spent loading old messages.
2021-02-18 21:53:31 +00:00
Austin Huang
c6bbc621f7
disable btndm 2021-02-13 13:26:02 -05:00
Austin Huang
06a6b07a53
cover lunar new year reel exception 2021-02-11 14:47:43 -05:00
Austin Huang
28b74a6975
#512, #575, #583, #656, #665 2021-02-07 17:45:16 -05:00
Austin Huang
3baa82090e
restore hd avatar 2021-01-26 21:21:48 -05:00
Ammar Githam
ea7236dcc1 Merge remote-tracking branch 'origin/dm-notifications-enhancements' into dm-notifications-enhancements 2021-01-24 23:40:56 +09:00
Ammar Githam
5e3aed38b9 Add pending inbox 2021-01-24 23:39:46 +09:00
Austin Huang
78e3ffe04a
private api option for profilefetcher 2021-01-23 14:17:56 -05:00
Austin Huang
8dabf35146
unlock hd photos 2021-01-23 12:00:54 -05:00
Austin Huang
eba37705e2
#583 2021-01-23 11:32:34 -05:00
Austin Huang
89441a3562
more collection features 2021-01-22 23:33:36 -05:00
Vojtěch Hořánek
0d9db83dc3 Redesigned the BottomNavigationView for better clarity + to match the Material Guidelines 2021-01-20 00:09:20 +01:00
Ammar Githam
6aee7ea863 Allow ending a group chat 2021-01-20 02:25:22 +09:00
Ammar Githam
ba526eb0bb Allow leaving group 2021-01-20 00:02:08 +09:00
Ammar Githam
17709c176c Allow toggling approval requirement in group 2021-01-19 22:43:51 +09:00
Ammar Githam
10c6902c83 Merge remote-tracking branch 'origin/dm-notifications-enhancements' into dm-notifications-enhancements 2021-01-19 21:47:17 +09:00
Ammar Githam
7addb16e5c Approve/Deny new users 2021-01-19 21:46:39 +09:00
Austin Huang
f88aaeb849
Merge branch 'master' into pr/503 2021-01-18 22:25:24 -05:00
Alexandre Macabies
28b51516e0 add a setting to control showing the post label per default
This defaults to the current behavior of always showing the caption, but
this can be turned off for reduced browsing noise: I often don't care
about meaningless captions on most accounts.

Added the pref translation for French as I'm a native speaker.
2021-01-17 21:02:01 +01:00
Austin Huang
117b1c1629
viewing saved collections, so half of #545 2021-01-17 14:11:15 -05:00
Ammar Githam
6aacf1945f Fix weird layout behavior due to async binding 2021-01-17 23:15:03 +09:00
Ammar Githam
52d2baa128 Add mute/unmute messages and mentions 2021-01-17 17:02:43 +09:00
Ammar Githam
13d95523a3 Swipe to reply 2021-01-17 03:09:07 +09:00
Ammar Githam
59aa14e2f6 Merge remote-tracking branch 'origin/dm-notifications-enhancements' into dm-notifications-enhancements 2021-01-16 03:10:47 +09:00
Ammar Githam
8a659c9f1f Allow forwarding messages (need to check types which cannot be forwarded) 2021-01-16 03:10:17 +09:00
Austin Huang
8b81b115f0
remove excessive margin, refresh feed anew, closes #595 2021-01-15 11:13:36 -05:00
Ammar Githam
8e3d0af9d3 Allow unsend message 2021-01-15 03:28:30 +09:00
Ammar Githam
6a163454f4 Allow removing like/reaction 2021-01-15 02:24:12 +09:00
Austin Huang
255c3c84b4
once again fix null guards in feed 2021-01-13 11:24:23 -05:00
Austin Huang
87660b4d3b
fix locales bug 2021-01-13 11:16:34 -05:00
Ammar Githam
3795ff2420 Merge remote-tracking branch 'origin/dm-notifications-enhancements' into dm-notifications-enhancements 2021-01-13 22:25:01 +09:00
Ammar Githam
cf62d88531 Add like/reaction (WIP) 2021-01-13 22:22:25 +09:00
Ammar Githam
02a1a4a5f5 Fix live stories 2021-01-13 22:21:20 +09:00
Austin Huang
7ba116584b
fab prep 2021-01-12 13:40:53 -05:00
Austin Huang
388f9216b3
handling dm attachments 2021-01-12 12:39:00 -05:00
Austin Huang
3e84786c46
profile details fix 2021-01-11 18:01:28 -05:00
Austin Huang
e8711379d0
the great user agent change 2021-01-11 16:37:34 -05:00
Austin Huang
c9f891e4e1
enforce _uuid consistency 2021-01-11 15:08:23 -05:00
Austin Huang
2e58bab635
#489 2021-01-11 14:02:33 -05:00
Austin Huang
9ba48ebe2e
more small fixes, closes #498 2021-01-11 12:52:45 -05:00
Austin Huang
1b6894bf5f
better null check 2021-01-10 14:57:01 -05:00
Austin Huang
3f09de05f3
small fixes 2021-01-10 14:00:31 -05:00
Ammar Githam
4b055c8050 Support opening story from direct thread 2021-01-10 18:45:17 +09:00
Ammar Githam
ba10f8b410 Support opening media, hashtag, location, mentions in direct thread 2021-01-10 18:19:27 +09:00
Ammar Githam
8937918064 Organise dm view holders bind logic and fix some views 2021-01-10 00:58:15 +09:00
Ammar Githam
bc107b3627 Give margins to the editext in EditTextDialogFragment 2021-01-09 23:33:07 +09:00
Ammar Githam
9ba1893746 Add ViewModel to post view to maintain state. Update some ui 2021-01-09 20:24:16 +09:00
Ammar Githam
92d8163c7b Handle some 'may be null' warnings 2021-01-08 22:27:52 +09:00
Ammar Githam
404747fedc Add merged changes missed by Gitkraken 2021-01-08 21:50:58 +09:00
Ammar Githam
039194d046 Merge remote-tracking branch 'origin/dm-notifications-enhancements' into dm-notifications-enhancements 2021-01-08 21:49:48 +09:00
Ammar Githam
0018cd0b7f Migrate FeedModel and ProfileModel to Media and User 2021-01-07 21:36:33 +09:00
Austin Huang
a89e1f7bb5
bad conflict resolution 2021-01-06 14:25:42 -05:00
Austin Huang
0f7fde38cd
Merge branch 'master' into pr/503 2021-01-06 14:17:30 -05:00
Austin Huang
f1e6c80421
oops 2021-01-06 13:47:19 -05:00
Austin Huang
b7a40b7b39
close #532 2021-01-06 13:44:28 -05:00
Austin Huang
b2917e3d63
Merge branch 'master' into dm-notifications-enhancements 2021-01-06 13:25:06 -05:00
Austin Huang
c8dda21f9f
chore/cleanup 2021-01-05 23:37:16 -05:00
Austin Huang
7b07361a26
fix #518 pending testing 2021-01-05 23:37:06 -05:00
Austin Huang
853115eb4e
live video (untested) #383; also besties story type #460 2021-01-05 22:10:54 -05:00
Austin Huang
b5e1101709
#532 point 2 2021-01-05 18:42:00 -05:00
Austin Huang
7724a7e33e
oops 2021-01-05 16:40:59 -05:00
Austin Huang
3dd66d9bc7
fix #524 2021-01-05 16:39:17 -05:00
Austin Huang
b3a0344d6d
textutils cleanup 2021-01-05 15:06:34 -05:00
Austin Huang
0c72e66768
Merge branch 'master' into pr/503 2021-01-05 13:37:43 -05:00
Austin Huang
8f041b558a
fix #507 2021-01-05 13:36:51 -05:00
Ammar Githam
482cbdab97 Rearrange observers for DirectItemsAdapter so that it is never initialised without a thread 2021-01-05 00:00:10 +09:00
Ammar Githam
2b2f390f59 Remove swipe to dismiss Post view temporarily 2021-01-04 01:47:15 +09:00
Ammar Githam
788358eb35 Fix chat layouts 2021-01-03 23:53:16 +09:00
Ammar Githam
0ec3691cac Fix result from image edit always null 2021-01-03 20:29:41 +09:00
Ammar Githam
33ec122a94 Move almost all dimens to parent class 2021-01-03 20:29:13 +09:00
Ammar Githam
f1721c37ec No background for media items 2021-01-03 19:25:13 +09:00
Ammar Githam
be53864f02 Auto fetch more chats if loaded chats don't fill the view 2021-01-03 19:19:36 +09:00
Ammar Githam
ff296c3bfc Merge remote-tracking branch 'origin/dm-notifications-enhancements' into dm-notifications-enhancements 2021-01-03 19:00:13 +09:00
Ammar Githam
e1d8e02630 Update DM settings page 2021-01-03 18:55:19 +09:00
Austin Huang
8de3021c7f
group message width layout fix (dynamic) 2021-01-02 22:35:33 -05:00
Austin Huang
47e8645dea
small fixes so i can test
1. left users are users not ids
2. null guard (crash)
3. arbitrary fix for layout issue
2021-01-02 21:32:31 -05:00
Austin Huang
7e88fda645
Merge branch 'master' into pr/503 2021-01-02 20:21:28 -05:00
Austin Huang
26531198cb
remove instadp and jsoup 2021-01-02 13:27:36 -05:00
Ammar Githam
093ccc9f00 Handle null client context for action log direct items 2021-01-02 15:28:18 +09:00
Ammar Githam
502d72ecd8 Handle null client context for action log direct items and hide message info for call events 2021-01-02 13:18:16 +09:00
Ammar Githam
d42d4dd3ea Merge branch 'master' into dm-notifications-enhancements 2021-01-02 13:00:14 +09:00
Ammar Githam
343b2cf9d7 Update DM module. (WIP)
Remove left over images


DM update (WIP)

Update DM module. (WIP)


Update DM module. (WIP)
2021-01-02 11:54:32 +09:00
Austin Huang
f85e0fc54c
close #491 2020-12-31 20:20:46 -05:00
Austin Huang
251228dcc4
add many fetch failure checks, close #486 2020-12-31 19:35:33 -05:00
Austin Huang
b790f85d6e
close #489 2020-12-31 19:34:19 -05:00
Austin Huang
cf97b29995
instagram mess 2020-12-31 15:11:34 -05:00
Austin Huang
12299a5d26
oops 2020-12-31 14:22:56 -05:00
Austin Huang
22d327e166
still can't fix the sync issue 2020-12-31 14:07:32 -05:00
Austin Huang
f955a81599
story list optimization 2020-12-31 12:44:17 -05:00
Austin Huang
d2e3f6c4df
fix story notifications 2020-12-31 12:43:56 -05:00
Austin Huang
d21df4d21b
japanese translation
Co-Authored-By: ysakamoto <1331642+ysakamoto@users.noreply.github.com>
2020-12-31 11:24:40 -05:00
Austin Huang
741c0ab65e
slovak translation
Co-Authored-By: Jakub Janek <jakubjanek@protonmail.com>
2020-12-30 13:54:39 -05:00
Austin Huang
f325d07a84
fix #478 2020-12-30 13:49:01 -05:00
Austin Huang
3883c4153c
menu item stuff 2020-12-30 13:43:35 -05:00
Austin Huang
975654961f
add suggested users feature 2020-12-30 13:26:16 -05:00
Austin Huang
3242fdc7ef
menu button amelioration 2020-12-29 18:17:54 -05:00
Austin Huang
a149d6906b
close #470 2020-12-29 17:59:23 -05:00
Austin Huang
8205283e46
close #477 2020-12-29 17:38:49 -05:00
Austin Huang
8ebe8dd0f9
story archive, so half of #460 2020-12-29 17:33:44 -05:00
Austin Huang
6e4fa9fdbf
wip: archive and feed stories as a list 2020-12-29 15:19:00 -05:00
Austin Huang
2cc8a6e6b0
more cleanup 2020-12-29 14:06:27 -05:00
Austin Huang
3d2dee0d94
custom story sort, #122 point 1 2020-12-29 13:41:38 -05:00
Austin Huang
830152f74e
chore: cleanup 2020-12-29 13:13:21 -05:00
Austin Huang
f3d6566332
fix #453 2020-12-27 22:36:36 -05:00
Austin Huang
82885102d9
close #438 2020-12-27 22:28:10 -05:00
Austin Huang
f9bb71b67a
email 2020-12-27 22:26:29 -05:00
Austin Huang
cc05741cd0
avatar logic improvement 2020-12-27 22:26:09 -05:00
Austin Huang
e8440e0e0d
chore 2020-12-27 21:45:34 -05:00
Austin Huang
a9dfe06442
#445 point 4 2020-12-26 13:32:41 -05:00
Austin Huang
28af696e01
support for viewing comment likes 2020-12-26 13:14:08 -05:00
Austin Huang
49ba524305
activity: support for app inbox #114, better onclick, etc 2020-12-25 16:41:46 -05:00
Austin Huang
d5161ac2ea
restore swipeup 2020-12-25 16:40:30 -05:00
Austin Huang
fbd3212d83
let avatar viewer show one-off stories, redo avatar fetcher 2020-12-25 16:40:17 -05:00
Austin Huang
c40a0033db
remove feed timeout due to complaints 2020-12-25 11:21:44 -05:00
Austin Huang
e539e426df
story read improvement (WIP) 2020-12-24 14:11:49 -05:00
Austin Huang
312c90ad92
edit caption (finalized) 2020-12-24 11:07:31 -05:00
Austin Huang
7ee756eff3
fix comments crash 2020-12-24 11:05:19 -05:00
Austin Huang
f909408916
edit post caption (just basic design, still WIP) 2020-12-23 17:12:25 -05:00
Austin Huang
61e7e5671e
close #412, close #441 2020-12-23 14:29:45 -05:00
Austin Huang
40da4baf01
fix favourites overwrite more 2020-12-23 10:38:08 -05:00
Austin Huang
7c44dad05d
fix favourites overwrite 2020-12-23 09:06:53 -05:00
Austin Huang
30fcf687eb
close #437 2020-12-23 08:03:43 -05:00
Austin Huang
0ec9e02e2a
apparently no caption id doesn't mean no caption 2020-12-22 18:03:23 -05:00
Austin Huang
a67b867e1b
v19.0.3 2020-12-22 17:23:48 -05:00
Austin Huang
172ca2bdc8
fix repeating feed, more polishing 2020-12-22 15:25:47 -05:00
Austin Huang
9ca9cca33d
restore dm indicator, release prep, partially address #431 2020-12-22 13:42:26 -05:00
Austin Huang
22fc894c9d
implement app feed endpoint instead of browser 2020-12-22 11:54:52 -05:00
Austin Huang
71264bef96
full comment/caption/bio translation support, close #178 2020-12-21 21:22:38 -05:00
Austin Huang
7cd56080cd
fix mentions (final), improve follower comparison 2020-12-21 14:27:15 -05:00
Austin Huang
484b0f9657
fix favourites logic 2020-12-20 17:04:25 -05:00
Austin Huang
ae27d5d57a
post likes viewer 2020-12-20 15:52:09 -05:00
Austin Huang
49f41f4654
api refactor 2020-12-20 13:35:16 -05:00
Austin Huang
4d6ac5d293
profile viewer improvement
1. restore tagged posts access for anons
2. chip-ify profile viewer, bring it to consistency with tag/loc viewers
3. add a following/er status chip
4. pluralize "post(s)" and "follower(s)"
5. correct favourited string
2020-12-19 21:38:21 -05:00
Austin Huang
8240829fa8
fix #385, fix #417, fix #429, cleanup, prep for splash 2020-12-19 16:59:09 -05:00
Austin Huang
3899b9adfa
comments viewer improvement
1. Viewing parent comments is now paginated, no more long waits
2. Liking a comment will no longer refresh the entire comment list
3. The pink tint on liked comments from v18 is restored

also removed FeedStoriesFetcher which was deprecated by c24fd01
2020-12-18 15:45:17 -05:00
Austin Huang
c24fd016b1
rewrite stories backend, close #319, close #372, close #405 2020-12-17 15:13:41 -05:00
Austin Huang
7964df976d
Merge pull request #400 from ammargitham/add-room
Add Room Persistence Library
2020-12-17 11:28:58 -05:00
Austin Huang
b72b3211d5
locale chores 2020-12-12 19:01:23 -05:00
Ammar Githam
cea61eae6c Update export backup logic to use futures instead of CountDownLatch. Change backup file name to use date and time instead of milliseconds. 2020-12-08 19:39:39 +09:00
Ammar Githam
6b8df5fee2 Migrate to Room 2020-12-08 02:51:49 +09:00
Ammar Githam
126a0f7f4b Preparing migration to Room 2020-12-07 19:47:03 +09:00
Ammar Githam
8c4ce111a4 finish activity when onbackpressed bug occurs
Required so the activity finishes when the bug occurs. Current workaround makes the back button unresponsive
2020-12-07 19:37:14 +09:00
Ammar Githam
951117c769 Remove usage of final arrays to hold values 2020-12-02 20:02:48 +09:00
Ammar Githam
8829f4a66e Prevent DM button double click and check current fragment still attached before navigating. Fixes a crash reported in telegram group. 2020-12-02 20:01:40 +09:00
Ammar Githam
4ffab14ff3 Add activity finishing check before calling onBackPressed. May fix IllegalStateException: Can not perform this action after onSaveInstanceState 2020-12-02 20:00:20 +09:00
Ammar Githam
28dab3cf0f Explicitly set navigation bar color for PostViewV2Fragment. Fixes https://github.com/austinhuang0131/barinsta/issues/326 2020-12-01 22:21:18 +09:00
Ammar Githam
06f4ab56c8 Set feed item as saved or not from response. Closes https://github.com/austinhuang0131/barinsta/issues/369 2020-12-01 19:53:36 +09:00
Ammar Githam
d7661f7cf6 Remove auto play videos setting for now. Closes https://github.com/austinhuang0131/barinsta/issues/361 2020-12-01 19:39:47 +09:00
Ammar Githam
e4c30c0389 Open urls in new browser tabs. Closes https://github.com/austinhuang0131/barinsta/issues/367 2020-12-01 19:35:51 +09:00
Austin Huang
0dd5a77295
close #284 2020-11-30 12:46:44 -05:00
Austin Huang
38d0bd56f8
add new languages
Co-Authored-By: retiolus <65604466+retiolus@users.noreply.github.com>
Co-Authored-By: rikishi0071 <18183855+rikishi0071@users.noreply.github.com>
2020-11-30 12:43:33 -05:00
Austin Huang
b2e784deb8
close #306 and close #310 2020-11-30 12:29:41 -05:00
Ammar Githam
9887547363 Add default constructor for RestoreBackupDialogFragment. Should fix https://github.com/austinhuang0131/barinsta/issues/316 2020-11-30 22:34:34 +09:00
Ammar Githam
c72c4469f5 Handle null InboxThreadModel. Fixes https://github.com/austinhuang0131/barinsta/issues/329 2020-11-30 22:24:53 +09:00
Ammar Githam
dccfcaf78a Handle multiple videos in PostViewV2Fragment. Should fix https://github.com/austinhuang0131/barinsta/issues/337 and also fix videos playing after closing view. 2020-11-30 22:09:42 +09:00
Ammar Githam
6b370ca251 Handle ActivityNotFoundException while opening URL. Fixes https://github.com/austinhuang0131/barinsta/issues/351 2020-11-30 19:01:03 +09:00
Ammar Githam
3dfbf23cc0 Fix no vc_id in VIDEO_CALL_EVENT 2020-11-30 18:57:23 +09:00
Ammar Githam
d1a9393249 FeedModel null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/293 2020-11-19 19:00:14 +09:00
Ammar Githam
cc930c65b7 Null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/303 2020-11-19 18:52:40 +09:00
Ammar Githam
41e5fecbea Check if view is attached before animating controls. Should fix https://github.com/austinhuang0131/barinsta/issues/302 2020-11-19 18:49:06 +09:00
Ammar Githam
e449594253 Fix ProfileFragment for anon users 2020-11-19 02:41:30 +09:00
Ammar Githam
82e960d9fe Fix item decoration add/remove logic and one null check 2020-11-19 01:51:08 +09:00
Ammar Githam
e3cc99f62f Check highlight list before accessing. Fixes https://github.com/austinhuang0131/barinsta/issues/295 2020-11-19 01:36:30 +09:00
Ammar Githam
f01815f4ae Profile model null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/293 2020-11-19 01:29:59 +09:00
Ammar Githam
465627dd9c Temp workaround to fix https://github.com/austinhuang0131/barinsta/issues/282 2020-11-19 01:20:08 +09:00
Ammar Githam
5fdeeb7301 Add null and cast checks. Should fix https://github.com/austinhuang0131/barinsta/issues/278 2020-11-19 01:12:45 +09:00
Ammar Githam
d0c8e9f28c Comment out unused code 2020-11-19 01:01:55 +09:00
Ammar Githam
2f957da290 Navigate to profile using nav id to workaround different compiled NavDirections 2020-11-19 01:00:33 +09:00
Ammar Githam
a6a4b6292d Make swipe up/down to dismiss post view more sensitive 2020-11-18 23:28:14 +09:00
Ammar Githam
23f3ef45c2 Fix binding change in ProfileFragment 2020-11-18 23:27:29 +09:00
Ammar Githam
e2bf09cc7f Fix missing semicolon 2020-11-18 22:18:23 +09:00
Ammar Githam
74cfe75058 Merge branch 'master' of https://github.com/austinhuang0131/barinsta 2020-11-18 22:06:37 +09:00
Austin Huang
957c34b39f
Merge remote-tracking branch 'origin/master' 2020-11-17 20:08:47 -05:00
Austin Huang
45ddfe7659
resource sweep 2020-11-17 20:07:27 -05:00
Austin Huang
354a4b09c8
Update AboutFragment.java 2020-11-17 10:24:09 -05:00
Austin Huang
ad1986804f
Update CrashReporter.java 2020-11-17 10:01:42 -05:00
Austin Huang
dde740aedf
Merge branch 'master' into master 2020-11-15 19:53:23 -05:00
Austin Huang
bf24f56843
redo follower/ing viewer
Follower/ing viewer now uses the i endpoint (which returns more users at once) as well as caching (less requests needed) so its response time has decreased significantly (to 1/3 in my case)
2020-11-15 19:51:00 -05:00
Ammar Githam
b3d41ccffa Some null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/274 2020-11-15 21:55:07 +09:00
Ammar Githam
fececb5fd2 Fix post open animation bug occurring on specific Android 10 devices. Should fix pt. 7 mentioned in https://github.com/austinhuang0131/barinsta/issues/264 2020-11-15 21:47:32 +09:00
Ammar Githam
c3de020f0e Fix Posts not opening for anon users 2020-11-15 15:01:02 +09:00
Ammar Githam
d48c72924a Check for null PostsLayoutPreferences before setting variable in fragments 2020-11-15 04:07:38 +09:00
Ammar Githam
6bfb6e1bf3 Put collapsing toolbar layout views in the main layout to improve scroll behaviour.
This removes the spaghetti required to make scroll behaviours work.
2020-11-15 04:07:38 +09:00
Ammar Githam
84467b60b5 Add preference tp disable post open animation, extract some strings to xml, fix one locale string. 2020-11-14 18:32:11 +09:00
Austin Huang
ce2a74554e
fix #269 2020-11-13 18:44:33 -05:00
Austin Huang
44b431b533
fix feed oops 2020-11-13 18:37:19 -05:00
Austin Huang
0487d23907
proper locale country handling 2020-11-13 18:06:57 -05:00
Austin Huang
387a56faf5
allow anon viewing of comments 2020-11-13 17:29:17 -05:00
Austin Huang
f908e7b643
close #259, release prep, awaiting crowdin 2020-11-13 17:09:41 -05:00
Austin Huang
f67d3a023c
version up, close #266, address half of #259
instagram is not returning most data in graphql anymore so mitigation has been implemented, but again they need to stop trampling on the rights of anonymous users
2020-11-13 14:19:26 -05:00
Ammar Githam
133abcca85 Comment/remove unused code 2020-11-11 20:20:14 +09:00
Ammar Githam
9dedc09578 Hide like, save, comment for anonymous users. Fixes https://github.com/austinhuang0131/barinsta/issues/257 2020-11-11 20:17:54 +09:00
Ammar Githam
c1b5094dc7 Move activity notification viewer to its own nav graph. Fixes https://github.com/austinhuang0131/barinsta/issues/247 2020-11-11 20:04:38 +09:00
Ammar Githam
ebea1404c9 Add nav controller livedata null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/196 2020-11-11 19:27:14 +09:00
Ammar Githam
2c1f4aea9d Replace gif with webp for animated media 2020-11-10 22:41:22 +09:00
Ammar Githam
abd6dd1143 Wrapping super.onDestroy in try-catch in MainActivity to workaround NavController crash 2020-11-10 21:46:31 +09:00
Ammar Githam
b99ee88c97 Fix download progress notification not auto dismissed sometimes 2020-11-10 21:46:31 +09:00
Ammar Githam
60e5007376 Replace icafe with apache-commons-imaging 2020-11-10 21:46:30 +09:00
Ammar Githam
d14f2a098c Fix context leak due to static textview in settings 2020-11-10 21:46:30 +09:00
Ammar Githam
90aa9bb954 Handle null bottomSheetBehavior 2020-11-08 15:48:48 +09:00
Austin Huang
16df666969
bad address 2020-11-07 16:10:18 -05:00
Austin Huang
4826434cca
add post date, fix detail hiding, and semver 2020-11-07 11:55:44 -05:00
Ammar Githam
e530a336a7 Scroll feed to top when bottom feed tab clicked 2020-11-07 20:26:20 +09:00
Ammar Githam
25b2b504cb save resource entry names in preferences instead of ids 2020-11-07 16:27:49 +09:00
Ammar Githam
e26a25e72f Fix Download request exceeding 10kb by creating temp file 2020-11-07 16:00:59 +09:00
Austin Huang
890fd529e6
update attributions 2020-11-06 19:05:15 -05:00
Austin Huang
c2b8d8cb4f
downloads use shortcode, and tagged post notification 2020-11-06 18:09:29 -05:00
Austin Huang
495a4a974f
restore share button 2020-11-06 17:49:29 -05:00
Ammar Githam
1c6cd348f4 Make buttons in PostView dialog title-less, and show the titles on long click 2020-11-07 02:57:22 +09:00
Ammar Githam
cc9cab9c15 Migrate Profile bio and url views to RamboTextViewV2 2020-11-07 00:52:04 +09:00
Ammar Githam
d0bfe73ae6 Add downloaded indicator to Posts view 2020-11-06 21:46:31 +09:00
Ammar Githam
450dbba6de Fix direct downloading and delete action when there are multiple image notifications 2020-11-06 03:37:17 +09:00
Ammar Githam
3ac2ee36aa Remove IPTC from downloaded JPG files 2020-11-06 03:34:01 +09:00
Austin Huang
7678446ba6
fix story linked post, video post, and clicking back button too early on pvv2 2020-11-04 13:46:49 -05:00
Austin Huang
e32002fac8
fix fetching duplication 2020-11-04 13:18:20 -05:00
Austin Huang
bf9dcacd40
add #122 point 2 2020-11-04 13:02:23 -05:00
Austin Huang
66d5ec7c2f
add postviewv2 to dm thread, and fix sidecar video 2020-11-04 11:26:29 -05:00
Ammar Githam
bdcb32395b Various DM fixes (check description)
Use new download flow.
Fix blank space at top when scrolling.
Fix animated media.
2020-11-04 23:58:06 +09:00
Ammar Githam
850e119236 Allow opening PostViewV2Fragment from NotificationsViewerFragment, StoryViewerFragment and when opening from a Share dialog 2020-11-04 20:24:53 +09:00
Austin Huang
a08167381f
cleanup 2020-11-03 20:30:07 -05:00
Ammar Githam
a0084df46e Fix Unresolved Kotlin class error during release build 2020-11-03 21:58:47 +09:00
Ammar Githam
4579f2b37e Add download dialog 2020-11-03 19:01:59 +09:00
Ammar Githam
3393166b51 Merge remote-tracking branch 'origin/new-posts-grid' into new-posts-grid 2020-11-03 17:30:24 +09:00
Ammar Githam
895cf15623 Add multi selection mode to all new post view fragments. Fix Delete action in download notification. 2020-11-03 17:23:20 +09:00
Austin Huang
c19ff317fd
comments and verified
* fix comments count on profile posts
* all comments should be visible now
* add verified badge to comments and post title
2020-11-02 21:12:18 -05:00
Austin Huang
92f7e04757
more general maintenance 2020-11-02 17:09:35 -05:00
Ammar Githam
81ce8ece94 Merge remote-tracking branch 'origin/new-posts-grid' into new-posts-grid 2020-11-02 22:03:45 +09:00
Ammar Githam
ab4306ac0d Add Posts view to SavedViewerFragment 2020-11-02 22:00:07 +09:00
Austin Huang
f3c50e87c4
small fixes and general maintenance (see desc)
* post view:
  1. show username in bold, and full_name on the side
  2. fix comment & control button hide timing
* layout: show username instead of full_name in grids
* profile: fix whitespace on avatar
* dm: add FELIX_SHARE as a message type
* general maintenance
2020-11-01 14:43:07 -05:00
Ammar Githam
d9c30c99b7 Add Posts view to Location fragment 2020-11-01 21:56:04 +09:00
Ammar Githam
2931f2d3ab Add Posts view to Hashtag fragment 2020-11-01 20:34:42 +09:00
Ammar Githam
c305b1a69a Merge remote-tracking branch 'origin/new-posts-grid' into new-posts-grid 2020-11-01 15:08:55 +09:00
Ammar Githam
efd9a9c29d Update Discover tab 2020-11-01 15:02:54 +09:00
Ammar Githam
0a67e859e0 Add PostsRecyclerView to ProfileFragment 2020-10-27 20:33:21 +09:00
Austin Huang
99e1cbef93
download file name improvement 2020-10-24 13:13:16 -04:00
Austin Huang
a0f608442a
Merge branch 'master' into pr/245 2020-10-24 12:31:14 -04:00
Austin Huang
960ac3e180
close #191, close #222 2020-10-24 12:21:54 -04:00
Austin Huang
262375b145
Merge branch 'master' into new-posts-grid 2020-10-24 11:48:01 -04:00
Ammar Githam
9b83c5e832 More updated. Handle clicks. Updated comments viewer, etc 2020-10-24 18:10:21 +09:00
Ammar Githam
6bf59e83ad Initial commit for new posts layout 2020-10-17 19:07:03 +09:00
Austin Huang
ed4095a6ef
more fb messenger stuff 2020-10-04 10:30:52 -04:00
Austin Huang
6c5a0d539a
Update Constants.java 2020-10-04 10:26:23 -04:00
Austin Huang
4cf441773e
fb messenger experience 2020-10-04 10:24:32 -04:00
Austin Huang
03f52d5058
highlight fix, also better verified badge 2020-09-26 21:33:41 -04:00
Austin Huang
6393bbc02b
fix id-load logic & location suggestions 2020-09-26 21:02:31 -04:00
Ammar Githam
192d91f877 Merge branch 'master' of https://github.com/austinhuang0131/barinsta 2020-09-27 04:30:22 +09:00
Ammar Githam
9d2729add1 Fix login crash (read description)
In previous sdk Arrays.asList() returned a mutable list, but now returns immutable list.
2020-09-27 04:29:45 +09:00
Austin Huang
e54a5965e9
removing iStoryStatusFetcher 2020-09-26 15:25:59 -04:00
Austin Huang
a0b43ce388
restore copy bio 2020-09-26 14:52:28 -04:00
Austin Huang
99a8e03578
dm media layout finalization 2020-09-26 14:42:35 -04:00
Austin Huang
a3c0b496aa
satisfy build 2020-09-26 12:55:15 -04:00
Austin Huang
9350c05634
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2020-09-26 12:37:00 -04:00
Austin Huang
1713ae2573
add vietnamese and other house chores 2020-09-26 12:36:45 -04:00
Ammar Githam
a4e1ee69af Fix double requestLayout 2020-09-27 00:39:11 +09:00
Ammar Githam
548211c5a0 Fix weird NavDirections compilation error 2020-09-27 00:38:35 +09:00
Ammar Githam
d6e927a8be Fix wrong dimensions calculated due to last minute variable name change 2020-09-27 00:37:22 +09:00
Ammar Githam
b5e66e35bf Fix images not shown in dm 2020-09-26 18:14:06 +09:00
Austin Huang
6bd0b811b1
restore location & hashtag stories 2020-09-25 20:15:46 -04:00
Austin Huang
96a25f0d35
removal of third-party story readers 2020-09-25 13:44:21 -04:00
Austin Huang
2f0e81d86f
Merge pull request #170 from ammargitham/task/add-favourites
add favorites and bugfixes
2020-09-25 13:13:34 -04:00
Austin Huang
aaf87a0ded
Update ProfileFragment.java 2020-09-24 21:50:04 -04:00
Austin Huang
cc9a7f87f9
Update ProfileFetcher.java 2020-09-24 21:49:33 -04:00
Austin Huang
3c5d73e28e
Merge remote-tracking branch 'github-desktop-ammargitham/task/add-favourites' into pr/170 2020-09-22 23:16:14 -04:00
Austin Huang
ab37c2d72b
dm button on profile?! (quick & dirty warning) 2020-09-22 23:15:57 -04:00
Ammar Githam
cbc7e5447f Removing StorageUtil lib for the timebeing 2020-09-21 21:08:14 +09:00
Ammar Githam
b5d478b7c9 Bump minSdkVersion to 21, and remove MultidexApplication (see description)
For multidex in api 21 and higher, extending from MultidexApplication is not required. Check: https://developer.android.com/studio/build/multidex#mdex-on-l
2020-09-21 21:02:18 +09:00
Austin Huang
3e3c39ae4b
sd card test 2020-09-20 22:36:34 -04:00
Austin Huang
6425fc3975
byebye storiesig 2020-09-20 22:36:23 -04:00
Austin Huang
03bd549016
Merge branch 'master' into pr/170 2020-09-20 21:41:58 -04:00
Austin Huang
c361bc8550
Create DirectoryUtils.java 2020-09-20 21:41:53 -04:00
Austin Huang
a004bfa9a9
Update CommentAction.java 2020-09-20 16:34:51 -04:00
Ammar Githam
80b0cfa87f Merge remote-tracking branch 'origin/task/add-favourites' into task/add-favourites 2020-09-21 03:53:27 +09:00
Ammar Githam
05c0937c6f Add Backup and restore. Update DirectoryChooser UI.
The updated backup and restore is backward compatible with old backup files. Just have updated the default file name and extension for newer backups.
2020-09-21 03:52:34 +09:00
Ammar Githam
056604d9bb Handle newest_cursor and oldest_cursor not sent in response 2020-09-21 03:48:45 +09:00
Ammar Githam
7ea2ae853a Fix Android Q leak. Reported by LeakCanary, more details here: https://issuetracker.google.com/issues/139738913 2020-09-21 03:45:58 +09:00
Austin Huang
63d30a9c2e
no more midnight coding 2020-09-19 23:34:09 -04:00
Austin Huang
6aead8ff2b
add material design icons attribution 2020-09-19 23:25:16 -04:00
Austin Huang
f9f3d4620b
Merge branch 'master' into pr/170 2020-09-19 22:54:52 -04:00
Austin Huang
d586bbf398
Merge pull request #166 from andersonvom/fix-swap-date-time-settings
Fix swap date time settings
2020-09-19 22:49:44 -04:00
Austin Huang
8dd6a8f90f
Merge pull request #168 from andersonvom/non-logged-likes
Improve CookieUtils
2020-09-19 20:16:53 -04:00
Ammar Githam
837c6ba8ad Updated some icons and category in MorePreferencesFragment 2020-09-19 19:28:22 +09:00
Ammar Githam
644de57666 Fix navigation after logging in 2020-09-19 19:02:04 +09:00
Ammar Githam
444c51a36d Reselect proper tab immediately after logging off 2020-09-19 18:48:58 +09:00
Ammar Githam
e89cf7af46 Keep follow requests at top in notification viewer 2020-09-19 17:17:43 +09:00
Ammar Githam
46014928df Quick workaround for leftover refreshing status 2020-09-19 17:08:24 +09:00
Ammar Githam
07bb2f47f1 Fix posts duplication on profile follow/unfollow 2020-09-19 17:06:00 +09:00
Ammar Githam
3bf4aa86d0 Fix weird layout when keyboard is open and indexoutofbounds when fetching profile details 2020-09-19 16:54:37 +09:00
Anderson Mesquita
dd0f1e397c Extract method to get cookie value
Currently, trying to get a `csrftoken` from an empty cookie string will
crash the application. This creates a helper method to extract a cookie
value given a cookie name by pattern matching on the cookie string and
returning the value if one is found.

Fixes: #167
2020-09-18 16:23:46 -04:00
Anderson Mesquita
890c4d32d1 Extract method to get longest cookie
This reduces duplication and makes it easier to know what `getCookie` is
doing, since all domains are now clustered together and it's easy to see
the difference between them..
2020-09-18 16:23:10 -04:00
Ammar Githam
9144110564 Merge branch 'master' into task/add-favourites 2020-09-19 04:26:48 +09:00
Ammar Githam
cf974a74f3 Add favorites, also fixes the hashtag follow, and some theming 2020-09-19 04:18:14 +09:00
Anderson Mesquita
68033cd0ec Save "Swap time and date positions" checkbox state
Currently, if the user checks the option "Swap time and date positions",
leaves the settings modal and returns to it, the option will be
unchecked, even though the date and time are, indeed, swapped.

This saves the value of the "Swap time and date positions" option so
that it will match whatever state the user selected last.

Fixes: #165
2020-09-18 11:46:46 -04:00
Anderson Mesquita
29840f66c7 Switch isSwapTime conditional
This doesn't change behavior, but makes the variable `isSwapTime` match
the value of the checkbox state (`cbSwapTimeDate.isChecked()`). Now,
both of them will be either `true` or `false` together, instead of
having opposite values.
2020-09-18 10:55:47 -04:00
Austin Huang
8d388c17e5
Update CrashReporter.java 2020-09-17 10:30:04 -04:00
Austin Huang
7ac9c965e3
bibliogram theme, translation setup 2020-09-15 20:18:23 -04:00
Ammar Githam
027b356357 Fix recurring alert sound if notification not tapped 2020-09-15 19:25:32 +09:00
Ammar Githam
15eed4137a Fix previous themes and add Material Dark theme (needs improvements) 2020-09-14 23:17:35 +09:00
Ammar Githam
e7cd0e0041 Add Barinsta Light theme 2020-09-13 23:55:17 +09:00
Ammar Githam
490956565a Update most of the png images to their xml counterparts and remove unused png 2020-09-13 20:28:40 +09:00
Ammar Githam
ebdaae94d1 Initial commit for updated flow of themes. (Check description)
Removed DayNight theme. Added a 'white' theme for Light, and 'black' theme for Dark.
Users will have to set the type of Light or Dark theme they want to use.
Default is white for light, black for dark.
More themes will be added later.
2020-09-13 19:21:14 +09:00
Ammar Githam
c52f35bc3e Convert AccountSwitcher dialog to a DialogFragment as the AlertDialog was causing a leak (detected by LeakCanary) 2020-09-12 21:39:43 +09:00
Ammar Githam
122d84fbf2 No more requireContext() as it is fail first. Instead use getContext() and check for null. 2020-09-12 17:51:50 +09:00
Ammar Githam
ee7f0a5c95 Remove unused layouts and rename StoryViewerFragment layout 2020-09-12 17:22:11 +09:00
Austin Huang
84caa633a3
oeuf 2020-09-11 20:53:24 -04:00
Austin Huang
aa6dab07cb
attempt to add a third-party storyviewer, plus logout without removing accounts 2020-09-11 20:46:20 -04:00
Ammar Githam
e560fd364b Migrate from Glide to Fresco 2020-09-12 01:44:34 +09:00
Ammar Githam
08134ef5f1 Add activity checker service 2020-09-12 00:51:00 +09:00
Ammar Githam
60d9e64a57 Rename services package to webservices to avoid confusion with native Android services 2020-09-11 23:10:27 +09:00
Ammar Githam
37912854d0 Add activity/notification view fragment 2020-09-11 22:27:09 +09:00
Austin Huang
73a9e627d9
more crash resolution and home decor 2020-09-10 15:57:07 -04:00
Austin Huang
c9bd85cbf3
new about fragment 2020-09-10 15:29:02 -04:00
Ammar Githam
8049ddec45 Add about dialog back 2020-09-10 20:59:57 +09:00
Ammar Githam
9431d72e72 Search for telegram package only on demand 2020-09-10 20:54:32 +09:00
Ammar Githam
80044b5daf Break down Utils into separate utility classes as Utils was getting bloated 2020-09-10 20:44:25 +09:00
Ammar Githam
6fa13a6fbb Merge remote-tracking branch 'origin/task/update-feed-view' into task/update-feed-view 2020-09-10 19:40:19 +09:00
Ammar Githam
00762c85e6 Add account switcher in MorePreferencesFragment 2020-09-10 19:39:10 +09:00
Austin Huang
1cc21896b7
crash resolution 2020-09-09 15:59:16 -04:00
Austin Huang
3e7097ff6d
restoration of DM mark-as-seen setting 2020-09-08 16:04:09 -04:00
Austin Huang
e52c185ffe
Merge branch 'master' into pr/77 2020-09-08 15:46:58 -04:00
Austin Huang
43f77409ba
Update UpdateChecker.java 2020-09-08 15:46:19 -04:00
Austin Huang
1ea631e760
Merge branch 'master' into task/update-feed-view 2020-09-08 15:44:04 -04:00
Austin Huang
93b80a7147
implement F-Droid update checker 2020-09-08 15:42:12 -04:00
Ammar Githam
8b2ac8de3b Merge remote-tracking branch 'origin/task/update-feed-view' into task/update-feed-view 2020-09-09 00:55:39 +09:00
Ammar Githam
149410d552 Hide search if default tab is not profile 2020-09-09 00:55:28 +09:00
Austin Huang
26b4d9d650
Merge branch 'master' into task/update-feed-view 2020-09-08 11:43:08 -04:00
Ammar Githam
31f6f735f2 Resolve Doc warning 2020-09-09 00:39:08 +09:00
Ammar Githam
3de2f4ea99 Fix auto play videos setting not correctly set 2020-09-09 00:38:49 +09:00
Ammar Githam
d4a28d6aa1 Handle null context! Need to add this check in all async listeners. 2020-09-09 00:38:20 +09:00
Ammar Githam
61851f2ef7 Fix long click in feed view and url click in profile view 2020-09-09 00:37:40 +09:00
Austin Huang
616ee86c5e
fix #126 2020-09-08 11:36:38 -04:00
Austin Huang
f1902e82e6
sorta fix #127 2020-09-08 11:32:31 -04:00
Austin Huang
8c2a5f9f16
fix #124 2020-09-08 11:25:37 -04:00
Ammar Githam
84ff0a23e1 Fix opening profile from dm settings view, removed various warnings 2020-09-08 21:27:04 +09:00
Ammar Githam
4fb1260074 Check logged in onCreate of ProfileFragment 2020-09-08 21:26:08 +09:00
Ammar Githam
c073cfc9be Fix logged in check in SettingsPreferencesFragment 2020-09-08 21:25:19 +09:00
Ammar Githam
e1a13c7eee Fix profile, location view when logged out 2020-09-08 20:27:13 +09:00
Ammar Githam
6b221c463b Handle bottom nav and settings when logged out 2020-09-08 19:46:21 +09:00
Ammar Githam
8b502561c2 Specifically set Profile nav graph as default instead of using index, as the index may change if manNavList order is changed 2020-09-08 19:29:16 +09:00
Austin Huang
2d44033d3c
small polishings (see description)
* General (makeshift): Set default first-tab to be profile, adjust search button appearance logic, add fragment labels
* DM inbox items: Adjust group chat avatar sizes, reinstate unread indicators
* DM thread: Swap buttons per spirit of #122
* Profile: Fix story fetcher logic
* Story: Fix bug where first story can't scroll to next user, unify subtitle to timestamp, swap buttons per #122
* Comment: Unfocus replying comment when X is pressed
2020-09-07 16:01:44 -04:00
Austin Huang
fb86911324
beta release preparation + some toasts 2020-09-07 13:08:28 -04:00
Ammar Githam
ccfaa1c397 Open post from dm thread and handle ig links properly from within the app 2020-09-07 22:44:56 +09:00
Ammar Githam
0d7b5199ea Reorganise settings, add update check setting 2020-09-07 22:08:49 +09:00
Ammar Githam
95b362970b Remove unused files 2020-09-07 21:21:36 +09:00
Ammar Githam
466ac22d23 Handle intents (urls/share) from outside the app 2020-09-07 21:17:06 +09:00
Austin Huang
bdb8ee6d75
close #115, close #118, close #120, close #123 2020-09-06 17:26:45 -04:00
Ammar Githam
17a5f978e8 Add setting for choosing default tab 2020-09-07 00:37:05 +09:00
Ammar Githam
c9d342471b Add update checker back, with updated handling. Check description.
FlavorTown will check if current app was installed from F-droid and not show the update dialog if true.
You can now skip an update.
You can now force check for an update by clicking More -> Version (even if you set to skip the update).
2020-09-06 22:27:41 +09:00
Ammar Githam
00800590ba Fix some linting 2020-09-06 18:26:44 +09:00
Ammar Githam
7e8fdda81b Add updated profile pic viewer, and view stories from profile. 2020-09-06 18:25:27 +09:00
Ammar Githam
6b0fe3ff78 Move viewmodels package to root directory 2020-09-06 15:06:36 +09:00
Ammar Githam
4130026cad Fixing codacy warnings/issues (Ongoing) 2020-09-06 03:51:41 +09:00
Ammar Githam
4efd2cb6ac Add highlights back to ProfileFragment 2020-09-06 03:34:16 +09:00
Ammar Githam
465defd1ff Remove stale imports 2020-09-06 02:07:09 +09:00
Ammar Githam
d967463493 Move fragments to their proper place 2020-09-06 02:05:43 +09:00
Ammar Githam
89bb79a8fc Add search back! 2020-09-06 02:02:54 +09:00
Ammar Githam
48b76c231a Fix pull to refresh in DiscoverFragment 2020-09-05 17:31:50 +09:00
Ammar Githam
3c90eebe7a Fix pull to refresh in FeedFragment, and add pull to refresh in ProfileFragment 2020-09-05 17:08:44 +09:00
Ammar Githam
437162639f Fix null favourites menu item, and add pull to refresh in feed 2020-09-05 16:59:43 +09:00
Ammar Githam
cc9348d8c5 Fix DM fragments, comment out deprecated activities 2020-09-05 16:16:11 +09:00
Ammar Githam
290ed50287 Convert follower activity to fragment 2020-09-05 03:19:06 +09:00
Ammar Githam
c64ae3a101 Convert comment viewer activity to fragment and update layouts 2020-09-05 02:38:36 +09:00
Austin Huang
7807fe7f59
eye candy and settings compatibility 2020-09-03 15:07:43 -04:00
Austin Huang
0694cf02e3
Merge branch 'master' into task/update-feed-view 2020-09-03 12:00:20 -04:00
Ammar Githam
93fc9d82b9 Converted SavedViewer activity to fragment 2020-09-04 00:15:53 +09:00
Austin Huang
885097341e
Update PostViewer.java 2020-09-03 10:00:01 -04:00
Ammar Githam
034dbfa147 Add like and save actions to post viewer fragment 2020-09-03 20:08:04 +09:00
Ammar Githam
2fd9589aaf Put redundant code in parent viewmodel 2020-09-03 18:49:41 +09:00
Ammar Githam
daa5a110f2 Fix viewmodels 2020-09-03 18:44:02 +09:00
Austin Huang
65d19d860e
fixed basic build errors, erase BasePostViewModel 2020-09-02 14:11:28 -04:00
Austin Huang
ce0302622e
final final resolution 2020-09-02 13:42:01 -04:00
Austin Huang
0f1ddda001
final resolution 2020-09-02 13:34:29 -04:00
Austin Huang
b62dc66032
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber into pr/77 2020-09-02 13:31:09 -04:00
Austin Huang
a7ec65d88f
conflict resolution 2020-09-02 13:20:19 -04:00
Ammar Githam
13cacf43f9 Added post viewer fragment. Updated almost all places to use this
Remaining places are SavedViewer and DirectMessageThreadFragment
2020-09-03 02:02:31 +09:00
Austin Huang
44db2db57f
Update MainHelper.java 2020-09-02 12:33:44 -04:00
Austin Huang
6263977917
fix notification 2020-09-01 20:21:45 -04:00
Austin Huang
c87311a68e
address #74, fix #76, fix #90, fix #104, fix #106 2020-09-01 13:37:00 -04:00
Ammar Githam
ded09ab237 Merge remote-tracking branch 'origin/task/update-feed-view' into task/update-feed-view 2020-08-30 23:29:31 +09:00
Ammar Githam
8f1a158b92 Nested navigation using global actions
Using a workaround for including global actions. This may change in the future releases of Navigation lib
2020-08-30 23:24:28 +09:00
Austin Huang
ac8481f247
Merge branch 'master' into task/update-feed-view 2020-08-30 10:13:36 -04:00
Austin Huang
a6c912c5d5
post location optimizations 2020-08-30 10:06:15 -04:00
Ammar Githam
649115a665 Add Location fragment 2020-08-30 21:51:47 +09:00
Ammar Githam
5c273d18a4 Add HashTag fragment 2020-08-30 20:45:37 +09:00
Ammar Githam
d73b71658d Adding deprecation annotation before pushing 2020-08-30 17:58:11 +09:00
Ammar Githam
6ee476b590 Complete almost all Profile actions using service 2020-08-30 17:55:27 +09:00
Ammar Githam
40e810e88c Preferences! Check description
1. Added preferences screens.
2. Some DM changes.
3. Init profile actions using services
2020-08-30 15:47:04 +09:00
Austin Huang
40cb975384
support dm message type "clip" (which is glorified "media_share" for reels) 2020-08-29 21:34:14 -04:00
Austin Huang
c3d92b8fc0
implement swipe-up sticker + refresh inbox list after sending message 2020-08-29 16:42:08 -04:00
Austin Huang
7b4c005513
fix #75, fix #94 (added error handling for suspicious situations) 2020-08-29 15:55:40 -04:00
Austin Huang
1fda45c01a
fix #100 2020-08-29 15:30:24 -04:00
Ammar Githam
3f6c74d671 Tabs! Fragments! WIP! 2020-08-29 17:01:42 +09:00
Austin Huang
86a90aff5c
fix android 6 cookie problem 2020-08-25 12:15:12 -04:00
Ammar Githam
e7ed3eb249 cleanup 2020-08-25 05:02:41 +09:00
Ammar Githam
93f7a58e54 Un-comment lines which were commented for debug 2020-08-25 05:02:18 +09:00
Ammar Githam
0608882127 Re-fix play/stop autoplaying videos when navigating away 2020-08-25 00:38:27 +09:00
Ammar Githam
3c94e827d3 Merge branch 'master' into task/separate-feed-item-views 2020-08-25 00:18:53 +09:00
Ammar Githam
da98cff507 Update Feed view, check description
Changes:

1. Separate out view holders for feed post types.
2. Improve performance for binding.
4. Initiating migration from Glide to Fresco, as performance of Fresco is way better.
3. Prefetch feed view thumbnails to get aspect ratio, to improve layout performance.
4. If auto play is off, the videos in feed are not loaded until play is pressed.
5. Lots of optimizations here and there.
2020-08-25 00:05:54 +09:00
Austin Huang
ae058813e0
stop notification toast 2020-08-22 17:09:36 -04:00
Austin Huang
4a439f74eb
optimize imports, add DM settings (init), add notification setting 2020-08-22 17:03:55 -04:00
Ammar Githam
0b183c5ab5 Rename main activity to MainActivity 2020-08-22 16:34:52 +09:00