Commit graph

292 commits

Author SHA1 Message Date
Tobe O
b1d685797e MapService -> <String, dynamic> 2018-10-19 12:54:05 -04:00
Tobe O
c63cb41dfe Test findHookedService, etc. 2018-09-12 00:29:53 -04:00
Tobe O
ce45ef47e5 waterfall -> chain 2018-09-12 00:17:50 -04:00
Tobe O
f3481cc227 Add generics to hooked service listeners 2018-09-11 16:34:29 -04:00
Tobe O
7e2afed853 Added generic to Routable.use 2018-09-11 16:25:07 -04:00
Tobe O
20c6aedaa3 Add <Id, Data> 2018-09-11 16:14:31 -04:00
Tobe O
c6fe31310a Formatting 2018-08-28 09:55:51 -04:00
Tobe O
a212bab74f Response detachment test 2018-08-28 09:55:39 -04:00
Tobe O
be521dcd7f Added HttpResponseContext.detach 2018-08-28 09:48:55 -04:00
Tobe O
fdd1ca16c9 Added ResponseContext.detach 2018-08-28 09:47:03 -04:00
Tobe O
9dd355a4c5 All tests pass 2018-08-21 14:50:43 -04:00
Tobe O
4017bc1682 dart:mirrors is completely gone from Angel 2018-08-21 10:28:53 -04:00
Tobe O
edcbf9f639 Default to const EmptyReflector() 2018-08-21 10:22:41 -04:00
Tobe O
6822657f26 ioc uses executeHandler 2018-08-20 22:44:32 -04:00
Tobe O
2b1a548cf9 Remove releaseCOrrespondingRequest 2018-08-20 21:57:26 -04:00
Tobe O
15e5cef691 Remove ResponseContext.dispose 2018-08-20 21:45:33 -04:00
Tobe O
582227f99e Make LockableBytesBuilder public 2018-08-20 21:32:28 -04:00
Tobe O
4d980b8e49 ResponseContext.isBuffered 2018-08-20 21:27:39 -04:00
Tobe O
f8bca542c4 Catch sync errors when using zone 2018-08-20 21:12:12 -04:00
Tobe O
340b08da1b Add flags to Angel constructor 2018-08-20 21:05:05 -04:00
Tobe O
ecb15293a9 Routable.use only accepts a Service 2018-08-20 20:53:44 -04:00
Tobe O
306549dd53 Starts up, but is broken 2018-08-20 16:58:37 -04:00
Tobe O
81745ebef5 Removed debug property 2018-08-20 16:53:30 -04:00
Tobe O
bf9e297a92 Move all existing handlers to (req, res) or IoC-based 2018-08-20 16:43:38 -04:00
Tobe O
3c37747f07 Force all handlers to (req, res) { ... } 2018-08-20 16:21:06 -04:00
Tobe O
b9127251a6 Remove usage of removed symbols 2018-08-20 16:00:18 -04:00
Tobe O
3e62d1d31f Implement HttpReqCtx.container 2018-08-20 15:55:44 -04:00
Tobe O
cfc5991fff Remove req.inject 2018-08-20 15:52:44 -04:00
Tobe O
a814e3d1a7 waterfall now only accepts RequestHandler 2018-08-20 15:50:29 -04:00
Tobe O
b95f6b26e2 Remove dep on package:pool 2018-08-20 15:46:12 -04:00
Tobe O
8739dbe4f7 Remove Angel.inject 2018-08-20 15:43:27 -04:00
Tobe O
e576fc5b50 Remove req.injections 2018-08-20 15:42:05 -04:00
Tobe O
c2ee694cc3 Update query parsing 2018-08-20 00:09:54 -04:00
Tobe O
1dec4f3da6 Rename body parsing methods 2018-08-19 23:51:09 -04:00
Tobe O
2cb0797da5 Make lazy parsing the default 2018-08-19 23:46:38 -04:00
Tobe O
d3a3d93796 Rename HTTP request+response impl, drop the "impl" 2018-08-19 23:40:59 -04:00
Tobe O
90409711b4 Completely remove ResponseContext.io 2018-08-19 23:39:37 -04:00
Tobe O
697a1a788f Completely remove RequestContext.io 2018-08-19 23:31:59 -04:00
Tobe O
91c97c78b9 Make RequestContext generic 2018-08-19 23:27:34 -04:00
Tobe O
2a306e1ec3 Make parseId static + docs 2018-08-19 23:20:12 -04:00
Tobe O
d211804cd8 Add more to parseId 2018-08-19 23:18:19 -04:00
Tobe O
41e70787bc Remove all usage of dart2_constant 2018-08-19 23:06:29 -04:00
Tobe O
99f9569695 Completely removed the AngelBase class 2018-08-19 22:56:20 -04:00
Tobe O
79818cf001 Completely removed the AngelBase class 2018-08-19 22:55:54 -04:00
Tobe O
1d8f06b54c Make reflector a named parameter 2018-08-19 22:40:11 -04:00
Tobe O
4fce6594e2 Strip out TypedService 2018-08-19 22:37:48 -04:00
Tobe O
b69b6f3fa5 Remove lib/common.dart 2018-08-19 22:35:27 -04:00
Tobe O
b60a89e364 Remove lib/hooks.dart 2018-08-19 22:32:45 -04:00
Tobe O
074b640980 Remove traces of json_god 2018-08-19 22:31:08 -04:00
Tobe O
45c3206ff6 Strip out json god 2018-08-19 11:49:33 -04:00
Tobe O
b326e6c547 Changed view engine to use Map<String, dynamic> 2018-08-19 11:42:40 -04:00
Tobe O
696fb8dd81 Change signature of ResponseContext.jsonp 2018-08-19 11:40:49 -04:00
Tobe O
2855017d68 Switch to MediaType 2018-08-19 11:33:25 -04:00
Tobe O
4c0cdf4d18 Patched another cast bug 2018-08-03 23:38:31 -04:00
Tobe O
60cb727ca8 Added Service.findOne tests 2018-07-12 11:19:25 -04:00
Tobe O
81e768cb16 Added findOne to Service 2018-07-12 11:08:53 -04:00
Tobe O
13addcf982 Finalizers before sending 2018-07-09 12:50:20 -04:00
Tobe O
49bfe5052d Patch 2018-07-09 11:59:17 -04:00
Tobe O
93f0dae1eb * Apply fold in redirectToAction; bump version -> 1.1.4+9 2018-07-09 11:24:39 -04:00
Tobe O
bace6a2298 * Patch ResponseContext.redirectTo to fold parameters, instead of
`as`-casting them to `Map<String, dynamic>`.
2018-07-09 11:19:02 -04:00
Tobe O
d5e3791c55 CHANGELOG, bump to 1.1.4+8 2018-07-09 10:43:54 -04:00
Tobe O
8fabcef9bc Tracked down the rogue "null" print 2018-07-09 10:40:06 -04:00
Tobe O
5cb941676f +7 2018-06-27 14:40:43 -04:00
Tobe O
4e6d280b8f +6 2018-06-22 23:59:41 -04:00
Tobe O
5d851b6cde +5 2018-06-22 23:29:38 -04:00
Tobe O
b1c4529b84 Fix hooking bug 2018-06-20 15:44:44 -04:00
Tobe O
5ea8ac31ff Fix async bugs 2018-06-10 19:17:11 -04:00
Tobe O
156d5290c5 1.1.4+2 2018-06-10 18:34:05 -04:00
Tobe O
00ed942c4e 1.1.4+1 2018-06-08 03:20:09 -04:00
Tobe O
954e8141dd 1.1.4 2018-06-08 03:06:26 -04:00
Tobe O
cf796044bf Fixed all broken tests 2018-05-15 23:14:29 -04:00
Tobe O
50e6d0d1a3 Use dart2_constant 2018-05-15 22:40:57 -04:00
Tobe O
24de38151e Use dart2_constant 2018-05-15 22:05:13 -04:00
Tobe O
1a32a579d6 Fixed tests 2018-04-06 15:45:58 -04:00
Tobe O
c5dcbedd67 Bring back zones; mysterious hang 2018-04-06 15:43:10 -04:00
Tobe O
289f4a6ec7 MapService dates will be strings 2018-03-30 14:33:36 -04:00
Tobe O
b3aceaa83b Service.toId no longer only takes a String 2018-02-07 00:48:32 -05:00
Tobe O
9e915fa7d2 AnonymousService now takes FutureOr 2018-02-07 00:46:59 -05:00
Tobe O
453d19aa31 Created pkg:framework/http.dart 2018-02-07 00:44:21 -05:00
Tobe O
e4b23768e4 HTTP ResponseContext works 2018-02-07 00:36:24 -05:00
Tobe O
7602578938 Export HTTP Req+Res context 2018-02-07 00:26:33 -05:00
Tobe O
14f2b5d807 Deprecated AngelMetrics 2018-02-07 00:26:11 -05:00
Tobe O
25dc29e126 Removed HttpHeaders in ResponseContext 2018-02-07 00:22:15 -05:00
Tobe O
9b7bf84acf Deprecated ResponseContext.io, added HTTP equivalent 2018-02-07 00:21:14 -05:00
Tobe O
cf02582d1b Change return type of AngelHttp.createRequestContext 2018-02-06 23:59:59 -05:00
Tobe O
dbfac9c583 Create HttpRequestContextImpl 2018-02-06 23:59:05 -05:00
Tobe O
b07e2f0e8a Updated tests to use AngelHttp API 2018-02-06 23:34:08 -05:00
Tobe O
116824e7c5 Deprecated ServerGenerator 2018-02-06 23:17:40 -05:00
Tobe O
9e21634764 Deprecated createZoneForRequest 2018-02-06 23:13:26 -05:00
Tobe O
101aedc0c3 Removed use of HttpHeaders in Angel 2018-02-06 23:11:52 -05:00
Tobe O
e65025d2ea Deprecated all serving logic in Angel 2018-02-06 23:10:49 -05:00
Tobe O
f4d9cb3b8e Used function syntax, deprecated ResponseSerializer typedef 2018-02-06 22:54:24 -05:00
Tobe O
f72b725725 Angel._flattened is now accessible via optimizedRouter 2018-02-06 22:51:52 -05:00
Tobe O
d1a4def0ce Remove line that resets Angel.serializer on close 2018-02-06 22:49:59 -05:00
Tobe O
37989933c6 Made Angel.serializer public 2018-02-06 22:48:26 -05:00
Tobe O
e2af07c813 Basic server methods transferred to AngelHttp 2018-02-06 22:46:52 -05:00
Tobe O
3527da6f4b Created setup for AngelHttp 2018-02-06 22:32:31 -05:00
Tobe O
56e1fc62d0 Added autoSnakeCaseNames to MapService 2018-02-06 22:24:44 -05:00
Tobe O
333ba32dff Response no longer closes if serialize is called with an empty string 2018-02-06 22:16:52 -05:00
Tobe O
c79de1050c Patched ResponseContext#isOpen, bump to 1.1.0+3 2017-12-12 13:33:58 -05:00