Commit Graph

3539 Commits

Author SHA1 Message Date
fang
3ff083e9db
hoon: patch up +ax callsites
Some were still passing in a value for fab, which is no longer used.
2020-11-24 21:12:43 +01:00
Joe Bryan
a2abf1c992 arvo: moves |de out of +node, renames +node to +axal 2020-11-24 11:34:44 -08:00
Joe Bryan
6f0b7f120b arvo: refines version negotation, requires filesystem to molt 2020-11-24 11:34:40 -08:00
fang
38d85876d6
zuse: make octs value @ again
eaa69ec had reverted the change from c46061e.
2020-11-24 16:14:19 +01:00
fang
27d6fc7597
zuse, clay, various: unflop the spur in beams
Unflops the spur in +en-beam, +de-beam, and everything that calls either
of those, or works with the consequences of their output.

This includes clay's interface for mounting and unmounting, which now
no longer expects the arguments to contain an old-style spur.
2020-11-24 15:44:25 +01:00
fang
79f698c3a9
hoon: add +snip and +rear
Helper functions for dealing with the ends of lists.
2020-11-24 15:41:36 +01:00
fang
fb97528fd4
arvo: unflop the spur in scry
No longer use reversed paths in sley-style peek handling.
2020-11-24 15:41:35 +01:00
yosoyubik
be68b32d36 tests: checks bip32 for xpub/xprv/pif/address 2020-11-24 13:01:25 +01:00
yosoyubik
16b7255f62 bip32: adds network option for bitcoin addresses 2020-11-24 13:01:25 +01:00
yosoyubik
319a940c88 bip32: adds network type option for xpub/priv 2020-11-24 13:01:25 +01:00
Joe Bryan
1a0b082de2 hoon: WIP remove fab:ut 2020-11-24 00:20:10 -08:00
Fang
1d644dc470 hoon: remove ^%
It's completely unused.
2020-11-24 00:05:44 -08:00
Joe Bryan
d6e5b19b3d Merge branch 'na-release/candidate' into jb/no-wrap-tank
* na-release/candidate: (31 commits)
  pill: change to ropsten
  zuse: change to ropsten
  pill: all
  u3: fix accidental neologism in comments
  pill: solid
  u3: refactors dynamic hint bytecodes, documents protocol
  u3: adds dynamic hint bytecodes and implementation
  u3: moves _n_swap() next to other stack ops
  u3: adds ghetto +mook replacement
  u3: moves |ut battery to the rightmost cache key position
  u3: adds |ut battery to jet cache keys
  pill: solid
  pill: solid.pill
  hoon: bscl to bccl, etc
  pill: solid
  hoon: modernizes syntax in the rest of |co
  hoon: updates @p rendering to avoid intermediate right-shifts
  hoon: refactors @da/@dr coin printing
  hoon: comments, modernizes syntax for all +*-co:co gates
  hoon: refactors +r-co:co, modernizing syntax
  ...
2020-11-23 23:15:12 -08:00
Joe Bryan
036b2de7f2 zuse: change to ropsten 2020-11-23 22:42:56 -08:00
Joe Bryan
2b89f7cb88 Merge branches 'na-release/secp', 'na-release/runes' and 'jb/co-norm' into na-release/next-vere
* na-release/secp:
  update solid pill
  fix secp test (new-secp staging name is gone)
  hoon: ensure lib/bip32 is working with new secp, remove old secp
  vere: wire up jets for new secp
  zuse: make it clear where the secp jet should make explicit size checks
  update solid pill
  zuse: add refactored secp core (unjetted)

* na-release/runes:
  pill: solid
  pill: solid.pill
  hoon: bscl to bccl, etc

* jb/co-norm:
  pill: solid
  pill: solid
  hoon: modernizes syntax in the rest of |co
  hoon: updates @p rendering to avoid intermediate right-shifts
  hoon: refactors @da/@dr coin printing
  hoon: comments, modernizes syntax for all +*-co:co gates
  hoon: refactors +r-co:co, modernizing syntax
  hoon: comments, modernizes syntax for all +**-co gates
  hoon: refactors +ro-co:co, modernizing syntax
  hoon: use +pow instead of handrolled loop in +ox-co:co
  hoon: use +dvr instead of +div/+mod in |co helpers
2020-11-23 15:32:44 -08:00
Joe Bryan
73e61b94d9 Merge branch 'na-release/next-vere' into na-release/secp
* na-release/next-vere: (1459 commits)
  u3: fix accidental neologism in comments
  nix: run tests against the latest arvo source
  test: fixes +to-wain (no more trailing empty lines)
  pill: solid
  u3: refactors dynamic hint bytecodes, documents protocol
  u3: adds dynamic hint bytecodes and implementation
  u3: moves _n_swap() next to other stack ops
  u3: adds ghetto +mook replacement
  u3: moves |ut battery to the rightmost cache key position
  u3: adds |ut battery to jet cache keys
  build: update gcloud to use non-deprecated action
  pill: solid
  glob: update to 0v4.fpa4r.s6dtc.h8tps.62jv0.qn0fj
  notifications: prevent safari shrinkage
  glob: update to 0v5.91i1u.1g535.t3de3.6c3ih.fanmv
  Sidebar: loosen property access
  launch: loosen property access in unread count
  notifications: fix scroll to load
  glob: update to 0v1.pak02.pfla3.gh56f.qhc6h.3h881
  inbox: fix graph resource redirects
  ...
2020-11-23 15:31:18 -08:00
Joe Bryan
818490fea8 arvo: moves (placeholder) kelvin to an arm 2020-11-21 13:51:24 -08:00
Joe Bryan
b114b0f1c1 arvo: filesystem 2020-11-21 13:51:20 -08:00
Joe Bryan
d3e28f5e54 Merge branch 'na-release/next-vere' into jb/co-norm
* na-release/next-vere: (1601 commits)
  nix: run tests against the latest arvo source
  test: fixes +to-wain (no more trailing empty lines)
  pill: solid
  build: update gcloud to use non-deprecated action
  pill: solid
  glob: update to 0v4.fpa4r.s6dtc.h8tps.62jv0.qn0fj
  notifications: prevent safari shrinkage
  glob: update to 0v5.91i1u.1g535.t3de3.6c3ih.fanmv
  Sidebar: loosen property access
  launch: loosen property access in unread count
  notifications: fix scroll to load
  glob: update to 0v1.pak02.pfla3.gh56f.qhc6h.3h881
  inbox: fix graph resource redirects
  inbox: fix link routing and rendering
  glob: update to 0v4.3fbh4.p7j6i.2pi9g.d1ltq.5u7uu
  hark-fe: fix crash
  hark: update graph marks for editable comments
  graph-store: change atom to %1 for all migrated comments
  glob: update to 0v5.67obv.15auf.c2rc7.jpcu2.iain3
  inbox: correct notification order
  ...
