Commit Graph

735 Commits

Author SHA1 Message Date
Liam Fitzgerald
3452781b40 push-hook: Proxy local pokes and fix kick path 2020-09-24 10:11:29 +10:00
Logan Allen
bc9b508d77 Merge branch 'release/next-userspace' into release/link 2020-09-22 15:52:42 -05:00
Logan Allen
8891a72b9c metadata-json: removed whitespace 2020-09-22 13:54:20 -05:00
Logan Allen
598b4e19c2 graph-view: added %module field to %graph-view %create action 2020-09-22 12:44:52 -05:00
Logan Allen
f015acb76c metadata: add %module field to metadata 2020-09-22 12:26:19 -05:00
Paul Driver
513c0e92d8 hoon: ensure lib/bip32 is working with new secp, remove old secp 2020-09-18 17:43:15 -07:00
Logan Allen
0f2c4d069e graph-push-hook: graph push hook forwarding works 2020-09-18 15:09:06 -05:00
fang
665547d400
Merge pull request #3441 from urbit/m/dbug-state-scry
dbug: attempt to scry for state
2020-09-17 13:17:23 +02:00
fang
b7df1a3f65
Merge pull request #3419 from urbit/m/shoe-tables
shoe: tables
2020-09-17 13:16:50 +02:00
L
3bf91ddebe
Merge pull request #3458 from urbit/lf/graph-fixes
graph-store: fix signatures & marks
2020-09-16 11:48:54 -05:00
Ted Blackman
77658b1a8a Merge remote-tracking branch 'origin/release/link' into lf/graph-be 2020-09-15 16:46:00 -04:00
Ted Blackman
9d4e10ff48 graph-view: hard-code app-name to %graph on server-side 2020-09-15 16:25:58 -04:00
Ted Blackman
183e7210cc -graph-join: remove timeout 2020-09-15 16:10:12 -04:00
Logan Allen
6c0589e32f Merge branch 'release/next-userspace' into lt/link-migration 2020-09-15 12:42:36 -05:00
Liam Fitzgerald
dd3fd3b6a9 graph-store: allow recursive add-nodes from JSON 2020-09-15 15:32:04 +10:00
Liam Fitzgerald
61e1a40650 graph-view: remove typing of app 2020-09-15 11:23:13 +10:00
Liam Fitzgerald
9ef2adf9da graph-view: error-handling pass 2020-09-11 13:09:34 +10:00
Liam Fitzgerald
e206b9c951 graph-view: fix app-name in metadata 2020-09-11 10:15:04 +10:00
Liam Fitzgerald
af77d47e73 graph-view: revived groupify 2020-09-11 10:15:04 +10:00
Liam Fitzgerald
574e6de984 graph-view: refine threads 2020-09-11 10:15:04 +10:00
Liam Fitzgerald
556759ee3f graph-view: address review comments 2020-09-11 09:35:44 +10:00
Liam Fitzgerald
cd0ca3a1b4 lib/graph: fix scries 2020-09-11 09:35:44 +10:00
Liam Fitzgerald
ff1219bbda marks: add graph-view marks 2020-09-11 09:35:44 +10:00
Liam Fitzgerald
c3fd4922aa lib/strandio: add +scry 2020-09-11 09:35:44 +10:00
Liam Fitzgerald
cae2ccd707 graph-view: revived groupify 2020-09-10 21:39:50 +10:00
Liam Fitzgerald
feb96625f1 Merge branch 'release/next-userspace' into lf/graph-publish-fe 2020-09-10 20:45:37 +10:00
Liam Fitzgerald
03807619ed graph-view: refine threads 2020-09-10 20:20:00 +10:00
Joe Bryan
31fe240632 arvo: adds |meld, triggering memory unification 2020-09-09 22:50:43 -07:00
Joe Bryan
7f0b500778 arvo: adds |trim, triggering memory reclamation 2020-09-09 22:49:37 -07:00
Fang
ef4b56f8c7
dill: send styled text to runtime as-is
Depending on the additions to term.c made in 467d8d239 allows dill to
forget about ansi escape codes, and pass styled text nouns straight on
to vere.

Also removes a bit of logic from drum, which assumed things about the
rendering of escape codes to adjust cursor positioning. Now it simply
states the semantic cursor position, letting the runtime deal with the
potential influence of styling.
2020-09-09 19:09:29 +02:00
Philip Monk
f9665c0cbd
Merge pull request #3378 from urbit/philip/base-hash
clay: expose mergebase as base-hash
2020-09-08 20:11:05 -07:00
Matilde Park
c7f8af1fd2 Merge branch 'release/next-userspace' 2020-09-08 20:32:02 -04:00
Fang
c109111ff9
dbug: attempt to scry for state
If the underlying app implements a /x/dbug/state endpoint in +on-peek,
dbug will now use that for %state evaluation. Falls back to the vase
provided by +on-save if the peek fails.

