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
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
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
Elliot Glaysher
f546626309
Dumping to go work on type issues.
2019-01-28 11:07:13 -08:00
Elliot Glaysher
010ee1e91d
Remove implicit +sell
...
On each wakeup during send in light, we were spending about 7ms inside
+sell. Replace that with an equivalent way of printing an integer to
a tape. We now spend about half a ms on each outbound message.
2019-01-16 15:24:30 -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
8c72d2594e
Get basic client side event acknowledging working.
2019-01-11 15:18:53 -08: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
Elliot Glaysher
f6f9c46dca
Timer demo works again, but now based on subscriptions.
...
- Resubscribes because Gall currently breaks connections after 20
messages on a subscription.
- Fixes cleanup of connections, so we don't constantly leak closed
connections into set of open connections, leading to spam cleanup
on restart of your urbit.
2019-01-10 16:35:09 -08:00
Elliot Glaysher
412a182c3e
First attempt at retargetting the %server demo onto %light channels.
...
This currently has a bunch of issues around canceling the channel, but
we have a minimal demo which is able to use Gall subscriptions from the
webpage over an EventSource.
2019-01-09 15:43:43 -08:00
Elliot Glaysher
bee2b01fb6
First test usage of the channel stuff from a real browser. Properly sends an error back.
2019-01-08 14:44:03 -08:00
Elliot Glaysher
337243dd27
Single home %light
2019-01-07 15:17:02 -08:00
Elliot Glaysher
2a0cc8a6aa
Merge remote-tracking branch 'origin/release-candidate' into lighter-than-eyre
...
This also fixes up the changes in the vane interface. We can make
a pill with this and can boot it. We can even start the %server app
and ship down a single timer event to the browser, but subsequent
events have broken in the interim; debug on Monday.
2018-12-14 16:04:13 -08:00
Elliot Glaysher
2a1b801bad
Channel cancelation works now.
2018-11-21 13:37:26 -08:00
Elliot Glaysher
ed3d7c2a0d
Cancel timers on the correct duct.
2018-11-21 10:34:22 -08:00
Elliot Glaysher
1a443599ae
First transimsission of text/event-stream from Eyre.
2018-11-20 17:06:04 -08:00
Elliot Glaysher
439e623550
Receive callback timers from behn which cancel open subscriptions.
2018-11-19 14:59:58 -08:00
Elliot Glaysher
62bb64789c
Send the right moves in response to a PUT request.
2018-11-16 14:30:23 -08:00
Elliot Glaysher
bc1c868e1b
Get things compiling, and refactor auth in tests.
2018-11-15 15:27:49 -08:00
Elliot Glaysher
7f64ac3b1f
Parse incoming requests and add tests.
2018-11-15 13:43:10 -08:00
Elliot Glaysher
98228adcbf
WIP: Commented out wip to get something wich +solid s
2018-11-15 10:27:10 -08:00
Elliot Glaysher
6514925f87
WIP: Dump so I can go fix 881.
2018-11-13 11:12:59 -08:00
Elliot Glaysher
6eebffaa25
Start filling out the request data structures.
2018-10-25 16:32:54 -07:00
Elliot Glaysher
5d12ae900a
The authenticated access flow works from an app in browser.
2018-10-24 14:31:19 -07:00
Elliot Glaysher
b6cec67bb7
Close dead connections on born.
2018-10-24 11:26:05 -07:00
Elliot Glaysher
2d5c5dddae
Cleanup our ford builds.
2018-10-23 15:08:17 -07:00
Elliot Glaysher
0965f2a50f
Now responds to http close requests; kills timer sessions.
2018-10-23 14:25:20 -07:00
Elliot Glaysher
75d1c7225e
Server side events sorta work.
2018-10-22 11:36:30 -07:00
Elliot Glaysher
b659bba171
Fix path dispatch so root generators work.
2018-10-11 11:28:27 -07:00
Elliot Glaysher
31613fcca0
First generator build ran.
2018-10-10 15:26:51 -07:00
Elliot Glaysher
e0100a32be
Now with a test on the whole dummy-generator path.
2018-10-10 11:51:52 -07:00
Elliot Glaysher
581888fe46
Fix url parser and add tests.
2018-10-03 14:05:36 -07:00
Elliot Glaysher
c733dba149
We now have an application path rendering
2018-10-03 11:36:45 -07:00
Elliot Glaysher
3048166697
Lower case http header names; it is allowed.
2018-10-01 11:37:30 -07:00
Elliot Glaysher
788b9554a5
Delivers %inbound-requests internally now, but kick: lost the http-response.
2018-10-01 11:24:16 -07:00
Elliot Glaysher
a15220a2e4
Boots with %light instead of %eyre. Stubs for system cofiguration events.
2018-09-28 11:24:41 -07:00
Elliot Glaysher
878de4ebcb
check authentication state and pass it to the app
2018-09-27 11:16:59 -07:00
Elliot Glaysher
1a9a85bd45
More complete login flow
2018-09-26 16:18:40 -07:00
Elliot Glaysher
4d7ed2c834
Send responses.
2018-09-24 11:48:19 -07:00
Elliot Glaysher
e172e601f2
Messages from %l to %g
2018-09-20 16:36:04 -07:00
Elliot Glaysher
36841a5280
Data types, basic tests, and a router.
2018-09-19 16:29:36 -07:00