Commit Graph

1231 Commits

Author SHA1 Message Date
Ted Blackman
cda4080e06 kiln: check for blocking desks before kernel update 2021-07-07 15:17:03 -04:00
Ted Blackman
51aac0f5d3 kiln: revive agents on upgrade (provisional) 2021-07-07 14:49:22 -04:00
Ted Blackman
06b4206e02 kiln: minor cleanup 2021-07-07 14:11:40 -04:00
Liam Fitzgerald
e9253b92f9
Merge remote-tracking branch 'origin/release/bitcoin-wallet' into release/next-userspace 2021-07-07 13:24:40 +10:00
timlucmiptev
f882ef5117 scow not scot 2021-07-06 21:24:38 +03:00
timlucmiptev
e95233dc08 fixed address bug for legacy addresses 2021-07-06 16:52:37 +03:00
Ted Blackman
e8dc993d84 kiln: initial kelvin check support compiles 2021-07-02 17:41:21 -04:00
timlucmiptev
dc93c735c1 scan-progress added 2021-07-02 09:14:09 +03:00
Ted Blackman
bfb9419d22 kiln: tell gall to fade apps on uninstall 2021-07-01 20:34:17 -04:00
Ted Blackman
1e07e347ff kiln: make |install idempotent 2021-07-01 19:10:03 -04:00
Ted Blackman
784004cfb6 kiln: +install compiles and loads, untested 2021-06-30 21:03:47 -04:00
janeway-bot
26ea30e72f
Merge a3b43137d6 into release/next-userspace 2021-06-28 22:28:18 +04:00
Logan Allen
eb5b731514 bip158: speed up +read-bits, thanks @frowdith 2021-06-24 16:24:24 -05:00
Logan Allen
322af7a55b b158: fix +str profiling hint 2021-06-24 12:55:38 -05:00
Logan Allen
a703aafad1 bip158: added profiling hints 2021-06-24 12:49:26 -05:00
Logan Allen
23869712ee test/thread: make tests pass and all threads build 2021-06-24 11:28:26 -05:00
Logan Allen
30e9dc40cd btc-wallet: compiles 2021-06-23 18:37:33 -05:00
Logan Allen
49819b8e44 bitcoin-utils: fix perf issue 2021-06-23 17:18:29 -05:00
Logan Allen
37845fc245 bitcoin-libs: jet profiling works great for nested cores 2021-06-23 16:56:55 -05:00
Logan Allen
126c977da0 bitcoin-utils: avoid issue with jet hint profiling 2021-06-23 16:33:42 -05:00
Logan Allen
f45affb9b7 bitcoin-utils: lent trip -> met 3 2021-06-23 16:31:56 -05:00
Logan Allen
19352d9b34 bitcoin-libs: added more jet hints 2021-06-23 16:28:28 -05:00
Logan Allen
67092addc5 btc-provider-lib: add top-level jet hints 2021-06-23 16:17:47 -05:00
tinnus-napbus
9112368ff8
bip158: change swp to rev in +to-range
Co-authored-by: fang <github@fang.io>
2021-06-24 05:01:32 +12:00
raghu
5698e2662a Merge remote-tracking branch 'upstream/master' into better-bar-fuse 2021-06-21 20:57:20 -04:00
raghu
a9f3be003e kiln: move to %sing from %next 2021-06-21 20:44:29 -04:00
Philip Monk
87ca57c364
gall: allow apps to run from any desk
Start with |start %desk %app-name

Everywhere in the kernel that we deal with marks, we infer the app it's
connected to and use the marks from that desk.

Also some light renaming in gall, especially path->wire and
current-agent->yoke.

Subsequent tasks:

- Dojo needs a syntax to run generators and threads from other desks
- The home desk should be split into at least a minimal base desk and
  big "userspace" desk.  Dill's initialization logic should be updated
  to handle
- |show-package, |install, and |uninstall should to be written
- Clay should have smarter handling of system versions instead of just
  ignoring what's on each desk.  It's not clear that this will work
  correctly when sys updates right now.