This allows apps and (perhaps more usefully) wrapper agents to provide
customized vases to /lib/dbug.

Updates /lib/shoe to make use of this, properly prepending the wrapped
app's vase to shoe's own, instead of including it as-is.
2020-09-07 15:55:45 +02:00
matildepark
d136c50ccc
Merge pull request #3243 from urbit/lf/lib-hooks-docs
lib-hooks: document with comments
2020-09-05 16:18:17 -04:00
Liam Fitzgerald
881146e476 graph-view: address review comments 2020-09-04 17:51:28 +10:00
Liam Fitzgerald
fe17e48713 lib/graph: fix scries 2020-09-04 17:42:20 +10:00
Liam Fitzgerald
2c2a61746b graph-store: fix signatures & marks 2020-09-04 15:37:39 +10:00
Liam Fitzgerald
7174f3281b marks: add graph-view marks 2020-09-04 00:12:12 +10:00
Liam Fitzgerald
003537e80e lib/hooks: remove reference to scrying 2020-09-03 10:13:29 +10:00
Liam Fitzgerald
7eea3de7bb lib/strandio: add +scry 2020-09-02 15:17:34 +10:00
Liam Fitzgerald
b81153db03 pull-hook: prevent from subscribing to ourselves 2020-09-02 11:21:14 +10:00
Fang
7658686a03
shoe: add %table and %row shoe commands
For rendering a data table or just a single table row respectively.

Table data is a list of header names, a list of width restrictions, and a list
of rows, defined as lists of dimes.
Row contents are rendered as per the aura in the dime. This also determines
their alignment (left/right), and how they break to fit smaller-width columns.

%row was added because %table necessitated implementing it. Whether it's a good
fit for the shoe "protocol" remains to be seen.
2020-09-01 20:12:30 +02:00
Philip Monk
67c5caada8
clay: add safe merge options
As described in gen/hood/merge/help.txt
2020-08-28 16:36:00 -07:00
Logan Allen
bbf854d956 graph-store: updated scry interface to return %graph-store marks so as to properly do %json conversion 2020-08-27 17:31:36 -05:00
Fang
ddb61adbd1
lib: take json as argument to server json-response
No reason conversion to octs has to happen outside of this function.
2020-08-27 16:57:03 +02:00
Philip Monk
794b31ec91
file-server: use new base hash 2020-08-25 21:08:26 -07:00
Logan Allen
a4e21da3f0 hood: starts %graph-pull-hook and %graph-push-hook 2020-08-19 12:48:08 -07:00
Logan Allen
928e5f7362 graph-hooks: initial sketch 2020-08-19 12:22:20 -07:00
matildepark
669a55ecf3
Merge pull request #3307 from cmarcelo/json-for-chat-update-keys
chat: serialize %keys to JSON for chat update
2020-08-19 13:02:32 -04:00
Caio Marcelo de Oliveira Filho
92cf9d7c33 Merge branch 'master' into code-reset 2020-08-17 14:55:07 -07:00
Liam Fitzgerald
f658d99c76 pull-hook: no-op on double add
If we receive an %add poke for a resource we are already pulling, no-op
instead of crashing. This should prevent crashes upon repulling a
resource after a breach of the host.
2020-08-17 12:47:40 +10:00
Caio Marcelo de Oliveira Filho
04326ad04d chat: Refactor to use ?- in chat update JSON serialization 2020-08-13 01:11:12 -07:00
Caio Marcelo de Oliveira Filho
058ec8aa2c chat: serialize %keys to JSON for chat update 2020-08-13 01:10:24 -07:00
Liam Fitzgerald
531d53ddfc lib-hooks: address mark review 2020-08-05 13:55:12 +10:00
Liam Fitzgerald
cf84670fc8 file-server: do not cache index.html
Removes caching for index.html so JS versioning can occur by referencing
JS bundles with different filenames
2020-08-03 09:53:49 +10:00
Liam Fitzgerald
d91de5f276 lib-hooks: document with comments 2020-08-01 11:11:13 +10:00
Caio Marcelo de Oliveira Filho
df868e2c4f jael, eyre: Add a way to reset the web login code
Jael now stores a `step` that is combined with the original salt to
produce a new code.  A `%step` card is used to increment that value,
and effectively resetting the keys.  Because the first `step` is zero,
the first code is the same as before.

