Commit Graph

32879 Commits

Author SHA1 Message Date
Pyry Kovanen
4576213e53
Merge pull request #6872 from silnem2/dprint-fixes
lib/dprint: fix crashes with recursive types and =,
2023-12-13 18:40:20 +02: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
160d937512
Merge pull request #6857 from urbit/pkova/bec
dojo: fix incorrect beak desk on non-base generator
2023-11-27 18:59:24 +02:00
Pyry Kovanen
e0a6415124
dojo: fix incorrect beak desk on non-base generator 2023-11-23 21:34:56 +02:00
Pyry Kovanen
e98dfdba6b
Merge pull request #6855 from midden-fabler/mf/egg-any-cast
gall: add egg-any cast to %gv scry
2023-11-23 15:54:54 +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
f0ae78db55
Merge pull request #6847 from urbit/pkova/cull-grow-fix
gall: fix remote scry bug
2023-11-17 19:35:25 +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
307bd65914
Merge pull request #6840 from urbit/m/simpler-login
eyre: simplify the login page ux a little bit
2023-11-13 20:59:30 +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
Pyry Kovanen
f7d4984072
Merge pull request #6838 from urbit/pkova/our-peer
ames: do not ignore our peer-state
2023-11-07 13:15:50 +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
Pyry Kovanen
333d55184d
Merge pull request #6824 from urbit/tinnus/fix-vats-bad-desk
vats: handle insane desk names
2023-10-25 18:50:15 +03:00
pkova
1b0e47a6a3 ames: do not ignore our peer-state 2023-10-24 23:24:43 +03:00
Pyry Kovanen
2a2f9645b6
Merge pull request #6826 from urbit/pkova/base64-fix
zuse: fix +de:base64:mimes:html
2023-10-16 17:36:34 +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
Tinnus Napbus
b7edc006be vats: handle insane desk names 2023-10-10 13:12:40 +13:00
Pyry Kovanen
bc03e809f3
Merge pull request #6785 from urbit/mf/gall-backups
gall: add scry endpoint to expose agent state
2023-10-09 17:30:09 +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
Pyry Kovanen
a667d85b8a
Merge pull request #6759 from urbit/yu/fix-ames-gall-desync
gall: send %cork only if hearing %ack for %leave
2023-10-09 15:52:50 +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
10db04b944
Merge pull request #6813 from urbit/412k-1
Merge 412k-1 to master
2023-10-03 19:33:53 +03: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
yosoyubik
08bca75012 Merge branch 'develop' into yu/fix-ames-gall-desync 2023-10-02 16:15:59 +02:00
pkova
2232a7ca3f clay: iterate over all aeons in +read-at-tako 2023-10-02 17:15:55 +03:00
Pyry Kovanen
bdb906340d
Merge pull request #6812 from urbit/master
Merge master back to develop after 412k
2023-10-02 17:01:35 +03:00
Pyry Kovanen
d4068d4d68
Merge branch 'develop' into master 2023-10-02 16:41:23 +03:00