Commit Graph

523 Commits

Author SHA1 Message Date
teddit
417cfba394 add support for setting preferences for privacy domains via URL 2021-04-13 16:40:20 +02:00
zutart
a6fe688a74 Merge branch 'main' into main 2021-04-13 16:31:50 +02:00
teddit
a72e6e65af show subreddit moderators list on subreddit sidebar (ref #104) 2021-04-11 14:28:41 +02:00
teddit
670e3104b7 add 'Submitted by username to /r/subreddit' to start of rss feeds if it is a submission (ref #104) 2021-04-11 12:53:03 +02:00
teddit
933a70cc83 make the wikipagelisting logic a bit cleanier 2021-04-11 12:13:22 +02:00
teddit
b5fe2e1c1f add support for wikipagelistings 2021-04-11 12:10:19 +02:00
teddit
22efb3e380 collapse only 1st level child comments automatically if collapse_child_comments preference is true 2021-04-10 18:03:10 +02:00
teddit
b9d93d4c15 fix processMoreComments.js 2021-04-10 15:44:39 +02:00
teddit
567e6f7797 fix load more comments (morechildren-endpoint), fixes #122 2021-04-10 15:42:01 +02:00
zutart
d31f6a97e8 Merge branch 'main' into main 2021-04-09 22:29:39 +02:00
Michael Zufelt
369bf95539 Additional env variable descriptions 2021-04-09 16:29:20 -04:00
Michael Zufelt
4f12806953 Removed TODO and Roadmap 2021-04-09 16:23:49 -04:00
teddit
006ac93de5 up version 2021-04-08 17:06:42 +02:00
teddit
769205d4d7 we need user_preferences for the 2nd argument for replaceDomains() to work properly #187 2021-04-08 17:04:50 +02:00
teddit
cc8b893fbc Merge pull request 'Rewrite domains of embedded/youtube media' (#187) from 3np/teddit:rewrite-youtube into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/187
2021-04-08 16:50:16 +02:00
teddit
aa8d3f3452 Merge pull request 'docker-upload-directories' (#185) from 3np/teddit:docker-upload-directories into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/185
2021-04-08 16:46:18 +02:00
Michael Zufelt
611361ef47 Full env variable table built 2021-04-08 10:14:52 -04:00
Michael Zufelt
f5a7882899 Partial update to README 2021-04-08 09:35:33 -04:00
3np
7b83daef55 Rewrite domains of embedded/youtube media 2021-04-07 13:31:13 +09:00
3np
68c2a354e4 Use relative paths in Dockerfile 2021-04-07 13:10:06 +09:00
3np
f0b2204e72 Set global write permissions on upload directories
To play nicely with tmpfs mounts
2021-04-06 03:25:34 +09:00
3np
3fdccd49d5 Create upload directories if they don't exist 2021-04-06 03:25:34 +09:00
teddit
e12929960a remove redundant code from prev commit 2021-04-05 18:03:40 +02:00
teddit
d156a1ac45 add thumbnail image for subreddit rss if full image is missing #175 2021-04-05 18:02:12 +02:00
teddit
a75a6f34bb Merge pull request 'Add configuration for domain_replacements' (#184) from 3np/teddit:generic-domainreplace into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/184
2021-04-05 17:23:52 +02:00
3np
a2cab737f8 Add configuration for domain_replacements 2021-04-06 00:12:31 +09:00
teddit
649132ef94 Merge pull request 'Add config REDIS_DB, REDIS_PASSWORD' (#183) from 3np/teddit:redis-conf into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/183
2021-04-05 12:13:44 +02:00
3np
be1e26beff Merge branch 'main' into redis-conf 2021-04-05 12:12:45 +02:00
3np
8b366d9ffd Add config REDIS_DB, REDIS_PASSWORD 2021-04-05 19:11:11 +09:00
teddit
faf5a095ac Merge pull request 'Update docker nodejs to latest LTS' (#182) from 3np/teddit:upgrade-nodejs into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/182
2021-04-05 12:11:01 +02:00
3np
0748495915 Update docker nodejs to latest LTS 2021-04-05 19:09:48 +09:00
teddit
b69c953148 fix upvote ratio percentage rounding #181 2021-04-02 21:12:04 +02: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
ed4c99fbbc Merge pull request 'Fixed: Incorrect theme for some pages' (#180) from meyagci/teddit:main into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/180
2021-04-02 09:30:46 +02:00
memreyagci
88621b9ecd Fixed: Theme of wiki and saved pages were set to white even though
the setting was auto and the browser had a dark theme.
2021-04-01 22:29:47 +02:00
teddit
24c55d8708 move body splitting inside try block 2021-03-31 21:12:14 +02:00
teddit
156c7ba40a return on empty strings 2021-03-31 20:48:59 +02:00
teddit
4228e31ee4 console.log instead of console.error on invalid s and send 404 response on apple favicon shit 2021-03-31 20:34:59 +02:00
teddit
2ac70bc520 in ratelimiting: return on ´next()´s 2021-03-31 19:48:15 +02:00
teddit
4216832cfb on gallery urls, add media_metadata[i].p check 2021-03-31 19:33:09 +02:00
teddit
2bffcd3a27 remove unnecessary post_id 2021-03-31 19:29:56 +02:00
teddit
b40fbf8efd add mention about docker image 2021-03-28 16:58:05 +02:00
teddit
af83447951 improve error messages 2021-03-28 16:55:16 +02:00
teddit
840a7e28ad improve reddit error messages 2021-03-28 16:35:45 +02:00
teddit
ac900088a2 add error notice if reddit is down 2021-03-28 15:30:24 +02:00
teddit
26dc6be763 check if config.rate_limiting exists 2021-03-28 07:16:00 +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
c30a191d78 add rate limiting feature 2021-03-27 21:05:53 +01:00
teddit
4790074c30 add option to show full post images in the rss feeds with full_thumbs query 2021-03-27 16:58:56 +01:00