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
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
3np
3fdccd49d5
Create upload directories if they don't exist
2021-04-06 03:25:34 +09: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
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
408eb259f4
fix unescape's regex, put dot inside character class. fixes #128
2021-01-22 18:23:38 +01:00
teddit
fff9c2d5b9
convert reddit.com links to instance domain
2021-01-16 21:14:12 +01:00
teddit
d3444d1f4a
fix gallery urls #95
2021-01-04 17:42:49 +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
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
12a71d3980
add catches
2020-12-05 21:34:08 +01:00
teddit
fdfcd554f8
initial commit
2020-11-17 21:44:32 +01:00