Commit graph

33 commits

Author SHA1 Message Date
Zed 1ac389e7c7
GraphQL timeline (#812)
* Update deps

* Replace profile timeline with GraphQL endpoint

* Update GraphQL endpoint versions

* Use GraphQL for profile media tab

* Fix UserByRestId request

* Improve routing, fixes #814

* Fix token pool JSON

* Deduplicate GraphQL timeline endpoints

* Update list endpoints

* Use GraphQL for list tweets

* Remove debug leftover

* Replace old pinned tweet endpoint with GraphQL

* Validate tweet ID

* Minor token handling fix

* Hide US-only commerce cards

* Update config example

* Remove http pool and gzip from token pool

* Support tombstoned tweets in threads

* Retry GraphQL timeout errors

* Remove unnecessary 401 retry

* Remove broken timeout retry

* Update karax, use new bool attribute feature

* Update card test

* Fix odd edgecase with broken retweets

* Replace search endpoints, switch Bearer token

* Only parse user search if it's a list

* Fix quoted tweet crash

* Fix empty search query handling

* Fix invalid user search errors again
2023-04-21 14:41:30 +02:00
Jules Bertholet 81ec41328d
Add redirect for thread links (#647) 2022-06-23 22:47:03 +02:00
Zed 51ae076ea0 Rearchitect profile, support pins, Profile -> User 2022-01-23 07:23:09 +01:00
Zed d96550fcce Minor code improvements 2021-12-30 04:18:40 +01:00
Zed 73b5b60ac3 Add license headers
Closes #413
2021-12-27 02:37:38 +01:00
Zed 1d0f95b79d Fix card video preview 2020-11-09 21:24:34 +01:00
Zed af634231b9 Support card previews 2020-11-09 21:20:33 +01:00
Zed db45433ec4 Optimize usage of cookie preferences 2020-06-09 16:45:21 +02:00
Zed 68a5ac20b6 Proxy media instead of using file cache 2020-06-06 04:39:22 +02:00
Zed 4c928fa8b0 Routing updates 2020-06-02 18:05:54 +02:00
Zed dc3c37b854 Fix renderReplies, take 2 2020-05-01 12:29:01 +02:00
Zed c6215876fa Implement proper infinite scroll for replies
Fixes #125
2020-04-29 18:10:17 +02:00
Zed 92b3ba057d Fix trailing slash routing error
Fixes #146
2020-04-29 15:09:51 +02:00
Zed 240ce15651 Revert og:title for tweets 2020-03-29 23:20:00 +02:00
Zed 8a11b5a167 Add tweet page titles
Fixes #124
2020-03-29 09:15:05 +02:00
Zed d27ab68a90 Redirect /statuses/ to /status/
Fixes #105
2019-12-30 10:58:15 +01:00
Zed d93a6691ef Router refactoring 2019-12-08 12:38:55 +01:00
Zed ebd7afe464 Support video embeds
Fixes #66
2019-12-06 15:15:56 +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 73afb1d6a4 Link mp4 instead of embed for gif tweet previews 2019-10-23 09:16:27 +02:00
Zed a78eea9dce Fix 404 page 2019-10-21 07:59:22 +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 211b086f4d Use "max_position" instead of "after" for compat 2019-10-08 15:15:47 +02:00
Zed ebb89edef6 Use custom 404 page, halt on 404 instead of resp 2019-10-07 16:47:53 +02:00
Zed 1871cebf1f Redirect /video alias 2019-10-01 03:28:55 +02:00
Zed 53a7113905 Add /statuses/ endpoint alias
Fixes #53
2019-09-30 22:07:41 +02:00
Zed 9038645bc1 Add support for loading more tweet replies 2019-09-24 15:39:04 +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