Commit Graph

158 Commits

Author SHA1 Message Date
Austin Huang e00f7e9fac
Merge branch 'master' into retrofit-intercept-errors 2021-04-02 12:39:39 -04:00
Ammar Githam 07f41a8a8c Add GraphQl error handling 2021-03-30 20:44:01 +09:00
Austin Huang 6965fbdc9a
Merge branch 'master' into retrofit-intercept-errors 2021-03-27 16:06:53 -04:00
Austin Huang dc1119c604
Merge branch 'master' into pr/850 2021-03-26 22:27:47 -04: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 b9d75af03c Merge branch 'master' into bottombar_redesign 2021-03-24 23:40:31 +09: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 1dd78b7d91
reorganize responses 2021-03-22 14:51:44 -04:00
Ammar Githam 0d53e244e2 Destroy references to solve leak 2021-03-22 23:46:47 +09: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 af3ec4ba26
backup user argument for GraphQL feed 2021-03-21 21:35:18 -04:00
Austin Huang 442903eaf9
make archives usable and also some marginal improvements 2021-03-21 19:11:33 -04: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
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 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 d65fbd4193
revamp notifications; close #796 2021-03-16 17:57:57 -04:00
Ammar Githam 6d73528387 Send stickers and gifs in DM 2021-03-16 01:48:39 +09:00
Austin Huang d551969da3
close #660 2021-03-11 14:30:33 -05:00
Austin Huang 8105462acb
add suggestion chaining 2021-03-05 14:06:27 -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
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
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 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 eba37705e2
#583 2021-01-23 11:32:34 -05:00
Austin Huang 89441a3562
more collection features 2021-01-22 23:33:36 -05:00
Ammar Githam 6aee7ea863 Allow ending a group chat 2021-01-20 02:25:22 +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 117b1c1629
viewing saved collections, so half of #545 2021-01-17 14:11:15 -05: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 8a659c9f1f Allow forwarding messages (need to check types which cannot be forwarded) 2021-01-16 03:10:17 +09:00
Ammar Githam 8e3d0af9d3 Allow unsend message 2021-01-15 03:28:30 +09:00
Austin Huang 255c3c84b4
once again fix null guards in feed 2021-01-13 11:24:23 -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 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 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 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 b2917e3d63
Merge branch 'master' into dm-notifications-enhancements 2021-01-06 13:25: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 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 e1d8e02630 Update DM settings page 2021-01-03 18:55:19 +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 22d327e166
still can't fix the sync issue 2020-12-31 14:07:32 -05:00
Austin Huang 975654961f
add suggested users feature 2020-12-30 13:26:16 -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 3d2dee0d94
custom story sort, #122 point 1 2020-12-29 13:41:38 -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 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 f909408916
edit post caption (just basic design, still WIP) 2020-12-23 17:12:25 -05:00
Austin Huang 172ca2bdc8
fix repeating feed, more polishing 2020-12-22 15:25:47 -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 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 c24fd016b1
rewrite stories backend, close #319, close #372, close #405 2020-12-17 15:13:41 -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
Austin Huang 44b431b533
fix feed oops 2020-11-13 18:37:19 -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 d0bfe73ae6 Add downloaded indicator to Posts view 2020-11-06 21:46:31 +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 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 ab4306ac0d Add Posts view to SavedViewerFragment 2020-11-02 22:00:07 +09: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 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