1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-09-20 10:07:29 +00:00
Commit Graph

175 Commits

Author SHA1 Message Date
Austin Huang
ae27d5d57a
post likes viewer 2020-12-20 15:52:09 -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
Ammar Githam
126a0f7f4b Preparing migration to Room 2020-12-07 19:47:03 +09:00
Ammar Githam
f94694fff3 Update/add dependencies and enable proguard (no obfuscation). 2020-12-07 19:39:32 +09:00
Austin Huang
b2e784deb8
close #306 and close #310 2020-11-30 12:29:41 -05: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
74cfe75058 Merge branch 'master' of https://github.com/austinhuang0131/barinsta 2020-11-18 22:06:37 +09:00
Austin Huang
45ddfe7659
resource sweep 2020-11-17 20:07:27 -05: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
Austin Huang
519d46858b
Delete dialog_main_about.xml 2020-11-14 12:26:05 -05: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
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
Ammar Githam
d14f2a098c Fix context leak due to static textview in settings 2020-11-10 21:46:30 +09:00
Austin Huang
4826434cca
add post date, fix detail hiding, and semver 2020-11-07 11:55:44 -05:00
Austin Huang
c2b8d8cb4f
downloads use shortcode, and tagged post notification 2020-11-06 18:09:29 -05:00
Austin Huang
495a4a974f
restore share button 2020-11-06 17:49:29 -05:00
Ammar Githam
1c6cd348f4 Make buttons in PostView dialog title-less, and show the titles on long click 2020-11-07 02:57:22 +09:00
Ammar Githam
a83664d6d9 Fix hanging follow and DM buttons in private profile view 2020-11-07 01:01:24 +09:00
Ammar Githam
cc9cab9c15 Migrate Profile bio and url views to RamboTextViewV2 2020-11-07 00:52:04 +09:00
Ammar Githam
d0bfe73ae6 Add downloaded indicator to Posts view 2020-11-06 21:46:31 +09:00
Ammar Githam
450dbba6de Fix direct downloading and delete action when there are multiple image notifications 2020-11-06 03:37:17 +09:00
Austin Huang
09cf333cb0
close #215 2020-11-04 17:35:01 -05:00
Austin Huang
bf9dcacd40
add #122 point 2 2020-11-04 13:02:23 -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
Ammar Githam
850e119236 Allow opening PostViewV2Fragment from NotificationsViewerFragment, StoryViewerFragment and when opening from a Share dialog 2020-11-04 20:24:53 +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
Ammar Githam
81ce8ece94 Merge remote-tracking branch 'origin/new-posts-grid' into new-posts-grid 2020-11-02 22:03:45 +09:00
Ammar Githam
ab4306ac0d Add Posts view to SavedViewerFragment 2020-11-02 22:00:07 +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
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
c305b1a69a Merge remote-tracking branch 'origin/new-posts-grid' into new-posts-grid 2020-11-01 15:08:55 +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
Austin Huang
262375b145
Merge branch 'master' into new-posts-grid 2020-10-24 11:48:01 -04: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
84fd88024d
#214 2020-10-03 15:55:49 -04:00
Austin Huang
03f52d5058
highlight fix, also better verified badge 2020-09-26 21:33:41 -04:00
Austin Huang
a0b43ce388
restore copy bio 2020-09-26 14:52:28 -04:00
Austin Huang
99a8e03578
dm media layout finalization 2020-09-26 14:42:35 -04:00
Austin Huang
1713ae2573
add vietnamese and other house chores 2020-09-26 12:36:45 -04:00
Ammar Githam
b5e66e35bf Fix images not shown in dm 2020-09-26 18:14:06 +09:00
Austin Huang
6bd0b811b1
restore location & hashtag stories 2020-09-25 20:15:46 -04:00
Austin Huang
ab37c2d72b
dm button on profile?! (quick & dirty warning) 2020-09-22 23:15:57 -04: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
d2b2e4e428 Replace expired.png with vector drawable 2020-09-19 19:42:50 +09:00
Ammar Githam
0e881ba7c5 Fix layout problem in notification item 2020-09-19 17:03:01 +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
15eed4137a Fix previous themes and add Material Dark theme (needs improvements) 2020-09-14 23:17:35 +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
ad36331a06 No need for Image assets (.png) as Vector assets (.xml) work with AppCompat views 2020-09-13 19:27:46 +09:00
Ammar Githam
ebdaae94d1 Initial commit for updated flow of themes. (Check description)
Removed DayNight theme. Added a 'white' theme for Light, and 'black' theme for Dark.
Users will have to set the type of Light or Dark theme they want to use.
Default is white for light, black for dark.
More themes will be added later.
2020-09-13 19:21:14 +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
ee7f0a5c95 Remove unused layouts and rename StoryViewerFragment layout 2020-09-12 17:22:11 +09:00
Ammar Githam
5c0ba88210 Make profile view appbar non elevated, and better scrolling effect 2020-09-12 17:17:36 +09:00
Ammar Githam
01fe50fa7d Convert profile view top from nested layout to flat constraint view 2020-09-12 16:51:22 +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
00762c85e6 Add account switcher in MorePreferencesFragment 2020-09-10 19:39:10 +09:00
Ammar Githam
8e51773085 Fix parent and child comments view.
Separated out parent comment and dm item view to reduce handling of view visibility. Added the likes in parent and matched styles with child comments.
2020-09-09 01:47:46 +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
c9d342471b Add update checker back, with updated handling. Check description.
FlavorTown will check if current app was installed from F-droid and not show the update dialog if true.
You can now skip an update.
You can now force check for an update by clicking More -> Version (even if you set to skip the update).
2020-09-06 22:27:41 +09:00
Ammar Githam
7e8fdda81b Add updated profile pic viewer, and view stories from profile. 2020-09-06 18:25:27 +09:00
Ammar Githam
4efd2cb6ac Add highlights back to ProfileFragment 2020-09-06 03:34:16 +09:00
Ammar Githam
d967463493 Move fragments to their proper place 2020-09-06 02:05:43 +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
290ed50287 Convert follower activity to fragment 2020-09-05 03:19:06 +09:00
Ammar Githam
c64ae3a101 Convert comment viewer activity to fragment and update layouts 2020-09-05 02:38:36 +09:00
Austin Huang
7807fe7f59
eye candy and settings compatibility 2020-09-03 15:07:43 -04:00
Ammar Githam
93fc9d82b9 Converted SavedViewer activity to fragment 2020-09-04 00:15:53 +09:00
Ammar Githam
034dbfa147 Add like and save actions to post viewer fragment 2020-09-03 20:08:04 +09: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
fd629aab7f
ok 2020-09-01 21:44:32 -04:00
Austin Huang
01f8d1ca80
dumb mistake 2020-09-01 14:25:56 -04:00
Austin Huang
8cf98c2c0c
accommodate bad text sizes 2020-09-01 14:20:21 -04: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
Austin Huang
a6c912c5d5
post location optimizations 2020-08-30 10:06:15 -04:00
Ammar Githam
649115a665 Add Location fragment 2020-08-30 21:51:47 +09:00
Ammar Githam
5c273d18a4 Add HashTag fragment 2020-08-30 20:45:37 +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
c3d92b8fc0
implement swipe-up sticker + refresh inbox list after sending message 2020-08-29 16:42:08 -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
0b183c5ab5 Rename main activity to MainActivity 2020-08-22 16:34:52 +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
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
Ammar Githam
066a453aa8 move dm related Activities to their own package 2020-08-16 06:33:59 +09:00