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
Leonid Stryzhevskyi
73d9523a5a
Merge pull request #122 from oatpp/better_async_engine
...
Better async engine
2019-09-18 03:28:12 +03:00
lganzzzo
e96c309359
Merge branch 'master' into better_async_engine
2019-09-17 11:21:44 +03:00
Leonid Stryzhevskyi
baa6d93e15
Merge pull request #121 from oatpp/fix_120
...
Fix bug #120 .
2019-09-17 11:01:45 +03:00
lganzzzo
692b8e04e4
Fix bug #120 .
2019-09-17 00:52:15 +03:00
lganzzzo
8c1a367e28
Pass FunctionPtd params by const ref
2019-09-15 03:26:21 +03:00
lganzzzo
133b79f563
Optimize Async Memory. Introduce CoroutineHandle.
2019-09-15 03:17:33 +03:00
lganzzzo
68bbb14ec4
API Docs. Minor fix. API-Docs tool does not support function types.
2019-09-05 03:22:41 +03:00
Leonid Stryzhevskyi
0812b301b7
Merge pull request #114 from bhorn/authorization-draft
...
Authorization
2019-09-04 11:40:39 +03:00
Benedikt-Alexander Mokroß
d9221e3576
Added some more documentation to ApiController
2019-09-04 09:15:49 +02:00
Benedikt-Alexander Mokroß
7b0f6e64d0
Added error-throw if no auth-handler was set up before controller is added to router or swagger-doc.
...
Also added missing undef for `OATPP_MACRO_API_CONTROLLER_AUTHORIZATION_2` and `OATPP_MACRO_API_CONTROLLER_AUTHORIZATION_INFO_2`
2019-09-04 08:54:53 +02:00
Benedikt-Alexander Mokroß
fb29f0d919
Merge pull request #8 from lganzzzo/authorization-draft
...
Authorization draft
2019-09-04 08:26:26 +02:00
lganzzzo
c2f2b3649c
Feature Endpoint Info deferred init. Fix seg.fault.
2019-09-04 01:53:02 +03:00
Benedikt-Alexander Mokroß
5971a6928f
Merge pull request #6 from lganzzzo/authorization-draft
...
Authorization draft
2019-09-03 08:44:14 +02:00
lganzzzo
970c92e7d1
Fix includes
2019-09-03 04:30:58 +03:00
lganzzzo
213fc52535
Fix Endpoint::info declaration.
2019-09-03 04:24:33 +03:00
Leonid Stryzhevskyi
02a42a3796
Merge pull request #118 from lganzzzo/authorization-draft
...
Authorization draft
2019-09-03 04:03:24 +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
Leonid Stryzhevskyi
387c777d38
Merge pull request #117 from oatpp/async_executor_suggest_threads_count
...
Feature async::Executor. Suggest threads count.
2019-09-02 04:02:39 +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ß
54984b9068
Another extension to endpoint-info for a better swagger-integration
2019-08-30 15:36:59 +02:00
Benedikt-Alexander Mokroß
4f1698cf13
Fix Convenience "Default-Basic-Auth" DefaultBasicAuthorizationObject
2019-08-30 11:17:11 +02:00
Benedikt-Alexander Mokroß
74a0dc2375
Merge pull request #4 from bhorn/authorization-draft-defaults
...
Convenience "Default-Basic-Auth"
2019-08-30 11:11:28 +02:00
Benedikt-Alexander Mokroß
0ddb9a3532
Convenience "Default-Basic-Auth"
2019-08-30 11:10:59 +02:00
Benedikt-Alexander Mokroß
704ff9aa81
Convenience "Default-Basic-Auth"
2019-08-30 10:03:56 +02:00
Benedikt-Alexander Mokroß
9e4aa0f671
Extensions to preparations for the swagger SecurityScheme implementation
2019-08-30 09:25:17 +02:00
Benedikt-Alexander Mokroß
dd1fd2e4a6
Merge branch 'authorization-draft' of https://github.com/bhorn/oatpp into authorization-draft
2019-08-30 08:25:08 +02:00
Benedikt-Alexander Mokroß
7b328be388
Merge pull request #3 from lganzzzo/authorization-draft
...
Authorization draft
2019-08-30 08:24:35 +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ß
7c1b356ab5
Preparations for the swagger SecurityScheme implementation
2019-08-29 17:02:33 +02:00
Benedikt-Alexander Mokroß
fef2469526
Added support for other Authorization-Types then Basic
2019-08-29 15:34:32 +02:00
Benedikt-Alexander Mokroß
f402f3da21
Improved the documentation of ApiController::handleError
and ApiController::authorize
2019-08-29 11:26:37 +02:00
Benedikt-Alexander Mokroß
6bc87cffb4
Replace dynamic_cast with static_cast in AUTHORIZATION macro
...
Remove macro-debugging compiler-flag
2019-08-29 11:08:06 +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
Leonid Stryzhevskyi
549ba11381
Merge pull request #113 from bhorn/master
...
Link against libatomic
2019-08-21 16:39:59 +03:00
Benedikt-Alexander Mokroß
0a7d8eee85
osx/macos do not know libatomic, add another case for it
2019-08-21 15:27:56 +02:00
Benedikt-Alexander Mokroß
63780d65ed
Link against libatomic
2019-08-21 14:57:39 +02:00
lganzzzo
5b4b313a0b
Increase API version to 0.19.8
2019-08-21 01:22:42 +03:00
Leonid Stryzhevskyi
d8f8efa77a
Update README.md
2019-08-20 03:18:23 +03:00