Commit graph

112 commits

Author SHA1 Message Date
Christopher Gurnee
820e0522fc Partially revert commit c8b0ac8
Now that it's back up, switch back to elastic.pushshift.io for
retrieving comments - it's faster for retrieving many of them.
2022-02-25 11:40:15 -05:00
Christopher Gurnee
c6585ab749 Offer help if being blocked by Tracking Protection 2022-02-15 17:45:43 -05:00
Christopher Gurnee
76e5ebaa46 Add bookmarks to individual highlighting Qs in FAQ 2022-02-15 17:34:55 -05:00
Christopher Gurnee
ec51dc05cc Don't wrongly highlight '[deleted]' as post author 2022-02-07 20:21:44 -05:00
StevenNL2000
aa08dce7c6 Fix detection when browser language is not English 2022-01-30 21:29:01 +01:00
Christopher Gurnee
2f4c8e0c62 Work around 8-year-old Firefox bug
If the max comments setting was changed using only the spinner, it
wasn't saved. See https://bugzilla.mozilla.org/show_bug.cgi?id=1012818
2022-01-29 10:30:37 -05:00
Christopher Gurnee
fe21a0760f Improve speed of changing max comments setting
* Just changing it no longer causes all comments to be rerendered
 * Reloading now only reloads comments intead of entire page
 * Reload button correctly hides when new setting <= current
2022-01-28 14:02:37 -05:00
Christopher Gurnee
5ea2dbf22a Remove focus from option if changed by mouse click 2022-01-25 17:51:54 -05:00
Christopher Gurnee
3230ebc0d8 Stop using OAuth2 with the Reddit API
None of the API endpoints being used require authentication,
its use was slowing things down a bit for no advantage.
2022-01-06 13:09:08 -05:00
Christopher Gurnee
9a0e3b8a79 Show 'last edited' even when edit isn't available 2021-12-20 08:36:32 -05:00
Christopher Gurnee
6193f452c3 Fix plurals in prettyDate() 2021-12-20 08:33:22 -05:00
Christopher Gurnee
e98baf062a Highlight comment author when it's the post author 2021-12-12 16:19:29 -05:00
Christopher Gurnee
c6eaa3a865 Add title texts with exact date/time 2021-12-12 13:20:08 -05:00
Christopher Gurnee
82d3342ab3 Fix parsing of html entities 2021-12-11 12:41:39 -05:00
Christopher Gurnee
cb8f84dc8a Add entry to FAQ explaining Firefox issue 2021-12-10 13:17:27 -05:00
Christopher Gurnee
92f050e660 Improve legibility and compatibility of settings 2021-12-10 12:15:18 -05:00
Christopher Gurnee
33606604ef Also retrieve removed link posts from Pushshift 2021-12-09 19:31:14 -05:00
Christopher Gurnee
bba3db6073 Add *edited link to toggle archived/reddit comment 2021-12-08 16:10:20 -05:00
Christopher Gurnee
c7eea0cb1f Be more descriptive with removed posts 2021-12-08 14:40:32 -05:00
Christopher Gurnee
3c52aaa293 Fix post color when post is missing from Pushshift 2021-12-03 18:37:14 -05:00
Christopher Gurnee
882b0cf73e Fix small race condition in 245bfe1 2021-12-03 11:23:01 -05:00
Christopher Gurnee
0cc254eb20 Make "max. to download" setting easier to change 2021-12-03 11:01:56 -05:00
Christopher Gurnee
245bfe1f6b Correctly display removed link posts 2021-12-02 17:03:16 -05:00
Christopher Gurnee
e13b68f90f Add "max. comments to download" setting 2021-12-01 13:06:01 -05:00
Christopher Gurnee
854f56e6f2 Fix bug where status is sometimes stuck "loading"
This was introduced in 9e343fc. There may still be a race condition
here, however it should occur far less frequently than before.
2021-11-30 18:21:28 -05:00
Christopher Gurnee
9c102b9dc1 Clicking the [-] button now collapses comments
Also adjust the css to make deeply nested comments easier to read.
2021-11-30 14:29:44 -05:00
Christopher Gurnee
9e343fcbba Add ability to view posts from banned subreddits 2021-11-19 12:58:34 -05:00
Christopher Gurnee
2de967fa56 Replace unflatten() with Array.flat() 2021-11-14 09:23:22 -05:00
Christopher Gurnee
f7dc5a76fe Add hours to 'removed from archive after X days' 2021-11-14 09:21:00 -05:00
Christopher Gurnee
0e36bc193d Add some small performance improvements
* Only create the comment lookup map once
 * Only set the .removed and .deleted properties once
