Commit Graph

7805 Commits

Author SHA1 Message Date
Liam Fitzgerald
30f44e3e9f neo: better HTTP support 2024-03-29 13:18:36 -04:00
Liam Fitzgerald
7c40be2b6a wip 2024-03-28 14:10:44 -04:00
Liam Fitzgerald
12f79d9de5 neo: sketch aegean 2024-03-28 13:53:56 -04:00
Liam Fitzgerald
6f639fd92b neo: html & json conversions 2024-03-27 12:41:23 -04:00
Liam Fitzgerald
7f6e84c488 wip 2024-03-26 14:09:37 -04:00
Liam Fitzgerald
5349189261 neo: improve syncing, metaprogramming demo 2024-03-22 12:24:43 -04:00
Liam Fitzgerald
81e01c2804 neo: new shrub model 2024-03-22 02:52:35 -04:00
Liam Fitzgerald
63178109fc neo: fix ship presence in callstack 2024-03-20 18:59:13 -04:00
Liam Fitzgerald
0f671c75ea neo: remove all %arvo shims 2024-03-20 15:39:46 -04:00
Liam Fitzgerald
16cfd7d8d5 neo: remove arvo special casing 2024-03-20 13:05:02 -04:00
Liam Fitzgerald
2950d0a9d8 neo: improve remote desk handling 2024-03-20 11:15:51 -04:00
Liam Fitzgerald
6cccc4d1cf neo: improve sync handling 2024-03-20 10:49:42 -04:00
Liam Fitzgerald
868e40792d neo: shell 2024-03-18 13:18:31 -04:00
Liam Fitzgerald
4c17ac7eb9 neo: add chat implementation to namespace 2024-03-14 15:12:05 -04:00
Liam Fitzgerald
ec7e947c1c neo: inching towards self hosting 2024-03-14 14:35:39 -04:00
Liam Fitzgerald
7b95a245bc neo: self hosting chat 2024-03-14 14:27:59 -04:00
Liam Fitzgerald
cbc36f52aa neo: bootstrap filesystem in clay 2024-03-13 15:38:08 -04:00
Liam Fitzgerald
d1f8594494 neo: ford fixes 2024-03-13 15:37:18 -04:00
Liam Fitzgerald
66599ebbe4 neo: add ford combinators 2024-03-13 14:34:17 -04:00
Liam Fitzgerald
12fdb3a980 neo: reconfigure file structure 2024-03-13 14:11:56 -04:00
Liam Fitzgerald
f9e9e31cd8 neo: add clay copy functionality 2024-03-12 16:49:45 -04:00
Liam Fitzgerald
86e84ae8c7 neo: minimum viable ford 2024-03-12 15:17:52 -04:00
Liam Fitzgerald
6dc2e84628 neo: move to axal backed datastructure 2024-03-12 15:17:20 -04:00
Liam Fitzgerald
bce2dc2fdf neo: prototype excel 2024-03-11 19:33:13 -04:00
Liam Fitzgerald
93a7d1ab76 neo: fix injection 2024-03-11 19:33:01 -04:00
Liam Fitzgerald
483b4d34d5 neo: add excel nodes 2024-03-11 14:41:22 -04:00
Liam Fitzgerald
6cb3c74ab3 neo: error handling works 2024-03-11 14:29:19 -04:00
Liam Fitzgerald
fe1964182f neo: improve err handling 2024-03-11 13:44:33 -04:00
Liam Fitzgerald
168ab7d46a neo: add monadic form handler 2024-03-08 17:37:44 -05:00
Liam Fitzgerald
016be5d193 neo: more updates 2024-02-23 10:23:42 -06:00
Liam Fitzgerald
df318fada8 neo: improve network handling 2024-02-19 14:56:08 -06:00
Liam Fitzgerald
ea6e5daa49 ruby wip 2024-01-27 22:20:35 -05:00
Liam Fitzgerald
9f2a101f23 neo: add src.bowl 2024-01-27 14:55:44 -05:00
Liam Fitzgerald
915dac4c0a neo: make chat fully work by implement cards 2024-01-27 14:45:45 -05:00
Liam Fitzgerald
9d619cce7e wip 2024-01-19 15:52:55 -05:00
Liam Fitzgerald
6ed1705f53 neo: add configuration for ancestor/siblings 2024-01-19 15:07:21 -05:00
Liam Fitzgerald
0dabfc5c0f neo: some changes 2024-01-19 12:56:56 -05:00
Liam Fitzgerald
f9fb773d07 neo: initial commit 2024-01-18 18:07:28 -05:00
silnem2
98b2acaed3 dprint: add (set type) for +return-item check 2023-12-08 00:21:05 -08:00
silnem2
bb2b877ffd dprint: bugfix for %hold and $tune cases in +return-item 2023-12-03 19:02:50 -08:00
Pyry Kovanen
8d3013c09d
Merge pull request #6839 from will-hanlen/patch-1
Allow multiple declarations on in de-xml:html
2023-11-29 18:47:51 +02:00
Pyry Kovanen
71b92b5a6e
Merge pull request #6850 from ixv/ixv/dont-eat-cookies
eyre: append set-cookie header rather than clobbering
2023-11-29 13:28:22 +02:00
Pyry Kovanen
e0a6415124
dojo: fix incorrect beak desk on non-base generator 2023-11-23 21:34:56 +02:00
midden-fabler
847eabf485 gall: add egg-any cast to %gv scry 2023-11-22 12:35:50 -05:00
isaac
1b0a777068 eyre: fix issue with duplicate cookies 2023-11-20 13:16:27 -08:00
isaac
b2d3114ebb eyre: append set-cookie header rather than clobbering 2023-11-20 12:32:36 -08:00
Pyry Kovanen
53a876e977
Merge pull request #6848 from urbit/master
Merge master to develop
2023-11-17 19:45:34 +02:00
Pyry Kovanen
932f4b533c
gall: add missing space in %cull failure print 2023-11-17 19:34:35 +02:00
Pyry Kovanen
a4be645b40
gall: fix remote scry bug 2023-11-17 16:21:03 +02:00
Pyry Kovanen
3e2fb835bd
Merge branch 'develop' into m/simpler-login 2023-11-13 18:35:14 +02:00
Pyry Kovanen
410f491938
Merge pull request #6841 from urbit/master
Merge master back to develop after 412k-2
2023-11-07 14:44:00 +02:00
fang
df15eb5383
eyre: simplify the login page ux a little bit
We remove the local<->eauth switching tabs entirely. The only way to see
the eauth login page is if the url contains an "eauth" query parameter.
(Entering the local ship name into the eauth form still brings you to
the normal login screen.)
The "proceed as guest" blurp no longer shows the guest identity, and we
clarify the language to indicate that it is not guaranteed to result in
access to content.

