Francesco Emanuele D'Agostino
1b11bfb668
add onSessionStart() and onSessionDestroy() events ( #1412 )
...
Co-authored-by: an-tao <antao2002@gmail.com>
2022-11-13 22:40:24 +08:00
Martin Chang
ef93c91ec7
Drogon test refactor ( #1437 )
2022-11-12 12:54:22 +08:00
Brecht Sanders
25ece89558
Update Utilities.cc ( #1436 )
...
Fix error when building with MinGW-w64:
```
lib/src/Utilities.cc:1226:28: error: external linkage required for symbol 'drogon::utils::internal::fixedRandomNumber' because of 'dllexport' attribute
```
`DROGON_EXPORT` is already specified in `lib/inc/drogon/utils/Utilities.h`, it doesn't need to be repeated in `lib/src/Utilities.cc` when defining `fixedRandomNumber`.
2022-11-12 10:43:02 +08:00
an-tao
31fa010ca9
Bump version to 1.8.2
2022-11-11 21:08:29 +08:00
An Tao
ab10d8cb22
Fix a dead lock bug when closing all database connections ( #1434 )
2022-11-11 09:57:18 +08:00
Martin Chang
c0d48da99f
Avoid HashDoS attacks via random per-session hash initial state ( #1433 )
2022-11-10 13:41:21 +08:00
an-tao
9dff8b296b
Update trantor
2022-11-09 22:49:34 +08:00
An Tao
990be54ea0
Add some test cases for the sqlite datetime type ( #1430 )
2022-11-06 17:49:59 +08:00
An Tao
6208332de3
Add the queueInLoopCoro function ( #1426 )
2022-11-04 17:23:14 +08:00
James
a8be56f9bb
Fix a date race in drogon_test. ( #1423 )
2022-11-03 22:32:56 +08:00
An Tao
164972e2d3
Add rate limiter ( #1409 )
2022-10-27 22:49:16 +08:00
Kushal-Chandar
37a10318ff
fix: typo in drogon_test.h ( #1419 )
2022-10-24 12:11:29 +08:00
an-tao
29c67565a3
Update trantor
2022-10-12 11:09:19 +08:00
An Tao
995b8e8b82
Set Hiredis_FOUND to true when finding Hiredis library ( #1406 )
2022-10-10 10:02:11 +08:00
khalilluo
89588959b1
supports the mediumint column when generate the mysql model ( #1393 )
2022-09-28 19:32:02 +08:00
an-tao
875bca0a86
Bump version to 1.8.1
2022-09-25 23:11:18 +08:00
An Tao
4d63475203
Add support for the string_view type to SqlBinder in orm ( #1391 )
2022-09-23 21:56:40 +08:00
Nitromelon
cdd48686ab
Small patches on orm_lib. ( #1388 )
2022-09-23 21:56:14 +08:00
An Tao
d3fe59432b
Use the mysql_library_end() function to avoid memory leaks ( #1387 )
2022-09-20 10:29:44 +08:00
Nitromelon
1c8580a71b
Remove redundant member functions of drogon::Task. ( #1381 )
2022-09-20 10:25:17 +08:00
khalilluo
c913441bb4
fixed model template file Unreachable code ( #1384 )
2022-09-16 17:54:01 +08:00
an-tao
302bb560b6
Update trantor
2022-09-15 12:50:05 +08:00
Nitromelon
a1a0ef1af8
Support redis subscription ( #1212 )
2022-09-13 10:30:51 +08:00
An Tao
6a397efefe
Fix a test bug when clients start before servers ( #1376 )
2022-09-09 01:32:01 +08:00
An Tao
c97125b22f
Fix a conflict of ssize_t type with hiredis ( #1371 )
2022-09-03 22:36:46 +08:00
An Tao
574a60f812
Bump version to 1.8.0 ( #1312 )
2022-09-01 00:49:48 +08:00
An Tao
de1bd805fc
Add a precompilation macro in the pg pipeline test code ( #1368 )
2022-09-01 00:30:16 +08:00
ChaoII
ff1aac37de
Fix doc link ( #1366 )
2022-08-30 18:23:09 +08:00
An Tao
94c4f27d61
Set the running flag to false after calling the quit() method ( #1363 )
2022-08-27 01:37:08 +08:00
An Tao
29b33a7fa0
Export the getVersion method for Windows ( #1362 )
2022-08-25 23:35:56 +08:00
An Tao
c40bb2bc1f
Fix a bug when parsing multipart/form-data ( #1358 )
2022-08-25 23:04:23 +08:00
An Tao
f582a16adb
Fix a bug when converting the content-length string to size_t ( #1355 )
2022-08-19 14:20:37 +08:00
Ken Matsui
64b9484657
Use nullopt instead of the no-argument constructor ( #1344 )
2022-08-19 13:48:48 +08:00
Ken Matsui
2465753ee9
Refactor db_test.cc ( #1346 )
2022-08-19 12:22:13 +08:00
Nitromelon
bd9d290b82
Support coroutine filter. ( #1352 )
2022-08-19 09:24:02 +08:00
Nitromelon
4ef31d7c2d
Log remote real address in AccessLogger ( #1351 )
2022-08-15 13:34:27 +08:00
Ken Matsui
9abc9e5b6c
Accept postgres
for DbClient type as well ( #1347 )
2022-08-12 19:47:22 +08:00
an-tao
5610bd2182
Change timeout of pipeline test for the CI environment ( #1339 )
2022-08-02 23:56:47 +08:00
Ken Matsui
5371b967f6
Use a raw string literal for the drogon banner ( #1332 )
2022-08-01 22:53:02 +08:00
An Tao
2b75af82ee
Update trantor ( #1338 )
2022-08-01 14:06:17 +08:00
An Tao
a1d2bd168b
Change the listener port of the cookie test ( #1336 )
2022-07-31 12:56:49 +08:00
Ken Matsui
9f23560a29
Delete the unmaintained test script ( #1333 )
2022-07-31 11:37:36 +08:00
Nitromelon
bf36db1562
Resolve real ip from HttpRequest. ( #1321 )
2022-07-28 23:34:35 +08:00
Ken Matsui
c9f5946eff
Implement toJson
to convert std::vector to Json::Value` ( #1329 )
2022-07-28 22:52:52 +08:00
Ken Matsui
82bd6bceac
Refactor orm::SqlBinder ( #1328 )
2022-07-28 22:10:01 +08:00
Ken Matsui
cfe1681b0f
Omit redundant virtual specifiers ( #1325 )
2022-07-26 12:19:54 +08:00
Ken Matsui
1bc6ee1170
Ensure requiring a semi-colon after macros ( #1324 )
2022-07-26 12:17:07 +08:00
Ken Matsui
a582a773c1
Remove an unnecessary semi-colon ( #1323 )
2022-07-26 12:16:48 +08:00
Ken Matsui
5373e51f92
Remove redundancies from the CMake action ( #1322 )
2022-07-26 12:16:22 +08:00
Ken Matsui
474db0dd9a
Remove the virtual
specifier from functions marked with override
( #1320 )
2022-07-26 00:33:18 +08:00