Commit Graph

1569 Commits

Author SHA1 Message Date
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
Marcin Kulik
abbd2a7ac6 Bring back previous simpler impl read/write in Tty trait 2025-06-22 16:02:34 +02:00
Marcin Kulik
0f3474585f Convert upload command to async 2025-06-20 17:27:28 +02:00
Marcin Kulik
8f6a977977 Fix async / blocking clash when obtaining relay endpoint for remote streaming 2025-06-20 17:26:40 +02:00
Marcin Kulik
49e96b14e7 Remove duplicate transitive deps 2025-06-20 16:18:51 +02:00
Marcin Kulik
a7bf5310b6 Relax version contraints for easier Linux distro packaging 2025-06-20 15:55:58 +02:00
Marcin Kulik
b380ed6af8 Upgrade deps 2025-06-20 15:55:52 +02:00
Marcin Kulik
d1de469ae5 Simplify messaging at the end of a session 2025-06-20 14:00:17 +02:00
Marcin Kulik
5761a53e95 Switch rustls backend to ring, upgrade which
This primarily removes many transitive deps, including duplicates such
as which.
2025-06-20 14:00:17 +02:00
Marcin Kulik
68b64a84ed Make clippy happy 2025-06-20 14:00:17 +02:00
Marcin Kulik
d8ebd373a1 Use rust 1.87 for dev (with flake) 2025-06-20 14:00:17 +02:00