Commit Graph

15244 Commits

Author SHA1 Message Date
~wicrum-wicrun
6e542d4afe gall: add permissions to scry paths 2023-04-04 21:37:43 +02:00
Joe Bryan
b6194711c3 behn: hurl errors on %drip %crud 2023-04-04 15:07:27 -04:00
Joe Bryan
9ae28a985c clay: %pass %drip with context, expect and handle errors in +take 2023-04-04 15:06:51 -04:00
yosoyubik
08170068b0 ames: send a nack if there is not case for %pine
If the publisher can't produce a case for a given path,
it nacks the plea sent by the requester, that will then
produce a %miss to the vane that initiated the scry
2023-04-04 15:00:08 +02:00
yosoyubik
2691d02d28 spider: check thread cards to track remote scries 2023-04-04 14:44:36 +02:00
yosoyubik
d7df6bcce3 ames: fix pattern match check when sinking a %pine 2023-04-04 10:59:28 +02:00
midden-fabler
d8ad34f0fc update scry path listing 2023-04-04 03:06:22 -04:00
midden-fabler
bacbfd71ac add last-contact scry endpoint 2023-04-04 02:50:09 -04:00
yosoyubik
06a1f9aa27 ames: refactor unused on-pine flow for publishers 2023-04-04 08:28:43 +02:00
~wicrum-wicrun
c4d00e0073 gall: block when scrying into the future 2023-04-03 21:18:27 +02:00
~wicrum-wicrun
86df8f28f2 gall: smear @da if binding to a path earlier than its latest binding 2023-04-03 21:17:00 +02:00
~wicrum-wicrun
0aeed743af gall: return a cage instead of a cage of a page at %a scry 2023-04-03 20:21:31 +02:00
Ted Blackman
90970469d0
Merge pull request #6427 from playfulpachyderm/i/6426/expand-new-desk
arvo: add more files to |new-desk generator
2023-04-03 12:09:26 -04:00
~wicrum-wicrun
f46ec4d37b lull,gall: store $page instead of $noun in scry bindings 2023-04-03 16:10:57 +02:00
~wicrum-wicrun
13b6c2cdba lull,gall: add scry bindings to bowl 2023-04-03 15:39:11 +02:00
~wicrum-wicrun
14a7f863ed lull,zuse: move +mop to lull 2023-04-03 15:38:43 +02:00
yosoyubik
920c208a60 ames: fix on-pine 2023-04-03 12:48:16 +02:00
yosoyubik
dbac58827e spider: clean up remote scries on thread-done 2023-04-03 09:40:56 +02:00
yosoyubik
6c06fa16fa spider: support tracking/canceling scry requests
(%spider only tracks scry requests started by the -keen thread)
2023-04-03 09:18:51 +02:00
yosoyubik
d406344081 lull, ames: add %wham to cancel all scry requests
(we might want to add permissioning to restrict who can send %whams)
2023-04-01 09:20:49 +02:00
Ted Blackman
726cda9d26
Merge pull request #6425 from urbit/i/6409/sss-unsubscribe
sss: Unsubscribing and permissions
2023-03-31 12:50:28 -04:00
yosoyubik
55dffb59e7 ames: add all=? flag to fine %yawn task
if all=& in |yawn, it will delete all listeners ducts,
without notifying them about it, which seems bad,
so we migh adress that separatedly.

