Commit Graph

75 Commits

Author SHA1 Message Date
Zed 624394430c Use legacy timeline/user endpoint for Tweets tab 2023-08-08 02:09:56 +02:00
Zed 39192bf191 Fix multi-timeline infinite scroll 2023-07-24 10:18:50 +02:00
Zed 59a72831c7 Apply cached profile verified status to tweets 2023-07-24 04:26:32 +02:00
Zed 50f821dbd8 Use search instead of old timeline endpoint 2023-07-22 03:22:13 +02:00
Zed cc5841df30 Use old timeline endpoint 2023-07-21 18:56:39 +02:00
Zed 67203a431d Add back search 2023-07-12 03:37:44 +02:00
Zed b290f6fd29 Optimize timeline data structure 2023-07-12 01:34:39 +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 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 8ecac89ea0 Fix hidePinned preference 2022-01-30 16:59:07 +01:00
Zed c355beda85 Cleanup profile fetching logic 2022-01-23 08:17:41 +01:00
Zed 51ae076ea0 Rearchitect profile, support pins, Profile -> User 2022-01-23 07:23:09 +01:00
Zed cdb4efadfe Temporary fix to Twitter's global timeline error 2022-01-21 09:17:18 +01:00
Zed f3d6f53f6d Rework profile cache behavior, fix suspended cache
Fixes #480
2022-01-16 20:32:45 +01:00
Zed fcfc1ef497 Parse user stats as ints, not strings, cleanup 2022-01-16 03:32:18 +01:00
Zed ffcac982d0 Style fixes 2022-01-06 03:57:14 +01:00
Zed d96550fcce Minor code improvements 2021-12-30 04:18:40 +01:00
Zed 80f7bc0a02 Cleanup 2021-12-30 01:48:48 +01:00
Zed b0a5e38b3f Merge branch 'intent-userid' 2021-12-30 01:45:41 +01:00
Zed ddc2be8439 Make gzip handling more robust 2021-12-30 01:39:00 +01:00
jackyzy823 52af6b2746 Implement user_id to screen_name router 2021-12-28 09:30:55 +01:00
Zed 73b5b60ac3 Add license headers
Closes #413
2021-12-27 02:37:38 +01:00
Zed 2a40dd8059 Skip rail request if profile is protected 2021-12-26 05:02:57 +01:00
Zed ed7ecf7c8d Preload profile/tweet images, banners, and icons 2021-01-08 00:50:10 +01:00
Zed 384b0a2033 Fix profile caching logic to ignore empty profiles 2021-01-07 22:04:01 +01:00
Zed 33f0ab0ba5 Always show retweets unless excluded in search 2020-06-17 14:12:38 +02:00
Zed 77da2e32c6 Use old api to optimize photo rails 2020-06-17 00:20:34 +02:00
Zed bd386b3acf Proper support for gif avatars
Fixes #160
2020-06-10 18:34:56 +02:00
Zed 61d27efd69 Optimize profile caching strategy 2020-06-09 18:19:20 +02:00
Zed db45433ec4 Optimize usage of cookie preferences 2020-06-09 16:45:21 +02:00
Zed b4fe3d1f6a Prevent unnecessary profile cache 2020-06-03 00:03:41 +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 1bd48ea8ca Fix timeline double requests due to templates
This one is a bit embarrassing..
2020-05-02 19:23:47 +02:00
Zed 9197c686d3 Fix multi-timeline infinite scroll, minor refactor 2020-05-02 19:22:43 +02:00
Zed 8a6978cf74 Detect suspended accounts 2020-04-15 00:28:45 +02:00
Zed ba57511a01 Add workaround for Twitter's layout A/B testing
Fixes #110
2020-01-19 08:34:32 +01:00
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
Zed 8afad3b937 Fix broken profile RSS
Closes #99, closes #101
2019-12-10 10:11:55 +01:00
Zed d93a6691ef Router refactoring 2019-12-08 12:38:55 +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 02b206078d Don't export options from types 2019-10-26 15:34:30 +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