Commit Graph

16736 Commits

Author SHA1 Message Date
Fang
21ac0e513b
hoon: parse =; without face
Allows for =;([a=@ b=@] ...) and similar constructions.

Also affects =/ and =^.
2019-12-21 14:20:11 -03:30
Jared Tobin
0c4544a6fc
meta: add a basic maintainers' guide [ci skip] 2019-12-21 13:44:01 -03:30
Fang
d95bf0aa11
Merge pull request #2128 from urbit/m/chat-cli-reconnect
chat-cli hotfix: reconnect to chat-store when appropriate
2019-12-21 13:32:24 +01:00
Fang
4798b9df1f
chat-cli: reconnect to chat-store on-kick
Also reconnects on-load, if no chat-store subscription appears to be
open. This should resolve any current disconnects.
2019-12-21 13:02:33 +01:00
Fang
c814114d93
chat-cli: add trace printf for tuba crashes 2019-12-21 12:59:45 +01:00
Fang
5cd8d98dd6
chat-cli: don't pass mark into +poke-noun 2019-12-21 12:58:22 +01:00
Ted Blackman
895f1c069d ames: update comment docs 2019-12-21 01:56:51 -05:00
Fang
9f18877c0a
link: rudimentary comments
As of yet largely untested. The "urls in paths" might bring trouble.
2019-12-21 00:52:09 +01:00
Jared Tobin
103e375417
Merge branch 'ford-safe' (#2117)
* origin/ford-safe:
  ford: clear build results on +load

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-20 13:22:23 -03:30
Fang
beb783808c
link-proxy-hook: correctly use wire vs path 2019-12-20 16:02:09 +01:00
Fang
8a0baed192
link: %add -> %save 2019-12-20 15:58:32 +01:00
Jared Tobin
e1df5545e5
Merge branch 'matilde/chat-name-validation' (#2116)
* origin/matilde/chat-name-validation:
  chat: validate chat names

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-20 10:44:30 -03:30
Jared Tobin
ee0de1a657
Merge branch 'm/clay-u' (#2119)
* origin/m/clay-u:
  clay: implement %u care

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-19 14:09:52 -03:30
Jared Tobin
eee651042c
Merge branch 'm/eth-sending' (#2094)
* origin/m/eth-sending:
  eth-sender: do proper nonce reading
  zuse: implement eth rlp decoding
  zuse: correctly encode leading zeroes in rlp data
  zuse: lightly restructure encode:rlp:ethereum
  static gall: update send-txs
  ethio: implement +request-batch-rpc-loose

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-19 11:20:06 -03:30
Jared Tobin
5591987eac
meta: update .mailmap [ci skip] 2019-12-19 08:49:40 -03:30
Fang
3808f02287
clay: implement %u care
Previously, it would always produce ~, regardless of the path asked
about.

Now, it produces a loobean, based on whether or not a file exists at the
specified path.
2019-12-18 21:02:38 +01:00
Fang
626f6abfce
link-server-hook: serve static app files from clay
Any requests that aren't explicitly defined endpoints try to load
content from clay instead, but only for html, css and js files.

Depends on #2119.
2019-12-18 20:35:50 +01:00
Jared Tobin
9b0582323c
Merge branch 'philip/eth-watcher' (#2113)
* philip/eth-watcher:
  ph: fix tests by spamming blocks regularly
  gaze: reflect changes to eth-watcher
  ames: better printfs
  jael: only advance lifes
  jael: stop ship-to-ship
  jael: add "eager" mode to avoid hitting nodes as much
  jael: properly store ship sources
  gen: add +azimuth-sources
  jael: re-enable ship-to-ship communication
  eth-watcher: actually stop pending thread when restarting

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-18 12:13:27 -03:30
Philip Monk
1a7658bd91
ph: fix tests by spamming blocks regularly 2019-12-18 11:53:36 -03:30
Fang
b6f97da2d7
link-server-hook: expose submissions json endpoint 2019-12-18 16:19:03 +01:00
Philip Monk
de2d0f3014
gaze: reflect changes to eth-watcher 2019-12-18 11:38:56 -03:30
Philip Monk
0e876b3cd4
ames: better printfs 2019-12-18 11:31:17 -03:30
Philip Monk
3d30b3b73c
jael: only advance lifes
This matches the semantics of rifts and makes it more forgiving of
misordered updates.
2019-12-18 11:31:14 -03:30
Philip Monk
16d98e5eda
jael: stop ship-to-ship 2019-12-18 11:19:41 -03:30
Philip Monk
18c3e7253b
jael: add "eager" mode to avoid hitting nodes as much 2019-12-18 10:58:00 -03:30
Philip Monk
15bd35301e
jael: properly store ship sources 2019-12-18 10:42:57 -03:30
Philip Monk
7706ed6a0c
gen: add +azimuth-sources 2019-12-18 10:41:39 -03:30
Jared Tobin
52ccee369a
Merge branch 'bh/image-pills' (#2118)
* origin/bh/image-pills:
  build: allow baking multiple pills into docker images

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-18 10:09:23 -03:30
Jared Tobin
0fadd88986
contributing: use alternative rebase tutorial [ci skip] 2019-12-18 08:29:22 -03:30
Brendan Hay
122e01b13d
build: allow baking multiple pills into docker images
By baking (potentially) multiple pills into an image, we can provide
mainnet vs ropsten images. It is still up to the operator to pass
along the pill path(s) to the entrypoint. For example, using Docker:

docker run --tty urbit -B /share/brass.pill -J /share/ivory.pill ...

The main .image attribute still uses only the solid pill, and image-ropsten
has been provided with brass and ivory pills.

Additionally herb has been added to the image for convenience.
2019-12-18 12:02:18 +01:00
Jared Tobin
38eefb30cb
Merge branch 'bh/image-cleanup' (#2102)
* origin/bh/image-cleanup:
  build: trimming unnecessary image configuration

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-18 05:54:44 -03:30
Philip Monk
666645cee5
Merge pull request #2115 from urbit/philip/ames-ordered-boons
ames: handle misordered crashing boons
2019-12-17 23:27:42 -08:00
Matilde Park
e2cfcafc92 chat: validate chat names
Add a regex check for non-lowercase, non-slash, non-hyphen characters,
or numerals, and a quick check for starts-with-slashes, double-slashes,
to a boolean before creating a chat at that path.
2019-12-18 00:53:18 -05:00
Ted Blackman
9fb37543ec ford: clear build results on +load 2019-12-18 00:25:27 -05:00
Philip Monk
7ca3d9624e
ames: handle misordered crashing boons
Two bugs fixed here: first, if the %done reentrancy triggered another
%boon, that wasn't getting translated to a %lost, even though it could
have been the reason the event crashed in the first place.

Second, the %done reentrancy needs to happen after we emit our move, so
that we don't invert the order of the %boon's we produce.
2019-12-17 20:58:30 -08:00
Philip Monk
e5ac690fd3
jael: re-enable ship-to-ship communication
Also fix bug in eth-watcher that didn't cancel outstanding threads when
config changes.

And set default rift for ourselves to 0.
2019-12-17 16:14:07 -08:00
Philip Monk
e88f91f3b2
eth-watcher: actually stop pending thread when restarting 2019-12-17 16:14:02 -08:00
Philip Monk
a64e516fc5
Merge pull request #2098 from urbit/philip/eyre-quiet
eyre: turn sigpam into flog
2019-12-17 15:54:16 -08:00
Fang
9f47874760
link-server-hook: remove obsolete workaround
The "no-data bug" in eyre was fixed prior to the 0.10.0 release.
2019-12-17 23:32:41 +01:00
Joe Bryan
a87daabf77
Merge pull request #2096 from urbit/malloc-consistency
vere: dynamic allocation cleanup
2019-12-17 12:58:35 -08:00
Joe Bryan
1cf8e6e640 vere: plug leak in worker args 2019-12-16 11:59:04 -08:00
Joe Bryan
0162379f62 worker: plug leak in event tracing 2019-12-16 11:59:04 -08:00
Joe Bryan
e9f3aa19ef vere: free curl response buffers after use 2019-12-16 11:59:04 -08:00
Joe Bryan
e9b1b22a6e vere: plugs a leak on the "boothack" command socket connection
but more work is needed to fully close and cleanup
2019-12-16 11:59:04 -08:00
Joe Bryan
dc5e5f38a7 test: free malloc'd structures in tests 2019-12-16 11:59:04 -08:00
Joe Bryan
73ad2c543f vere: consistently use c3 malloc/free wrappers 2019-12-16 11:59:03 -08:00
Joe Bryan
2f6d512248
Merge pull request #2101 from urbit/http-respond-safe
vere: fix use-after-free in http responses
2019-12-16 11:46:58 -08:00
Brendan Hay
249c02fe9f
build: trimming unnecessary image configuration 2019-12-16 09:20:28 +01:00
Joe Bryan
4691fa2a8d vere: plugs leak of http response headers 2019-12-14 23:26:24 -08:00
Joe Bryan
01470355d1 vere: fix use-after-free in closing/canceling http request 2019-12-14 18:25:43 -08:00