1
0
mirror of https://codeberg.org/teddit/teddit synced 2025-03-06 04:27:41 +01:00

809 Commits

Author SHA1 Message Date
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' () 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)' () 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' () 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 ) 2022-02-03 18:19:32 +01:00
teddit
8bcbe8d4ee fix instance onion link (fixes ) 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' () 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' () 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 () 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' () 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' () 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' () 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 ) 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 
2022-01-26 13:56:40 -05:00
Austin Huang
b5878ea031
Improve domain replacement regex
1. Let regex only match href, close 
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 () 2022-01-18 19:52:08 +01:00
teddit
15256b1cd8 add a config to force https for api permalinks () 2022-01-18 19:47:16 +01:00
teddit
bc274e9660 Merge pull request 'change markdown code blocks in README.md to improve syntax highlighting' () 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' () 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' () 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' () 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' () from gawii0/teddit:main into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/277
2021-12-27 18:25:08 +01:00
gawii0
0d2de61444 Update handleTedditApiSubreddit 'routes/user.js' 2021-12-27 18:19:05 +01:00
gawii0
e870b9ea50 Update handleTedditApiSubreddit 'routes/subreddit.js' 2021-12-27 18:18:21 +01:00
gawii0
e0bf08132d Update handleTedditApiSubreddit 'routes/home.js' 2021-12-27 18:17:15 +01:00
gawii0
aa3a854b6e API light mode subreddit 2021-12-24 15:37:46 +01:00
teddit
8315ad3f16 make the preference show_upvoted_percentage configurable via config.js 2021-12-21 22:19:38 +01:00
teddit
4bf092e481 Merge pull request 'Add an "Operated by" note to the PussTheCat.org instance' () from TheFrenchGhosty/teddit:operated-by-pussthecat-org into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/272
2021-12-18 21:46:07 +01:00
TheFrenchGhosty
cadf67f488 Add an "Operated by" note to the PussTheCat.org instance 2021-12-18 21:28:56 +01:00