2020-11-20 15:39:46 -08:00
Joe Bryan
a6a421608a hoon: adds $cord to $tank 2020-11-20 15:23:56 -08:00
Joe Bryan
eaa69ec27a zuse: modernizes syntax of top-level structures 2020-11-20 15:23:56 -08:00
Joe Bryan
947742ff73 zuse: removes obselete structures $ares, $coop, and $disc 2020-11-20 15:23:56 -08:00
Joe Bryan
374f93d812 hoon: moves $json and styled-text molds back to %zuse 2020-11-20 15:23:56 -08:00
Joe Bryan
f6f7d2fab4 hoon: modernizes $tank and surrounding declarations 2020-11-20 15:23:56 -08:00
Joe Bryan
fb66dc10b5 hoon: moves xray traversals to userspace 2020-11-20 15:23:56 -08:00
Joe Bryan
b1e3b0def2 hoon: moves $xray into userspace 2020-11-20 15:23:56 -08:00
Joe Bryan
aea0f571d7 hoon: moves $plum and +plume to userspace 2020-11-20 15:23:56 -08:00
Joe Bryan
25cea09fd1 hoon: refactors |re for clarity 2020-11-20 15:23:55 -08:00
Joe Bryan
c9db96382a hoon: removes $plum from $tank 2020-11-20 15:23:55 -08:00
Joe Bryan
5f160a233e hoon: removes utf32 hacks and \/ windowing from |re
a tape is just a list of utf8 bytes, it's never save to split one
at an arbitrary position. this is exactly what \/ windowing did,
so i had hacked in to/from utf32 conversions to prevent splitting
multi-byte characters. that is dumb and slow, so it's now gone.
2020-11-20 15:23:55 -08:00
Joe Bryan
6664f71805 Merge branch 'release/next-vere' into na-release/next-vere
* release/next-vere:
  nix: run tests against the latest arvo source
  test: fixes +to-wain (no more trailing empty lines)
  pill: solid
2020-11-20 15:23:30 -08:00
Joe Bryan
a7ef000e81 test: fixes +to-wain (no more trailing empty lines) 2020-11-20 14:33:48 -08:00
Joe Bryan
7723ba2da8 Merge branch 'master' into release/next-vere
* master: (390 commits)
  glob: update to 0v4.fpa4r.s6dtc.h8tps.62jv0.qn0fj
  notifications: prevent safari shrinkage
  glob: update to 0v5.91i1u.1g535.t3de3.6c3ih.fanmv
  Sidebar: loosen property access
  launch: loosen property access in unread count
  notifications: fix scroll to load
  glob: update to 0v1.pak02.pfla3.gh56f.qhc6h.3h881
  inbox: fix graph resource redirects
  inbox: fix link routing and rendering
  glob: update to 0v4.3fbh4.p7j6i.2pi9g.d1ltq.5u7uu
  hark-fe: fix crash
  hark: update graph marks for editable comments
  graph-store: change atom to %1 for all migrated comments
  glob: update to 0v5.67obv.15auf.c2rc7.jpcu2.iain3
  inbox: correct notification order
  inbox: redirect invites correctly
  publish: Restore basic 'add writers' form
  interface: show currently editing comment as pending
  landscape: preclude dropdown duplicates on exact match
  interface: links and publish comments both work
  ...
2020-11-20 13:16:53 -08:00
Tyler Brown Cifu Shuster
1a22a917c4 weather: changing API
added new colors

allow arbitrary location

Fixes #2634
2020-11-20 11:38:54 -08:00
Logan Allen
837abacb9c observe-hook: add new thread to leave graphs upon removing a group 2020-11-20 11:01:24 -06:00
Joe Bryan
1c83ad35e9 Merge branch 'release/next-vere' into na-release/runes
* release/next-vere:
  build: update gcloud to use non-deprecated action
  vere: manage memory properly in _fore_import
  build: update GoogleCloudPlatform/github-actions/setup-gcloud to 0.2.0
  king: try undoing warnings in eventlog-lmdb
  king: diswarn tests
  king: more warnery
  king: fix warnings; more consistent warn policy
  vere: add -i and -o options for import and export
  herb/lens: add utilites for import/export
  vere: refactors pier initialization to fix -X
  king: fix test (daaad)
  king: fix warnings in Tree (thanks dad)
  king: this is a holdup!
2020-11-20 00:00:27 -08:00
Joe Bryan
890d6b4944 Merge branch 'release/next-vere' into na-release/next-vere
* release/next-vere:
  build: update gcloud to use non-deprecated action
  vere: manage memory properly in _fore_import
  build: update GoogleCloudPlatform/github-actions/setup-gcloud to 0.2.0
  king: try undoing warnings in eventlog-lmdb
  king: diswarn tests
  king: more warnery
  king: fix warnings; more consistent warn policy
  vere: add -i and -o options for import and export
  herb/lens: add utilites for import/export
  vere: refactors pier initialization to fix -X
  king: fix test (daaad)
  king: fix warnings in Tree (thanks dad)
  king: this is a holdup!
2020-11-19 23:59:51 -08:00
Joe Bryan
e1186950bc Merge branch 'na-release/next-vere' into na-release/runes
* na-release/next-vere: (943 commits)
  pill: solid
  glob: update to 0v4.fpa4r.s6dtc.h8tps.62jv0.qn0fj
  notifications: prevent safari shrinkage
  glob: update to 0v5.91i1u.1g535.t3de3.6c3ih.fanmv
  Sidebar: loosen property access
  launch: loosen property access in unread count
  notifications: fix scroll to load
  glob: update to 0v1.pak02.pfla3.gh56f.qhc6h.3h881
  inbox: fix graph resource redirects
  inbox: fix link routing and rendering
  glob: update to 0v4.3fbh4.p7j6i.2pi9g.d1ltq.5u7uu
  hark-fe: fix crash
  hark: update graph marks for editable comments
  graph-store: change atom to %1 for all migrated comments
  glob: update to 0v5.67obv.15auf.c2rc7.jpcu2.iain3
  inbox: correct notification order
  inbox: redirect invites correctly
  publish: Restore basic 'add writers' form
  interface: show currently editing comment as pending
  landscape: preclude dropdown duplicates on exact match
  ...
2020-11-19 14:22:00 -08:00
Joe Bryan
4f43831095 Merge branch 'master' into na-release/next-vere
* master: (390 commits)
  glob: update to 0v4.fpa4r.s6dtc.h8tps.62jv0.qn0fj
  notifications: prevent safari shrinkage
  glob: update to 0v5.91i1u.1g535.t3de3.6c3ih.fanmv
  Sidebar: loosen property access
  launch: loosen property access in unread count
  notifications: fix scroll to load
  glob: update to 0v1.pak02.pfla3.gh56f.qhc6h.3h881
  inbox: fix graph resource redirects
  inbox: fix link routing and rendering
  glob: update to 0v4.3fbh4.p7j6i.2pi9g.d1ltq.5u7uu
  hark-fe: fix crash
  hark: update graph marks for editable comments
  graph-store: change atom to %1 for all migrated comments
  glob: update to 0v5.67obv.15auf.c2rc7.jpcu2.iain3
  inbox: correct notification order
  inbox: redirect invites correctly
  publish: Restore basic 'add writers' form
  interface: show currently editing comment as pending
  landscape: preclude dropdown duplicates on exact match
  interface: links and publish comments both work
  ...
