Commit Graph

33 Commits

Author SHA1 Message Date
json
69725d54c7 export helper functions from app.js 2021-09-02 21:42:33 +01:00
teddit
e0b5cc6e40 introduce a cache control: a way of keeping the cache directory under certain size (should fix #229) 2021-08-24 17:17:46 +02:00
3nprob
73a8391f2e Add http(s) proxy support 2021-08-17 03:53:42 +09:00
josiah
386e5fad78 added my instance to README and fixed expresss not binding to config.listen_address 2021-06-13 21:52:25 -05:00
3np
3fdccd49d5 Create upload directories if they don't exist 2021-04-06 03:25:34 +09:00
3np
8b366d9ffd Add config REDIS_DB, REDIS_PASSWORD 2021-04-05 19:11:11 +09:00
teddit
dab4e8a8fe move the preferences middleware to routes.js, away from the app.js - no need to have the middlware on every single request 2021-04-02 15:04:57 +02:00
teddit
a5779cac53 add bodyParser limits 2021-03-27 21:47:11 +01:00
teddit
71f99b44fc add rate limiting feature 2021-03-27 21:09:18 +01:00
teddit
465e599dee add a feature for showing upvote ratio in posts #147 2021-03-18 18:31:41 +01:00
teddit
bd4bc75298 add a feature to the preferences where users can choose to collapse child comments automatically 2021-03-16 18:07:27 +01:00
teddit
f40816d7fc make a preference for image sizes in posts, fix #119 2021-03-01 19:01:02 +01:00
juzz
7555a3c75e 131 post kind on user page without oauth 2021-01-28 08:41:56 +11:00
juzz
c9b0d33faa #91 added preference to highlight controversial comments 2021-01-05 08:50:47 +11:00
teddit
0c071f475f add theme to config file, fix #33 2021-01-01 17:15:11 +01:00
teddit
5f8e8eb7a3 add nsfw warning pages to posts when nsfw content is disabled 2020-12-27 23:25:39 +01:00
teddit
26f287ef4f rename dist to static, fixes #8 2020-12-25 22:14:24 +01:00
teddit
8a5334c9ac add flairs to preferences 2020-12-24 22:13:08 +01:00
Shaun Collins
ca706be5d5 #51 update theme with url query parameter.
Also fixed a nested comment alternating style issue
2020-12-12 20:26:01 -05:00
teddit
3f3ea32b63 Merge pull request 'Add config option to disable Redis usage' (#45) from agg23/teddit:agg23/DisableRedis into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/45
2020-12-06 11:36:58 +01:00
Adam Gastineau
0a2cca3ee4 Allow disabling Redis usage, for debugging and single user instances 2020-12-05 18:54:38 -08:00
Sam Ratcliffe
2b7ad637fd Add port number to server listen callback log 2020-12-05 17:39:23 -05:00
Adam Gastineau
07a2b98c25 Add support for changing Redis address 2020-12-05 12:48:15 -08:00
teddit
4edeaf45f9 fix media downloading paths 2020-12-05 15:46:28 +01:00
teddit
7eeb213b6a fix trust_proxy_address config 2020-12-05 11:41:49 +01:00
teddit
1dd2cb5fe1 add port for listening http 2020-12-04 23:11:43 +01:00
teddit
da33b5c456 add missing config 2020-12-01 20:20:01 +01:00
teddit
15a976c886 add dedicated config file 2020-12-01 20:16:51 +01:00
teddit
eb78d399b7 add subreddit sidebars 2020-11-29 21:52:26 +01:00
teddit
30a0b24258 fix an issue when url is undefined and post won't load 2020-11-28 17:37:18 +01:00
teddit
8b7f699b3b add www-redirect option 2020-11-25 19:17:35 +01:00
teddit
5e52297481 add dark theme and preferences 2020-11-21 13:50:12 +01:00
teddit
fdfcd554f8 initial commit 2020-11-17 21:44:32 +01:00