Elliot Glaysher
4d8c6ad09a
nat-pmp: improve error and diagnostic messages
2020-08-10 13:02:13 -04:00
Elliot Glaysher
149565cd97
king: get tests passing after nat-pmp changes
2020-08-07 13:04:57 -04:00
Elliot Glaysher
6368aa2b02
king: Turn NAT-PMP on by default, with a flag to disable.
...
Also: error checking.
2020-08-07 12:42:00 -04:00
Elliot Glaysher
86b445b7cb
king: First attempt at integration with NATPMP.
...
This sets up a separate thread to handle scheduling of lease
renewals.
2020-08-05 15:33:37 -04:00
Elliot Glaysher
d39d7246d1
king: move MultiEyreApi to a new RunningEnv.
...
There was a TODO in runShips about how the different layers of the
RIO environment had to be changed, so that there was a layer between
KingEnv and PierEnv for things shared between individual Piers, but
which weren't used outside of any PierEnv. This addresses those
TODOs by creating RunningEnv, which for now just owns MultiEyreApi
and makes it so we don't have to pass the entire thing around
explicitly.
The IP handling stuff will go in RunningEnv in a following patch.
2020-08-04 16:56:32 -04:00
~siprel
2f02a6d0e6
king: Command line flag to enable verbose logging.
2020-06-11 02:07:10 +00:00
~siprel
eb81f5ca14
Less verbose log output.
2020-06-11 02:02:53 +00:00
~siprel
ba5bd09724
CLI option for serf exe + serf exe/flags live in PierConfig.
2020-06-10 23:56:48 +00:00
~siprel
dabe38be0d
In non-daemon mode, initial serf slogs are user-visiable.
2020-06-10 21:17:55 +00:00
~siprel
528e1d29ff
king: Separate out urbit-eventlog-lmdb package.
2020-06-08 22:01:28 +00:00
~siprel
ff646f4830
king: Snapshot on shutdown; no snapshot on start if no events to replay.
2020-06-08 17:45:41 +00:00
~siprel
ba50eb94cd
king: Spin off urbit-noun-core
and urbit-noun
packages.
2020-06-08 17:24:05 +00:00
~siprel
95df4b0764
king: Pier cleanup pass.
2020-06-06 23:34:27 +00:00
~siprel
648b0743c8
king: Shutdown TMVars now live in KingEnv/PierEnv.
2020-06-06 23:16:34 +00:00
~siprel
bd51337156
king: In non-daemon-mode, ^D now actually brings down the executable.
2020-06-06 21:33:15 +00:00
~siprel
3838cf8abb
^C brings king/serf down cleanly and promptly.
2020-06-04 21:10:33 +00:00
~siprel
45f475a178
king: snapshot requests block until event log catches up to serf.
2020-06-02 23:03:04 +00:00
~siprel
75b97d9e60
Docs and cleanup for Urbit.Vere.Serf.IPC
.
2020-06-01 17:51:37 +00:00
Benjamin Summers
47247d86d2
Merge branch 'khrc' of github.com:urbit/urbit into ipc-redux-kh
2020-05-29 17:15:16 -07:00
~siprel
bc35ec0406
king: IPC Batching during replay and normal operation.
2020-05-29 02:14:25 +00:00
~siprel
80b905c239
king: Slogs routed to both terminal and log output.
2020-05-28 18:56:51 +00:00
~siprel
8e78266d74
king: Review and Cleanup w/ Harrison
2020-05-27 22:57:34 +00:00
~siprel
26bd5a9e4b
king: Got new IPC working, still needs lots of polish.
2020-05-26 23:01:03 +00:00
Benjamin Summers
c5896f5ea0
HasKingEnv + HasPierEnv + misc cleanup
2020-05-22 11:37:58 -07:00
Benjamin Summers
419dc03727
RIO environment cleanup.
2020-05-13 12:55:16 -07:00
Benjamin Summers
66278edd19
king: Logging cleanup.
2020-05-13 12:06:32 -07:00
Benjamin Summers
ba4b9e7fdf
king: Use same logger from all contexts.
2020-05-13 11:29:50 -07:00
Benjamin Summers
4ebf276430
king: Flags to disable HTTP/HTTPS/UDP per-ship.
2020-05-12 16:55:49 -07:00
Benjamin Summers
67245e9052
king: eyre: Got multi-tenet HTTP working.
2020-05-12 12:53:40 -07:00
Benjamin Summers
f8cd148f0e
king: eyre: Hooked up multi-tenet HTTP. Start-up is a bit hacky. Still totally untested.
2020-05-12 12:04:46 -07:00
Benjamin Summers
eec02ebaa3
king: CLI parsing for ship-shared HTTP(S) server.
2020-05-05 10:29:31 -07:00
Benjamin Summers
e56e538ff3
Correctly shutdown on SIGTERM/SIGINT (fixing bad exception handling code).
2020-05-01 15:32:08 -07:00
Benjamin Summers
80d900d542
king: First stab at handling ship crashes gracefully.
2020-05-01 14:42:05 -07:00
Benjamin Summers
5bc5819a62
king: Support running multiple ships at the same time.
2020-04-30 14:51:28 -07:00
Benjamin Summers
43118dbae3
king: Command Line Parsing for multi-tenet king.
2020-04-30 14:21:24 -07:00
Benjamin Summers
2dc97293cc
king: Add command-line flags to configure HTTP and HTTPS ports.
2020-03-04 19:13:21 -08:00
Benjamin Summers
957c0da9bb
king: Terminal input line wasn't being shown b/c line buffering.
2020-02-20 14:41:07 +04:00
Benjamin Summers
e1f6db7250
king: Remove TERMINFO_DIRS hack.
2020-02-20 14:41:07 +04:00
Isaac Visintainer
98fa24908a
fix progress bar in daemon mode
2020-02-03 17:27:16 -08:00
Isaac Visintainer
e25d30163d
Merge branch 'king-haskell' of https://github.com/urbit/urbit into king-auto-connect
2020-02-03 14:23:44 -08:00
Benjamin Summers
05e64cfdf0
Merge branch 'king-haskell' of https://github.com/urbit/urbit into philip/king-replay
2020-01-25 14:18:33 -08:00
Philip Monk
18a279aeaf
king: style improvements
2020-01-24 16:25:49 -08:00
Benjamin Summers
c40a02b044
king: Build without warnings.
2020-01-23 22:23:43 -08:00
Benjamin Summers
dd29419f41
Merge branch 'king-haskell' into philip/king-replay
2020-01-23 21:47:06 -08:00
Benjamin Summers
ba3f631617
Merge branch 'king-haskell' into king-auto-connect
2020-01-23 21:37:51 -08:00
Benjamin Summers
6977ae8d3f
Renamed modules Ur.** to Urbit.** to be consistent with urbit-{atom,hob}
2020-01-23 21:28:38 -08:00