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
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
Leonid Stryzhevskyi
76128d644f
Merge pull request #112 from oatpp/refactor_coroutine_member_caller
...
Refactor coroutine member caller
2019-08-19 02:42:10 +03:00
lganzzzo
9b0f485850
Build(Windows). Remove compiler switch. '/vmg'.
2019-08-19 02:13:22 +03:00
lganzzzo
eed4a4c860
Refactor. Coroutine MemberCaller.
2019-08-19 01:59:24 +03:00
Leonid Stryzhevskyi
215642129d
Merge pull request #111 from oatpp/macro_refactoring
...
Macro refactoring
2019-08-16 04:10:39 +03:00
lganzzzo
be4b42b854
CI. Cleanup azure-pipelines.yml
2019-08-16 03:56:51 +03:00
lganzzzo
259250674c
Codegen. Windows compat. Fix OATPP_MACRO_NUM_ARGS.
2019-08-16 03:45:12 +03:00
lganzzzo
0537ef7e5d
Codegen. Remove OATPP_MACRO_HAS_ARGS macro.
2019-08-15 12:37:40 +03:00
lganzzzo
a0fa555a79
Remove '/experimental:preprocessor' compiler switch
2019-08-15 03:36:08 +03:00
lganzzzo
4feecff07c
Merge branch 'master' into macro_refactoring
2019-08-15 03:32:04 +03:00
lganzzzo
4cf3096fcf
Refactor. ApiClien, Component codegen.
2019-08-15 03:07:54 +03:00
lganzzzo
47b2ef0e0d
Refactor. ApiController codegen.
2019-08-15 01:51:23 +03:00
lganzzzo
0e66549e8f
Refactor. DTO codegen.
2019-08-15 00:44:39 +03:00
Leonid Stryzhevskyi
d1a3e26f2f
Merge pull request #109 from bhorn/hardening
...
Warningless in -Wextra, hardened sprintf-calls.
2019-08-12 13:04:27 +03:00
Benedikt-Alexander Mokroß
149fa41ab4
Removing accidentally commited Wextra flag.
2019-08-12 09:36:55 +02:00
Benedikt-Alexander Mokroß
b583052b2e
Warningless in -Wextra, hardened sprintf-calls.
2019-08-12 09:18:49 +02:00