Commit graph

556 commits

Author SHA1 Message Date
Zed
613e460b9e Add activate endpoint 2020-06-24 15:03:18 +02:00
Zed
4c1270b377 Use old API endpoint to fetch tokens 2020-06-24 15:02:34 +02:00
Zed
bde3c3662d Silence some warnings 2020-06-22 03:50:16 +02:00
Zed
db100bbf17 Temporary fix to prevent early token expiry 2020-06-19 09:45:24 +02:00
Zed
91f42c4c94 Nevermind. 2020-06-17 20:55:01 +02:00
Zed
51c7af082d We no longer know whether profiles are suspended 2020-06-17 17:19:08 +02:00
Zed
bc0ccb483a New query rules, big multi-user query optimization 2020-06-17 14:16:48 +02:00
Zed
2127af71b4 Partial fix for wrong multi-user twitter link 2020-06-17 14:15:13 +02:00
Zed
33f0ab0ba5 Always show retweets unless excluded in search 2020-06-17 14:12:38 +02:00
Zed
0e58c36bae Change user endpoint 2020-06-17 00:22:11 +02:00
Zed
77da2e32c6 Use old api to optimize photo rails 2020-06-17 00:20:34 +02:00
Zed
7e40af5611 Revert token change 2020-06-16 00:48:44 +02:00
Zed
6167e7dc49 Refactor fetch helper, fix list pagination 2020-06-15 16:44:14 +02: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
bd386b3acf Proper support for gif avatars
Fixes #160
2020-06-10 18:34:56 +02:00
Zed
e4cbbf2fd5 Show retweet and reply usernames in rss titles
Fixes #185
2020-06-10 17:52:21 +02:00
Zed
07492b7b39 Escape rss titles
Fixes #168
2020-06-10 17:17:17 +02:00
Zed
1811a23265 Parse alternative video title 2020-06-10 17:09:38 +02:00
Zed
179b3bc496 Parse video profile 2020-06-10 17:06:05 +02:00
Zed
4f6b8bad9e Lower avatar resolutions 2020-06-10 17:05:44 +02:00
Zed
754f88a448 Show avatars in quotes, improve css 2020-06-10 17:04:48 +02:00
Zed
0c9c37e886 Support even more obscure card types 2020-06-10 16:19:01 +02:00
Zed
09b85464bd Reenable logging for non-release builds 2020-06-09 20:29:05 +02:00
Zed
61d27efd69 Optimize profile caching strategy 2020-06-09 18:19:20 +02:00
Zed
ba9ba3a55e Add cookie note so we don't break the law 2020-06-09 17:01:30 +02:00
Zed
db45433ec4 Optimize usage of cookie preferences 2020-06-09 16:45:21 +02:00
Zed
310c5e936d Optional base64 support for proxy urls 2020-06-09 15:22:58 +02:00
Zed
1b9fa40237 Silence Jester's query warning 2020-06-07 09:28:56 +02:00
Zed
908da72ba9 Use frosty instead of msgpack, compress everything 2020-06-07 08:50:40 +02:00
Zed
a8553db66e Use small video previews 2020-06-07 08:40:17 +02:00
Zed
40ef23956a Catch connection closed errors 2020-06-07 08:23:05 +02:00
Zed
9c8c2cbe88 Use small image version for preview to save memory 2020-06-07 07:57:32 +02:00
Zed
34dd02df1b Add photo rail test 2020-06-07 07:57:15 +02:00
Zed
47c87f7068 Strip https://pbs.twimg.com from image urls 2020-06-07 07:55:57 +02:00
Zed
ea7222bc86 Optimize photo rail parser 2020-06-07 07:54:20 +02:00
Zed
be74cec48a Refactor instruction parsing 2020-06-07 07:53:40 +02:00
Zed
67313ac12a Use regex for hashtags instead 2020-06-06 10:28:55 +02:00
Zed
181ef3bca7 Use snappy for rss compression, refactor 2020-06-06 09:27:25 +02:00
Zed
68a5ac20b6 Proxy media instead of using file cache 2020-06-06 04:39:22 +02:00
Zed
1dcb191903 Improve quote css 2020-06-05 16:58:06 +02:00
Zed
2fe0d8daae Fix wrong error message when rss timeline is empty 2020-06-05 16:49:30 +02:00
Zed
1fecd63d78 Skip photo rails for rss 2020-06-05 16:49:10 +02:00
Zed
2a654ea5cd Fix missing search params in rss cache 2020-06-05 16:29:22 +02:00
Zed
1a9e5a6c72 Fix user search pagination 2020-06-05 00:11:05 +02:00
Zed
3ecda47c73 Improve hashtag regex
Fixes #178
2020-06-04 23:14:31 +02:00
Zed
240a6f9fd3 Fix poll percentages when 0 votes
Fixes #177
2020-06-04 22:56:14 +02:00
Zed
42421e58de Fix tweet ID parsing bug on 32-bit 2020-06-04 05:03:25 +02:00
Zed
f0db3a8bc2 Don't cache empty profile 2020-06-03 07:49:32 +02:00
Zed
22b0bce1ea One more time 2020-06-03 02:42:26 +02:00
Zed
85d972dc36 Add it back fully 2020-06-03 02:41:37 +02:00
Zed
a7e969e397 Add back promo_video_website
Doesn't exist when you search for it, but apparently it does exist.
2020-06-03 02:38:04 +02:00
Zed
4d650fd33e Support more cards, even the undocumented ones 2020-06-03 02:33:34 +02:00
Zed
b4fe3d1f6a Prevent unnecessary profile cache 2020-06-03 00:03:41 +02:00
Zed
d01f62c5ae Clean up cache code 2020-06-02 23:06:14 +02:00
Zed
9ad458ae25 Fix Twitter link for searches 2020-06-02 22:31:46 +02:00
Zed
548cb62ff2 Fix very strange cache bug
This happened once and I have no idea why, but it shouldn't cause a crash.
2020-06-02 22:15:04 +02:00
Zed
77f03425ef Preserve original UTC timestamp 2020-06-02 22:02:10 +02:00
Zed
3dc85639f4 Fix crash on token fetch failure 2020-06-02 20:37:55 +02:00
Zed
7acea6b9e0 Add user agent for media requests, improve error 2020-06-02 20:27:43 +02:00
Zed
80d963fab6 Fix crash when disk is full 2020-06-02 19:58:24 +02:00
Zed
2930293833 Fix relative timestamps 2020-06-02 19:30:31 +02:00
Zed
e453d9dd59 Add yet another card type 2020-06-02 18:05:54 +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
2642e5efe4 More aggressive token strategy to combat bursts 2020-06-02 18:05:54 +02:00
Zed
baa28ea8bc Prevent crash when token missing 2020-06-02 18:05:54 +02:00
Zed
87d1e49f1a Remove unnecessary table 2020-06-02 18:05:54 +02:00
Zed
12fb55745d Quit with return code to indicate error 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
dc79f736d0 Minor quote gif css improvement 2020-06-02 18:05:54 +02:00
Zed
01faa784ea Add Redis connection error message 2020-06-02 18:05:54 +02:00
Zed
4a43209386 Update readme 2020-06-02 18:05:54 +02:00
Zed
43e87f5174 Expand "bounced" tombstone match 2020-06-02 18:05:54 +02:00
Zed
10277bb58d More card kinds 2020-06-02 18:05:54 +02:00
Zed
74534e8fef Use old user endpoint to avoid graphql rate limits 2020-06-02 18:05:54 +02:00
Zed
39863703b3 Error stuff 2020-06-02 18:05:54 +02:00
Zed
0859d8c2d9 Add missing card kinds (specific parsers pending) 2020-06-02 18:05:54 +02:00
Zed
a2c0e1a21d Add missing tombstones 2020-06-02 18:05:54 +02:00
Zed
21fdbb88ec Fix RSS retweet rendering 2020-06-02 18:05:54 +02:00
Zed
1cb57401b6 Ignore trailing slashes for list routes 2020-06-02 18:05:54 +02:00
Zed
2a3bcaa9aa Fix retweet deduplication 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
177e119441 Hotfix missing card type 2020-06-02 18:05:54 +02:00
Zed
e1fff6985b New configs 2020-06-02 18:05:54 +02:00
Zed
81d6d1ac7f Misc. changes 2020-06-02 18:05:54 +02:00
Zed
4c928fa8b0 Routing updates 2020-06-02 18:05:54 +02:00
Zed
2950c0de35 html and css updates 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
62f8edf027 Fix replies again 2020-05-20 07:06:45 +02:00
Zed
312ff78628 Store preferences in cookies, add config defaults 2020-05-08 02:48:47 +02:00
Zed
517d9144f6 Fix regression excluding replies from search 2020-05-02 19:44:10 +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
dc3c37b854 Fix renderReplies, take 2 2020-05-01 12:29:01 +02:00
Zed
3dec3fba38 Fix rare renderReplies crash 2020-04-30 14:34:03 +02:00
Zed
a3cc0e181a Support multiline page title
Fixes #123
2020-04-29 18:17:56 +02:00
Zed
c6215876fa Implement proper infinite scroll for replies
Fixes #125
2020-04-29 18:10:17 +02:00