Commit Graph

31453 Commits

Author SHA1 Message Date
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
463a94101a
Merge pull request #6136 from bacwyls/bwyl/clay-subs
clay: add scry for subscribers of a desk
2023-02-03 12:52:45 -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
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
Josh Lehman
c4b6ba42e6
Merge pull request #6274 from urbit/maintainers-add-release-checklist
MAINTAINERS.md: add release checklist
2023-02-03 07:32:33 -08:00
Josh Lehman
77ad7c6fe7
Merge branch 'develop' into maintainers-add-release-checklist 2023-02-03 07:32:13 -08:00
Josh Lehman
aec89503ce
Update MAINTAINERS.md 2023-02-03 07:31:46 -08:00
Josh Lehman
98069d56f1
Update MAINTAINERS.md 2023-02-03 07:31:40 -08:00
Ted Blackman
ff89252f3d
Merge pull request #6281 from uqbar-dao/i/6280/clay-flow-scry
clay: add flow scry
2023-02-03 09:29:22 -06:00
tadad
142f6a4b4e
Merge branch 'develop' into da/flow-scry 2023-02-03 08:38:25 -06:00
Joe Bryan
e47e454682
Merge pull request #5967 from DaneBettis/dane.bettis/meme-hint-next
Dane.bettis/meme hint next
2023-02-02 18:41:28 -05: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
DaneBettis
cb1ce57475 added %meme tests to hints.hoon 2023-02-02 15:15:53 +00:00
Sigilante
5d486a9843
Merge pull request #6276 from urbit/ja/issue-templates
meta: fix landscape reporting link
2023-02-02 07:59:10 -06:00
james acklin
e7c650fb41
meta: fix landscape reporting link
fixes tloncorp/landscape-apps#1799
2023-02-02 08:43:38 -05: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
Ted Blackman
9bdb2b5b42
MAINTAINERS.md: add release checklist 2023-02-01 15:29:38 -05:00
Josh Lehman
7bbd5e5c28
Merge pull request #6271 from urbit/i/6270/add-blank-issue-template
Update issue templates
2023-02-01 11:17:38 -08:00
Ted Blackman
6a2c935541
Update issue templates
For creating an issue just to make a PR, and some other use cases, it's convenient to be able to create a blank issue.
2023-02-01 11:22:31 -05:00
Ted Blackman
86e8dd8ea9
Merge pull request #6261 from urbit/i/6260/fix-show-vat-gen
show-vat: fix +show-vat to work with wafts
2023-02-01 09:35:25 -06:00
Ted Blackman
f5a6e7ed8c Merge branch 'master' into develop 2023-01-31 13:33:07 -06:00
Ted Blackman
0626780d7e
Merge pull request #6220 from urbit/next/415
next: zuse 415/hoon 139 (doccords edition)
2023-01-31 13:32:30 -06: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
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
fang
d40237feec
Merge pull request #6238 from urbit/i/6234/acme-handle-301-redirect
acme: handle https redirect in self-check
2023-01-25 12:59:45 +01:00
Tinnus Napbus
9255faf113 acme: comment clarification re: ports 2023-01-25 21:34:32 +13:00
Josh Lehman
27c62ac854
Merge pull request #6250 from urbit/i/6247/revert-once
Revert "Merge pull request #6199 from urbit/philip/install-once"
2023-01-24 16:05:44 -08: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