Commit Graph

806 Commits

Author SHA1 Message Date
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
teddit 692d6164b3 update dependencies 2021-10-30 19:32:35 +02:00
teddit c34c32cc35 check that reddit_video_preview.fallback_url exists (fixes #255) 2021-10-30 19:26:54 +02:00
teddit a9f13741bb check that post media_metadata exists (fixes #250) 2021-10-08 06:46:37 +02:00
teddit 5a01338428 update dependencies - fixes security vulns on loadash 2021-10-07 17:54:56 +02:00
teddit c4d167c787 validate json before processing it (fixes #247) 2021-10-06 17:38:08 +02:00
teddit d475407061 use fullchain.pem instead of chain.pem 2021-10-04 20:28:57 +02:00
teddit 9d01c544d1 Merge pull request 'Improve table list' (#245) from arche_dev/teddit:table-patch into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/245
2021-10-04 07:32:28 +02:00
arche_dev d2feeac288 Improve table list
Added I2P Section and moved links to there respective columns.
2021-10-04 03:30:52 +02:00
teddit 8bb949b2b3 redirect http => https before initializing reddit API (fixes #241) 2021-09-19 20:48:51 +02:00
teddit 9e515c4985 fix setting the duration (fixes #240) 2021-09-12 18:03:00 +02:00
teddit 0707349a85 update version 0.4.0 --> 0.4.1 2021-09-09 19:29:05 +02:00
teddit cc9d9e5579 add missing await for processMoreComments 2021-09-09 19:28:02 +02:00
teddit 873e56a23b use async for processMoreComments 2021-09-09 19:19:52 +02:00
teddit a6b9599463 fix including processMoreComments() 2021-09-09 18:25:20 +02:00
teddit 813fb3566c convert processMoreComments to use async function 2021-09-09 18:19:27 +02:00
teddit 4cc8dd7bd5 Merge pull request 'Use async functions' (#239) from json/teddit:async-await into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/239
2021-09-09 18:17:00 +02:00
json e1df2ea8ae convert processJsonSubredditsExplore to async function 2021-09-08 13:46:41 +01:00
json 6ced924bc8 remove unused processSubredditsExplore function 2021-09-08 13:46:41 +01:00
json 6ff892767c convert processJsonSubreddit to async function 2021-09-08 13:46:41 +01:00
json 153a50e60a convert processSearchResults to async function 2021-09-08 13:46:41 +01:00
json 0bf3e36c56 remove unused processSearchResults function 2021-09-08 13:46:41 +01:00
json 9bc3ff8d34 remove unused handleTedditApiUser function 2021-09-08 13:46:41 +01:00
json 711f2450c7 change callback to await in processSubredditAbout 2021-09-08 13:46:41 +01:00
json aae3e00ab1 convert processSubredditAbout to async function 2021-09-08 13:46:28 +01:00
json 1c7a3a8f5a separate redis from app.js 2021-09-08 13:40:18 +01:00
json 5f5388da6f remove unused processSubredditAbout function 2021-09-08 13:40:18 +01:00
json d95642cf80 convert processJsonPost to async functions 2021-09-08 13:40:18 +01:00