Commit Graph

31676 Commits

Author SHA1 Message Date
fang
e11ac8a1c8 eyre: deduce channel mode from headers, not url 2023-03-16 14:32:02 -06:00
fang
10fe204c9e eyre: add support for noun-based channels
Adds a "mode" to channels, which can be set to either %json (current
behavior) or %jam. For %jam channels, aside from the SSE framing, all
communication happens through @uw-encoded jammed nouns. This applies to
both outgoing channel events, as well as incoming channel requests.

We choose @uw-style encoding because raw bytestreams are fragile and
cannot work inside the SSE stream context.

Currently, a separate endpoint (/~/channel-jam/etc) is used to indicate
%jam as the desired mode for a channel. We will probably want to make
this a bit cleaner, not least because it's not currently implemented as
a formal standalone endpoint, but also to give it stronger aesthetic
equivalence with the existing channel endpoint. Putting the mode in the
file extension is a tempting option here, but semantically not quite
right.

Connecting to the same channel across multiple modes is currently
supported, but it's untested, and unclear whether this is desirable or
not.
2023-03-16 14:31:45 -06:00
Josh Lehman
25c4740945
Merge pull request #6352 from urbit/i/6283/webterminated
webterm: remove from monorepo
2023-03-16 08:54:14 -07:00
Josh Lehman
48ea6c028e
Merge pull request #6328 from urbit/autoprop-link
Add |link step to %autoprop.
2023-03-16 08:46:20 -07:00
Ted Blackman
4b52d92531
Merge pull request #6351 from urbit/i/6103/ames-refactor
ames: refactor
2023-03-16 11:33:32 -04:00
yosoyubik
02f01cf14c Merge branch 'develop' into i/6103/ames-refactor 2023-03-16 09:27:22 +01:00
Ted Blackman
61b3545682
Merge pull request #6382 from urbit/i/6242/kiln-fix-uninstall
kiln: fix uninstall
2023-03-15 16:58:43 -04:00
Ted Blackman
d81fc6e519
Merge pull request #6373 from urbit/m/dumb-apes
hoon: in +ape:ag, make zero a plain atom
2023-03-15 15:00:30 -04:00
Josh Lehman
18205a793a
Merge pull request #6365 from urbit/next/kelvin/414
Merge next/kelvin/414 to develop
2023-03-15 11:05:14 -07:00
dachus
0286ca7b5b dome:clay => domo, moved to lull, full scry enabled 2023-03-15 08:35:59 -04:00
dachus
540a4948ca flue added to cone 2023-03-15 08:35:58 -04:00
dachus
9c2c128b69 and moved to lull 2023-03-15 08:35:58 -04:00
pkova
ce4da6db65 lull: burn kelvin 326 -> 325 2023-03-15 08:35:58 -04:00
pkova
d9c9b4150b lull, eyre: remove scry adapters for /~/name endpoint 2023-03-15 08:35:58 -04:00
pkova
2874c09e30 zuse: burn kelvin 415 -> 414 2023-03-15 08:35:58 -04:00
Pyry Kovanen
596fea8c2a
Merge pull request #6393 from urbit/i/6392/fix-ci-dash-c
ci: use `-c` in `bootFakeShip`
2023-03-15 14:32:42 +02:00
Matthew LeVan
637c598e80 ci: use -c in bootFakeShip 2023-03-15 08:20:09 -04:00
yosoyubik
3654431f3a ames: sanity check abetting the sink core 2023-03-15 10:35:08 +01:00
Matthew LeVan
425a207903
Merge pull request #6372 from urbit/i/6370/use-branch-for-vere-version
ci: use branch for `vere` version
2023-03-14 13:56:51 -04:00
Ted Blackman
3ba5adfffd
Merge pull request #6383 from urbit/i/6371/no-op-if-corked
ames: no-op if bone has been corked on the sender
2023-03-13 11:59:13 -04:00
Josh Lehman
8e3ca9b1c5
Merge pull request #6381 from johnhyde/i/6380/fix-sane-memory-usage
hoon: make sane memory-efficient for large atoms
2023-03-13 08:54:41 -07:00
John Hyde
aa6d6b1a42 hoon: fix style issues and update solid pill 2023-03-12 14:03:33 -07:00
yosoyubik
943690f8ee ames: remove unused %krocs and %corks logic
%krocs is still in peer-state, in lull.hoon and can be removed
next time ames-state is updated, same as for %corks (only in ames-state)
2023-03-12 13:47:40 +01:00
yosoyubik
86bad20baf ames: no-op if bone has been corked on the sender 2023-03-12 10:05:33 +01:00
yosoyubik
c1974b30b2 ames: clean up clogged conditional 2023-03-12 09:59:11 +01:00
yosoyubik
2724523a26 Merge branch 'develop' into i/6103/ames-refactor 2023-03-12 09:46:44 +01:00
yosoyubik
34f9a49b73 ames: log pleas for corked bones 2023-03-12 09:45:33 +01:00
yosoyubik
707cbd63ab ames: always ack recork pleas 2023-03-12 09:36:51 +01:00
yosoyubik
f58fcfd41d ames: no-op if bone has been corked on the sender 2023-03-12 08:47:44 +01:00
Marcus
df233c1acd kiln: fix uninstall 2023-03-10 14:22:09 -03:00
John Hyde
50b6153119 hoon: make sane more memory-efficient 2023-03-09 03:07:29 -06:00
John Hyde
05726833ba hoon: make sane sane 2023-03-08 17:43:31 -06:00
Hunter Miller
68268c9bab
Merge pull request #6232 from urbit/hm/remove-npm-packages
meta: remove npm packages
2023-03-08 12:27:47 -06:00
Pyry Kovanen
bec5669929
Merge pull request #6378 from urbit/pkova/eth-watcher-fix
Merge pull request #6377 from justinlynn/hotfix/6376-eth-hex-format
2023-03-07 17:51:33 -06:00
Pyry Kovanen
7eee507bab Merge pull request #6377 from justinlynn/hotfix/6376-eth-hex-format
Fix stuck %eth-watcher due to get-block-by-number zero-padded number RPC failure.
2023-03-07 17:44:17 -06:00
Matthew LeVan
e34959e6cd ci: small fixes 2023-03-06 09:24:38 -06:00
Matthew LeVan
fafe39b9ee ci: use branch for vere version 2023-03-04 11:26:28 -06:00
fang
6f6fee2b89
hoon: in +ape, make zero a plain atom
In the `+ape` parser constructor, we were providing `0` as the parsing result
for the zero character. Hoon syntax dictates this is a `@ud` however,
resulting in a parsing output type of `?(@ud etc)`. Since `+ape` is commonly
used for parsing atoms of various kinds, one might end up with a result
of `?(@ud @)`, which would fail to nest directly under, say, `@uv`, requiring
parsers to add a casting step.

