Commit Graph

555 Commits

Author SHA1 Message Date
Alex Ning
11e1591fd4 Separate sort types for different users. Add an advanced option: Delete All Legacy Settings. Remove random sort type. 2020-08-18 15:33:41 +08:00
Alex Ning
fac3b83bae Use a hack to make spoiler text hidden at first. Click the spoiler area to reveal the spoiler text. 2020-08-13 00:28:50 +08:00
Alex Ning
a8dd4b351b Pause autoplaying video in ViewPostDetailActivity in onPause(). 2020-08-11 14:49:40 +08:00
Alex Ning
b1b2b1aa71 Set ViewImageOrGifActivity's background to transparent. 2020-08-11 14:21:39 +08:00
Alex Ning
e487f27461 Enlarge clicking area for buttons in comments. Add extra bottom padding for CustomToroContainer in ViewPostDetailActivity. 2020-08-10 12:08:19 +08:00
Alex Ning
e6803259b8 Fix a typo. 2020-08-09 10:58:39 +08:00
Alex Ning
4b4785171c Use DownloadVideoService to download videos. 2020-08-09 10:41:24 +08:00
Alex Ning
74a4206cd2 Version 4.0.3. Only save scrolled position for Best posts in HOME. Set Save Scrolled Position in HOME to false by default. Apply link color in CommentActivity. 2020-08-04 23:53:57 +08:00
Alex Ning
60ee299822 Enable quick scale in ViewImageOrGifActivity and ViewRedditGalleryImageOrGifFragment. 2020-07-31 17:44:43 +08:00
Alex Ning
80b4869c6a Only save post feed scrolled position for front page. 2020-07-31 17:20:54 +08:00
Alex Ning
109b4be8c3 Add an option to delete all the post feed scrolled positions. 2020-07-31 00:04:57 +08:00
Alex Ning
61d3302a30 Use SharedPreferences to store post feed scrolled position instead of QNCache. Add an option to save the scrolled position. 2020-07-30 23:12:34 +08:00
Alex Ning
2c03eb8d15 Version 4.0.1. Block users. Show report menu item even in anonymous mode. Remove Crashy. 2020-07-29 14:24:27 +08:00
Alex Ning
5a06e5bf88 Remove test notification. Rearrange Interface Settings. 2020-07-19 17:21:09 +08:00
Alex Ning
5f18f7df64 Delete webView.getSettings().setDomStorageEnabled(true); in LoginActivity to fix wrong password error. Show an info to guide users how to type in 2FA code. 2020-07-19 14:12:26 +08:00
Alex Ning
f37a46e2c2 Reorganize settings. 2020-07-19 13:16:14 +08:00
Alex Ning
685a39ba58 Fix UI issues in post and comment item. Fix Reddit gallery post cannot be opened in PostCompactLayout when clicking the imageview. 2020-07-18 21:56:39 +08:00
Alex Ning
39ae0d3aaf Fix parsing Reddit gallery posts error when they contain a gif. Fix progress bar not showing in item_post_detail_gallery. 2020-07-18 00:22:07 +08:00
Alex Ning
d06f66975e Add a boolean variable isSendingMessage to avoid sending multiple messages before the first message is sent in ViewPrivateMessageActivity. When the message is being sent, the send button will have a secondary text color. Use wrap_content for comment content in item_comment. 2020-07-17 16:13:55 +08:00
Alex Ning
fd175178a2 Use BigImageView in ViewRedditGalleryImageOrGifFragment. Fix subtitle not showing in FilteredThingActivity when browsing Reddit gallery posts. 2020-07-16 22:58:11 +08:00
Alex Ning
bae154da45 Fix link domain not showing in PostRecyclerViewAdapter. 2020-07-16 22:17:35 +08:00
Alex Ning
ca9c90711c Support viewing Reddit Gallery in app. Fix gif not autoplayable in CommentAndPostRecyclerViewAdapter. 2020-07-16 22:02:06 +08:00
Alex Ning
2d002b42d9 Fix ANR when uploading large video files. Fix uploading gif as image. 2020-07-16 17:42:07 +08:00
Alex Ning
7742a19abd Remove font: Bad Script. Add some bold fonts. 2020-07-15 21:40:26 +08:00
Alex Ning
2d69170f4f Add an option to ignore nav bar in ViewVideoActivity and ViewImgurVideoFragment. Use Hauler to do drag up or down to finish Activity in ViewVideoActivity and ViewImgurMediaActivity. 2020-07-15 11:51:29 +08:00
Alex Ning
a9ba807cf4 Fix gif too small in ViewImageOrGifActivity. Hide immersive interface entry if the device has Android version lower than 8.0. 2020-07-15 10:42:46 +08:00
Alex Ning
c97120528b Use SubsamplingScaleImageView in ViewImgurImageFragment. Probably fix gif too small in AspectRatioGifImageView. 2020-07-14 23:26:19 +08:00
Alex Ning
67cb832c46 Replace Hauler with Slidr to avoid weird behaviour in SubsamplingScaleImageView. 2020-07-14 22:45:21 +08:00
Alex Ning
19c2d0b979 Disable swipe right to go back in some Activities. Rename 'Swipe Right to Go Back From Comments' to 'Swipe Right to Go Back'. 2020-07-14 19:43:26 +08:00
Alex Ning
8320a7509c Add double tap to zoom in ViewImageOrGifActivity. Delete MultiRedditListingActivity. 2020-07-14 16:33:23 +08:00
Alex Ning
b1c6223233 Probably fix app crashes when loading large images in CommentAndPostRecyclerViewAdapter. 2020-07-13 23:54:15 +08:00
Alex Ning
cd108fbe55 Probably fix app crashes when loading large images in PostRecyclerViewAdapter. 2020-07-13 22:57:30 +08:00
Alex Ning
83eea69459 Only use SubsamplingScaleImageView to load images in ViewHolders for image in PostRecyclerViewAdapter and CommentAndPostRecyclerViewAdapter. 2020-07-13 00:24:25 +08:00
Alex Ning
d17408e2c9 Use SubsamplingScaleImageView and BigImageView to display images in ViewImageOrGifActivity and CommentAndPostRecyclerViewAdapter to avoid app crashing. Create another ViewModel, PostDetailGifAutoplayViewHolder in CommentAndPostRecyclerViewAdapter. 2020-07-11 22:54:29 +08:00
Docile-Alligator
bc8eea15ac
Merge pull request #152 from OHermesJunior/preferences-anim
Add settings screen animations.
2020-07-10 00:35:24 +08:00
Alex Ning
5020bf633f Fix username takes up too much space in comments. Add PostCompactRightLeftThumbnailViewHolder and PostCompactLeftThumbnailViewHolder in order to fix layout issues in ConstraintLayout v2.0.0-beta8. Rename 'Show Thumbnail on the Right in Compact Layout' to 'Show Thumbnail on the Left in Compact Layout'. 2020-07-09 22:29:22 +08:00
Hermes Junior
d03533b9b9 Add settings screen animations. 2020-07-09 13:38:15 +02:00
Alex Ning
70264ee632 Fix fab does not show in MultiReditListingFragment when first entering SubscribedThingListingActivity. 2020-07-09 12:27:21 +08:00
Alex Ning
4fb2e3cc20 Add updated Crashy. 2020-07-09 12:13:45 +08:00
Alex Ning
45f6ba5532 Add an option to mute nsfw videos. Show preview before autoplaying videos in CommentAndPostRecyclerViewAdapter. 2020-07-09 10:51:24 +08:00
Alex Ning
6f34d854ea Setting autoplay videos visible area offset is available. Remove Crashy because it will crash on some devices, such as Pixel Slate. 2020-07-08 22:19:08 +08:00
Alex Ning
318b11da01 View crash reports in Settings -> About -> Crash Reports. 2020-07-08 12:32:49 +08:00
Alex Ning
406d82ef52 Composing message is now available. 2020-07-08 11:34:27 +08:00
Alex Ning
40fd7bf40f Prepare to add composing private message feature. 2020-07-07 23:35:18 +08:00
Alex Ning
ba2a219168 Show a preview image before autoplaying video is loaded. 2020-07-06 22:14:58 +08:00
Alex Ning
3ef4b90a63 Set color of received and sent messages, and send message button. 2020-07-06 17:18:42 +08:00
Alex Ning
933e928faf Fixed some default colors. 2020-07-06 16:50:07 +08:00
Alex Ning
18e38f6527 Add two more comments in theme preview. 2020-07-06 15:40:29 +08:00
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
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
3c482c63ec Add another tab for PM in ViewMessageActivity. 2020-06-27 14:00:24 +08: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
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
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
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
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
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
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
1b972aca2e Implement option to see removed post. 2020-06-16 19:29:14 +02:00
Hermes Junior
4a1bed82d7 Implement option to see removed comment. 2020-06-16 19:29:05 +02: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
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
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
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
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
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
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
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
4927f82786 Remove ViewImgurGifFragment. 2020-06-04 10:05:57 +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
Alex Ning
2204b72484 Fix string value for popular. 2020-05-14 10:27:35 +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
Hermes Junior
3c32daaca2 Add swap tap and long click option. 2020-05-11 21:26:55 +02:00
Alex Ning
e439b84095 Video autoplay in ViewPostDetailActivity. Optimize CommentAndPostRecyclerViewAdapter. 2020-05-07 14:05:33 +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
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
25328e5d18 Muting and unmuting audio when autoplaying are available. 2020-05-01 10:50:40 +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
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
Alex Ning
cd4cf40236 Fix app crashes when selecting font size to small. Version 3.0.1. 2020-04-06 10:47:28 +08:00
Alex Ning
74c06151cd Fix font size issues. 2020-04-05 16:47:39 +08:00
Alex Ning
7a429f902d Long press a multireddit in the list to show some options. Fix some UI issues. 2020-04-05 16:21:47 +08:00
Alex Ning
28b9eb37da Add Calm Pastel theme. Fix an fab icon color issue. 2020-04-05 12:04:35 +08:00
Alex Ning
b92936b204 Add a Dracula theme. 2020-04-05 00:19:11 +08:00
Alex Ning
b54909dd15 Fix some issues in themeing. Add red themes. 2020-04-04 23:00:11 +08:00
Alex Ning
d6dd171ac4 Editing multireddits is now available. 2020-04-04 16:10:25 +08:00
Alex Ning
9690c5eeac Add an activity for theme preview. 2020-04-02 22:15:47 +08:00
Alex Ning
5f7ac4349f Add white themes. 2020-04-01 22:39:38 +08:00
Alex Ning
3feee882c6 Fix database migration issue. 2020-04-01 20:12:27 +08:00
Alex Ning
9bfae61ce7 Refine animation of hiding and showing comment toolbar. 2020-04-01 19:42:37 +08:00
Docile-Alligator
093fccc790
Merge pull request #73 from OHermesJunior/master
Add hidden comment toolbar feature.
2020-03-31 22:31:55 +08:00
Alex Ning
07bca6d635 Fix some issues of searching. 2020-03-30 14:54:55 +08:00
Alex Ning
84d4679aa9 Finished adding advanced preferences. 2020-03-29 16:28:50 +08:00
Hermes Junior
d0faebbab9 Add hidden comment toolbar feature. 2020-03-29 05:20:52 +02:00