Commit Graph

1642 Commits

Author SHA1 Message Date
Marcin Kulik
3385da8fd3 Merge pull request #696 from asciinema/dependabot/cargo/slab-0.4.11
Bump slab from 0.4.10 to 0.4.11
2025-09-02 09:22:50 +02:00
dependabot[bot]
a91a9adf58 Bump slab from 0.4.10 to 0.4.11
Bumps [slab](https://github.com/tokio-rs/slab) from 0.4.10 to 0.4.11.
- [Release notes](https://github.com/tokio-rs/slab/releases)
- [Changelog](https://github.com/tokio-rs/slab/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/slab/compare/v0.4.10...v0.4.11)

---
updated-dependencies:
- dependency-name: slab
  dependency-version: 0.4.11
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 22:27:53 +00:00
dependabot[bot]
193fcaec22 Bump nixbuild/nix-quick-install-action from 31 to 33
Bumps [nixbuild/nix-quick-install-action](https://github.com/nixbuild/nix-quick-install-action) from 31 to 33.
- [Release notes](https://github.com/nixbuild/nix-quick-install-action/releases)
- [Commits](https://github.com/nixbuild/nix-quick-install-action/compare/v31...v33)

---
updated-dependencies:
- dependency-name: nixbuild/nix-quick-install-action
  dependency-version: '33'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 17:09:26 +00:00
Marcin Kulik
160b89e0ad Remove unnecessary comment from Cargo.toml 2025-09-01 18:15:10 +02:00
Marcin Kulik
7a43456dbe Bump version 2025-09-01 18:14:54 +02:00
Marcin Kulik
e2b0208a5a Merge pull request #693 from asciinema/dependabot/cargo/tracing-subscriber-0.3.20
Bump tracing-subscriber from 0.3.19 to 0.3.20
2025-09-01 17:58:02 +02:00
Marcin Kulik
9c20b5ee9a Merge pull request #692 from asciinema/dependabot/github_actions/actions/checkout-5
Bump actions/checkout from 4 to 5
2025-09-01 17:57:31 +02:00
Marcin Kulik
2855902bcc Merge pull request #687 from asciinema/dependabot/github_actions/nixbuild/nix-quick-install-action-32
Bump nixbuild/nix-quick-install-action from 31 to 32
2025-09-01 17:56:59 +02:00
Marcin Kulik
df0cda3223 Merge pull request #694 from asciinema/new-integration-tests
New integration tests
2025-09-01 17:56:24 +02:00
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
dependabot[bot]
56f4c06c8c Bump tracing-subscriber from 0.3.19 to 0.3.20
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.19 to 0.3.20.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.19...tracing-subscriber-0.3.20)

---
updated-dependencies:
- dependency-name: tracing-subscriber
  dependency-version: 0.3.20
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-29 20:57:14 +00: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
dependabot[bot]
8aab1b8d99 Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-25 15:56:52 +00: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
dependabot[bot]
ce10bad5cb Bump nixbuild/nix-quick-install-action from 31 to 32
Bumps [nixbuild/nix-quick-install-action](https://github.com/nixbuild/nix-quick-install-action) from 31 to 32.
- [Release notes](https://github.com/nixbuild/nix-quick-install-action/releases)
- [Changelog](https://github.com/nixbuild/nix-quick-install-action/blob/master/RELEASE)
- [Commits](https://github.com/nixbuild/nix-quick-install-action/compare/v31...v32)

---
updated-dependencies:
- dependency-name: nixbuild/nix-quick-install-action
  dependency-version: '32'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-30 10:30:20 +00: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