Commit Graph

1381 Commits

Author SHA1 Message Date
Fang
c8059c455d
static gall: update permission-group-hook
Also stealth-fixes a bug where it was prepending %group to paths one
too many times.
2019-11-21 21:24:59 +01:00
Fang
383d0a3e9f
static gall: update permission-hook 2019-11-21 21:14:58 +01:00
Fang
fd8313360e
permission-store: minor cleanup 2019-11-21 19:05:03 +01:00
Fang
717ce5a2b3
static gall: update invite-view 2019-11-21 19:04:33 +01:00
Fang
4f35e2d21a
static gall: update invite-hook 2019-11-21 19:04:03 +01:00
Fang
78e819fc17
chat-cli: make compatible with sole changes
Still supports only drum's session though.
2019-11-21 19:03:41 +01:00
Fang
8c948725b1
chat-cli: forward-port #1941 2019-11-21 19:03:25 +01:00
Jared Tobin
7fb918df53
zuse: fix outdated docs on vanes [ci skip]
The documentation on vanes in the header of zuse.hoon hadn't been
updated since before the introduction of %iris.
2019-11-21 16:52:59 +08:00
Isaac Visintainer
08907b778f static gall: convert launch 2019-11-20 15:39:46 -08:00
Isaac Visintainer
540e5623a0 static gall: convert invite-store 2019-11-20 15:38:32 -08:00
Isaac Visintainer
f6c8c11db8 static gall: convert group-hook 2019-11-20 15:37:43 -08:00
Isaac Visintainer
903e2e2556 static gall: convert group-store 2019-11-20 15:18:45 -08:00
Isaac Visintainer
295f2b3a46 static gall: convert permission-store 2019-11-20 15:16:55 -08:00
Philip Monk
cc5ac2a000
vere: send http completion even if no data
It's common now for the last http response to have no body and just mark
the request as complete.  http.c wasn't closing these connections
because h20 was busy and when it indicated it was ready we only checked
whether there was more data to send.

This also checks whether the request has been marked complete, and if so
finished the connection.
2019-11-20 14:47:06 -08:00
Philip Monk
9f89c8b8bc
drum: fully unlink 2019-11-20 14:26:13 -08:00
Philip Monk
b8903e9a6f
gall: fix ap-kill-down
This broke when %kick was handled by resubscribing on your own ship
because it processed the %kick before the %leave.  For example, `@t`404
at the dojo would put the dojo in an unworkable state.

