Commit Graph

904 Commits

Author SHA1 Message Date
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
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
fc15f0d735
Merge branch 'pr' into HEAD 2020-10-22 20:47:53 -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
6dae330bb6 metadata: add arms to helper core 2020-10-22 11:29:35 +10:00
Logan Allen
44f1ed6d03 invite-json: first pass 2020-10-20 17:27:44 -05: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
Philip Monk
77b33632a6
Merge remote-tracking branch 'origin/master' into release/next-sys 2020-10-14 19:26:33 -07:00
Liam Fitzgerald
4551e16976 Merge branch 'release/next-userspace' into lf/graph-publish-fe 2020-10-13 14:51:14 +10:00
Fang
7242947f95
helm: add cors registry management generators 2020-10-05 23:42:59 +02:00
Liam Fitzgerald
ef7bb37f8f Merge branch 'release/next-userspace' into lf/graph-publish-fe 2020-10-01 09:43:34 +10:00
Fang
369193f50a
helm: add cors registry management generators 2020-09-30 15:54:25 +02:00
fang
7977dcfec0
shoe: don't auto-run discontinuous inputs
Previously, up-arrowing into (or otherwise retrieving) a command from history
that automatically runs on-input would directly run the command again,
preventing the user from up-arrowing past the auto-run command into further
history.

