Commit Graph

409 Commits

Author SHA1 Message Date
Joe Bryan
592b51e590 forward-ports http-config management to %rver 2019-03-20 22:28:32 -07:00
Joe Bryan
84bc3ad4a3 fixes namespacing in http header gates 2019-03-20 17:06:45 -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
d8d83fca40 Changed the generator interface so a generator can redirect and set headers. 2019-03-20 15:19:36 -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
Joe Bryan
5f8280c6f0 handles %crud in %lient and %rver 2019-03-13 13:34:25 -07:00
Joe Bryan
c74e17bdcd restores +bale:eyre so oauth libs and sec-drivers compile 2019-03-12 18:28:47 -07:00
Joe Bryan
f9ba9bfd6e adds |mass to %lient and %rver 2019-03-12 18:13:25 -07:00
Elliot Glaysher
5da8c8bdf3 Finish cancelation cases and add tests. 2019-03-05 13:43:36 -08:00
Fang
bcdd6e60d6 Support eth_getBlockByNumber Ethereum RPC call 2019-03-04 22:32:47 +01:00
Fang
436eeeb32b Implement +from-unix for turning timestamps into @da 2019-02-28 21:22:38 +01:00
Fang
9b0fbb3444 Point to the correct topics when decoding Azimuth events 2019-02-26 21:48:24 +01:00
Fang
16c5bf8b25 Be accurate in incoming/hoon-side structures also 2019-02-21 22:28:57 +01:00
Fang
2ea2245f97 More accurately represent Ethereum RPC filter topics
Rather than a flat list of topics to watch for, it is an indexed list
of topics to watch for in those specific positions. As such, items in
that list may also be zero (null, matches any topic), or a list of
topics (matches any one of those topics).

Additionally, topics are always specified using 32 bytes, so there is
no need to specify length explicitly.
2019-02-21 13:26:23 +01:00
Philip Monk
3e29612bf6
add |bonk and flop ames timer order 2019-02-16 10:42:09 -08:00
Elliot Glaysher
67cc76a486 Change the interface, since apps shouldn't need to have two arms for progress. 2019-02-15 15:44:00 -08:00
Elliot Glaysher
be4bcc9698 Change the %lient interface to have one output type. 2019-02-15 12:00:10 -08:00
Elliot Glaysher
8d9d7419ae Start ripping out %eyre. 2019-02-14 14:58:44 -08:00
Elliot Glaysher
c732e49496 Make %jael use %lient instead of %eyre 2019-02-14 14:25:33 -08:00
Elliot Glaysher
8870b1a820 Must add %l and %r to the list of tasks and gifts. 2019-02-12 13:34:19 -08:00
Elliot Glaysher
aefcea5328 Bootable and Dojo can issue +http requests. But no vere support yet. 2019-02-11 14:41:50 -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
Elliot Glaysher
8075a43380 We shouldn't use (unit) as an implicit cancelation. 2019-02-06 15:09:46 -08:00
Joe Bryan
e603aef6b5 Merge branch 'hotfix' into next
* hotfix:
  ensures $~ defaults nest in the actual structure
  behn: ignore duplicate %wait requests (#1043)
  restores +able:dill comment margin
  renames kernel upgrade initialization event from %vega to %lyra
  refactors arvo's +spam:is, which sends a move to every vane
  refactors effect iteration in arvo +poke
  updates arvo/vanes to send/receive %vega kernel upgrade notification
  build tank outside of |.
2019-02-05 18:42:19 -05: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
9e8ffb29ce
Merge pull request #1054 from urbit/dude-remove-trap
Remove trap from %dude in ford
2019-02-05 11:24:38 -08:00
pilfer-pandex
ce7d0dde82 Remove trap from %dude in ford 2019-02-04 16:58:22 -08:00
Fang
371f337539 Provide better affordances for json-rpc requests
Includes a type for rpc requests, and functions for turning those
into more actionable types (json, hiss).
2019-02-03 21:19:31 +01:00
Joe Bryan
e9dd864236 restores +able:dill comment margin 2019-02-01 15:07:31 -05:00
Joe Bryan
1dd30334af renames kernel upgrade initialization event from %vega to %lyra 2019-02-01 15:07:31 -05:00
Joe Bryan
690934a6fc updates arvo/vanes to send/receive %vega kernel upgrade notification 2019-02-01 15:07:26 -05:00
Ted Blackman
09b02bff3b Merge branch 'master' into next 2019-01-30 18:11:44 -08:00
Ted Blackman
52b750daa5 fix +has:in types in zuse 2019-01-29 16:42:15 -08:00
Ted Blackman
611b9261b8 jael |mass
some fixes

also ask jael
2019-01-29 16:33:38 -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
Elliot Glaysher
46a23a970a Merge remote-tracking branch 'origin/release-candidate' into lighter-than-eyre 2019-01-16 10:21:49 -08:00
Philip Monk
649ad1951e
Merge pull request #1000 from urbit/philip/qol
Quality-of-life improvements for %jael
2019-01-15 16:59:15 -08:00
Philip Monk
85d4328613
add ability to restore from snapshot on-demand 2019-01-15 16:33:17 -08:00
Isaac Visintainer
2a9db8c76b let pass-from-eth not return a unit 2019-01-15 15:10:53 -08:00
Ted Blackman
4ee150a425
take list of stars to mine a comet (#980) 2019-01-11 18:31:48 -08:00
Joe Bryan
cf0ce08f01 removes +life from %bond +meal (to fix nacks) 2019-01-11 16:55:27 -05:00
Philip Monk
54b1fb9dfb
Merge pull request #973 from urbit/philip/mainnet-fixes
Reduce ++hard usage in jael for speed
2019-01-10 16:26:17 -08:00
Philip Monk
be296f6897
skip json-rpc-response mark 2019-01-10 16:17:03 -08:00
Philip Monk
ba9bf4f031
reduce ++hard usage in jael for speed 2019-01-10 15:49:37 -08:00
benjamin-tlon
bf78d3a343
Type Printer Integration (#970)
Moved plum/plume/xray/pprint into the kernel, made it accessible from the dojo, and did a bit of cleanup.
2019-01-10 15:29:58 -08:00
Elliot Glaysher
727cdbda1c Merge remote-tracking branch 'origin/release-candidate' into lighter-than-eyre 2019-01-02 11:57:31 -08:00