Commit Graph

16007 Commits

Author SHA1 Message Date
Tinnus Napbus
b758ed6683 vats: fix vats and make faster 2024-03-17 04:44:33 +13:00
yosoyubik
d3ad83da05 ames: emit %saxo on molt 2024-03-16 07:57:10 +01:00
pkova
07a952bb5a ping: only ping galaxy 2024-03-15 19:34:19 +02:00
midden-fabler
6cb7702267 gen: |cp add recursive copy 2024-03-14 14:48:33 -04:00
Joe Bryan
4dbdc799b9 clay: respect %rein for desks without a bill 2024-03-13 14:03:01 -04:00
Pyry Kovanen
afcf24d9bd
Merge branch 'develop' into dir-faces 2024-03-13 17:50:32 +02:00
yosoyubik
26dc9c4bca spider: track remote scry requests 2024-03-11 13:30:13 +01:00
Pyry Kovanen
630d5d01ea eyre: do not store localhost as eauth-url 2024-03-05 20:54:40 +02:00
pkova
0d9a0cdb6c Merge branch 'next/kelvin/411' into pkova/mirger 2024-02-23 00:45:50 +02:00
Pyry Kovanen
fbb6c45c48
Merge branch 'next/kelvin/411' into pkova/moon-breach 2024-02-23 00:12:47 +02:00
pkova
ab0b0d57c0 ci: make tests actually run in ci 2024-02-23 00:01:35 +02:00
fang
51ec49f980 tests: make /ted/test compile again
It appears that bb8ba24 merged changes to /ted/test from #6790 and #6896
incorrectly, as the thread no longer compiled.

Because the former PR included the change made to the latter (printing
with slog priority 3 in case of failure), the minimum viable fix is
taking the contents of /ted/test from #6790 and using those as-is.

However, that had hidden success prints behind a "quiet" flag, and
provided no way of configuring that from outside the thread. So
additionally, we expand the ""vase parsing"" performed on the thread's
argument, such that an optional _first_ parameter of a quiet=? may be
passed.
2024-02-22 17:02:43 +02:00
Pyry Kovanen
2af43c2219 Merge pull request #6918 from urbit/pkova/error-building
ci: red checkmark if any thread fails to build
2024-02-22 17:01:53 +02:00
Pyry Kovanen
721f9617b1
jael: do not sort remote gifts 2024-02-22 16:33:18 +02:00
Pyry Kovanen
b7be413d55
Merge branch 'develop' into pkova/error-building 2024-02-20 15:00:56 +02:00
pkova
6f3a2bfeaf ci: build all threads in ci 2024-02-20 14:48:20 +02:00
fang
111a21eea7
tests: make /ted/test compile again
It appears that bb8ba24 merged changes to /ted/test from #6790 and #6896
incorrectly, as the thread no longer compiled.

Because the former PR included the change made to the latter (printing
with slog priority 3 in case of failure), the minimum viable fix is
taking the contents of /ted/test from #6790 and using those as-is.

However, that had hidden success prints behind a "quiet" flag, and
provided no way of configuring that from outside the thread. So
additionally, we expand the ""vase parsing"" performed on the thread's
argument, such that an optional _first_ parameter of a quiet=? may be
passed.
2024-02-19 20:55:38 +01:00
Pyry Kovanen
2accc050bc
Merge pull request #6915 from urbit/m/eyre-stabler-eauth
eyre: update eauth endpoint timestamp less eagerly
2024-02-19 05:20:07 -08:00
fang
1c622f550e
eyre: update eauth endpoint timestamp less eagerly
We always update the eauth endpoint based on new logins from the local
identity. We also let the user configure a hardcoded endpoint url. In
both cases, we update a recency timestamp for the endpoint, to help us
keep our scry namespace responses immutable.

However, we even updated this timestamp if the visible endpoint didn't
change. That is, if the new value was identical, or if the auto-detected
endpoint changed, but it was actively being overridden by a
user-configured url.

Here, we update the stored timestamp only if the visible url actually
changed. This should help us respond to (remote) scry requests more
consistently.