Both of those changes help simplify the look and feel of the login page.
Various users had complained that it was confusing, given that logging
into your own ship is still the common case, and not everyone knows what
"euauth" is.

For applications redirecting to the login page, it is still recommended
to add the ?eauth GET parameter if non-local sessions are supported. For
applications that don't it should now be more obvious that logging in
through eauth won't do anything (since it's not presented as an option).

We also remove some debugging prints that somehow remained in the
javascript.
2023-11-04 10:04:33 +00:00
Will Hanlen
f57d41b987
Allow multiple declarations on in de-xml:html
XML files can have only one <?xml ... ?> declaration, however they may have more than one <?xml-... ... ?> tag.

Commonly, there will be an <?xml-stylesheet ... ?> tag on RSS feeds.

This commit allows for that.
2023-11-03 15:07:28 -05:00
pkova
1b0e47a6a3 ames: do not ignore our peer-state 2023-10-24 23:24:43 +03:00
Pyry Kovanen
29e5c6785b zuse: fix +de:base64:mimes:html 2023-10-11 22:24:10 +03:00
Pyry Kovanen
c804cc6d7d
Merge pull request #6825 from urbit/pkova/versioned-egg
lull: add egg-any tagged union for gall scry
2023-10-10 19:19:54 +03:00
pkova
743c8e2c8a lull: add egg-any tagged union for gall scry 2023-10-10 17:51:42 +03:00
Pyry Kovanen
bacf6226da
Merge pull request #6823 from urbit/pkova/stateless-dead-flow
ames: stateless dead flow consolidation
2023-10-10 15:28:39 +03:00
Pyry Kovanen
f5567f1fdf
Merge branch 'develop' into mf/gall-backups 2023-10-09 17:01:34 +03:00
pkova
130866c1e8 lull, gall: move $egg from gall to lull 2023-10-09 17:00:30 +03:00
Pyry Kovanen
1946ee146c
Merge pull request #6816 from urbit/m/heavier-channel-creation
eyre: less permissive channel creation
2023-10-09 16:10:25 +03:00
Pyry Kovanen
77d6d166fc
Merge pull request #6814 from urbit/m/eyre-intentional-login
eyre: prevent login redirect loops
2023-10-09 16:03:20 +03:00
Pyry Kovanen
03e522ac3c
Merge pull request #6821 from urbit/yu/color-flow-debug
dbug: add color for closing/corked flows
2023-10-09 15:59:51 +03:00
pkova
8ad47b62eb ames: stateless dead flow consolidation 2023-10-09 15:24:50 +03:00
yosoyubik
bdc4cb118d dbug: add color for closing/corked flows
...lightyellow for closing and lightred for corked
2023-10-09 08:47:37 +02:00
fang
14266c8d46
eyre: GETting non-existent channels 404s
Contrary to the argument made by 4affae8, this is the _actually correct_
behavior. Not creating server-side resources in response to GETs
respects the expected method semantics, and more importantly, serving a
404 is an important signal for clients trying to connect to a channel
they were using previously. Without that, they have no way of telling
whether, when reconnecting, if their channel was reaped in the mean time
or not.

The "empty PUT" affordance provided by 34148f9 makes requiring a PUT
request for channel creation more reasonable.

