Commit Graph

172 Commits

Author SHA1 Message Date
Zed 2c6d2897ae Add experimental infinite scroll 2020-01-07 03:00:16 +01:00
Zed 2e97c1c98f Refactor timeline route 2020-01-07 02:23:20 +01:00
Kadin Buckton 8bffb61e68 Implements OpenSearch support, closes #107 2020-01-03 09:57:36 -05:00
Zed ee43d8cfb1 Catch SSL shutdown errors when closing clients 2020-01-01 17:24:24 +01:00
Zed 1aa1487402 Add t.co and /cards link resolvers
For t.co links: https://t.co/.. -> nitter.net/t.co/..
For card links: https://cards.twitter.com/cards/.. -> nitter.net/cards/...
2019-12-30 11:41:09 +01:00
Zed d27ab68a90 Redirect /statuses/ to /status/
Fixes #105
2019-12-30 10:58:15 +01:00
Zed be15f1b001 Prevent 403 errors from outdated videos 2019-12-22 01:46:21 +01:00
Zed 698ed8a85d
Merge pull request #102 from cyclopsian/int64
Change ID types to int64
2019-12-10 10:18:10 +01:00
Zed 8afad3b937 Fix broken profile RSS
Closes #99, closes #101
2019-12-10 10:11:55 +01:00
Jason Francis 5576cbac8d Change ID types to int64 2019-12-09 18:39:12 -05:00
Zed d93a6691ef Router refactoring 2019-12-08 12:38:55 +01:00
Zed f3aa28709a Support max_position for RSS feeds 2019-12-08 11:56:20 +01:00
Zed ebd7afe464 Support video embeds
Fixes #66
2019-12-06 15:15:56 +01:00
Zed f9c4acabf8 Ignore params for gifs 2019-12-06 15:14:38 +01:00
Zed fddf1d510a Support ?theme= url parameter
Fixes #84
2019-12-06 08:21:37 +01:00
Zed 7c35875fbf Support RSS for multi-timelines 2019-12-04 05:58:18 +01:00
Zed ffba11a565 Add high contrast theme 2019-10-27 11:45:40 +01:00
Zed c3ce397280 Add tweet focus to referer paths 2019-10-26 17:21:35 +02:00
Zed 02b206078d Don't export options from types 2019-10-26 15:34:30 +02:00
Zed a56f217074 Fix exception when image path is empty 2019-10-24 00:04:54 +02:00
Zed 3e661bab8a Add defaultTheme config option 2019-10-23 14:06:47 +02:00
Zed aaf079a141 Alphabetize theme order 2019-10-23 12:46:52 +02:00
Zed ac0e0b5e0d Finalize theme support 2019-10-23 12:37:12 +02:00
Zed 5630a4da32 Add theme option 2019-10-23 11:48:08 +02:00
Zed 813cfefbb4 Refactor list routes 2019-10-23 09:47:02 +02:00
Zed 73afb1d6a4 Link mp4 instead of embed for gif tweet previews 2019-10-23 09:16:27 +02:00
Zed 5979d7f588 Refactoring 2019-10-23 09:03:15 +02:00
Zed ffce6e21ab Use media endpoint for profile media tab
This bypasses "search" rate limits. It now includes media beyond
images and videos (eg. YouTube links are "media"), but the old
behaviour can be restored by clicking search, then filtering "Media"
and excluding retweets and replies.
2019-10-23 08:34:03 +02:00
Zed 1769865964 Include profile picture in preview 2019-10-22 09:28:54 +02:00
Zed 6fb039dd79 Optimize RSS requests by disabling media fetching 2019-10-21 23:12:40 +02:00
Zed ea4a8cab2f Fix white page on cached empty files 2019-10-21 07:59:36 +02:00
Zed a78eea9dce Fix 404 page 2019-10-21 07:59:22 +02:00
Zed cfcd471ffc Use sendFile, refactor mimetypes 2019-10-21 05:55:18 +02:00
Zed de62eedea5 Refactor hostname to be a runtime option
Add a `hostname` field under Server in your conf file, see the
updated nitter.conf in the repo for an example. The compile-time
option (-d:hostname) is no longer used.
2019-10-21 05:19:00 +02:00
Zed 1faf976d7c Use int for tweet ids for correct thread sorting 2019-10-10 18:22:14 +02:00
Zed 4a64bca24c Redirect /settings/personalization
Fixes #70
2019-10-08 20:49:31 +02:00
Zed 211b086f4d Use "max_position" instead of "after" for compat 2019-10-08 15:15:47 +02:00
Zed e090dde1ea Use "tweets" instead of "custom" for search query 2019-10-08 13:54:20 +02:00
Zed 1c9c6a2947 Improve search endpoint compatibility
Fixes #63
2019-10-08 13:45:47 +02:00
Zed 5013197b17 Change /replies to /with_replies for compatibility 2019-10-07 17:46:16 +02:00
Zed ebb89edef6 Use custom 404 page, halt on 404 instead of resp 2019-10-07 16:47:53 +02:00
Zed 8fcdfa744a Fix crash when generating RSS for invalid user 2019-10-07 15:52:44 +02:00
Zed 1871cebf1f Redirect /video alias 2019-10-01 03:28:55 +02:00
Zed 8cae23dc7e Use "q" instead of "text" for search compatibility
Fixes #49
2019-09-30 22:24:01 +02:00
Zed 53a7113905 Add /statuses/ endpoint alias
Fixes #53
2019-09-30 22:07:41 +02:00
Zed 61991a9b56 Support RSS feeds for custom searches
Fixes #45
2019-09-28 03:22:46 +02:00
Zed 9038645bc1 Add support for loading more tweet replies 2019-09-24 15:39:04 +02:00
Zed 43a2bd529c Improve endpoint parity with twitter 2019-09-23 16:12:20 +02:00
Zed 9e3138e51b Add list support 2019-09-21 01:08:30 +02:00
Zed d1fbcef64d Simplify queries 2019-09-20 22:56:27 +02:00
Zed 7639883c6a Cleanup 2019-09-20 15:03:18 +02:00
Zed fd20fcf3ee Support /photo/1 endpoint
Fixes #43
2019-09-20 14:10:10 +02:00
Zed df3001ae95 Support rss for custom search 2019-09-20 03:35:27 +02:00
Zed af23cf0a7f Load prefs from cookie on search page 2019-09-19 06:15:21 +02:00
Zed 70c42dd05a Add search button and fix unset timeline beginning 2019-09-19 04:57:42 +02:00
Zed bd774cf0ca Make queries non-optional 2019-09-19 02:23:22 +02:00
Zed 7d7eb085ca Redesign and fix search, add custom timeline tab 2019-09-19 01:01:47 +02:00
Zed 4971491dfe Options cleanup 2019-09-18 20:54:07 +02:00
Zed 4c748b61a5 Search progress 2019-09-17 21:17:36 +02:00
Zed f707826241 Limit search length 2019-09-17 21:17:36 +02:00
Zed 30bab22dae Add user search 2019-09-17 21:17:36 +02:00
Zed 0c1b8b0190 Add text field to search queries 2019-09-17 21:17:36 +02:00
Zed 2677782286 Improve web preview 2019-09-15 14:03:47 +02:00
Zed 6237460f77 Fix want-my-rss detection 2019-09-15 12:57:44 +02:00
Zed 36484c73fd Support RSS feeds for /media and /replies 2019-09-15 12:10:43 +02:00
Zed 6c479ff7ec Add RSS button to navbar 2019-09-15 11:29:23 +02:00
Zed a87e278a68 Add timeline RSS support 2019-09-15 09:57:45 +02:00
Zed 9c91688497 Restrict image/gif media host instead of hashing 2019-09-13 12:27:04 +02:00
Zed 08239a3fae Fix status page crash 2019-09-09 06:38:25 +02:00
Zed 9ff3ba2005 Show reasons for tweets being withheld
Fixes #33
2019-09-08 14:34:54 +02:00
Zed 43bf6735d4 Refactor api code 2019-09-06 03:37:12 +02:00
Zed 014f01bf88 Refactor routing code 2019-09-06 02:42:35 +02:00