2021-06-18 16:13:55 -10:00
tinnus-napbus
84ca32aa80 bip158: change swp to flim:sha in +to-range 2021-06-19 03:48:05 +12:00
Liam Fitzgerald
e36f631e46
aqua: cleanup api, fix scry handling 2021-06-18 15:53:24 +10:00
ixv
fd663e0d2b Merge branch 'ixv/btc-filter' 2021-06-17 17:40:20 -07:00
ixv
0fe385df1f btc: don't use blockfilter if gap > 50; resubscribe on kick 2021-06-17 03:33:22 -07:00
Liam Fitzgerald
1aae4490b7
aqua: upgrade wire format in threads and generators 2021-06-17 16:53:49 +10:00
Liam Fitzgerald
4ec5e8af86
aqua: upgrade for arvo 240 2021-06-17 16:50:55 +10:00
Liam Fitzgerald
61845e605e
aqua: refine pill types
Introduces a %boot-pill mark and associated types, to distinguish pills
that can be used to boot a ship and the ivory pill. Changes aqua to
receive this new %boot-pill mark
2021-06-17 14:33:18 +10:00
raghu
d5c90ac448 accept behn gifts 2021-06-16 17:45:45 -04:00
ixv
fbbda57552 btc: use blockfilter when requesting address info 2021-06-11 16:10:56 -07:00
Liam Fitzgerald
96daff6b7f
Merge pull request #4936 from urbit/lf/read-graph-group
hark: read all in group, graph
2021-06-11 09:47:10 +10:00
L
c36b35aea4
Merge pull request #4991 from urbit/la/userspace-cleanup
graph-store: clean up old migrations, use some of the new +on methods
2021-06-09 16:02:20 -05:00
Logan Allen
c61a6c21aa graph-store: add back %2 migration 2021-06-08 10:49:36 -05:00
raghu
ed81fdedfa fuse: update printing for |fuse-list 2021-06-07 20:23:00 -04:00
raghu
5106f18d9a fuse: use %w instead of %v so we can request over the network 2021-06-07 19:52:08 -04:00
Logan Allen
980036d8c0 graph-store: style improvements 2021-06-07 13:42:26 -05:00
Logan Allen
b6d4f64e3d graph-store: clean up old migrations, use some of the new +on methods 2021-06-07 12:36:50 -05:00
raghu
75726c45e8 initial implementation of printing logic 2021-06-06 12:43:26 -04:00
raghu
a7bf5bbca4 fuse: fix some 80 char violations 2021-06-05 18:48:55 -04:00
raghu
d6c592ebba fuse: removing dependency on key being present 2021-06-05 16:03:32 -04:00
raghu
10cf37f8d8 fuse: add support for tracking sources 2021-06-05 16:03:32 -04:00
Logan Allen
87a5de919f userspace: adding a variety of casts to avoid nest checks 2021-06-04 16:08:54 -05:00
Liam Fitzgerald
5791be170f
Merge remote-tracking branch 'origin/release/next-userspace' into lf/read-graph-group 2021-06-04 13:49:45 +10:00
Logan Allen
42a8eaf071 graph-push-hook: speed up by getting rid of nest checks, using %cf, and storing gates instead of tubes 2021-06-03 17:29:01 -05:00
Liam Fitzgerald
e510cbeb03
Merge remote-tracking branch 'origin/release/next-userspace' into release/2021-5-27 2021-06-02 10:12:05 +10:00
matildepark
fe8361bfe1
Merge pull request #4969 from urbit/ixv/btc-wilted
btc: stop storing bip32 core in btc-wallet state
2021-06-01 16:19:30 -04:00
ixv
60ddfd1806 btc: stop storing bip32 core in btc-wallet state 2021-06-01 12:30:13 -07:00
Liam Fitzgerald
a03623d249
push-hook: fix version negotiation
Addresses a bug where if the publisher could not perform the fact
conversion, it would not be deferred to the subscriber, preventing the
subscriber from being ahead of the publisher
2021-06-01 12:57:29 +10:00
Liam Fitzgerald
698e79a1e4
push-hook: add %kick poke 2021-06-01 12:22:38 +10:00
Liam Fitzgerald
e16f264d19
Merge remote-tracking branch 'origin/master' into lf/launch-fixes 2021-06-01 11:20:51 +10:00
ixv
40d69b5a02 btc: invoice error handling 2021-05-26 18:30:18 -07:00
ixv
768b47985d btc: change tile to svg 2021-05-26 18:30:18 -07:00
pkova
d93020d9c6 btc: add basic error handling 2021-05-26 18:30:18 -07:00
ixv
36f8167986 btc: attach note to transaction 2021-05-26 18:30:18 -07:00
pkova
4a0caa9fc3 btc: add balance events on handle-address-info 2021-05-26 18:30:18 -07:00
Isaac Visintainer
b2887e75a0 btc: add tile 2021-05-26 18:30:18 -07:00
Isaac Visintainer
24db04bccc temp 2021-05-26 18:30:18 -07:00
Isaac Visintainer
62afe28f3f btc: allow unsetting provider; let frontend know if wallet is removed 2021-05-26 18:30:17 -07:00
Isaac Visintainer
e759050eb2 btc: check if payee has wallet; allow sending to external addresses 2021-05-26 18:30:17 -07:00
Isaac Visintainer
197934f95b btc: address copying 2021-05-26 18:30:17 -07:00
Isaac Visintainer
2158e9a4cd btc: transaction history 2021-05-26 18:30:17 -07:00
Isaac Visintainer
cc7318aaa9 btc: provider/wallet setup flow 2021-05-26 18:30:17 -07:00
Isaac Visintainer
d8f1e731e1 btc: post merge cleanup 2021-05-26 18:30:17 -07:00
Liam Fitzgerald
d124bbdb57
hark: fix read-group action 2021-05-26 14:10:46 +10:00
Liam Fitzgerald
82f2c88062
hark-store: add %read-graph %read-group actions 2021-05-25 13:38:09 +10:00
Liam Fitzgerald
115ee5f4f1
Merge pull request #4910 from urbit/lf/hark-boxing
hark: new boxing model
2021-05-21 08:38:18 +10:00
Matilde Park
c4a65eb65f Merge branch 'master' into release/2021-5-27 2021-05-19 22:07:12 -04:00
Philip Monk
804e2578ed
kiln: don't crash on fuse 2021-05-18 09:09:22 -10:00
Philip Monk
1e6e69a49d
Merge branch 'pr' into release/next-sys 2021-05-18 07:50:26 -10:00
Philip Monk
3a3bd23be6
Merge remote-tracking branch 'origin/master' into release/next-sys 2021-05-18 07:50:05 -10:00
Philip Monk
63ba2823dd
Merge remote-tracking branch 'origin/ted/clay-bunt' into release/next-sys 2021-05-18 07:38:52 -10:00
Liam Fitzgerald
4babfb22b7
hark: new boxing refinement 2021-05-18 10:57:25 +10:00
Liam Fitzgerald
d37dd90aef
hood: dm-hook is born 2021-05-17 16:16:37 +10:00
Liam Fitzgerald
d1cb72947e
hark: first pass at new boxing model 2021-05-17 15:42:13 +10:00
Liam Fitzgerald
95a41e6896
Merge remote-tracking branch 'origin/release/2021-5-27' into lf/perfect-dms 2021-05-17 12:01:59 +10:00
Liam Fitzgerald
dbb5cf4f0b
hooks: reset diplomacy 2021-05-11 11:50:12 +10:00
Liam Fitzgerald
73e32f816c
Merge remote-tracking branch 'origin/release/next-userspace' 2021-05-11 11:07:17 +10:00
Logan Allen
2a0fdb446c push-hook: clean-up code style 2021-05-10 15:16:24 -05:00
Matilde Park
d4c4db1ec5 Merge branch 'release/next-js' into release/next-userspace 2021-05-10 12:27:12 -04:00
Logan Allen
f4388dc60e graph-push-hook: speed up +transform-proxy-update by using persistent
caching
2021-05-07 15:42:31 -05:00
Logan Allen
57f5550dbc graph-push-hook: add better hints for profiling 2021-05-07 12:11:16 -05:00
matildepark
0ac26732c0
Merge pull request #4833 from rabsef-bicrym/ico-mark
file-server: Added support for .ico files:
2021-05-06 00:28:07 -04:00
Liam Fitzgerald
357ba972d6
hark-store: refactor on-load 2021-05-04 15:21:49 +10:00
Liam Fitzgerald
31a84f583f
hark: refactor, add migration 2021-05-04 14:17:55 +10:00
Liam Fitzgerald
ec4e3cacc3
post: remove %dm reference 2021-05-04 14:15:47 +10:00
Liam Fitzgerald
7a4546c4a1
dm-hook: screening 2021-05-04 11:17:49 +10:00
Liam Fitzgerald
772a134108
dm-hook: update for latest master 2021-05-04 11:17:49 +10:00
Liam Fitzgerald
10df4fa4b8
dm-hook: pendings and references 2021-05-04 11:17:47 +10:00
Liam Fitzgerald
2001afe01d
hark: remove group, change module to mark in index 2021-05-04 11:17:46 +10:00
Liam Fitzgerald
828e7ead1b
graph: add cage helpers 2021-05-04 11:15:03 +10:00
Liam Fitzgerald
395ef6ef01
hooks: add diplomacy flag 2021-05-04 11:06:59 +10:00
Liam Fitzgerald
29ada0eba1
pull-hook: slog tank on versioned nack
Should hopefully provide more debugging info for ghost subscriptions
2021-05-04 11:02:24 +10:00
Liam Fitzgerald
dcf858ccf9
push-hook: hold subscription open after validating access
When we receive a watch-nack on a versioned subscription, we attempt to
resubscribe on an unversioned path. However, if we receive an unversioned
subscription request for which we are not compatible, we hold the
subscription open and never send any facts on unversioned subscriptions.
As the check for unversioned compatiblility occurs before retrieving the
initial-watch, subscriptions which are supposed to nack never do. Fixed
by moving the conditional.