We leave the general refactoring done by #6789 in place, but do
emphasize the reasoning given here with a few additional comments.
2023-10-04 22:42:50 +02:00
Pyry Kovanen
b977864bec eyre: allow header-list to contain multiple cookies 2023-10-03 19:17:20 +03:00
fang
fec9950d21
eyre: prevent login redirect loops
Instead of auto-redirecting the login page if we're already logged in,
we simply present it as normal. If we're logged in as the local
identity, we present just a "continue" button in place of the +code
input field. If we're authenticated through eauth, or as a guest, we
present a smaller "proceed as" link underneath the login form.

This way, when apps redirect to the login page because the visitor isn't
_sufficiently_ authenticated, eyre doesn't just throw them right back
into the app with still insufficient creds.
2023-10-03 17:25:46 +02:00
Pyry Kovanen
6b97c2e8da clay: return all takos in /cs/bloc scry 2023-10-03 16:55:00 +03:00
Pyry Kovanen
a960e85d92 runtime-version: parse current version properly 2023-10-03 16:54:19 +03:00
pkova
60cc1c815c base: check for team:title in all places 2023-10-03 16:51:14 +03:00
yosoyubik
5e48ff75de gall: add %15 state migration 2023-10-03 09:40:45 +02:00
pkova
2232a7ca3f clay: iterate over all aeons in +read-at-tako 2023-10-02 17:15:55 +03:00
Pyry Kovanen
4dae191124
ames: fix merge mishap in previous commit 2023-10-02 16:21:15 +03:00
Pyry Kovanen
e4ff8f15c8
Merge branch 'master' into 412k 2023-10-02 15:50:50 +03:00
yosoyubik
c5abe6bd31 Merge branch 'develop' into yu/fix-ames-gall-desync 2023-10-02 12:33:20 +02:00
Pyry Kovanen
46d7089e41
Merge pull request #6809 from urbit/pkova/runtime-version-fix
runtime-version: parse current version properly
2023-09-29 18:22:26 +03:00
Pyry Kovanen
53a7854a95
Merge pull request #6807 from urbit/pkova/reachable-takos
clay: iterate over all aeons in +read-at-tako
2023-09-29 17:10:56 +03:00
Pyry Kovanen
fb3579c3a9
runtime-version: parse current version properly 2023-09-29 16:00:03 +03:00
Pyry Kovanen
55787fed62
clay: return all takos in /cs/bloc scry 2023-09-28 19:22:53 +03:00
pkova
042340e8e4 clay: iterate over all aeons in +read-at-tako 2023-09-26 21:02:41 +03:00
Pyry Kovanen
5fe2d6ea98 eyre: allow header-list to contain multiple cookies 2023-09-21 14:00:53 +03:00
fang
34148f9f44 eyre: allow PUTting empty channel-request list
Previously, we would reject this with a 400 error. Considering the
request body is expected to contain "array of requests" and that arrays
may be empty, we really should not be rejecting the requests.

Prior to 156ca21472, sending the empty array would have been convenient
for channel creation. Empty arrays getting rejected forced clients to
inject a faux poke (commonly hi-ing oneself). With that recent change,
the most common case for wanting to PUT the empty list of requests is
largely obsolete, but one can still imagine it being useful for clients
that want to keep their channel alive without necessarily being
connected to it. This also implements sloppier clients from running into
400 responses when they submit an empty "command queue" for whatever.

Regardless, there seems to be no clear reason why the empty request list
_shouldn't_ be accepted and processed as normal.

We add a small test to ensure eyre accepts this.
2023-09-19 19:12:25 +03:00
fang
4affae8181 eyre: GETting non-existent channels creates them
Previously, a channel could only be created by sending a PUT request,
and a GET request to receive the channel's stream would only succeed
after channel creation had happened that way. This forces client
libraries, that generally have an explicit "set up" step before allowing
normal operation, to do strange things, like sending faux pokes
(commonly hi-ing oneself) before connecting to the channel's stream as
normal.

Here, we update the GET request handling for channels to allow requests
for non-existent channels. When this happens, the channel will be
created, and eyre tracks the request as normal.

We do some... gentle restructuring... of +on-get-request:by-channel to
let the new creation case share code with the "already exists" codepath.
In the process, we find that duct-to-key was never getting updated in
the case where we replace the original channel request/connection with
the new incoming one. We fix this, it's trivial. We also identify two
other areas with vaguely-incorrect behavior, but consider them less
important and out of scope.

We also add a test case for "create channel through GET".
2023-09-19 19:12:25 +03:00
Pyry Kovanen
e355b5090e
Merge pull request #6783 from urbit/pkova/dear
lull, ames: add %dear task to receive lane from unix
2023-09-19 15:56:43 +03:00
fang
b427c9e800 eyre: serve 503 if bound agent is not running
Previously, for endpoints bound to agents, we would pass the request
onto the agent even if the agents wasn't currently running.

Here, we make eyre check to see if the agent is actually running, before
passing the request on. If the bound agent is not running, eyre serves a
503 synchronously instead.

