Commit Graph

14723 Commits

Author SHA1 Message Date
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
8c08842e98 http-api: remove changes that went in in PR #6084 2023-02-13 14:38:48 +02:00
pkova
5fab65cb7e http-api: parse ship name from cookie if possible 2023-02-13 14:27:34 +02: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
ea36b1d1d4 http-api: make status check in connect more permissive 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
70298fd8b3 http-api: get ship name from /~/name endpoint instead of cookie 2023-02-13 14:27:07 +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
~midsum-salrux
50c7271994 Merge remote-tracking branch 'origin/develop' into ns/migrate-my-channels 2023-02-10 15:20:39 -05:00
~midsum-salrux
9cf887d1f1 Working migration 2023-02-10 15:19:08 -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
ryjm
d5e304b2e2 Merge remote-tracking branch 'origin/develop' into jm/tomb-recurse 2023-02-09 11:35:17 -05:00
Josh Lehman
d2af28fdbc
Merge branch 'develop' into lf/goerli-address 2023-02-09 06:57:19 -08: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
~midsum-salrux
71204db957 Merge branch 'master' into ns/migrate-my-channels 2023-02-08 21:29:13 -05:00
~midsum-salrux
ede8a515ba Early draft of migration 2023-02-08 21:29:09 -05:00
Ted Blackman
011b19d0e2
minor cleanup
indentation; also removed a superfluous |- just after a |^
2023-02-08 13:02:11 -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
yosoyubik
90360f76d9 ames: remove extra lines 2023-02-08 16:21:56 +01:00
yosoyubik
bad133cf9b ames: style fixes 2023-02-08 16:20:41 +01:00
Amadeo Bellotti
b360fed0a5 Applied @ryjm's indent patch 2023-02-08 10:03:42 -05:00
Josh Lehman
88e853cf69
Merge branch 'develop' into i/6236/clay-cult-inspection 2023-02-08 06:42:32 -08:00
Josh Lehman
1481a198ee
Merge pull request #6294 from urbit/m/webterm-v1.1.1
webterm: v1.1.1
2023-02-08 06:28:01 -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
82db9c14fa
Merge pull request #6259 from urbit/m/know-plus-plus
dojo: match hoon.hoon %know %hint printing style
2023-02-07 20:24:44 +01: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
fang
e0a37c4034
webterm: v1.1.1
For release with a new glob that includes #6258.
2023-02-06 19:19:00 +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
a024b68b26 ames: sort by number of re-trying flows per app 2023-02-06 16:38:59 +01:00
yosoyubik
c68a92f8b4 ames: add +state-flows
Some of this functionality already exists in ames (see +on-kroc) so this
generator will probably be removed once there's been enough testing
done for removing stale flows on the live network .
2023-02-06 16:38:59 +01:00
yosoyubik
24140d5f12 ames: clarify forward/backward bones 2023-02-06 16:38:59 +01:00
yosoyubik
ee76b97f49 ames: fix |close-flow generator 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
81f01c456b ames: clean up unused logic in |close-flows 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
2ebab4938b ames: address feedback in |close-flows 2023-02-06 16:36:29 +01:00
yosoyubik
2c791daf09 ames: in |close-flows fix bug matching subs wire 2023-02-06 16:36:29 +01:00
yosoyubik
7c26716bab ames: remove stale comment 2023-02-06 16:36:29 +01:00
yosoyubik
8c17e5c32d ames: in |close-flows inspect wires in the duct
we now don't assume where the wire is in the duct, and just
pattern match until we find a subscription wire
2023-02-06 16:36:28 +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
Josh Lehman
f348c443fd
Merge pull request #6258 from urbit/i/6257/un-hungry-webterm
webterm: safer printf rendering
2023-02-03 07:38:58 -08: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
~wicrum-wicrun
08ada13c2b Fix snapshotting bug 2023-02-01 21:52:30 +01:00
~wicrum-wicrun
1d1894a4cf
Merge branch 'develop' into i/6268/solid-state-publications 2023-02-01 17:24:20 +01:00
~wicrum-wicrun
23d43bd5f4 Add draft code 2023-02-01 17:05:18 +01:00
fang
11c7ae935f dojo: match hoon.hoon %know %hint printing style
Hoon.hoon got the separating + added in 13d1c28, but dojo was never updated
to match. Here, we pass it on.
2023-01-31 16:44:36 -08:00
Tinnus Napbus
abd6674ae0 show-vat: fix +show-vat to work with wafts 2023-01-30 14:46:39 +13:00
fang
f6ee174d64
webterm: simpler printf rendering
As it turns out, the exact behavior of the 'S' CSI command is not "move
contents up into scrollback", but rather "delete the top line(s), move other
contents up". This behavior leads webterm to eat into outputs whenever it
renders slogs.

Xterm(.js), when given a newline character at the bottom of a scroll region,
does produce the desired behavior of bumping the top line away into scrollback,
instead of obliterating it.

This implementation now diverges from vere's, which is unfortunate, but the
alternative is making webterm track the contents of the bottom-most line of
the default session, which seems rather ridiculous by comparison.

Fixes #6257.
2023-01-28 00:34:03 +01: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
Philip Monk
735eedcf6e
Merge pull request #6249 from urbit/i/6244/kids
kiln: Keep %kids desk in sync after kelvin update
2023-01-26 16:07:23 -07:00
Philip Monk
821ed641ea
Merge pull request #6243 from urbit/i/6231/autoprop
autoprop: automated pill (& other boot prop) building
2023-01-26 16:07:01 -07:00
dachus
9e9fdeb2c6 flow scry added, moved to lull 2023-01-26 17:04:08 -06:00
Philip Monk
d328c7ad8c kiln: update comment 2023-01-26 14:55:15 -07:00
Philip Monk
b125b48983 Merge remote-tracking branch 'origin/next/415' into develop 2023-01-26 10:24:34 -07:00
Tinnus Napbus
9255faf113 acme: comment clarification re: ports 2023-01-25 21:34:32 +13:00
Josh Lehman
6cd9fa56ae Revert "Merge pull request #6199 from urbit/philip/install-once"
This reverts commit 427e219b5b, reversing
changes made to 86cf63986b.
2023-01-24 16:00:35 -08:00
Philip Monk
bd4e093ada kiln: keep %kids desk in sync after kelvin update
This is the fourth option described in #6244.

Fixes #6244
2023-01-24 15:49:43 -07:00