Commit Graph

75 Commits

Author SHA1 Message Date
ConcordOne 8d800e490c
Catch errors when invalid data is received from Reddit in the user route 2023-06-06 20:19:01 +03:00
teddit 68aed7b9be add support for 7 character IDs for short urls (#290) 2023-02-26 13:47:10 +01:00
The1029 596e8ef093 added else statements for prefer_frontpage and show_large_gallery_images 2023-01-22 11:51:32 +00:00
CosmosDev 2c5c9d7cde Add support for subreddits explore API 2022-12-15 22:03:49 +01:00
CosmosDev 54c658ff9b Clean code 2022-12-15 21:38:21 +01:00
CosmosDev baddb1aec2 Add suport for subreddit search API 2022-12-15 20:21:12 +01:00
CosmosDev eec2a24eb3 Add support for subreddit about API 2022-12-15 19:10:32 +01:00
CosmosDev 0852396b6d Add support for post API 2022-12-14 22:08:12 +01:00
Jean-Luc Tibaux 45dc798eef implement imgur replacement (#341) 2022-11-12 13:47:08 +00:00
teddit a4b130af81 Merge pull request 'Add Quetre option' (#356) from alan2b7/teddit:add-quetre-option into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/356
2022-10-18 16:31:29 +02:00
alan bc3af7b609 Add Quetre option 2022-10-15 06:23:48 +02:00
Austin Huang 0cf3d6d6c9
Add preview.redd.it to replaceable_media_domains
Since you already replace preview.redd.it links like so in post contents
2022-10-15 00:20:41 -04:00
teddit 52bc1f4945 rewrite urls for embedded Reddit media in post comments (#345) 2022-09-06 20:08:19 +02:00
teddit 07050c9cf6 properly fix 'continue this thread' links - no need to req.url checking (ref #82) 2022-06-27 21:48:40 +02:00
teddit 02fd92ce2c fix 'continue this thread' links (fixes #82) 2022-06-27 03:23:29 +02:00
teddit a0c74aa309 fix sortby key, should be confidental and not best 2022-06-11 21:55:32 +02:00
teddit 4663b3a78d Merge pull request 'Add setting for preferred default comment sorting' (#319) from redmt/teddit:default_comment_sorting into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/319
2022-06-11 21:44:47 +02:00
redmt 4ff7152be1 Add setting for preferred default comment sorting 2022-06-11 21:40:12 +02:00
StevenNMeza 231348e75e Fix error in the search route 2022-06-11 21:34:00 +02:00
redmt 9fd891b474 Add setting to show large gallery images with captions 2022-06-11 21:04:55 +02:00
teddit 28c3c60078 add missing config require 2022-06-11 19:53:25 +02:00
redmt 1f6f5d621d Update user.js to pass instance_config to template 2022-06-11 19:40:37 +02:00
redmt 53a5766de7 Update static.js to pass instance_config to template 2022-06-11 19:40:36 +02:00
redmt a0fcdf101e Update search.js to pass instance_config to template 2022-06-11 19:40:34 +02:00
redmt 55bd044b06 Update save.js to pass instance_config to template 2022-06-11 19:40:32 +02:00
redmt b2dba3f723 Update preferences.js to pass instance_config to template 2022-06-11 19:40:31 +02:00
redmt 8f57cb143b Update home.js to pass instance_config to template 2022-06-11 19:40:29 +02:00
redmt afbad4ae3b Update subreddit.js to pass instance_config to template 2022-06-11 19:40:26 +02:00
redmt cfdfd4a2b1 Rename internal_config to instance_config for homepage.pug 2022-06-11 19:40:16 +02:00
teddit b797cef167 fix clean_homepage feature so that the user can enable or disable it despite of the instance config 2022-06-11 13:42:19 +02:00
redmt fb6673265e Add cleaned homepage 2022-06-10 22:24:58 +02:00
redmt 546fdb5d77 Convert 'on' value in prefer_frontpage setting to 'true' 2022-06-10 22:22:37 +02:00
redmt 6c52664155 Add setting to preferences for preferred homepage mode 2022-06-10 21:24:13 +02:00
redmt 27ade36805 Rename index.pug to frontpage.pug 2022-06-10 20:05:36 +02:00
teddit 8ccc694d2f fix media proxying (clicking preview.redd.it image links was broken after 3612345fab 2022-05-01 19:14:39 +02:00
teddit 3612345fab proxy i.redd.it and v.redd.it media links in comments (#307) 2022-04-11 21:30:41 +02:00
sartateme 274a8be24e Add option to hide posts upvotes and comments points 2022-01-31 15:31:00 +01:00
teddit 7c7709e74f improve subreddit search, include sort and t params (#204) 2022-01-30 01:33:58 +01:00
teddit d315051a7b fix mime type in POST import_prefs 2022-01-29 14:49:47 +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 791a80b337 fix invalid mime type (fixes #291) 2022-01-29 14:35:03 +01:00
Austin Huang 08437d8663
Support redd.it short url redirections
Close #273
2022-01-26 13:56:40 -05: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
teddit 8315ad3f16 make the preference show_upvoted_percentage configurable via config.js #274 2021-12-21 22:19:38 +01: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
json e1df2ea8ae convert processJsonSubredditsExplore to async function 2021-09-08 13:46:41 +01:00