This way, we avoid cluttering up the gall queue for the bound agent.
2023-09-18 15:52:28 +03:00
pkova
58698a428c ames: cancel pump timers when toggling to dead flow consolidation 2023-09-14 22:48:58 +03:00
pkova
bf4d7c92e1 ames: make dead flow consolidation toggleable, default off 2023-09-14 18:35:26 +03:00
Pyry Kovanen
babfd75daf
roller-rpc: do not assert team:title for http-requests 2023-09-13 14:57:28 +03:00
midden-fabler
dabff19cd9 gall: add scry endpoint for backups 2023-09-06 17:34:34 -04:00
Pyry Kovanen
328e085e41
lick: initialize unix-duct before %born 2023-09-05 16:17:06 +03:00
pkova
6a6e07d49f lull, ames: add %dear task to receive lane from unix 2023-09-04 22:09:52 +03:00
Pyry Kovanen
4bb9bae2d2
arvo: add provenance when casting forward move 2023-08-23 19:06:14 +03:00
Pyry Kovanen
3260e4fe05 eyre: handle old wires correctly in +on-gall-response 2023-08-22 21:37:15 +03:00
Pyry Kovanen
a1f9374145
Merge pull request #6756 from urbit/pkova/dead-flow-fix
ames: fix bug in dead flow consolidation
2023-08-21 18:29:39 +03:00
yosoyubik
8320e7dbf2 ames: update dead flow timers in state 2023-08-21 14:03:38 +03:00
yosoyubik
4da54b9e4d ames: reinitialize recork timer 2023-08-21 14:03:38 +03:00
yosoyubik
e6bc865425 gall: fix error 2023-08-18 16:52:54 +02:00
yosoyubik
7242e56be5 gall: clear leaves.state after handling all leaves
Instead of setting a new timer every time, we wait to hear a new %nack
for a %leave to do so, accumulating any unacked %leaves in the state for
up to ~m2. When the timers comes back, we re-send all outsanting %leaves
and skipp setting up a new timer.
2023-08-18 13:57:16 +02:00
yosoyubik
be0bbc78c5 Merge branch 'yu/decongest-ames-in-develop' into yu/fix-state-migrations 2023-08-18 08:16:26 +02:00
yosoyubik
19f5946e72 ames: only reinitialize congestion if bunted 2023-08-17 15:22:09 +02:00
yosoyubik
def2591812 ames: reinitialize congestion control values 2023-08-17 15:22:03 +02:00
yosoyubik
ce2582cc3a ames: only reinitialize congestion if bunted 2023-08-17 15:13:10 +02:00
yosoyubik
9b1ea79991 ames: reinitialize congestion control values 2023-08-17 15:05:53 +02:00
yosoyubik
cf937374c8 gall: put +on-bad-nonce log under %odd flag
The change introduced in 5422715c9b makes it very frequent for subscribers
to get stale facts on the subscriptions they are trying to leave so to not
clutter their dojo, we put the log under the %odd flag
2023-08-16 14:20:34 +02:00
yosoyubik
5422715c9b gall: send %cork only if hearing %ack for %leave 2023-08-16 10:47:20 +02:00
yosoyubik
58b678505f roller: fix state migration 2023-08-16 10:23:52 +02:00
Pyry Kovanen
c276ddd476
ames: fix bug in dead flow consolidation 2023-08-15 16:15:55 +03:00
fang
a9e3ebb780
eyre: avoid +got'ing a channel that doesn't exist
+on-gall-response might detect the symptom of a bug, where we are
getting a %fact for a channel that has since been deleted. (Meaning that
subscription should have been cleaned up, and we shouldn't have received
the %fact.) We want to issue a %leave, but need to take care to do so
with the same identity that the subscription was opened on.

