Commit Graph

1482 Commits

Author SHA1 Message Date
Alex Ning
9a0067d714 Fix anonymous multireddits not shown. 2021-09-26 20:37:37 +08:00
Alex Ning
ad99238ed9 Create multireddits in anonymous mode. 2021-09-26 20:35:03 +08:00
Docile-Alligator
e3457069a4
Merge pull request #471 from andmizyk/master
Added Ukrainian translation
2021-09-26 19:10:20 +08:00
Docile-Alligator
fa645f932d
Merge pull request #474 from andrewrasch/intent-filter-cleanup
Cleanup on intent filters.
2021-09-26 19:08:21 +08:00
Docile-Alligator
a80489b41b
Merge pull request #473 from TacoTheDank/updates
Miscellaneous updates
2021-09-26 19:04:06 +08:00
andrewrasch
0b9e347cfb Cleanup on intent filters.
Separated google amp links from reddit links to fix false positives. Simplified schemes and duplicate hosts.
2021-09-26 00:08:45 -04:00
TacoTheDank
424b1c27e0 Use Java 11 2021-09-24 21:28:42 -04:00
TacoTheDank
d1740f77d1 Fix some deprecations 2021-09-24 21:28:33 -04:00
TacoTheDank
a5ca6ac2bc Use FragmentContainerView 2021-09-24 21:28:22 -04:00
TacoTheDank
14a09c725f Use NotificationChannelCompat features 2021-09-24 21:28:11 -04:00
TacoTheDank
c78cc8aaec Update AndroidX Appcompat and Lifecycle 2021-09-24 21:12:20 -04:00
TacoTheDank
2b17931628 Use some empty implementations of listeners 2021-09-24 21:10:59 -04:00
TacoTheDank
92c76f2e12 Update a bunch of libraries 2021-09-24 21:10:15 -04:00
TacoTheDank
e464082964 Migrate from JCenter where possible 2021-09-24 21:08:09 -04:00
TacoTheDank
0f4ced5669 Update AGP, reorganize libraries 2021-09-24 21:07:26 -04:00
Andrij Mizyk
b2c8233835 Added Ukrainian translation 2021-09-24 22:34:36 +03:00
TacoTheDank
b0f33815d8 Update gradle wrapper 2021-09-24 15:31:52 -04:00
Alex Ning
5d6a56aae0 Show subscribed users for the anonymous account. 2021-09-24 20:52:58 +08:00
Alex Ning
6215311186 Prepare to support anonymous multireddit. 2021-09-24 20:42:00 +08:00
Alex Ning
cfab68ecd6 Favorite and unfavorite users for the anonymous user. 2021-09-24 19:16:35 +08:00
Alex Ning
20053881f1 Anonymous user subscription. 2021-09-23 20:54:54 +08:00
Alex Ning
643d9395a4 Merge branch 'master' of github.com:Docile-Alligator/Infinity-For-Reddit 2021-09-23 20:18:56 +08:00
Alex Ning
3482ab36e9 Add null check in tryMarkingPostAsRead() in ViewPostDetailFragment. 2021-09-23 20:18:07 +08:00
Docile-Alligator
a24c293028
Merge pull request #468 from andrewrasch/go-to-top-of-page-button
Added go to top of page option.
2021-09-23 20:02:18 +08:00
Docile-Alligator
ccd80a3e15
Merge branch 'master' into go-to-top-of-page-button 2021-09-23 20:02:10 +08:00
Docile-Alligator
cf9829046a
Merge pull request #469 from andrewrasch/link-handling-fixes
Update link handling for amp and v.redd.it
2021-09-23 20:00:57 +08:00
Docile-Alligator
f2fd163375
Merge branch 'master' into link-handling-fixes 2021-09-23 20:00:42 +08:00
Docile-Alligator
64f0c73360
Merge pull request #470 from andrewrasch/fix-wiki-pages
Fix Wiki Page Handling
2021-09-23 19:57:04 +08:00
Alex Ning
5f4ecbbe88 Fix posts not marked as read in ViewPostDetailActivity if swipe between posts is enabled. 2021-09-22 21:02:31 +08:00
Alex Ning
cc9952525b Only save read post ids in PostFragment. Add read post ids to readPosts in PostFragment. 2021-09-22 20:17:33 +08:00
andrewrasch
cac32b4394 Added path patterns to other links
Fixes bug where only google amp links open in Infinity
2021-09-22 01:00:53 -04:00
andrewrasch
0ca6bc25af Added link to wiki in subreddit
Subreddit details menu now has a link to its wiki. Subs without a wiki will show the "this subreddit has no wiki" page.
2021-09-22 00:04:21 -04:00
andrewrasch
2d5829830e Fixed handling of wiki pages
LinkResolverActivity now handles wiki pages other than index and their subpages.
2021-09-21 23:50:30 -04:00
andrewrasch
97d630392c Change the go to top icon
Changed to use a double up arrow icon
2021-09-21 23:29:49 -04:00
andrewrasch
5cfe8a6016 Added API call for generic wiki page.
Updated old wiki-only call to cascade to new generic.
2021-09-21 23:01:17 -04:00
andrewrasch
1fb3ba6e3f Update link handling for amp and v.redd.it
Added manifest entries for google.com amp links (reddit only) and v.redd.it. Updated handling of google amp links in LinkResolverActivity.
2021-09-21 22:10:38 -04:00
andrewrasch
a651935fa5 Added go to top of page option.
Added Main + Other Activity bottom bar option to go to the top of a page.
2021-09-21 20:37:41 -04:00
Alex Ning
d6c3bfddd7 Fix marking posts as read on scroll. 2021-09-17 22:07:03 +08:00
Alex Ning
474b3cf32f Fix hiding read posts automatically. 2021-09-17 21:06:53 +08:00
Alex Ning
5dda05d7fa Fix opening the same media multiple times by clicking it repeatedly. 2021-09-17 20:49:50 +08:00
Alex Ning
48a8076fc0 Rewrite code related to hiding read posts. 2021-09-17 20:47:21 +08:00
Alex Ning
50a3572679 No need to pass a HashSet to hide read posts. 2021-09-16 23:26:56 +08:00
Alex Ning
1d73231a82 Remove unused API. 2021-09-16 22:52:13 +08:00
Alex Ning
6aaef3820c Fix no post message not shown in PostFragment. 2021-09-16 22:44:15 +08:00
Alex Ning
7f44b6a8de Fix the same value, null, was passed as the nextKey in two sequential Pages loaded from a PagingSource. 2021-09-16 19:25:58 +08:00
Alex Ning
8a10733d8c Use Transformations.map and PagingDataTransforms.filter to remove read posts. It is an ugly design but I cannot think of a better way. 2021-09-15 22:44:34 +08:00
Alex Ning
1d0ab483d1 Fix gfycat videos cannot be downloaded. 2021-09-08 21:11:15 +08:00
Alex Ning
5fddea1362 Fix onPostUpdateEvent and onNeedForPostListFromPostRecyclerViewAdapterEvent in PostFragment. 2021-09-07 19:18:18 +08:00
Alex Ning
91d24e1e0c Unlock Account Section -> Unlock in LockScreenActivity. 2021-09-06 23:33:23 +08:00
Alex Ning
ecb891748d Remove PostViewModel, PostDataSource and PostDataSourceFactory. NewPostViewModel is renamed to PostViewModel. 2021-09-06 23:31:18 +08:00