Commit Graph

666 Commits

Author SHA1 Message Date
analogue 9b6dec1108 Merge branch 'main' into origin/fix_static_links_when_https_disabled 2022-03-29 22:24:56 +02:00
analogue 4bb02eaf03 Use proper https_enabled flag 2022-03-29 20:22:30 +00:00
teddit 09ca31701a add instance rdt.trom.tf (#304) 2022-03-29 17:36:48 +02:00
teddit 925fe0565e Merge pull request 'Remove teddit.kavin.rocks from instances.json' (#305) from triallax/teddit:remove-teddit-kavin-rocks-from-instances-file into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/305
2022-03-29 17:28:19 +02:00
teddit 86dab3b816 Merge pull request 'Add teddit.froth.zone to the instance list' (#303) from sammefishe/teddit:teddit.froth.zone into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/303
2022-03-29 17:27:38 +02:00
triallax 87bd0138c1 Remove teddit.kavin.rocks from instances.json 2022-03-29 16:51:52 +02:00
Sam Therapy 4626a0f9bf
Add teddit.froth.zone to the instance list
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-03-28 22:13:29 +02: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
teddit a53a9fc3df Merge pull request 'Show imgur videos' (#299) from StevenNMeza/teddit:show_imgur_videos into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/299
2022-03-04 20:55:05 +01:00
teddit 5c8cbc8595 Merge pull request 'Remove teddit.kavin.rocks from instance list (doesn't work anymore)' (#301) from triallax/teddit:remove-kavin-rocks-instance into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/301
2022-03-04 20:51:39 +01:00
triallax 2b03532289 Remove teddit.kavin.rocks from instance list
I was told by the instance owner that it was shut down due to "an issue
with disk space usage."
2022-03-04 20:49:03 +01:00
StevenNMeza a89ab7d1b5 Show imgur videos 2022-02-24 19:18:09 +01:00
teddit 2d69623bf1 Merge pull request 'Add wget to the Docker so that the healthcheck works' (#295) from TheFrenchGhosty/teddit:wget-docker into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/295
2022-02-08 18:56:58 +01:00
TheFrenchGhosty 1baa654a54 Add wget to the Docker so that the healthcheck works 2022-02-08 18:52:25 +01:00
teddit fa8f0ba02b fix instance onion link (fixes #294) 2022-02-03 18:19:32 +01:00
teddit 8bcbe8d4ee fix instance onion link (fixes #294) 2022-02-03 18:06:26 +01:00
teddit 6c84bdd1e3 set show_upvotes checked by default 2022-01-31 19:21:13 +01:00
teddit d71c88871c Merge pull request 'Add option to hide posts upvotes and comments points' (#293) from sartateme/teddit:main into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/293
2022-01-31 19:18:58 +01:00
sartateme 274a8be24e Add option to hide posts upvotes and comments points 2022-01-31 15:31:00 +01:00
teddit 3ef2f004ea Merge pull request 'Improve The Way Long Source URLs Are Displayed' (#292) from amrw/teddit:improve-long-source-url-display into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/292
2022-01-30 21:04:56 +01:00
amrw 063523ed4d
Improve how long source URLs are displayed 2022-01-30 20:42:29 +01:00
teddit 7c7709e74f improve subreddit search, include sort and t params (#204) 2022-01-30 01:33:58 +01:00
teddit eac2627114 update version 0.4.1 => 0.4.2 2022-01-30 00:01:28 +01:00
teddit 265c33fcd2 use 24 hours interval if the interval value (config.cache_control_interval) is set to over 1000. fixes cache control for older config.cache_control_interval values 2022-01-29 23:53:51 +01:00
teddit 01c41c7adf link instances.json to ./static/instances.json (to make it accessible via instances) 2022-01-29 15:35:04 +01:00
teddit 397a02c821 add instances file, instances.json 2022-01-29 15:25:08 +01:00
teddit 3ad64d5c87 use apt-get instead of apt 2022-01-29 14:53:45 +01:00
teddit d315051a7b fix mime type in POST import_prefs 2022-01-29 14:49:47 +01:00
teddit d947182058 Merge pull request 'Use slim node image instead of alpine' (#288) from austinhuang.me/teddit:austinhuang.me-patch-1 into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/288
2022-01-29 14:40:41 +01:00
teddit e87b811883 Merge pull request 'Support redd.it short url redirections' (#290) from austinhuang.me/teddit:austinhuang.me-patch-3 into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/290
2022-01-29 14:40:08 +01:00
teddit 446f388be2 Merge pull request 'Improve domain replacement regex' (#289) from austinhuang.me/teddit:austinhuang.me-patch-2 into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/289
2022-01-29 14:38:44 +01:00
teddit 791a80b337 fix invalid mime type (fixes #291) 2022-01-29 14:35:03 +01:00
teddit 301774ce8d update node-fetch@2.6.7 - fixes CVE-2022-0235 (teddit is not affected) 2022-01-29 14:27:14 +01:00
Austin Huang 08437d8663
Support redd.it short url redirections
Close #273
2022-01-26 13:56:40 -05: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
Austin Huang c97fb5a517
Use slim node image instead of alpine
Signed-off-by: Austin Huang <im@austinhuang.me>
2022-01-26 11:49:47 -05:00
teddit 1efe34c0ad add description for config.api_force_https 2022-01-18 19:54:26 +01:00
teddit 7a9603f850 add teddit.bus-hit.me instance (#285) 2022-01-18 19:52:08 +01:00
teddit 15256b1cd8 add a config to force https for api permalinks (#285) 2022-01-18 19:47:16 +01:00
teddit bc274e9660 Merge pull request 'change markdown code blocks in README.md to improve syntax highlighting' (#283) from eUgEntOptIc44/teddit:eugentoptic44-improve-syntax-highlighting into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/283
2022-01-13 17:30:14 +01:00
teddit ab44566561 Merge pull request 'add dependabot config for npm dependencies' (#282) from eUgEntOptIc44/teddit:eugentoptic44-npm-dependabot-scanning into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/282
2022-01-13 17:29:53 +01:00
teddit a411df0503 Merge pull request 'Fix forced configuration options' (#276) from nfusionz/teddit:main into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/276
2022-01-13 17:22:12 +01:00
Jean-Luc Tibaux 849475925d changed markdown code blocks to improve syntax highlighting
changed from e.g. console -> docker to improve general readability
2022-01-12 09:25:22 +01:00
Jean-Luc Tibaux dd45b2633a add dependabot config for npm dependencies
for dependabot config docs -> please also see: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates#package-ecosystem
2022-01-10 18:03:31 +01:00
nfusionz fcc0fce890 Some config settings set to default to true
- If the environmental variable isn't set, default to true.
2021-12-29 22:09:43 -05:00
nfusionz c1faeeb05c Fix forced configuration options 2021-12-29 21:44:57 -05:00
teddit 734ac6a817 Merge pull request 'Fix: API light mode subreddit' (#279) from gawii0/teddit:main into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/279
2021-12-29 00:08:32 +01:00
gawii0 2e030e2c4b Fix: API light mode subreddit 2021-12-28 22:58:34 +01:00
teddit 010c934d60 update dependencies 2021-12-27 18:51:13 +01:00
teddit ab076d020f Merge pull request 'API light mode subreddit' (#277) from gawii0/teddit:main into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/277
2021-12-27 18:25:08 +01:00