Eyre was changed to be notified with `%code-changed` so it can forget
old cookies, sessions and discard all the existing channels.

A new generator was added |code, that does both querying and
resetting the code

    |code             :: shows current code, step and help
    |code %reset      :: changes the code

The old +code generator still works correctly.
2020-07-31 11:35:48 -07:00
L
798f3b5de0
Merge pull request #3110 from urbit/la/graph-store
graph-store: a consistent, strongly validated, interoperable data storage format
2020-07-30 15:25:17 -07:00
Logan Allen
7fb50a3f97 graph-store: respond to phil's comments, request %next for clay, and compare +tear to hash 2020-07-30 14:43:40 -07:00
Logan Allen
7c3d608185 hood: update to %9 and start %graph-store 2020-07-28 12:24:55 -07:00
Logan Allen
043714752e hood: no longer start graph hooks for now 2020-07-28 12:21:30 -07:00
Logan Allen
325667f9ec Merge branch 'master' into la/graph-store 2020-07-27 12:10:22 -07:00
Philip Monk
39052bdec0
Merge pull request #3185 from urbit/philip/kiln
kiln: get germ for actual desk
2020-07-24 21:20:53 -07:00
Philip Monk
5490a3cb73
kiln: get germ for actual desk 2020-07-24 16:37:15 -07:00
Caio Marcelo de Oliveira Filho
47871d0f48 ota: show information instead of disable by default
Instead of `|ota` cancel the OTA, make it show the current setting.
Make the cancel need a more explicit argument.

   |ota                 shows the current setting
   |ota disable         disable OTA
   |ota ~sponsor %desk  reset to a different sponsor/desk

