Commit Graph

2152 Commits

Author SHA1 Message Date
John Hyde
05726833ba hoon: make sane sane 2023-03-08 17:43:31 -06:00
yosoyubik
219dea855d ames: log pleas for corked bones 2023-03-01 19:34:41 -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
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
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
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
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
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
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
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
c503647eb3 ames: no-op on %kroc task 2023-02-14 06:07:59 +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
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
Josh Lehman
dc664d516c
Merge branch 'develop' into jm/desk-name-sanity 2023-02-09 06:13:20 -08:00
ryjm
0497790b86 ~& -> ~| 2023-02-09 08:43:58 -05:00
yosoyubik
abbd95f2ce ames: fix typo 2023-02-09 13:12:50 +01:00
yosoyubik
dd812283ac ames: optimize memory measurement
Co-authored-by: Joe Bryan <joemfb@gmail.com>
2023-02-09 10:47:49 +01:00
yosoyubik
4bac6ea642 Merge branch 'develop' into ted/ames-clog-less 2023-02-09 10:14:02 +01:00
jose
7de9c45c38
Merge pull request #6129 from urbit/yu/clean-flows
ames: add |close-flows
2023-02-08 16:50:16 +01:00
Josh Lehman
88e853cf69
Merge branch 'develop' into i/6236/clay-cult-inspection 2023-02-08 06:42:32 -08:00
ryjm
a5512fe9bc add bad desk name to all traces 2023-02-08 07:38:44 -05:00
Jake Miller
972588e573
add bad desk name to stack trace
Co-authored-by: fang <github@fang.io>
2023-02-08 07:11:50 -05:00
ryjm
62b6e8c8f8 clay: desk name sanity check
Ensures no desk with an illegal name can be created by sanity checking
in `%fuse`, `%park`, and `%merge`.
2023-02-07 21:24:33 -05:00
fang
c5aece980e
Merge pull request #6116 from urbit/fix-host-scry
eyre: fix %host scry so it says secure even if no domains configured
2023-02-07 16:28:47 +01:00
fang
92066f3a33
Merge branch 'develop' into m/http-auth-tokens 2023-02-06 19:44:01 +01:00
yosoyubik
46c27d33cd ames: fix check for stale resubscriptions 2023-02-06 16:48:32 +01:00
yosoyubik
fbb95b0d9f ames: check if we have a flow for a nax ack bone 2023-02-06 16:39:00 +01:00
yosoyubik
1522e4ab96 ames: don't scry dudes for every peer 2023-02-06 16:39:00 +01:00