Commit graph

324 commits

Author SHA1 Message Date
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
Tobe O
4657342569 Patched handleAngelHttpException, bump to 1.1.0+2 2017-12-12 13:28:52 -05:00
Tobe O
dc3c67b28d Patched _matchesId, bump to 1.1.0+1 2017-12-10 00:05:59 -05:00
Tobe O
eb58b20a0f Close #178, bump to 1.1.0 2017-12-06 09:46:35 -05:00
Tobe O
2d87631e8d +9 2017-11-28 13:14:50 -05:00
Tobe O
416fb40b82 autoIdAndDateFields in MapService 2017-11-18 12:42:31 -05:00
Tobe O
77a5cec9c0 working on metrics 2017-10-28 04:50:16 -04:00
Tobe O
be3b3bd3d2 pattern matching 2017-10-10 12:55:42 -04:00
Tobe O
27ca19bbea 1.1.0-alpha+5 2017-10-04 10:09:12 -04:00
Tobe O
e3e25453b6 +4 2017-09-24 15:43:14 -04:00
Tobe O
3fcb195d8c +3 2017-09-24 13:56:33 -04:00
Tobe O
bbf0bd7fa3 Updated use 2017-09-22 10:56:11 -04:00
Tobe O
05e4e4d3bf Logging support 2017-09-22 10:53:49 -04:00
Tobe O
79b5b79af1 1.1.0-alpha 2017-09-22 10:03:23 -04:00
Tobe O
5e88ef16f9 1.1.0-alpha start 2017-09-22 00:48:22 -04:00
thosakwe
f2ea859b92 1.0.9+1 2017-08-28 11:29:27 -04:00
thosakwe
3d59ec0771 1.0.9 2017-08-15 19:01:16 -04:00
thosakwe
3599e83ecf Remove reopen 2017-08-03 12:42:16 -04:00
thosakwe
f6695080b8 Working on 1.0.8, including performance tuning 2017-08-03 12:40:21 -04:00
thosakwe
3d12297316 1.0.7+2 2017-07-23 11:41:12 -04:00
thosakwe
15fc38d22a Swapped to angel_model 2017-07-11 16:48:19 -04:00
thosakwe
62dc317239 Added RequestContext.accepts 2017-07-10 19:08:05 -04:00
thosakwe
9d24d37b56 1.0.6+2 2017-07-09 12:50:46 -04:00
thosakwe
6d66efb67c Add stackTrace 2017-07-01 21:56:23 -04:00
thosakwe
58ec66f454 Still adding more tests, fixed exception-handling bug. 2017-06-30 09:49:45 -04:00
thosakwe
79e4dccccd Added more tests. 2017-06-29 18:17:42 -04:00
thosakwe
7b03148160 Patch 2017-06-20 15:13:15 -04:00
thosakwe
467dd3e125 1.0.4 2017-06-18 21:53:51 -04:00
thosakwe
82ead161b3 +1 2017-06-11 12:57:36 -04:00
thosakwe
67e9150c07 1.0.3 2017-06-06 08:42:33 -04:00
thosakwe@gmail.com
ae4a434477 Coverage start... 2017-05-27 08:39:45 -04:00
thosakwe
fe1c8a9333 Fixed dates 2017-04-29 00:18:45 -04:00
thosakwe
93c0d9f2bb +3 2017-04-26 18:55:47 -04:00
thosakwe
8b6347a4ff +2 2017-04-24 23:19:36 -04:00
thosakwe
8187045754 +1 2017-04-24 22:44:22 -04:00
thosakwe
0c57b06cfa 1.0.2 2017-04-24 22:32:16 -04:00
thosakwe
eb9a46f282 Fixed last batch? 2017-04-15 13:42:21 -04:00
thosakwe
5d4d2da48b +1 2017-04-10 10:46:24 -04:00
thosakwe
edf1b04f9f 74 2017-04-04 04:35:36 -04:00
thosakwe
94886bca13 73 2017-04-03 15:43:27 -04:00
thosakwe
9683e97603 72! 2017-04-02 15:14:10 -04:00
thosakwe
2f5935d5ad 71 2017-03-31 21:00:24 -04:00
thosakwe
218465a26f 70 2017-03-28 20:36:54 -04:00
thosakwe
cc793f6736 69 2017-03-28 19:29:22 -04:00
thosakwe
09247069dc transform & more 2017-03-11 02:17:52 -05:00
thosakwe
12587bb5a0 transform hook 2017-03-11 02:13:57 -05:00
thosakwe
44683b8a34 67 2017-03-05 23:55:13 -05:00
thosakwe
4ad9e06269 66 2017-03-05 21:06:52 -05:00
thosakwe
4e51d87b61 65 2017-03-05 19:52:16 -05:00
thosakwe
d869210de8 64 2017-03-04 18:09:57 -05:00
thosakwe
8d4c169b4e 63 2017-03-04 16:12:39 -05:00
thosakwe
013968336c 62 2017-03-02 17:06:02 -05:00
thosakwe
4b4149dea9 61 2017-03-01 23:04:37 -05:00
thosakwe
6da3be08fd 60 2017-02-26 16:31:09 -05:00
thosakwe
7586b4c58e 59 2017-02-25 15:57:28 -05:00
thosakwe
fbd26eb448 58 2017-02-24 19:16:31 -05:00
thosakwe
58d5b0972e 57 2017-02-22 20:19:36 -05:00
thosakwe
ba9df69779 56 2017-02-22 19:37:15 -05:00
thosakwe
07025403f4 55 2017-02-12 19:38:33 -05:00
thosakwe
6eebc7afa8 54 2017-02-01 16:43:18 -05:00
thosakwe
0696705809 53 2017-01-29 14:49:28 -05:00
thosakwe
6b7d9e884f 52 2017-01-28 16:25:02 -05:00
thosakwe
19af9b6e5f 51 2017-01-28 16:08:07 -05:00
thosakwe
0adfdbeb59 50 2017-01-27 22:47:00 -05:00
thosakwe
4c04e1193c 49!!! 2017-01-20 17:40:48 -05:00
thosakwe
929e7bbac6 48 2017-01-20 17:11:20 -05:00
thosakwe
eb1e931b89 47 2017-01-15 14:52:14 -05:00
thosakwe
462c4f4a79 Better errors 2017-01-14 10:39:11 -05:00
thosakwe
4ad4180f22 45 2017-01-14 08:56:14 -05:00