Commit Graph

15981 Commits

Author SHA1 Message Date
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
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
yosoyubik
2ceaa42e33 Merge branch 'next/kelvin/411' into yu/stun-response 2023-11-16 12:00:00 +01:00
yosoyubik
4bef3e15bd Merge branch 'next/kelvin/411' into yu/stun-response 2023-11-16 09:48:42 +01:00
Joe Bryan
4ff2b98386
Merge branch 'next/kelvin/411' into fitz-bug-fix 2023-11-15 14:21:58 -05:00
pkova
0220c09aff ames: do not ignore our peer-state 2023-11-15 13:08:24 +01:00
Pyry Kovanen
ffd3a56ac9 eyre: allow header-list to contain multiple cookies 2023-11-15 13:07:05 +01:00
pkova
2fd30ba06f base: check for team:title in all places 2023-11-15 13:07:05 +01:00
fang
fa3722a38f 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-15 13:07:05 +01:00
pkova
ee84b1d3c9 Merge branch 'develop' into next/kelvin/411 2023-11-14 14:38:46 +02:00
Pyry Kovanen
3e2fb835bd
Merge branch 'develop' into m/simpler-login 2023-11-13 18:35:14 +02:00
jose
5be498b822
Merge branch 'next/kelvin/411' into yu/stun-response 2023-11-13 12:42:13 +01:00
Pyry Kovanen
e422897065
Merge pull request #6773 from urbit/msl/arvo-scry-type-checks-persistent-caching
arvo: persistently cache scry type checks
2023-11-10 18:53:25 +02:00
Pyry Kovanen
3af7bf33e0
Merge pull request #6770 from urbit/msl/ames-jim-persistent-caching
ames: persistently cache `++jim` and remove `++dedup-message`
2023-11-10 18:52:11 +02:00
yosoyubik
cc9839f01c ames: fix error 2023-11-08 21:10:49 +01:00
yosoyubik
5619512991 ping: force pinging sponsors on %jael gifts 2023-11-08 20:46:55 +01:00
yosoyubik
e84ed19ae7 ames: emit %saxo on breached sponsor 2023-11-08 20:41:18 +01:00
yosoyubik
e2cf4092e7 ping: fix errors 2023-11-08 12:53:33 +01:00
yosoyubik
06ec466c1b ping: better handling of restarts and stun errors 2023-11-08 12:30:17 +01: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
yosoyubik
95c0bba693 ping: fix compilation error 2023-11-05 14:24:30 +01:00
yosoyubik
8220c26dcd Merge branch 'next/kelvin/411' into yu/stun-response 2023-11-05 14:11:12 +01:00
yosoyubik
b5245bc055 ping: add support for %once 2023-11-05 13:35:26 +01: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