Commit Graph

34 Commits

Author SHA1 Message Date
Zed 67203a431d Add back search 2023-07-12 03:37:44 +02:00
Zed 0bc3c153d9
Fix everything (#927)
* Switch bearer token and endpoints, update parser

* Enable user search, disable tweet search

* Disable multi-user timelines for now

* Fix parsing of pinned tombstone
2023-07-10 11:25:34 +02:00
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 6a7e56b613 Linting 2022-11-27 16:20:53 +01:00
Zed 78b6877b02 Add "Search (...)" to tab title
Fixes #247
2022-11-27 16:19:30 +01:00
Zed 85316f8f8d Reduce usage of strformat, minor perf improvement 2022-11-27 15:50:08 +01: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 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 7af71ec480 Fix compiler warnings 2021-12-20 04:18:44 +01:00
Zed e1b3e9db76 Add proper http support
Fixes #223
2021-01-08 02:36:06 +01:00
Zed 33f0ab0ba5 Always show retweets unless excluded in search 2020-06-17 14:12:38 +02:00
Zed db45433ec4 Optimize usage of cookie preferences 2020-06-09 16:45:21 +02:00
Zed 4c928fa8b0 Routing updates 2020-06-02 18:05:54 +02:00
Kadin Buckton 8bffb61e68 Implements OpenSearch support, closes #107 2020-01-03 09:57:36 -05: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 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 ebb89edef6 Use custom 404 page, halt on 404 instead of resp 2019-10-07 16:47:53 +02:00
Zed 8cae23dc7e Use "q" instead of "text" for search compatibility
Fixes #49
2019-09-30 22:24:01 +02:00
Zed 61991a9b56 Support RSS feeds for custom searches
Fixes #45
2019-09-28 03:22:46 +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 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 7d7eb085ca Redesign and fix search, add custom timeline tab 2019-09-19 01:01:47 +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