Fixes urbit/landscape#795
2021-05-04 10:56:49 +10:00
Liam Fitzgerald
c73e2b95b5
versioning: convert gates return a cage 2021-05-04 10:55:06 +10:00
raghu
baa06904f6 fuse: print help text in generator 2021-05-01 23:04:19 -04:00
Matilde Park
391a3101d9 Merge branch 'release/next-js' into release/next-userspace 2021-04-30 18:10:01 -04:00
Liam Fitzgerald
004145b407
graph: bunt time to ensure deduplication
The varying timestamp in the %add-graph fact from graph-push-hook was
preventing deduplication of the jammed noun in ames. Prevents
unnecessary bail: memes upon sending many %add-graph facts
2021-04-30 23:58:50 +10:00
Liam Fitzgerald
681641fe4c
graph-store: initialise update logs 2021-04-30 23:58:42 +10:00
Liam Fitzgerald
56b9a7545c
Merge remote-tracking branch 'origin/master' into la/ref-trans-graph 2021-04-30 14:36:26 +10:00
Philip Monk
ca389b42cf
Merge remote-tracking branch 'origin/master' into release/next-sys 2021-04-28 23:25:16 -07:00
Liam Fitzgerald
1ab144b265
hooks: address L review 2021-04-29 15:29:27 +10:00
rabsef-bicrym
04537e6fc1 Added support for .ico files:
-/mar/ico/hoon
 * Utilizes similar structure to /mar/png/hoon, w/ changed mimetype
