Commit Graph

9 Commits

Author SHA1 Message Date
SimonBrazell 7640e5c6bc Prepare for release 1.1.47 2021-04-16 10:45:15 +10:00
Simon Brazell a45e7def92
Merge pull request #219 from jaki/handle-reddit-img
Redirect reddit images for libreddit instances
2021-04-16 09:34:39 +10:00
Jason Kim 905abce8f7
refactor: drop teddit image redirect support
No longer redirect image links for teddit instances.  Add a comment
detailing the two issues I found.  Now, the feature should be stable.
2021-04-09 00:16:05 -07:00
Jason Kim e86895b008 fix: don't redirect for rest of instances
Unbreak old.reddit.com and i.reddit.com by ignoring image redirects for
them.
2021-04-09 00:00:42 -07:00
Jason Kim 123cca4e5c fix: redirect teddit differently
Teddit image urls are different from libreddit.  Handle each separately.
Test manually:

- libredd.it: pass
- libreddit.spike.codes: pass
- libreddit.kavin.rocks: pass
- libreddit.insanity.wtf: fail (site doesn't work in general)
- libreddit.dothq.co: pass
- teddit.net: mostly fail
- teddit.ggc-project.de: mostly fail
- teddit.kavin.rocks: mostly fail
- old.reddit.com: fail
- i.reddit.com: fail
- snew.notabug.io: fail (site doesn't work in general)

Teddit image urls have two issues.  First, the links almost never work
(404) if the image url is visited directly before visiting the main
page.  Once the main page is visited, however, the image url starts
working.  I'm guessing this is an issue with teddit instances not
fetching images unless the main page is accessed.  Second, some image
links are different/incompatible for some reason.  For example,
<https://i.redd.it/htg3owj12ok21.png> turns into
<https://teddit.net/pics/w:null_TpEyuHnjif6578pV0lBuM-kNW1bXqxbvqbOHjhRZVr0.png>.
Libreddit seems to not have this issue.
2021-04-08 23:37:43 -07:00
Jason Kim 397fd8cffb feat: add img prefix for i.redd.it
"i.redd.it/<imgfile>" redirects "libredd.it/<imgfile>".  Make it
redirect to "libredd.it/img/<imgfile>".  Tested only for "libredd.it".
2021-04-08 22:38:52 -07:00
fattalion 2bb90f8f41 Add SimplyTranslate support 2021-02-25 18:24:37 +03:00
SimonBrazell fbc16cbb89 Fixes #160 - Disable search redirects by default (sorry... 🙂) 2021-01-13 10:34:49 +11:00
SimonBrazell 944f2e6ef0 Restructure code with helper modules, add search engine settings, & advanced settings collapsibles. 2021-01-10 22:04:03 +11:00