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
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
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
7c44dad05d
fix favourites overwrite
2020-12-23 09:06:53 -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
9ca9cca33d
restore dm indicator, release prep, partially address #431
2020-12-22 13:42:26 -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
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
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
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
d7661f7cf6
Remove auto play videos setting for now. Closes https://github.com/austinhuang0131/barinsta/issues/361
2020-12-01 19:39:47 +09:00
Austin Huang
b2e784deb8
close #306 and close #310
2020-11-30 12:29:41 -05: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
d1a9393249
FeedModel null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/293
2020-11-19 19:00:14 +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
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
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
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
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
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
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
4826434cca
add post date, fix detail hiding, and semver
2020-11-07 11:55:44 -05:00
Ammar Githam
e530a336a7
Scroll feed to top when bottom feed tab clicked
2020-11-07 20:26:20 +09:00
Ammar Githam
25b2b504cb
save resource entry names in preferences instead of ids
2020-11-07 16:27:49 +09:00
Austin Huang
890fd529e6
update attributions
2020-11-06 19:05:15 -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
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
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
bf9dcacd40
add #122 point 2
2020-11-04 13:02:23 -05: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
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
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
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
a0f608442a
Merge branch 'master' into pr/245
2020-10-24 12:31:14 -04:00
Austin Huang
960ac3e180
close #191 , close #222
2020-10-24 12:21:54 -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
03f52d5058
highlight fix, also better verified badge
2020-09-26 21:33:41 -04:00
Austin Huang
6393bbc02b
fix id-load logic & location suggestions
2020-09-26 21:02:31 -04:00
Austin Huang
e54a5965e9
removing iStoryStatusFetcher
2020-09-26 15:25:59 -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
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
Austin Huang
6bd0b811b1
restore location & hashtag stories
2020-09-25 20:15:46 -04:00
Austin Huang
96a25f0d35
removal of third-party story readers
2020-09-25 13:44:21 -04:00
Austin Huang
2f0e81d86f
Merge pull request #170 from ammargitham/task/add-favourites
...
add favorites and bugfixes
2020-09-25 13:13:34 -04:00
Austin Huang
aaf87a0ded
Update ProfileFragment.java
2020-09-24 21:50:04 -04:00
Austin Huang
ab37c2d72b
dm button on profile?! (quick & dirty warning)
2020-09-22 23:15:57 -04:00
Austin Huang
6425fc3975
byebye storiesig
2020-09-20 22:36:23 -04:00
Ammar Githam
80b0cfa87f
Merge remote-tracking branch 'origin/task/add-favourites' into task/add-favourites
2020-09-21 03:53:27 +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
Austin Huang
63d30a9c2e
no more midnight coding
2020-09-19 23:34:09 -04:00
Austin Huang
6aead8ff2b
add material design icons attribution
2020-09-19 23:25:16 -04:00
Austin Huang
f9f3d4620b
Merge branch 'master' into pr/170
2020-09-19 22:54:52 -04:00
Ammar Githam
837c6ba8ad
Updated some icons and category in MorePreferencesFragment
2020-09-19 19:28:22 +09:00
Ammar Githam
46014928df
Quick workaround for leftover refreshing status
2020-09-19 17:08:24 +09:00
Ammar Githam
07bb2f47f1
Fix posts duplication on profile follow/unfollow
2020-09-19 17:06:00 +09:00
Ammar Githam
3bf4aa86d0
Fix weird layout when keyboard is open and indexoutofbounds when fetching profile details
2020-09-19 16:54:37 +09:00
Ammar Githam
cf974a74f3
Add favorites, also fixes the hashtag follow, and some theming
2020-09-19 04:18:14 +09:00
Anderson Mesquita
68033cd0ec
Save "Swap time and date positions" checkbox state
...
Currently, if the user checks the option "Swap time and date positions",
leaves the settings modal and returns to it, the option will be
unchecked, even though the date and time are, indeed, swapped.
This saves the value of the "Swap time and date positions" option so
that it will match whatever state the user selected last.
Fixes : #165
2020-09-18 11:46:46 -04: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
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
ee7f0a5c95
Remove unused layouts and rename StoryViewerFragment layout
2020-09-12 17:22:11 +09:00
Austin Huang
84caa633a3
oeuf
2020-09-11 20:53:24 -04:00
Austin Huang
aa6dab07cb
attempt to add a third-party storyviewer, plus logout without removing accounts
2020-09-11 20:46:20 -04:00
Ammar Githam
e560fd364b
Migrate from Glide to Fresco
2020-09-12 01:44:34 +09:00
Ammar Githam
08134ef5f1
Add activity checker service
2020-09-12 00:51:00 +09:00
Ammar Githam
60d9e64a57
Rename services package to webservices to avoid confusion with native Android services
2020-09-11 23:10:27 +09:00
Ammar Githam
37912854d0
Add activity/notification view fragment
2020-09-11 22:27:09 +09:00
Austin Huang
73a9e627d9
more crash resolution and home decor
2020-09-10 15:57:07 -04:00
Austin Huang
c9bd85cbf3
new about fragment
2020-09-10 15:29:02 -04:00
Ammar Githam
8049ddec45
Add about dialog back
2020-09-10 20:59:57 +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
Austin Huang
3e7097ff6d
restoration of DM mark-as-seen setting
2020-09-08 16:04:09 -04:00
Ammar Githam
8b2ac8de3b
Merge remote-tracking branch 'origin/task/update-feed-view' into task/update-feed-view
2020-09-09 00:55:39 +09:00
Austin Huang
26b4d9d650
Merge branch 'master' into task/update-feed-view
2020-09-08 11:43:08 -04:00
Ammar Githam
3de2f4ea99
Fix auto play videos setting not correctly set
2020-09-09 00:38:49 +09:00
Ammar Githam
d4a28d6aa1
Handle null context! Need to add this check in all async listeners.
2020-09-09 00:38:20 +09:00
Ammar Githam
61851f2ef7
Fix long click in feed view and url click in profile view
2020-09-09 00:37:40 +09:00
Austin Huang
f1902e82e6
sorta fix #127
2020-09-08 11:32:31 -04:00
Ammar Githam
84ff0a23e1
Fix opening profile from dm settings view, removed various warnings
2020-09-08 21:27:04 +09:00
Ammar Githam
4fb1260074
Check logged in onCreate of ProfileFragment
2020-09-08 21:26:08 +09:00
Ammar Githam
c073cfc9be
Fix logged in check in SettingsPreferencesFragment
2020-09-08 21:25:19 +09:00
Ammar Githam
e1a13c7eee
Fix profile, location view when logged out
2020-09-08 20:27:13 +09:00