Commit Graph

167 Commits

Author SHA1 Message Date
lganzzzo
e3a6334462 Tests. LazyStringMapTest. 2019-10-13 00:51:24 +03:00
lganzzzo
d67fa0ff53 Introduce LazyStringMap 2019-10-12 18:42:42 +03:00
lganzzzo
869966c466 Optimization. Keep buffer for response headers. 2019-10-12 16:37:36 +03:00
lganzzzo
2935dcd290 Tests. Add BufferStreamTest to list. 2019-10-12 14:15:17 +03:00
lganzzzo
bbc74c111c Tests. BufferStreamTest. 2019-10-12 14:14:21 +03:00
lganzzzo
8b4dc2e3b0 Optimization. Use BufferOutputStream in RequestHeadersReader. 2019-10-11 03:52:25 +03:00
lganzzzo
cc3c55ce90 Refactor. Rename to macro. 2019-10-09 18:53:06 +03:00
lganzzzo
49a6c50f03 Remove commented code 2019-10-04 01:00:32 +03:00
Benedikt-Alexander Mokroß
23545685ce Implemented comments from PR 2019-10-02 14:59:57 +02:00
Benedikt-Alexander Mokroß
68e41f05c1 Refactored to use the new ENDPOINT_INTERCEPTOR macro instead own interceptors 2019-10-02 14:02:49 +02:00
Benedikt-Alexander Mokroß
27dcc538d8 Merge branch 'master' into cors_macro_draft
# Conflicts:
#	src/oatpp/codegen/codegen_define_ApiController_.hpp
#	src/oatpp/codegen/codegen_undef_ApiController_.hpp
#	test/oatpp/web/app/Controller.hpp
2019-10-02 12:46:40 +02:00
lganzzzo
7300708f67 Tests. Assert errors in FullAsyncClientTest. 2019-10-02 03:47:53 +03:00
lganzzzo
d5b7cb536a Codegen. ApiController. 'ENDPOINT_INTERCEPTOR' macro tests. 2019-10-02 03:30:52 +03:00
lganzzzo
af8aef9745 Codegen. Introduce macro. 2019-10-01 21:25:41 +03:00
lganzzzo
40dc8d77fe ApiController. Introduce 'ENDPOINT_INTERCEPTOR' macro. 2019-10-01 12:29:45 +03:00
Benedikt-Alexander Mokroß
30b35ac6e7 Further refactored, MAX_AGE now also adjustable 2019-09-27 18:11:07 +02:00
Benedikt-Alexander Mokroß
9c44be5cd1 Refactored, added Tests 2019-09-27 17:48:39 +02:00
Benedikt-Alexander Mokroß
95c0b8c462 CORS macro draft 2019-09-27 16:21:50 +02:00
lganzzzo
4422011b5e Remove coroutine parameter from oatpp::data::stream::ReadCallback. 2019-09-20 05:10:03 +03:00
lganzzzo
cb9b2b206f Error Handling. Async. Better error handling and error propagation. 2019-09-20 05:03:06 +03:00
lganzzzo
c0a532041c Tests. Pipeline test. Check size of result only 2019-09-19 04:54:23 +03:00
lganzzzo
11e30bbb89 uncomment tests 2019-09-19 03:55:41 +03:00
lganzzzo
b77039dee0 Feature http-pipelining. Async API support. 2019-09-19 03:54:44 +03:00
lganzzzo
125e18609e Feature http-pipelining. Simple API support. 2019-09-19 03:00:26 +03:00
lganzzzo
133b79f563 Optimize Async Memory. Introduce CoroutineHandle. 2019-09-15 03:17:33 +03:00
lganzzzo
2e422a281d uncomment tests 2019-09-03 04:00:45 +03:00
lganzzzo
4cd550353a Merge branch 'endpoint-info-deferred-creation' of https://github.com/bhorn/oatpp into authorization-draft 2019-09-03 03:53:46 +03:00
lganzzzo
1d8b515f65 Feature Authorization. Add possibility to configure different auth-handler for AUTHORIZATION macro. 2019-09-03 03:47:31 +03:00
Benedikt-Alexander Mokroß
4de4ef4258 Simple idea to deferr creation of endpoint info until its really needed! 2019-09-02 14:28:26 +02:00
lganzzzo
ac0684c229 Merge branch 'master' of github.com:oatpp/oatpp into authorization-draft 2019-09-02 04:04:42 +03:00
lganzzzo
693f1a1123 Feature async::Executor. Suggest threads count. 2019-09-02 03:48:31 +03:00
lganzzzo
8ea01afcc1 Feature Authorization. Better error handling. Add possibility to add headers to error responses. 2019-08-31 02:05:39 +03:00
lganzzzo
868ec5e6f0 Feature Authorization. Fix Tests for Default Basic Authorization. 2019-08-30 17:47:08 +03:00
Benedikt-Alexander Mokroß
4f1698cf13 Fix Convenience "Default-Basic-Auth" DefaultBasicAuthorizationObject 2019-08-30 11:17:11 +02:00
Benedikt-Alexander Mokroß
704ff9aa81 Convenience "Default-Basic-Auth" 2019-08-30 10:03:56 +02:00
lganzzzo
46abbf087c Feature Authorization. Change test endpoints paths. 2019-08-30 04:27:55 +03:00
lganzzzo
e62fd32f9e Feature Authorization. Generalize authorization object class. 2019-08-30 04:19:14 +03:00
lganzzzo
73b92b38f0 Minor Indentation + In-Code-Docs fixes. + better DefaultAuthorizationHandler::defaultAuthorizationObject implementation 2019-08-29 21:22:24 +03:00
Benedikt-Alexander Mokroß
fef2469526 Added support for other Authorization-Types then Basic 2019-08-29 15:34:32 +02:00
Benedikt-Alexander Mokroß
549d2fc542 Further cleanup of experimental leftovers. 2019-08-29 07:50:26 +02:00
Benedikt-Alexander Mokroß
8ec099e3f1 Let the failed request use a different connection to not break the main connection 2019-08-28 12:58:13 +02:00
Benedikt-Alexander Mokroß
04d5fc7441 Quick draft for an additional AUTHORIZATION-Macro which is inspired by spring.io's @Authenticate annotation.
Supports custom Objects and Handler so its easy to use and yields an object reflecting the authenticated user, so no extra work in the endpoint-code needs to be done (like in spring.io).
2019-08-27 16:45:15 +02:00
lganzzzo
259250674c Codegen. Windows compat. Fix OATPP_MACRO_NUM_ARGS. 2019-08-16 03:45:12 +03:00
lganzzzo
a0fa555a79 Remove '/experimental:preprocessor' compiler switch 2019-08-15 03:36:08 +03:00
Benedikt-Alexander Mokroß
b583052b2e Warningless in -Wextra, hardened sprintf-calls. 2019-08-12 09:18:49 +02:00
Leonid Stryzhevskyi
3582863b5d
Windows support investigating (#106)
Windows Support. Refactor and fix sockets usage.
2019-08-07 01:46:24 +04:00
lganzzzo
194f8ff143 Tests. Disable FullTests on 'Real' port. 2019-08-01 02:04:45 +04:00
lganzzzo
5c432f2472 Merge branch 'master' of https://github.com/oatpp/oatpp 2019-07-31 23:38:25 +04:00
lganzzzo
1207254616 Rename confusing-type-like field names in tests. 2019-07-31 23:35:23 +04:00
lganzzzo
713148f99e Use std::unique_ptr for dynamic arrays. 2019-07-31 23:27:23 +04:00