Also, it might be cleaner to have a separate task instead of
a flag, to have two paths for "remove me" and "remove all",
this way there won't be an option for a listener to remove all
others, and that will have to be handled explicitly.
2023-03-31 15:45:51 +02:00
~wicrum-wicrun
2b7245ddf3 gall: support %a scry at any date 2023-03-31 15:37:24 +02:00
~wicrum-wicrun
5d91b0bb0a gall: store date with each scry binding 2023-03-31 14:35:20 +02:00
yosoyubik
8387a28bd2 ames: use %$ to handle /pine pleas
Sending a %pine plea to an old publisher will result in
a crash because it:
- (pre remote-scry) handles only %cork pleas with %$ as the vane
- (pre GRQF) it doesn't handle %$ as the recipient vane
2023-03-31 11:37:05 +02:00
~wicrum-wicrun
8553108c9e gall: support %t scry 2023-03-31 00:20:22 +02:00
yosoyubik
80f01d06c5 dbug: return scry component
WIP this adds the minimal things we have in the scry-state of a peer.
Will revisit later on to present (more) information in a different way
2023-03-30 14:21:05 +02:00
~wicrum-wicrun
8f4a8e597f gall: support %z scry 2023-03-30 13:41:40 +02:00
yosoyubik
ece5393829 ames: add -pine thread 2023-03-30 13:39:44 +02:00
yosoyubik
27c83ea067 dbug: first pass at adding outgoing scries
(note: the frontend side is still WIP)
2023-03-30 11:49:21 +02:00
~wicrum-wicrun
6524e85d0c gall: save highwater mark when nuking 2023-03-29 20:28:36 +02:00
Alessio
38ace43ca0 arvo: change |new-desk to be minimal by default 2023-03-29 14:20:23 -03:00
Josh Lehman
fab329799f
Merge branch 'develop' into i/6297/vats 2023-03-29 08:43:07 -07:00
~wicrum-wicrun
4084fe0e5c block when appropriate on %w scry 2023-03-29 17:18:43 +02:00
~wicrum-wicrun
d8f5e53185 gall: block at %a scry if date isn't now 2023-03-29 16:15:00 +02:00
~wicrum-wicrun
d77d1ce615 gall,lull: don't include $case in %grow 2023-03-29 13:53:25 +02:00
~wicrum-wicrun
165ad4c2f7 gall: simplify $neet definition 2023-03-29 12:52:12 +02:00
lukechampine
e0ff3b4d5f eyre: add cache 2023-03-28 17:01:31 -04:00
~wicrum-wicrun
b1fd1fbab1 gall: implement %w scry 2023-03-28 21:45:14 +02:00
~wicrum-wicrun
fe6b675a6d gall: enforce monotonic growth of cases 2023-03-28 20:27:27 +02:00
~wicrum-wicrun
e7e7706c33 gall: support %a scries at the current time 2023-03-28 18:34:35 +02:00
Matthew LeVan
8749a0dac2
Merge pull request #6430 from urbit/fix-next-kelvin-ci
ci: fix `next/kelvin/*` workflows
2023-03-28 11:55:09 -04:00
yosoyubik
8cc9433f57 ames: use sys.kelvin as default in |keen 2023-03-28 13:43:15 +02:00
yosoyubik
8e54f7fcc3 ames: fix parsing fine timer wire 2023-03-28 13:40:10 +02:00
yosoyubik
f34e472bdd ames: fix faulty +abed, one more time 2023-03-28 12:35:23 +02:00
James D. Amberger
821f99a351 hood: options for +vats generator
This commit refactors `sur/hood.hoon` and changes the signature of the
`+vats` generator thus:

```hoon
|=  $:  [now=@da eny=@uvJ bec=beak]
        $@(~ [?(%suspended %running %blocking %nonexistent) ~])
        $:  verb=?
            show-suspended=?
            show-running=?
            show-blocking=?
            show-nonexistent=?
        ==
    ==
```

Called with a single positional argument, `+vats` will show only those
desks fitting the description given, while keyword parameters allow
finer-grained control over which desks are described. The `verb`
parameter determines whether the full load of desk information be shown,
or a subset thereof.

Resolves #6297.
2023-03-27 23:09:41 -04:00
Alessio
00b7ace08d arvo: add more files to |new-desk generator 2023-03-27 23:58:19 -03:00
~wicrum-wicrun
4516ecfaa3 sss: Simplify +block:du and +allow:du 2023-03-27 22:03:24 +02:00
~wicrum-wicrun
d2e6c7e8a1 Unsubscribing and permissions 2023-03-27 19:21:19 +02:00
yosoyubik
c9124e9fd0 ames: fix faulty bunted state in +abed 2023-03-25 16:58:03 +01:00
Pyry Kovanen
6d80191aef
Merge pull request #6417 from urbit/release/urbit-os-v2.136
Merge urbit-os-v2.136-rc2 back to develop
2023-03-24 21:51:17 +02:00
Pyry Kovanen
cb819b2091
Merge pull request #6413 from urbit/i/6407/zeal
clay: stop failed kelvin upgrades from retrying immediately
2023-03-24 18:36:09 +02:00
Philip Monk
89500460f7 clay: stop failed kelvin upgrades from retrying immediately
We were retrying failed kelvin upgrades as many times as we had apps
that needed to be suspended, because suspending an app triggers an
attempt to run the next kelvin upgrade.  This suspends all those apps in
one batch move, and then tries the next kelvin upgrade only once at the
end.

