mattn
32dad77c33
Merge pull request #214 from mattn/fix/podcast-player-ctrl-c
...
podcast: stop the player on ctrl-c
2026-09-07 04:13:55 +00:00
Yasuhiro Matsumoto
eadeb62ae0
podcast: stop the player on ctrl-c.
...
nak only waited for the player with cmd.Run() and never handled interrupts
itself. on windows the console ctrl-c event reaches every process attached to
the console, but mpv.exe is a gui subsystem binary that installs no console
handler (mpv.com is the console wrapper), so the player kept playing while nak
went away.
handle the interrupt ourselves and kill the player, killing the whole process
tree with taskkill on windows so helper processes go away too. also drop the
hardcoded .exe from the windows candidates: LookPath honours PATHEXT, so
mpv.com is picked when it is around.
Claude-Session: https://claude.ai/code/session_01GvbaFeAfu16pDBy6ridwop
2026-09-07 13:13:22 +09:00
mattn
669816098f
Merge pull request #213 from mattn/fix/podcast-list-one-line
...
podcast: keep each episode on one line in 'list'
2026-09-07 02:40:42 +00:00
Yasuhiro Matsumoto
04e9220b43
podcast: keep each episode on one line in 'list'.
2026-09-07 11:39:40 +09:00
mattn
2c2e380458
Merge pull request #212 from mattn/feat/podcast-episode-prefix
...
podcast: show episode ids in 'list' and let 'play' take an id prefix
2026-09-07 02:37:55 +00:00
mattn
ee60995d64
Merge pull request #211 from mattn/fix/natural-timestamps-test
...
make TestNaturalTimestamps independent of the machine's default key and timezone
2026-09-07 02:37:41 +00:00
mattn
c0114515b8
Merge pull request #210 from mattn/fix/group-chat-drops-history
...
group: render chat messages after EOSE
2026-09-07 02:37:28 +00:00
mattn
c0e9809d18
Merge pull request #209 from mattn/fix/git-download-ref-and-path
...
git: resolve refs and paths in 'download' the same way 'ls' and 'cat' do
2026-09-07 02:37:15 +00:00
Yasuhiro Matsumoto
59b2dbffe4
podcast: show episode ids in 'list' and let 'play' take an id prefix.
2026-09-07 11:36:35 +09:00
Yasuhiro Matsumoto
42d300591d
make TestNaturalTimestamps independent of the machine's default key and timezone.
2026-09-07 11:29:20 +09:00
Yasuhiro Matsumoto
8064b95e3d
group: render chat messages after EOSE, fetching profiles while the stored events arrive made the subscription drop most of them.
2026-09-07 11:28:42 +09:00
Yasuhiro Matsumoto
466915ea72
git: resolve refs and paths in 'download' the same way 'ls' and 'cat' do.
2026-09-07 11:15:54 +09:00
mattn
a0ec97ba91
Merge pull request #208 from mattn/fix/clamp-multibyte
...
truncate text by runes instead of bytes
2026-09-07 01:56:19 +00:00
Yasuhiro Matsumoto
996dade3ec
count runes and not bytes when clamping text, so multibyte characters don't get cut in half.
2026-09-07 10:55:58 +09:00
fiatjaf
c72ff66c0c
update nostrlib.
2026-08-28 20:10:14 -03:00
fiatjaf
cf94b8fbd3
remove wallet. it was too broken, better to not promote it.
2026-08-28 20:10:14 -03:00
mattn
56997a3e3b
Merge pull request #207 from mattn/fix/git-cat-backslash-path
...
git: fix 'cat' returning the wrong file for paths with a backslash
2026-08-28 15:53:25 +00:00
mattn
0d23bcf6ae
Merge pull request #206 from mattn/fix/git-ls-cat-path-trim
...
git: don't trim whitespace off paths in 'ls' and 'cat'
2026-08-28 15:50:20 +00:00
mattn
1d215d0c21
Merge pull request #205 from mattn/fix/git-history-order
...
git: sort 'history' in reverse chronological order
2026-08-28 15:47:19 +00:00
mattn
2dfe878f13
Merge pull request #204 from mattn/fix/git-natural-ref-resolution
...
git: resolve annotated tags and hex-looking ref names
2026-08-28 15:44:19 +00:00
Yasuhiro Matsumoto
99c4b52a9a
git: walk the path in 'cat' splitting only on '/', the api treats a backslash as a separator and returned a different file's contents.
2026-08-29 00:08:11 +09:00
Yasuhiro Matsumoto
1045978bde
git: don't trim whitespace off the path in 'ls' and 'cat', git paths may legitimately start or end with a space.
2026-08-28 23:47:57 +09:00
Yasuhiro Matsumoto
532be8c2e7
git: sort 'history' commits in reverse chronological order, the depth-first order from the api put merged branches after the root commit.
2026-08-28 23:25:43 +09:00
Yasuhiro Matsumoto
f2e5eddb62
git: resolve annotated tags and refs whose name looks like a hash in 'ls', 'cat' and 'history'.
2026-08-28 23:10:06 +09:00
fiatjaf
6fe511be6c
nsite: don't stop publish if only one of the blossom server uploads fail.
2026-08-25 11:33:40 -03:00
mattn
2964518986
Merge pull request #203 from mattn/fix/fetch-web-filter-kinds
...
fetch: don't rewrite a web address's server-provided filter to kind 0
2026-08-23 16:59:30 +00:00
mattn
33126e839a
Merge pull request #202 from mattn/fix/web-scheme-guessing
...
fetch, group: fix web address scheme guessing
2026-08-23 16:59:17 +00:00
mattn
63f1472a56
Merge pull request #201 from mattn/fix/pr-pull-verify-tip
...
git: verify the fetched pull request ref against the tip declared in the event
2026-08-23 16:59:03 +00:00
fiatjaf
834477266a
make default relay timeout configurable via environment variables.
...
fixes https://github.com/fiatjaf/nak/issues/200
2026-08-22 12:34:13 -03:00
fiatjaf
9695be959d
group: parse chat messages with nip27.
2026-08-18 19:53:18 -03:00
fiatjaf
095f491efa
git: ls, cat, history.
2026-08-18 19:53:18 -03:00
mattn
c3f0152aff
Merge pull request #198 from mattn/fix/git-init-dead-web-flag
...
git: remove the dead --web flag from 'git init'
2026-08-18 04:56:41 +00:00
mattn
ac9a3d0f8a
Merge pull request #197 from mattn/fix/group-children-empty-tags
...
group: don't emit empty child tags
2026-08-18 04:56:30 +00:00
mattn
e4eac89089
Merge pull request #196 from mattn/fix/key-public-with-parity
...
key: honor --with-parity when the key comes from --sec
2026-08-18 04:56:16 +00:00
mattn
e0751205c2
Merge pull request #195 from mattn/fix/bunker-qrcode-stale
...
bunker: re-render the qr code when the secret rotates
2026-08-18 04:56:04 +00:00
mattn
d9a15ea082
Merge pull request #194 from mattn/fix/pr-send-branch-name
...
git: use the local branch name in 'pr send'
2026-08-18 04:55:49 +00:00
mattn
e4a02e477b
Merge pull request #193 from mattn/fix/nostrfs-publish-relay-leak
...
nostrfs: reuse pooled relay connections when publishing notes
2026-08-18 04:55:36 +00:00
mattn
2d237fa814
Merge pull request #192 from mattn/fix/pr-merge-noop-status
...
git: don't publish a merged status when 'pr merge' was a no-op
2026-08-18 04:55:23 +00:00
mattn
e228a5a5e0
Merge pull request #191 from mattn/fix/git-sync-preserve-maintainers
...
git: preserve web and maintainers tags when republishing the announcement
2026-08-18 04:55:09 +00:00
mattn
37220adef6
Merge pull request #190 from mattn/fix/patch-pull-dirty-worktree
...
git: refuse 'patch pull' on a dirty worktree
2026-08-18 04:54:49 +00:00
Yasuhiro Matsumoto
73a6a6699c
bunker: re-render the qr code when the bunker secret rotates, it was left on screen encoding the burnt secret.
2026-08-18 13:47:00 +09:00
Yasuhiro Matsumoto
9f19ab80c4
git: verify that the fetched pull request ref matches the tip declared in the signed event, and force-update it so rebased updates work.
2026-08-18 13:44:14 +09:00
Yasuhiro Matsumoto
58e7a02475
git: 'pr send' should use the local branch name for the branch-name tag, not the upstream mapping meant for pushes.
2026-08-18 13:36:58 +09:00
Yasuhiro Matsumoto
906de20597
git: don't publish a merged status when 'pr merge' was a no-op, and don't list the merge commit itself in applied-as-commits.
2026-08-18 13:36:12 +09:00
Yasuhiro Matsumoto
b563f7285b
fetch: don't rewrite a web address's server-provided filter to kind 0 when it has authors but no kinds.
2026-08-18 13:32:52 +09:00
Yasuhiro Matsumoto
3a0b43611e
fetch, group: only treat exact localhost hosts as http, and apply the same scheme guessing to group web addresses so local relays work.
2026-08-18 13:32:26 +09:00
Yasuhiro Matsumoto
2a3587dbb4
git: remove the --web flag from 'git init', it stopped doing anything when web setup was eliminated.
2026-08-18 13:22:12 +09:00
Yasuhiro Matsumoto
e1a54ab893
group: don't emit empty child tags when --children has trailing or doubled semicolons.
2026-08-18 13:21:57 +09:00
Yasuhiro Matsumoto
ba85ea8806
key: honor --with-parity when public key comes from --sec/default key instead of silently ignoring it.
2026-08-18 13:21:39 +09:00
Yasuhiro Matsumoto
9a515ce4d1
nostrfs: reuse pooled relay connections when publishing notes instead of leaking a new connection on every publish.
2026-08-18 13:19:06 +09:00