Commit Graph

167 Commits

Author SHA1 Message Date
Austin Huang 853115eb4e
live video (untested) #383; also besties story type #460 2021-01-05 22:10:54 -05:00
Austin Huang 3dd66d9bc7
fix #524 2021-01-05 16:39:17 -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 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 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
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 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 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 49ba524305
activity: support for app inbox #114, better onclick, etc 2020-12-25 16:41:46 -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 f909408916
edit post caption (just basic design, still WIP) 2020-12-23 17:12:25 -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 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
Ammar Githam 126a0f7f4b Preparing migration to Room 2020-12-07 19:47:03 +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
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 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 2c1f4aea9d Replace gif with webp for animated media 2020-11-10 22:41:22 +09:00
Austin Huang c2b8d8cb4f
downloads use shortcode, and tagged post notification 2020-11-06 18:09:29 -05:00
Ammar Githam d0bfe73ae6 Add downloaded indicator to Posts view 2020-11-06 21:46:31 +09: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 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 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 efd9a9c29d Update Discover tab 2020-11-01 15:02:54 +09: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 6393bbc02b
fix id-load logic & location suggestions 2020-09-26 21:02:31 -04:00
Austin Huang 99a8e03578
dm media layout finalization 2020-09-26 14:42:35 -04:00
Ammar Githam a4e1ee69af Fix double requestLayout 2020-09-27 00:39:11 +09:00
Ammar Githam b5e66e35bf Fix images not shown in dm 2020-09-26 18:14:06 +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 e89cf7af46 Keep follow requests at top in notification viewer 2020-09-19 17:17:43 +09:00
Ammar Githam cf974a74f3 Add favorites, also fixes the hashtag follow, and some theming 2020-09-19 04:18:14 +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 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 e560fd364b Migrate from Glide to Fresco 2020-09-12 01:44:34 +09:00
Ammar Githam 37912854d0 Add activity/notification view fragment 2020-09-11 22:27:09 +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
Ammar Githam 31f6f735f2 Resolve Doc warning 2020-09-09 00:39:08 +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
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 89bb79a8fc Add search back! 2020-09-06 02:02:54 +09:00
Ammar Githam cc9348d8c5 Fix DM fragments, comment out deprecated activities 2020-09-05 16:16:11 +09:00
Ammar Githam c64ae3a101 Convert comment viewer activity to fragment and update layouts 2020-09-05 02:38:36 +09:00
Ammar Githam 034dbfa147 Add like and save actions to post viewer fragment 2020-09-03 20:08:04 +09:00
Austin Huang ce0302622e
final final resolution 2020-09-02 13:42:01 -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
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 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
Austin Huang ac8481f247
Merge branch 'master' into task/update-feed-view 2020-08-30 10:13:36 -04:00
Ammar Githam 649115a665 Add Location fragment 2020-08-30 21:51:47 +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
Ammar Githam 3f6c74d671 Tabs! Fragments! WIP! 2020-08-29 17:01:42 +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 4a439f74eb
optimize imports, add DM settings (init), add notification setting 2020-08-22 17:03:55 -04:00
Ammar Githam b8278c0f99 Fix videos auto playing even when auto play is set to false 2020-08-22 15:33:59 +09:00
Austin Huang 37cfba3666
f-droid trial, fix #61, polish #65, fix invisible icon issue 2020-08-21 20:38:51 -04:00
Ammar Githam 8e43519c5b Add mention click listener to reel share view 2020-08-21 22:44:24 +09:00
Ammar Githam f7fb374aca Add viewholder for default (unhandled) dm item types 2020-08-21 21:23:48 +09:00
Ammar Githam 51138f9db0 Separate out individual DM message types to their respective views 2020-08-20 22:05:23 +09:00
Austin Huang 072cd63776
like dm messages & some polishing 2020-08-18 16:47:43 -04:00
Ammar Githam 30695ae02f update direct messages
This commit sets up the base for future enhancements in direct messages. The changes are:

1. Introducing fragments and navigation using androidx.navigation.fragment.NavHostFragment.

2. Using ListAdapter and LiveData for the RecyclerViews.

3. Fixes a bug where a single direct message was lost when querying older messages.
2020-08-17 22:51:39 +09:00
Austin Huang 7ddf356de9
layout finalization 2020-08-11 14:14:30 -04:00
Austin Huang 4e0f837ff3
various bug fixes 2020-08-07 11:31:25 -04:00
Austin Huang 45bf250657
instagram wth??? and close #25 2020-08-06 13:06:50 -04:00
Austin Huang 14d3ea5c6c
v17.4 2020-08-06 12:48:52 -04:00
Austin Huang 440f6e2339
discovery topics are messed up tbh 2020-08-05 14:54:49 -04:00
Ammar Githam 2298a7fc0f change SpannableString to html, to fix serialization error 2020-08-05 21:39:42 +09:00
Austin Huang ecc1958a23
liked viewer 2020-08-04 22:18:38 -04:00
Austin Huang af458ce6c6
turkish, plus lgtm & compability fixes 2020-08-04 17:59:36 -04:00
Austin Huang eac0d9a5f7
story stickers and various bug fixes 2020-08-03 22:28:42 -04:00
Austin Huang 8726a924a0
notification viewer + hd avatar 2020-07-31 15:53:32 -04:00