With this change, shoe detects discontinuous inputs (sole's `%set` edit), and
refuses to auto-run the parsed command in those cases.
2020-09-26 02:08:35 +02:00
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
Liam Fitzgerald
361c1203ef pull-hook: add /synced scry 2020-09-01 15:11:48 +10: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
Liam Fitzgerald
5016e84c0a groups: namespace tags 2020-06-02 15:24:08 +10:00
Liam Fitzgerald
e2aa8af220 groups: add .hidden flag on group 2020-06-02 15:24:08 +10:00
Liam Fitzgerald
b5d9fcf390 groups: use rank:title for %open policy 2020-06-02 15:24:08 +10:00
Liam Fitzgerald
8a2e325fe0 publish: update to new groups 2020-06-02 15:22:43 +10:00
Liam Fitzgerald
e4d51ef327 links: update to new groups 2020-06-02 15:21:06 +10:00
Liam Fitzgerald
841ba72bd9 chat: update to new groups 2020-06-02 15:20:14 +10:00
Liam Fitzgerald
f60181871a groups: finish rewrite 2020-06-02 15:11:02 +10:00
Liam Fitzgerald
d2de8d72eb groups: begin rewrite 2020-06-02 15:07:09 +10:00
Liam Fitzgerald
aa033708bf links: cleanup debugging artifacts 2020-06-02 14:36:56 +10:00
Logan Allen
b863dca773 apps: more merge fixes for chat and publish 2020-06-01 14:17:14 -04:00
Logan Allen
9b5c93d2f1 file-server: renamed to file-server 2020-06-01 14:02:12 -04:00
Logan Allen
f13b174f16 landscape: renamed to http-server-store, finished subscribable configuration 2020-06-01 14:01:38 -04:00
Isaac Visintainer
7b0a587c4a landscape: don't special case os1 app paths 2020-06-01 14:00:47 -04:00
Isaac Visintainer
ae58a62fad landscape: added static serving to landscape.hoon 2020-06-01 14:00:47 -04:00
Logan Allen
deb7c3445b apps: finish mark and http cleanup 2020-06-01 14:00:46 -04:00
Logan Allen
4550bc6dc1 apps: updated apps to use consistent %initial update 2020-06-01 14:00:46 -04:00
Logan Allen
34fc7b7f30 launch: fixed mark conversions and added files 2020-06-01 13:57:06 -04:00
Logan Allen
0c2b770411 launch: added json marks 2020-06-01 13:57:06 -04:00
Logan Allen
d727b95770 hood: start landscape app automatically and upon OTA 2020-06-01 13:57:04 -04:00
Logan Allen
4fa2378e67 apps: stop serving webpages from all apps except publish 2020-06-01 13:55:04 -04:00
Philip Monk
0642cc5861
ames: add |ames-wake
Somehow we ended up with flows which expected to awaken but did not wake
up.  This was likely caused by the error in r920j OTA, urbit-os-v1.0.18.

This adds a command which ensures that every flow has an active timer.
I expect this to be needed only once, but it's a pretty general tool, so
it's worth keeping.

I've included an unused @t parameter to more easily add simple debug
commands to ames without having to add a new task
2020-05-28 10:28:31 -07:00
John Franklin
510fb6b394 hoon: bat/net to bas/fas 2020-05-28 06:58:18 -05:00
John Franklin
250f4e3130 hoon: lac/rac to sel/ser 2020-05-28 06:14:23 -05:00
John Franklin
413c5682b6 hoon: lit/rit to pal/par 2020-05-28 05:31:50 -05:00
John Franklin
fdb03c1f7d hoon: led/ban to gal/gar 2020-05-28 04:46:13 -05:00
John Franklin
51bd4a95f8 hoon: say to soq 2020-05-28 03:17:41 -05:00
John Franklin
bc46e26a5d hoon: pad to pam 2020-05-28 02:06:00 -05:00
John Franklin
1d8624cd74 hoon: bus to buc 2020-05-28 00:50:45 -05:00
Fang
049cacfa51
Merge pull request #2932 from urbit/m/shoe
shoe: console application library
2020-05-27 00:39:27 +02:00
Fang
127355c381
shoe: simplify default +can-connect
This belongs in /app/shoe (and indeed already is there).
2020-05-26 23:14:51 +02:00
Fang
509fec7f7c
shoe: improve +on-load logic
Turns out that if we use a tag we can just check the value without
needing vase operations.
2020-05-26 23:10:54 +02:00
Fang
36b7fc2e4f
Merge branch 'release/next-sys' into m/debug-dashboard 2020-05-26 20:36:27 +02:00
Fang
f103c65051
shoe: console application library
Deals with sole events, deferring to the underlying app only for higher-
level sole-handling logic.

Currently doesn't offer fancy printing logic, but can easily be extended
to do so.

Passes sole-ids on to the underlying app in all arms so that it may run
session-specific logic wherever it desires.
2020-05-24 17:57:18 +02:00
Fang
2fddfea082
sole: include details in stack trace 2020-05-24 17:57:09 +02:00
Fang
1238047b48
Merge branch 'master' into release/next-sys 2020-05-24 17:51:48 +02:00
Fang
58e85fa661
Merge branch 'release/next-sys' into m/debug-dashboard 2020-05-23 01:00:45 +02:00
Philip Monk
a4a44f1e21
kiln: cleanup 2020-05-22 14:32:32 -07:00
Philip Monk
096149713a
drum: relink to chat-cli
The subscription changes in drum broke existing subscriptions.  This
worked alright (though loud) for dojo, but it left chat-cli "frozen"
unless you manually unlinked/relinked.  This does that automatically.

It also includes a refactoring of +on-load in drum, to avoid vain
repetition.
2020-05-22 00:17:56 -07:00
Philip Monk
4aff4d74e2
kiln: get updates into %home, remove %base
We need to get updates directly into %home in case the marks depend on
changes to hoon.hoon.  %base has no reason to exist.

Our ota strategy is now to merge from parent/kids to home, then
parent/kids to kids.
2020-05-21 23:45:17 -07:00
Philip Monk
4fcd9f23c0
Merge branch 'release/behn-fast' (#2915)
* release/behn-fast:
  zuse: add +ordered-map
  behn: switch to ordered-map
  chat: virtualize message-to-json conversion
2020-05-21 22:43:53 -07:00
Philip Monk
a84b0db733
clay: fix clobbering changes if identical changes 2020-05-21 01:23:04 -07:00
Fang
973cb62d6c
Merge branch 'release/next-userspace' into m/smaller-safer-json 2020-05-20 17:29:12 +02:00
Ted Blackman
1028e9fd7c hoon,kiln: clean up boot prints; new pill 2020-05-20 04:36:16 -04:00
matildepark
91cf06b542
Merge pull request #2814 from urbit/lf/chat-type-namespacing
chat: improve namespacing of chat-* types
2020-05-19 19:54:22 -04:00
Ted Blackman
d6b2b961bc /lib/strandio: +trace monadic logger 2020-05-15 03:58:36 -04:00
Philip Monk
a874ab4355
zuse: remove +ford 2020-05-14 00:22:39 -07:00
Philip Monk
e95f34a325
write: convert to fusion 2020-05-13 23:42:44 -07:00
Philip Monk
2c2e16df7a
language-server: convert to fusion 2020-05-13 23:30:52 -07:00
Philip Monk
fd26b2184e
kiln: convert to fusion 2020-05-13 20:13:53 -07:00
Philip Monk
c092f9cea4
hood: remove references to ford 2020-05-13 19:29:20 -07:00
Ted Blackman
2ce063f409 ford: delete, update /lib/pill 2020-05-13 21:10:35 -04:00
Ted Blackman
778f6e9d05 /sys: make hoon optional in %lyra 2020-05-13 18:27:14 -04:00
Fang
3a8544583c
chat: virtualize message-to-json only where needed
Previously we were virtualizing all message rendering operations, but it's only
+tank:enjs:format that we're worried about here.

Doing this more narrowly also allows us to specify a slightly more specific
error message.
2020-05-11 16:56:40 +02:00
Liam Fitzgerald
782135fc97 publish: abide by namespacing conventions 2020-05-09 11:26:25 +10:00
Fang
7152cb74a9
chat: virtualize message-to-json conversion
Bad `@t` text might crash and fully halt the json conversion, preventing any
data from being delivered to the frontend.

Fixes #2878.
2020-05-08 19:50:31 +02:00
Liam Fitzgerald
edfcb389db links: namespace store types and lib 2020-05-08 15:33:04 +10:00
Liam Fitzgerald
bf965a26ea links: rename files to namespacing convention 2020-05-08 14:27:37 +10:00
Ted Blackman
ea2386b36c clay: stop the %drip 2020-05-07 23:58:03 -04:00
Fang
ac494a265e
verb: allow subscribing to events
This excludes, necessarily, events that don't let us emit moves.
(+on-save, +on-peek)
2020-05-08 01:46:29 +02:00
Fang
4a6329eb09
dbug: add scry endpoints
Allow scrying out of state and subscriptions for apps that use /lib/dbug
2020-05-08 01:42:29 +02:00
Liam Fitzgerald
d7d07b014b chat-store: remove redundant tiscom 2020-05-07 10:56:24 +10:00
Liam Fitzgerald
cf8e8f8dc4 Merge branch 'master' into lf/chat-type-namespacing 2020-05-07 10:39:11 +10:00
lukechampine
9f45acc17b drum: switch to per-ship /sole/drum duct 2020-05-06 18:54:54 -04:00
Liam Fitzgerald
54969afdd2 drum: fix broken app start
If we find an agent that has already been launched then we continue
iterating through the list of apps instead of stopping

Fixes: #2858
2020-05-06 09:45:17 +10:00
Matilde Park
3c06c15505 Merge branch 'lf/hood-boot-order' (#2805)
* origin/lf/hood-boot-order:
  drum: partially restore reverted changes
  Revert "drum: address review comments"
  chat-cli: remove unnecessary %gu scry
  link-proxy-hook: remove unnecessary %gu scry
  drum: address review comments
  drum: sort cli connections
  drum: account for app dependencies on boot

Signed-off-by: Matilde Park <matilde@tlon.io>
2020-05-04 20:41:10 -04:00
Liam Fitzgerald
1faf35928c chat: fix indenting 2020-05-01 14:11:49 +10:00
Liam Fitzgerald
c62140e4d6 chat: use ^? on libs correctly 2020-04-30 13:29:06 +10:00
Philip Monk
65766a73e2
clay: port -merge to fusion 2020-04-29 17:38:24 -07:00
Liam Fitzgerald
d7a5499b9a chat: expose types with libs 2020-04-30 09:04:29 +10:00
Liam Fitzgerald
531efa82a9 chat: address review comments 2020-04-29 18:45:07 +10:00
Liam Fitzgerald
5dc241dbe5 drum: partially restore reverted changes 2020-04-29 08:40:38 +10:00
Liam Fitzgerald
e099f3a8c6 Revert "drum: address review comments"
This reverts commit c925665cb8.
2020-04-29 08:25:21 +10:00
Liam Fitzgerald
c925665cb8 drum: address review comments 2020-04-28 12:20:59 +10:00
Liam Fitzgerald
5f4fc28bc9 chat: improve namespacing of chat-* types
Improved the namespacing by dropping the app prefix on types, e.g.
chat-hook-action -> action. Compensated for shadowing by importing the
/sur files behind a face. End result is that a chat-hook-action becomes
an action:hook. Splits chat-json into lib/chat-{hook,store,view}. Uses
^? on changes files in /lib and /sur to discourage deeply nested
importing.
2020-04-28 12:01:13 +10:00
Logan Allen
003c4676b1 hood: added version %4 of hood state 2020-04-27 18:28:31 -04:00
Logan Allen
28c707b300 hood: updated drum to version %3 2020-04-27 15:12:51 -04:00
Philip Monk
dca81a2ee2
clay: prepare for kernel updates 2020-04-24 17:44:29 -07:00
Liam Fitzgerald
37cd90a42b drum: sort cli connections
Sorts cli connections so that the user always boots into %dojo
regardless of their @p

Fixes: #2248
2020-04-25 07:21:41 +10:00
Liam Fitzgerald
2e3947e3c0 drum: account for app dependencies on boot
Changes drum's boot order to be deterministic regardless of the ship
you're on.

Fixes #2681
2020-04-25 07:20:42 +10:00
Logan Allen
285f0bd5e3 s3: integrated with store and reducers 2020-04-24 12:19:01 -04:00
Logan Allen
bec650957c s3: added configuration settings for setting current bucket and adding / removing buckets from list 2020-04-24 12:19:01 -04:00
Logan Allen
ab3a759ce2 s3-store: poke functionality, updated credentials, added generators 2020-04-24 12:19:01 -04:00
Logan Allen
daf32fd0f9 s3-store: initial commit 2020-04-24 12:19:01 -04:00
Philip Monk
e7bf9cc190
ph: fix now that ford builds are often dripped 2020-04-23 19:07:33 -07:00
Logan
c36c5a9bd3
Merge branch 'master' into os1-avatar 2020-04-22 11:42:33 -04:00
Jared Tobin
5b9887ca19
Merge branch 'la-contact-delete-fix' (#2738)
* origin/la-contact-delete-fix:
  t groups + contacts: make removes completely clean up state
  contact-js: made channel handle onChannelError
  contact-hook: tested it, got /synced path working, and subscriptions loading
  contacts: fix group deletion and do some quality of life fixes

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-22 14:04:19 +04:00
Logan Allen
f6a2f7f83c contact: finish %octt implementation 2020-04-21 19:59:03 -04:00
Ted Blackman
9b0cb85a02 gall: clean up API, remove empty caches from state. 2020-04-21 18:50:47 -04:00
Logan Allen
2f7e8fd811 contacts: added "url" avatar support and finished "octet" avatar
fetching support
2020-04-21 15:29:47 -04:00
Ted Blackman
ddc5b9e3f6 kiln: fix |goad-gall 2020-04-20 22:55:40 -04:00
Ted Blackman
f3544067af -test: full path syntax 2020-04-20 01:33:29 -04:00
Ted Blackman
4bf854c180 WIP :spider2 using ford-fusion 2020-04-19 05:11:01 -04:00
Ted Blackman
a705954b08 -test, -build-file, -build-mark, -build-cast 2020-04-18 04:21:15 -04:00
Ted Blackman
f36dc49ede -build-file, -build-mark, -build-cast 2020-04-17 22:50:03 -04:00
Ted Blackman
241a7165d4 test: remove redundant helpers 2020-04-16 09:40:59 -04:00
Ted Blackman
b285ebe407 test: +expect-yes, +expect-crash 2020-04-16 09:08:03 -04:00
Fang
d1feabd1fb
dbug: print result with priority
To give it some color, making it less easy to miss.
2020-04-15 23:50:53 +02:00
Fang
e2034eca19
dbug: avoid printing nothing at all
Previously, if filtering subscriptions turned up no results, nothing was
printed. With this change, we explicitly print "no matching subscriptions"
instead.
2020-04-15 22:28:59 +02:00
Logan Allen
bfcaf6468e contact-hook: tested it, got /synced path working, and subscriptions loading 2020-04-14 18:05:32 -04:00
Isaac Visintainer
f9e17e61a2 publish: update state with limbo field 2020-04-12 23:21:42 -07:00
Philip Monk
17fa15336f
clay: fix %init for -merge 2020-04-10 20:42:56 -07:00
Isaac Visintainer
2ad8264c52 Merge branch 'philip/gall-clear' 2020-04-02 15:32:43 -07:00
Liam Fitzgerald
ed7f8be424 dojo: add autocomplete for various dojo syntaxes
Adds autocomplete for
- :app poke syntax
- :app|gen poke generator syntax
- +gen naked generator syntax
- =var variable syntax
2020-04-01 11:28:27 +10:00
Fang
87e61da99a
lib: !. on dbug and verb wrapper agent cores
Events always pass through these, adding to the stack trace on-crash.
This information is practically never useful, however. Adding !. leaves
these cores out of the traces.
2020-03-28 13:26:56 +01:00
Philip Monk
3f2a7b08a5
clay: add -merge except meet/mate/meld
-merge will replace |merge so that.  Once they reach feature parity and
%info is rewritten to forward to -commit, we can rip out about half of
clay.hoon
2020-03-25 20:54:19 -07:00
Logan Allen
39500f2036 server: add basic cache-control for faster load speeds 2020-03-25 01:02:27 -04:00
ixv
c94ba12c08
Merge pull request #2595 from urbit/philip/clay-cancel-all
clay: add option to skip queue
2020-03-24 15:03:25 -07:00
Fang
2186dd8050
dbug: print %state's value, not whole vase 2020-03-24 22:12:28 +01:00
Philip Monk
1599937c81
clay: add option to skip queue
Makes it so that |cancel %force skips the next thing in the queue if
you're not in the middle of something.  If you are in the middle of
something, it skips the thing you're in the middle of (just like naked
|cancel).

This should resolve issues where |cancel doesn't drain the queue.
2020-03-23 15:53:18 -07:00
Fang
c0f93c7306
dbug: allow easily printing all subs
We had no easy way to print all %incoming or %outgoing subscriptions.
Now, passing ~ instead of [%ship ~zod] or similar, will match all.
2020-03-21 18:32:39 +01:00
Fang
50f7dc85fa
dbug: cleaner subscription printing
Previously, the pretty-printing for %incoming and %outgoing results was hanging
on to and displaying irrelevant type information: "_list_ of subscriptions",
"wire with _head and tail_", and so on.

Here, we move to producing tangs, instead of vases, and print those. For the
%incoming and %outgoing cases, we print a line for every subscription, sorting
them by path and wire respectively, and giving clean, easily readable output.
2020-03-21 18:29:33 +01:00
Philip Monk
531630e93a
clay: add %park task and -commit
%park is a plumbing commit task.  It guarantees completion in a single
event, so you have to do much of the work before calling it.  -commit
is an example of how to do this.
2020-03-20 21:30:56 -07:00
Philip Monk
6b7a791054
clay: initial version of +up 2020-03-20 15:30:24 -07:00
Philip Monk
cf9ef764f1
gall: remove pending messages from breached ship
When a ship breaches, we remove all messages that have yet to be
delivered to an app (eg if it's not yet started).  We also add
|gall-sear to do this manually, but this shouldn't be needed in normal
operation.

Finally, to unblock ~zod and ~bus on mainnet, we sear one particular
ship automatically on loading hood.  It cannot be done manually because
no userpace changes can be made until it's unblocked.
2020-03-18 21:05:06 -07:00
Fang
54eece11af
chat-view: allow %groupify into existing group
Will add the chat to an existing group, optionally adding chat members
who aren't part of the group yet to the group.
2020-03-18 21:54:28 +01:00
Fang
4b5a02fac8
Merge pull request #2480 from urbit/m/chat-groupify
chat: groupify
2020-03-16 18:37:29 +01:00
Jared Tobin
c0cc4a1db8
Revert "Merge branch 'liam-fitzgerald/hoon-spot' (#2247)"
This reverts commit 046506f9d4, reversing
changes made to 6ef08962ef.

I'm reverting this as we're moving to a new branch/release model in
which breaching changes (as this one is) will live on a long-running
'next' branch, rather than alongside non-breaching changes in master.

This revert should itself be reverted on the 'next' branch.
2020-03-16 10:51:00 +04:00
Fang
9793dccef0
chat-view: support %groupify
This upgrades an existing, unmanaged village chat into a full-fledged
group plus chat.
2020-03-13 18:15:34 +01:00
Fang
9a6bde765b
dbug: allow complex, hoon-based state queries
+dbug [%state 'some-hoon'] now allows you to run some-hoon against the
application's state. That hoon has access to the bowl and stdlib for
more dbugging convenience.
2020-03-12 16:40:35 +01:00
Logan Allen
64938e24e9 chat-hook: added ability to subscribe to chat-hook state from the frontend 2020-03-11 16:44:15 -07:00
Jared Tobin
6ccc843165
Merge branch 'arvo-errors' (#2366)
* origin/arvo-errors: (35 commits)
  pill: all
  vane: jet-hints all vanes for profiling
  arvo: refines crash printfs
  arvo: fix wire (and adapt old) for %vega reset notification
  arvo: removes all vase literals from |va
  arvo: removes all traces of meta-meta card reduction
  arvo: cleanup per review
  arvo: removes vestigial |is core
  arvo: remove refactoring comments
  arvo: replace $milt with $meta
  arvo: replace $mill with $maze
  worker: sends new error-notification events
  arvo: removes %gave, generalizes %hurl
  vane: prints error notifications where not handled
  behn: forward %drip error notifications, refactor %crud handling
  ames: downcast %hear error notification to %hole
  vane: downcast all error notifications to %crud
  arvo: removes (commented out) legacy event routing
  test: updates vane calling convention
  dill: "downcast" +call error notification to %crud
  ...

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-06 13:45:33 +04:00
ixv
5b21dbce25
Merge pull request #2402 from urbit/ota-meta-hook
drum: start metadata-hook on OTA
2020-03-05 20:34:39 -08:00
Isaac Visintainer
21e44f6c5d Merge branch 'ota-meta-hook' (#2402)
* ota-meta-hook:
  drum: start metadata-hook on OTA

Signed-off-by: Isaac Visintainer <isaac.visintainer@gmail.com>
2020-03-05 20:33:18 -08:00
Logan Allen
2ce60e9f0d drum: start metadata-hook on OTA 2020-03-05 15:50:18 -08:00
Logan Allen
b8987f6988 drum: start metadata-hook on OTA 2020-03-05 15:20:44 -08:00
ixv
3c039bce39
Merge pull request #2378 from urbit/m/link-meta
link: metadata integration
2020-03-05 15:09:59 -08:00
Joe Bryan
67cef638c4 Merge branch 'master' into arvo-errors
* master: (484 commits)
  king: Slight CLI cleanup and fix test build.
  king: Add command-line flags to configure HTTP and HTTPS ports.
  groups: reduce metadata updates, removal
  chat: reducer handles metadata removal
  groups: exclude group metadata from channels list
  groups: set and surface group name metadata
  groups: remove dummy 'share' flow, 'default' group
  contacts: rename, migrate '~contacts' to '~groups'
  sh/release: rename vere release tarballs
  vere: patch version bump (v0.10.3 -> v0.10.4.rc1) [ci skip]
  pills: updated brass and solid
  chat: pull room contacts from associated group
  chat: spell 'permanent' correctly
  eyre: remove padding from 'access' input
  chat: only delete metadata for a chat if you created it
  chat: settings inputs add borders on focus
  vere: disables gc on |mass in the daemon process
  chat: remove console.log from metadataAction
  chat: style fixes during review, use metadata-hook
  chat: edit description, color settings
  ...
2020-03-05 11:56:49 -08:00
Fang
353f61cdd3
link: avoid duplicate entries when merging lists
Otherwise we might store entries we had already heard previously.
2020-03-04 21:22:04 +01:00
Fang
396d13ee1a
Merge branch 'os1-rc' of https://github.com/urbit/urbit into m/link-meta 2020-03-04 18:55:29 +01:00
Jared Tobin
a1d489d977
Merge branch 'os1-rc' (#2365)
* origin/os1-rc: (439 commits)
  pills: updated brass and solid
  chat: pull room contacts from associated group
  chat: spell 'permanent' correctly
  eyre: remove padding from 'access' input
  chat: only delete metadata for a chat if you created it
  chat: settings inputs add borders on focus
  chat: remove console.log from metadataAction
  chat: style fixes during review, use metadata-hook
  chat: edit description, color settings
  chat: add update-metadata to metadata reducer
  chat: revise api.js to match data structures
  metadata-json: add json to action parsers
  chat: construct settings page for metadata
  chat: correct bottom border on join links
  chat: copy shortcodes
  chat: linkify unmanaged chats
  metadata-hook: support group members other than host creating shared resources
  contacts: add bg-gray0 to root page
  chat + contact views: updated for style and to assert that group-path must be equal to app-path if there are ships in the members set
  contacts: changed color + copy of "add to group" button
  ...
2020-03-04 15:48:05 +04:00
Matilde Park
15b5395f3c metadata-json: add json to action parsers 2020-03-02 22:30:32 -05:00