Commit Graph

559 Commits

Author SHA1 Message Date
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
teddit
a143eeb2fe add full post image support for subreddit rss #175, also add console.log for teddit api requests 2021-03-27 16:08:15 +01:00
teddit
e6fd980ca9 Merge pull request 'Theme is set to "Auto" when no theme is selected.' (#170) from meyagci/teddit:main into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/170
2021-03-27 15:24:56 +01:00
teddit
d90d741475 add 'auto' option for theme and make it the default value. related to #170 2021-03-27 15:23:14 +01:00
teddit
e1302eb4fd Merge pull request #3 from sethsimmons/main [PR FROM GITHUB] 2021-03-26 20:55:24 +01:00
teddit
8a858fe05e Merge pull request 'Update 'CHANGELOG.md'' (#172) from random_guy52/teddit:main into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/172
2021-03-26 17:52:22 +01:00
random_guy52
0e2a1a988a Update 'CHANGELOG.md' 2021-03-26 03:18:26 +01:00
meyagci
7984e0cdf4 Merge branch 'main' into main 2021-03-23 22:27:06 +01:00
teddit
9e3173a62e fix /r/:subreddit/search redis key 2021-03-23 19:40:26 +01:00
meyagci
8a2a1e5cd1 Theme is set to "Auto" when no theme is selected.
This will make the website behave according to user's browser theme
unless they specify otherwise.
2021-03-23 16:32:39 +01:00
teddit
8e3afb71d9 restrict user icon size 2021-03-22 19:28:27 +01:00
teddit
a1ab3e7635 create icons dir 2021-03-22 19:25:52 +01:00
teddit
489a8dd864 Merge pull request 'Display profile icons' (#169) from StevenNMeza/teddit:profile_picture into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/169
2021-03-22 19:24:51 +01:00
StevenNMeza
9da8449ee5 Display profile icons 2021-03-22 19:06:57 +01:00
teddit
fde2500ae9 add favicon.ico 2021-03-22 17:07:19 +01:00