Anshuman Kumar
ed0c0c7d28
Handle all variation of user preference for regexes
2022-12-30 17:43:43 +05:30
Anshuman Kumar
f7f2d0beec
Update regex to find a match and replace if present
2022-12-30 09:42:08 +05:30
Anshuman Kumar
c71bf6ee48
Add logic to parse and remove any instances of https://twitter.com by replacing with user's preference
...
The issue was happening since the original regex is checking for href tags only, so I tried a simpler approach of searching for https://twitter.com instead whenever the regex does not match the input string
Add Nodemon package to dev dependencies for local debugging
2022-12-29 20:21:09 +05:30
Jean-Luc Tibaux
50c369833b
improved imgur regex pattern as requested in #365
2022-11-26 20:22:01 +00:00
Jean-Luc Tibaux
45dc798eef
implement imgur replacement ( #341 )
2022-11-12 13:47:08 +00:00
alan
bc3af7b609
Add Quetre option
2022-10-15 06:23:48 +02:00
teddit
52bc1f4945
rewrite urls for embedded Reddit media in post comments ( #345 )
2022-09-06 20:08:19 +02:00
Abdelkarim Djelalda
f7082acc41
change deleted user's comment to #cc6a6a
2022-07-07 14:35:31 +01:00
Abdelkarim Djelalda
f33d78f6a4
Integrate Reveddit with deleted comments
2022-07-06 01:44:50 +01:00
teddit
07050c9cf6
properly fix 'continue this thread' links - no need to req.url checking (ref #82 )
2022-06-27 21:48:40 +02:00
teddit
02fd92ce2c
fix 'continue this thread' links ( fixes #82 )
2022-06-27 03:23:29 +02:00
redmt
fc56f0a833
Update processJsonPost.js to include gallery image captions
2022-06-11 20:55:14 +02:00
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