Commit graph

97 commits

Author SHA1 Message Date
Zed
624394430c Use legacy timeline/user endpoint for Tweets tab 2023-08-08 02:09:56 +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
aea884c48e Deduplicate note tweet parsing 2023-03-03 21:27:06 +01:00
HookedBehemoth
3a5faded86 parse recently added long tweets 2023-03-01 00:54:10 +01:00
Zed
670a3bca6e Revert "Revert "Replace tweet endpoint with GraphQL""
This reverts commit 36c72f9860.
2023-02-24 01:01:22 +01:00
Zed
36c72f9860 Revert "Replace tweet endpoint with GraphQL"
This reverts commit 19adc658c3.
2023-02-02 12:38:58 +01:00
Zed
19adc658c3 Replace tweet endpoint with GraphQL 2023-02-02 12:31:49 +01:00
Zed
02557b67c3 Fix minor bug 2022-11-27 00:03:11 +01:00
girst
e2b8e17f85 use largest resolution mp4 video available 2022-05-18 19:52:17 +02:00
Zed
2536370cd7 Minor fixes, update tests 2022-04-01 17:56:55 +02:00
Curtis
baf5bf89e7 Implement requested changes 2022-02-26 19:00:06 -05:00
Mitarashi
d56628ed2f removed spaces 2022-01-24 21:55:14 +02:00
Mitarashi
e4f634705b Fix #521 2022-01-24 21:53:59 +02:00
Zed
51ae076ea0 Rearchitect profile, support pins, Profile -> User 2022-01-23 07:23:09 +01:00
Zed
b01810e261 Improve profile page elements, reduce jank
Fixes #167
2022-01-17 05:59:16 +01:00
Zed
6f348f2f2e Strip trailing newlines from tweets 2022-01-16 06:18:01 +01:00
Zed
6c6386913e Remove nim-regex dependency, improve performance 2022-01-11 03:22:31 +01:00
Zed
bb981df657 Improve and simplify preferences page behavior 2022-01-03 02:40:28 +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
2128b280b4 Minor cleanup 2021-01-07 22:04:19 +01:00
Zed
3b5b4b7682 Improve tweet url and hashtag parsing 2020-11-15 01:03:04 +01:00
Zed
50218bcc4d Revert "Improve tweet url and hashtag parsing"
This reverts commit d67ed26817.
2020-11-14 23:37:07 +01:00
SolitudeSF
d67ed26817 Improve tweet url and hashtag parsing
Dry

Fixes
2020-11-14 23:28:22 +01:00
SolitudeSF
cad75845db Fix compilation error with nim 1.4.0 2020-11-10 15:55:41 +01:00
Zed
9f5042dbd3 Add missing entry type to entryId parser 2020-11-07 23:10:29 +01:00
Zed
2d7e12fcb8 Fix parsing censored tweets 2020-11-07 22:48:49 +01:00
Zed
7643293f6b Fix tombstone parsing
Apparently they just got rid of the "epitaph", oh well
2020-06-12 08:01:31 +02:00
Zed
0c9c37e886 Support even more obscure card types 2020-06-10 16:19:01 +02:00
Zed
47c87f7068 Strip https://pbs.twimg.com from image urls 2020-06-07 07:55:57 +02:00
Zed
67313ac12a Use regex for hashtags instead 2020-06-06 10:28:55 +02:00
Zed
3ecda47c73 Improve hashtag regex
Fixes #178
2020-06-04 23:14:31 +02:00
Zed
4d650fd33e Support more cards, even the undocumented ones 2020-06-03 02:33:34 +02:00
Zed
77f03425ef Preserve original UTC timestamp 2020-06-02 22:02:10 +02:00
Zed
2930293833 Fix relative timestamps 2020-06-02 19:30:31 +02:00
Zed
fb591e43b8 Switch to packedjson to try lowering memory usage 2020-06-02 18:05:54 +02:00
Zed
2fa76db099 Simplify error parser 2020-06-02 18:05:54 +02:00
Zed
87d1e49f1a Remove unnecessary table 2020-06-02 18:05:54 +02:00
Zed
e0943eeec8 Minor optimizations 2020-06-02 18:05:54 +02:00
Zed
1fb78f8047 Minor token changes 2020-06-02 18:05:54 +02:00
Zed
43e87f5174 Expand "bounced" tombstone match 2020-06-02 18:05:54 +02:00
Zed
a2c0e1a21d Add missing tombstones 2020-06-02 18:05:54 +02:00
Zed
ec86a55b48 Fix timestamp parsing in non-UTC timezones
Twitter always has +0000 in the timestamp despite being relative
to your IP geolocation. Shame on you, Twitter.
2020-06-02 18:05:54 +02:00
Zed
762d00b21d In with the new 2020-06-02 18:05:54 +02:00
Zed
4167ce458b Out with the old 2020-06-02 18:05:54 +02:00
Zed
5eec0bde3d Misc. fixes and refactorings 2020-06-02 18:05:54 +02:00
Zed
ed79ed25a7 Add Instagram replacement preference
Fixes #133
2020-03-29 09:03:06 +02:00
Zed
b03faccd45 Turn regex patterns into consts 2020-01-22 13:04:35 +01:00
Zed
f8f4487c33 Support tweet locations 2019-12-21 05:44:58 +01:00
Zed
80d6191e74 Support media tags 2019-12-21 05:07:50 +01:00