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

770 Commits

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