-/lib/server
 * Added ico-response, again similar to png w/ same caching
-/app/file-server
 * Added reference to ico-response:gen

i showed you my ico, plz respond
2021-04-29 04:38:43 +00:00
L
eb371ea4c2
Merge pull request #4776 from urbit/la/fix-session-cache 2021-04-27 16:00:35 -05:00
fang
6f0a947d1b
Merge branch 'master' into release/next-sys 2021-04-26 23:13:27 +02:00
Logan Allen
79fe01a434 graph-store/push-hook: remove old mark warming, organize 2021-04-26 13:28:13 -05:00
raghu
201c3db193 clay: finalize fuse request - update |fuse 2021-04-25 14:01:45 -04:00
Logan Allen
cd627d452c metadata-store lib: replace crip, trip with rap 3 2021-04-20 16:25:43 -05:00
Logan Allen
c8565e2c3b graph-store lib: skip trip and crip, use rap 2021-04-20 15:58:12 -05:00
Liam Fitzgerald
e27b899a9d
pull-hook: prevent subscription to own store 2021-04-20 18:24:49 +10:00
Liam Fitzgerald
8b52f14a20
pull-hook: do not renegotiate if versions did not change 2021-04-20 18:24:47 +10:00
Liam Fitzgerald
7f3d6ef212
push-hook: do not kick subs if versioning same 2021-04-20 18:08:02 +10:00
raghu
b2e1008d9a clay: add %fuse 2021-04-19 23:46:46 -04:00
Logan Allen
7a44015924 graph-store: update +tag-queries to be a (jug term uid) 2021-04-19 15:53:07 -05:00
Logan Allen
751f3d1f24 server: fix session js caching, add cache threading for other response types, switch from tape to cord interpolation 2021-04-16 12:58:27 -05:00
Logan Allen
d144af2e5b graph-store: migration code moved into lib, graph-store compiles with stubbed out %remove-posts 2021-04-14 14:26:36 -05:00
Logan Allen
fb0f169c09 graph-store: add referential transparency to structures file and update libs to compile 2021-04-13 16:17:39 -05:00
Logan Allen
f3001e122f graph-store: clean up old migrations 2021-04-13 15:38:42 -05:00
fang
1411e08944
clay: specify target type for /~ results
Clay will nest-check the results and put a homogenous map into the
subject.
2021-04-10 01:59:26 +02:00
fang
62d7281156
clay: add /~ ford rune, as /= for directories
Hoon files may want to import nouns from all files in a given directory.
/~ lets you do so, importing as a (map @ta *) (but with typed values).

