Commit Graph

738 Commits

Author SHA1 Message Date
Alex Ning
9ee22c3098 Fix themeing problems for recently-added features. 2020-07-05 11:34:05 +08:00
Alex Ning
90f741e9e1 Add more themeing options for links, private messages, etc. Restructure class files. 2020-07-03 21:48:35 +08:00
Alex Ning
4f8b313b3c Fully collapsing comments is now available (barebone). 2020-07-03 10:27:24 +08:00
Alex Ning
9a4edde8fb Add an option to change time format. Properly show message time in ViewPrivateMessagesActivity. 2020-07-02 18:59:53 +08:00
Alex Ning
3a72c5a1f8 Open message tab in InboxActivity when opening a message notification. 2020-07-02 13:12:36 +08:00
Alex Ning
1958ad77e3 Maintain RecyclerView position when showing and hiding the keyboard in ViewPrivateMessagesActivity. 2020-07-02 11:13:10 +08:00
Alex Ning
2fbc4d02c8 Changing ost layout in AccountSavedThingActivity is available. 2020-07-02 09:52:19 +08:00
Alex Ning
eff385ccd6 Read all the replies when replying a message. Update the replied message in InboxFragment. 2020-07-01 21:48:39 +08:00
Alex Ning
707316c7ad Replying to messages is now available. Remove CollapsingToolbarLayout in ViewPrivateMessagesActivity. Scroll to bottom when entering ViewPrivateMessagesActivity. 2020-07-01 13:38:25 +08:00
Alex Ning
a00f7ced6c Add an EditText and a send button in ViewPrivateMessagesActivity. Rewrite the code of fetchUserAvatar in ViewPrivateMessagesActivity. 2020-07-01 11:53:18 +08:00
Alex Ning
bde545b75f Implemente a chat UI for private messages. 2020-06-30 13:33:05 +08:00
Alex Ning
a888ae8435 Show all the messages in ViewPrivateMessagesActivity. 2020-06-29 16:42:43 +08:00
Alex Ning
04f16d5664 Add ViewPrivateMessagesActivity. Rename getSharedPreferences to getDefaultSharedPreferences in BaseActivity. 2020-06-29 13:15:23 +08:00
Alex Ning
d1fc84f9d0 Test WorkManager. Still implementing PM. 2020-06-29 12:00:06 +08:00
Alex Ning
3c482c63ec Add another tab for PM in ViewMessageActivity. 2020-06-27 14:00:24 +08:00
Hermes Junior
7bb9d14f1d Hide actionbar on imgur images too. 2020-06-23 16:37:53 +02:00
Alex Ning
5daa0de82d Prepare to support PM. 2020-06-23 16:32:40 +08:00
Alex Ning
421315f0c6 Fix flair cannot be applied when submitting posts. Fix crash in FollowedUsersRecyclerViewAdapter. 2020-06-23 11:36:17 +08:00
Docile-Alligator
405cac91e8
Merge pull request #140 from OHermesJunior/eventbus-index
Enable EventBus Index, avoids reflection, and better performance.
2020-06-22 23:41:20 +08:00
Hermes Junior
3a88cacdde Improve removed thing not found detection. 2020-06-21 17:39:41 +02:00
Hermes Junior
0fc513cb9d Probably fix blurred images this time. 2020-06-20 21:53:26 +02:00
Alex Ning
b782a90bf3 Try another possible solution for blurry image problem. 2020-06-20 23:14:15 +08:00
Alex Ning
354529ca88 Add 2 options for notification interval: 15 minutes and 30 minutes. 2020-06-20 22:20:01 +08:00
Alex Ning
dce5777fbb Add an option to automatically try loading removed gfycat videos on Redgifs. 2020-06-20 22:02:18 +08:00
Alex Ning
9f16b6c25a Add an option: Mute Autoplaying Videos. 2020-06-20 14:02:33 +08:00
Docile-Alligator
02af3edd09
Merge pull request #133 from OHermesJunior/fix-slide
Fix swipe on two missed activities.
2020-06-20 12:24:58 +08:00
Docile-Alligator
f3862e1c8a
Merge pull request #132 from OHermesJunior/divider-drawer
Add preferences label and divider in nav drawer.
2020-06-20 12:23:51 +08:00
Docile-Alligator
88dea552dd
Merge pull request #136 from OHermesJunior/version-about
Add version info to about section.
2020-06-20 12:22:32 +08:00
Docile-Alligator
508f881171
Merge pull request #135 from OHermesJunior/fix-dark-icon
Fix "See Removed" icon dark on dark mode.
2020-06-20 12:20:12 +08:00
Docile-Alligator
8871eeaca8
Merge pull request #131 from OHermesJunior/sort-icons
Add icons to sort bottom sheets.
2020-06-20 12:18:02 +08:00
Hermes Junior
8cec7aff11 Add version info to about section. 2020-06-20 00:51:13 +02:00
Hermes Junior
0d07e86358 Fix "See Removed" icon dark on dark mode. 2020-06-18 18:39:21 +02:00
Hermes Junior
d493a0a386 Exclude transitive dependency from Google GMS. 2020-06-18 17:45:07 +02:00
Hermes Junior
dc39cb72af Enable EventBus Index, avoids reflection, and better performance. 2020-06-18 11:58:34 +02:00
Hermes Junior
cad9912eda Fix swipe on two missed activities. 2020-06-17 22:34:47 +02:00
Hermes Junior
09538f4600 Add preferences label and divider in nav drawer. 2020-06-17 19:23:13 +02:00
Hermes Junior
a70a00e6e9 Add icons to sort bottom sheets. 2020-06-17 18:14:36 +02:00
Alex Ning
b5fec7dac7 Fix themeing issues in ViewImageOrGifActivity and ViewImgurMediaActivity. 2020-06-17 22:36:22 +08:00
Hermes Junior
be9f0c1fd1 Allow sliding back on all activities. 2020-06-17 16:11:18 +02:00
Alex Ning
0df0482d45 Add some padding between markdown paragraghs. Delete Caveat font. 2020-06-17 19:23:44 +08:00
Alex Ning
513d926770 Probably fix duplicate posts problem. 2020-06-17 17:49:56 +08:00
Docile-Alligator
dc550f1e18
Merge pull request #120 from OHermesJunior/see-removed
Feature: See removed posts and comments
2020-06-17 12:32:58 +08:00
Alex Ning
ab14405b77 Fix text color in SetAsWallpaperBottomSheet. 2020-06-17 11:59:09 +08:00
Alex Ning
72f176201e Add FontPreviewFragment. Add some fonts and delete some. 2020-06-17 09:38:36 +08:00
Hermes Junior
46a8b0d276 Implement "see removed" for other types of posts. Improve removed thing detection. 2020-06-16 19:29:17 +02:00
Hermes Junior
e0020e3cf2 Fix crash for non selftext posts. 2020-06-16 19:29:17 +02:00
Hermes Junior
1b972aca2e Implement option to see removed post. 2020-06-16 19:29:14 +02:00
Hermes Junior
99418267c4 Refactor menu setup. 2020-06-16 19:29:07 +02:00
Hermes Junior
4a1bed82d7 Implement option to see removed comment. 2020-06-16 19:29:05 +02:00
Alex Ning
66f4db6b40 Set wallpaper in an AsyncTask. 2020-06-16 17:12:20 +08:00
Docile-Alligator
62879f8dc2
Merge branch 'master' into refactor-view-image 2020-06-16 15:26:51 +08:00
Alex Ning
88a2119586 Resolve conflicts: Some refactors on media activities. 2020-06-16 15:17:00 +08:00
Docile-Alligator
268ea4f9d8
Merge pull request #123 from OHermesJunior/media-exit-anim
Make exit animation follow slide direction on media activities.
2020-06-16 12:27:54 +08:00
Docile-Alligator
ecd8988342
Merge pull request #124 from OHermesJunior/remove-sidebar
Remove sidebar activity
2020-06-16 12:27:21 +08:00
Hermes Junior
49c2c7a746 Fix branch rebase. 2020-06-15 23:47:51 +02:00
Hermes Junior
0d818c02e9 Refactor wallpaper setting feature, extracting to it's own class. 2020-06-15 23:31:11 +02:00
Hermes Junior
a0d6c220c5 Refactor media download feature extracting to dedicated class. 2020-06-15 23:29:13 +02:00
Hermes Junior
d428baaa7b Refactor ViewImage and ViewGif activities. Allow zooming in gifs. 2020-06-15 23:29:03 +02:00
Hermes Junior
34b6ec90aa Remove SidebarActivity, use sidebar page in SubredditDetailActivity. 2020-06-15 17:21:59 +02:00
Alex Ning
b57d381e94 Maybe fix java.lang.RuntimeException: Canvas: trying to draw too large bitmap. Fix many bugs. 2020-06-15 22:05:33 +08:00
Hermes Junior
87d4e8d85f Make exit animation follow slide direction on media activities. 2020-06-15 15:24:15 +02:00
Alex Ning
e8e85b9631 Set image as wallpaper. 2020-06-15 14:48:16 +08:00
Alex Ning
4d753fc562 Add a rounded background to thumbnail in compact layout. Fix subreddits and users not clickable in sidebar. 2020-06-14 15:19:56 +08:00
Alex Ning
8ed7f54d46 Add an option to move thumbnail in compact layout to the left. 2020-06-13 22:11:57 +08:00
Alex Ning
ee048b25dd Fix bugs related to favoriting multireddits. Add some fonts. 2020-06-12 22:05:12 +08:00
Docile-Alligator
6921d720d2
Merge pull request #119 from OHermesJunior/login-no-webview
Fail gracefully when there is no webview installed.
2020-06-12 16:41:49 +08:00
Alex Ning
4b3bbf8e7e Fix force stop when long pressing the toolbar in MainActivity in anonymous mode. 2020-06-11 11:29:07 +08:00
Alex Ning
2277c97cc0 Add more fonts. 2020-06-10 21:08:13 +08:00
Alex Ning
54a9f241d4 Changing font is available. Fix subtitle on toolbar being cut if the font is large. 2020-06-10 15:43:34 +08:00
Alex Ning
4cd07e3bb6 Prepare to add different font support. 2020-06-10 12:22:19 +08:00
Hermes Junior
3cd7cbd6d8 Fail gracefully when there is no webview installed. 2020-06-09 13:41:03 +02:00
Alex Ning
9a47a3d9d2 Version 3.2.0. 2020-06-08 21:18:18 +08:00
Alex Ning
0dbb6a745f Move all bottom sheet fragments to package BottomSheetFragment. Add a UrlMenuBottomSheetFragment for future use. 2020-06-08 21:11:01 +08:00
Alex Ning
b8e4ce6e1d Set toolbar secondary text color. Fix flairs don't show in some posts. 2020-06-08 16:36:31 +08:00
Alex Ning
dd8619e783 Add a tab for multireddit list in SubscribedThingActivity. Remove Multireddit button in bottom navigation bar in ViewSubredditDetailActivity and add a go back to main page button. 2020-06-08 15:10:59 +08:00
Alex Ning
4c762f4bd9 Let MediaScannerConnection to scan the downloaded Reddit videos after downloading to make the video shows up in WhatsApp. 2020-06-08 11:50:34 +08:00
Alex Ning
580f9d2459 Add more notifications for downloading Reddit videos. Open the downloaded Reddit video when clicking the notification after downloading finishes. Put all work in an AsyncTask. 2020-06-07 17:14:05 +08:00
Hermes Junior
36b38135b9 Make downloaded video visible for galleries and simplify the code. 2020-06-06 22:51:48 +02:00
Alex Ning
98bbd0ff68 Show different notifications when downloading Reddit videos. 2020-06-06 23:23:19 +08:00
Alex Ning
22576dc003 Downloading Reddit videos with sound is now available. For Android Q and above, the downloaded videos are stored in Movies/Infinity. 2020-06-06 21:33:03 +08:00
Alex Ning
ff5691aecb Fix some issues related to showing sort type on toolbars. 2020-06-05 23:28:04 +08:00
Alex Ning
e9ffe5a13c Copying post title, post content and comment content is now available in CommentActivity. 2020-06-05 22:26:36 +08:00
Alex Ning
179c16d596 Use outline icon for multireddit. Fix black report icon in dark theme. Add a colon between sort type and sort time in toolbar. 2020-06-05 21:08:15 +08:00
Alex Ning
2cd86c7ffa Show sort type in toolbar. 2020-06-05 20:52:53 +08:00
Alex Ning
8311507acd Long press the toolbar to go to top. 2020-06-05 14:19:38 +08:00
Alex Ning
a9d2108c00 Update acknowledgement info. 2020-06-04 23:02:05 +08:00
Alex Ning
164560d068 Fix flairs don't show in post list. 2020-06-04 22:43:57 +08:00
Alex Ning
c37cc1bed3 Add an option to disable autoplaying nsfw videos. Support imgur gifv videos. 2020-06-04 22:33:24 +08:00
Alex Ning
e5d9f93e96 Swipe up or down to finish ViewImgurMediaActivity. Using Hauler to do swipe up or down to finish ViewImageActivity, ViewGIFActivity and ViewVideoActivity. Fixed gifs downloaded as jpg. 2020-06-04 20:06:01 +08:00
Alex Ning
ca957e8904 Support REdgifs and Gfycat videos in post lists and links. 2020-06-04 16:43:46 +08:00
Alex Ning
d9de2938b4 Viewing imgur albums and images is now available. 2020-06-04 10:30:49 +08:00
Alex Ning
4927f82786 Remove ViewImgurGifFragment. 2020-06-04 10:05:57 +08:00
Alex Ning
bb42cb713d Downloading videos and images is now available. 2020-06-04 00:28:05 +08:00
Alex Ning
470a59e104 Show a progress bar in ViewVideoActivity if it is a gfycat video and in ViewImgurMediaActivity. 2020-06-03 21:58:45 +08:00
Alex Ning
13d64eda14 Support viewing imgur albums in-app. 2020-06-03 19:02:46 +08:00
Alex Ning
066956971a Support viewing gfycat videos in app. 2020-05-28 22:16:07 +08:00
TacoTheDank
6126df39a5
Merge branch 'master' into master 2020-05-19 16:39:37 -04:00
Alex Ning
07710908ba Fix wrong tab type default value in MainActivity. 2020-05-14 10:41:59 +08:00
Alex Ning
2204b72484 Fix string value for popular. 2020-05-14 10:27:35 +08:00
Alex Ning
967e6ec261 Disable proguard because app force stop. 2020-05-14 00:36:45 +08:00
Alex Ning
24d0ac4a40 Version 3.1.0. 2020-05-13 23:09:22 +08:00
Alex Ning
cf4395ed5c Customize tabs in main page for logged-in users. 2020-05-13 12:51:44 +08:00
Alex Ning
8533a2bcca Disable video autoply in lazy mode. 2020-05-12 20:22:29 +08:00
Alex Ning
9490c37a09 Resume video position when viewing it in fullscreen. 2020-05-12 17:42:38 +08:00
Docile-Alligator
381438aa81
Merge pull request #97 from OHermesJunior/feature-swap-tap-and-long-click
Tapping to hide a comment's children is now available as an option.
2020-05-12 10:04:31 +08:00
Docile-Alligator
588043ae25
Merge pull request #95 from OHermesJunior/handle-as-default-app
Handle as default app. And some improvements to LinkResolver.
2020-05-12 09:57:24 +08:00
Docile-Alligator
b1bd270842
Merge pull request #93 from OHermesJunior/minify-release-apk
Enable minify, reduce release apk size.
2020-05-12 09:54:21 +08:00
OHermesJunior
8ddae61649 More little improvements for regex. 2020-05-12 00:46:42 +02:00
Hermes Junior
ccecc2b511 Handle alternative multireddit URL. 2020-05-12 00:27:53 +02:00
Hermes Junior
3c32daaca2 Add swap tap and long click option. 2020-05-11 21:26:55 +02:00
Hermes Junior
adf8fa4e6a Improve some regex of link resolver. 2020-05-11 03:39:35 +02:00
Hermes Junior
a2dc0b1c0d Handle other comment links. 2020-05-11 03:25:50 +02:00
Hermes Junior
b31c96b2d9 Handle Reddit home links. 2020-05-11 01:17:14 +02:00
Hermes Junior
f27f7c12a8 Handle Reddit app links. 2020-05-11 01:16:31 +02:00
Hermes Junior
80f74fc9c2 Enable minify, reduce release apk size. 2020-05-08 16:03:11 +02:00
Hermes Junior
6ea0e9e3e6 Fix image view with low resolution. 2020-05-08 02:46:17 +02:00
Alex Ning
c705292bf8 Stop autoplay when wifi is lost in ViewPostDetailActivity if video autoplay is set to wifi only. 2020-05-07 14:10:41 +08:00
Alex Ning
e439b84095 Video autoplay in ViewPostDetailActivity. Optimize CommentAndPostRecyclerViewAdapter. 2020-05-07 14:05:33 +08:00
TacoTheDank
fc284a3dc0
Merge branch 'master' into master 2020-05-05 15:04:19 -04:00
Alex Ning
eefc8e869d Optimize CommentAndPostRecyclerViewAdapter. 2020-05-05 15:59:59 +08:00
Alex Ning
893c8a2076 Reporting comments is now available. 2020-05-05 14:30:46 +08:00
Alex Ning
d444a3a084 Reporting posts is now available. 2020-05-05 13:48:42 +08:00
Alex Ning
9d451d65dd Prepare to add report feature. 2020-05-03 16:47:33 +08:00
Alex Ning
45cdc6d3a6 Show cakeday of users and subreddits, user description and post and comment karma. 2020-05-03 09:16:07 +08:00
Alex Ning
93af286d55 Sharing user and subreddit is now available. 2020-05-02 22:26:45 +08:00
Alex Ning
ae98fd8a08 Fix JSON parsing error when parsing user data. 2020-05-02 08:34:56 +08:00
Alex Ning
360051a302 Fix the color of award cannot be changed. Prepare to show user comment karma, description, cakeday and subreddit creation day. 2020-05-02 08:22:13 +08:00
Alex Ning
911901cf75 Beautify player control view for video autoplay. 2020-05-01 22:07:13 +08:00
Alex Ning
a88f43ff38 Fix muting audio after video play ends. 2020-05-01 19:22:18 +08:00
Alex Ning
25328e5d18 Muting and unmuting audio when autoplaying are available. 2020-05-01 10:50:40 +08:00
Alex Ning
c52cf467ac Probably fix duplicate posts issues. Move classes related to Post to Package Post. 2020-04-30 21:33:51 +08:00
Alex Ning
ac10441d54 Add a BroadcastReceiver to receive network status change and enable or disable video autoplay. 2020-04-30 17:33:52 +08:00
Alex Ning
4678caa92b Add an option for video autoplay. Rewrite some viewholders in PostRecyclerViewAdapter. 2020-04-30 15:29:56 +08:00
Alex Ning
5c05350119 Move onClickListeners to ViewHolders in PostRecyclerViewAdapter. Pause video after fragment pause. 2020-04-30 11:24:34 +08:00
Alex Ning
033c8bd241 Buggy video and Gif autoplay. 2020-04-29 18:13:28 +08:00
TacoTheDank
bac83aa1c7 Rearrange dependencies and update some 2020-04-22 12:09:10 -04:00
TacoTheDank
ae2ab83718 Delete unneeded files 2020-04-21 23:49:06 -04:00
Alex Ning
0f8395221d Show 1 Award instead of 1 Awards. Version 3.0.3. 2020-04-19 13:16:23 +08:00
Alex Ning
499f507f88 Add an option to ignore navigation bar height. 2020-04-19 13:03:33 +08:00
Alex Ning
2d60b732a9 Add awards background and text color to custom theme. Show only the number of awards on Post Compact Layout. 2020-04-18 22:14:17 +08:00
Alex Ning
2f72e654eb Show the number of awards in PostRecyclerView instead. 2020-04-18 14:00:37 +08:00
Alex Ning
bde2220d91 Remove unused attributes. Fix loading images using GlideImageGetter after the activity is destroyed. 2020-04-18 11:34:43 +08:00
Alex Ning
372acf4cf4 Fix white theme issues. Remove CollapsingToolbarLayout in some activities. 2020-04-17 18:08:30 +08:00
Alex Ning
ea779ff74b Minor bugs fixed. 2020-04-17 17:34:04 +08:00
Alex Ning
58efcce3a0 Show author flair for posts. 2020-04-16 22:22:29 +08:00
Alex Ning
504b005cf7 Show awards for comments. 2020-04-16 21:50:25 +08:00
Alex Ning
f0125edd23 Show author flair (not richtext) for comments. 2020-04-16 20:04:32 +08:00
Alex Ning
9cbe542c85 Show all post awards. 2020-04-16 16:10:07 +08:00
Docile-Alligator
4260c6c14e
Merge pull request #82 from samperlmutter/master
Now shows post title when viewing image, gif, or video
2020-04-16 09:25:14 +08:00
Alex Ning
784d57933d Add fast scroller for MultiRedditListingActivity and FollowedUsersListingFragment. 2020-04-15 22:35:24 +08:00