Commit Graph

109 Commits

Author SHA1 Message Date
Ammar Githam 51138f9db0 Separate out individual DM message types to their respective views 2020-08-20 22:05:23 +09: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