Elliot Glaysher
006ee022b7
LGTM from Ben.
2019-10-09 16:58:54 -07:00
Elliot Glaysher
1cca039b6f
First part of the code review with Ben.
2019-10-09 14:58:27 -07:00
Elliot Glaysher
a511b3aba8
Stubbed comet mining
2019-10-09 13:39:11 -07:00
Fang
09cb5f2403
claz: Implement batch invites
...
For generating many sendPoint() transactions for the Delegated Sending
contract. Specify what ship to send the invites as, and a path to a file
containing lines of "~ship,~ticket,0xaddress".
Comes with a generator, |claz-invites, for generating such files, given
a star and a range of its children (and an output path).
2019-10-09 21:28:48 +02:00
Fang
e6775d0907
keygen: Add ownership-from-ticket function
...
Many use cases care only for the ownership wallet. Using a function like
this, that derives exclusively that, saves computation time.
2019-10-09 21:19:04 +02:00
Elliot Glaysher
e1ef550ffc
Further fake mode cleanups.
2019-10-09 10:25:11 -07:00
Fang
9d63a3e9c7
drum: Ensure dojo prompt on-boot
...
The previous method for doing this relied on "dojo" being first when
sorting alphabetically, which is not the case anymore.
2019-10-09 18:02:03 +02:00
Fang
79544a03d0
chat-hook: Improve reap printf readability
2019-10-09 15:30:26 +02:00
Fang
86f37ede6c
chat-cli: Remove prep printf
2019-10-09 15:04:51 +02:00
Jared Tobin
224ef6c89f
Merge branches 'vere-fs-errors' and 'args-cleanup' ( #1805 , #1806 )
...
* vere-fs-errors:
vere: checks on boot that we have write permissions for $pier
vere: uses c3_sync macro instead of inline platform checks
vere: handle error when opening pier lockfile
* args-cleanup:
vere: adds comments noting possible -a/-d requirements
vere: implements -x (exit immediately after boot)
vere: removes unimplemented cli args -b and -V
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-09 10:52:03 +04:00
Jared Tobin
23f13877a0
Merge branch 'odyssey-wip' ( #1785 )
...
* odyssey-wip: (31 commits)
chat-cli: Add clarity
drum: Boot with %chat-cli, without %hall & %talk
chat-cli: Cosmetic improvements
chat: Move eval logic out of /lib/chat-json
chat-cli: Properly support deleting local chats
chat-cli: Subscribe to /updates instead of /all
chat: Move eval logic into lib
chat: removed unnecessary cast
chat: removed overly specific pattern match
chat: style fix for a comment
chat: remove poke-noun arms
chat: fixed eval function to disable scry
chat-cli: Simplify message command type & logic
chat-cli: Implement permission management
chat: /primary path provides truncated initial as well as updates
chat: style fixes, removed some redirect bugs from chat
chat-cli: Match store and hook's path handling
chat-cli: Update prompt on-create
chat: changed wire format and quitting subscription properly on ban
chat-cli: Add debug poke for connecting to store
...
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-09 10:04:38 +04:00
yosoyubik
d482167e21
hoon: replaces manual +tree cons with explicit %=
...
Rewrites several arms in +to, +in, +by, that perform tree operations,
with explicit %= updates
2019-10-09 07:37:47 +02:00
Elliot Glaysher
2ccf931cb8
Remove tracing code.
2019-10-08 16:53:07 -07:00
Elliot Glaysher
72ef261ebe
Binds to INADDR_ANY on real ships.
...
This at least gets us to "~zod is ok" and "~zod is your neighbor",
along with the landscape welcome message from ~marzod. Persistent
connectivity has problems though.
2019-10-08 16:32:47 -07:00
Elliot Glaysher
26046b63ef
Thread isFake bit to Ames and condition how we send messages on it.
2019-10-08 16:18:52 -07:00
Elliot Glaysher
8cd9c690db
Use the same socket for sending and receiving.
2019-10-08 15:56:32 -07:00
Joe Bryan
ac97fd24c3
vere: checks on boot that we have write permissions for $pier
2019-10-08 15:24:12 -07:00
Joe Bryan
68f05b722b
vere: uses c3_sync macro instead of inline platform checks
2019-10-08 15:15:42 -07:00
Joe Bryan
c8a4a5d699
vere: handle error when opening pier lockfile
2019-10-08 15:14:11 -07:00
Fang
4dea1068b2
chat-cli: Add clarity
2019-10-09 00:06:39 +02:00
Elliot Glaysher
872d4b1c76
WIP: Compiles, but appears to have broken fakezod/fakenec.
2019-10-08 15:01:16 -07:00
Joe Bryan
c9943611d3
vere: adds comments noting possible -a/-d requirements
2019-10-08 15:00:40 -07:00
Joe Bryan
39f84d2cf1
vere: implements -x (exit immediately after boot)
2019-10-08 15:00:38 -07:00
Joe Bryan
9fad3153f9
vere: removes unimplemented cli args -b and -V
...
-b (batch create) and -V (replay w/out reboots)
2019-10-08 15:00:34 -07:00
Fang
b7f1e9c578
Merge branch 'odyssey-wip' into odyssey-chat-cli
2019-10-08 23:32:57 +02:00
Fang
816535c311
drum: Boot with %chat-cli, without %hall & %talk
...
Also refactors the surrounding code in +deft-apes.
2019-10-08 23:19:05 +02:00
Fang
24859907aa
chat-cli: Cosmetic improvements
...
Better variable naming. Trailing newline.
2019-10-08 23:00:46 +02:00
Fang
e567de9c18
chat: Move eval logic out of /lib/chat-json
...
This allows us to always include the bowl when evaluating a code letter.
2019-10-08 22:44:20 +02:00
Fang
0da8e1efb3
chat-cli: Properly support deleting local chats
...
Since the current implementation of ;leave is silently destroying state
instead of unsubscribing, we disallow running ;leave on local chats and
provide an explicit ;delete instead.
2019-10-08 22:28:56 +02:00
Fang
42aa035530
chat-cli: Subscribe to /updates instead of /all
...
On first boot (and debug poke) we scry for /all to ensure we know all
messages.
2019-10-08 22:06:45 +02:00
Fang
9532857ef5
chat: Move eval logic into lib
2019-10-08 22:06:28 +02:00
Elliot Glaysher
4a0c2f0393
Skeleton implementation of Ames with galaxy lookup.
...
Needs to be moved to RIO so that I can get logging data about this.
2019-10-08 13:04:21 -07:00
Logan Allen
225fb9327f
chat: removed unnecessary cast
2019-10-08 12:44:28 -07:00
Logan Allen
c1ecfd86cb
chat: removed overly specific pattern match
2019-10-08 12:40:15 -07:00
Logan Allen
e9bbf68eed
chat: style fix for a comment
2019-10-08 12:39:00 -07:00
Logan Allen
e567803478
chat: remove poke-noun arms
2019-10-08 12:37:39 -07:00
Logan Allen
6ab2879b81
chat: fixed eval function to disable scry
2019-10-08 12:13:29 -07:00
Fang
c7fbad61ee
chat-cli: Simplify message command type & logic
...
By dropping support for •-separated multi-messaging, we can simplify
the parsing and handling of message sending inputs.
2019-10-08 20:01:46 +02:00
Fang
dac51a9ed8
chat-cli: Implement permission management
...
Set security type during ;create. Use ;invite and ;banish to dis/allow
ships from reading and/or writing.
Talks to the group-store to modify permission groups. Scries into
permission-store to check for white- vs blacklist.
2019-10-08 20:01:21 +02:00
Logan Allen
536dcdc4f4
chat: /primary path provides truncated initial as well as updates
2019-10-08 10:41:06 -07:00
Logan Allen
fbbb3830b2
chat: style fixes, removed some redirect bugs from chat
2019-10-08 10:11:18 -07:00
Fang
9c562f4c62
chat-cli: Match store and hook's path handling
...
Now prefixes the host ship to the path, and parses it back out, only
when appropriate.
2019-10-08 16:18:20 +02:00
Fang
10b17ff127
chat-cli: Update prompt on-create
...
Creating a mailbox would refresh the prompt before setting a new
audience, instead of after. This change corrects the behavior.
Also updates glyph binding code and print style.
2019-10-08 16:15:19 +02:00
Fang
b2365c1668
Merge 'odyssey-wip' into odyssey-chat-cli
2019-10-08 13:04:49 +02:00
Jared Tobin
32052396d8
vere: version bump (0.8.0 -> 0.9.0)
...
Additionally updates all pills, for good measure.
2019-10-08 12:36:38 +04:00
Logan Allen
79903ff9f5
chat: changed wire format and quitting subscription properly on ban
2019-10-07 17:35:48 -07:00
Fang
12050d44a8
chat-cli: Add debug poke for connecting to store
2019-10-07 20:46:35 +02:00
Fang
03b5a1cd71
chat-cli: Support %url and %me message types
2019-10-07 20:45:58 +02:00
Fang
c0d07fa14a
chat-cli: Clean up code
...
Renames, refactors, and occasionally rewrites many of the arms used
within the application. Splits +sh into +sh-in and +sh-out, improves
naming for rendering cores, moves arms around for better organization,
and adds descriptions to all arms.
2019-10-07 16:31:10 +02:00
Fang
7911061dab
chat-cli: Make more fully-featured
...
Brings it largely up to parity with Talk, save for features relating to:
- presence & nicknames
- circle management (permissions, sources)
- deprecated message types
In addition to implementing remaining functionality for basic usage
patterns, makes the following changes:
- glyphs per target, not multiple targets
- assume /~ship/path paths are created/used by the chat-hook
Code cleanup pending.
2019-10-07 16:09:22 +02:00
Fang
07454e2327
apps: Add WIP chat-cli
2019-10-07 16:09:14 +02:00
pkova
a019c2079e
eyre: add channel \n heartbeat every 20 seconds
2019-10-07 03:11:11 +03:00
yosoyubik
84ebe8bf37
tests: unit tests for +in (set)
2019-10-06 12:00:53 +02:00
yosoyubik
764615b587
tests: unit tests for +to (queue)
2019-10-06 12:00:53 +02:00
yosoyubik
9d0e0c7827
tests: unit tests for +by (map)
2019-10-06 12:00:53 +02:00
yosoyubik
30a4496a87
tests: unit tests for +differ (diff/merge)
2019-10-06 12:00:53 +02:00
yosoyubik
7ed0a938e2
hoon: fix for +uno/uni ( #1779 ) set/map union
2019-10-06 12:00:53 +02:00
yosoyubik
b55149af55
hoon: fix for +apt:to ( #1778 ) queue correctness
2019-10-06 12:00:48 +02:00
Jared Tobin
18f55bb5f8
Merge branch 'tank-priorities' ( #1797 )
...
* tank-priorities:
vere: Wrap tank dump priority escape codes with terminal check
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-06 09:22:57 +04:00
Brendan Hay
4dc1ec8874
vere: Wrap tank dump priority escape codes with terminal check
2019-10-05 11:04:58 -07:00
Jared Tobin
8aeaf1610b
Merge branch 'behn-log-drip-fail' ( #1795 )
...
* behn-log-drip-fail:
updates solid pill
behn: print error on failed %drip
2019-10-05 16:28:20 +04:00
Jared Tobin
9ebe114c3b
Merge branch 'eyre-cookie' ( #1794 )
...
* eyre-cookie:
eyre: changed cookie format
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-05 16:14:46 +04:00
Isaac Visintainer
e9c639464b
eyre: changed cookie format
2019-10-04 15:06:01 -07:00
Brendan Hay
db0b7acd13
Adding terminal guard around tty column/row calculations
2019-10-04 23:16:08 +02:00
Brendan Hay
e8f133d532
Adding -T option to disable terminal/tty assumptions
...
Without incurring the fork() that -d/daemon mode implies.
2019-10-04 23:09:24 +02:00
Philip Monk
d202a4fb56
behn: print error on failed %drip
2019-10-04 14:05:52 -07:00
Elliot Glaysher
fcdc5904e8
General cleanup.
2019-10-04 13:47:05 -07:00
Joe Bryan
e6e402023c
removes obsolete cli args for eth snapshots (-C and -E)
2019-10-04 13:32:56 -07:00
Elliot Glaysher
bf8a00d8dc
Retrieve entire sponsorship chains.
...
This retrieves the point data for not just the immediate sponsor,
but for the whole sponsorship chain. (For a moon: [galaxy star
planet], for a planet: [galaxy star], and so on.)
2019-10-04 11:54:25 -07:00
Jared Tobin
b5fec5ef97
Merge branch 'update-pills' ( #1789 )
...
* update-pills:
Update all pills and fix .gitignore.
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-04 12:07:15 +04:00
Elliot Glaysher
93e3a2e0e8
Start working through %dawn differences on a comet.
...
I booted a comet with vere, had it dump its keyfile, and then went
through `stack run king -- new` with that keyfile. Things were
fairly close, but there's still more to do here.
This fixes the turf uniqueness issue and makes us do less work for
things that vere didn't bother making real, like ownership
information.
2019-10-03 16:39:16 -07:00
Elliot Glaysher
6235f87579
Can now print a vere %dawn event in king's event browser.
2019-10-03 15:51:34 -07:00
Elliot Glaysher
b95c354ba3
Hook up the lite mode flag.
2019-10-03 15:41:19 -07:00
Elliot Glaysher
fbe0a78db5
Merge remote-tracking branch 'origin/king-haskell' into king-dawn
2019-10-03 15:41:09 -07:00
Elliot Glaysher
330faa3205
Update all pills and fix .gitignore.
...
The ivory pill had not been rolled after the last changes to zuse,
meaning that you could no longer boot a ship. Also fixes .gitignore
so as to not hide old build artifacts which could interfere with
picking up changes to the ivory pill.
2019-10-03 15:03:50 -07:00
Brendan Hay
0687d3e0fb
Removing unnecessary call to seed prng for fuzz testing
2019-10-03 23:18:00 +02:00
Logan Allen
39a5017254
chat: added old @ messages, now called %me messages
2019-10-03 13:33:07 -07:00
Brendan Hay
1609be8fcd
Removing -f (fuzz testing) option
2019-10-03 22:07:47 +02:00
Elliot Glaysher
ea431e18ad
Merge remote-tracking branch 'origin/master' into king-haskell
...
This adds minor changes to king haskell to support the new boot
event structure.
2019-10-03 11:11:27 -07:00
Jared Tobin
8920bf0dc5
meta: update contributing section in arvo readme [ci skip]
...
The subtree in pkg/arvo apparently still has a README in it, which had
gotten only slightly out of sync with the overall project README. This
commit updates its 'contributing' section to point at the appropriate
contributing document.
2019-10-03 14:39:14 +04:00
Logan Allen
e3b39f735f
marks: moved hook action marks
2019-10-02 18:30:50 -07:00
Logan Allen
2625efd485
apps: updated style and added moon support
2019-10-02 18:30:50 -07:00
Logan Allen
8b74a674f3
chat-hook: updated to allow a simpler message send flow
2019-10-02 18:30:50 -07:00
Logan Allen
693b6f2b81
hood: added chat-store, hook, and view to startup
2019-10-02 18:30:50 -07:00
Logan Allen
0f5eea480d
chat: added new JS files, deleted old chat.hoon
2019-10-02 18:30:41 -07:00
Elliot Glaysher
4be3829b68
Make TLS work and get the comet sponsor list.
2019-10-02 13:55:30 -07:00
Elliot Glaysher
dd4551c996
Fix the format of the %barn event
2019-10-02 11:53:52 -07:00
Elliot Glaysher
1dd90f310b
Hook up the command line flags to the serf.
2019-10-02 11:50:03 -07:00
Elliot Glaysher
ea2be11f7c
Fixes the crash on planet startup.
2019-10-01 16:22:27 -07:00
Elliot Glaysher
2dfa1606f4
Fix Dawn event to be the right shape.
2019-10-01 15:26:34 -07:00
Joe Bryan
22ddd4aeb5
arvo: clear caches in response to (high) memory pressure
2019-10-01 15:04:13 -07:00
Joe Bryan
ef959e0c52
gall: clear caches in response to memory pressure
2019-10-01 15:04:07 -07:00
Joe Bryan
1e9cc07649
eyre: close channels in response to memory pressure
2019-10-01 15:04:03 -07:00
Elliot Glaysher
0de09bb97b
Reorganize the king new command line flags to boot from keyfiles.
...
(Ships booted from keyfiles are still in an invalid dill state.)
2019-10-01 14:44:14 -07:00
Elliot Glaysher
16440eaeb5
Fix TermEfInit so it takes a Ship instead of null
2019-10-01 11:36:46 -07:00
Joe Bryan
8ff445c68c
ford: clear caches in response to memory pressure
2019-10-01 11:35:08 -07:00
Elliot Glaysher
d96bf9bb52
Booting fake ships other than zod
2019-10-01 11:23:34 -07:00
Logan Allen
f9377536fb
app: Added chat store, hook, marks, and view.
2019-10-01 10:18:36 -07:00
Logan Allen
ee92862785
hood: start up groups and permissions
2019-09-30 16:43:09 -07:00
Logan Allen
4b01718d76
apps: added group/permission stores, hooks, marks
2019-09-30 14:46:07 -07:00