Fixes #6407

Partially addresses #6285
2023-03-24 18:19:48 +02:00
yosoyubik
140e5d2b5f ames: reorder |keen arms 2023-03-24 13:59:29 +01:00
yosoyubik
3269192b29 ames: remove mu/mi-trace 2023-03-24 12:44:20 +01:00
yosoyubik
ce02fecc41 ames: use +abed properly for |mi and |mu 2023-03-24 12:14:31 +01:00
~wicrum-wicrun
d76057cac7 ames: handle remote scry requests for gall data 2023-03-23 18:51:19 +01:00
Josh Lehman
2e5af921bb
Merge branch 'next/kelvin/413' into x/json-bgon 2023-03-23 08:35:57 -07:00
Josh Lehman
cfb92b31ce
Merge pull request #6394 from silnem2/pill-lists
lib, gen: remove folder whitelist from lib/pill, add option to remove folders
2023-03-23 08:23:35 -07:00
yosoyubik
439184fa7c ames: add +abed arms to peer-core 2023-03-23 12:54:22 +01:00
yosoyubik
d214fad1bd Revert "ames: make +abet pure"
This is stil a WIP and has not been tested so reverting commit
e4182f52a9.
2023-03-23 10:41:56 +01:00
yosoyubik
3c158b2491 ames: move etch-hunk out of the fine core 2023-03-23 10:19:54 +01:00
yosoyubik
8b0bd25a45 ames: rename keen-core -> ke 2023-03-23 06:45:14 +01:00
~wicrum-wicrun
f297762ab9 clay (and everything else) compiles 2023-03-22 23:24:55 +01:00
Hunter Miller
8e5b9763b4 meta: update for kelvin 2023-03-22 10:39:15 -05:00
yosoyubik
2545e05c7a lull: implement +wyt for getting the size of a |deq 2023-03-22 12:26:50 +01:00
Ted Blackman
9772114f6f wip clay somewhat closer to compiling, but fails on hit.dom 2023-03-21 17:33:50 -06:00
Ted Blackman
03b3f75ae1 clay: dome->domo, compilation still fails though 2023-03-21 14:59:34 -06:00
Joe Bryan
817125ba51 ames: fix up merge resolutions (compiles!) 2023-03-21 13:38:59 -04:00
yosoyubik
dd0f35c8ad Merge branch 'm/contdist-and-behn' into i/5788/remote-scry 2023-03-21 18:01:17 +01:00
Josh Lehman
5506236311
Merge branch 'develop' into pill-lists 2023-03-20 08:24:31 -07:00
yosoyubik
e4182f52a9 ames: make +abet pure 2023-03-20 09:19:27 +01:00
Ted Blackman
69e0eac709 lull,zuse,sys.kelvin: zuse 413, lull 324 2023-03-19 16:25:23 -06:00
Ted Blackman
4e5c73c826 hoon: fix merge conflict 2023-03-19 16:25:23 -06:00
yosoyubik
1144fb3f28 ames: use the %rcv flag when hearing a packet 2023-03-18 19:16:10 +01:00
yosoyubik
d645fcc862 ames: always ack %hear tasks on corked bones 2023-03-18 19:06:16 +01:00
yosoyubik
bf97b20cd8 Merge branch 'develop' into yu/ames-snub-whitelist 2023-03-17 19:06:44 +01:00
silnem2
978e0eb2bd revert /sys filter in aqua 2023-03-17 12:00:13 -06:00
yosoyubik
80914289b2 ames: fix %snub queued evet update 2023-03-17 18:51:27 +01:00
Ted Blackman
3622c5f33e
Merge branch 'next/kelvin/413' into m/typed-paths 2023-03-17 12:07:39 -04:00
Ted Blackman
953b4bb252
Merge pull request #6398 from urbit/i/6397/distinguish-empty-from-wiped
sss: Distinguish between an empty path and a wiped path
2023-03-17 11:28:30 -04:00
yosoyubik
003613d1d5 Merge branch 'develop' into yu/ames-snub-whitelist 2023-03-17 14:05:38 +01:00
silnem2
904c40719e fix aqua style and add return type annotation to lib/pill 2023-03-17 03:18:33 -06:00
silnem2
a01aaa531d Update aqua fix to filter /sys 2023-03-16 18:29:12 -06:00
~wicrum-wicrun
e321c56bd1 clarify logic 2023-03-17 00:05:09 +01:00
~wicrum-wicrun
3fe9dc6026 distinguish between an empty path and a wiped path 2023-03-16 23:47:25 +01:00
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
silnem2
102bfb5571 remove trailing whitespace 2023-03-16 12:00:48 -06:00
silnem2
13ce5754fe Clean up lib/pill and fix %aqua 2023-03-16 11:49:29 -06:00
Ted Blackman
e17cb3e801
Merge pull request #6306 from uqbar-dao/i/6303/eyre-verbose
eyre: add verbosity levels
2023-03-16 13:39:44 -04:00
Ted Blackman
5c9a8de749 gall: undo indent 2023-03-16 10:56:52 -06:00
Ted Blackman
e62dc18a35 gall: add +trace to scry binding handlers 2023-03-16 10:48:46 -06:00
Ted Blackman
cd6d4c2f57 gall: handle scry moves locally 2023-03-16 10:24:25 -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
tadad
328a3d687d
Merge branch 'develop' into i/6303/eyre-verbose 2023-03-16 09:36:27 -06:00
Josh Lehman
dbe6f7fd20
Merge branch 'develop' into i/6264/ames-snub-whitelist 2023-03-16 08:30:57 -07: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
silnem2
d3e788148c
Merge branch 'urbit:develop' into pill-lists 2023-03-15 12:10:51 -06:00
silnem2
877a00baf8 lib/gen: update pill lib/gens not to use whitelist 2023-03-15 11:43:10 -06: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
yosoyubik
3654431f3a ames: sanity check abetting the sink core 2023-03-15 10:35:08 +01:00
Ted Blackman
3565251472 gall: remove unused helpers 2023-03-14 15:31:01 -06: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
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
Ted Blackman
bbb693246e lull,gall: switch to per-agent scry bindings 2023-03-11 18:35:55 -06:00
Ted Blackman
234d450125 gall: store scry paths in a +mop, not +map 2023-03-11 17:25:11 -06:00
Ted Blackman
d361a27781 gall: +mo-cull compiles 2023-03-11 17:11:25 -06:00
Ted Blackman
8b1fd38fe1 gall: check high-water mark 2023-03-11 17:05:53 -06:00
Ted Blackman
57108b85d7 gall: +mo-tomb compiles 2023-03-11 17:01:14 -06:00
Ted Blackman
3ba3c09cc7 lull,gall: %grow compiles 2023-03-11 16:50:51 -06: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
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
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
3177067d96
Merge branch 'develop' into i/6264/ames-snub-whitelist 2023-03-03 09:54:35 -08: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
Marcus
3b91a3f0be ames: snubbed scry and whitelist 2023-03-02 18:21:36 -03: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
Ted Blackman
dae436aa94
Merge pull request #6344 from urbit/i/6339/dill-logs
dill: legible %logs
2023-02-24 16:59:14 -05:00
fang
c826075eed
dill: formally deprecate %knob mechanism
Marks it as deprecated in lull with a comment, and removes the verbosity
toggle state from dill. Filtering should now happen at the edges where
%crud error messages get printed.