2021-11-05 12:38:51 -04:00
Christopher Gurnee
6d5585591d Partially revert commit 16d6652 2021-11-04 14:14:57 +00:00
Christopher Gurnee
842061ef2b More detailed console error messages for debugging 2021-11-03 16:48:18 -04:00
Christopher Gurnee
b13ea69aad Show comments manually restored by mods 2021-11-03 11:26:31 -04:00
Christopher Gurnee
1e25ed18b0 Fix single-comment-view bug introduced in 702668a 2021-11-03 11:23:20 -04:00
Christopher Gurnee
702668ad2e Use Map and Set where possible and appropriate 2021-11-01 18:12:10 -04:00
Christopher Gurnee
47b4d913bd Fix small bug introduced in 20eae33
Duplicate comments were being retrieved from Reddit under certain
uncommon circumstances, this also caused the comment counts to be off
2021-11-01 17:57:46 -04:00
Christopher Gurnee
157fd7104f Round "removed(?) from archive" times down 2021-11-01 16:14:05 -04:00
Christopher Gurnee
16d665228a Replace OAuth client ID
Also do a better job of conforming to the Reddit API Terms of Use
2021-11-01 11:50:10 -04:00
Christopher Gurnee
20eae33207 Use Reddit for comments with missing parents
Pushshift occasionally fails to return comments which are the parents
of comments that it does return. Look these parents up in the Reddit
API and use its results instead, otherwise entire comment trees may be
hidden. They could still be hidden if two consecutive parents are
missing from Pushshift, but hopefully that isn't a common occurance.
2021-10-30 12:51:04 -04:00
Christopher Gurnee
3c17681f6a Fix quoting bug 2021-10-27 14:14:59 -04:00
Christopher Gurnee
a328d8027d Don't place <ul> elements inside <p> 2021-10-27 13:48:54 -04:00
Christopher Gurnee
d9c46d00e7 Be more descriptive with removed comments 2021-10-23 12:58:06 -04:00
Christopher Gurnee
c8b0ac8523 Update the endpoint to api.pushsift.io v4
Also update the reddit endpoint for posts, and add the capability
to download from Pushshift in multiple batches, with a binary
backoff; it's currently set to download up to 1,000 comments.

Credit (once again) to @ayan4m1 for a couple snippets of code.
2021-10-16 13:50:08 -04:00
Christopher Gurnee
03e663bd42 Update bookmarklet and example link 2021-10-09 13:45:23 -04:00
Christopher Gurnee
043c80839c Disable subreddit support 2021-10-07 00:29:50 +00:00
Christopher Gurnee
57d753b42e Change ceddit to reveddit 2021-10-06 23:51:45 +00:00
Christopher Gurnee
e6d787f132 Rename website 2021-10-06 23:47:33 +00:00
Christopher Gurnee
ffb0e4b5b7 Update dependencies 2021-10-06 22:02:14 +00:00
Christopher Gurnee
0b639f2340
Merge pull request #1 from CrackedP0t/user_subreddits
User subreddits
2021-10-05 12:19:12 -04:00
Jesper Wrang
3c4c53a36b Fixed some spelling mistakes on about page 2019-12-05 11:09:33 +01:00