Commit Graph

94 Commits

Author SHA1 Message Date
Ammar Githam 0018cd0b7f Migrate FeedModel and ProfileModel to Media and User 2021-01-07 21:36:33 +09: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 be53864f02 Auto fetch more chats if loaded chats don't fill the view 2021-01-03 19:19:36 +09:00
Ammar Githam e1d8e02630 Update DM settings page 2021-01-03 18:55:19 +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
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 2f957da290 Navigate to profile using nav id to workaround different compiled NavDirections 2020-11-19 01:00:33 +09: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
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
Austin Huang 960ac3e180
close #191, close #222 2020-10-24 12:21:54 -04:00
Austin Huang a3c0b496aa
satisfy build 2020-09-26 12:55:15 -04:00
Ammar Githam 548211c5a0 Fix weird NavDirections compilation error 2020-09-27 00:38:35 +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 80044b5daf Break down Utils into separate utility classes as Utils was getting bloated 2020-09-10 20:44:25 +09:00
Austin Huang 26b4d9d650
Merge branch 'master' into task/update-feed-view 2020-09-08 11:43:08 -04:00
Austin Huang f1902e82e6
sorta fix #127 2020-09-08 11:32:31 -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 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
Austin Huang 65d19d860e
fixed basic build errors, erase BasePostViewModel 2020-09-02 14:11:28 -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
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
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
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
Ammar Githam 3f6c74d671 Tabs! Fragments! WIP! 2020-08-29 17:01:42 +09:00
Austin Huang 4a439f74eb
optimize imports, add DM settings (init), add notification setting 2020-08-22 17:03:55 -04: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 052402a974 Merge branch 'master' into task/separate-dm-type-views 2020-08-20 23:04:17 +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 4857b3bfa0
unsend messages and activity notification 2020-08-19 12:51:41 -04:00
Austin Huang 376f3e5d5a
finalization 2020-08-18 16:55:42 -04:00
Austin Huang 072cd63776
like dm messages & some polishing 2020-08-18 16:47:43 -04:00
Ammar Githam f9ef697111 Fix error when choosing image from Documents manager
Cannot rely on Uri.getPath to return absolute path to create File object. Instead get the inputstream and create Bitmap first.
2020-08-19 00:15:13 +09:00
Ammar Githam 4a73aa1179 allow uploading any type of image
Tested all formats (except MNG) from https://www.w3.org/People/mimasa/test/imgformat/
2020-08-18 22:22:16 +09:00
Ammar Githam 1fe721010d Fix names of the gen. sources due to file renames 2020-08-17 23:06:51 +09: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