Commit Graph

6801 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
yosoyubik
12b79884e7 Merge branch 'yu/fix-grq-test' into i/6333/fix-grq-test 2023-02-16 10:01:18 +01:00
dachus
099415c550 Merge branch 'i/6303/eyre-verbose' of https://github.com/uqbar-dao/urbit into i/6303/eyre-verbose
merge
2023-02-14 10:49:11 -06:00
tadad
470cdf0fef
Merge branch 'develop' into i/6303/eyre-verbose 2023-02-14 10:48:58 -06:00
dachus
c62549e0b3 message changed 2023-02-14 10:46:07 -06:00
yosoyubik
c503647eb3 ames: no-op on %kroc task 2023-02-14 06:07:59 +01:00
yosoyubik
21158d6d54 ames: style fixes and comments 2023-02-14 06:06:41 +01:00
yosoyubik
25dc16addb Merge branch 'develop' into i/6065/clean-flows 2023-02-14 05:02:40 +01:00
pkova
49a24647da eyre: revert inclusion of HttpOnly header for now 2023-02-13 20:58:59 +02:00
Josh Lehman
367eae9b42
Merge branch 'develop' into i/6282/adjust-clog 2023-02-13 06:41:00 -08:00
Josh Lehman
ad190807c7
Merge pull request #5827 from urbit/ted/ames-clog-less
ames: %clog less
2023-02-13 06:36:57 -08:00
Josh Lehman
29d0362e58
Merge branch 'develop' into ted/ames-clog-less 2023-02-13 06:32:39 -08:00
fang
54680c33a8
eyre: clean up stray ~! 2023-02-13 15:12:24 +01:00
pkova
0202ff069c eyre: fix indentation 2023-02-13 14:27:34 +02:00
pkova
6d273ff035 lull: describe %name endpoint better 2023-02-13 14:27:34 +02:00
pkova
bb73dc9975 eyre: replace hardcoded duct in +load with equivalent outgoing-duct 2023-02-13 14:27:23 +02:00
pkova
712bcba2b2 eyre: hardcode %init task duct in +load 2023-02-13 14:27:12 +02:00
pkova
e3d19f9e8d eyre: refactor +load to be prettier 2023-02-13 14:27:12 +02:00
pkova
9291fed27f eyre: revert +error-response refactor 2023-02-13 14:27:12 +02:00
pkova
d8ff95db84 eyre: add /~/name endpoint 2023-02-13 14:26:54 +02:00
yosoyubik
b8b7e1951f ames: add %cong task to adjust clog 2023-02-13 12:04:41 +01:00
yosoyubik
f2f339e4f3 Merge branch 'ted/ames-clog-less' into yu/adjust-clog 2023-02-12 08:36:39 +01:00
ryjm
47ab7efb27 formatting 2023-02-11 14:38:06 -05:00
ryjm
2849d3a64d tomb: better prompting, docs 2023-02-11 14:20:32 -05:00
jose
a5deb3dbe2
Merge branch 'develop' into yu/clean-flows 2023-02-10 16:48:35 +01:00
yosoyubik
c92c2c9279 ames: log stale flows in closing state 2023-02-10 16:19:18 +01:00
yosoyubik
93b9423bcc ames: improve logs for stale retries 2023-02-10 16:13:28 +01:00
Ted Blackman
457aebec7b
Merge pull request #6304 from ryjm/jm/desk-name-sanity
clay: desk name sanity check
2023-02-10 08:34:45 -06:00
Josh Lehman
2ccdc39077
Merge pull request #6035 from urbit/lf/goerli-address
arvo: retool for goerli instead of deprecated ropsten
2023-02-10 06:30:42 -08:00
yosoyubik
3506b1edcd ames: fix number of stale flows log 2023-02-10 14:37:05 +01:00
ryjm
e5c68e6d65 Merge remote-tracking branch 'origin/develop' into jm/tomb-recurse 2023-02-09 23:55:56 -05:00
ryjm
5ea54394d0 tomb: make more recursive, offer rm
wasn't properly descending into directories next to files with the same
name.

now offers to remove files that can't be tombstoned. can choose to
remove the file at the head of the current desk or from the files on
other desks sharing the same hash.
2023-02-09 23:48:30 -05:00
Philip Monk
1c0bf96525 clay: correctly restart syncs when source breaches
Fixes #6313
2023-02-09 13:21:43 -07:00