Commit Graph

441 Commits

Author SHA1 Message Date
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
teddit
67e6d5d39d poll typo 2021-03-21 23:08:24 +01:00
teddit
2aab161527 add support for /poll urls 2021-03-21 23:06:05 +01:00
teddit
ef07b9af6e finetune poll css 2021-03-21 23:04:54 +01:00
teddit
f44f093fc2 add poll support 2021-03-21 22:59:10 +01:00
teddit
fa5e3337c7 replace reddit links by default 2021-03-21 21:48:28 +01:00
teddit
e209391665 up version 2021-03-21 21:23:21 +01:00
teddit
4c33ea345d add missing user_preferences parameter 2021-03-21 21:22:14 +01:00
teddit
c120c8b5a5 add replacePrivacyDomains() 2021-03-21 21:20:45 +01:00
teddit
3e9868fd5e replace youtube/twitter/instagram with privacy respecting ones 2021-03-21 21:14:11 +01:00
teddit
d963c14155 fix export feature when not exporting saved posts 2021-03-21 20:20:47 +01:00
teddit
dbe86258d7 ignore urls starting with /r/ 2021-03-21 18:32:13 +01:00
teddit
d7c1d88ef4 remove surveillance cryptocurrency from donation methods 2021-03-21 18:30:26 +01:00
teddit
b3e5816d7d rewrite redd.it and its subdomains to teddit domain, fixes #120 2021-03-20 19:06:54 +01:00
teddit
531509bf86 replace all (*.)reddit.com domains with teddit domain #120 2021-03-20 18:46:02 +01:00
teddit
15250a1c00 return when sending json 2021-03-20 17:30:58 +01:00
teddit
e938822277 up version 2021-03-19 21:52:39 +01:00
teddit
caf8901e47 add feature: export and import preferences as json file 2021-03-19 20:40:24 +01:00
teddit
41c62b37a7 fix Pug security vulns. see more PR #165 2021-03-19 19:56:43 +01:00