redmt
69a9b0e080
Update inc/initRedditApi.js to pass instance_config to template
2022-06-11 19:40:27 +02:00
redmt
27ade36805
Rename index.pug to frontpage.pug
2022-06-10 20:05:36 +02:00
redmt
6328e41bcf
Update processJsonPost.js to remove newlines from selftext_preview
2022-06-10 15:56:54 +02:00
redmt
319fa35d5f
Update processJsonPost.js to store a preview selftext
2022-06-10 15:42:37 +02:00
teddit
3612345fab
proxy i.redd.it and v.redd.it media links in comments ( #307 )
2022-04-11 21:30:41 +02:00
analogue
4bb02eaf03
Use proper https_enabled flag
2022-03-29 20:22:30 +00:00
analogue
ee7508b24a
When teddifying URLs to se for links, images, or video, use correct protocol scheme
2022-03-13 22:13:21 +00:00
Austin Huang
b5878ea031
Improve domain replacement regex
...
1. Let regex only match href, close #267
2. Enforce HTTPS if the instance is on HTTPS
3. Prevent redirecting domains such as blog.twitter.com and help.instagram.com
2022-01-26 12:41:18 -05:00
teddit
15256b1cd8
add a config to force https for api permalinks ( #285 )
2022-01-18 19:47:16 +01:00
gawii0
2e030e2c4b
Fix: API light mode subreddit
2021-12-28 22:58:34 +01:00
gawii0
aa3a854b6e
API light mode subreddit
2021-12-24 15:37:46 +01:00
3nprob
8bf7d4f792
Support implicit video media
2021-11-23 05:28:27 +09:00
3nprob
56a2f6b266
Rewrite i.imgur.com gifv to mp4
...
* Configurable env var VALID_MEDIA_DOMAINS
2021-11-23 05:28:22 +09:00
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