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
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
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
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
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
tadad
cbc178ee76
Merge branch 'develop' into i/6303/eyre-verbose
2023-02-09 14:08:16 -06:00
dachus
50d35ad89a
cleaning
2023-02-09 15:06:06 -05:00
dachus
b5b11b0bf1
cleaning
2023-02-09 14:56:50 -05:00
dachus
785fa057bd
cleaning code
2023-02-09 14:51:34 -05:00
dachus
d8ca915c22
cleaning up message rankings
2023-02-09 14:22:50 -05:00
dachus
9aadada6fc
discard-channel traces fixed
2023-02-09 14:11:35 -05:00
dachus
d52df27ca0
channel discarding messages added
2023-02-09 13:58:24 -05:00
dachus
7e4a55b304
error connections tuned
2023-02-09 13:06:02 -05:00
dachus
b6c1ed2240
load changed
2023-02-09 12:55:47 -05:00
dachus
50c0fc39ae
changed messages
2023-02-09 12:55:08 -05: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
dachus
738b1a562c
style fixes
2023-02-08 17:03:02 -05:00
dachus
abdff98864
traces added for connections
2023-02-08 16:54:36 -05:00
dachus
c59813e367
gall watch/leave traces added
2023-02-08 16:19:13 -05:00
dachus
09017729bc
eyre %spew added to toggle verbosity
2023-02-08 15:20:07 -05:00
dachus
c271ade941
veb to verb
2023-02-08 15:19:14 -05:00
dachus
aedb261b7e
+load properly migrates state
2023-02-08 15:10:16 -05:00
dachus
46a9556f4b
+insert-binding reverted
2023-02-08 14:47:54 -05:00
dachus
318e001c28
trace removed from main core
2023-02-08 14:46:05 -05:00
dachus
e00e959100
trace moved into +per-server-event
2023-02-08 14:43:13 -05:00
dachus
69f7fc40c3
slog calls replaced with trace
2023-02-08 14:15:55 -05:00
dachus
c377008f62
fixed kick messages
2023-02-08 13:47:43 -05:00
dachus
54d655aeda
all ~& replaced with trace calls
2023-02-08 13:44:09 -05:00
dachus
a03be0e6f9
verb added
2023-02-08 12:43:03 -05: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
yosoyubik
108e0cd023
ames: fix syntax error
2023-02-06 16:39:00 +01:00
yosoyubik
5f9d6b23d1
ames: improve logging in dry mode for on-kroc
2023-02-06 16:39:00 +01:00
yosoyubik
24140d5f12
ames: clarify forward/backward bones
2023-02-06 16:38:59 +01:00
yosoyubik
e32c18b677
ames: style fixes and comments
2023-02-06 16:38:59 +01:00
yosoyubik
1d8214530a
ames: fix |close-flows generator
2023-02-06 16:38:50 +01:00
yosoyubik
1e04e9498e
ames: clean all stale %watches in on-kroc
...
This removes the logic from cleaning up stale subscriptions in %gall,
leaving +ap-rake as it was, and moves it to the +on-kroc arm in %ames.
Failed subscriptions from nacking a %watch plea that were
not properly corked (fixed in https://github.com/urbit/urbit/pull/6102 )
are a subset of the more general "stale re-subscription" issue, so
we take care of all stale flows at the same time, by focusing on the
current subscription—leaving all others to be corked automatically—and
checking if it received a nack, to subsequently cork it.
2023-02-06 16:38:04 +01:00
yosoyubik
ad712caccf
ames, gall: move |close-flows logic to vanes
...
This modifies the %rake task in %gall, to select what kind of
subscriptions we try to close:
=mode %o: kill old pre-nonce subscriptions
=mode %z: kill old pre-nonce subscriptions, including sub-nonce = 0
=mode %r: kills all stale resubscription flows
It also adds a dry-run option to both tasks (%kroc in ames, %rake in gall)
2023-02-06 16:36:32 +01:00
yosoyubik
872db0efcc
ames, +close-flows: combine stale flows
...
This combines two types of flows that can be closed:
- nacking %watch pleas
- resubscriptions that were not properly corked
2023-02-06 16:36:31 +01:00
yosoyubik
7d4959db2e
ames: don't send %kroc cards in |close-flows
2023-02-06 16:36:30 +01:00
yosoyubik
7c26716bab
ames: remove stale comment
2023-02-06 16:36:29 +01:00
yosoyubik
05582d12c2
ames: refactor +on-krock
2023-02-06 16:36:28 +01:00
yosoyubik
3a7bd3a67f
ames: add tool for removing failed %watch flows
2023-02-06 16:36:27 +01:00
Ted Blackman
2bae8127bf
Merge branch 'develop' into i/6236/clay-cult-inspection
2023-02-03 15:31:08 -06:00
Ted Blackman
09a0da4c84
clay: refuse %cs subs scry unless at now
2023-02-03 12:33:27 -06:00
bacwyls
4c2e5460bd
clay: revise /subs %cs scry again
...
return an empty set instead of crashing if desk doesn't exist
2023-02-03 11:46:54 -06:00
Josh Lehman
3ec1172c5b
Merge branch 'develop' into fix-host-scry
2023-02-03 07:50:27 -08:00
bacwyls
3c7ff0c1f2
Merge branch 'develop' into bwyl/clay-subs
2023-02-03 09:47:04 -06:00
bacwyls
f75e52b9ff
clay: revise scry for subscribers to a desk
...
Address PR6136 comments to improve the interface to this scry.
Now it looks like .^((set ship) %cs /=landscape=/subs)
instead of .^((set ship) %cs %/subs/landscape)
2023-02-02 17:20:21 -06:00
tadad
ae6187dd06
Merge branch 'develop' into da/flow-scry
2023-02-01 15:35:15 -06:00
Philip Monk
fa451613ec
Merge pull request #6246 from urbit/i/6245/is-ok
...
ames: put "is ok"/"not responding" behind |ames-verb
2023-02-01 14:07:38 -07:00
fang
faa16a1811
eyre: provide proper secure flag in %host scry
2023-01-27 14:37:56 +01:00
fang
eab40abcc9
Merge branch 'develop' into fix-host-scry
2023-01-27 11:54:28 +01:00
tadad
a5e0356fd6
Merge branch 'develop' into da/flow-scry
2023-01-26 17:10:11 -06:00
dachus
9e9fdeb2c6
flow scry added, moved to lull
2023-01-26 17:04:08 -06:00
Philip Monk
8609599035
ames: put "is ok"/"not responding" behind |ames-verb
...
Fixes #6245
2023-01-24 13:07:19 -07:00
fang
c61a9f8bd7
clay: update %prep task for pages instead of blobs
2023-01-23 21:10:28 +01:00
fang
f2d3a64d9c
clay: add /cs/===/bloc scry for all desk blobs
...
Lets you retrieve all blobs from the blob store that are in use by the
desk, both presently and in all its history.
2023-01-23 20:39:18 +01:00
fang
3fa5856f94
clay: add %prep task for priming the blob store
2023-01-23 20:36:34 +01:00
fang
b3b5400cec
boot: partial prop support
...
Doesn't yet support pre-userspace props, and the code might need to be
shuffled around a bit, but what's here works already.
2023-01-23 20:34:56 +01:00
fang
50cfdb0f2a
clay: allow scrying out of pending requests
...
Implements a /cx/[our]//[now]/cult/[desk] endpoint, for getting a set of
pending requests for any given desk. We don't give the $cult for the
desk as-is, but instead slim the $roves back down into $raves, remove
clay protocol version metadata, and make sure to put our @p in place of
empty "for" fields.
2023-01-22 21:42:57 +01:00
Philip Monk
9d56637916
clay: Drop foreign %wris responses
...
This flow is not supported, and it was causing issues releasing
416. This change just drops the responses to avoid crashing, but at
some point we should either support this flow or reject the request in
the first place.
2023-01-18 17:28:51 -07:00
Philip Monk
8a013d147d
Merge remote-tracking branch 'origin/master' into next/arvo
2023-01-18 16:13:44 -07:00
Philip Monk
77616520c3
ames: add logging for snubbing
2023-01-17 15:16:35 -07:00
Philip Monk
ecdd16dcf3
Merge remote-tracking branch 'origin/next/arvo' into lf/ames-snub
2023-01-17 15:06:11 -07:00
fang
0556e30e08
dill: clean up old-style userspace subscriptions
...
As of version %5, dill uses a new wire format for its userspace
subscriptions. Its existing subscriptions (read: the one subscription
into %hood for the default session) was never updated to use this new
style.
We observed a bug on one ship, where it had both old-style and new-style
subscriptions into hood, resulting in output being rendered twice. How
exactly this happened remains as of yet unclear.
Here, we forcefully clean up the old-style subscription, and
(re)establish the equivalent new-style subscription. This will prevent
issues like this from reoccurring.
2023-01-17 19:07:57 +01:00
fang
b78902c30e
Merge branch 'next/dill' into next/arvo
2023-01-10 20:22:29 +01:00
fang
db3fcdf4d5
Merge branch 'next/arvo' into fix-host-scry
2023-01-05 13:35:22 +01:00
fang
a15111a35c
Merge branch 'next/arvo' into m/drum-sessions
2023-01-03 17:19:32 +01:00
Zach Alberico
34e8ff7616
Merge branch 'next/arvo' into ted/ames-clog-less
2022-12-15 19:17:45 -08:00