2020-11-19 14:02:13 -08:00
Joe Bryan
75a9dc6839 Merge remote-tracking branch 'upstream/re-neo' into jb/wyrd
* upstream/re-neo:
  arvo: adds +deep, prototype arvo filesystem engine
  arvo: updates neo, builds with +glass
  Revert "Remove non-shipping code."
2020-11-19 12:28:09 -08:00
Liam Fitzgerald
a9d6811299
glob: update to 0v4.fpa4r.s6dtc.h8tps.62jv0.qn0fj 2020-11-19 16:44:33 +10:00
Liam Fitzgerald
217da2acf4
glob: update to 0v5.91i1u.1g535.t3de3.6c3ih.fanmv 2020-11-19 15:20:35 +10:00
Philip Monk
17c16d5887
gall: refresh clay subscription on fade 2020-11-18 20:39:58 -08:00
Philip Monk
99fb6bb4e8
gall: add nonce to agent wires
Give each agent a nonce so that when you delete an agent, any
outstanding responses don't go to a later app of the same name.
2020-11-18 20:12:29 -08:00
Liam Fitzgerald
90faac16c9
glob: update to 0v1.pak02.pfla3.gh56f.qhc6h.3h881 2020-11-19 13:40:32 +10:00
Liam Fitzgerald
99faa900a4
glob: update to 0v4.3fbh4.p7j6i.2pi9g.d1ltq.5u7uu 2020-11-19 12:51:52 +10:00
matildepark
f038a302c5
Merge pull request #3960 from urbit/lf/hark-edit-comments
hark: upgrade for editable comments
2020-11-18 21:27:00 -05:00
Liam Fitzgerald
ffaba0be45
hark: update graph marks for editable comments 2020-11-19 12:17:55 +10:00
Logan Allen
e7b0ff2c66 graph-store: change atom to %1 for all migrated comments 2020-11-18 20:02:42 -06:00
Matilde Park
195cd23ad4 glob: update to 0v5.67obv.15auf.c2rc7.jpcu2.iain3 2020-11-18 20:38:37 -05:00
Liam Fitzgerald
474e769839
Merge remote-tracking branch 'origin/master' into release/next-userspace 2020-11-19 10:46:20 +10:00
L
c3c9218083
Merge pull request #3927 from urbit/la/revisions
graph-store: amend %publish and %link validators to allow editing comments
2020-11-18 18:01:13 -06:00
Philip Monk
45e886729f
base64: introduce trivial change
~zod has a corrupt lobe in its state; making a trivial change to this
file lets us get past it.
2020-11-17 23:00:11 -08:00
Philip Monk
0d034f3267
glob: update to 0v2.7r49j.ca15d.c9dtr.avfbh.l20d0 2020-11-17 22:03:01 -08:00
Philip Monk
eadc63938c
Merge remote-tracking branch 'origin/release/next-dill' into release/next-sys 2020-11-17 21:54:50 -08:00
Philip Monk
cd87c786ca
Merge remote-tracking branch 'origin/master' into HEAD 2020-11-17 21:10:20 -08:00
Liam Fitzgerald
f8865b479c
hark-chat-hook: restart possibly killed subscription
Issue #3946 may have caused the subscription to be killed by way of a
crashed %fact handling. If so, restart the subscription.
2020-11-18 14:25:31 +10:00
Liam Fitzgerald
7a1ff3ce2a
chat-view: join chat after acquiring metadata
hark-chat-hook scries for the group in order to determine whether the
chat should be automatically watched for notifications. Therefore, if we
are joining a chat, we should acquire the metadata before joining the
chat. This is to ensure that the scry works correctly.

Fixes #3946
2020-11-18 14:12:13 +10:00
Philip Monk
08ebacd430
Merge branch 'pr' into release/next-sys 2020-11-17 19:00:09 -08:00
Philip Monk
d48e296f4f
Merge pull request #3525 from urbit/jb/restage-to-wain
arvo: accept embedded nulls in to-wain:format
2020-11-17 18:33:41 -08:00
Philip Monk
e8e970d0ea
Merge pull request #3812 from urbit/ted/no-impostor-comets
no more impostor comets
2020-11-17 18:29:46 -08:00
Liam Fitzgerald
65e4a06a64
Merge branch 'release/next-userspace' into lf/hark-caching 2020-11-18 11:00:34 +10:00
Joe Bryan
79633c3559 arvo: adds (no-op) version negotiation 2020-11-17 15:09:35 -08:00
Joe Bryan
5ecc184638 arvo: refines arvo internal ($waif) and external ($wasp) effects 2020-11-17 15:09:35 -08:00
Joe Bryan
17ae2572a8 arvo: disables old event/effect routing regime 2020-11-17 15:09:35 -08:00
Joe Bryan
8f66508d63 arvo: moves arvo state management into |le
and sketches out new event/effect routing
2020-11-17 15:07:40 -08:00
Philip Monk
a7cc18072a
gall: add %doze-style fade 2020-11-17 12:53:05 -08:00
Liam Fitzgerald
5615c10c2b
graph-store: correctly subset in scries 2020-11-17 18:00:29 +10:00
John Franklin
11f8ba23d7 hoon: bscl to bccl, etc 2020-11-17 01:05:17 -06:00
Isaac Visintainer
41ce22d6ae herb/lens: add utilites for import/export 2020-11-16 15:57:35 -08:00
Liam Fitzgerald
6ec8037be8
hark-store: allow scrying for archive 2020-11-16 13:53:18 +10:00
Liam Fitzgerald
5c148e9c56
hark-store: reverse map ordering 2020-11-16 13:52:45 +10:00
Liam Fitzgerald
ec580cf8c1
hark-store: rework caching 2020-11-16 12:22:42 +10:00
John Franklin
756c94aeb6 hoon: update glyph names (continued) 2020-11-14 23:08:52 -06:00
Joe Bryan
d729746c38 arvo: reforms state and upgrade structures 2020-11-13 12:51:48 -08:00
Logan Allen
4f7ca0a0dc graph-store: add overwrite field to %add-graph 2020-11-12 20:40:12 +00:00
Logan Allen
25a68b16a7 graph-validator-link: amend to have blank containers and comments with required content 2020-11-12 20:23:07 +00:00
Logan Allen
cb990242e8 graph-store: added debugging tool to %validate-graph 2020-11-12 20:19:36 +00:00
Logan Allen
9c9e1160ad graph-store: update %publish and %link schemas, wipe update-logs 2020-11-12 13:47:42 -06:00
fang
9ef79c7b5a
tests: fix bad merge on eyre tests 2020-11-12 17:46:59 +01:00
Matilde Park
0d4aeb097a glob: update to 0ve8ukb.s45qi.3h6k8.hmh4p.h6p9m 2020-11-12 10:48:15 -05:00
Matilde Park
d527b42058 glob: update to 0vvse4p.hsbcu.1hjo3.dhct1.t7jqn 2020-11-12 00:09:58 -05:00
Matilde Park
51fd47e886 glob: update to 0v2.05ddv.3pde4.12728.vv799.onc9n 2020-11-11 23:10:44 -05:00
Liam Fitzgerald
45f273a984
hark-chat-hook: automatically watch DMs for notifications 2020-11-12 13:55:58 +10:00
Liam Fitzgerald
698dc68b64
chat-view: create group and metadata first 2020-11-12 13:55:30 +10:00
Joe Bryan
bac545e23c Merge branch 'release/next-vere' into na-release/next-vere
* release/next-vere: (1369 commits)
  nix: fixes `shellFor` nix-shell helper
  vere: print error and exit if stdin is not a tty
  build: silence service account activation output
  build: minor refactoring of haskell-nix overlays
  build: move darwin install_name_tool fixup from vere to king haskell
  u3: fixes incorrect double ref-counting in |ff jets
  u3: removes unused `Exit` variable
  u3: removes obsolete bail:need assertion
  u3: refactors fatal exception handling in u3m_bail()
  build: remove {sha256,md5} output for push-storage-object effects
  build: add log message when destination object already exists
  build: force google-cloud-sdk to use python3
  build: adding support for hercules ci effects
  build: remove push-to-storage for ivory, brass, and solid pills
  pill: rebuild solid pill with %lens included in lite boot apps
  arvo: run %lens when lite boot (-l) is specified
  build: expose configurable arguments when booting/testing fake ships
  build: ensure urbit tests are run with the -g argument
  vere: ensure debug symbols aren't stripped by default (by nix)
  build: remove from-scratch ropsten pill builds on ci
  ...