Previously, we would forcefully get the identity from the non-existent
channel, resulting in a crash. Now, we encode the identity into the wire
instead, so that we may retrieve it from there, even when the channel is
long gone.
2023-08-10 11:33:08 +02:00
Pyry Kovanen
330d134a1c
Merge pull request #6737 from urbit/ja/eyre-login-412
eyre: cosmetic updates to login form
2023-07-28 19:26:19 +03:00
Pyry Kovanen
3cfc3cf235
Merge pull request #6740 from urbit/pkova/bane
lull, ames: add %tame task to delete a route for a ship
2023-07-28 18:59:50 +03:00
Pyry Kovanen
46c567f75f
Merge pull request #6700 from urbit/philip/stale
ames: Don't check for lane staleness
2023-07-28 18:35:02 +03:00
Pyry Kovanen
32665022d2
Merge pull request #6733 from urbit/remove-deprecated-arms
zuse: remove deprecated arms
2023-07-28 18:30:36 +03:00
pkova
facd6994b0 lull, ames: add %tame task to delete a route for a ship 2023-07-28 18:15:04 +03:00
Pyry Kovanen
19d7fe0f85
Merge pull request #6738 from urbit/pkova/dead-flow-consolidation
ames: consolidate dead flows to a single behn timer
2023-07-28 17:32:08 +03:00
James Acklin
4bbe46adc1 eyre: cosmetic updates to login form
Makes cosmetic changes to the login page of eyre. This addresses an issue with insufficient contrast between text elements and their backgrounds in dark mode.
2023-07-28 16:36:53 +03:00
Marcus
ef6965c882 zuse: remove deprecated arms 2023-07-28 16:33:55 +03:00
pkova
82d4e2a265 ames: add comment explaining magic number in +set-wake 2023-07-28 16:33:34 +03:00
pkova
ff21513864 ames: fix indentation in dead flow handling 2023-07-28 16:33:34 +03:00
pkova
45924f7571 ames: store dead flow consolidation timer in state 2023-07-28 16:33:34 +03:00
pkova
d2956a3233 ames: consolidate dead flows to a single behn timer 2023-07-28 16:33:34 +03:00
pkova
7bea0038e5 clay: propagate [~ ~] properly from read-x 2023-07-28 16:32:49 +03:00
Pyry Kovanen
c35aabcebf
Merge pull request #6744 from urbit/develop
Merge develop into next/kelvin/412
2023-07-28 16:32:35 +03:00
Pyry Kovanen
a061ef1ffc
Merge pull request #6686 from midden-fabler/dojo-errors
dojo: better generator errors
2023-07-24 18:22:04 +03:00
Pyry Kovanen
897d00334f
Merge branch 'next/kelvin/412' into yu/enable-close-flows 2023-07-24 16:58:13 +03:00
Pyry Kovanen
983cba3724
Merge pull request #6697 from urbit/remove-deprecated-json-calls
json: remove deprecated JSON parser calls
2023-07-24 16:20:27 +03:00
Marcus
be853b5a1a kiln: avoid downloading updates for uninstalled desks 2023-07-24 16:15:48 +03:00
Pyry Kovanen
82f9ed43bc
Merge pull request #6703 from urbit/fix-html-conversions
mar: better html-related conversions
2023-07-24 16:14:49 +03:00
Marcus
71ccdbe4ab json: remove deprecated JSON parser calls 2023-07-24 15:18:11 +03:00
Marcus
a42b74bc5c mar: better HTML-related conversions 2023-07-24 15:16:56 +03:00
silnem2
d6362cb293 dojo: fix gall scries in +to-command 2023-07-24 15:16:04 +03:00
silnem2
b254524aaf kiln: change deprecated %cd scry 2023-07-24 15:10:54 +03:00
silnem2
23bb0eb35e kiln: rewrite +poke-uninstall to unsync suspended desks 2023-07-24 15:10:54 +03:00
pkova
8565fb5f8b Merge branch 'develop' into next/kelvin/412 2023-07-24 14:58:31 +03:00
Matthew LeVan
46575dc2fe base: add pace to next revision in -runtime-version 2023-07-19 17:10:50 +03:00
Pyry Kovanen
efb92ad0c0 ames: ignore old rifts in +on-take-flub 2023-07-18 19:35:03 +03:00
fang
9f2c97f95e
lull: add %'PATCH' to $method:http
As of RFC 5789, PATCH is a valid HTTP request method. The $method:http type,
however, did not include it.

Here, we add it to the $method:http type, so that it now includes all nine
standard HTTP methods.
2023-07-12 15:56:51 +02:00
pkova
985350d2b5 ames: address style nits 2023-07-11 18:32:19 +03:00
pkova
a5f88cb24e ames: use abet pattern for flubbing 2023-07-11 18:19:56 +03:00
pkova
4fe9de8194 lull, gall, hoon: drop pokes for non-running agents 2023-07-11 17:36:09 +03:00
Pyry Kovanen
8f5d29fb73
Merge pull request #6695 from urbit/pkova/delete-nonsense
%base: delete /app/gaze and /ted/naive-csv
2023-07-10 18:51:21 +03:00
Pyry Kovanen
77b0c4c40f
base: update output format in /ted/read 2023-07-10 15:30:07 +03:00
Pyry Kovanen
ff06119f93
base: fix output format in /ted/code 2023-07-10 15:28:57 +03:00
Pyry Kovanen
65508d56a6
base: fix hi thread output formatting 2023-07-10 15:21:09 +03:00
midden-fabler
0543f4e8b1 dojo: high level error at bottom 2023-07-07 23:55:14 -04:00
midden-fabler
8f5497d687
Merge branch 'develop' into dojo-errors 2023-07-07 15:32:21 -04:00
Pyry Kovanen
1211767269
zuse: fix to-wain jet mismatch 2023-07-05 14:40:36 +03:00
midden-fabler
b3be753727 spider: move spider tree 2023-07-04 02:11:03 -04:00
midden-fabler
1c07314ff5 dojo: revise error conditions 2023-07-04 00:30:21 -04:00
Philip Monk
a136355bbd ames: remove lane staleness checks 2023-06-30 15:03:16 -07:00
yosoyubik
f56db0f460 ames: better naming in queued event migrations 2023-06-30 15:26:20 +02:00
yosoyubik
c4e5d3c963 Merge branch 'yu/fix-drop-nack-state' into yu/enable-close-flows 2023-06-30 14:54:30 +02:00
yosoyubik
3b9a22bb5c Merge branch 'next/kelvin/412' into yu/fix-drop-nack-state 2023-06-30 14:32:13 +02:00
yosoyubik
437f943fbd ames: update pill 2023-06-30 14:31:36 +02:00
yosoyubik
caea585c31 Merge branch 'develop' into next/kelvin/412 2023-06-30 12:22:09 +02:00
yosoyubik
f89045364b Merge branch 'next/kelvin/412' into yu/fix-drop-nack-state 2023-06-30 12:21:15 +02:00
yosoyubik
48a4b9ad32 ames: add 15-to-16 state migration
The 14-to-15 state migration was released in urbit-os-v2.142
so we add a new ames-state-16 to account for the removal of
.num-live from $pump-metrics.