Because most of the time the expected desk is going to be %kids, use
that in the "help message".
2020-07-22 16:27:05 -07:00
Logan Allen
0a2e721d7f graph-store: move over to +sham from +mug 2020-07-22 13:32:47 -07:00
Liam Fitzgerald
24b25a3422 Merge remote-tracking branch 'origin/release/next-userspace' into lf/groups-refactor 2020-07-22 10:42:52 +00:00
Philip Monk
350756b47a
glob: autostart and make ota-able 2020-07-17 16:58:28 -07:00
Philip Monk
016719ca6b
glob: added app to distribute js outside clay 2020-07-15 12:26:55 -07:00
Liam Fitzgerald
51f6aabf7c push-hook: use store-name.config correctly 2020-07-14 09:51:39 +10:00
Liam Fitzgerald
64065d720c groups: refactor ota 2020-07-13 01:44:49 +00:00
Logan Allen
9da7ed9042 Merge branch 'lf/groups-refactor' into la/graph-store 2020-07-08 15:42:29 -04:00
Logan Allen
80d67c2f16 graph-view: delete for now 2020-07-08 15:39:20 -04:00
Logan Allen
d237fb9ad6 graph: get graph building and remove or-map library 2020-07-08 15:24:59 -04:00
Logan Allen
106119a9ba Merge branch 'la/ordered-map-subset' into la/graph-store 2020-07-08 15:17:55 -04:00
Logan Allen
64a30fea62 ordered-map: got %zuse to compile and all tests to pass 2020-07-08 15:07:14 -04:00
Liam Fitzgerald
c139332a55 various: cleanup unnecessary sigpams 2020-07-08 11:37:15 +10:00
Liam Fitzgerald
76bc3d82e1 Merge branch 'release/next-userspace' into lf/groups-refactor 2020-07-08 10:04:02 +10:00
Logan Allen
24e0d597ba or-map: added get arm and tested it 2020-07-07 19:19:47 -04:00
Logan Allen
d272da0f57 or-map: added get function based off of +find-ducts in behn 2020-07-07 19:19:47 -04:00
Logan Allen
7cdc12ff4c lib: or-map test library 2020-07-07 19:19:47 -04:00
Logan Allen
233b61199d graph: improved type naming 2020-07-07 17:53:18 -04:00
Logan Allen
39933ca848 graph: hooks compile and higher-order mark implementation first-pass 2020-07-06 19:31:57 -04:00
Logan Allen
a7cbecc0e2 Merge branch 'lf/groups-refactor' into la/graph-store 2020-07-06 15:02:20 -04:00
Philip Monk
37b9f854fd
eyre: give all args to generators
fixes #3082
2020-07-02 14:42:26 -07:00
Liam Fitzgerald
93cf40a604 Merge branch 'release/next-userspace' into lf/groups-refactor 2020-07-02 12:38:12 +10:00
Liam Fitzgerald
bd2fbc2f9c groups: address review comments 2020-07-02 12:20:23 +10:00
Liam Fitzgerald
26c610f8d2 interface: update store + api + subscriptions for new groups 2020-07-02 12:19:32 +10:00
Logan Allen
299b54baa1 graph-view: fix front-end 2020-07-01 12:40:33 -04:00
Philip Monk
ba9e894580
trouble: report source of OTA instead of parent 2020-06-30 16:10:12 -07:00
Logan Allen
ee5e80cf44 graph-store: enforce that only logged-updates may be sent via %run-updates, and enforce that they only affect the intended resource 2020-06-30 14:08:22 -04:00
Logan Allen
849556491c graph-store: updated action-log to update-log and added timestamp to +update 2020-06-29 21:14:55 -04:00
Philip Monk
40db8ea580
kiln: make otas continue even if they failed to apply 2020-06-29 13:25:10 -07:00
Philip Monk
42de999024
kiln: don't implicitly create syncs
Also silence some spurious errors.
2020-06-26 19:21:09 -07:00
Liam Fitzgerald
9b61c5571b Merge branch 'ford-fusion' into lf/groups-refactor 2020-06-27 10:42:16 +10:00
Logan Allen
e4110c4d77 graph-hooks: stubbed out resubscribe on kick case 2020-06-26 20:29:22 -04:00
Logan Allen
df982177e5 graph-hooks: added initial sketch 2020-06-26 17:13:12 -04:00
Logan Allen
e055ba98ae graph-store+view: added a variety of query types for subset fetching, individual post fetching, child fetching, etc 2020-06-26 14:38:11 -04:00
Liam Fitzgerald
846fe8c048 groups: convert JSON encodings to camelcase 2020-06-26 17:02:51 +10:00
Ted Blackman
26ff47b93d Merge remote-tracking branch 'origin/release/next-userspace' into ford-fusion 2020-06-25 22:24:30 -04:00
Philip Monk
51c6faaa31
ford,kiln: nicer errors 2020-06-24 21:24:58 -07:00
Logan Allen
f1b10f2a07 graph-store: sort graph with most recent at left of graph (gth) 2020-06-24 14:13:15 -04:00
Liam Fitzgerald
47352a06ba groups: finalize state adapters 2020-06-24 10:28:57 +10:00
Logan Allen
a245a1b095 graph-store: added archiving functionality 2020-06-23 14:01:04 -04:00
Logan Allen
e6e4e370d3 graph-store/view: move all signing out to %graph-view 2020-06-23 14:01:04 -04:00
Logan Allen
6766e1818d graph-js: recursive js reducer 2020-06-23 14:01:04 -04:00
Logan Allen
7cb9ac4b62 graph-store: made lib add-graph and add-nodes consistent 2020-06-23 14:01:04 -04:00
Logan Allen
8d5fb16685 graph-view: working json parsing for fetches 2020-06-23 14:01:04 -04:00
Logan Allen
59a4c52232 graph-view: first sketch 2020-06-23 14:01:03 -04:00
Logan Allen
07cf374462 graph-store: all json encoders/decoders work 2020-06-23 14:00:15 -04:00
Logan Allen
6493c75463 wip: all JSON decoders but %add-graph work 2020-06-23 14:00:15 -04:00
Logan Allen
37f332dcb6 or-map: fix specific assertion that should have been general 2020-06-23 14:00:15 -04:00
Logan Allen
b0fa0668b3 wip: json decoding 2020-06-23 14:00:15 -04:00
Logan Allen
877138a464 graph-store: stubbed out a currently non-compiling json decoding 2020-06-23 14:00:15 -04:00
Logan Allen
31a6ec5d1c graph-store: finished json encoding 2020-06-23 14:00:15 -04:00
Logan Allen
81deb6247f graph-store: stubbed out json encoding 2020-06-23 14:00:15 -04:00
Logan Allen
c9ccbdabef graph-store: added action generators 2020-06-23 14:00:15 -04:00
Logan Allen
d44e7eb9ca graph-store: first pass at signing, hashing, and verifying nodes 2020-06-23 14:00:15 -04:00
Logan Allen
f8d860c0ef graph-store: added %add-signatures, action-log, stubbed signature verification 2020-06-23 14:00:15 -04:00
Logan Allen
8c2d9127f3 graph-store: add-nodes compiles 2020-06-23 14:00:15 -04:00
Logan Allen
e52779a356 graph-store: first pass at writing %add-nodes poke 2020-06-23 14:00:15 -04:00
Liam Fitzgerald
8cf81002ec Merge branch 'ford-fusion' into lf/groups-refactor 2020-06-23 12:13:03 +10:00
Matilde Park
5ad03868b2 Merge branch 'master' into release/next-userspace 2020-06-22 10:24:34 -04:00
Philip Monk
6ff9f75bb7
Merge remote-tracking branch 'origin/master' into ford-fusion 2020-06-19 14:52:18 -07:00
Ted Blackman
f2ee0a1380 drum: fix +on-load resubscribes 2020-06-18 00:58:47 -04:00
Ted Blackman
3914c0c0dd ota: works on my machine 2020-06-17 23:31:37 -04:00
Logan Allen
08e1abb139 hood + apps: fix OTA process for feat/SPA 2020-06-17 15:51:13 -04:00
Logan Allen
eaf523e3c2 hood: add version %6 for %file-server upgrade 2020-06-17 14:27:30 -04:00
Ted Blackman
d395c2711d hood: WIP compiles but +on-load crashes 2020-06-17 03:54:27 -04:00
Ted Blackman
ac77d0a3ec hood: uncompiled first try at state as tuple 2020-06-17 02:36:09 -04:00
Fang
c9db959c2d
Merge pull request #3018 from urbit/m/softer-tab
shoe: print tab options less eagerly
2020-06-16 14:57:43 +02:00
Ted Blackman
01eee03340 kiln: WIP state as tuple 2020-06-16 03:29:17 -04:00
Liam Fitzgerald
d5466ff31a groups: fix remaining bugs in new implementation 2020-06-15 18:09:03 +10:00
Liam Fitzgerald
9123cabed7 chat: fix remaining issues with new groups 2020-06-15 18:07:21 +10:00
Fang
d4b4fe67f3
shoe: print tab options less eagerly
Turns out that having these pop up on every tab-press is really annoying,
and you usually only want them when it didn't manage to autocomplete anything.
2020-06-14 23:36:03 +02:00
Fang
8f8ec8bcc5
language-server: parse commands permissively
Parses commands as arbitrary strings, instead of strictly symbols.
2020-06-14 18:48:27 +02:00
Liam Fitzgerald
ef20a4d08a Merge branch 'feat/spa' into lf/groups-refactor 2020-06-10 14:41:17 +10:00
Philip Monk
11fa48f57b
kiln: ota logic compiles 2020-06-09 16:21:30 -07:00
Liam Fitzgerald
900da34fa9 drum: add %file-server to boot priority
File server needs to be started with priority in order to ensure the
-view apps can poke it, regardless of set ordering.
2020-06-09 13:02:24 +10:00
Liam Fitzgerald
d66dbff61e groups: migrate to push-pull hooks and resources 2020-06-08 17:53:16 +10:00
Fang
f720c346e6
shoe: respect insta-run flag when false 2020-06-07 18:06:46 +02:00
Fang
61de7d5603
shoe: provide usable default for +tab-list
It hadn't been updated to account for the sole-id argument.
2020-06-07 15:39:03 +02:00
Fang
8341d99ce0
shoe: optionally auto-run commands on entry
The +command-parser must now produce both a flag and a command noun.
If the flag is true, instantly runs the command from the noun.
If false, maintains standard behavior and only runs it on-return.
2020-06-06 19:10:08 +02:00
Matilde Park
9440392777 drum: remove 'invite-view' 2020-06-04 17:48:48 -04:00
Logan Allen
7fc2d39029 chat: fix %initial response and metadata reducer 2020-06-04 17:24:28 -04:00
Philip Monk
8b78f04dd3
Merge remote-tracking branch 'origin/master' into ford-fusion 2020-06-02 21:50:20 -07:00
Liam Fitzgerald
f392e861ee groups: add prototype state adapters and cleanup 2020-06-03 12:21:00 +10:00
Fang
30924609e0
Merge pull request #2882 from urbit/lf/links-refactors
links: namespace types
2020-06-02 17:16:37 +02:00
Liam Fitzgerald
9b36beeb7a groups: cleanup rebase artifacts 2020-06-02 16:25:36 +10:00
Liam Fitzgerald
2bafd3eb57 groups: fix race condition in joining flow
Attempting to sync a group that a ship is not in causes the subscription
to fail. Because the %add-members action and the sync used to be sent in
one invocation, ames does not guaranteed the order of these remote
actions and so we wait for the %add-members poke to be acked before
adding the group and associated resources.
2020-06-02 15:28:34 +10:00