Commit graph

327 commits

Author SHA1 Message Date
Tobe O
decd4b56e7 Formatting 2019-11-22 08:29:56 -05:00
Tobe O
f081a4a515 Fix HookedService type error 2019-11-22 08:20:00 -05:00
Tobe O
94c37e103c No-expose controller tests 2019-10-12 10:56:24 -04:00
Tobe O
673754ac84 deserializeBody test 2019-10-12 10:22:36 -04:00
Tobe O
564310baca Merge branch 'master' into experimental 2019-10-12 10:04:13 -04:00
Tobe O
4e792e4c34 Use pretty_logging 2019-10-12 09:57:59 -04:00
Tobe O
6d71707673 Use ThrowingReflector 2019-10-12 09:53:16 -04:00
Neel Kamath
5312741c73
Update serialize() docs for Angel v2 2019-10-06 09:06:01 +05:30
Axel LE BOT
b58172ba60 Edit Expose doc 2019-07-27 12:09:50 +02:00
Axel LE BOT
e2b5d4f135 Edit Controller.configureRoutes doc 2019-07-27 12:08:07 +02:00
Tobe O
e23fd2369f 2.0.4+1 (configureRoutes) 2019-07-25 22:45:47 -04:00
thosakwe
650cf208fc Expose-less ctrl done 2019-07-17 15:48:02 -04:00
thosakwe
0a9b5c118f optional expose 2019-07-17 15:26:34 -04:00
thosakwe
91bc517b1f decode+deserialize body 2019-07-17 15:05:51 -04:00
thosakwe
2fdfb848f0 Hostnamerouter done 2019-07-17 14:57:51 -04:00
thosakwe
ac71ffad0f Hostname syntax parser 2019-07-17 13:47:30 -04:00
thosakwe
5ba849d9b1 Add allowHttp1 2019-07-17 13:20:20 -04:00
Tobe Osakwe
bf1ad66b56
Merge pull request #239 from davidosborn/master
Accept any content type if accept header is missing
2019-07-08 20:21:31 -04:00
Todd Volkert
f83a874944 Prepare for upcoming Dart SDK breaking change
The SDK recently updated `BytesBuilder.takeBytes()` and
`BytesBuilder.toBytes()` to return `Uint8List` rather than
`List<int>`.

A similar change has updated `File.openRead()` to return
`Stream<Uint8List>` and `HttpClientResponse` to implement
`Stream<Uint8List>`.

This change makes the corresponding update in the angel framework.

https://github.com/dart-lang/sdk/issues/36900
2019-07-07 08:58:41 -07:00
David Osborn
25c6ded16f Accept any content type if accept header is missing. 2019-06-30 23:15:20 -03:00
Tobe O
f2b6ab69e2 bump to 2.0.3 2019-06-06 12:17:32 -04:00
Tobe O
5eef432e2a Curly brace fixes... 2019-06-06 10:37:27 -04:00
Tobe O
d0e765dcd4 +1 2019-05-31 16:24:13 -04:00
Tobe O
97d52a6984 Split Controller.configureServer 2019-05-30 23:57:09 -04:00
Tobe O
07d1ce0944 Make ResponseContext *explicitly* implement StreamConsumer 2019-05-30 23:52:07 -04:00
Tobe O
49942cc841 curly braces in control flow 2019-05-30 23:49:00 -04:00
Tobe O
e57de0bd04 unnecessary new/const removal 2019-05-02 18:48:31 -04:00
Tobe O
1ed6736257 Call RequestContext.close in Driver.sendResponse. 2019-05-02 18:46:07 -04:00
Tobe O
28b6f84051 Fix 404 hole 2019-05-02 18:37:32 -04:00
Tobe O
e692f27972 2.0.0-rc.10 2019-04-28 13:44:47 -04:00
Tobe O
0420046d7e Fix up hooked service 2019-04-25 22:24:15 -04:00
Tobe O
3202329490 Bump to 2.0.0-rc.8 (patch remove all) 2019-04-20 15:04:59 -04:00
Tobe O
5e1004f7a8 2.0.0-rc.7 2019-04-20 12:22:52 -04:00
Tobe O
0bb19fe7bc Readdata for map and anon 2019-04-20 12:15:09 -04:00
Tobe O
2004877696 Make redirects + download async 2019-04-19 03:46:44 -04:00
Tobe O
1c07aa5243 apply pkg:pedantic lints 2019-04-17 15:42:24 -04:00
Tobe O
3a9bd27d6d fix async resolutions 2019-04-17 15:34:30 -04:00
Tobe O
ef8e343ccd 2.0.0-rc.5 2019-04-17 12:41:59 -04:00
Tobe O
09ff68f5ad 2.0.0-rc.4 (async injections) 2019-04-17 11:15:46 -04:00
Tobe O
106a5683dd Fix MapService.modify 2019-04-11 13:44:09 -04:00
Tobe O
1ba5ffd167 Bump to 2.0.0-rc.2 2019-04-11 11:54:46 -04:00
Tobe O
13538b5ddb Prevent "add" after "close" on stream, 2.0.0-rc.1 2019-04-11 10:34:13 -04:00
Tobe O
d210456d44 Formatting + pedantic 2019-04-10 22:37:05 -04:00
Tobe O
53b47dd43f Replace as Data cast in Service.dart with a method that throws a 400 on error 2019-04-10 22:26:43 -04:00
Tobe O
3802668cfc Add parse ID tests 2019-04-10 19:05:53 -04:00
Tobe O
47261f0a08 resolveInjection supports named injections 2019-04-10 19:01:04 -04:00
Tobe O
efbb09169a Body parsing tests; allow setting body ONCE 2019-04-10 13:52:45 -04:00
Tobe O
a4fd32581b Port to using angelEnv 2019-04-08 19:03:35 -04:00
Tobe O
ef45d98a45 Add warning when no reflector is given 2019-04-08 18:51:22 -04:00
Tobe O
62709c0bbd Make getAnnotation generic 2019-04-08 15:53:07 -04:00