Commit Graph

212 Commits

Author SHA1 Message Date
Joe Bryan
d33dd9fc60 adds new :dns apps (client and "collector"), moves old to :dns-bind 2019-06-26 10:43:14 -07:00
Joe Bryan
a2d1de4573 Merge branch 'master' into lighter-than-eyre
* master: (84 commits)
  Add full stops to README list.
  Fix mailto link in README
  Update Contributing in README and remove Landscape info
  fix hoon nest: make %iron different from %zinc
  fixes :acme retry on "bad-nonce" error
  Fix indentation.
  joe's fix for issue #1287 in gall
  rejects automatic %peer /sole from lib/drum
  adds +handle-peek for lib/tapp namespace reads
  adds +handle-init to lib/tapp for an optional "boot" transaction
  trad -> async
  fix fang's suggestions
  rename apps
  Replace errant nets-need with nest-need.
  fixes (trivial) jet mismatch in +mas
  calls +qeu treap-order validation in mold with $|
  adds (failing) +qeu mold test
  adds +tap:to treap-order validation arm
  adds tests for +set and +map mold clams
  calls map/set treap-order validation arms in molds with $|
  ...
2019-06-19 11:09:53 -07:00
Elliot Glaysher
f30a662cf2 Change host matching so ~ will match any inbound. 2019-06-03 14:34:01 -07:00
Joe Bryan
bdd5f96cbf adds (failing) +qeu mold test 2019-05-29 14:16:41 -07:00
Joe Bryan
6fee79fbf8 adds tests for +set and +map mold clams 2019-05-29 13:41:22 -07:00
Joe Bryan
a32e8a3def updates %jael +note/+sign to reference other vanes with $> 2019-05-26 13:38:23 -07:00
Philip Monk
cba357f5ea
add paths to notes for documentation 2019-05-16 11:50:13 -07:00
Philip Monk
4a569c4a79
fix tests 2019-05-13 23:18:52 -07:00
Joe Bryan
b3a9fad26c Merge branch 'next' into lighter-than-eyre
* next: (133 commits)
  tweaks %crud error printing in %dill
  adds top-level arvo error notification event %warn
  Explicitly note %install-from-clay as temporary
  four minute ping to eth
  mainnet azimuth
  slow
  travis
  travis
  renames
  travis
  add docs for ph monad
  remove non-monadic ph tests and organize
  port ph tests to monadic style
  wrappable eth node mock
  Implement installing certs from clay using %acme
  Implement %pem mark
  Revert "add =%"
  add ;<
  add ;<
  wip
  ...
2019-05-08 15:49:21 -07:00
Isaac Visintainer
c04d06f905 reverted nap:to bugfix because we depend on its brokenness 2019-04-13 15:31:48 -07:00
ixv
da126f6ea6
Merge branch 'master' into next 2019-04-03 11:18:03 -07:00
Jose L. Bellod Cisneros
346aa84536 removes unnecessary welps 2019-03-31 07:16:36 +02:00
Jose L. Bellod Cisneros
697a69ff4b unit tests for +qeu fix 2019-03-30 19:51:02 +01:00
Joe Bryan
7edb65a5d3
Merge pull request #1125 from urbit/lte-dns
lighter-than-eyre/:dns app integration (manual oauth)
2019-03-29 10:51:20 -07:00
Joe Bryan
8af52772cc adds manual oauth2 to :dns (for |gcloud provider) 2019-03-28 13:13:46 -07:00
Elliot Glaysher
49dfb2d1bd Make %light handle multiple subscriptions on the same path.
Some applications make multiple subscriptions to the same app on the
same path. Support this by changing the subscription interface to return
a numeric reference which needs to be passed in during the explicit
unsubscribe, and ensure that we send per-subscription instead of
per-path unsubscribe commands to Gall.
2019-03-26 15:52:32 -07:00
Elliot Glaysher
d6a3899b0b Centralize error pages in one gate and support 403 on unauthenticated. 2019-03-21 13:59:03 -07:00
Joe Bryan
b551e16c33 Merge branch 'lighter-than-eyre' into light-integration
* lighter-than-eyre:
  Actually have a 400 Bad Request page instead of reusing the 500 page incorrectly.
  Changed the generator interface so a generator can redirect and set headers.
  can't wake up
  A %coup failure from gall should return a 500 to the client.
2019-03-20 16:39:19 -07:00
Elliot Glaysher
9cdfc84553 Actually have a 400 Bad Request page instead of reusing the 500 page incorrectly. 2019-03-20 16:00:46 -07:00
Elliot Glaysher
d8d83fca40 Changed the generator interface so a generator can redirect and set headers. 2019-03-20 15:19:36 -07:00
Elliot Glaysher
49319a5a7e A %coup failure from gall should return a 500 to the client. 2019-03-19 13:38:18 -07:00
Jared Tobin
ac313d0f71
Add additional tests for +ob.
Added a few previously-known-to-conflict cases to tests that were
missing them.
2019-03-19 20:00:57 +13:00
Joe Bryan
0fd56fec49 Merge branch 'lighter-than-eyre' into light-integration
* lighter-than-eyre:
  Actually scry for the +code and inject the code deterministically into the tests
  Having the client unsubscribe should actually unsubscribe on the server
