Commit Graph

1342 Commits

Author SHA1 Message Date
Alex Ning
04624a1f13 Choose whether receiving post reply notifications or not in SubmitCrosspostActivity. 2021-07-14 22:43:13 +08:00
Alex Ning
a904282c33 Choose whether receiving post reply notifications or not in PostVideoActivity. 2021-07-14 22:37:16 +08:00
Alex Ning
9d87277ad8 Choose whether receiving post reply notifications or not in PostImageActivity. 2021-07-14 22:31:54 +08:00
Alex Ning
d31d348788 Choose whether receiving post reply notifications or not in PostLinkActivity. 2021-07-14 22:26:28 +08:00
Alex Ning
4363731a81 Choose whether receiving post reply notifications or not in PostTextActivity. 2021-07-14 22:18:38 +08:00
Alex Ning
e2e7a8cdcd Use MediaStore.VOLUME_EXTERNAL_PRIMARY when downloading media. 2021-07-14 20:47:49 +08:00
Alex Ning
200f5839ff Ignore case when searching comments. 2021-07-14 20:25:26 +08:00
Alex Ning
4f9bd0cde0 Declare LayoutManager for RecyclerView in ViewPostDetailFragment. 2021-07-14 20:04:20 +08:00
Alex Ning
f6aca0e9a0 Show error message when loading RPAN broadcasts failed. 2021-07-13 13:01:18 +08:00
Alex Ning
b856f5baeb Clear search query in the search panel when closing it in ViewPostDetailActivity. 2021-07-13 12:36:36 +08:00
Alex Ning
f7361b9518 Fix awarded comment's background color cannot be changed when searching. 2021-07-12 23:13:21 +08:00
Alex Ning
67416fa3e4 Improve the experience of searching in comments. 2021-07-12 23:09:15 +08:00
Alex Ning
8c89603f19 Apply custom theme to the search panel in ViewPostDetailActivity. 2021-07-12 20:17:38 +08:00
Alex Ning
67d4d9cc4f Searching comments in ViewPostDetailActivity is available. 2021-07-12 19:41:52 +08:00
Alex Ning
5fc3212f98 Implement a search panel in ViewPostDetailActivity. 2021-07-09 08:54:59 +08:00
Alex Ning
1352a8268e Start adding support for searching in posts. 2021-07-08 20:49:38 +08:00
Alex Ning
2bf561c31e Support viewing single RPAN broadcast in-app. 2021-07-08 19:55:32 +08:00
Alex Ning
9099b55964 Minor UI tweaks in ViewRPANBroadcastFragment. 2021-07-08 13:19:03 +08:00
Alex Ning
231f3b6b09 Show subreddit name and icon and username in ViewRPANBroadcastFragment. 2021-07-08 12:54:41 +08:00
Alex Ning
61d907308c Share rpan post url and rpan url. Show rpan post title in ViewRPANBroadcastFragment. 2021-07-08 09:00:49 +08:00
Alex Ning
6eecaaccfa Cannot use Strapi to send comments, upvote or downvote in RPAN. 2021-07-07 22:13:56 +08:00
Alex Ning
571e1003aa Disable ExoPlayer's control auto hide. 2021-07-07 19:21:24 +08:00
Alex Ning
44c612c6e5 Click RecyclerView to hide exoplayer control in ViewRPANBroadcastFragment. 2021-07-07 13:19:57 +08:00
Alex Ning
2c81bb4afc Do not shut down okhttp client in ViewRPANBroadcastFragment. Close the established websocket in ViewRPANBroadcastFragment in onDestroy. 2021-07-07 12:40:01 +08:00
Alex Ning
1ab212dc98 Change the color of author in ViewRPANBroadcastFragment. 2021-07-06 23:52:45 +08:00
Alex Ning
ac72a30458 Initialize player and websocket connection in onResume in ViewRPANBroadcastFragment. 2021-07-06 23:40:37 +08:00
Alex Ning
236b6b66f1 Scroll to bottom if new comments arrive in ViewRPANBroadcastFragment. 2021-07-06 21:04:02 +08:00
Alex Ning
372f373601 Show live comments in RPAN broadcasts. 2021-07-06 20:38:58 +08:00
Alex Ning
4204ce4773 Pause rpan broadcast when switching to anther ViewRPANBroadcastFragment. 2021-07-06 08:36:53 +08:00
Alex Ning
b031047d12 Minor UI tweaks in RPANActivity. 2021-07-06 00:06:49 +08:00
Alex Ning
bd0068eb6c Start adding RPAN support. 2021-07-05 22:38:28 +08:00
Alex Ning
09f05f3839 Minor UI tweaks in UploadedImagesBottomSheetFragment. 2021-07-04 23:28:18 +08:00
Alex Ning
d53b4254f7 Uploading images in EditPostActivity is available. 2021-07-04 23:26:30 +08:00
Alex Ning
f180950586 Uploading images is available in EditCommentActivity. 2021-07-04 23:21:09 +08:00
Alex Ning
ad7238ab4d Uploading images is available in PostTextActivity. 2021-07-04 23:11:49 +08:00
Alex Ning
bf127f6fe9 Remove file extension from uploaded image's file name after uploading an image. Send Toast and Snackbar messages when uploading an image. 2021-07-04 22:57:30 +08:00
Alex Ning
f3d905c817 Save image name and image url for uploaded images when uploading images. Uploading captured images is available. 2021-07-04 22:46:15 +08:00
Alex Ning
5210bbe7db Uploading images when submitting comments is available. 2021-07-04 10:03:38 +08:00
Alex Ning
91ae3f9610 Add an option in MarkdownBottomBarRecyclerViewAdapter to upload images. 2021-07-04 09:20:36 +08:00
Alex Ning
f33dfd288a Separate image uploading methods from SubmitPost and put them into a new class: UploadImageUtils to prepare to upload images when commenting and submitting text posts. 2021-07-04 09:05:14 +08:00
Alex Ning
30bce5b798 Fix app crashes when changing a wallpaper. Fix Apply Material You option not working. 2021-07-04 08:44:31 +08:00
Alex Ning
e3578c59dd Save light, dark and amoled Material You themes to database. Add 'Apply Material You' option. Test MotionLayout. 2021-07-02 23:16:18 +08:00
Alex Ning
992cf0dda1 Suggest subreddits in go to subreddit dialog in other activities. 2021-07-01 13:03:50 +08:00
Alex Ning
2d1e63d722 Suggest subreddits in go to subreddit dialog in MainActivity. 2021-07-01 12:48:28 +08:00
Alex Ning
ef953a72f7 Suggest subreddits when searching. 2021-06-30 20:06:46 +08:00
Alex Ning
b0f38f9db4 Remove OnLongClickListener of PlayerView in PostRecyclerViewAdapter. 2021-06-29 21:53:24 +08:00
Alex Ning
0f5c2e6f59 Caching videos in ViewVideoActivity. 2021-06-29 21:27:53 +08:00
Alex Ning
f638eb1e7e Fix app crashes after switching from single thread mode to normal mode in CommentsRecyclerViewAdapter. 2021-06-27 22:22:14 +08:00
Alex Ning
d5c65ff492 Fix not showing all comments in single comment thread mode in CommentsRecyclerViewAdapter. 2021-06-27 22:01:06 +08:00
Alex Ning
7b1221bfc9 Long press the fab in ViewPostDetailActivity to go to the previous parent comment. Fix bugs in scrollToNextParentComment() and scrollToPreviousParentComment() in ViewPostDetailFragment. 2021-06-26 21:43:30 +08:00
Alex Ning
6e4a808cbb Fix scroll to wrong next or previous parent comment position in ViewPostDetailFragment. 2021-06-26 21:30:13 +08:00
Alex Ning
7db721f297 Fix comments disappear in ViewPostDetailFragment after the system kills Infinity. 2021-06-26 21:22:04 +08:00
Alex Ning
9819059e29 Fix showing wrong comment after user submitted a comment in ViewPostDetailFragment. 2021-06-25 12:46:14 +08:00
Alex Ning
2236305e19 Fix delaying transition not working in landscape orientation in ViewPostDetailFragment for comments. 2021-06-24 21:49:04 +08:00
Alex Ning
51fd4c3749 Fix video not playing if pressing the fullscreen button in PostDetailRecyclerViewAdapter. 2021-06-24 21:40:45 +08:00
Alex Ning
05338b5a47 Replace AsyncTask with Executor in ParseComment. 2021-06-24 18:53:35 +08:00
Alex Ning
7067a20696 Replace AsyncTask with Executor in FetchRules. 2021-06-23 20:45:46 +08:00
Alex Ning
ade1097f30 Replace AsyncTask with Executor in FetchGfycatOrRedgifsVideoLinks. 2021-06-23 20:22:29 +08:00
Alex Ning
c7f9343d00 Fix 'android.view.ViewRootImpl: Only the original thread that created a view hierarchy can touch its views.' in SubmitPostService. 2021-06-23 20:05:46 +08:00
Alex Ning
b01c9b9e2b Finish replacing AsyncTask with Executor in ParsePost. 2021-06-23 19:51:45 +08:00
Alex Ning
260bd45433 Start replacing AsyncTask with Executor in ParsePost. 2021-06-23 19:20:37 +08:00
Alex Ning
866db8c681 Fix Material You themeing. 2021-06-23 13:50:17 +08:00
Alex Ning
50db0d0719 Add OnScrollListener to correct RecyclerView in ViewPostDetailFragment. 2021-06-23 13:35:42 +08:00
Alex Ning
9437217bbb Refine ExoPlayer's DefaultTimeBar style. 2021-06-23 09:24:10 +08:00
Alex Ning
a151d98411 Add missing return statements. 2021-06-22 13:28:49 +08:00
Docile-Alligator
94b5c238fb
Merge pull request #376 from Tijs-B/master
Add editor done action to dialog_go_to_thing_edit_text
2021-06-22 13:17:50 +08:00
Alex Ning
11ec08c12f Implement two pane layout in ViewPostDetailFragment to separate post detail and comments. Fix bugs related to separating CommentAndPostRecyclerViewAdapter. 2021-06-22 13:16:17 +08:00
Alex Ning
e222fbc5b1 Separate CommentAndPostRecyclerViewAdapter to PostDetailRecyclerViewAdapter and CommentsRecyclerViewAdapter and combine them using ConcatAdapter. 2021-06-21 13:29:07 +08:00
Tijs-B
cfe7ccbf59
Merge branch 'Docile-Alligator:master' into master 2021-06-18 11:20:26 +02:00
Alex Ning
92a1c1d1ae Fix Material You themeing issue. 2021-06-17 12:35:37 +08:00
Alex Ning
18ecb62605 Listen to wallpaper change and change theme. 2021-06-16 18:26:32 +08:00
Alex Ning
dfe2ca8081 Material You. 2021-06-16 17:24:17 +08:00
Tijs-B
f898bda4aa Add editor done action to dialog_go_to_thing_edit_text 2021-06-11 18:02:46 +02:00
Alex Ning
761217a87f Use PagingDataAdapter instead of deprecated PagedListAdapter. 2021-06-11 19:53:21 +08:00
Alex Ning
7c388ebd52 Change several colors in Indigo theme. 2021-06-11 15:29:44 +08:00
Alex Ning
fda2c142c8 Remove setting mFetchPostInfoTextView's layout params in PostFragment. 2021-06-11 15:05:56 +08:00
Alex Ning
7ebb6efdc4 Set bottom app bar enabled by default. Change Indigo colors. 2021-06-11 10:20:59 +08:00
Alex Ning
dc4b1f2611 Version 4.3.4. 2021-06-10 17:27:23 +08:00
Alex Ning
e9124e869d Added showing favorite multireddits and multireddits in main page. 2021-06-10 17:20:32 +08:00
Alex Ning
afbebebde1 Starting adding showing favorite multireddits and multireddits in main page. 2021-06-10 16:21:27 +08:00
Alex Ning
907e348399 Fix background color not applied to Card Layout 2. 2021-06-06 15:39:58 +08:00
Alex Ning
01d4d51253 Refine the UI of FlairBottomSheetFragment. 2021-06-06 15:19:04 +08:00
Alex Ning
c4276736ae Disable ViewPager2's swiping if swipe between posts is disabled. 2021-05-31 00:00:34 +08:00
Alex Ning
0f33ef627e Version 4.3.3. 2021-05-30 09:42:42 +08:00
Alex Ning
4da2353869 New languages: Russian and Vietnamese. 2021-05-30 09:35:47 +08:00
Alex Ning
60f636c05b Update translation. 2021-05-30 09:25:39 +08:00
Alex Ning
606e99f870 Update translation info. 2021-05-30 09:07:47 +08:00
Alex Ning
85474aebf0 Try fixing SQLiteConstraintException when inserting anonymous account. 2021-05-30 00:19:31 +08:00
Alex Ning
8f49352d78 Version 4.3.2. Downgrade several libraries. 2021-05-24 09:10:06 +08:00
Alex Ning
e4f25cc828 Version 4.3.1. Restore changes in ViewVideoActivity to fix a bug that video continues playing in the background after exiting. Rename Swipe Vertically to Go Back From Media to Swipe Vertically to Go Back From Image and Gif. 2021-05-22 23:19:51 +08:00
Alex Ning
7cac39e14e Fix Show Avatar on the Right. 2021-05-20 13:30:54 +08:00
Alex Ning
4d6d0cf8c4 Minor bugs fixed. 2021-05-20 12:15:15 +08:00
Alex Ning
673ba04110 Version 4.3.0. Fix video post parsing (v.redd.it). 2021-05-17 09:16:02 +08:00
Alex Ning
6e64f79d21 Update German translation. 2021-05-17 00:15:37 +08:00
Alex Ning
8be5fde875 Minor bugs fixed in CommentAndPostRecyclerViewAdapter. 2021-05-16 12:08:28 +08:00
Alex Ning
3c7a089a62 Version 4.3.0-beta5. 2021-05-15 14:24:47 +08:00
Alex Ning
fe192131d8 Fix recyclerview not scroll to correct last place after changing orientation. 2021-05-15 14:16:20 +08:00
Alex Ning
bb36cc79fd New option: Swipe Vertically to Go Back From Media. 2021-05-15 13:41:20 +08:00
Alex Ning
004bd22f67 Remove back button in the toolbar in SearchActivity. 2021-05-15 09:01:51 +08:00
Alex Ning
49ffafdfd4 Hiding post fliar in PostFragment is now available. 2021-05-15 08:52:23 +08:00
Alex Ning
b9a2a1adea Change the style of single comment level indicator. 2021-05-15 00:21:31 +08:00
Alex Ning
b21eb89271 New option: Show Only One Comment Level Indicator. 2021-05-10 12:00:51 +08:00
Alex Ning
39291be2e9 Version 4.3.0-beta4. 2021-05-05 15:56:42 +08:00
Alex Ning
c08d06df2e Fix app crashes in CopyTextBottomSheetFragment. Add LockScreenActivity. 2021-05-05 15:51:34 +08:00
Alex Ning
ee4c25a465 Fix multiple inline gifs parsing error. 2021-04-27 19:38:09 +08:00
Alex Ning
0921d37759 Support Reddit emote inline gif. 2021-04-27 18:06:40 +08:00
Alex Ning
8d4e2fb149 Continuing comment thread is now available. It can now show all the comments with depth >= 10. 2021-04-27 15:16:44 +08:00
Alex Ning
03d5a02480 Change divider hierachy in item_load_more_comments.xml and item_comment_fully_collapsed.xml. 2021-04-26 17:26:24 +08:00
Alex Ning
ca4db1f582 Change divider hierachy in item_comment.xml 2021-04-26 00:28:47 +08:00
Alex Ning
fceb1f4585 Disable padding in CommentIndentationView if the comment level is 0. 2021-04-26 00:25:19 +08:00
Alex Ning
3c4452261d Fix favorite things for logged-in account failed. 2021-04-23 16:05:34 +08:00
Alex Ning
cea8afb5ad Version 4.3.0-beta3. 2021-04-21 10:15:22 +08:00
Alex Ning
3263cca582 Fix the FAB shown in subreddit page in SubscribedThingListingActivity. 2021-04-21 10:06:32 +08:00
Alex Ning
9ad6d705e6 Fix post not updating in PostFragment after voting it in ViewPostDetailFragment. 2021-04-20 23:58:46 +08:00
Alex Ning
83dd21450f Fix topScoreTextView showing wrong color in CommentViewHolder. 2021-04-20 19:33:10 +08:00
Alex Ning
9ff4fb0a75 Re-enable Comment Toolbar Hidden by Default. 2021-04-20 17:38:10 +08:00
Alex Ning
f634686eb8 Hide reply and save buttons in comments if the depth is larger than 5. Add reply and save options in CommentMoreBottomSheetFragment. 2021-04-20 17:34:14 +08:00
Alex Ning
f4266bb350 Version 4.3.0-beta2. Fix SQL migration issue when updating from version 18 to 19. 2021-04-11 08:33:56 +08:00
Alex Ning
0724dc861a Version 4.3.0-beta1. Tweak the name of the backup file. 2021-04-10 23:23:34 +08:00
Alex Ning
34a9cee965 Fix only backing up post history shared preferences. Show the password of the backup zip. 2021-04-10 23:15:59 +08:00
Alex Ning
75c9a52cf7 Hide post selftext if it contains spoiler in post feed. 2021-04-10 22:54:12 +08:00
Alex Ning
16014a8807 Fix CommentIndentationView losing state. 2021-04-10 22:13:29 +08:00
Alex Ning
ad78aebf67 Fix wrong colors in CommentIndentationView. 2021-04-10 16:55:52 +08:00
Alex Ning
bc27f077d6 Fix cannot tap to retry in PostFragment. Show correct title in AdvancedPreferenceFragment. 2021-04-10 10:32:23 +08:00
Alex Ning
e5750e35b7 Fix unable to check anonymous subscription. 2021-04-10 10:00:46 +08:00
Alex Ning
21e1fcdad9 Hide Comment Toolbar Hidden by Default option. 2021-04-10 00:15:10 +08:00
Alex Ning
0bef61a45f Tweak the design of comments. 2021-04-09 23:20:46 +08:00
Alex Ning
fd86448f72 Add a progress bar for autoplay video control. 2021-04-09 09:47:02 +08:00
Alex Ning
73025a5a13 Copying multireddit's path is now available. 2021-04-08 23:42:45 +08:00
Alex Ning
e65944ceb0 Don't reset disable nsfw forever option when resetting all settings. 2021-04-08 23:14:50 +08:00
Alex Ning
270f891761 Disabling NSFW forever is now working. 2021-04-08 19:30:00 +08:00
Alex Ning
6282027334 Add an option to disable NSFW forever. 2021-04-08 19:17:26 +08:00
Alex Ning
f22b649bee Replace <sup> with ^ and delete </sup> when copying markdown. 2021-04-08 00:06:35 +08:00
Alex Ning
2b0b7d93a8 UI changes in comments. 2021-04-07 23:51:26 +08:00
Alex Ning
20f9930b5a Add Hungarian to Settings->Miscellaneous->Language. 2021-04-07 18:51:05 +08:00
Alex Ning
eabbabb2b2 Fix IllegalArgumentException when downloading media. 2021-04-07 17:03:07 +08:00
Alex Ning
bedcf6d0b6 Support inline gif in comments. 2021-04-06 23:43:32 +08:00
Alex Ning
98a66a8bb7 Fix post filter usage not retain after saving the post filter again. 2021-04-06 22:48:36 +08:00
Alex Ning
68d8aaf61d Click a flair to see filtered posts. Fix filtering posts that contain certain flairs. 2021-04-06 14:30:33 +08:00
Alex Ning
e4c9f7b927 Show inbox count in the inbox menu item in the navigation drawer. 2021-04-06 10:38:11 +08:00
Alex Ning
dd98dd879d Anonymous subscriptions page is available. 2021-04-04 12:04:06 +08:00
Alex Ning
b54e9aabb1 New option: delete crash reports in CrashReportsFragment. 2021-04-02 17:35:07 +08:00
Alex Ning
2d0aa76d34 New option: Crash Reports. 2021-04-02 15:21:15 +08:00
Alex Ning
12f52ec4fd New language: Hungarian. Update translation information. 2021-04-02 11:05:59 +08:00
Alex Ning
8c40ee1bc3 Suggest title when submitting link post. 2021-04-02 00:24:47 +08:00
Alex Ning
68d247867f More options for the bottom app bar. 2021-04-01 21:36:01 +08:00
Alex Ning
4ac1cec9e8 Handle more post links. 2021-04-01 12:26:28 +08:00
Alex Ning
3c972ed07d Handle more gfycat links. 2021-04-01 12:11:09 +08:00
Alex Ning
53b6bf14e4 Fix comment link parsing. 2021-04-01 11:37:29 +08:00
Alex Ning
489da851cf Support reddit links from email. 2021-04-01 09:14:36 +08:00