You want the %leave to be processed first because you can't do a
"resubscribe" in response to that.
2019-11-20 13:24:19 -08:00
Philip Monk
1d1119c1f3
drum: unsubscribe on poke-ack failure 2019-11-20 12:12:33 -08:00
Matilde Park
a33fffa6ce soto: mounts at ~dojo
Since Soto is the name of the relay, its location in Landscape should be
the application it relays to: Dojo. This commit amends the mount paths
and source paths accordingly.
2019-11-20 09:41:28 -05:00
Ted Blackman
39144ee977 drum: fix nest-fail 2019-11-20 01:45:44 -05:00
Ted Blackman
7eeea1f25b drum: add %spider to default apps 2019-11-20 01:36:36 -05:00
Jared Tobin
5258579ee2
Merge branch 'matilde/soto' (#1952)
* origin/matilde/soto:
  soto: style changes
  interface: add soto source code
  drum: Boot with %soto
  arvo: adds soto application
  mar/sole: add %tab conversion

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-20 13:15:42 +08:00
Ted Blackman
5770c6fe1c switch to ropsten and update pills 2019-11-19 23:52:28 -05:00
Philip Monk
d094a7052d
alef: fix tests 2019-11-19 14:45:41 -08:00
Philip Monk
2222237385
ph: add alef tests 2019-11-19 14:10:00 -08:00
Philip Monk
1d07c82e7c
ph: fix ames 2019-11-19 13:40:05 -08:00
Philip Monk
a5412f01de
Merge branch 'alef-testnet-merge' into philip/mall-real 2019-11-19 13:03:07 -08:00
Philip Monk
1c398594c7
gall: fix tests 2019-11-18 21:08:10 -08:00
Philip Monk
6a406e6b29
gall: mall -> gall 2019-11-18 20:36:21 -08:00
Philip Monk
9862dccc0e
mall: age -> app 2019-11-18 19:28:59 -08:00
Jared Tobin
abd13c47c1
Merge branch 'pkova/master' (#1966)
* pkova/master:
  hoon: refactor royl float parsers to separate arms

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-19 11:08:31 +08:00
Jared Tobin
59122b1c2b
Revert "hoon: refactor royl float parsers to separate arms"
This reverts commit ff06e45875, which
should have been replaced with an updated commit.
2019-11-19 11:07:26 +08:00
Jared Tobin
a269d81b4c
Merge branch 'publish-subscribe' (#1967)
* publish-subscribe:
  publish: add subscribe generator

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-19 10:49:54 +08:00
Jared Tobin
2d7fbc9c19
Merge branch 'pkova/master' (#1966)
* pkova/master:
  hoon: refactor royl float parsers to separate arms

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-19 10:49:02 +08:00
Jared Tobin
053c784de6
Merge branch 'chat-history' (#1948)
* chat-history:
  chat: added temporary chat-two-update mark with new %messages type
  chat: oust correctness fix and js style fix
  chat-store: factored out functions used in both message and messages
  chat: style fixes
  chat: fixes to cli parser and increased page size in hook
  chat-js: updated to support %messages events
  sur: added rw-security to replace chat-security
  chat: add history functionality. optionally request backlog.

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-19 10:47:40 +08:00
pkova
8836a3d2fc hoon: refactor royl float parsers to separate arms
Immediately useful for implemeting json `@rd` parsing, which is basically
`++royl-rd` minus pfix sig. The increased separation also allows for running
stuff like `(rash '3.22e-47' royl-rn:so)` from the dojo.
2019-11-19 00:56:06 +02:00
Fang
936202abe2
publish: add subscribe generator 2019-11-18 02:44:56 +01:00
pkova
ff06e45875 hoon: refactor royl float parsers to separate arms
Immediately useful for implemeting json `@rd` parsing, which is basically
`++royl-rd` minus pfix sig. The increased separation also allows for running
stuff like `(rash '3.22e-47' royl-rn:so)` from the dojo.
2019-11-17 20:32:09 +02:00
Philip Monk
7837d51aba
spider: rename thread -> strand, imp -> thread 2019-11-16 04:07:09 -08:00
Jared Tobin
d8970b9cf5
Merge branch 'liam-fitzgerald/lang-server-commit' (#1955)
* liam-fitzgerald/lang-server-commit:
  language-server: fix cord reverse
  language-server: use modern tisfas syntax
  language-server: add function signature on hover
  language-server: added autocommit on save

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-16 17:48:33 +08:00
Liam Fitzgerald
87da55073e language-server: fix cord reverse 2019-11-16 11:48:25 +10:00
Liam Fitzgerald
f299bf9d2c language-server: use modern tisfas syntax 2019-11-16 11:46:17 +10:00
Philip Monk
c1b0bd63e4
spider: don't pass in initial bowl 2019-11-15 17:37:20 -08:00
Philip Monk
fea3bd60e4
dojo: add syntax for imps
This adds syntax for running imps.  For example:

-time ~s1

Runs the "time" imp with the argument ~s1.  This blocks the terminal
until the imp has completed (backspace kills it, of course).  You could
avoid blocking the terminal if you sacrifice the ability to use imps as
sources in more complex commands.

In keeping with this one-and-done view of imps, this also changes spider
to not use a live build of imps.  This significantly reduces the amount
of uncertainty around imps -- spider will try exactly once to run your
imp, and if it fails it'll tell you.  If you want to retry, that's up to
you.
2019-11-15 17:20:56 -08:00
Logan Allen
8421e236df chat: added temporary chat-two-update mark with new %messages type 2019-11-15 15:27:50 -08:00
Philip Monk
eea136021d
gaze: remove until it gets updated 2019-11-15 14:31:22 -08:00
Logan Allen
9dd949b8a1 chat: oust correctness fix and js style fix 2019-11-15 13:28:53 -08:00
Philip Monk
ef7c1ffe16
ph: make breach-multiple work 2019-11-15 13:02:37 -08:00
Philip Monk
fc28e6e378
ph: make breach-sync pass 2019-11-15 12:46:11 -08:00
Logan Allen
b69bb7d7a1 chat-store: factored out functions used in both message and messages 2019-11-15 12:27:35 -08:00
Logan Allen
f9df1b6af4 chat: style fixes 2019-11-15 11:07:40 -08:00
Jared Tobin
385e9cd9e0
Merge branches 'philip/jael-fix' and 'jfranklin9000/master' (#1953, #1956)
* philip/jael-fix:
  jael: process all ships in %full update

* jfranklin9000/master:
  vere: consistent use of my-planet and my-comet in Simple Usage

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-15 18:44:21 +08:00
Jared Tobin
c9c2e33f63 zuse, build: remove default testnet config
Returns the target %zuse contract configuration to mainnet, and also
tweaks the 'arvo-ropsten' build to use %alef instead of %ames.

Also fixes a merge conflict artifact in nix/ops/default.nix.
2019-11-15 19:26:43 +09:00
John Franklin
abb37ce5be vere: consistent use of my-planet and my-comet in Simple Usage 2019-11-14 23:41:44 -06:00
Liam Fitzgerald
b0c5b7b0fe language-server: add function signature on hover
Add function signature on hover. Fixes bug around autocomplete
not working properly when the cursor was mid-word.
2019-11-15 11:17:00 +10:00
Matilde Park
8fb13e4f99 soto: style changes
This commit amends the Soto application with style changes
requested during code review, including structuring the mark
conversion as a library.
2019-11-14 20:06:11 -05:00
Philip Monk
9ace7ff590
ph: make breach-hi pass 2019-11-14 16:39:28 -08:00
Ted Blackman
49d81265c3 alef: clean up printing 2019-11-14 19:10:48 -05:00
Philip Monk
3dae66332c
jael: process all ships in %full update 2019-11-14 14:54:48 -08:00
Philip Monk
06e6545890
ph: get more tests working 2019-11-14 14:46:39 -08:00
Philip Monk
c9f437e3c6
jael: process all ships in %full update 2019-11-14 14:46:14 -08:00
Logan Allen
223fc8c5b4 chat: fixes to cli parser and increased page size in hook 2019-11-14 13:38:53 -08:00
Philip Monk
4cb821de11
ph: get boot-az working 2019-11-14 13:31:55 -08:00
Matilde Park
859954f5e1 interface: add soto source code
This adds the source code for Soto's Landscape interface to the
interface pkg directory, matching the build workflow for our other
Landscape applications as well as their dependencies.
2019-11-14 13:48:48 -05:00
Logan Allen
a97e36d6d6 chat-js: updated to support %messages events 2019-11-14 10:42:55 -08:00
Logan Allen
dcde20c86c sur: added rw-security to replace chat-security 2019-11-14 10:42:55 -08:00
Logan Allen
9cacb12dbc chat: add history functionality. optionally request backlog. 2019-11-14 10:42:52 -08:00
Matilde Park
86e99c998c drum: Boot with %soto
Adds %soto to default application pool, so it shows up in Landscape
for fresh ships.
2019-11-14 13:40:05 -05:00
Philip Monk
32ea09caf2
mall: remove old hood libraries 2019-11-14 10:39:50 -08:00
Matilde Park
ae31a4167e arvo: adds soto application
This commit adds Soto -- a Dojo relay, and its UI, to the Arvo
pkg directory.
2019-11-14 13:39:07 -05:00
Matilde Park
c39d887415 mar/sole: add %tab conversion
Our mark definitions for sole actions and effects pre-date our tab
completion work. This commit adds tab completion actions and
effects to the definition, so they can be sent and received as JSON.
2019-11-14 12:15:27 -05:00
Jared Tobin
2a1e0971f2
Merge branch 'jfranklin9000/trouble' (#1939)
* jfranklin9000/trouble:
  arvo: add +trouble generator for troubleshooting

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-14 14:08:18 +08:00
Philip Monk
881517c872
mall: fix tests 2019-11-13 20:45:12 -08:00
Philip Monk
607a2c0ac6
eyre: fix tests 2019-11-13 19:41:56 -08:00
John Franklin
f8cf70fd62 arvo: add +trouble generator for troubleshooting 2019-11-13 21:02:39 -06:00
Philip Monk
3ad5da88fe
mall: convert test app 2019-11-13 18:05:39 -08:00
Jared Tobin
39fb914cdd
Merge branch 'philip/jael-no-sub' (#1944)
* philip/jael-no-sub:
  jael: only listen to azimuth-tracker on boot

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-14 09:58:34 +08:00
Jared Tobin
e6aba37f7a
Merge branch 'chat-cli-invites' (#1941)
* chat-cli-invites:
  chat-cli: send invites on-;invite

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-14 09:49:44 +08:00
Jared Tobin
d4ce549135
Merge branch 'philip/clay-fix' (#1933)
* philip/clay-fix:
  clay: fix meet-conflict crash

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-14 09:46:17 +08:00
Jared Tobin
ee19171a0f
Merge branch 'thunderrabbit/swap_space' (#1930)
* thunderrabbit/swap_space:
  vere: fix URL for swap if not enough space

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-14 09:44:36 +08:00
Philip Monk
adc54531fc
mall: autostart lens 2019-11-13 17:26:29 -08:00
Philip Monk
cd3308d8d9
mall: convert lens 2019-11-13 16:20:24 -08:00
Philip Monk
5fd75edcc6
eyre: change id format 2019-11-13 14:07:37 -08:00
Philip Monk
a1b928488d
eyre: remove eyre-id from eyre's state 2019-11-13 01:45:04 -08:00
Philip Monk
cc94abf717
eyre: cancel subscriptions more aggressively 2019-11-13 01:21:14 -08:00
Philip Monk
4a6e98a558
mall, eyre: refactor server apps to be stateless 2019-11-13 00:38:35 -08:00
Philip Monk
1d1e9c0e16
eyre: better userspace libraries 2019-11-12 23:37:38 -08:00
Philip Monk
47e3b260d5
eyre: subscribe to apps for responses
This removes the %http-response special case from gall.  In its place,
we implement a subscription regime with the following steps:

- Agent sends %connect to Eyre
- Eyre pokes agent with %handle-http-response, including unique eyre-id
- Agent passes %start-watching to Eyre with eyre-id and unique app-id
- Eyre subscribes to agent on /http-response/app-id
- Agent produces a %http-response-header fact followed by 0 or more
  %http-response-data facts and possibly a %http-response-cancel fact
- Agent produces a %kick to close the subscription, which Eyre
  interprets as completion of the message.

This works when there is data.  There is currently a bug where if the
response has no data in total (as in the case of a naked 404), no
response will be sent.

This also includes lib/http-handler, which implements a convenient
interface for agents that want to respond immediately with all the data.
This lets them avoid carrying extra state to keep track of pending
requests.

This should really have access to your state and the ability to change
it.  Perhaps a more minimalist design would be better: just keep track
of the requests, then hand it off to +on-watch when eyre is ready to
receive responses.  It's not clear how to pass in the request data in
+on-watch.
2019-11-12 23:37:38 -08:00
Philip Monk
85a40a13d0
spider, eth-watcher: switch to eny-based ids 2019-11-12 23:36:08 -08:00
Philip Monk
0e564e2f28
jael: only listen to azimuth-tracker on boot
For some reason Jael subscriptions aren't starting properly for many
people.  Until we can get to the bottom of it, this sets everyone to
start listening directly to the chain.
2019-11-12 22:00:57 -08:00
Philip Monk
54d55b69e4
mall: fix ph 2019-11-12 21:03:21 -08:00
Fang
b31d5a6dc7
chat-cli: send invites on-;invite
This augments permission management with invite sending, when setting "positive"
permissions. This matches talk's behavior.

Also implements +full:tr, which renders as ~ship/path, even for local targets.
2019-11-13 00:09:18 +01:00
Liam Fitzgerald
26c4c6c7e4 language-server: added autocommit on save
Allows language-server to commit automatically upon changes. This
is driven by the editor, preventing the autocommit issues seen
with #971. Additionally recalculates syntax issues upon save.
2019-11-12 21:46:09 +10:00
Philip Monk
b25412b93b
clay: fix meet-conflict crash 2019-11-11 21:42:33 -08:00
Philip Monk
1caa30d812
mall: convert eth-watcher to mall/imp 2019-11-11 21:36:32 -08:00
Philip Monk
e603681097
clay: fix meet-conflict crash 2019-11-10 14:33:48 -08:00
Philip Monk
5c1d68bf44
spider: add process tree 2019-11-09 23:27:07 -08:00
Philip Monk
ab8ac96702
spider: allow arguments and return values 2019-11-09 19:09:02 -08:00
Philip Monk
ae295d445a
mall: rm old apps for easier merging 2019-11-09 16:53:42 -08:00
Philip Monk
bcd7c5e82d
Merge branch 'master' into philip/mall-real 2019-11-09 16:47:41 -08:00
Rob Nugen
ae73fea1c4 vere: fix URL for swap if not enough space
also fix spacing in output message

Otherwise the words run together on one line
2019-11-09 23:00:25 +09:00