2019-03-18 17:18:35 -07:00
Joe Bryan
cd9cd99e7b fixes :acme +prep test 2019-03-18 15:11:08 -07:00
Elliot Glaysher
324445a7d9 Actually scry for the +code and inject the code deterministically into the tests 2019-03-18 13:48:00 -07:00
Jared Tobin
dd89670846
Add a small exhaustive test for +ob.
We can test +ob exhaustively over a smaller input space; if it behaves
correctly, that gives us much greater assurance that the implementation
is correct for the full planet space.
2019-03-18 21:52:58 +13:00
Jared Tobin
6f2e067d67
Add +ob and @p aura tests. 2019-03-18 21:52:54 +13:00
Elliot Glaysher
d954b8950d Having the client unsubscribe should actually unsubscribe on the server 2019-03-15 11:25:12 -07:00
Joe Bryan
e98c379405 Merge branch 'master' into light-integration
* master: (38 commits)
  bumped ames protocol number
  landscape 3f83c798bd61b7e6cef5c4e2f7c7f3ac89d4ec09
  removed hard calls on json blobs
  Support eth_getBlockByNumber Ethereum RPC call
  added initial image support to udon parser (#1085)
  Tiebout - Apple Push Notification Server App (#1084)
  Implement +from-unix for turning timestamps into @da
  Add support to `lens-command` for pill output and optimized base64 encoding. (#1068)
  Point to the correct topics when decoding Azimuth events
  Add trailing newlines
  Use unit to disambiguate poll timer state
  Lightly re-order ++watcher core, add comments
  Implement ++peek so the app can by scried
  Remove debug pokes
  Implement %eth-watcher, an app for tracking Ethereum events
  add control flow to |verb
  Be accurate in incoming/hoon-side structures also
  More accurately represent Ethereum RPC filter topics
  also pin validate-x to now
  pin to local time because using local desk
  ...
2019-03-13 13:39:12 -07:00
Elliot Glaysher
5da8c8bdf3 Finish cancelation cases and add tests. 2019-03-05 13:43:36 -08:00
Elliot Glaysher
a12ac103f0 Add test to rver that we cancel open connections on %born. 2019-03-04 16:35:32 -08:00
benjamin-tlon
d06693dc7e
Add support to lens-command for pill output and optimized base64 encoding. (#1068)
Added support to `lens-command` for outputting a pill. We want this so that we can create (solid and brass) pills from `urb.py`.

This also adds an optimized base64 encoding routine. The previous version of base64 stack overflowed on large inputs, and a tail-recursive version took hours to encode 5mb of data. This one uses the `ripn` jet and only takes a second or two.
2019-02-27 16:12:59 -08:00
Elliot Glaysher
cd8c637b90 Change :dns and :acme over to the new %lient interfaces. 2019-02-19 15:30:36 -08:00
Elliot Glaysher
be4bcc9698 Change the %lient interface to have one output type. 2019-02-15 12:00:10 -08:00
Elliot Glaysher
c732e49496 Make %jael use %lient instead of %eyre 2019-02-14 14:25:33 -08:00
Elliot Glaysher
1d113414ed Fix unit tests and respond to vane file changes. 2019-02-12 16:45:59 -08:00
Elliot Glaysher
cdb8267caf Use the names %lient and %rver for now.
Instead of continuing to struggle with all the places in arvo where we
assume that vane names are one letter and that one letter is the first
letter of the full vane name, just use %l/lient and %r/rver for now to
finish the split of %light into a separate http client and server vane.
2019-02-11 11:44:56 -08:00
Elliot Glaysher
55afd89e09 Merge remote-tracking branch 'origin/master' into lighter-than-eyre 2019-02-08 16:50:21 -08:00
Elliot Glaysher
253ef31531 Initial split of %light into %http-server and %http-client 2019-02-08 15:03:46 -08:00
Elliot Glaysher
019cb0f8e7 Move the http client functionality to %http-client. 2019-02-08 13:16:42 -08:00
rovdyl
638afd8995 reorganize namespacing
specify eng-us region and make room for future ordinal conversion
2019-02-06 17:58:43 -06:00
rovdyl
1ae891bbb0 fix indentation 2019-02-06 17:52:56 -06:00
Elliot Glaysher
8075a43380 We shouldn't use (unit) as an implicit cancelation. 2019-02-06 15:09:46 -08:00
rovdyl
303676ce9c Merge branch 'master' 2019-02-05 22:01:03 -06:00
rovdyl
ec7c615c1e add tests 2019-02-05 20:59:24 -06:00
Elliot Glaysher
8570a8f3c9 Separate interaces into %http-server and %http-client
A repeating patern while developing was confusion over whether an
operation was inbound or outbound. By putting this into the gift
and tasks, we can avoid this: an [%http-server %request ...] is
not an [%http-client %request ...].

(This requires corresponding vere changes since it changes the
unix/vane interface.)
2019-02-05 14:05:06 -08:00
pilfer-pandex
ce7d0dde82 Remove trap from %dude in ford 2019-02-04 16:58:22 -08:00
Elliot Glaysher
6cd52154c9 Multiple event downloading passes tests. 2019-01-30 11:06:24 -08:00
Elliot Glaysher
37f978dba3 Got the first http fetch unit tests working. 2019-01-29 15:33:07 -08:00
Fang
8cd2a02f04 Remove trailing whitespace 2019-01-17 21:37:34 -08:00