This also adds several `$+` shorthand type name for better
prettyprinting in nest-fails situations, all related to the types in
$ames-state.

(note: ames states 14 and 15 are the same, ane tha migration
 just re-retrieved our own %rift—first introduced in state-12-to-13)
2023-06-30 12:15:38 +02:00
yosoyubik
28dd843e60 Merge branch 'develop' into yu/enable-close-flows 2023-06-30 10:18:40 +02:00
yosoyubik
b76c4d4a67 ping: don't no-op if pinging ourselves 2023-06-29 16:47:52 +02:00
yosoyubik
57308e22ef ames: clean up %kroc tasks in old ames-state
The %kroc task was introduced in ames-state-10. The way the
migration works, is that queued-events are transformed right
away into the latests version, and the state is done step-wise in
different arms, but in one go as part of the +molt arm.

This means that all states from %10 need to handle cleaning up
the %kroc task, with the addition that we were already handling
another tasks, %snub, from ames-state-9 until ames-state-11.
This means that we need to handle both tasks in two different
ames-states, and from them only the %kroc task.

This also adds several $+ to the ames types, that make nest-failures
easier to read.
2023-06-29 15:25:18 +02:00
yosoyubik
5fd372dfcb ames: don't crash if flow for a target bone is ~
The fact that the target bone of a flow that we have received is a
naxplanation doesn't guarantee that there will be a naxplanation
flow (i.e. we have actually sent one) so instead of crashing, we just
continue processing the next bone.
2023-06-29 10:49:51 +02:00
yosoyubik
235bfb6b8b ames: re-add +on-deep:ev
probably removed in one of the merges(?)
2023-06-29 09:58:01 +02:00
yosoyubik
2d31adb4a3 Merge branch 'next/kelvin/412' into yu/enable-close-flows 2023-06-29 09:27:48 +02:00
yosoyubik
5bcf7b70c3 ames: add provenance path to the sock 2023-06-28 17:48:07 +02:00
Joe Bryan
d280fbcdbb
Merge branch 'develop' into next/kelvin/412 2023-06-28 11:19:32 -04:00
Joe Bryan
b1cb1f1a77
Merge pull request #6665 from urbit/dr/make-vane-txt-hash-ux
arvo: print vane hashes as hashes, not `@p`s
2023-06-28 10:00:42 -04:00
yosoyubik
20cb84d037 Merge branch 'next/kelvin/412' into yu/enable-close-flows 2023-06-28 15:51:37 +02:00
yosoyubik
a20a2fffc8 Merge branch 'next/kelvin/412' into yu/fix-drop-nack-state 2023-06-28 15:47:06 +02:00
pkova
aa8c6dd0e0 %base: delete /app/gaze and /ted/naive-csv 2023-06-28 15:10:36 +03:00
yosoyubik
b359239f3d Merge branch 'develop' into next/kelvin/412 2023-06-28 12:52:18 +02:00
Philip Monk
d6c9ac708e Merge remote-tracking branch 'origin/develop' into philip/ping 2023-06-27 22:20:05 -07:00
Philip Monk
38af985ef0 ping: silence spurious printf 2023-06-27 21:54:43 -07:00
Philip Monk
f4188e61af ping: ping the other ship, not ourselves 2023-06-27 20:39:42 -07:00
Philip Monk
ccd9e1936f ping: don't parse ips 2023-06-27 19:37:42 -07:00
Philip Monk
69f45adc49 ping: fixes 2023-06-27 19:14:20 -07:00
Philip Monk
f5602cedbc ping: turn off auto-verb 2023-06-27 19:12:00 -07:00
Philip Monk
42bc4303e5 ping: restrict pokes to self 2023-06-27 18:48:29 -07:00
Joe Bryan
bd0a058c60
Merge pull request #6598 from urbit/m/eyre-mirage
eyre: eauth, cross-ship authentication
2023-06-27 18:34:35 -04:00
fang
f3d1cd3ca4
eyre: simplify internal $note and $sign type style 2023-06-27 23:15:00 +02:00
fang
b2326167cc
dbug: update for recent eyre type changes 2023-06-27 23:09:39 +02:00
fang
7afa3d3486
eyre: collapse recent state update logic
The guest identities (#6561) and EAuth (#6598) features will both be
released as part of Zuse 412K, so their +load logic can be collapsed
into a single step.
2023-06-27 23:08:16 +02:00
fang
5407ae6416
eyre: make sure eauth nonce is unique
Similar to +new-session-key, we want to make sure that when we generate
a new nonce, it isn't already in use.
2023-06-27 23:02:43 +02:00
fang
4e5ce6fb69
eyre: keep queue for outgoing pleas
Keeping a queue of nonces to match the outgoing %pleas we send lets us
recover the nonce for the %done we receive in response. This is
important in the nack case, where we may want to eagerly serve the HTTP
client an error page response, instead of waiting for the timeout timer
to fire.
2023-06-27 22:58:22 +02:00
Ted Blackman
be7f570d85
Merge pull request #6684 from midden-fabler/clay-syntax-pointer
clay: fix syntax error pointer
2023-06-27 11:49:55 -04:00
Philip Monk
90333c2e91 ping: rewrite to add non-NAT mode 2023-06-26 21:18:04 -07:00
midden-fabler
539b843e63 dojo: error messages, missing kev 2023-06-26 23:40:58 -04:00
fang
c33ddfa101
Merge branch 'next/kelvin/412' into m/eyre-mirage 2023-06-26 13:47:39 +02:00
midden-fabler
62a3d67204 dojo: errors style 2023-06-25 09:43:00 -04:00
midden-fabler
9c33a1e968 dojo: gen error cleanup 2023-06-25 00:17:23 -04:00
midden-fabler
7972c40611 dojo: errors for all parts of sample 2023-06-24 01:02:40 -04:00
Marcus
bc70866edc ping: add dbug lib 2023-06-23 19:26:12 -03:00
Marcus
7afc79ce1f arvo: fix scry permission check 2023-06-23 17:36:38 -03:00
midden-fabler
08029b4bde dojo: gen event sample error 2023-06-23 10:04:37 -04:00
midden-fabler
633a96b2be dojo: gen event sample error 2023-06-23 09:32:52 -04:00
midden-fabler
1107aa180a dojo: better generator errors 2023-06-23 01:15:45 -04:00
midden-fabler
156d09d86e clay: syntax pointer remove flop 2023-06-22 18:15:30 -04:00
midden-fabler
ca51353bec clay: fix syntax error pointer 2023-06-22 17:31:00 -04:00
Amadeo Bellotti
2bae99ec2b fixed aqua issue with notes from joe 2023-06-22 15:00:26 -04:00
Amadeo Bellotti
ba3c6e2b54 modified scry to add path 2023-06-22 12:25:40 -04:00
Joe Bryan
28f2cddf8e ames: reinitialize rift for all ranks, not just moons 2023-06-22 11:14:34 -04:00
Joe Bryan
a185d50b5a
Merge branch 'next/kelvin/412' into lick 2023-06-20 14:36:55 -04:00
Ted Blackman
ea1755bc32
Merge pull request #6669 from urbit/philip/fine
fine: Various fixes
2023-06-20 11:28:21 -04:00
Joe Bryan
e0b35b0a1a
Merge pull request #6676 from urbit/tinnus/fix-ap-peek-mark-typo
gall: fix typo in +ap-peek causing redundant mark conversion
2023-06-19 13:15:50 -04:00
Ted Blackman
c81c259dd9
Merge pull request #6674 from midden-fabler/dojo-no-complete-dead-dudes
dojo: don't +complete-gen-poke-to-app for dead dudes
2023-06-19 13:15:02 -04:00
Ted Blackman
1a15f0b129
Merge pull request #6671 from midden-fabler/dojo-hist
dojo: preserve input history after crash
2023-06-19 13:11:05 -04:00
midden-fabler
9a8cc4ea9f
Merge branch 'develop' into dojo-hist 2023-06-18 00:20:07 -04:00
midden-fabler
71ea6aed6a dojo: hist cit -> sign 2023-06-17 21:08:59 -04:00
midden-fabler
d655df429b dojo: hist - cleanup 2023-06-17 20:40:25 -04:00
midden-fabler
8a6609b951 dojo: handle failure gracefully 2023-06-17 20:10:37 -04:00
Tinnus Napbus
85b1b4901a gall: fix typo in +ap-peek causing redundant mark conversion 2023-06-17 20:59:24 +12:00
midden-fabler
0fd592a25d hood: remove deprecated generators 2023-06-17 01:26:10 -04:00
midden-fabler
b590bf9000 dojo: don't +complete-gen-poke-to-app for dead dudes 2023-06-16 23:40:45 -04:00
fang
02046effb1
dbug: update for recent eyre changes 2023-06-16 22:49:14 +02:00
fang
d8a03d094b
eyre: include local id in the eauth confirm page
We probably want something slightly fancier, like a banner or something,
that also shows up on the login page (and perhaps other "system" pages),
but for now this should suffice.
2023-06-16 21:22:37 +02:00
Amadeo Bellotti
510673e134 forgot ) 2023-06-16 12:02:32 -04:00
Amadeo Bellotti
5864a80153 modified lick to be cleaner and added an exisistance scry 2023-06-16 09:58:05 -04:00
yosoyubik
f0c02880cc Merge branch 'develop' into yu/fix-drop-nack-state 2023-06-16 10:02:28 +02:00
Philip Monk
74ed6daa02 fine: use %q, and don't interpret null as tombstoned 2023-06-15 18:44:05 -07:00
midden-fabler
e888da2cc6 dojo: history - only pass id 2023-06-15 15:43:37 -04:00
midden-fabler
135af5eaf5 dojo: further simplify history preservation 2023-06-15 11:43:57 -04:00
pkova
9d33bb7fd1 eyre: keep json to mime tube warm in handle-scry 2023-06-15 18:30:51 +03:00
midden-fabler
bf4195eb0c dojo: simplify history 2023-06-15 05:01:47 -04:00
midden-fabler
bd2ba9cb64 dojo: preserve input history after crash 2023-06-15 02:41:01 -04:00
Philip Monk
238a36de1d fine: actively fetch rift for moons 2023-06-14 23:28:37 -07:00
Philip Monk
f68f3dc833 fine: use progressive insertion sort instead of quicksort to assemble fragments 2023-06-14 21:46:29 -07:00
Joe Bryan
df5cdeafad vats: correct deprecated %cd scry 2023-06-14 16:23:03 -04:00
Pyry Kovanen
04598f8e0b
Merge pull request #6660 from midden-fabler/dojo-complete-ted-heps
dojo: complete teds in dirs
2023-06-14 15:21:44 +03:00
Philip Monk
a30cb42038 clay: remove !: 2023-06-13 23:14:02 -07:00
Philip Monk
4a8c0b2d6c fine: fix pathological congestion control case with large windows 2023-06-13 23:06:51 -07:00
Philip Monk
18e34bdab6 fine: loosen path restrictions 2023-06-13 23:06:20 -07:00
Philip Monk
3c3f59a2ac ames: rewrite +fi-on-ack to not use +dip 2023-06-13 22:13:38 -07:00
Philip Monk
fc3d9741df fine: fix various 2023-06-13 16:18:37 -07:00
midden-fabler
8c2e451e3f dojo: complete ted remove barket 2023-06-13 18:51:42 -04:00
dr-frmr
14fca80054
scow %uv instead of %ux to match desk hashes 2023-06-13 14:46:32 -04:00
Philip Monk
db708560cd clay: add debug command to retry remote scry 2023-06-13 00:05:09 -07:00
midden-fabler
a6189648f4 dojo: complete teds in dirs 2023-06-13 02:02:36 -04:00
dr-frmr
a98fcc4dd7
arvo: print vane hashes as @ux instead of @p 2023-06-12 20:17:04 -04:00
dr-frmr
0c9b9b26b2
arvo: make vane hash prints parse as @ux instead of @p 2023-06-12 16:20:34 -04:00
Ted Blackman
6153f8c7e3
Merge pull request #6609 from urbit/yu/remove-num-live
ames: remove num-live from pump-metrics
2023-06-12 11:50:15 -04:00
yosoyubik
d54b3645cb gen: restore sorting flows by nonce
This was removed when the logic for re-subscriptions was taken from %ames
into the generator. Sorting allows us to keep the current (last) subscription
as the last in the list, and in this case we check if it received an ack for
a naxplanation—see https://github.com/urbit/urbit/issues/6065#issuecomment-1322011137—
in which case it's safe to be corked.
2023-06-12 16:04:46 +02:00
Pyry Kovanen
dabc9ea631
Merge pull request #6654 from midden-fabler/dojo-complete-naked-ted
dojo: add complete-naked-ted
2023-06-12 16:38:27 +03:00
Pyry Kovanen
77d1ab4acc
Merge pull request #6653 from midden-fabler/dojo-sort-complete-aor
dojo: sort complete options aor
2023-06-12 15:38:59 +03:00
Pyry Kovanen
9b264546de
Merge pull request #6652 from midden-fabler/dojo-complete-naked-poke
dojo: complete-naked-poke for all agents
2023-06-12 15:33:23 +03:00
Pyry Kovanen
2169652df3
Merge pull request #6636 from niblyx-malnus/develop
spider: provide a tang http response when a thread called via http crashes
2023-06-12 14:58:22 +03:00
midden-fabler
95ceed2088 dojo: add complete-naked-ted 2023-06-11 01:32:31 -04:00
midden-fabler
2385268f60 dojo: sort complete options aor 2023-06-11 00:23:09 -04:00
midden-fabler
35f1b47890 dojo: complete-naked-poke remove redundant cy check 2023-06-10 13:27:49 -04:00
midden-fabler
36e63a795f dojo: complete-naked-poke for live dudes 2023-06-10 13:08:23 -04:00
midden-fabler
6d43e73d3e dojo: complete-naked-poke for all agents 2023-06-09 21:29:15 -04:00
niblyx-malnus
9fa0b17ed0
as-octt:mimes:html -> as-octs:mimes:html and en-json:html -> en:json:html 2023-06-09 13:45:39 -04:00