We don't remove it from lull just yet, because that would necessitate a
kelvin bump, even though the rest of this changeset doesn't.
2023-02-24 22:41:32 +01:00
Alex Shelkovnykov
5b9bed244f Minor improvement to +mod and +dvr 2023-02-23 20:37:53 +01:00
Alex Shelkovnykov
5ff37c59a9 ted: add mark to use eval thread via khan 2023-02-23 20:20:46 +01:00
yosoyubik
dec8252d4a Merge branch 'develop' into i/6103/ames-refactor 2023-02-23 13:51:35 +01:00
yosoyubik
5e64bdd833 ames: add |ames-cong 2023-02-23 13:45:59 +01:00
yosoyubik
cecd7b4835 ames: remove unused pump/sink/pack gifts 2023-02-23 13:39:41 +01:00
fang
dd1eef5355
webterm: remove
It has been moved out of the monorepo, now lives under urbit/webterm.

Closes #6283.
2023-02-22 19:10:11 +01:00
tadad
a404982f75
Merge branch 'develop' into i/6303/eyre-verbose 2023-02-22 09:26:17 -06:00
Ted Blackman
38d2e2987c
Merge pull request #6341 from uqbar-dao/i/6340/ames-packet-size
ames: store packet bloq size in subject
2023-02-22 09:41:55 -05:00
yosoyubik
3963b0a951 ames: fix test-nack
previously we were acking the nack-trace message (adding a %send move)
before notifying the message-pump with a %near task. Now, due to the
refactoring we invert the order of those moves. This seems safe but will
determine with livenet testing
2023-02-22 14:45:44 +01:00
yosoyubik
9ae4d31fec Merge branch 'develop' into i/6103/ames-refactor 2023-02-22 13:17:13 +01:00
yosoyubik
458b40318d ames: remove unused message pump timer relay 2023-02-22 11:06:09 +01:00
yosoyubik
8d9e9c20f5 ames: refactor message-sink 2023-02-22 10:50:20 +01:00
yosoyubik
9c8080cb0b ames: move peer-state lookups to helper chapter 2023-02-22 09:11:22 +01:00
yosoyubik
eaae5b1161 ames: nest pump-gauge in packet-pump 2023-02-22 09:06:05 +01:00
yosoyubik
91be2b8bf1 ames: refactor message and packet pumps 2023-02-22 08:50:55 +01:00
fang
05edb273f8
Merge pull request #6343 from urbit/m/autoprop-chill
autoprop: properly keep track of runtime version
2023-02-21 21:44:40 +01:00
pkova
76f32c6fad lull, eyre: add intermediate type for /~/name endpoint
The previous changes implementing the /~/name endpoint were breaking,
since we changed the type of `$action:eyre`. This commit keeps the /~/name
endpoint functional, but adds adapters to eyre scries that returns the old
`$action:eyre` type. These adapters and their associated intermediate types
can be removed the next time we burn a kelvin.
2023-02-21 20:48:56 +02:00
fang
11c3605f9f
lull: add deprecation notice for %cru blits
These haven't been in use for a long time (if ever), but are now fully
deprecated: if you want to receive system output, see dill's %logs task
instead.
2023-02-21 17:29:51 +01:00
fang
1cc647938d
drum: make |knob work again
This should no longer go into dill, but instead be controlled by drum
directly, since that's where system output gets rendered now (in the
common/default case).
2023-02-21 17:29:16 +01:00
fang
707249beb9
drum: print dill %logs
Dill's new %logs endpoint can be used to receive system output as $told
nouns. Dill no longer prints system output itself, leaving the display
of it up to terminal handlers (or the runtime). For now, to maintain the
status quo, drum subscribes to dill %logs, and prints them inline in the
default session.
2023-02-21 16:51:45 +01:00
fang
e67bfbfa8a
dill: remove printing machinery
Now that %logs exists, dill can delegate responsibility for printing
system output to outsiders (like the runtime, or the terminal handler
agent). Here, we remove dill's printing logic, which was still coupling
it to the default session and drum's expected semantics.
2023-02-21 16:47:14 +01:00
fang
ecbf4ce99b
dill: send system output to %logs subscribers
A dill %logs task can be used to open and close subscriptions to "system
output". Whenever dill receives a %text, %talk, or %crud task, it
considers this "system output", and passes it along to all %logs
subscribers.
2023-02-21 16:35:53 +01:00
yosoyubik
f508a569f8 ames: add core chapters to peer-core 2023-02-21 13:38:03 +01:00
yosoyubik
6d6f1b956f ames: add core chapters to +ev 2023-02-21 12:56:50 +01:00
yosoyubik
f310b5cb3a ames: rename make-peer-core -> pe 2023-02-21 12:46:20 +01:00
yosoyubik
07af14ecc3 ames: rename per-event -> ev 2023-02-21 12:32:33 +01:00
yosoyubik
311fa0efbb ames: move formal interface core to the bottom 2023-02-21 12:22:53 +01:00
fang
d71c46b3a5
autoprop: properly keep track of runtime version
Autoprop has a timer that checks whether we're on a new/different runtime
periodically. When we detect we are, we re-build the props, so that they may
be re-published under that new version identifier.

