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
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 #274
2021-12-21 22:19:38 +01:00
teddit
4bf092e481
Merge pull request 'Add an "Operated by" note to the PussTheCat.org instance' ( #272 ) 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
teddit
992429818f
Merge pull request 'add teddit.adminforge.de' ( #271 ) from dominion/teddit:main into main
...
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/271
2021-12-18 14:30:18 +01:00
dominion
2ea766e01a
„README.md“ ändern
2021-12-18 14:28:26 +01:00
dominion
fd3d96a8d3
add teddit.adminforge.de
2021-12-18 14:27:56 +01:00
teddit
be28d7fdfa
Merge pull request 'Add instance teddit.totaldarkness.net' ( #270 ) from TotalDarkness/teddit:main into main
...
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/270
2021-12-18 14:18:33 +01:00
TotalDarkness
168d896e69
Add instance teddit.totaldarkness.net
2021-12-18 03:46:53 -05:00
teddit
126eb5d0cc
Merge pull request 'docs(instances): iba...onion is associated with xug...i2p' ( #269 ) from curben/teddit:onion-i2p into main
...
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/269
2021-12-12 11:51:50 +01:00
Ming Di Leom
0cf6a2228f
docs(instances): iba...onion is associated with xug...i2p
...
- https://mdleom.com/about/#Services
2021-12-11 05:41:17 +00:00
teddit
b476f9f2b6
update dependencies
2021-11-30 14:40:29 +01:00
teddit
0eb5ce1b6e
Merge pull request 'Proxyable embeds for imgur' ( #249 ) from 3np/teddit:imgur-proxy into main
...
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/249
2021-11-27 15:07:48 +01:00
teddit
c9637524ec
set cache_control_interval in hours instead of milliseconds
2021-11-27 14:57:38 +01:00
teddit
9783091216
mention that config.cache_control_interval is in milliseconds
2021-11-26 23:04:46 +01:00
teddit
08e9f90233
update the descriptions for cache_control keys
2021-11-26 21:46:24 +01:00
teddit
30d0000dca
fix the default config.cache_control_interval to 24 hours instead of 30 minutes
2021-11-26 21:34:51 +01:00
teddit
d895e400ef
rewrite the cache control script
2021-11-26 21:33:12 +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
660e5681be
Merge pull request 'Add teddit.sethforprivacy.com instance.' ( #264 ) from sethforprivacy/teddit:sethforprivacy-patch-1 into main
...
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/264
2021-11-22 20:48:11 +01:00
sethforprivacy
631b63c6eb
Add teddit.sethforprivacy.com instance.
2021-11-22 20:44:29 +01:00
teddit
59bacc0fde
Merge pull request 'Adding reddit.lol to public instances' ( #263 ) from tacerus/teddit:public-instances-patch-01 into main
...
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/263
2021-11-22 18:46:03 +01:00
tacerus
a37d20f889
Adding reddit.lol to public instances
...
Signed-off-by: tacerus <tacerus@noreply.codeberg.org>
2021-11-22 01:58:30 +01:00
teddit
f8e6d326ba
disallow Applebot, crawls way too much
2021-11-18 20:29:24 +01:00
teddit
998fa01a39
Merge pull request 'Add a production-ready compose and enhance the development one' ( #256 ) from TheFrenchGhosty/teddit:better-compose into main
...
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/256
2021-11-04 16:23:10 +01:00
TheFrenchGhosty
adf8258670
Add a note for a production-ready teddit not behind a reverse proxy
2021-11-04 16:17:54 +01:00
TheFrenchGhosty
db63adcb7d
Add a comment to the development compose
2021-11-04 16:13:57 +01:00
TheFrenchGhosty
43f846c1e5
Remove the useless environment variables added by mistake to the development compose
2021-11-04 16:12:10 +01:00
TheFrenchGhosty
eb8e1f394b
Add a production-ready compose and enhance the development one
2021-11-04 16:05:31 +01:00