Commit Graph

1579 Commits

Author SHA1 Message Date
Marcin Kulik
a76b54c61b New integration tests 2025-09-01 17:48:36 +02:00
Marcin Kulik
7bf8a66fd7 Fix forwarding session events to outputs 2025-09-01 17:48:12 +02:00
Marcin Kulik
04c82f05de Fix reading output from PTY after child's death 2025-09-01 17:48:12 +02:00
Marcin Kulik
2aa84253dd Add shellcheck to nix dev shell 2025-09-01 17:46:19 +02:00
Marcin Kulik
b0eeb2f84e Rename test fixtures 2025-08-31 21:36:55 +02:00
Marcin Kulik
1eda16b912 Remove old tests for Python impl 2025-08-31 21:33:19 +02:00
Marcin Kulik
57635fa257 Fix env var lookup in config module - fixes nested local streaming 2025-08-31 21:15:46 +02:00
Marcin Kulik
290cf018f5 Use simple present instead of imperative for examples 2025-08-31 13:11:37 +02:00
Marcin Kulik
5fe43a0cc3 Make HTTP server listen on ephemeral port by default 2025-08-31 13:06:11 +02:00
Marcin Kulik
c0cdb946f2 Support URLs as inputs for cat command 2025-08-31 11:47:55 +02:00
Marcin Kulik
f41c79679b Tweak option descriptions 2025-08-30 21:45:08 +02:00
Marcin Kulik
9c19b4df14 Add "Examples" section to subcommand help messages 2025-08-30 21:32:05 +02:00
Marcin Kulik
d962a1e22d More explicit option names for input/env capture 2025-08-29 21:27:02 +02:00
Marcin Kulik
e2584a808c Rename "recording" config file section to "session" 2025-08-29 21:23:06 +02:00
Marcin Kulik
9d943b4517 Rename options related to input and env var capture 2025-08-29 20:58:14 +02:00
Marcin Kulik
61a83d2276 Mention streaming in asciinema auth message 2025-08-29 20:50:47 +02:00
Marcin Kulik
4928a14f74 Move install ID from $XDG_CONFIG_HOME/asciinema/install-id to $XDG_STATE_HOME/asciinema/install-id
It still reuses existing one from $XDG_CONFIG_HOME when the new one
doesn't exist to make upgrade from CLI 2.x to 3.0 seamless.
2025-08-29 20:50:47 +02:00
Marcin Kulik
ca7bf62232 Set ASCIINEMA_SESSION env var for session child process 2025-08-29 17:02:31 +02:00
Marcin Kulik
e425874d08 Tweak help message 2025-08-29 16:47:31 +02:00
Marcin Kulik
4de9a9e4ab Tweak help messages 2025-08-27 22:37:50 +02:00
Marcin Kulik
92f8abe50a Remove unreachable code 2025-08-27 16:17:37 +02:00
Marcin Kulik
00ca24fd7f Favor server message when displaying upload error for 413 status 2025-08-26 13:41:01 +02:00
Marcin Kulik
bc549a7988 Use nixfmt-tree for flake formatter 2025-08-14 13:47:05 +02:00
Marcin Kulik
3e5aef418e Use "message" field for human friendly API error display 2025-07-21 18:03:58 +02:00
Marcin Kulik
39ceb10b2b Pass stream metadata via stream start endpoint instead of via producer websocket query params 2025-07-21 18:02:17 +02:00
Marcin Kulik
35f34ce537 DRY-up 2025-07-11 17:57:40 +02:00
Marcin Kulik
9c55a15b8a Use new API v1 paths for streaming 2025-07-11 17:57:40 +02:00
Marcin Kulik
e8b3591c10 Use new API v1 path for uploads 2025-07-11 17:57:40 +02:00
Marcin Kulik
06a0fd81a9 Merge pull request #690 from moritzdietz/fix-session-args
Require at least one of -l / -r for session command
2025-07-10 11:54:48 +02:00
moritzdietz
f7a94fd098 Also require -o / --output-file for session command
Closes asciinema#689
2025-07-09 15:55:11 +02:00
moritzdietz
116fd90bc2 Require at least one of -l / -r for session command
Closes #689
2025-07-03 23:17:09 +02:00
Marcin Kulik
dd370bbf84 Add tests for html module v3.0.0-rc.5 2025-06-26 11:47:56 +02:00
Marcin Kulik
1507ff0c12 Tweak reconnect log message - add time unit 2025-06-26 08:52:55 +02:00
Marcin Kulik
2878b391ab Add tests for alis module 2025-06-24 20:53:10 +02:00
Marcin Kulik
bbb75a6a3f Prevent wraparound error when encoding time in ALiS
Due to a rare race condition in stream::run() it may happen that time of
the first non-init event is slightly lower than time of the init event.
This only happens in high bandwidth streams when the stream consumer
(e.g. forwarder to asciinema server) re-subscribes to the stream.
2025-06-24 17:46:59 +02:00
Marcin Kulik
dd2cba282b Use 0 as initial stream time for subscribers who subscribe before first stream event 2025-06-24 17:35:04 +02:00
Marcin Kulik
00b2c6131b Bump version 2025-06-24 15:26:42 +02:00
Marcin Kulik
1d3025ad92 Rename variable 2025-06-24 14:30:59 +02:00
Marcin Kulik
21610660a7 Add --log-file option for rec command 2025-06-24 14:29:13 +02:00
Marcin Kulik
f7f82672a6 Always initialize logging when --log-file option is present 2025-06-24 14:22:10 +02:00
Marcin Kulik
17380be290 Run CI workflow on Ubuntu and macOS with default (recent) and MSRV Rust version 2025-06-24 12:29:16 +02:00
Marcin Kulik
d3c102f6dc Move the pre-submission checks to the top 2025-06-23 22:26:40 +02:00
Marcin Kulik
6a161930a6 Remove default value for reproduction steps in bug issue form 2025-06-23 21:35:37 +02:00
Marcin Kulik
1a4ac6519c Convert issue template to a form 2025-06-23 21:33:02 +02:00
Marcin Kulik
8f01e17dc7 Use bounded channel in Stream, just in case 2025-06-23 17:34:19 +02:00
Marcin Kulik
aabfee1398 Use fixed size scrollback with Avt - fixes memory leak 2025-06-23 17:23:39 +02:00
Marcin Kulik
c9e9da604f Use Bytes instead of Vec for more performant data copying between TTY and PTY 2025-06-23 16:47:41 +02:00
Marcin Kulik
acf164a1a2 Make clippy happy 2025-06-23 14:51:33 +02:00
Marcin Kulik
b57205f79a Bring back previous simpler impl of Pty 2025-06-23 14:51:33 +02:00
Marcin Kulik
8f9253ef2f Workaround kqueue+tty bug on macOS
Fixes #598
2025-06-23 14:51:33 +02:00