Commit Graph

2145 Commits

Author SHA1 Message Date
Fang
92beeca9f0
ames: add scry endpoint for forward lane
Finds the lane for that peer, or their galaxy. Intended for use in the
runtime, to enable stateless forwarding.
2020-07-03 00:51:54 +02:00
Fang
31d776c50b
arvo: allow the empty desk (%$) in scries
+slaw fails to parse empty strings as %tas, so we special-case it here.
2020-07-01 19:54:33 +02:00
Fang
1e1bfb81b0
Merge branch 'ipc-redux' into m/stateless-forward 2020-07-01 17:08:36 +02:00
Joe Bryan
7f61b5a491 Revert "Merge pull request #3050 from urbit/m/behn-improvements"
This reverts commit ed808614aa, reversing
changes made to a6db3add83.
2020-06-26 16:24:43 -07:00
Joe Bryan
6fa194d527 Merge branch 'master' into jb/ipc-redux
* master: (147 commits)
  vere: bump version to 0.10.7
  libsigsegv: disable stack vma check
  vere: bump version to 0.10.6
  ci: add travis as trusted user
  jets: use appropriate macro
  noun: add -C to control memo cache size
  jets: restore fond/play/peek hooks
  jam: add commented-out functionality to count size of atom
  jets: cap memo cache and remove peek, play, and fond jets
  noun: add functions to count size of noun
  release: urbit-os-v1.0.23
  interface/config: fix production build
  soto: run +on-load migration once
  publish, links: restore full height
  sh/build-interface: amend for SPA
  interface/CONTRIBUTING: amend for SPA / webpack
  solid: update pill
  hood + apps: fix OTA process for feat/SPA
  hood: add version %6 for %file-server upgrade
  chat: equally size both code + s3 buttons
  ...
2020-06-26 13:33:00 -07:00
Fang
5544784591
vere: scry ames protocol version out of arvo
Instead of assuming 0. We still use 0 in the fallback case for now.
2020-06-26 20:27:53 +02:00
Fang
b224ac0878
ames: improve scry interface
No longer abuse the desk field, instead making use of the path. Reject
any scries outside of the local ship, empty desk and current time as
invalid.
2020-06-26 20:27:51 +02:00
Fang
7cc1b4f3ca
behn: optimize bounded timers scry 2020-06-25 19:25:44 +02:00
Fang
a94285208a
behn: improve scry interface
No longer abuse the desk field, instead making use of the path. Reject
any scries outside of the local ship, empty desk and current time as
invalid.

Expose ducts only under a debug endpoint, nothing else should care about
being able to inspect them.

