Commit Graph

1791 Commits

Author SHA1 Message Date
Docile-Alligator
2750636847 Apply custom theme to the header of the navigation drawer. 2022-08-14 17:47:57 +10:00
Sergei Kozelko
7a0a40f696
Heading markdown fix (#908)
* Copy heading parser and adjust it to match Reddit behavior

Unlike CommonMark, Reddit does not require space after #. This behavior is
coded in a private static function, so the only way to override it is to
copy everything and use the modified copy instead of the default parser.

* Use RedditHeadingPlugin instead of regexes

* Apply plugins to post body when writing a comment

This fixes display when writing comment to a post
that contains spoilers or headings without space

* Apply plugins to parent comment body when writing a comment

This fixes display when replying to a comment that contains strikethrough text
2022-08-14 15:33:07 +08:00
Docile-Alligator
633ccc7f7d Fix post content is not parsed in other types of posts. 2022-08-14 16:55:44 +10:00
Docile-Alligator
97dcc263e3 Fix saved comments not shown when clicking Saved option in the bottom navigation bar. 2022-08-13 13:35:30 +10:00
Docile-Alligator
da708748ba Merge branch 'master' of github.com:Docile-Alligator/Infinity-For-Reddit 2022-08-13 12:25:29 +10:00
Docile-Alligator
e3f9d31a34 Fix caption shown under the navbar in ViewRedditGalleryImageOrGifFragment. 2022-08-13 12:25:04 +10:00
Wladimir Kirianov
1366ff0147
Merge pull request #844 from SenseiSchizo/feature/stringTypoFix
Fixed typos in strings.xml
2022-08-12 13:58:10 +02:00
Andrei Shpakovskiy
a12e65aa0e
Manage theme insertion callbacks behaviour (#892) 2022-08-12 18:36:14 +08:00
Docile-Alligator
fc73816a40 Extra small font size 2022-08-05 12:28:49 +10:00
Andrei Shpakovskiy
a18ae7d62e
Set default position of cursor at the end of query (#842) 2022-08-05 08:55:22 +08:00
Anatolii Afanasev
926e50090e
Move mAccessToken and mAccountName initialization upper (#841) 2022-08-05 08:53:20 +08:00
Sergei Kozelko
2bc9034c89
Apply FAB theme in CustomThemeListingActivity (#857) 2022-08-05 08:52:19 +08:00
Sergei Kozelko
8db3736dd4
Fix loading previews after quick scroll (#861)
* Request layout on ratio change

* Change imageView visibility on bind/recycle to force layout change
2022-08-05 08:22:35 +08:00
Docile-Alligator
3c0e2ab2d6 Clear user flair. 2022-08-04 14:05:34 +10:00
Docile-Alligator
9614f4a67a Minor UI tweaks in ViewSubredditDetailActivity, ViewUserDetailActivity and CustomThemePreviewActivity. 2022-07-28 23:42:46 +10:00
Docile-Alligator
b4fb0fac13 Update translation contributors. 2022-07-28 22:13:38 +10:00
Docile-Alligator
6f4e9233b8 Remove Block User menu option in ViewUserDetailActivity since Reddit does not allow 3rd-party apps access this API now. 2022-07-28 00:31:48 +10:00
Nan
176d6ce7ef
Fix misinterpretation of strings 2022-07-21 20:21:26 -07:00
Nan
e0339aa076
Fixed typos 2022-07-21 20:14:54 -07:00
Docile-Alligator
55af125dfe Fix changing post layout not working in HistoryActivity. 2022-07-19 10:30:59 +08:00
Docile-Alligator
a8d8e08323 Movable FAB in ViewPostDetailActivity. 2022-07-18 23:06:08 +08:00
Docile-Alligator
ce04d2bd77 Fix cannot go back from ViewMultiRedditDetailActivity. 2022-07-17 22:57:34 +08:00
Patrick Demers
5c0addbc91
Fix scroll using volume on multireddit (#834) 2022-07-17 22:48:42 +08:00
Docile-Alligator
12f404246b Show the number of subscribers in SubredditAutocompleteRecyclerViewAdapter. 2022-07-16 00:25:35 +08:00
Docile-Alligator
1cb79742c7 Show the number of subscribers in SubredditListingRecyclerViewAdapter. 2022-07-15 18:02:11 +08:00
Docile-Alligator
0265ac6227 Add an option for History in the navigation drawer. 2022-07-15 11:54:08 +08:00
Docile-Alligator
d3f38f318e Read posts history is available. 2022-07-13 22:05:19 +08:00
Docile-Alligator
14bf98d08a Minor update to immersive interface. 2022-06-28 17:10:55 +08:00
Docile-Alligator
0736f86e17 Navigation rail in ViewMultiRedditDetailActivity. 2022-06-27 23:28:17 +08:00
Docile-Alligator
042834cc9b Navigation rail in ViewUserDetailActivity. 2022-06-27 21:01:33 +08:00
Docile-Alligator
1f17f526f9 Navigation rail in ViewSubredditDetailActivity. 2022-06-27 19:38:48 +08:00
Docile-Alligator
d27140adf7 Fix java.lang.StringIndexOutOfBoundsException in LinkResolverActivity.getRedditUriByPath. 2022-06-27 18:04:19 +08:00
Docile-Alligator
974730db1a Do not mux video and audio on Android 7 and below. 2022-06-27 17:55:22 +08:00
Docile-Alligator
42a935981d Use Navigation Rail in MainActivity in landscape mode. 2022-06-18 22:54:26 +08:00
Docile-Alligator
e0da948d1f Version 5.2.1. 2022-06-18 15:57:47 +08:00
Docile-Alligator
14235a11af Fix an issue in Separate Post and Comments in Portrait Mode. 2022-06-17 16:42:18 +08:00
Antonin Curtit
bd70a166ed
Fix and improvements (#741)
* Fixed a whitespace causing errors for 2FA

* Fixed typo, improved compliance to FR syntax
2022-06-17 16:03:04 +08:00
MChen321
132bd354cd
Fixed bug that doesnt show user being followed (#707)
* In anonymous mode, fixed bug in CheckIsFollowingUser.java that does not check if accountName is null or not, which prevents room from retrieving SubscribedUserData to check if the user is followed or not.

Also updated Room version to 2.4.2 to be compatible with M1 macbook.

* Simplified SubscribedUserData accountName null check code
2022-06-17 15:51:20 +08:00
Winston Cooke
c6a06a10b2
Add locale-based separators (#724) 2022-06-17 15:36:38 +08:00
soredake
17b61b9d37
Rename "external browser" to "external app" to make it more clear (#795) 2022-06-15 21:50:43 +08:00
Docile-Alligator
b6162c1496 Fix app crashes when deleting media from notification. 2022-06-11 21:01:33 +08:00
Docile-Alligator
33c473824b Fix Settings->Video->Easier to Watch in Full Screen not working in card layout 2. 2022-06-11 20:25:43 +08:00
Docile-Alligator
2ebc797a3b Fix post layout not saved for anonymous multireddits. 2022-06-11 20:21:17 +08:00
Docile-Alligator
92cb309bf6 New option: Settings->Video->Easier to Watch in Full Screen. 2022-06-11 19:56:55 +08:00
Docile-Alligator
5d07ad2d3b Version 5.2.0 2022-06-03 13:36:11 +08:00
Docile-Alligator
d88e182082 Add a link handler in SearchActivity. 2022-06-03 13:03:32 +08:00
Docile-Alligator
73c662159f Disable auto correct when creating links. 2022-06-01 16:49:08 +08:00
Docile-Alligator
12ba414ea1 Request incognito keyboard in anonymous mode on Android 8+. 2022-06-01 16:46:04 +08:00
Docile-Alligator
f0747c65cb Use EditText instead of SimpleSearchView in SearchActivity. 2022-06-01 15:41:01 +08:00
Docile-Alligator
adb77f44d0 Fix app crashes when applying Material You theme after changing wallpaper. Tweak the design of the fast scroller. 2022-06-01 14:53:30 +08:00
Docile-Alligator
db08be065e Add a notification action to delete the media after downloading. 2022-05-31 18:00:21 +08:00
Docile-Alligator
7f91f89599 Share media file after downloading. 2022-05-31 16:18:16 +08:00
Docile-Alligator
3218ff10f1 Share a link to Infinity so that you can open reddit links in this app. 2022-05-30 23:20:44 +08:00
Docile-Alligator
b65e28b593 Version 5.2.0-beta2. Update translation. 2022-05-30 12:32:24 +08:00
Docile-Alligator
3e021cf25c Version v5.2.0-beta2. 2022-05-30 12:01:28 +08:00
Docile-Alligator
8e8dc6f93b Fix missing pendingintent mutability flag. 2022-05-20 09:20:17 +08:00
Docile-Alligator
3df7b761a2 Animate the software keyboard in ViewPrivateMessgesActivity. 2022-05-17 19:12:39 +08:00
Docile-Alligator
63ea1f54d0 Fix duplicate sent private messages. 2022-05-15 23:55:12 +08:00
Docile-Alligator
955329cb87 Fix app crashes when opening a very long private message. 2022-05-15 22:12:26 +08:00
Docile-Alligator
67d30b90e4 Fix inbox count not updating after reading a message. 2022-05-14 19:26:26 +08:00
Docile-Alligator
4f7d8321fc Fix cannot share text to Infinity. 2022-05-14 19:17:09 +08:00
Docile-Alligator
33ac7e92df Tweak UI in private messages. 2022-05-14 17:54:56 +08:00
Docile-Alligator
b75883c758 Render spoiler in PrivateMessagesDetailRecyclerViewAdapter. 2022-05-14 12:39:28 +08:00
Docile-Alligator
22cf0a9c20 Fix biometric authentication prompt not shown when opening the account section in the navigation drawer. Require biometric authentication in AccountChooserBottomSheetFragment. 2022-05-14 12:08:33 +08:00
Docile-Alligator
345392a833 Copy priate messages. 2022-05-13 20:18:07 +08:00
Docile-Alligator
9a994ca531 Do not show nsfw gif preview in case the blurring is not working. Fix bugs related to post filter in PostFragment. 2022-05-13 17:21:41 +08:00
Docile-Alligator
eab7943527 Fix disabling blur nsfw images not working in anonymous multireddits. 2022-04-30 22:37:49 +08:00
Docile-Alligator
3d374491b3 targetSdkVersion 31. Fix sort type problems in anonymous home page and multireddits. 2022-04-30 17:56:31 +08:00
Docile-Alligator
d40fc59540 Version v5.2.0-beta1. 2022-04-28 17:35:56 +08:00
Docile-Alligator
77ed06dac1 Submitting crosspost using other accounts is available. 2022-04-28 15:46:25 +08:00
Docile-Alligator
d9172110e6 Submitting comment using another comment is available. 2022-04-28 15:29:41 +08:00
Docile-Alligator
d64fdd4e4d Submitting posts using another account is available in other PostXXXActivity. 2022-04-25 15:15:06 +08:00
Docile-Alligator
d922c67ffc Load selected account's subscriptions in SubredditSelectionActivity when submitting posts using another account. 2022-04-24 11:48:41 +08:00
Docile-Alligator
be4e73c504 Submit posts using another account is available in PostTextActivity. 2022-04-24 11:11:15 +08:00
Docile-Alligator
3fa86984dc Fix NullPointerException in Utils.parseInlineEmotes. 2022-04-23 21:36:25 +08:00
Docile-Alligator
05e9b8b36e Fix a bug when setting up notification work manager in MainActivity. 2022-04-23 21:26:23 +08:00
Docile-Alligator
3283541c9a Show post karma, comment karma, awarder karma and awardee karma in ViewUserDetailActivity by clicking the karma info text. 2022-04-10 22:50:35 +08:00
Docile-Alligator
ee9249cb64 Update inbox count in MainActivity after reading all messages in InboxActivity. 2022-04-10 17:52:06 +08:00
Docile-Alligator
bbd212ff2c Click autoplaying videos to open them in fullscreen. 2022-04-10 09:40:16 +08:00
Docile-Alligator
e7da8c1f69 Bottom app bar is available in ViewMultiRedditDetailActivity. 2022-04-08 16:39:30 +08:00
Docile-Alligator
8c8dc45f19 Removed option: View Full Markdown. Handle jpeg link in LinkResolverActivity. 2022-04-02 22:41:10 +08:00
Docile-Alligator
d7fcb66cda Use the updated access token to fetch new notifications in PullNotificationWorker. This may fix notification issues. 2022-04-02 22:26:35 +08:00
Docile-Alligator
840216b3d9 Render full markdown in CommentsListingRecyclerViewAdapter. 2022-04-02 16:09:16 +08:00
Docile-Alligator
95d792779e Render full markdown in CommentsRecyclerViewAdapter. 2022-04-02 15:50:12 +08:00
Docile-Alligator
f0e2090db9 Do not load subreddit data in SidebarFragment. Save subreddit data to the database in ViewSubredditDetailActivity. 2022-04-01 17:29:42 +08:00
Docile-Alligator
83b71b8304 Fix spoiler not rendering last two characters. 2022-03-30 07:27:41 +08:00
Docile-Alligator
ac749fe0f0 New option: Settings->Data Saving Mode->Reddit Video Default Resolution. 2022-03-25 21:43:38 +08:00
Docile-Alligator
7422098734 Add a FloatingActionButton in ViewMultiRedditDetailActivity. 2022-03-25 17:34:57 +08:00
Docile-Alligator
8ac8ea3d8b Fix getRedditUriByPath in LinkResolverActivity. 2022-03-25 16:48:35 +08:00
Docile-Alligator
c87b724a24 Fix captions and urls hidden by the navigation bar in ViewRedditGalleryImageorGifFragment. 2022-03-24 14:00:44 +08:00
Docile-Alligator
2bbba42e38 Version 5.1.9. 2022-03-17 22:10:38 +08:00
Docile-Alligator
59ed4c53ff Prevent WebView from reloading the website after orientation change in WebViewActivity. 2022-03-17 21:22:26 +08:00
Docile-Alligator
b4915859da Check if PostFragment is detached before initializing PostViewModel. 2022-03-17 14:23:06 +08:00
Docile-Alligator
7405e19c2e Fix clicking the back button on the toolbar does not finish FullMarkdownActivity. 2022-03-17 14:05:27 +08:00
Docile-Alligator
c0ad8ed27a Fix unable to update anonymous multireddits. 2022-03-17 13:57:09 +08:00
Docile-Alligator
cfd295aea8 Version 5.1.9-beta2. Optimize AppBarStateChangeListener. 2022-03-14 14:15:44 +08:00
Docile-Alligator
3cae2b0dba Load image after the AspectRatioGifImageView's height is determined in PostRecyclerViewAdapter to prevent blurry images. 2022-03-11 17:00:23 +08:00
Docile-Alligator
20e4798d34 Fix image loading issue. 2022-03-11 12:15:07 +08:00
Docile-Alligator
aab502238d Fix navigation drawer issues. 2022-03-11 12:10:35 +08:00
Docile-Alligator
53755d4381 Version 5.1.9-beta1. Fix low resolution post previews when showing them for the first time in PostDetailRecyclerViewAdapter. 2022-03-06 15:09:57 +08:00