Commit Graph

16020 Commits

Author SHA1 Message Date
Elliot Glaysher
8a09262092 Separate the config into pier and network sections.
Make the ames tests compile again, reading from a test instance of
HasNetworkConfig without phony HasPierConfig data.
2019-10-22 11:25:04 -07:00
Elliot Glaysher
0073b24b7e Move from -N to --dry-run. 2019-10-21 15:32:12 -07:00
Elliot Glaysher
44b65376b9 Implement --full-log-replay 2019-10-21 15:28:05 -07:00
Elliot Glaysher
92cd2863e5 Disable hashboard by default in king.
The vere implementation always disables hashboard, and this was why
king was so much slower.
2019-10-21 15:27:02 -07:00
Elliot Glaysher
73dae3e805 Revive and hook up the option. 2019-10-17 17:02:33 -07:00
Elliot Glaysher
9ec9426b8a Implement -N, dry-run mode.
When -N is enabled, no sockets are bound and no events get persisted
to the datastore. We also pass the dry run flag to the serf, who
should not snapshot.

(For redundancy, we should probably also make king not send the save
snapshot commands, but I tested locally that the worker process
doesn't save.)
2019-10-17 16:10:53 -07:00
Elliot Glaysher
f038e60794 Implement -L and -x 2019-10-17 15:32:06 -07:00
Elliot Glaysher
b0ed770cc8 Build (HasPierConfig env) and use it for pier path and network state 2019-10-17 14:06:25 -07:00
Elliot Glaysher
29a471c3df Default to the bootstrap pill of the current urbit version.
Also set the version number of king in lockstep with vere.
2019-10-16 16:03:02 -07:00
Elliot Glaysher
e9063f926b Implement -u flag for loading pills from a url. 2019-10-16 13:43:47 -07:00
Elliot Glaysher
31226bc9c0 Fix boot sequence for brass pills. 2019-10-16 13:38:46 -07:00
Elliot Glaysher
b71d025b7b Merge remote-tracking branch 'origin/master' into king-haskell 2019-10-16 11:47:21 -07:00
Jared Tobin
70ed0d6e98
Merge branch 'philip/jael-fix' (#1827)
* philip/jael-fix:
  jael: retrieve first sponsor instead of last

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-16 10:06:09 +04:00
Jared Tobin
1f8826a8ed
Merge branch 'la-tiscol-fix'
* la-tiscol-fix:
  chat: changed a =: to a =. to fix message storage bug

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-16 09:43:40 +04:00
Jared Tobin
3e44e5155e
Merge branch 'claz-checks' (#1822)
* claz-checks:
  claz: group state check arms together
  claz: factor asserts out of callsites
  claz: check pool sizes when inviting
  claz: check planet availability for %invites
  claz: print proper error messages

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-16 09:41:31 +04:00
Philip Monk
6b8d75a88c
jael: retrieve first sponsor instead of last 2019-10-15 18:04:34 -07:00
Logan Allen
2871a964ba chat: changed a =: to a =. to fix message storage bug 2019-10-15 16:16:02 -07:00
Elliot Glaysher
7a1d9b2d5d Merge remote-tracking branch 'origin/master' into king-haskell
(Respins pills due to conflict.)
2019-10-15 12:38:17 -07:00
Jared Tobin
a5e3ca92b4
tests: disable %ames test-send
This test depends on the ames protocol version, and so should probably
be rewritten.  It's currently holding up a breach, so it's most
expedient to just disable it for the time being.
2019-10-15 23:23:57 +04:00
Jared Tobin
f0a0c66afd
ames: bump protocol version
A last-minute adjustment to the v0.9.0 release to ensure that ships in
the next era don't become haunted by ghosts of the past one.
2019-10-15 22:32:55 +04:00
Jared Tobin
4613264047
release: v0.9.0
Updates URBIT_VERSION, Landscape builds, and all pills.
2019-10-15 14:50:05 +04:00
Jared Tobin
9068188e4b
build: fix 'solid' derivation [ci skip]
578adc93 introduced a 'meta' attribute for handling, amongst other
things, conditional construction of the debug executable.  It missed the
'solid' derivation, causing it to break.
2019-10-15 11:56:16 +04:00
Jared Tobin
8a4a3335d5
build: fix typo [ci skip]
s/ubit/urbit
2019-10-15 11:56:05 +04:00
Fang
a0145ff3db
claz: group state check arms together
In both core and flow. +run-checks sets the stage for future command
legitimacy checks.
2019-10-14 21:54:32 +02:00
Fang
8b37f5fe33
claz: factor asserts out of callsites
We now do them in the relevant functions instead, since we always want
to hard-fail on unexpected/erroneous responses.
2019-10-14 21:52:57 +02:00
Fang
a5564f2860
claz: check pool sizes when inviting 2019-10-14 20:19:17 +02:00
Jared Tobin
6f58c138b2
Merge branch 'ops-image' (#1820)
* ops-image:
  build: move ops debug conditional usage to drv metadata

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-14 20:50:16 +04:00
Fang
4a4b592afc
claz: check planet availability for %invites 2019-10-14 17:19:34 +02:00
Fang
8d3787328a
claz: print proper error messages 2019-10-14 16:03:12 +02:00
Brendan Hay
578adc9363
build: move ops debug conditional usage to drv metadata
Rather than conditional reconstructing the "urbit/bin/urbit-debug -g"
string everytime using the debug conditional, this information has been
added to the derivation's .meta attribute.
2019-10-14 10:25:34 +02:00
Jared Tobin
eaf0cfd995
Merge branch 'perm-hook' (#1818)
* perm-hook:
  permission-hook: style improvement
  apps: added permission hook and chat-view %join action

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-13 09:07:21 +04:00
Logan Allen
7f0ab1b8ab permission-hook: style improvement 2019-10-12 18:58:20 -07:00
Jared Tobin
2bb3c5a551
Merge branch 'claz-target-fix' (#1819)
* claz-target-fix:
  claz: %single %send-point to correct contract

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-12 15:19:38 +04:00
Fang
9b079f6c83
claz: %single %send-point to correct contract
09cb5f2 added a %send-point call, which is meant to target the delegated sending
contract. For %invites batches, this was the case. Handling of %single, however,
still sent all calls to the ecliptic contract.

This looks at the call tag to determine the target contract.
2019-10-12 00:22:44 +02:00
Logan Allen
b12e305c9c apps: added permission hook and chat-view %join action 2019-10-11 14:09:30 -07:00
Elliot Glaysher
9d7746948b Print messages about looking up galaxy IPs. 2019-10-11 14:05:25 -07:00
Jared Tobin
3a540371a0
vere: rc version bump (-> 0.9.0.rc-4)
Also updates brass, ivory pills.
2019-10-11 11:27:04 +04:00
Jared Tobin
ac55d362e9
Merge branch 'ames-boot-timer' (#1817)
* ames-boot-timer:
  pills: update solid
  ames: skip timers if unix duct is unset

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-11 11:08:35 +04:00
Jared Tobin
daf2176ca9
pills: update solid 2019-10-11 10:56:16 +04:00
Jared Tobin
9d1b09c995
Merge branch 'chat-cli-glyphs' (#1816)
* chat-cli-glyphs:
  chat-cli: maintain sane glyph binding state
  chat-cli: support per-target glyph unbinding
  chat-cli: properly decode double-bound glyphs
  chat-cli: try not to double-bind glyphs

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-11 10:35:42 +04:00
Jared Tobin
3f4edb608d
Merge branch 'la-join' (#1815)
* la-join:
  js: Improved join UI and added support for paths with multiple elements

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-11 09:12:31 +04:00
Jared Tobin
23a1375f73
Merge branch 'pkova/master' (#1814)
* pkova/master:
  eyre: fix missing cancel-heartbeat-move cases

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-11 09:07:10 +04:00
Joe Bryan
e9396973cc ames: skip timers if unix duct is unset 2019-10-10 17:21:39 -07:00
Elliot Glaysher
0633010a92 Implement quickcheck on path utilities and fix a bug. 2019-10-10 16:24:12 -07:00
Elliot Glaysher
c28f2693b5 Small cleanups to Dawn. 2019-10-10 15:01:50 -07:00
Fang
4e963ff23a
chat-cli: maintain sane glyph binding state
This ensures that `binds` is updated to match overwrites in `bounds`.
2019-10-10 23:49:36 +02:00
Fang
31b7331e1e
chat-cli: support per-target glyph unbinding 2019-10-10 23:40:08 +02:00
Elliot Glaysher
f2fb404496 Revive a few of the cue/jam property tests. 2019-10-10 14:20:26 -07:00
Elliot Glaysher
a14b6e06d3 Boot from mined comets in king.
This makes the comet mining code actually work. You can now run
king with `new --comet` to mine a new comet and get it on the
network. Mining appears to be significantly faster; I've had to
wait up to 20 minutes with vere, but I've never needed to wait more
than 30 seconds with king.
2019-10-10 13:45:01 -07:00
Fang
e01d59ae4c
chat-cli: properly decode double-bound glyphs
Resolves glyph to most recently seen target.
2019-10-10 22:40:37 +02:00