2020-11-11 18:03:01 -08:00
Liam Fitzgerald
437c107c83
hark-store: cache graph-unreads 2020-11-12 11:31:33 +10:00
Liam Fitzgerald
f07b231e36
hark-store: default to DND being off 2020-11-12 10:34:51 +10:00
Liam Fitzgerald
b4ce2fccda
Merge branch 'release/next-userspace' into lf/hark-qa-fixes 2020-11-12 10:33:26 +10:00
Liam Fitzgerald
fa9a7dc0f0
hark-store: do not give all notifications in +on-watch 2020-11-12 10:26:24 +10:00
Liam Fitzgerald
3b55404dee
hark-group-hook: fix path in +on-watch 2020-11-12 10:26:02 +10:00
Matilde Park
2ba78348fb glob: update to 0v3.h5gg6.t76qc.9on82.im1ti.i4vuu 2020-11-11 00:19:44 -05:00
Matilde Park
468d794cbc Merge branch 'master' into release/next-userspace 2020-11-11 00:15:47 -05:00
matildepark
565fc46660
Merge pull request #3910 from urbit/lf/graph-cleanup
graph-store: run-updates no longer pokes itself
2020-11-10 23:24:24 -05:00
Liam Fitzgerald
e71ba741f4
Merge pull request #3908 from urbit/lf/hark-graph-indices
hark: follow individual indices
2020-11-11 10:37:19 +10:00
Liam Fitzgerald
a07f55b832
hark-graph-hook: fix conflict in merge 2020-11-11 10:36:32 +10:00
fang
1c8e73a8f6
eyre: update tests to match fact-only clogs
Watch-acks no longer add to the clog counter, so we need to trigger an
additional fact to reach the test case we care about.
2020-11-10 23:16:44 +01:00
fang
1e8d6651ac
eyre: update tests to match fact-only clogs
Watch-acks no longer add to the clog counter, so we need to trigger an
additional fact to reach the test case we care about.
2020-11-10 23:12:14 +01:00
fang
efdcc8b41e
eyre: clog exclusively for %facts
Eyre's clog logic was a tad inconsistent about "only facts" vs "not poke-acks".
This makes it consistently say "only facts" when it comes to clog-related logic.
Yes, in theory this means %watch-acks and %kicks can build up endlessly, but
those should take up negligible space compared to %facts.

Should fix any oddball cases of crashes here that #3835 didn't already catch.
2020-11-10 23:05:46 +01:00
fang
74fcda589d
eyre: remove fact-without-subscription printf 2020-11-10 23:05:37 +01:00
fang
49aa333331
eyre: ignore facts directly after clog
When an application would send multiple facts during a single event, it
was possible for the first fact to trigger a clog, removing the
subscription and sending a quit, but then the second fact still getting
sent out at normal.

Here, we drop any facts for subscriptions we don't have registered in
state, which should only happen in the described case.
2020-11-10 23:05:28 +01:00
fang
3ca993df07
eyre: clog exclusively for %facts
Eyre's clog logic was a tad inconsistent about "only facts" vs "not poke-acks".
This makes it consistently say "only facts" when it comes to clog-related logic.
Yes, in theory this means %watch-acks and %kicks can build up endlessly, but
those should take up negligible space compared to %facts.

Should fix any oddball cases of crashes here that #3835 didn't already catch.
2020-11-10 22:06:28 +01:00
Matilde Park
a24959a64f drum: fix syntax error for state-11 2020-11-10 15:12:52 -05:00
Matilde Park
e986298ee9 Merge branch 'release/next-userspace' into lf/hark-redux 2020-11-10 15:04:16 -05:00
fang
c33f027735
hood: auto-start herm 2020-11-10 20:54:06 +01:00
fang
9ccfeb9e8d
soto: tombstone 2020-11-10 20:47:01 +01:00
fang
eb40e2feed
webterm: handle unicode more correctly
Make the marks produce json arrays where the (list @c) type is used.
On the frontend, transform the semantic (character-based) cursor
position into a byte-based one, in order to ensure the cursor gets
rendered at the correct location, even if the presence of multi-byte
characters like emoji.
2020-11-10 20:42:28 +01:00
Matilde Park
35103ab394 hark-graph-hook: remove ~& 2020-11-10 14:24:47 -05:00
Matilde Park
fdcb2c32db Merge branch 'lf/hark-redux' into lf/hark-graph-indices 2020-11-10 14:21:51 -05:00
fang
9cd9448bcd
dill: remove ducts from %view and %flee interface
This was a little bit too crummy. Instead, we put in a placeholder of ~,
which should be forwards-compatible with atomic session identifiers,
where ~ identifies the default session.

