Commit Graph

1436 Commits

Author SHA1 Message Date
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
Luke Simmons
7e04f30b02
Create codeql-analysis.yml
Automatically scans code for vulnerabilities on every push to master, pull request, on demand, and at 12:00 UTC every day.

Fix

Signed-off-by: Luke Simmons <luke5083@live.com>
2021-07-13 00:05:08 -05: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
Luke Simmons
824c6c2599
Create build.yml
Automatically build project on every push, pull request, and on demand and uploads build artifacts.

Signed-off-by: Luke Simmons <luke5083@live.com>
2021-07-12 16:36:00 -05:00
Luke Simmons
b3303ce5fd
Create dependabot.yml
Automatically checks for updates for project dependencies and creates pull requests.
2021-07-12 16:32:23 -05: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