Commit Graph

193 Commits

Author SHA1 Message Date
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
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
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
Elliot Glaysher
49d43ff11b Fix event queue and add end-to-end test of the channels, including retry logic. 2019-01-16 14:58:07 -08:00
Elliot Glaysher
831d7f25b3 Fix tests that broke due to mug order change. 2019-01-16 11:37:02 -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
c223f6f3ce
fix test 2019-01-15 15:42:54 -08:00
Joe Bryan
990c548d4d removes hardcoded-url in :acme tests 2019-01-14 21:44:37 -05:00
Joe Bryan
a7aa4412b4 fixes :acme tests 2019-01-14 15:32:25 -05:00
Joe Bryan
a9c59220c6 fix %hiss request in :acme unit tests 2019-01-13 22:16:57 -05:00
Elliot Glaysher
3dd4dde8ec Don't use ~(nap to ...). I must be using it wrong; it produces wrong answer sometimes. 2019-01-11 14:15:17 -08:00
Joe Bryan
177a48e2d0
Merge pull request #965 from urbit/murmug
switch +mug hash from FNV to Murmur3
2019-01-09 01:47:49 -05:00
Joe Bryan
1d2f2ff36a switch +mug to murmur3 2019-01-08 22:07:01 -05:00
Joe Bryan
704cb83f19 fixes tests by updating literal data structures 2019-01-08 19:56:07 -05:00
Joe Bryan
47d6b95edd renames +mum to +mur 2019-01-07 23:47:01 -05:00
Joe Bryan
e654097a24 adds simple tests for +muk and +mum 2019-01-07 23:47:01 -05:00
Isaac Visintainer
7629c7b212 - Accept DMs and chat invites on the backend
- Added seperate structure for DM messages in collections
- Added another print to hall
2019-01-07 19:47:15 -08:00
Isaac Visintainer
1af9c5a328 started tests 2019-01-07 19:44:51 -08:00
Elliot Glaysher
31845cd3af Single home the unit tests, too. 2019-01-07 15:36:00 -08:00
Elliot Glaysher
727cdbda1c Merge remote-tracking branch 'origin/release-candidate' into lighter-than-eyre 2019-01-02 11:57:31 -08:00
Fang
fa40e035f8 Update tests for sponsor changes 2018-12-21 17:39:30 +01:00
Fang
2817c06398 Merge 'release-candidate' into azimuth 2018-12-18 11:05:22 +01:00