Commit Graph

57 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 24c55d8708 move body splitting inside try block 2021-03-31 21:12:14 +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 26dc6be763 check if config.rate_limiting exists 2021-03-28 07:16:00 +02:00
teddit 71f99b44fc add rate limiting feature 2021-03-27 21:09:18 +01:00
teddit 9e3173a62e fix /r/:subreddit/search redis key 2021-03-23 19:40:26 +01:00
teddit 2aab161527 add support for /poll urls 2021-03-21 23:06:05 +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 15250a1c00 return when sending json 2021-03-20 17:30:58 +01:00
teddit caf8901e47 add feature: export and import preferences as json file 2021-03-19 20:40:24 +01:00
StevenNMeza 7e3535b88b Do not run a search if there is no query 2021-03-19 19:20:12 +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 f33f0f9ffa add support for user created custom feeds #162 2021-03-15 18:38:30 +01:00
teddit f40816d7fc make a preference for image sizes in posts, fix #119 2021-03-01 19:01:02 +01:00
teddit aeeeaa76b7 feature for ex-/including saved posts when exporting preferences 2021-02-13 13:29:47 +01:00
teddit 4c03933318 fix error message for empty /saved 2021-02-06 20:27:21 +01:00
teddit 5ae520b5ed feature for saving posts 2021-02-06 20:17:36 +01:00
teddit 6cd00468e4 support short gallery urls 2021-01-31 16:43:07 +01:00
teddit 6eb6c73b18 add import/export feature for preferences 2021-01-30 22:16:56 +01:00
teddit cf2fe7f9f1 fix /user/ redirect route 2021-01-29 20:09:26 +01:00
teddit d6e1a98187 add fixes for #139 2021-01-29 19:41:32 +01:00
juzz 7555a3c75e 131 post kind on user page without oauth 2021-01-28 08:41:56 +11:00
juzz 833d3b32cd fix short comment URLs #114 2021-01-19 21:21:48 +11:00
teddit 3e01937247 add '/subreddits' feature for searching and exploring subreddits 2021-01-17 17:29:49 +01:00
teddit 9dea345a03 add /r/random support 2021-01-17 13:41:25 +01:00
teddit f368b40dda add subscribe to subreddit feature 2021-01-08 21:39:46 +01:00
StevenNMeza 3fdb74dd7b Do not run a search if only `/search` is requested 2021-01-07 13:18:39 +01:00
teddit d2769937ac add user support for teddit api 2021-01-06 16:06:11 +01:00
teddit 11c06bcc29 add wiki support 2021-01-05 02:41:57 +01:00
juzz c9b0d33faa #91 added preference to highlight controversial comments 2021-01-05 08:50:47 +11:00
teddit d9e616a469 fix search results, fix #65 2021-01-01 18:18:54 +01:00
teddit 32cfd2f178 fix logging messages 2020-12-30 18:22:55 +01:00
teddit 7464569b5d make teddit hostable without reddit oauth api 2020-12-30 18:15:04 +01:00
teddit f220b37012 add nsfw warnings for subreddits too 2020-12-28 00:16:45 +01:00
teddit 5f8e8eb7a3 add nsfw warning pages to posts when nsfw content is disabled 2020-12-27 23:25:39 +01:00
teddit 357c6402cd support contest mode 2020-12-27 18:56:27 +01:00
teddit 8a5334c9ac add flairs to preferences 2020-12-24 22:13:08 +01:00
teddit 0ce28e6d05 fix #74 2020-12-23 19:42:53 +01:00
teddit 40364d6b22 add feature: sort comments in post 2020-12-23 12:41:10 +01:00
teddit 8a78051534 add teddit api support for subreddits 2020-12-19 20:52:22 +01:00
teddit 36bee6ef19 fix routing order 2020-12-19 12:20:43 +01:00
teddit 67db416381 rm reduntant front ':sort?' route 2020-12-19 12:14:10 +01:00
teddit a8b3f8854b add short url support #21 2020-12-09 19:06:25 +01:00
teddit 073a1a94c9 pass encoded urls to fetch 2020-12-06 21:59:40 +01:00
teddit 9531e5527d check that morechildren data has .things 2020-12-06 15:42:19 +01:00
teddit 3814a67517 sorting comments in post to config file 2020-12-03 17:15:43 +01:00
teddit 15a976c886 add dedicated config file 2020-12-01 20:16:51 +01:00