However, we weren't updating the cached runtime version we store in state,
causing every firing of this timer to re-build the props.

Here, we correctly update state if we detect a difference, so that subsequent
timers don't trigger redundant rebuilds.
2023-02-18 17:20:14 +01:00
tadad
a82548615e
Merge branch 'develop' into i/6340/ames-packet-size 2023-02-17 14:04:38 -06:00
dachus
6f5f4e2100 done 2023-02-17 14:02:11 -06:00
dachus
7c046d8812 +load fixed 2023-02-17 10:15:27 -06:00
tadad
dce0317327
Merge branch 'develop' into i/6303/eyre-verbose 2023-02-17 09:46:54 -06:00
midsum-salrux
ececa20a04
Merge branch 'develop' into ns/migrate-my-channels 2023-02-17 10:46:11 -05:00
Josh Lehman
e42e3451d9
Merge branch 'develop' into jm/desk-scries 2023-02-17 12:00:48 -03:00
Ted Blackman
51be6665f5
Merge pull request #6336 from ashelkovnykov/eval-ted
Add threads to run arbitrary hoon
2023-02-17 09:56:06 -05:00
Alex Shelkovnykov
fa17eaac43 Add threads to run arbitrary hoon 2023-02-17 15:39:10 +01:00
~midsum-salrux
61850ba009 Filter out DMs 2023-02-17 09:38:07 -05:00
Ted Blackman
34c3cb2242
Merge pull request #6269 from urbit/i/6268/solid-state-publications
Implement solid-state publications in userspace
2023-02-17 09:23:18 -05:00
Ted Blackman
8afe2d1ae9
Merge pull request #6338 from urbit/i/6287/eof-syntax-error
clay: render syntax errors at end of file
2023-02-17 09:12:58 -05:00
Ted Blackman
08abd0807b
Merge pull request #6334 from urbit/i/6333/fix-grq-test
ames: fix failing GRQ test
2023-02-17 09:12:07 -05:00
Ted Blackman
61d32b5598
Merge pull request #5973 from urbit/m/http-auth-tokens
http: check requests for auth using tokens from eyre
2023-02-17 09:09:23 -05:00
fang
fe3de74620
clay: render syntax errors at end of file
Previously, if the pointer for a syntax error pointed to the end of the file
(and the file ended in a newline) the code snippet rendering would try to
display a line _beyond_ the end of the file, causing a crash.

