199 Commits

Author SHA1 Message Date
Cynthia Foxwell
38f2ede5c0
attempt to fix a weird edge case with replies 2025-04-04 13:40:50 -06:00
Cynthia Foxwell
7a6548cb2b
fix gifs in discord embeds 2025-03-29 20:31:10 -06:00
Cynthia Foxwell
24a267da50
forgot some urls 2025-03-27 11:11:28 -06:00
Cynthia Foxwell
0d9ffa6aa2
forgot a check 2025-03-22 22:52:28 -06:00
Cynthia Foxwell
5240ccff2a
fix direct video route 2025-03-22 22:50:31 -06:00
Cynthia Foxwell
b3e35dba12
mastoapi/activitypub spoof so i can have peak discord embeds :) 2025-03-22 22:17:34 -06:00
Cynthia Foxwell
6e86e086c3
combine context for quoted tweet in reply 2025-03-08 12:41:19 -07:00
Cynthia Foxwell
5e2d126aea
no more redis 2025-02-11 14:04:53 -07:00
Cynthia Foxwell
1cf37e4e84 Add replying to and quoting text where applicable 2024-12-18 23:53:30 -07:00
Cynthia Foxwell
9129820cb0 Do not parse cards for images and videos 2024-12-17 17:02:08 -07:00
Cynthia Foxwell
f5fadca631 timestamps and avatars on text only posts 2024-10-29 19:36:38 -06:00
Cynthia Foxwell
04f745c5eb fix media tab, remove likes tab 2024-08-16 12:45:29 -06:00
Cynthia Foxwell
819efc6d93 oembed support for videos 2024-07-13 16:55:05 -06:00
Cynthia Foxwell
cc1f7d706c fix video embeds 2024-07-13 13:59:15 -06:00
Cynthia Foxwell
29e4b240d6 restore old auth because it actually works as oauth from guest tokens is removed 2024-07-09 14:16:50 -06:00
taskylizard
769cb16a6b
feat: Timeline feed for followed accounts 2024-05-20 15:03:29 +00:00
taskylizard
4584932e4f Pull from https://github.com/PrivacyDevel/nitter/pull/50 2024-05-19 05:39:08 +00:00
taskylizard
f2443a0da2
add my fork changes 2024-02-24 13:38:58 +00:00
blankie
583c858cdf
Fix search queries in user search RSS feeds (#1126)
Fixes #992
2023-12-03 09:54:24 +01:00
Zed
4120558649 Replace /.tokens with /.health and /.accounts 2023-10-31 12:04:32 +00:00
LS
735b30c2da
fix(nitter): add graphql user search (#1047)
* fix(nitter): add graphql user search

* fix(nitter): rm gitignore 2nd guest_accounts

* fix(nitter): keep query from user search in result. remove personal mods

* fix(nitter): removce useless line gitignore
2023-10-30 12:13:06 +00:00
Zed
4250245263 Shorten media proxy error log 2023-09-02 07:28:56 +02:00
Zed
b8fe212e94 Add media proxying error logging 2023-09-01 21:39:02 +02:00
Zed
88b005c9da Revert "Switch to using typeahead for user search"
This reverts commit a3e11e3272ebdd6118cd818591530ac8be5ae491.
2023-08-23 19:31:40 +02:00
Zed
a3e11e3272 Switch to using typeahead for user search 2023-08-23 10:14:44 +02:00
Zed
8df5256c1d Switch back to old user search endpoint 2023-08-22 04:33:14 +02:00
Zed
3572dd7771 Replace tokens with guest accounts, swap endpoints 2023-08-19 00:25:14 +02:00
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
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
02557b67c3 Fix minor bug 2022-11-27 00:03:11 +01:00
Jules Bertholet
81ec41328d
Add redirect for thread links (#647) 2022-06-23 22:47:03 +02:00
HookedBehemoth
5e827c91aa
emit body and doctype on iframe embed endpoint (#640) 2022-06-16 18:46:41 +02:00
Zed
21e8f04fa4 Use strformat more 2022-06-04 02:18:26 +02:00
decoy-walrus
644fe41a08 Use the correct format string for fetching files from twitter.
Per their docs https://developer.twitter.com/en/docs/twitter-api/v1/data-dictionary/object-model/entities#photo_format
2022-02-08 14:50:56 -05:00
decoy-walrus
4cdb8f78cb Add new endpoint for original resolution images
This change is to work around the issue that chromium based browsers have handling the "name=orig" parameter appended to URLs. This parameter is needed to retrieve the full resolution image from twitter, but causes those browsers to fill in "jpg_name=orig" as the extension on the filename.

This change adds a new endpoint, "/pic/orig/<encoded media>". This new endpoint will internally fetch the URL with ":orig" appended on the end for the full res image. Externally, the endpoint will serve the image without the extra parameter to expose the real extension to the browser.

This new endpoint is used when rendering tweets with attached images. The old endpoint is still in place for all other proxied images, and for any legacy links.

I also updated the "?name=small" parameter to ":small" since that seems to be the new pattern for image sizing.

This should fix issue #458.
2022-02-07 16:21:20 -05:00
Zed
8ecac89ea0 Fix hidePinned preference 2022-01-30 16:59:07 +01:00
Zed
f10519c41a Minor RSS behavior improvements 2022-01-27 14:55:51 +01:00
Zed
091bb6813d Move RSS compression to Redis module, fix crash 2022-01-27 14:36:12 +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