Note the description as "directories" here, instead of "path prefix".
The behavior, as implemented, will not include /path/hoon for /~  /path,
instead only including /path/more/hoon and more deeply nested files.
This seems to be, generally, the behavior you want, for example when
importing from /app/myapp/* for /app/myapp/hoon.

Actually using the resulting map requires some manual casting, which is
not ideal. Some code style improvement work remains to be done as well.
2021-04-09 01:49:14 +02:00
fang
1ec5e5acfb
hoon: add +stap, path parser
And cleans up a bunch of locally hand-written implementations of it.
2021-04-07 21:14:13 +02:00
Liam Fitzgerald
fbd85abf4e
Merge remote-tracking branch 'origin/master' into lf/push-hook-unver 2021-04-03 12:54:35 +11:00
Liam Fitzgerald
b6a758b1f9
pull-hook: noop on unsupported, unversioned facts
Pull-hook side of the previous change to push-hook
(479fbfd798). Noop on unsupported
unversioned marks, waiting for the publisher to upgrade and kick. Same
tradeoffs as previous change apply.
2021-04-03 10:45:22 +10:00
Logan Allen
21b1119c74 metadata lib: parse right 2021-04-02 20:35:25 +00:00
Logan Allen
6fbbe2ceb7 metadata-store lib: make config encode/decode invertible 2021-04-02 19:18:59 +00:00
Liam Fitzgerald
f27fa5b0f3
metadata: fix updating graph metadata 2021-04-02 23:23:31 +10:00
Liam Fitzgerald
01960286d0
push-hook: do not pass facts to unsupported, unversioned subs 2021-04-02 22:14:15 +10:00
Liam Fitzgerald
479fbfd798
push-hook: noop on unversioned, unsupported watches
Mainnet is currently experiencing undue load due to a watch-kick loop.
If the watch is unsupported, it will be kicked due to a mark mismatch,
which will be interpreted by the unversioned hooks as a network pressure
kick, prompting a resub and continuing the loop. Instead, we now no-op
on unversioned, unsupported watches, waiting for the subscriber to
rewatch after it processes the versioning OTA. This will silently break
groups for the subscriber until the reach the latest OTA, but is
preferable to nacking, and kicking them permanently
2021-04-02 20:38:22 +10:00
Liam Fitzgerald
eb131e64a8
metadata: prevent crash 2021-04-02 15:24:26 +10:00
Liam Fitzgerald
4d659be7cf
metadata: fix JSON conversions 2021-04-02 14:35:41 +10:00
Liam Fitzgerald
615be57b7b
Post: refactor permission variations 2021-04-02 11:48:09 +10:00
Logan Allen
5953c9a58f graph-view: add %vip field to %create-group-feed 2021-04-01 16:08:30 -05:00
Liam Fitzgerald
95bf313ff9 group-view: add %started update 2021-03-29 14:27:28 -04:00
Matilde Park
b7e52edd58 Merge branch 'pre-release/next-userspace' into release/next-userspace 2021-03-26 14:43:28 -04:00
Liam Fitzgerald
996174f85f
push-hook: add version scries 2021-03-26 16:58:02 +10:00
Liam Fitzgerald
9323f19108
graph-store: fix JSON 2021-03-25 14:45:16 +10:00
Liam Fitzgerald
248255c697
graph-store: fix crash in JSON 2021-03-25 14:10:28 +10:00
Liam Fitzgerald
7b378f435d
pull-hook: delay scry in on-load 2021-03-25 11:32:32 +10:00
Liam Fitzgerald
3b3d86aa6c
pull-hook: delay scry in on-load 2021-03-25 11:28:20 +10:00
Matilde Park
7fd4928d96 Merge branch 'release/next-js' into release/next-userspace 2021-03-24 19:10:27 -04:00
Liam Fitzgerald
ce1520ab1a
pull-hook: fix crash 2021-03-25 09:01:22 +10:00
Logan Allen
58bf89d834 Merge branch 'release/next-userspace' into la/group-feed 2021-03-24 14:51:49 -05:00
Liam Fitzgerald
dd44377624
interface: update transclusion for reference content 2021-03-24 13:11:48 +10:00
Liam Fitzgerald
c186bad1c1
graph-store: +on-load 2021-03-24 13:09:58 +10:00
Liam Fitzgerald
b1e86b42ba
interface: fix private permalinks 2021-03-24 13:09:55 +10:00