fang
7e5f29cfd2
eyre: convert facts to json manually
...
By doing a %watch instead of %watch-as %json for channel subscriptions,
we can hopefully make better use of noun deduplication, when storing
events in a channel's event queue until they get acked.
2020-10-18 16:31:35 +02:00
fang
8def1dbea8
eyre: store unacked events unserialized
...
Store the gall events from channel subscriptions as (vaseless) signs,
instead of serialized events. This should be smaller in memory, and
makes it more likely for noun deduplication to happen.
The cost is needing to reserialize upon channel reconnect, but this is
the less common case, and we don't expect it to be particularly slow.
2020-10-18 16:04:19 +02:00
Philip Monk
8cd72daf20
clay: speed up +find-merge-points
...
In certain cases +find-merge-points was very slow. Specifically, the
`done` set was meant to avoid checking the same commit repeatedly, but
it didn't catch the case where a commit was added to the worklist that
was already in that worklist.
Secondly, the worklist was stored as a list but used as a queue, which
resulted in a lot of unnecessary welding. We change it to a qeu.
Fixes #3735
2020-10-16 11:21:02 -07:00
Philip Monk
8d0cfd13b7
glob: update to 0v1.hc18i.ms0ac.qi9qj.geopu.sutri
2020-10-15 16:10:02 -07:00
Philip Monk
7e5c722c8f
Merge branch 'philip/link-upgrade' into release/next-sys
2020-10-15 14:34:05 -07:00
Philip Monk
ff0214e8ed
Merge remote-tracking branch 'origin/release/next-userspace' into philip/link-upgrade
2020-10-15 14:32:42 -07:00
Philip Monk
d948d22a78
Merge remote-tracking branch 'origin/release/next-hoon' into philip/link-upgrade
2020-10-15 14:32:34 -07:00
Joe Bryan
45038ad7b1
Merge pull request #3689 from urbit/jb/clay-cancel-correct
...
clay: refactors +cancel-request, consistently accounting for TMI
2020-10-14 22:56:49 -07:00
Philip Monk
bfa94b6c3b
link-store: throw away state if it's stale cards
...
It's burdensome to upgrade cards and vases, and in practice they will be
stale anyway, so we throw them away.
2020-10-14 21:59:37 -07:00
Philip Monk
f295cd714f
Merge remote-tracking branch 'origin/la/hack-to-move-scry' into release/next-sys
2020-10-14 19:30:54 -07:00
Philip Monk
77b33632a6
Merge remote-tracking branch 'origin/master' into release/next-sys
2020-10-14 19:26:33 -07:00
Joe Bryan
efac8d6133
Merge pull request #3644 from urbit/jb/retime
...
arvo: restore :time app
2020-10-14 12:55:21 -07:00
Logan Allen
2f9a7c9c68
chat-hook: hack to move scry to a new event to fix +on-load
2020-10-14 14:20:48 -05:00
Joe Bryan
9d5119b33f
hoon: adds hints for likely-to-be-jetted list/treap/parser arms
2020-10-13 18:38:09 -07:00
Joe Bryan
5edaf634bc
Merge pull request #3691 from urbit/jb/need-have
...
hoon: enables need/have type printfs on nest-fail
2020-10-13 18:33:26 -07:00
Matilde Park
65bb8a0fb5
glob: update to 0v1.bn7am.9sl00.vfh1o.uvsuf.dn9b7
2020-10-13 21:07:18 -04:00
matildepark
5861e38392
Merge pull request #3671 from urbit/lf/channel-js-fixes
...
channel.js: eagerly ack subscription updates
2020-10-13 18:54:10 -04:00
L
0d2a0bae14
Merge pull request #3632 from urbit/la/remove-hall-sur
...
acme: remove last %hall import and remove sur file
2020-10-13 15:05:37 -05:00
Joe Bryan
b1d81b4cb4
hoon: adds product cast to +murn
2020-10-09 15:25:07 -07:00
Matilde Park
8a1c6f6243
glob: update to 0v4.9nedu.7t8gi.5n5f7.nofgk.c2dl1
2020-10-09 15:38:16 -04:00
Joe Bryan
1402f763f3
clay: refactors +cancel-request, consistently accounting for TMI
2020-10-09 10:34:18 -07:00
Joe Bryan
7ef74cf2f4
hoon: removes "road:new" printf from virtualized crash
2020-10-09 10:27:37 -07:00
Joe Bryan
5053de8b6b
hoon: enables need/have type printfs on nest-fail
2020-10-09 10:26:38 -07:00
Fang
c444806c3d
eyre: explicitly permit proposed request in cors
...
Instead of always providing a wildcard for the allowed methods and
headers, now echoes back the method and headers that the client asked
for, if any.
Fixes #3676 .
2020-10-09 14:07:05 +02:00
Matilde Park
fa90317c19
glob: update to 0vffm4l.40gda.ia3t0.5s73j.ov6mt
2020-10-08 20:47:15 -04:00
Matilde Park
5377b2a862
glob: update to 0v7.emvn0.o8u9d.hqpc4.8e6h5.699gl
2020-10-08 17:42:48 -04:00
Ted Blackman
501c1bdc01
-graph-leave: fix action type
2020-10-08 17:34:25 -04:00
Liam Fitzgerald
81b036a354
channel.js: ack subscription updates
2020-10-08 13:08:01 +10:00
Liam Fitzgerald
11366018ae
channel.js: fire delete event on beforeUnload
2020-10-08 13:08:01 +10:00
Matilde Park
5c9320dd3b
glob: update to 0v7.jr6ec.podvs.b3btt.in45e.v87ac
2020-10-07 22:17:01 -04:00
fang
e512e91f37
hoon: go full lark in +lead and +late ( #3442 )
...
To avoid wet-gate issues around face shadowing and such things.
2020-10-07 15:11:05 +02:00
Joe Bryan
00c1fbc185
hoon: virtualize cue when parsing %blob coin literals
2020-10-06 18:01:09 -07:00
Joe Bryan
e786a5f165
zuse: rewrites |base16 for clarity, simplicity, specificity
2020-10-06 11:45:16 -07:00
Joe Bryan
2f2599b861
zuse: adds basic tests for |base16
2020-10-06 10:56:23 -07:00
Joe Bryan
9118913412
zuse: adds |base16 hex $oct en/decoder
2020-10-06 10:56:09 -07:00
Joe Bryan
c8ae2c2537
Merge pull request #3643 from urbit/jb/octs-once
...
zuse: remove duplicate $octs definition
2020-10-06 10:51:44 -07:00
fang
a1e43e02a0
eyre: prevent binding in reserved namespaces
...
Disallows registering bindings (through %connect and %serve) that would capture
traffic on paths starting with /~ (Eyre's) or /~_~ (runtime's, as of cc389c5
).
Note that we don't touch +insert-binding, which is used by Eyre internally to
set up bindings in its own namespace.
2020-10-06 16:50:49 +02:00
Matilde Park
77b1db2d16
Merge branch 'master' into release/next-userspace
2020-10-05 20:56:57 -04:00
Fang
4cfb98ec8d
hood: welp cards
...
The +weld call was nest-failing for some reason...
2020-10-05 23:43:12 +02:00
Fang
7242947f95
helm: add cors registry management generators
2020-10-05 23:42:59 +02:00
Fang
1c14e8854f
eyre: minimal CORS support
...
Adds a cors-registry to Eyre's state that tracks allowed and rejected
origins for the purposes of CORS request handling.
For preflight requests, generates a response in-line.
For simple requests, adds CORS headers onto whatever response is given.
See also:
https://groups.google.com/a/urbit.org/g/dev/c/bb82dwEJGzM/m/q2JjNSx5BwAJ
2020-10-05 23:41:42 +02:00
Joe Bryan
455de92b0d
arvo: restore :time app
2020-10-05 01:17:17 -07:00
Liam Fitzgerald
bda2770320
Merge branch 'release/next-userspace' into lf/global-skeleton-links
2020-10-05 15:47:45 +10:00
Joe Bryan
b5c9f4ed2a
zuse: removes redundant definitions of $mite and $octs
2020-10-03 23:34:10 -07:00
Joe Bryan
a208387a72
Merge pull request #3520 from urbit/ted/ames-scry-print
...
ames: print failed scrys
2020-10-02 15:30:27 -07:00
Matilde Park
5b9da64122
glob: update to 0v6.k146g.ot3f9.d6vgi.6hrj7.4e5gn
2020-10-02 14:14:19 -04:00
Matilde Park
294f89d56e
Merge branch 'release/next-userspace'
2020-10-01 22:56:23 -04:00
Logan Allen
e9f27a51fa
acme: remove last %hall import and remove sur file
2020-10-01 21:49:16 -05:00
Logan Allen
a968bb004b
chat-hook: fix infinite loop from reconnecting to own dm
2020-10-01 21:29:50 -05:00
Logan Allen
2c0ddfa960
Merge branch 'la/fix-dumb-mistake' of github.com:urbit/urbit into la/fix-dumb-mistake
2020-10-01 21:19:25 -05:00