(See also the note in +send-keen.)
2024-02-16 20:57:00 +01:00
fang
f3ce73447c
eyre: respect host from Forwarded header, if set
Eyre already looks at the Forwarded header for the original requester's
IP address, and the security level of the connection. Some proxies may
modify the original Host header, but still provide the original in the
Forwarded header. So, if present, we respect that.
2024-02-16 20:20:57 +01:00
Pyry Kovanen
425ae7aa33
Merge branch 'develop' into m/eyre-cache-dbug 2024-02-15 10:04:59 -08:00
Pyry Kovanen
5a95b73f54
Merge pull request #6909 from urbit/m/eyre-uncache
eyre: dynamic responses for empty cache entries
2024-02-15 10:00:31 -08:00
fang
3ff4782d3b
dbug: support the eyre response cache
Now support scrying into eyre to retrieve & display its known cache
entries.

Also adds a little extra logic that lets the dbug agent send cache clear
commands on the user's behalf.

To avoid needlessly long scrolling, we add an "open" property to the
debug dashboard's SearchableList, which can be set to false to collapse
the list by default. This is useful for eyre's debug page, which
commonly contains very long lists.
2024-02-15 12:38:29 +01:00
fang
7733e13700
eyre: improve cache visibility
Include the cached responses in their own named mass section, and add a
scry endpoint that produces the entire current cache.

A follow-up commit will leverage this for showing it in the debug
dashboard.
2024-02-15 12:27:50 +01:00
fang
3a4c1e93aa
gall: respond to /whey scries (for |mass)
The restructuring in #6852 put everything under versioned scry paths.
Arvo remains none the wiser and still happily scries for /whey, without
a leading version number, resulting in loss of detail for gall's section
in |mass output.

Here, we simply slap the current version number in front of the /whey
scry path, to get it to resolve.
2024-02-15 10:44:01 +01:00
Pyry Kovanen
7fcee8d9fa
Merge pull request #6910 from urbit/next/kelvin/411
Merge next/kelvin/411 to develop
2024-02-12 17:44:22 +02:00
fang
e0a2662291
eyre: dynamic responses for empty cache entries
If the cache entry for any given url was cleared, eyre would recognize
that an entry was bound at some point in the past, and serve a 404,
instead of falling back to the normal, cacheless, dynamic response.

Here, we make eyre serve from the cache only if there is a full cache
entry for the url, and have it proceed into normal request handling
logic otherwise.

This way, setting a cached response for some url no longer means giving
up dynamic responses on that url for the rest of time.

