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

576 Commits

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