lganzzzo
f43f3fe661
HttpRouter: better API.
2021-10-25 02:19:13 +03:00
lganzzzo
c3f22dfb43
ConnectionHandler: proper server stoppage. ( #476 )
2021-10-20 04:32:56 +03:00
lganzzzo
d74d6b2308
provider: Decouple Provider and Invalidator.
2021-10-19 03:34:16 +03:00
lganzzzo
736ffa2c07
Tests. Fix web::FullTest.
2021-10-15 00:55:37 +03:00
lganzzzo
d6a95c57e7
Tests. web::FullTest: reduce iterations number.
2021-10-15 00:20:41 +03:00
lganzzzo
3d89dc4403
ApiController: introduce 'BUNDLE' parameters to access request bundle data.
2021-10-14 23:18:16 +03:00
lganzzzo
29817260c7
data::mapping: Void is a friend of ObjectWrapper.
2021-10-14 01:38:10 +03:00
lganzzzo
bc1806fa5b
Merge branch 'v1.3.0' into refactor_object_wrapper
2021-10-14 01:18:50 +03:00
lganzzzo
42bbaf3224
Tests: uncomment all.
2021-10-07 02:43:51 +03:00
lganzzzo
7f5576f52e
data::stream: make transferAsync() method consistent with simple API.
2021-10-07 02:30:54 +03:00
lganzzzo
08b02340c9
Tests: ConnectionMonitor. Fix Windows build.
2021-10-07 01:51:32 +03:00
lganzzzo
3e97c45b71
tests: ConnectionMonitorTest
2021-10-07 01:19:50 +03:00
lganzzzo
d47ae5c20a
ConnectionMonitor: move ConnectionMonitor to network::monitor namespace.
2021-09-25 01:05:51 +03:00
lganzzzo
2ffcf9cc20
ConnectionMonitor: working POC
2021-09-23 01:24:52 +03:00
lganzzzo
0ed9ce14dc
tests: Add ConnectionMonitorTest
2021-09-23 00:21:49 +03:00
lganzzzo
8cd357aba3
merge with master
2021-09-15 00:26:26 +03:00
Benedikt-Alexander Mokroß
06a690d73e
Renamed replaceOrPut
to putOrReplace
.
2021-09-14 14:14:25 +02:00
Benedikt-Alexander Mokroß
1ce3e3bd16
Add API to replace headers in requests and responses ( Closes #481 ).
2021-09-10 08:12:14 +02:00
lganzzzo
e8b7aac6af
Refactor, rename String convenience methods.
2021-08-25 01:10:03 +03:00
lganzzzo
6ee5ddba3b
oatpp::String: better convenience methods.
2021-08-25 00:49:43 +03:00
lganzzzo
6b2db1fe83
merge with 1.3.0
2021-08-04 00:04:27 +03:00
Leonid Stryzhevskyi
1f93f6caec
Merge pull request #424 from MHaselmaier/issue_408
...
Implementing Issue #408
2021-05-21 00:57:13 +03:00
MHaselmaier
5c7934e56e
Replaced core::collection::LinkedList by std::list
2021-05-18 22:14:23 +02:00
MHaselmaier
f6d487dc52
Revert "Rebased this branch from v1.3.0 branch"
...
This reverts commit d2684c8004
.
2021-05-15 12:19:35 +02:00
MHaselmaier
773f699601
Added /permissive- flag on MSVC to enforce standard compliancy
2021-05-15 09:59:11 +02:00
MHaselmaier
d2684c8004
Rebased this branch from v1.3.0 branch
2021-05-13 16:28:42 +02:00
MHaselmaier
891ce38dd1
Added optional timeout to coroutines in waiting list
2021-05-13 11:54:19 +02:00
MHaselmaier
8884643f22
Removed timeout parameter from core::provider::Provider; added it to core::provider::Pool's constructor
2021-05-10 20:38:53 +02:00
MHaselmaier
00daf643b6
Merge branch 'master' into issue_408
2021-05-07 07:49:26 +02:00
MHaselmaier
185464b155
Fixed compiler warning for unreferenced local variables and truncations on MSVC
2021-05-06 21:27:35 +02:00
MHaselmaier
f690a32fa6
Added timeout implementation to core::provider::Pool::getAsync and network::virtual_::client::ConnectionProvice::getAsync
2021-05-06 20:58:40 +02:00
MHaselmaier
855f9e0660
Added optional timeout parameter to Provider::get and Provider::getAsync; implemented only for Provider::get for now
2021-05-05 21:40:41 +02:00
MHaselmaier
44d5300318
Made PoolTemplate::get and PoolTemplate::getAsync static protected functions
2021-05-05 18:49:30 +02:00
MHaselmaier
c400ad91b8
Implemented requested changes
2021-05-05 08:06:00 +02:00
MHaselmaier
5f796de690
Removed unused include; touched up formatting
2021-05-04 19:46:59 +02:00
MHaselmaier
c92567632e
Added optional timeout parameter to core::provider::PoolTemplate::get
2021-05-04 19:33:58 +02:00
lganzzzo
92ed4b72a2
Types: oatpp::Void now is a special type of ObjectMapper.
2021-04-13 23:37:47 +03:00
lganzzzo
102394f798
ObjectWrapper: non-const valueType
2021-04-13 22:41:50 +03:00
lganzzzo
247c994171
oatpp::String: more convenient methods.
2021-04-02 23:14:23 +03:00
lganzzzo
15f77f1ed2
Codegen: INIT_DTO macro - remove default constuctor.
2021-03-30 00:16:02 +03:00
lganzzzo
b49f02f438
Tests: uncomment all tests.
2021-03-25 04:28:28 +02:00
lganzzzo
a2631fe051
Types: Refactor oatpp::String to use std::string.
2021-03-25 04:17:03 +02:00
Benedikt-Alexander Mokroß
5502a0cbf0
Add optional default-value for QUERY parameters to ease the implementation of optional QUERY parameters.
2021-01-12 13:15:47 +01:00
lganzzzo
7d76773d17
http::Header. Use multimap. ( #357 )
2020-12-17 03:25:09 +02:00
Leonid Stryzhevskyi
1559050586
Merge pull request #352 from oatpp/logcategories
...
Introducing log-categories
2020-12-09 01:29:17 +02:00
Benedikt-Alexander Mokroß
a6b481eb5d
Introducing log-categories
...
With log-categories users of Oat++-logging can take advantage of a fine grained logging mechanism.
Each log-category has its own set of enabled priorities, its own tag and can be disabled/enabled altogether.
Instead of just offering some priority-levels the user can now create as much logging categories as s:he wants and tune visibility of priorities by each category.
The API can be used optionally on top of the default logging mechanisms without breaking or changing any functionality of the old system. One can even mix both "legacy-style" and "category-style" logging in the same function/class/program.
Signed-off-by: Benedikt-Alexander Mokroß <github@bamkrs.de>
2020-12-08 16:59:53 +01:00
lganzzzo
171f7a9943
web::server::HttpRouter. Introduce HttpRouterTemplate. ( #343 )
2020-11-22 20:12:51 +02:00
lganzzzo
50e06cbaa0
Tests. StringTemplateTest. Fix ambiguity in the method call.
2020-10-30 02:18:05 +02:00
lganzzzo
e8bc2b0759
Tests: uncomment all tests.
2020-10-08 00:26:03 +03:00
lganzzzo
6f84101afc
mapping::TypeResolver: Use cache. Remove property traverser.
2020-10-08 00:22:52 +03:00
lganzzzo
dab59a48d6
data::mapping: Introduce TypeResolver.
2020-10-07 03:43:52 +03:00
lganzzzo
222cdaaa91
Tests: Uncomment all tests.
2020-09-28 03:31:09 +03:00
lganzzzo
3b59fa2738
network: introduce oatpp::network::Address.
2020-09-27 03:59:33 +03:00
lganzzzo
05d5e4dd4f
oatpp::network. Refactor: move/rename SimpleTCPConnectionProvider, Connection, ConnectionHandler, Server.
2020-09-27 02:47:30 +03:00
lganzzzo
0856eda7c1
Codegen. ApiClient: Add 'API_CALL_HEADERS' macro for default headers. ( #252 )
2020-09-26 04:33:26 +03:00
lganzzzo
fa64e582b3
Introduce type::BaseObject::PropertyTraverser.
2020-09-23 04:18:46 +03:00
lganzzzo
fe2bec58f8
mapping::type: Simplify Type interface.
2020-09-19 13:52:43 +03:00
lganzzzo
26154e039c
Merge branch 'master' into v_1.2.0
2020-09-09 05:43:10 +03:00
lganzzzo
898da6ff13
Tests. Decrease number of 'real-port' tests iterations
2020-09-09 05:08:54 +03:00
lganzzzo
4e650bcd4f
server::SimpleTCPConnectionProvider. List getaddrinfo results.
2020-09-09 04:24:19 +03:00
lganzzzo
d6911eb77a
data::mapping. Introduce Type::Interpretation.
2020-08-20 05:04:40 +03:00
lganzzzo
e7793aa667
Merge branch 'v_1.2.0' into ql_client_draft
2020-08-04 04:15:11 +03:00
lganzzzo
63e75bd67e
Merge branch 'master' into v_1.2.0
2020-08-04 00:40:02 +03:00
lganzzzo
3a5c9cb491
Tests. Uncomment web::FullTest.
2020-08-03 03:49:59 +03:00
lganzzzo
6a569888ea
web::protocol::http::outgoing::MultipartBody. Correct Async processing of continuous multipart stream.
2020-08-03 03:48:19 +03:00
lganzzzo
678219180c
Multipart. Continuous streaming - Async POC.
2020-08-02 11:40:19 +03:00
lganzzzo
6c3195a84d
Merged with v1.2.0 branch.
2020-08-02 02:10:14 +03:00
lganzzzo
d24da6a0ef
Merge with v1.2.0 branch
2020-07-31 03:46:22 +03:00
lganzzzo
e1d4020e2e
provider::PoolTest. Increase timeout for Pool to drop unused resources.
2020-07-30 03:44:18 +03:00
lganzzzo
d8a2384cc6
provider::Pool. Inherit optional properties of the base provider.
2020-07-30 02:05:28 +03:00
lganzzzo
4cded07f08
provider::Pool. POC.
2020-07-29 04:51:49 +03:00
lganzzzo
e889642188
network::ConnectionProvider. Basic refactoring - extend provider::Provider, new method names.
2020-07-29 02:03:26 +03:00
lganzzzo
57456a0b3a
provider::Pool. Cleanup task.
2020-07-29 01:36:53 +03:00
devuser
6eea6191ba
Adds pattern to the info, to be used in swagger
2020-07-27 18:49:28 -05:00
lganzzzo
d806537e51
oatpp::provider. New Provider and Pool implementation draft.
2020-07-26 04:52:11 +03:00
lganzzzo
c3a91be239
oatpp::data::stream::BufferOutputStream. Optimize growth.
2020-07-19 03:03:36 +03:00
lganzzzo
43c5d63386
oatpp::data::stream::BufferOutputStream. Optimize growth.
2020-07-19 02:59:14 +03:00
lganzzzo
33aae43d02
Merge branch 'master' into ql_client_draft
2020-07-08 14:45:39 +03:00
lganzzzo
a6aaa1eb48
data::share::StringTemplate. Format string template using ValueProvider.
2020-07-06 02:39:20 +03:00
Benedikt-Alexander Mokroß
ad69f19757
Proposal for #261 : Implemented Leonids input
2020-07-05 18:24:57 +02:00
Benedikt-Alexander Mokroß
2d6ab88255
Proposal for #261 : Fine grained configurable Loglevel
2020-07-01 20:35:19 +02:00
lganzzzo
b026a007e9
ql::Client. First steps.
2020-06-27 03:55:52 +03:00
lganzzzo
24c18ad166
CMakeLists.txt. Add compat option 'OATPP_COMPAT_BUILD_NO_SET_AFFINITY'
2020-06-05 00:49:07 +03:00
lganzzzo
1c0aea3f88
DTO. Introduce the new oatpp::Object<T> - as an ObjectWrapper over oatpp::DTO.
2020-05-23 03:27:22 +03:00
lganzzzo
0ec5fb7822
DTO. Rename oatpp::Object --> oatpp::DTO.
2020-05-23 02:58:31 +03:00
lganzzzo
ed0c068c0c
DTO. Remove inconsistent Wrapper definitions.
2020-05-23 02:45:37 +03:00
lganzzzo
fe8bf161fe
type::Enum. Fix duplicate initialization.
2020-05-19 03:48:29 +03:00
lganzzzo
32ae087417
mapping::type::PairList. Add 'getValueById()' method.
2020-05-17 03:25:08 +03:00
lganzzzo
eb92c2a60c
oatpp::Enum. Hash function.
2020-05-16 15:30:22 +03:00
lganzzzo
4b94aa771f
DTO. createShared(...) with parameters.
2020-05-16 01:51:05 +03:00
lganzzzo
3bc7dad57e
DTO. Lazy initialization of properties list.
2020-05-16 00:28:45 +03:00
lganzzzo
87edb02e6d
DTO. Hashcode + Equals. Use address comparison by default.
2020-05-14 00:53:48 +03:00
lganzzzo
4a0aaa2a84
DTO. Hashcode + equals contract for DTOs.
2020-05-13 03:12:39 +03:00
lganzzzo
5f213dd853
parser::json. Add ser/de for oatpp::UnorderedSet.
2020-05-10 02:59:31 +03:00
lganzzzo
70e898f86d
Tests. UnorderedSet test.
2020-05-10 02:20:59 +03:00
lganzzzo
75675ae61a
data::mapping. Collections. Add UnorderedSet. Initial commit.
2020-05-10 01:55:43 +03:00
lganzzzo
4d6629395d
ApiClient. Enum support.
2020-05-09 18:10:07 +03:00
lganzzzo
a124a5c510
ApiController. Integrate oatpp::Enum with ApiController.
2020-05-09 05:07:21 +03:00
lganzzzo
1d63dd547e
oatpp::Enum. Add description.
2020-05-09 02:56:47 +03:00
lganzzzo
9ee3c80626
parser::json. Correct Enum Ser/De.
2020-05-08 04:10:07 +03:00
lganzzzo
babeec5e2c
parser::json. Enum Ser/De.
2020-05-08 00:52:46 +03:00
lganzzzo
cff565f788
dto::Enum. Make static enum info a singleton.
2020-05-07 03:16:04 +03:00
lganzzzo
0de8204ad4
Tests. mapping::type::Enum. Enum ObjectWrapper test.
2020-05-06 05:15:03 +03:00
lganzzzo
bfcb159b48
dto::Enum. Enum interpreters POC.
2020-05-06 03:41:18 +03:00
lganzzzo
66d34683f7
DTO. Enum. Populate metadata.
2020-05-04 04:55:45 +03:00
lganzzzo
100a59eb69
Multipart. Tests. Simple multipart/x-mixed-replace example.
2020-05-03 04:36:50 +03:00
lganzzzo
55a6871891
Multipart. Stream part-by-part
2020-05-03 03:37:13 +03:00
lganzzzo
b52eeed67a
DTO Enum. Bootstrap code-gen.
2020-05-02 03:31:59 +03:00
lganzzzo
7ed6069f11
type::Primitive. Fix conversions.
2020-05-02 00:31:32 +03:00
lganzzzo
fd73b3c7c1
Tests. Uncomment all tests.
2020-04-30 04:44:42 +03:00
lganzzzo
196d351de6
types::Boolean. operators ==, != for nullptr.
2020-04-30 04:35:20 +03:00
lganzzzo
0d3ae75b13
Windows. type::Boolean. Fix nullptr/bool conversion.
2020-04-30 04:22:09 +03:00
lganzzzo
6c9c8d3237
type::Primitive. Add hash-function for all primitives.
2020-04-30 03:48:06 +03:00
lganzzzo
11c7be7a50
type::Primitive: Make boolean a separate ObjectWrapper. Tests: Primitive test.
2020-04-30 03:04:15 +03:00
lganzzzo
76da4714c2
Tests. Add mapping::type::<collections> tests.
2020-04-29 23:04:42 +03:00
lganzzzo
04707aa23d
types. Simplify Primitives.
2020-04-29 05:03:47 +03:00
lganzzzo
ed242a8066
mapping::type. Add oatpp::Vector and oatpp::UnorderedFields support to json Ser/De.
2020-04-29 03:30:05 +03:00
lganzzzo
7c12d6f16d
mapping::type. Add UnorderedMap collection.
2020-04-29 02:17:26 +03:00
lganzzzo
eb116ef23b
mapping::type. Rename ListMap --> PairList.
2020-04-29 01:47:40 +03:00
lganzzzo
bd8330e06d
mapping::type. Update ListMap.
2020-04-29 01:31:17 +03:00
lganzzzo
98d57fbb7a
mapping::type. Simplify collections.
2020-04-29 00:07:26 +03:00
lganzzzo
eacbe79d01
Introduce oatpp::Vector. Refactor oatpp::List to use std::list.
2020-04-28 04:26:29 +03:00
lganzzzo
6f6336c1a3
ApiController, ApiClient. Oprimize parameters passing. '::ObjectWrapper' in parameters is now redundant.
2020-04-27 01:51:33 +03:00
lganzzzo
6acd2c3f39
DTOs. Do not explicitly write <Type>::ObjectWrapper.
2020-04-26 15:13:33 +03:00
lganzzzo
130962e71a
Tests. Add more AnyTest logs.
2020-04-26 11:27:56 +03:00
lganzzzo
23255f381d
ObjectWrapper. Reduce the hierarchy. Remove PolymorphicWrapper.
2020-04-26 03:41:20 +03:00
lganzzzo
1cca52034f
parser::json::Deserializer. Deserialize oatpp::Any.
2020-04-25 05:16:05 +03:00
lganzzzo
7871cd7326
parser. JSON. Beautifier. Fix indent.
2020-04-25 03:58:32 +03:00
lganzzzo
636a2133e9
Parser. JSON. Serialize Any.
2020-04-25 03:33:59 +03:00
lganzzzo
0d951e3c56
Types. Introduce Any.
2020-04-25 02:54:52 +03:00
lganzzzo
aaa6359d80
SimpleTCPConnectionProvider. Correct invalidateConnection() method.
2020-04-11 00:01:25 +03:00
Benedikt-Alexander Mokroß
328519e6c1
Response Description (Issue #212 )
2020-04-02 13:55:11 +02:00
lganzzzo
51fbc2b4ea
Fix memory leak. Correct type for array.
2020-02-14 17:42:46 +02:00
lganzzzo
a1ff01ce9c
Better API Docs.
2020-01-25 01:48:37 +07:00
lganzzzo
f65798957e
json::mapping::ObjectMapper. Support for unsigned int types.
2020-01-25 01:26:35 +07:00
lganzzzo
7f82cc7bc5
json::mapping::ObjectMapper. Remove old Deserializer.
2020-01-22 23:03:45 +07:00
lganzzzo
de9296d287
json::mapping::ObjectMapper. New deserializer.
2020-01-22 23:00:28 +07:00
lganzzzo
fc26498f45
json::mapping::ObjectMapper. Remove old Serializer.
2020-01-22 11:11:21 +07:00
lganzzzo
3c5c0d8f67
json::ObjectMapper. New configurable Serializer.
2020-01-22 11:02:02 +07:00
lganzzzo
e457d14765
'ClassId' structure with explicit int IDs instead of 'CLASS_NAME' addresses
2020-01-21 19:49:21 +07:00
lganzzzo
884e1683c0
Tests. Uncomment all tests.
2020-01-20 06:00:18 +07:00
lganzzzo
cb197bf05c
HttpProcessor. Simple API. Select ContentEncoder according to 'Accept-Encoding' request header.
2020-01-15 06:27:32 +02:00
lganzzzo
25233d66ea
http::outgoing::Request/Response. Check for EncoderProvider when sent.
2020-01-14 23:49:08 +02:00
lganzzzo
c639a58e69
http::outgoing. Remove redundant DtoBody.
2020-01-14 17:32:18 +02:00
lganzzzo
ddafe4207f
Refactor. Simplify web::protocol::http::outgoing::Body
2020-01-14 16:31:18 +02:00
lganzzzo
ae85446432
Tests. Uncomment All.
2020-01-09 03:53:01 +02:00
lganzzzo
e5f24a8e55
IO. intruduce 'isValidIoHandle' function. Refactor. Change folder of IODefinitions.hpp
2020-01-09 03:38:34 +02:00
lganzzzo
121d079e7d
Tests. Correct async::Executor stop.
2020-01-09 02:01:02 +02:00
lganzzzo
292647ca93
server::SimpleTCPConnectionProvider use select-accept.
2020-01-09 01:17:16 +02:00
lganzzzo
e3e6d4c004
Tests. Uncomment web tests. Increase number of iterations.
2020-01-08 01:26:01 +02:00