Additionally touches up the herm wires/paths to stick to the above more
closely.
2020-11-10 19:33:11 +01:00
matildepark
1f51ed5973
Merge pull request #3907 from urbit/mp/landscape/chat-indigo
chat: migrate to indigo-react
2020-11-10 13:30:32 -05:00
fang
5f5e1def83
mark: handle unicode in belt correctly
Input should be treated as unicode strings
2020-11-10 19:27:25 +01:00
fang
fa20fff31a
Merge pull request #3873 from urbit/m/lazy-verb
verb: render printouts lazily
2020-11-10 10:51:24 +01:00
Philip Monk
1c8d229fb7
gall: fade initial commit 2020-11-09 23:42:04 -08:00
Liam Fitzgerald
5354aae5fa
graph-store: run-updates no longer pokes itself 2020-11-10 15:43:35 +10:00
Liam Fitzgerald
7e5bf37184
hark: address L review 2020-11-10 13:32:48 +10:00
Liam Fitzgerald
9eec477e0e
hark-graph-hook: watch individual indices 2020-11-10 12:14:06 +10:00
Matilde Park
54d08e393f arvo/landscape: remove unused pngs 2020-11-09 21:14:00 -05:00
fang
fbda1de612
webterm: dojo -> term
Includes updating the tile data in launch.
2020-11-09 20:29:36 +01:00
L
9cbed7a4a9
Merge pull request #3832 from urbit/la/thread-watcher
observe-hook: spin up a thread upon receiving a %fact from a subscription
2020-11-09 12:37:13 -06:00
fang
acd9176d76
webterm: clean up 2020-11-06 22:32:13 +01:00
fang
f62129d095
herm: keep blit & belt marks in cache
Perhaps there should be a general-purpose mechanism for this, but for
now this will suffice.
2020-11-06 22:30:24 +01:00
Logan Allen
f714fa602e observe-hook: switch from time to serial, and reorganize on-agent 2020-11-06 15:29:15 -06:00
Logan Allen
4b7f0e8025 thread-watch: change name to observe-hook 2020-11-06 14:55:32 -06:00
Matilde Park
5eb1aa4327 Merge branch 'release/next-userspace' into lf/hark-redux 2020-11-06 08:59:53 -05:00
fang
f950d710c3
webterm: support downloading files
For %sav and %sag blits.
2020-11-06 13:47:22 +01:00
Liam Fitzgerald
fa3fe2b17d
hark-store, hark-chat-hook: support mentions in chat 2020-11-06 14:19:58 +10:00
Matilde Park
00860ca465 glob: update to 0v3.29n7b.04srk.3pcv0.1ld5v.vl1io 2020-11-05 22:13:06 -05:00
Liam Fitzgerald
27b5f70b80
pull-hook: fix rewatch wire 2020-11-06 12:08:08 +10:00
Liam Fitzgerald
4fc8560a13
pull-hook: fix rewatching subscriptions 2020-11-06 12:05:51 +10:00
Liam Fitzgerald
10c956fc87
pull-hook: fix base-state-0 type 2020-11-06 12:03:14 +10:00
Matilde Park
f8e41dc949 glob: update to 0v5.8huh4.vt7qh.kd39s.hdqmd.vb91t 2020-11-05 20:56:52 -05:00
matildepark
8e178ac030
Merge pull request #3898 from urbit/lf/pull-hook-fix
pull-hook: rewatch missing subscriptions
2020-11-05 20:49:55 -05:00
Liam Fitzgerald
d902aa9629
pull-hook: rewatch missing subscriptions 2020-11-06 11:44:09 +10:00
matildepark
e29e1bb1bb
Merge pull request #3871 from urbit/lf/graph-pull-cleanup
graph-pull-hook: only archive if we have graph
2020-11-05 20:04:07 -05:00
Matilde Park
adce7e05d0 glob: update to 0v4.qe6t9.dnecd.ajaa9.jftp5.vtk3s 2020-11-05 19:57:58 -05:00
matildepark
1ffea0be06
Merge pull request #3891 from urbit/lf/groupify-graph
landscape: restore groupify functionality
2020-11-05 19:50:39 -05:00
matildepark
13a1f055b0
Merge pull request #3870 from urbit/lf/fix-push-remove
lib-push-hook: fix behaviour of %remove
2020-11-05 18:47:24 -05:00
Liam Fitzgerald
13555c603c
push-hook: rekick watches that had been kicked on migrate 2020-11-06 09:18:17 +10:00
Liam Fitzgerald
03b797102c
ph: add lib-hooks test 2020-11-06 08:53:55 +10:00
Liam Fitzgerald
58e9024ab6
graph-pull-hook: fix scry helper 2020-11-06 08:53:36 +10:00
Liam Fitzgerald
521fa0ddbd
lib-hooks: give on all relevant paths 2020-11-06 08:52:47 +10:00
fang
7a40b1137e
herm: send prompt & cursor on-connect 2020-11-05 20:13:36 +01:00
fang
485a15c913
dill: add scry endpoints for current line & cursor
This will let connecting clients get the rendering-relevant parts of the
current state of the session on demand.
2020-11-05 20:13:03 +01:00
fang
185b553c99
herm: userspace dill proxy
Listens to the default dill session and passes its %blits on to
subscribers. Passes any %belt pokes it gets into dill.

Updates webdojo to make use of it, which is the primary motivation for
herm's existence.
2020-11-05 19:39:08 +01:00
Brendan Hay
ff3d7c1574
arvo: run %lens when lite boot (-l) is specified 2020-11-05 10:25:31 +01:00
Liam Fitzgerald
62409ca94d
glob: update to 0v6.9vk2h.hr87m.nn63p.8kmo5.k4ljt 2020-11-05 17:36:58 +10:00
Liam Fitzgerald
9d919407a0
glob: update glob to 0v4.0lvsj.gc55k.nsl3q.mf2h2.pv1bk 2020-11-05 16:48:40 +10:00
Liam Fitzgerald
caa12c1e09
hark: fix JSON conversions 2020-11-05 15:33:52 +10:00
matildepark
628b031252
Merge pull request #3865 from urbit/lf/graph-author-delete
graph-push-hook: allow for node removal by author
2020-11-04 23:20:45 -05:00
Liam Fitzgerald
974a02e63a
hark-chat-hook: poke hark-store for watching channels 2020-11-05 12:51:46 +10:00
Liam Fitzgerald
cd11d994a4
hark-store: add %chat types 2020-11-05 12:50:56 +10:00
Liam Fitzgerald
a3a8f72672
hark-chat-hook: add marks 2020-11-05 12:28:04 +10:00
Liam Fitzgerald
b705b91577
hark-chat-hook: add first sketch 2020-11-05 12:27:45 +10:00
Liam Fitzgerald
fd149da592
ted/groupify: fix %remove-group poke 2020-11-05 12:02:59 +10:00
Logan Allen
63a0bb00c0 thread-watch-hook: edge cases tested and fixed 2020-11-04 18:42:52 -06:00
Logan Allen
ed81e2304d thread-watch-hook: compiles 2020-11-04 15:14:18 -06:00
Logan Allen
06062757db thread-watch-hook: add +on-init to watch graph invitatory, and remove ~& 2020-11-04 14:55:46 -06:00
fang
83d46dae88
dill: fall back to default session
This lets us support the "random userspace app sending dill belts".
Ultimately, we'll want to be able to specify a session identifier
alongside the belt, instead of strictly relying on the duct.
2020-11-04 20:12:01 +01:00
fang
eb824f1866
dill: allow watching output of arbitrary sessions
Adds a %view task, which opens a subscription on the output sent to the
specified session. %flee closes the same.
Whenever dill sends a blit to the session, any subscribers get the
output also.

