Commit Graph

282 Commits

Author SHA1 Message Date
Ammar Githam 93f7a58e54 Un-comment lines which were commented for debug 2020-08-25 05:02:18 +09:00
Ammar Githam 0608882127 Re-fix play/stop autoplaying videos when navigating away 2020-08-25 00:38:27 +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 ae058813e0
stop notification toast 2020-08-22 17:09:36 -04: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
Ammar Githam edd95f6944 Rename InstaApp to InstaGrabberApplication 2020-08-22 16:34:52 +09:00
Ammar Githam 972c3f371c Remove null check for player 2020-08-22 16:27:47 +09:00
Ammar Githam f6a224ec01 use .equals() for String 2020-08-22 16:22:53 +09:00
Ammar Githam 0fc2fe2faf Stop notification checker when app in background 2020-08-22 15:45:54 +09: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 88ad77d94c
java string bad 2020-08-21 21:27:38 -04:00
Austin Huang 0ac4030b5f
fix updater, me dumb 2020-08-21 21:12:26 -04:00
Austin Huang 37cfba3666
f-droid trial, fix #61, polish #65, fix invisible icon issue 2020-08-21 20:38:51 -04:00
Austin Huang c57fbd9d8e
Merge pull request #65 from ammargitham/task/separate-dm-type-views
Task/separate dm type views
2020-08-21 19:44:07 -04:00
Ammar Githam cbf5795a22 Revert liked variable to equal only user like 2020-08-21 22:45:07 +09: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
Austin Huang 6e754acaba
fix #63 (not tested) plus direct download issue 2020-08-20 21:49:05 -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 4b8e8dd8a3
refactor story reply 2020-08-19 22:06:35 -04: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
Austin Huang e5c0b376f6
Merge pull request #57 from ammargitham/feature/share-photos-dm
Feature/share photos dm
2020-08-18 11:24:24 -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
Austin Huang 7f40fd83eb
login guard 2020-08-18 10:38:00 -04: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 31a5c437f1 enable debug for resource leak (when close is not called) 2020-08-18 22:20:00 +09:00
Austin Huang 43b04a5ee1
fix #56 2020-08-17 15:02:14 -04:00
Ammar Githam 1fe721010d Fix names of the gen. sources due to file renames 2020-08-17 23:06:51 +09:00
Ammar Githam 74f2b6f268 Merge branch 'master' into feature/share-photos-dm 2020-08-17 23:00:00 +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
Austin Huang dc55f9f263
consistency 2020-08-16 14:25:45 -04:00
Austin Huang b1b6ede675
fix #53, fix #54 (pending check), fix @RAMAR-RAR story seen, fix hashtag favourite 2020-08-16 13:42:11 -04:00
Ammar Githam 650062646d Allow sending image in dms
This commit streamlines the broadcast flow to handle both text and image messages in dms.
2020-08-16 18:21:09 +09:00
Ammar Githam 066a453aa8 move dm related Activities to their own package 2020-08-16 06:33:59 +09:00
Ammar Githam 68dbf59ef6 Add image upload icon to dms layout and handle click 2020-08-16 06:25:57 +09:00
Ammar Githam 8e4ae8fe09 null check 2020-08-16 06:14:57 +09:00
Ammar Githam a0402c8bf3 Use TextUtils.join as String.join requires API level 26 2020-08-16 06:14:11 +09:00
Ammar Githam 0023c56688 rename variables to camelCase 2020-08-16 06:08:25 +09:00
Ammar Githam 2a068c4feb remove view check as listener attached only to that view 2020-08-16 06:06:14 +09:00
Ammar Githam 1a57969abe simplify logic 2020-08-16 06:04:50 +09:00
Ammar Githam 86b9feda4a organize code for readability 2020-08-16 06:02:46 +09:00
Ammar Githam 4e00d02f17 reformat code 2020-08-16 06:00:30 +09:00
Ammar Githam 6c478d8626 move CommentAction to its own file 2020-08-16 05:59:16 +09:00
Ammar Githam 78955cd73f setup CommentAction to be moved to its own file 2020-08-16 05:53:29 +09:00
Ammar Githam 7baa8c2b49 Move default ProfileModel object creation to ProfileModel class 2020-08-16 05:38:46 +09:00
Ammar Githam fb51995c85 Rename DirectMesagesUserInbox to DirectMessageThread 2020-08-16 05:36:23 +09:00
Ammar Githam 0a8b7020b5 Simplify null and empty check 2020-08-16 05:33:04 +09:00
Austin Huang a0a423f27a
oops 2020-08-14 14:18:11 -04:00
Austin Huang 0f8d4c741a
finalization 2020-08-14 13:05:42 -04:00
Austin Huang 6f120fffd4
downloader fix 2020-08-14 12:48:13 -04:00
Austin Huang bb8f189784
they asked to change names and stuff 2020-08-13 21:02:24 -04:00
Austin Huang ac8ccec703
fix shortcode null problem 2020-08-13 20:53:07 -04:00
Austin Huang 392b3f6510
separated profile view activity 2020-08-13 17:08:27 -04:00
Austin Huang e02ef0aa09
fix #49, #50 and the saved issue 2020-08-13 13:21:26 -04:00
Austin Huang 04d9adbaec
pt-br init, also discover 2020-08-12 14:38:07 -04:00
Austin Huang 280e5d44c0
v17.6 2020-08-11 15:01:00 -04:00
Austin Huang 7ddf356de9
layout finalization 2020-08-11 14:14:30 -04:00
Ammar Githam 31d02b3e12 Make Appbar in profile view scrollable 2020-08-11 20:44:51 +09:00
Ammar Githam c1b113e275 Add AMOLED dark theme 2020-08-10 16:33:19 +09:00
Austin Huang f10fe0840b
fix #39, url opener, and login; rmbr write changelog later 2020-08-08 17:43:27 -04:00
Austin Huang 8c9a9b39e7
layout adjustments 2020-08-07 17:02:31 -04:00
Austin Huang 6f0c9e98ad
Merge pull request #37 from ammargitham/bugfix/fix-stories-horizontal-scroll-issue
Fix horizontal drag on stories scrolls tabs instead of stories
2020-08-07 14:01:16 -04:00
Austin Huang 5d70469d97
Merge remote-tracking branch 'origin/master' 2020-08-07 12:42:24 -04:00
Austin Huang dbc1295be6
logout optimization 2020-08-07 12:42:14 -04:00
Ammar Githam 81baeb1b33 Fix horizontal drag on stories scrolls tabs instead of stories 2020-08-08 01:30:31 +09:00
Austin Huang 88ed4257c0
Merge branch 'master' into feature/scroll-stories-with-feed 2020-08-07 11:32:33 -04:00
Austin Huang 4e0f837ff3
various bug fixes 2020-08-07 11:31:25 -04:00
Ammar Githam 53e4c4807b extract profile view and feed view in separate layout files 2020-08-07 23:14:58 +09:00
Austin Huang d48bc32a15
v17.5 2020-08-06 22:26:23 -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 9850b19fcf
what 2020-08-05 16:02:02 -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 3fb404fa20
v17.2 2020-08-04 12:51:30 -04:00
Austin Huang 0f523a7eef
thanks @Galang23 2020-08-04 11:25:51 -04:00
Austin Huang 5baf2701b0
v17.2 2020-08-04 10:43:53 -04:00
Austin Huang 8421b498bb
not all videos have audios 2020-08-03 22:57:47 -04:00
Austin Huang eac0d9a5f7
story stickers and various bug fixes 2020-08-03 22:28:42 -04:00
Austin Huang 90daf3069c
foundation for signing capabilities 2020-08-02 10:41:59 -04:00
Austin Huang f84d829732
oh no i have done it again 2020-08-01 21:31:32 -04:00
Austin Huang 807777d261
thanks camilla! 2020-08-01 20:57:45 -04:00
Austin Huang 582b651d79
auto-cookie-detection 2020-08-01 12:41:00 -04:00
Austin Huang 9713bb2faa
allow anonymous to see tagged posts 2020-07-31 17:57:44 -04:00
Austin Huang 6adf53701c
bla 2020-07-31 17:46:25 -04:00
Austin Huang 4fed608ffc
custom folder + username folder 2020-07-31 17:34:44 -04:00
Austin Huang 69a7d67734
small fix 2020-07-31 17:29:03 -04:00
Austin Huang 8726a924a0
notification viewer + hd avatar 2020-07-31 15:53:32 -04:00
Austin Huang ca8e2d58de
check files in username folders 2020-07-31 12:33:38 -04:00
Austin Huang 69b0fb162a
saved viewer 2020-07-31 11:53:30 -04:00
Austin Huang 71402cd164
answering polls in stories 2020-07-30 18:19:44 -04:00
Austin Huang e1c07c23a7
various updates 2020-07-30 11:52:41 -04:00
Austin Huang 9c0eddeff2
db migration debug 2020-07-28 21:00:26 -04:00
Austin Huang e141b17701
something something file path 2020-07-28 16:06:34 -04:00
Austin Huang 05f332bc07
ok 2020-07-28 15:48:17 -04:00
Austin Huang 73795dac08
geotag time part 2 2020-07-28 15:30:57 -04:00
Austin Huang e71faf3f20
geotag time 2020-07-27 15:48:26 -04:00
Austin Huang 2f30eec0a3
v16.9 part whatever 2020-07-27 11:29:13 -04:00
Austin Huang 1585cabba5
zucc no 2020-07-26 21:14:02 -04:00
Austin Huang 7af96bf591
v16.9 part 1 2020-07-26 18:23:24 -04:00
Austin Huang da8cd6bc9e
v16.8 2020-07-25 19:12:13 -04:00
Austin Huang 1827ed85ee
v16.8 2020-07-25 17:10:26 -04:00
Austin Huang 546dea6dfd
L10n master (#8) 2020-07-24 19:52:51 -04:00
Austin Huang 6ea6a4b951
fix natgeotravel 2020-07-24 15:37:00 -04:00
Austin Huang 7fad022c15
oopsies 2020-07-24 15:06:15 -04:00
Austin Huang 394ffe19b7
v16.7 2020-07-24 14:33:10 -04:00
Austin Huang 5ddeb38eca
this is a bruh moment 2020-07-23 13:21:51 -04:00
Austin Huang 06d2614680
v16.6: yes 2020-07-23 12:00:09 -04:00
Austin Huang 8cdef01fc3
v16.6-a9: fix mismatch avatar 2020-07-22 09:31:14 -04:00
Austin Huang eb387d9c81
v16.6-a8: INFINITE STORY SCROLL 2020-07-21 19:54:42 -04:00
Austin Huang be45f52f7e
oops 2020-07-20 12:12:38 -04:00
Austin Huang 28afeab0ea
v16.6-a7 2020-07-20 11:56:44 -04:00
Austin Huang f7e5914df8
v16.6-a6 this time the proper version 2020-07-14 20:35:41 -04:00
Austin Huang fb2ba29b4a
maybe simpler is better 2020-07-06 14:52:47 -04:00
Austin Huang 0164516343
fix avatar persistence 2020-07-06 14:36:21 -04:00
Austin Huang 5952bf4b60
why does java mandates catching exception bruh 2020-07-06 14:23:31 -04:00
Austin Huang ac770877ee
v16.6-a6 fix bug related to "Gone" thumbnail 2020-07-06 14:16:19 -04:00
Austin Huang 854c03e79c
v16.6-a5 enhance mention handling in end 2020-07-05 23:36:43 -04:00
Austin Huang e705131dea
v16.6-a5 fix issue reported by @SaurabhBhaiyaji 2020-07-05 23:21:46 -04:00
Austin Huang 07dd0e12a1
v16.6-a4 2020-07-02 20:27:54 -04:00
Austin Huang f85d438066
v16.6-a3: Invite/kick actions now visible, preparations on message actions 2020-07-01 23:20:54 -04:00
Austin Huang 42a945574a
v16.6-a2: Expired stories now covered 2020-07-01 16:20:10 -04:00
Austin Huang 9d49b937e4
Type story_share is now covered 2020-07-01 16:00:26 -04:00
Austin Huang 19763f3edd
v16.6-a1 2020-07-01 13:58:58 -04:00
Austin Huang 13beabf741
init 2020-07-01 13:08:28 -04:00