Commit Graph

124 Commits

Author SHA1 Message Date
teddit c34c32cc35 check that reddit_video_preview.fallback_url exists (fixes #255) 2021-10-30 19:26:54 +02:00
teddit a9f13741bb check that post media_metadata exists (fixes #250) 2021-10-08 06:46:37 +02:00
teddit c4d167c787 validate json before processing it (fixes #247) 2021-10-06 17:38:08 +02:00
teddit 9e515c4985 fix setting the duration (fixes #240) 2021-09-12 18:03:00 +02:00
teddit 873e56a23b use async for processMoreComments 2021-09-09 19:19:52 +02:00
teddit 813fb3566c convert processMoreComments to use async function 2021-09-09 18:19:27 +02:00
json e1df2ea8ae convert processJsonSubredditsExplore to async function 2021-09-08 13:46:41 +01:00
json 6ff892767c convert processJsonSubreddit to async function 2021-09-08 13:46:41 +01:00
json 153a50e60a convert processSearchResults to async function 2021-09-08 13:46:41 +01:00
json 711f2450c7 change callback to await in processSubredditAbout 2021-09-08 13:46:41 +01:00
json aae3e00ab1 convert processSubredditAbout to async function 2021-09-08 13:46:28 +01:00
json 1c7a3a8f5a separate redis from app.js 2021-09-08 13:40:18 +01:00
json d95642cf80 convert processJsonPost to async functions 2021-09-08 13:40:18 +01:00
json f3cc837a01 convert processJsonUser to async function 2021-09-08 13:40:18 +01:00
teddit 2cb5a5e45a pass pref_quarantine_optin-cookie to get quarantined subreddits (fixes #224) 2021-08-18 22:07:29 +02:00
teddit 95f7ebb4be comment out the moderators fetching 2021-06-18 22:44:31 +02:00
StevenNMeza a8974f709d Use a standalone function 2021-05-26 18:21:05 +02:00
StevenNMeza 533519df65 Implement a central link object 2021-05-24 21:49:07 +02:00
StevenNMeza ac14a7b094 Add link component 2021-05-24 20:39:28 +02:00
teddit 80b67fa3ab add suggested subreddits for search pages (ref #104) 2021-04-22 20:44:23 +02:00
teddit 6bcb181cb1 fix edited dates on replies (ref pr #106) 2021-04-16 22:09:47 +02:00
teddit a72e6e65af show subreddit moderators list on subreddit sidebar (ref #104) 2021-04-11 14:28:41 +02:00
teddit 670e3104b7 add 'Submitted by username to /r/subreddit' to start of rss feeds if it is a submission (ref #104) 2021-04-11 12:53:03 +02:00
teddit 22efb3e380 collapse only 1st level child comments automatically if collapse_child_comments preference is true 2021-04-10 18:03:10 +02:00
teddit b9d93d4c15 fix processMoreComments.js 2021-04-10 15:44:39 +02:00
teddit 567e6f7797 fix load more comments (morechildren-endpoint), fixes #122 2021-04-10 15:42:01 +02:00
teddit 769205d4d7 we need user_preferences for the 2nd argument for replaceDomains() to work properly #187 2021-04-08 17:04:50 +02:00
teddit cc8b893fbc Merge pull request 'Rewrite domains of embedded/youtube media' (#187) from 3np/teddit:rewrite-youtube into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/187
2021-04-08 16:50:16 +02:00
3np 7b83daef55 Rewrite domains of embedded/youtube media 2021-04-07 13:31:13 +09:00
3np 3fdccd49d5 Create upload directories if they don't exist 2021-04-06 03:25:34 +09:00
teddit e12929960a remove redundant code from prev commit 2021-04-05 18:03:40 +02:00
teddit d156a1ac45 add thumbnail image for subreddit rss if full image is missing #175 2021-04-05 18:02:12 +02:00
3np a2cab737f8 Add configuration for domain_replacements 2021-04-06 00:12:31 +09:00
teddit 156c7ba40a return on empty strings 2021-03-31 20:48:59 +02:00
teddit 4216832cfb on gallery urls, add media_metadata[i].p check 2021-03-31 19:33:09 +02:00
teddit 2bffcd3a27 remove unnecessary post_id 2021-03-31 19:29:56 +02:00
teddit 4790074c30 add option to show full post images in the rss feeds with full_thumbs query 2021-03-27 16:58:56 +01:00
teddit a143eeb2fe add full post image support for subreddit rss #175, also add console.log for teddit api requests 2021-03-27 16:08:15 +01:00
StevenNMeza 9da8449ee5 Display profile icons 2021-03-22 19:06:57 +01:00
teddit f44f093fc2 add poll support 2021-03-21 22:59:10 +01:00
teddit fa5e3337c7 replace reddit links by default 2021-03-21 21:48:28 +01:00
teddit 4c33ea345d add missing user_preferences parameter 2021-03-21 21:22:14 +01:00
teddit c120c8b5a5 add replacePrivacyDomains() 2021-03-21 21:20:45 +01:00
teddit 3e9868fd5e replace youtube/twitter/instagram with privacy respecting ones 2021-03-21 21:14:11 +01:00
teddit dbe86258d7 ignore urls starting with /r/ 2021-03-21 18:32:13 +01:00
teddit b3e5816d7d rewrite redd.it and its subdomains to teddit domain, fixes #120 2021-03-20 19:06:54 +01:00
teddit 531509bf86 replace all (*.)reddit.com domains with teddit domain #120 2021-03-20 18:46:02 +01:00
teddit 465e599dee add a feature for showing upvote ratio in posts #147 2021-03-18 18:31:41 +01:00
teddit bd4bc75298 add a feature to the preferences where users can choose to collapse child comments automatically 2021-03-16 18:07:27 +01:00
teddit 12a4de42cf add gfycat.com support (fixes #15) 2021-02-19 20:29:39 +01:00