Add scry endpoints for the very next timer (if any), and all timers up
to and including a specified timestamp.
2020-06-24 17:09:29 +02:00
Fang
f714d90b15
arvo: allow the empty desk (%$) in scries
+slaw fails to parse empty strings as %tas, so we special-case it here.
2020-06-24 16:26:32 +02:00
Isaac Visintainer
4fded00005 release: urbit-os-v1.0.23 2020-06-18 17:51:16 -06:00
Liam Fitzgerald
0ac7a75896 soto: run +on-load migration once 2020-06-18 21:47:44 +10:00
Matilde Park
a65edb52cd Merge branch 'master' into feat/spa 2020-06-17 17:12:13 -04:00
Logan Allen
08e1abb139 hood + apps: fix OTA process for feat/SPA 2020-06-17 15:51:13 -04:00
Logan Allen
eaf523e3c2 hood: add version %6 for %file-server upgrade 2020-06-17 14:27:30 -04:00
Philip Monk
1acd8fe6d6
Merge branch 'ixv/fix-chat-hook' (#3020)
* origin/ixv/fix-chat-hook:
  chat-hook: pull on store path when removing

Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-06-15 19:58:29 -07:00
Philip Monk
4e3aace970
Merge branch 'jb/aes-siv-fix' (#3013)
* origin/jb/aes-siv-fix:
  tests: updates aes-siv regression test comment
  pill: updates solid
  zuse: propagates fix to aes-128-siv and aes-192-siv as well
  Revert "test: disable aes-siv jets to demonstrate test failure"
  pill: updates solid
  zuse: fixes bug in aes-256-siv iv calculation (+s2vc:aes:crypto)
  test: disable aes-siv jets to demonstrate test failure
  test: add test case for aes-256-siv jet mismatch, observed in the wild

Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-06-15 19:57:01 -07:00
Philip Monk
9410b4f66d
arvo: +mure is taken 2020-06-15 19:34:30 -07:00
Isaac Visintainer
f0d36f6a52 chat-hook: pull on store path when removing 2020-06-15 16:01:46 -06:00
Joe Bryan
6d56a95837 tests: updates aes-siv regression test comment 2020-06-12 23:26:10 -07:00
Joe Bryan
faa4956969 zuse: propagates fix to aes-128-siv and aes-192-siv as well 2020-06-12 22:21:19 -07:00
Joe Bryan
0ddeb6526b zuse: fixes bug in aes-256-siv iv calculation (+s2vc:aes:crypto) 2020-06-12 21:34:04 -07:00
Joe Bryan
2d66e596cd test: add test case for aes-256-siv jet mismatch, observed in the wild 2020-06-12 21:26:48 -07:00
Philip Monk
4e466214e3
arvo: compile hoon/arvo in separate roads
Adds +mure to run a trap in a separate road.  This should eventually be
just a hint.

Vega was running inside a mule, but since +load was called within vega,
the new kernel was all run within the same mule, so it didn't actually
get to reclaim the space after hoon compiled.

We verified this with printfs in u3m_fall.  On the test ship (from
mainnet) which had 800MB used, vega was taking interior free space from
950MB to 450 over the course of compiling hoon, then each vane would go
from about 450 to 350 and then back to 450 once it finished (which
proves they were correctly isolated).  With this change, after hoon
compiles the free space goes back up to 950MB.  This gives us a lot more
space to compile OTAs.

We had to slightly refactor the logic for doubly-recompiling hoon, since
+mure as written produces a ?(!! _trap), and you can't find faces in the
result of the trap.  We could bake mure, but that's rather awkward.  I
wonder if there's a way to fix this as a wet gate.
2020-06-12 20:51:23 -07:00
Joe Bryan
c3557e0836 Merge branch 'master' into ipc-redux-kh
* master: (25 commits)
  travis: Fix resource exhaustion error in test build.
  travis: Separate job for Haskell on Linux + bump nix version
  gall: properly handle empty outstanding ack queue
  vere: bump version to 0.10.5
  dawn: switch default eth node
  jets: patch cleanup
  Update os1-bug-report.md
  jets: switch openssl to the loom allocator.
  serf: disable automatic |pack
  release: urbit-os-v1.0.20
  behn: fix +unset-timer
  jael: send breach notifications in order
  jael: don't notify breach on initial update to ship
  jael: look for correct wire
  vere: handle failed cue of private key file
  u3: switches GMP import assert to conditional
  u3: fixes rock:load size printf
  vere: bypass terminal logging on lmdb worker thread
  vere: prevents term.c from retrying tcsetattr() indefinitely
  jets: jet decryption of aes-siv mode.
  ...
2020-06-11 19:07:13 -07:00
Logan Allen
3d3ab7e178 weather: better error printing 2020-06-11 20:15:32 -04:00
Logan Allen
3ba4c14deb landscape-js: make clock and weather load data properly 2020-06-11 16:44:59 -04:00
matildepark
60b5fe658f
Merge pull request #2995 from urbit/lf/drum-file-server-order
drum: add %file-server to boot priority
2020-06-10 13:45:47 -04:00
matildepark
deda6722a0
Merge pull request #2998 from urbit/lf/eyre-chat-view
chat-view: bind eyre in ++on-init
2020-06-10 13:45:34 -04:00
Liam Fitzgerald
daaf9201ae contact-hook: fix /~/default poke
We don't maintain a synced entry in the state for /~/default, so ignore
the synced check if modifying the /~/default contacts.
2020-06-10 13:14:25 +10:00
Liam Fitzgerald
4f1711a02f chat-view: bind eyre in ++on-init
chat-view bound to eyre in ++on-load but not in ++on-init, causing
freshly booted ships to be unable to access chat backlog
2020-06-10 12:54:10 +10:00
Liam Fitzgerald
900da34fa9 drum: add %file-server to boot priority
File server needs to be started with priority in order to ensure the
-view apps can poke it, regardless of set ordering.
2020-06-09 13:02:24 +10:00
Philip Monk
c68b0e817a
gall: properly handle empty outstanding ack queue
Fixes #2977
2020-06-05 17:05:22 -07:00
matildepark
c9986074b7
Merge pull request #2979 from urbit/lf/publish-alignment
publish: fix store reducers
2020-06-05 14:19:00 -04:00
Matilde Park
c7717fdcc5 groups: group detail tiles use ~landscape imgs 2020-06-05 13:11:13 -04:00
Liam Fitzgerald
335e4479a1 publish: fix store reducers 2020-06-05 12:12:11 +10:00
Liam Fitzgerald
976da56ced Merge branch 'origin/lf/get-eyre-redirect' into feat/spa 2020-06-05 11:11:37 +10:00
Matilde Park
9440392777 drum: remove 'invite-view' 2020-06-04 17:48:48 -04:00
Logan Allen
8e1aeefdbb invites: fixed %initial 2020-06-04 17:39:53 -04:00
Logan Allen
7fc2d39029 chat: fix %initial response and metadata reducer 2020-06-04 17:24:28 -04:00
Liam Fitzgerald
b553d57c29 eyre: 303 redirect on successful login
Changes the HTTP status code of the redirect that occurs upon a
successful login from 307 to 303. 307 preserves the method of the
original request, so the redirected request is a POST. With the new SPA,
this causes a 404 as app/file-server validates the method of the
request, something that did not happen in earlier versions of landscape.
303 instead changes the method to always produce a GET request.
2020-06-04 15:09:00 +10:00
Logan Allen
d1d417fb22 chat-view: fix issues from merge 2020-06-01 14:34:32 -04:00
Logan Allen
b8525c7915 file-server: fix issues from merge 2020-06-01 14:28:05 -04:00
Logan Allen
b863dca773 apps: more merge fixes for chat and publish 2020-06-01 14:17:14 -04:00
Logan Allen
8a3d0adb57 publish / chat-store: fix merge issues 2020-06-01 14:07:28 -04:00
Logan Allen
d46b4d57a5 contact-view: remove unnecessary state 2020-06-01 14:02:13 -04:00
Logan Allen
11bc29111c apps: made sure on-init case was covered in all apps, improved on-load 2020-06-01 14:02:13 -04:00
Logan Allen
3cdc47b02a file-server: updated style 2020-06-01 14:02:13 -04:00
Logan Allen
71d0b1a6c0 apps: individual apps send their %serve-dir poke 2020-06-01 14:02:13 -04:00
Logan Allen
9b5c93d2f1 file-server: renamed to file-server 2020-06-01 14:02:12 -04:00