The structures here will become more reasonable once we replace ducts
with proper dill session identifiers.
2020-11-04 20:11:42 +01:00
Logan Allen
65291863a0 thread-watch-hook: successfully sends facts to %invite-accepted-graph
thread
2020-11-04 12:12:24 -06:00
fang
18494f8a9d
dill: if styled prompt has no style, emit as plain
People using older runtimes might not support the %klr blit. It's not
uncommon for prompts without style to get passed in as %pom though, so
here we catch that case and turn it into a %pro, which gets rendered as
a traditional %lin.
2020-11-04 17:28:05 +01:00
fang
b96e071eb2
Merge branch 'release/next-sys' into release/next-dill 2020-11-04 17:25:35 +01:00
fang
c992e4ce9d
eyre: forego <atom> in favor of (scow %aura atom)
Pretty-printing is expensive, yet we do it whenever we construct the cookie
string, at least once (but usually twice) per authenticated request.

Here we call out the the specific to-tape functions we need, instead of relying
on the pretty-printer for converting... tapes to tapes, among other things.  
The primary gains come from the cookie-related instances, we update the others
mostly for good style.

For the "receive request and immediately send response" case, that is processed
synchronously within eyre (ie, client sends channel ack), speeds thing up by
roughly 55%.
2020-11-04 01:02:11 +01:00
fang
3d610448af
ren: remove the last renderer files from /ren
No longer in use.
2020-11-03 23:11:18 +01:00
Matilde Park
f7d59985d2 glob: update to 0v4.cf9m1.t0ofg.dtig4.av3jh.2f2db 2020-11-03 16:04:41 -05:00
fang
37c0383a79
Merge pull request #3864 from urbit/m/ream-to-zapcom
clay: replace ream with nouns and !, zapcom
2020-11-03 21:55:49 +01:00
fang
a94c63d412
verb: improve code style in +print 2020-11-03 20:15:58 +01:00
fang
0c10e237d3
verb: render printouts lazily
Instead of passing in a tape to print in case we need in, pass in a trap that
can be called to generate the tape on-demand.

Eagerly rendering printouts was costing us a lot of time when we didn't actually
need them, because the pretty-printer is slow.
2020-11-03 19:17:13 +01:00
Liam Fitzgerald
ebb15a4fc3 lib/graph: address L review 2020-11-04 04:10:57 +10:00
Matilde Park
b107bf16e9 glob: update to 0v2.76bkn.nvb2c.j2704.jqhct.la06e 2020-11-03 12:34:17 -05:00
fang
acf0f8d0e1
clay: %limb instead of %wing 2020-11-03 16:35:28 +01:00
pkova
b114956870 zuse: improve url extension parsing
Previously extensions ending with numbers such as .woff2 were not recognized.
2020-11-03 15:54:10 +02:00
Liam Fitzgerald
e04d9f2dba graph-pull-hook: only archive graph if we already have it 2020-11-03 17:20:46 +10:00
Liam Fitzgerald
4213543e35 lib/graph: add +get-keys 2020-11-03 17:20:01 +10:00
Liam Fitzgerald
5f1f98f746 lib-push-hook: fix behaviour of %remove
%remove did not properly iterate over the paths and as such did not
return a complete list of paths to kick.

Fixes #3868
2020-11-03 16:32:53 +10:00
Liam Fitzgerald
26f2e9e951 graph-store: loosen link comment validation 2020-11-03 16:12:07 +10:00
Liam Fitzgerald
6c150279ac hark-graph-hook: use %mention type for +is-mention 2020-11-03 15:03:02 +10:00
Liam Fitzgerald
92fec34658 graph-store: add %mention type 2020-11-03 15:03:02 +10:00
Liam Fitzgerald
04c1ad6653 hark: add publish support 2020-11-03 14:55:32 +10:00
Liam Fitzgerald
13fe6c3ad1 hark: address L review 2020-11-03 14:55:01 +10:00
Liam Fitzgerald
e9d9bb839f Merge branch 'release/next-userspace' into lf/hark-redux 2020-11-03 10:58:52 +10:00
Liam Fitzgerald
515a9a1f54 hark-store, hark-graph-hook: address L review comments 2020-11-03 10:36:00 +10:00
Liam Fitzgerald
9702c5a86c graph-push-hook: allow for node removal by post author 2020-11-03 10:22:12 +10:00
Liam Fitzgerald
5c0d175998 lib/graph: add +get-node 2020-11-03 10:19:58 +10:00
fang
e7afc51018
clay: replace ream with nouns and !, zapcom
Motivation for the change is performance improvements on the un-`^~`d uses of
ream. Parsing turns out to be slow, making ream slow in turn. So we construct
the hoon ast manually instead.

!, is arguably better style than ream, since it doesn't require a ^~ for static
input, and lets syntax highlighting function properly.