Here, we simply cast the zero result to `@` to make it perfectly generic. This
should alleviate the need for a casting step in parsers that need to fit their
output into a specific aura.

(The output type in the common case (ie, `+hex:ag`, `+viz:ag`) is now `?(@ @)`,
which is still somewhat strange, but should have better ergonomics.)

Since `@` can be used in any place `@ud` is accepted, this is a non-breaking
change.
2023-03-04 18:02:33 +01:00
Josh Lehman
8417431b31
Merge pull request #6368 from urbit/i/6367/fix-missing-cachix-binary
ci: upgrade to `cachix/install-nix-action@v20`
2023-03-03 09:52:56 -08:00
Matthew LeVan
bcf7320041 ci: upgrade to cachix/install-nix-action@v20 2023-03-03 11:43:46 -06:00
Ted Blackman
c0ca09df65
Merge pull request #6366 from urbit/revert-6056-jm/tomb-recurse
Revert "hood: recursive `|tomb`"
2023-03-03 11:57:34 -05:00
Josh Lehman
8ddc15a001
Revert "hood: recursive |tomb" 2023-03-03 08:52:17 -08:00
Ted Blackman
59e2d9318e
Merge pull request #6364 from urbit/i/6363/ack-recork
ames: always ack recork pleas
2023-03-03 11:32:56 -05:00
Ted Blackman
1bd6f99382
Merge pull request #6353 from ashelkovnykov/eval-ted
ted: add mark to use eval thread via khan
2023-03-02 11:04:28 -05:00
yosoyubik
219dea855d ames: log pleas for corked bones 2023-03-01 19:34:41 -06:00
Ted Blackman
ccc35277a1
Merge pull request #6056 from urbit/jm/tomb-recurse
hood: recursive `|tomb`
2023-03-01 17:29:13 -05:00
Ted Blackman
c4d3d446fb |tomb: indentation 2023-03-01 16:05:29 -06:00
yosoyubik
233d957a5c ames: always ack recork pleas 2023-03-01 15:55:46 -06:00
Josh Lehman
e4f5a921b2
Merge pull request #6355 from ashelkovnykov/dvr
hoon: minor improvement to +mod and +dvr
2023-03-01 18:42:05 -03:00
ryjm
f218327986 tomb: remove |rm prompt
if you're trying to tombstone at the head of the desk, you probably
don't know what you're doing. so we abort.

we keep the option to `|rm` any matching hashes in other desks since
this is something the tombstoner might not know exists in advance and is
actively blocking them from completing the desired tombstone operation.
2023-02-27 12:25:29 -05:00