Commit Graph

157 Commits

Author SHA1 Message Date
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
teddit 5ae520b5ed feature for saving posts 2021-02-06 20:17:36 +01:00
teddit bc0aff9481 add 'pubDate' for RSS feeds 2021-01-30 15:23:26 +01:00
juzz 7555a3c75e 131 post kind on user page without oauth 2021-01-28 08:41:56 +11:00
teddit f1d02aac1a post hint can be 'rich:video', 'hosted:video' etc, so just check if it has ':video' 2021-01-24 15:18:07 +01:00
teddit 185cf22847 fixes for the #134 PR 2021-01-24 15:05:59 +01:00
takatalk e3c4ea0e3c Posts with thumbnails have full size previews 2021-01-24 06:54:13 -05:00
teddit 408eb259f4 fix unescape's regex, put dot inside character class. fixes #128 2021-01-22 18:23:38 +01:00
teddit fb2fe788c4 check that gallery id exists 2021-01-19 21:09:50 +01:00
teddit 3ea653de22 add feature to expand text posts from subreddit view 2021-01-19 17:21:31 +01:00
teddit 3e01937247 add '/subreddits' feature for searching and exploring subreddits 2021-01-17 17:29:49 +01:00
teddit fff9c2d5b9 convert reddit.com links to instance domain 2021-01-16 21:14:12 +01:00
teddit 19a281ebe4 scroll to infobar when viewing comment permalink #78 2021-01-15 18:02:50 +01:00
StevenNMeza cfc6299fb3 Show the edit date 2021-01-10 10:59:04 +01:00
teddit f8fbb566e7 add enclosure elements to user rss feeds 2021-01-06 16:20:44 +01:00
teddit d2769937ac add user support for teddit api 2021-01-06 16:06:11 +01:00
teddit 8cdce383bc add title attr for daggers 2021-01-05 01:26:25 +01:00
juzz c9b0d33faa #91 added preference to highlight controversial comments 2021-01-05 08:50:47 +11:00
teddit 186d8facb3 fix 'load more comments (n)' and 'continue this thread' links #82 2021-01-04 20:38:12 +01:00
teddit e64cbeff71 make sure gallery keys exists 2021-01-04 20:04:00 +01:00
teddit d3444d1f4a fix gallery urls #95 2021-01-04 17:42:49 +01:00
teddit 2dbfffb055 include enclosure only if thumbnail is present 2021-01-01 19:56:19 +01:00
teddit e49d6e4917 add enclosure element 2021-01-01 19:34:40 +01:00
teddit 5ca2011786 fix urls in search 2021-01-01 18:30:48 +01:00
teddit cbff40e65e minor formatting 2021-01-01 18:21:06 +01:00
teddit d9e616a469 fix search results, fix #65 2021-01-01 18:18:54 +01:00
teddit 7464569b5d make teddit hostable without reddit oauth api 2020-12-30 18:15:04 +01:00
teddit 6001d0037f add [link] & [comments] to the rss desc 2020-12-29 16:44:24 +01:00
teddit 5355170e61 add content for the rss feeds 2020-12-29 14:00:24 +01:00
teddit dbf1381b43 load more comments => scroll to infobar #78 2020-12-28 21:14:25 +01:00
teddit 08b2884a87 rm processSubredditSidebar.js, renamed to processSubredditAbout.js 2020-12-28 00:18:41 +01:00
teddit f220b37012 add nsfw warnings for subreddits too 2020-12-28 00:16:45 +01:00
teddit 5f8e8eb7a3 add nsfw warning pages to posts when nsfw content is disabled 2020-12-27 23:25:39 +01:00
teddit 357c6402cd support contest mode 2020-12-27 18:56:27 +01:00
teddit 26f287ef4f rename dist to static, fixes #8 2020-12-25 22:14:24 +01:00
teddit 8a5334c9ac add flairs to preferences 2020-12-24 22:13:08 +01:00
teddit 0ce28e6d05 fix #74 2020-12-23 19:42:53 +01:00
teddit 836438dfeb add nsfw tags 2020-12-23 15:52:51 +01:00
teddit 24b686fe1e Merge pull request 'Implement full flair functionality' (#72) from StevenNMeza/teddit:flairs into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/72
2020-12-23 11:26:17 +01:00
teddit ad727762fb rename permalink to link 2020-12-22 16:23:27 +01:00
StevenNMeza 19d9a7c631 Add configuration setting for flairs 2020-12-21 13:00:31 +01:00
StevenNMeza 9c4cda7b42 Serve the flair images from own server 2020-12-21 12:52:48 +01:00
StevenNMeza fb202af1e5 Render link flairs 2020-12-21 12:33:43 +01:00
StevenNMeza 5057018fb6 Render user flairs 2020-12-21 12:28:09 +01:00
teddit 8a78051534 add teddit api support for subreddits 2020-12-19 20:52:22 +01:00
teddit dc2b041050 add missing double quote from PR #70 2020-12-18 18:21:38 +01:00
Shaun Collins c695a392d6 Add depth of each comment to the json. When creating the html, determine if the comment is an even or odd depth for css. 2020-12-17 17:17:20 -05:00
teddit a34425a944 save files to specific dirs based on filename prefixes 2020-12-16 18:52:20 +01:00
StevenNMeza 6d6f7a0a44 Do not link to authors of deleted entities 2020-12-15 19:23:19 +01:00
teddit 91c7546bb0 Merge pull request 'Add link flairs' (#64) from StevenNMeza/teddit:main into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/64
2020-12-13 21:23:03 +01:00
StevenNMeza 5a602b2b88 Add link flairs 2020-12-13 20:53:32 +01:00
teddit 92ea510cac rm unnecessary before & after from subreddit posts 2020-12-13 20:17:50 +01:00
teddit 21fb4647ab fix missing config from commons.js 2020-12-13 16:29:27 +01:00
teddit 76546f0b6c teddit.net to config.domain 2020-12-10 19:21:07 +01:00
teddit 5c3ff13585 mv url localization away from pug templates 2020-12-10 19:16:44 +01:00
teddit c838f10d01 don't fetch sidebar for /r/all 2020-12-08 18:54:30 +01:00
teddit f5a070e6bd fix #50 2020-12-08 18:37:52 +01:00
teddit 073a1a94c9 pass encoded urls to fetch 2020-12-06 21:59:40 +01:00
teddit 12a71d3980 add catches 2020-12-05 21:34:08 +01:00
teddit a1e53600e6 check post.preview 2020-12-05 20:42:38 +01:00
teddit 4edeaf45f9 fix media downloading paths 2020-12-05 15:46:28 +01:00
teddit 48dbc6380b display domain name 2020-12-04 22:33:40 +01:00
teddit d07a400884 add subreddit stickies 2020-12-04 18:10:33 +01:00
teddit 3814a67517 sorting comments in post to config file 2020-12-03 17:15:43 +01:00
teddit da33b5c456 add missing config 2020-12-01 20:20:01 +01:00
teddit 15a976c886 add dedicated config file 2020-12-01 20:16:51 +01:00
teddit 5e33387e5b don't fetch sidebar for multireddit urls 2020-11-29 22:23:45 +01:00
teddit eb78d399b7 add subreddit sidebars 2020-11-29 21:52:26 +01:00