Commit Graph

594 Commits

Author SHA1 Message Date
teddit d895e400ef rewrite the cache control script 2021-11-26 21:33:12 +01: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
json 93f70533aa remove unused processJsonPost functions 2021-09-08 13:40:18 +01:00
json f3cc837a01 convert processJsonUser to async function 2021-09-08 13:40:18 +01:00
json d1ef359435 remove unused processJsonUser function 2021-09-07 13:19:28 +01:00
json 7f347d13f7 add prettierrc 2021-09-07 13:11:57 +01:00
teddit 6433afde09 add teddit.pussthecat.org 2021-09-06 18:37:42 +02:00
teddit 47918f3be7 update version 0.3.8 -> 0.4.0 2021-09-04 20:42:18 +02:00
teddit c76bd38e82 include missing redis 2021-09-04 14:42:20 +02:00
teddit 0dab483a17 fix video duration CSS 2021-09-04 14:35:49 +02:00
teddit bd010e3b36 Merge pull request 'clean up routes.js' (#234) from json/teddit:routes-cleanup into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/234
2021-09-04 14:20:00 +02:00
json 69725d54c7 export helper functions from app.js 2021-09-02 21:42:33 +01:00
json 53e4d66f07 delete routes.js 2021-09-02 21:24:10 +01:00
json 57c149d355 require all route helper functions 2021-09-02 21:23:28 +01:00