For the investigated case, in +get-cast's +grow flow, improves performance by
over 80%.
2020-11-03 00:27:10 +01:00
Logan Allen
697d23f83a thread-watch-hook: made %invite-accepted-graph thread 2020-11-02 15:22:50 -06:00
Logan Allen
1b8af7d78c hood: start %thread-watch-hook 2020-11-02 15:22:50 -06:00
Logan Allen
353d328340 thread-watch-hook: moved to marks and slopped vases 2020-11-02 15:22:50 -06:00
Logan Allen
ce43ea0765 thread-watch-hook: compiles properly 2020-11-02 15:22:50 -06:00
Logan Allen
1c0777e0a7 thread-watcher: first sketch 2020-11-02 15:22:50 -06:00
fang
a35cad457a
Merge pull request #3830 from urbit/m/respect-forwarded-more
eyre: respect protocol from Forwarded header
2020-10-31 00:38:41 +01:00
Liam Fitzgerald
625dda87fc glob: update to 0vptpd9.7fcod.53cag.tfca7.grfkf 2020-10-30 13:13:47 +10:00
Matilde Park
cc7c96461f glob: update to 0v6.e9uhe.am6af.kd2sf.7qvdc.cilkh 2020-10-29 21:29:47 -04:00
Matilde Park
60fc870ec0 glob: update to 0v5.97qv3.kke6t.jn8tc.oe2fe.78c8n 2020-10-29 20:47:35 -04:00
Liam Fitzgerald
34771ba30f publish: clarify stack trace in +on-agent 2020-10-30 10:41:06 +10:00
Liam Fitzgerald
f4483fdecb graph-store: update indices of leaf posts 2020-10-30 10:23:08 +10:00
Liam Fitzgerald
5f0855d278 graph-store: update indices in post on migrate 2020-10-30 10:20:35 +10:00
Logan Allen
c0bb44175d Merge branch 'lf/graph-publish-fe' of github.com:urbit/urbit into lf/graph-publish-fe 2020-10-30 00:09:10 +00:00
Logan Allen
27cc2c435d graph-store: indentation fix 2020-10-30 00:09:00 +00:00
Liam Fitzgerald
9c8e1bab2d graph-store: prevent infinite loop 2020-10-30 10:05:59 +10:00
Matilde Park
bdaa56d681 glob: update to 0v1.el225.9dbhq.381at.4pfta.bl8da 2020-10-29 19:13:42 -04:00
fang
f8a2235d6e
Merge pull request #3835 from urbit/m/silent-subs
eyre: ignore facts directly after clog
2020-10-29 22:13:04 +01:00
fang
42229657ca
eyre: respect protocol from Forwarded header
If the Forwarded header specifies the original connection is secure,
update the flag to reflect that, regardless of whether the connection
directly to the urbit was made securely.
2020-10-29 14:24:24 +01:00
fang
82dcad4c59
zuse: if empty, unpack header into empty list
Previously, would give a ~[{}] for the '' header. This makes it parse
that as "no entries" rather than "one entry without data".
2020-10-29 14:19:57 +01:00
Liam Fitzgerald
b768cd3dd0 graph-store: normalize @da in indices
As links is the only application currently using graph-store, we migrate
all indices to @da instead of a @da or a unix timestamp. Rolls over
current graphs and update log to rectify this. Additionally, applies the
link validator mark to graphs, as this was missing. Fixes a latent bug
in graph-store where the removal of a graph that triggered a mark build
would prevent the mark from being rebuilt. Fixes mark input and index
formatting from the frontend as well.
2020-10-29 14:11:55 +10:00
Liam Fitzgerald
fbf505c0d9 graph-store: mark unmarked graphs 2020-10-29 13:11:18 +10:00
Liam Fitzgerald
829cd509b4 publish: migrate note body correctly 2020-10-29 12:56:41 +10:00
Liam Fitzgerald
225718b8cf metadata-store: fix path handling in migration 2020-10-29 10:25:16 +10:00
Liam Fitzgerald
d5683fb631 publish: fix time handling in publish 2020-10-29 09:49:05 +10:00
Liam Fitzgerald
410d193f5a publish: loosen comment validation 2020-10-29 09:37:47 +10:00
Liam Fitzgerald
ec1c4339c5 publish: loosen validator 2020-10-29 09:35:43 +10:00
Liam Fitzgerald
aabd890b6d publish: fix backoff 2020-10-29 09:34:15 +10:00
Liam Fitzgerald
4079de05f6 publish: fix graph-validator mark 2020-10-29 09:32:15 +10:00
Matilde Park
7e61bb9a6d glob: update to 0v5.d2ut4.t1kqo.2mdr9.mnc4i.vgb53 2020-10-28 19:25:57 -04:00
Logan Allen
358af000ec invite-store: fix %graph %create 2020-10-28 21:54:02 +00:00
Logan Allen
0eb0ef9479 graph-store: if null timestamp, replace with now 2020-10-28 14:37:26 -05:00
Logan Allen
e357a36577 graph-create: fix creation in edge cases 2020-10-28 14:06:34 -05:00
Liam Fitzgerald
39d538f9bc Merge branch 'release/next-userspace' into lf/graph-publish-fe 2020-10-28 16:40:02 +10:00
Liam Fitzgerald
2de45c53ef Merge branch 'release/next-userspace' into lf/hark-redux 2020-10-28 16:34:55 +10:00
Liam Fitzgerald
cf4f0f302e hark: final pass for bugs 2020-10-28 15:52:59 +10:00
L
210a9f968c
Merge pull request #3721 from urbit/la/modernize-invites
invite-store/hook: modernize the code style to match other new apps
2020-10-27 19:37:44 -05:00
Logan Allen
ef67bdea8b invite-store: move to de-path-soft 2020-10-27 19:18:56 -05:00
Ted Blackman
56db7cdcda ames/zuse: require >64-bit comet addresses 2020-10-27 17:28:07 -04:00
Ted Blackman
fcf9cfbcdb ames/zuse: require >64-bit comet addresses 2020-10-27 17:20:25 -04:00
Logan Allen
870a6f635f invites: indentation fixes 2020-10-27 15:45:26 -05:00
Logan Allen
7083979628 invite: initialize state for %graph invites and fix mark 2020-10-27 12:48:50 -05:00
Logan Allen
795e4a4509 invite-store: updated comments 2020-10-27 12:33:28 -05:00
Elliot Glaysher
4e35a8eb8a
Merge pull request #3769 from urbit/kh-inject
king: implement -I and --inject-event-list
2020-10-27 10:44:33 -04:00
Liam Fitzgerald
8b090400f1 hark-store: add subscriptions, cache unread count 2020-10-27 15:07:13 +10:00
Liam Fitzgerald
136faf581f hark-group-hook: add subscriptions 2020-10-27 15:06:32 +10:00
Liam Fitzgerald
df2755b485 hark-graph-hook: add subscriptions, preferences 2020-10-27 15:05:00 +10:00
Liam Fitzgerald
9b19e30d23 hark-hooks: add JSON conversion, marks 2020-10-27 15:04:39 +10:00
Liam Fitzgerald
a16a1cafcc graph-store: expose post:enjs 2020-10-27 15:01:24 +10:00
Philip Monk
f548deaff6
Merge pull request #3787 from urbit/philip/symbols
hoon: update glyph names
2020-10-26 18:06:53 -07:00
Joe Bryan
aa200cf25a
Merge pull request #3786 from urbit/jb/ames-peek-forward-lane
ames: updates forward-lane scry-handling to prevent routing loops
2020-10-26 11:56:23 -07:00
fang
93475aa756
eyre: remove fact-without-subscription printf 2020-10-26 15:52:39 +01:00
fang
828f88b737
Merge branch 'master' into release/next-vere 2020-10-26 14:54:06 +01:00
fang
26049a3da0
eyre: ignore facts directly after clog
When an application would send multiple facts during a single event, it
was possible for the first fact to trigger a clog, removing the
subscription and sending a quit, but then the second fact still getting
sent out at normal.

Here, we drop any facts for subscriptions we don't have registered in
state, which should only happen in the described case.
2020-10-24 11:45:21 +02:00
fang
b92cfdb242
eyre: produce moves in correct order
Because storing in reverse order means producing in reverse reverse
order.

The tests didn't catch this because they, too, were infected with the
"reverse moves" meme.
2020-10-24 01:48:51 +02:00
Philip Monk
fc15f0d735
Merge branch 'pr' into HEAD 2020-10-22 20:47:53 -07:00
Matilde Park
6a97ebb54f Merge branch 'release/next-userspace' 2020-10-22 22:21:18 -04:00
Matilde Park
1930a75d73 glob: update to 0v2.1vtfh.0l23v.30s7f.n57l9.dpjvi 2020-10-22 22:19:58 -04:00
Joe Bryan
da928bed10 ames: updates forward-lane scry-handling to match +send-blob 2020-10-22 17:37:46 -07:00
Logan Allen
c8068e8fcb agents: all agents compile with new invites types and import patterns 2020-10-22 12:17:15 -05:00
Liam Fitzgerald
582b4b15ff hark-store: address review comments 2020-10-22 11:30:37 +10:00
Liam Fitzgerald
f3fec6ac74 hark-group-hook: address review comments 2020-10-22 11:30:18 +10:00
Liam Fitzgerald
4237d2caf6 hark-graph-hook: address review comments 2020-10-22 11:30:02 +10:00
Liam Fitzgerald
6dae330bb6 metadata: add arms to helper core 2020-10-22 11:29:35 +10:00
Liam Fitzgerald
5b8087b72a publish: refine backoff behaviour 2020-10-22 10:30:04 +10:00
Logan Allen
3304613127 interface/chat-view: updated group invites and chat invites to work properly 2020-10-21 18:11:31 -05:00
matildepark
0c87a44e97
Merge pull request #3747 from urbit/lf/remove-channel-generator
metadata-store: add |remove generator
2020-10-21 17:18:54 -04:00
Elliot Glaysher
04ab7b5eb6 king: implement -I and --inject-event-list
This makes it so during `run`, you can inject a series of Events
into your Urbit. The `-I` injection was implemented in Vere, and
has been ported to KH, with the extended `--inject-event-list`
flag which handles a jammed list of events.

