Commit graph

1,301 commits

Author SHA1 Message Date
Zed
5100290f76 Speed up pytest with eager page loads 2026-07-11 04:37:13 +02:00
Zed
092397cd6f Show related tweets under replies
Fixes #1334
2026-07-11 00:11:46 +02:00
Zed
8394b044ef Qualify QueryKind.media to fix Nim 2.0.x build
Fixes #1422
2026-07-09 11:32:31 +02:00
Zed
61246df9de Support Top, Latest, Media, and Lists search
Fixes #1335
2026-07-08 18:56:12 +02:00
Zed
0375145ea2 Fix crash when TID pair fetch fails 2026-07-08 01:55:25 +02:00
Zed
6b86aaa27f Triple pytest timeout multiplier for cold loads 2026-07-08 00:11:52 +02:00
Zed
2f07fa6151 Sort replies by relevance, recency, or likes
Fixes #1336
2026-07-08 00:11:52 +02:00
Zed
7f7092fbf5 Support captions in articles
Fixes #1418
2026-07-01 00:53:16 +02:00
Zed
4b3ad16cc8
Revert "Exclude git from docker context (#1412)" (#1417)
This reverts commit 446f06f9d6.
2026-06-26 22:42:02 +07:00
Zed
279fa09771 Add video download button
Fixes #263
2026-06-21 20:37:29 +02:00
Zed
0344b99b69 Fix mp4 overflow issue
Fixes #1416
2026-06-21 15:49:34 +02:00
Zed
3e290eab6a Render article cards and polls in RSS feed
Fixes #679
2026-06-21 09:53:09 +02:00
Zed
c136e47748 Add link preview text to RSS feed
Fixes #679
2026-06-21 09:53:09 +02:00
ふぁ
446f06f9d6
Exclude git from docker context (#1412)
* Exclude .git from Docker build context

* Add last line
2026-06-21 06:41:04 +02:00
Eric Park
d0c351403d
Update Docker Compose configuration file (#1244)
According to the official documentation, Docker Compose files are now
supposed to be named `compose.yml`:
https://docs.docker.com/compose/intro/compose-application-model/

The `version:` line has been deprecated:
https://docs.docker.com/reference/compose-file/version-and-name/#version-top-level-element-obsolete
2026-06-21 06:40:00 +02:00
Zed
55a331cc50 Add followers and following pages
Fixes #187
2026-06-21 06:12:24 +02:00
Zed
1e03595784 Follow same-host redirects in media proxy
Fixes #1415
2026-06-21 03:22:29 +02:00
Zed
9d16db8903 Fix video test flakiness from HLS cookie leakage
Clear hlsPlayback cookie before video_m3u8 tests to ensure consistent
state regardless of test execution order. The Space tests set this
cookie which can persist and break video tests when they run after.
2026-06-20 18:37:07 +02:00
Zed
327e0161f1 Update thread test again 2026-06-20 18:14:12 +02:00
Zed
57d831f82a Update thread test 2026-06-20 17:51:47 +02:00
Zed
5a2df5df2e Skip x-ratelimit headers when served from cache 2026-06-20 12:55:32 +02:00
Zed
1639315699 Bump hlsPlayback.js 2026-06-19 22:19:47 +02:00
Zed
96a850c963 Add Space tests and fix media test selectors 2026-06-19 22:02:24 +02:00
Zed
db5a229bfe Add Twitter Spaces support
Fixes #459
2026-06-19 22:02:24 +02:00
Zed
17ad0fec34 Add audio playback support to HLS.js handler 2026-06-19 22:00:31 +02:00
Zed
581c6f1714 Add retry logic and timeout to media proxy 2026-06-19 22:00:28 +02:00
Zed
bfcf75af7f Fix invalid/empty image hrefs
Fixes #1413
2026-06-18 15:42:17 +02:00
Zed
44b2f096f6 Fix SSRF in /video proxy and API JSON injection
Validate the target host on the /video media route with
isTwitterUrl() (mirroring /pic) and reject non-http(s) schemes,
and stop the media proxy following redirects off the validated
host. JSON-escape user-controlled GraphQL cursors and build id
variables with packedjson so untrusted input can't break out of
the query. Warn on startup when the insecure default hmacKey is
in use.

Fixes #1411
2026-06-18 15:01:48 +02:00
Zed
7b27c2c629 Add support for Communities
Fixes #1270
2026-06-18 13:32:20 +02:00
Zed
35882ed88d Add Twitter Article rendering
Fixes #646
2026-06-16 15:47:13 +02:00
Zed
bd9d492d36 Fix bounds checking
Fixes #1410
2026-06-11 23:39:48 +02:00
Zed
7eed720894 Fix entity expansion crash, simplify URL handling
Fixes #1409
2026-06-10 16:07:13 +02:00
Zed
ac5ba9469e Fix incorrectly shown Twitter video cards
Fixes #1407
2026-06-10 14:28:01 +02:00
Zed
63891a04ff Update tests 2026-06-10 06:20:08 +02:00
Zed
ac2f93b361 Add skipTid field for cookie session TID handling 2026-06-10 06:20:05 +02:00
Zed
1e33ca045d Fix restIdVars whitespace handling 2026-06-10 06:20:01 +02:00
Zed
5a4c8dd12c Improve retry failure handling
Fixes #1388
2026-06-08 23:59:50 +02:00
Zed
fb9107cff6 Fix crash on malformed request paths 2026-06-08 06:14:18 +02:00
Zed
60cb10229f Fix SameSite cookie handling for HTTP 2026-06-08 06:12:58 +02:00
Zed
ef1de42593 Update dependencies to version tags 2026-06-08 06:12:52 +02:00
Zed
9b9c86a15c Use Nimble local deps to fix deployment issue
Fixes #1405
2026-06-08 01:08:19 +02:00
Zed
55d067957c Fix arm32 compilation
Fixes #1389
2026-06-07 23:17:43 +02:00
Zed
a8bc1bbb2d Fix nimble dependency caching in CI 2026-06-07 20:35:16 +02:00
Zed
f629507537 Publish a single multi-arch Docker image
Build amd64 and arm64 natively (no emulation), push each by
digest, then merge them into one multi-arch manifest so
`zedeus/nitter:latest` and `:<sha>` resolve to the right image
on any CPU. Replaces the separate `latest-arm64` tag, which is
no longer needed. Update the README notes accordingly.
2026-06-07 01:24:03 +02:00
Zed
40d17bf042 Use Nim 2.2.6 for Docker builds, unify arm64
nimlang/nim's alpine-regular images cap at 2.2.6 and are now
multi-arch, while Alpine's apk nim is stuck at the segfaulting
2.2.0. Base both arches on 2.2.6-alpine-regular, drop the
separate Dockerfile.arm64, and build ./Dockerfile in the arm64
CI job.

Fixes #1404
2026-06-07 00:43:29 +02:00
Zed
6ab2143df0 Add note about creating nitter.conf for Docker
Fixes #1392
2026-06-07 00:14:43 +02:00
Zed
a86be15f85 Fix broken 2.2.x build 2026-06-06 00:14:28 +02:00
Zed
c956f7c373 Add /<acc>/about tests 2026-06-05 23:54:39 +02:00
Zed
e4e6dd13e6 Update API endpoints 2026-06-05 22:26:46 +02:00
Zed
083d65a8cf Update tests 2026-06-05 22:26:41 +02:00