Recent versions of vere exhibit the same behavior. As such, in practice,
this code won't get hit without a similarly-patched version of the
runtime.
2024-02-08 12:48:04 +01:00
youfoundron
cc8810f799 replace %garden with %landscape within +vats hint 2024-02-06 16:06:16 -08:00
yosoyubik
5eab2285e9 ames: correct check for %snub task update 2024-02-06 10:58:43 +01:00
yosoyubik
64eacd50de ames: fix check fro %kroc task modification 2024-02-05 15:40:17 +01:00
yosoyubik
07ecef345b ames: fix emitting moves on +molt 2024-02-05 15:05:55 +01:00
yosoyubik
57ee384925 Merge branch 'next/kelvin/411' into yu/fix-ames-migration 2024-02-05 12:59:09 +01:00
yosoyubik
d4eb4bd022 ames: step-by-step queued event migration 2024-02-05 11:55:56 +01:00
yosoyubik
8e4262a531 ames,gall: fix old state migrations
TODO: %ames migrates all the queued events directly
to the latest task in %lull -- do it one at a time
2024-02-05 10:18:36 +01:00
silnem2
21661a8d1d
Merge branch 'urbit:develop' into dir-faces 2024-02-02 13:37:21 -08:00
Pyry Kovanen
618864ea7e
Merge pull request #6903 from urbit/next/kelvin/411
Merge next/kelvin/411 to develop
2024-02-02 19:18:22 +02:00
midden-fabler
a2645c2f12 ames, hoon: add run:to, speed up ames migration 2024-02-02 11:36:14 -05:00
silnem2
52d73f2383 dojo: fix special casing of =dir 2024-02-01 16:28:35 -08:00
Pyry Kovanen
e7bb1e3fa5
gall: fix migration when sky contains empty mop 2024-02-01 14:38:45 +02:00
Pyry Kovanen
bb8ba2455e
Merge branch 'develop' into next/kelvin/411 2024-01-31 16:35:29 +02:00
Pyry Kovanen
235decccd4
ames: fix message-blob migration 2024-01-31 14:47:30 +02:00
Pyry Kovanen
450a26ccf6
Merge branch 'develop' into tests-colored-output 2024-01-31 13:09:56 +02:00
Alessio
ab021294d2 Undo the clay change for now 2024-01-30 23:08:33 -08:00
Pyry Kovanen
d9435e9d31
Merge branch 'develop' into drum-crash 2024-01-30 13:27:23 +02:00
pkova
8dc62a6cbe clay: restore +jump 2024-01-26 19:42:28 +02:00
pkova
c5d3be7be2 clay: do not return false conversion gate from build-cast 2024-01-26 01:31:21 +02:00
Alessio
f609752231 Fix a typo 2024-01-25 15:04:24 -08:00
wispem-wantex
db3cf2a653 test thread: now prints errors/failures in red instead of gray 2024-01-23 20:23:18 -08:00
pkova
19142cf6f1 gall: fix off-by-one in growing after culling 2024-01-23 19:24:32 +02:00
midden-fabler
9a18a062e5 lull, gall: cleanup plot, sky.bowl 2024-01-22 12:34:25 -05:00
pkova
315ff3fe40 gall: fix miscellaneous bugs with encrypted remote scry 2024-01-22 17:51:00 +02:00
pkova
f44c3b9174 gall: make put-grow:of-farm fail when encountering a %coop 2024-01-18 15:28:37 +02:00
pkova
9236909cec gall: separate put:of-grow to put-tend and put-grow 2024-01-17 17:59:47 +02:00
pkova
350e883ad6 gall: delete unused migrate:of-grow 2024-01-17 17:59:32 +02:00
silnem2
6ce270ffa4 drum: fix off-by-one error in wrd:offset 2024-01-09 06:53:38 -08:00
Pyry Kovanen
13b495bea4
Merge pull request #6878 from urbit/develop
Merge develop to next/kelvin/411
2023-12-19 14:28:28 +02:00
Pyry Kovanen
820c4e5507
Merge pull request #6790 from urbit/lf/back-to-school-arc
gall: security primitives for encrypted scry
2023-12-19 14:15:59 +02:00
pkova
2cbeb782aa gall: better mo-authorized logic 2023-12-18 19:12:56 +02:00
pkova
e7787296e8 gall: default sky revision at 1 instead of 0 2023-12-18 19:06:39 +02:00
pkova
1effda7a77 gall: fix bug in put:of-farm 2023-12-18 19:05:59 +02:00
pkova
20bda27aaf gall: delete unused match-coop 2023-12-18 19:05:02 +02:00
pkova
9c1982856e ames: parse %chum properly 2023-12-18 19:03:49 +02:00
pkova
ab5cc44419 ames: enable %chum 2023-12-18 19:03:13 +02:00
Pyry Kovanen
cde64360cf
Merge branch 'lf/back-to-school-arc' into pkova/gang-gang 2023-12-18 13:39:56 +02:00
Liam Fitzgerald
01890228b5 gall: fix %done handling in key exchange 2023-12-15 12:21:47 -05:00
pkova
404a7fc44b tests: fix some tests 2023-12-15 19:13:21 +02:00
pkova
9c8e20cfde eyre: fix indentation for private scry endpoints 2023-12-15 13:29:37 +02:00
pkova
6c33b2f5d8 ames: gang fixes 2023-12-14 16:18:23 +02:00
pkova
6599fddc9a eyre: gang fixes 2023-12-14 16:18:06 +02:00
pkova
e63de85663 dill: gang fixes 2023-12-14 14:02:10 +02:00
pkova
0971af36f4 all: enforce the gang when scrying 2023-12-13 19:49:36 +02:00
Liam Fitzgerald
1d839672fc ames: disable %chum 2023-12-11 16:00:03 -05:00
Liam Fitzgerald
d326cb6cd5 ames: address review comments 2023-12-11 15:40:28 -05:00
Liam Fitzgerald
3e87e77ee4 gall: address joe review 2023-12-11 15:17:46 -05:00
Liam Fitzgerald
b33d59814b gall: fix high water marks for nuked agents 2023-12-11 14:49:08 -05:00
Joe Bryan
e745492fb9
Merge pull request #6859 from urbit/jb/safe-wtcl
hoon: correct ?: miscompilation, loobean jet mismatches
2023-12-11 13:07:24 -05:00
Liam Fitzgerald
aaadee85ba ames: fix gang handling in namespace overlays 2023-12-08 13:48:38 -05:00
Pyry Kovanen
ff44306272
Merge branch 'next/kelvin/411' into lf/back-to-school-arc 2023-12-08 17:18:33 +02:00
silnem2
98b2acaed3 dprint: add (set type) for +return-item check 2023-12-08 00:21:05 -08:00
Liam Fitzgerald
a382f168fd Merge remote-tracking branch 'origin/next/kelvin/411' into lf/back-to-school-arc 2023-12-07 18:58:51 -05:00
Liam Fitzgerald
6179d6ea52 gall: version key exchange req/res
Versions the key exchange %plea and %boon. Also fixes a bug in key
generation where the vane and care were not added to the ames key
generation request.
2023-12-07 12:43:33 -05:00
Liam Fitzgerald
208c501dfa ames: address review comments
Unifies single and multiparty encrypted remote scry to universally use
spat/stab for establishing an atom <-> path bijection, use crub:crypto
and fixes case handling for multiparty remote scry. Moves key
identifier into the spur, retains the case as the version tag, in
keeping with the singleparty encrypted remote scry. Also fixes path
handling with prepending ship/life/rift to the spur in the correct
location.
2023-12-07 12:21:14 -05:00
yosoyubik
ee82d507e3 ping: remove print 2023-12-07 16:56:13 +01:00
Joe Bryan
f6d40079ec hoon: correct miscompilation of %wtcl 2023-12-06 14:12:35 -05:00
Joe Bryan
d985b5db24 hoon: make loobean compiler helpers correct and consistent 2023-12-06 14:11:56 -05:00
yosoyubik
6df4f19891 Merge branch 'next/kelvin/411' into yu/stun-response 2023-12-06 14:19:39 +01:00
silnem2
bb2b877ffd dprint: bugfix for %hold and $tune cases in +return-item 2023-12-03 19:02:50 -08:00
Pyry Kovanen
420d4679ca
Merge pull request #6863 from urbit/pkova/eggs
Merge develop to next/kelvin/411
2023-11-30 14:11:11 +02:00
Pyry Kovanen
09286022f5
gall: fix egg-any cast 2023-11-30 13:50:40 +02: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
pkova
f4706de23f lull: fix wrong $egg-any 2023-11-23 14:06:36 +02:00
pkova
44f731d15e gall: check for properly versioned sky only at scry entry points 2023-11-23 14:05:23 +02:00
midden-fabler
847eabf485 gall: add egg-any cast to %gv scry 2023-11-22 12:35:50 -05:00
yosoyubik
43ece0168b Merge branch 'next/kelvin/411' into yu/stun-response 2023-11-21 19:02:51 +01:00
pkova
b0bdfcce61 gall: migrate sky to versioned path 2023-11-21 18:44:52 +02:00
Pyry Kovanen
e094dc23ee
Merge pull request #6851 from urbit/develop
Merge develop to next/kelvin/411
2023-11-21 18:41:07 +02:00
yosoyubik
0b08f07aa7 lull, ames: add ship and lane to %stun task 2023-11-21 10:30:33 +01:00
isaac
1b0a777068 eyre: fix issue with duplicate cookies 2023-11-20 13:16:27 -08:00