Also included is a sample generator which builds a list of events.
2020-10-21 14:39:35 -04:00
crides
ca023b6db0 hoon, dill: Add 24-bit true color
This commit adds 24bit true color capabilities to `sole-effect` for
those terminal supporting it (which most modern terminal does). It adds
a RGB type squashed into `$tint`, which will get converted to escape
sequences in `dill` for the moment.

As Urbit does not do `termcap` detection, this also does not attempt
that. But on terminals that doesn't support true color (e.g. linux
console), the color would be truncated to the nearest achievable
approximate.
2020-10-21 12:11:52 -05:00
fang
e3dcfc6372
release: urbit-os-v1.0.61 2020-10-21 12:43:40 +02:00
Liam Fitzgerald
b1fb130103 hark-group-hook: add %hark-group-hook 2020-10-21 16:09:22 +10:00
Liam Fitzgerald
def6cfd535 hark-graph-hook: add %hark-graph-hook 2020-10-21 16:09:18 +10:00
Liam Fitzgerald
1c1e2f60b0 graph-validator-link: add notification-kind conversion 2020-10-21 16:01:14 +10:00
Liam Fitzgerald
e336ad1c77 graph-store: add graph-mark scry 2020-10-21 15:59:39 +10:00
Liam Fitzgerald
560b663eb0 graph-create: correctly pass mark to poke 2020-10-21 15:58:51 +10:00
Liam Fitzgerald
2aed5baa25 hark-store: add working hark-store 2020-10-21 15:55:39 +10:00
Logan Allen
44f1ed6d03 invite-json: first pass 2020-10-20 17:27:44 -05:00
Logan Allen
52d7837420 agents: updated all references to invites 2020-10-20 17:23:07 -05:00
Logan Allen
cbfa820ee3 graph-threads: delete thread gets rid of metadata properly 2020-10-20 15:15:58 -05:00
Logan Allen
79ac6eb8cd Merge branch 'release/next-userspace' into lf/graph-publish-fe 2020-10-20 15:08:40 -05:00
L
c187c591ba
Merge pull request #3738 from urbit/la/spider-http
threads: make spider HTTP threads compatible with dojo threads, and fix the %graph-leave thread
2020-10-20 12:55:32 -05:00
Liam Fitzgerald
f8fcc161a1 publish: fix graph-store migration
Previously, if a subscriber received the OTA migration before the host,
then it would attempt to subscribe to a non-existent resource, and
receive a nack, thus unsubscribing the ship from the notebook. To
rectify this, the tombstoned publish has been changed to resubscribe in
a loop with exponential back off. Once it receives a positive watch-ack
(i.e. the host completed the OTA), it will then migrate the notebook to
graph-store by adding it to graph-pull-hook
2020-10-20 10:39:14 +10:00
fang
5bebff3c38
eyre: kick subscriptions if fact conversion fails
This matches the behavior that gall uses for %watch-as subscriptions,
which eyre was using previously.
2020-10-19 19:17:58 +02:00
fang
1d4ee5a7b5
eyre: kick busy subscriptions if client not acking
In order to curb event queue growth when a client for whatever reason
isn't acking the events we send out, we implement a mechanism for
detecting such "clogging", and proactively kick subscriptions which are
adding too many events to the queue.

If the client hasn't sent an ack for ~s30, any subscription that accrues
more than 50 unacked %facts gets closed to prevent further buildup.

Upon reconnecting, the client will see %kick for the relevant
subscriptions and can open a new subscription as appropriate.

Includes a simple test for this behavior, and updates /app/dbug to be
able to display the newly tracked statistics.
2020-10-19 15:56:05 +02:00
Liam Fitzgerald
3ee0f13e41 publish: tombstone 2020-10-19 16:15:55 +10:00
Liam Fitzgerald
b610153b24 publish: address comments 2020-10-19 15:39:36 +10:00
Liam Fitzgerald
b94941f0a2 Merge branch 'release/next-userspace' into lf/graph-publish-fe 2020-10-19 13:18:25 +10:00
Liam Fitzgerald
2ca8f41288 metadata-store: add |remove generator 2020-10-19 12:45:20 +10:00
fang
63b4fb3e19
eyre: simplify channel subscription storage
Instead of storing by "channel wire", store by request-id instead.
The channel wire was just the channel-id, request-id, and some cruft.
2020-10-19 00:48:18 +02:00
fang
0b331a2ca9
eyre: update tests to match recent changes 2020-10-18 17:00:02 +02:00
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
matildepark
782ea1a6e7
Merge pull request #3696 from urbit/lf/bundle-cleanup
interface: various bundle size optimisations
2020-10-16 18:32:07 -04:00
Logan Allen
769c50dd25 invite-store: converted from paths to resources. wip 2020-10-16 13:22:57 -05: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
Logan Allen
926c9975c2 graph-leave: fixed leave thread to function properly 2020-10-16 12:10:07 -05:00
Logan Allen
ace6a41e9e graph-threads: update to work with dojo and http 2020-10-16 10:42:31 -05:00
Logan Allen
c9cb97d476 spider: update http handler to be compatible with dojo 2020-10-16 10:42:06 -05:00
Elliot Glaysher
170bede757
Merge pull request #3726 from urbit/kh-make-code
Simplify +code and implement it in KH.
2020-10-16 10:30:00 -04: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
Elliot Glaysher
9e2039ee2f arvo: Simplify the actual +code implemetation in jael. 2020-10-15 13:20:06 -04:00
Logan Allen
b43a5f5534 invite-hook: modernized the style and removed inline %json conversion 2020-10-15 10:46:12 -05:00
Logan Allen
8e81bcb12a invite-store: modernize the style of %invite-store 2020-10-15 10:38:42 -05:00
pkova
75205466fe hoon: fix mis-compilation in wet gate subject access
Fixes #3600
2020-10-15 16:47:25 +03: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
b786530de0 test: adds +find regression test, fixes set/map comment typo 2020-10-14 16:32:16 -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
Liam Fitzgerald
f14c0ee19e interface, glob: serve source maps externally 2020-10-14 13:26:40 +10:00