Here, we detect that case, and display `<<end of file>>` instead.

(Originally merged through #5812, but got lost somewhere along the way.)

Fixes #6287.
2023-02-17 13:26:55 +01:00
yosoyubik
ce06936788 test: load agents using %load task 2023-02-17 12:10:17 +01:00
~wicrum-wicrun
7e4f7d4bc6 Publisher doesn't set timer 2023-02-17 10:22:58 +01:00
tadad
179996d63c
Merge branch 'develop' into i/6303/eyre-verbose 2023-02-16 09:03:01 -06:00
dachus
5433d186aa requested changes fixed 2023-02-16 09:02:34 -06:00
~wicrum-wicrun
26c7a94321 Crash if we're woken up for a subscription we don't have 2023-02-16 14:57:47 +01:00
~wicrum-wicrun
6055266d85 Comment /lib/sss/hoon 2023-02-16 14:49:25 +01:00
yosoyubik
12b79884e7 Merge branch 'yu/fix-grq-test' into i/6333/fix-grq-test 2023-02-16 10:01:18 +01:00
~wicrum-wicrun
83cfd18290
Merge branch 'develop' into i/6268/solid-state-publications 2023-02-16 08:58:58 +01:00
~wicrum-wicrun
6f31ad889a %rest stale timers on subscriber 2023-02-16 08:58:15 +01:00
~wicrum-wicrun
55c3fedcfa Use ^- instead of ;; because to save resources (and cleaner) 2023-02-16 07:46:52 +01:00
~midsum-salrux
d4b7af8283 Merge remote-tracking branch 'origin/develop' into ns/migrate-my-channels 2023-02-15 11:14:38 -05:00
~midsum-salrux
5c0e1992f9 Skip migration if there are no channels 2023-02-15 10:55:50 -05:00
~wicrum-wicrun
34328a0ac3 Ad Fontes-style networking 2023-02-15 15:54:06 +01:00