Commit Graph

22 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
Zed 21e8f04fa4 Use strformat more 2022-06-04 02:18:26 +02:00
Zed 51ae076ea0 Rearchitect profile, support pins, Profile -> User 2022-01-23 07:23:09 +01:00
Zed 1ce6ff2b2f Improve search and list error messages 2021-12-30 23:48:57 +01:00
jackyzy823 35bb5f9132 Rework list api 2021-12-30 08:36:43 +01:00
Zed 73b5b60ac3 Add license headers
Closes #413
2021-12-27 02:37:38 +01:00
Zed 7af71ec480 Fix compiler warnings 2021-12-20 04:18:44 +01:00
Zed ed7ecf7c8d Preload profile/tweet images, banners, and icons 2021-01-08 00:50:10 +01:00
Zed 6167e7dc49 Refactor fetch helper, fix list pagination 2020-06-15 16:44:14 +02:00
Zed db45433ec4 Optimize usage of cookie preferences 2020-06-09 16:45:21 +02:00
Zed d01f62c5ae Clean up cache code 2020-06-02 23:06:14 +02:00
Zed 1cb57401b6 Ignore trailing slashes for list routes 2020-06-02 18:05:54 +02:00
Zed 4c928fa8b0 Routing updates 2020-06-02 18:05:54 +02:00
Zed 5eec0bde3d Misc. fixes and refactorings 2020-06-02 18:05:54 +02:00
Zed 9197c686d3 Fix multi-timeline infinite scroll, minor refactor 2020-05-02 19:22:43 +02:00
Zed 813cfefbb4 Refactor list routes 2019-10-23 09:47:02 +02:00
Zed 5979d7f588 Refactoring 2019-10-23 09:03:15 +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 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 9e3138e51b Add list support 2019-09-21 01:08:30 +02:00