Commit Graph

1600 Commits

Author SHA1 Message Date
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
Mai-Lapyst
8b90403bae
Fix a bug when creating models with composite keys in sqlite3 (#1310) 2022-07-10 10:01:17 +08:00
An Tao
da18f21796
Fix a misuse of std::move (#1311) 2022-07-10 00:54:57 +08:00
Martin Chang
b32fa58d16
Prevent sending multiple responses for a single request (#1308) 2022-07-09 14:10:24 +08:00
LE GARREC Vincent
cf543716ce
Fix #1207 (#1305) 2022-07-06 21:13:07 +08:00
An Tao
ee9ca895c7
Fix some bugs in RedisClient (#1303) 2022-07-05 13:47:28 +08:00
Martin Chang
9524a91479
Support compressed request (#1291) 2022-07-02 22:07:48 +08:00
LE GARREC Vincent
b8f44aec2e
Rename BUILD_TRANTOR_SHARED to BUILD_SHARED_LIBS (#1299) 2022-06-29 17:29:20 +08:00
LE GARREC Vincent
e2b5a07921
Fix no BUILD_CTL with tests (#1300) 2022-06-29 17:26:37 +08:00
An Tao
46c00a317f
Throw exceptions instead of exiting when loading configuration fails (#1293) 2022-06-22 23:17:40 +08:00
Nitromelon
81dd4ebd07
Bugfix: fix Mapper::updateBy() async api. (#1290) 2022-06-21 21:01:29 +08:00
Martin Chang
7570137138
Make orm::Result compatiable with C++ STL container concepts (#1281) 2022-06-12 14:09:56 +08:00
timomrs
a42f759248
Add content type to multipart file upload (resolves issue #1252) (#1279) 2022-06-09 20:00:56 +08:00
timomrs
3b5de8863a
Resolve issue #1275 (#1276) 2022-06-07 16:12:22 +08:00
An Tao
ebf87d69d7
Support pipeline mode on PostgreSQL 14+ (#1169)
Co-authored-by: He, Wanchen <hwc14@qq.com>
2022-06-05 21:10:42 +08:00
JuergenGleiss
664d97c185
Feature/drogon ctl add namespce to view (#1245)
drogon_ctl --namespace and --path-to-namespace is allowed. If both parameters are used the value of namespace will be set in front of path-to-namespace
added an example into the template cmake.csp how to use the new optional parameter of drogon_create_views
2022-06-03 15:40:24 +08:00
MQPearth
346e2e6033
Fix deleteFutureByPrimaryKey compile fail (#1271) 2022-06-03 15:30:07 +08:00
An Tao
7af9853589
Clear all database connections before quitting (#1273) 2022-06-03 13:31:56 +08:00
varunsh
a4afc394dc
Check if host header is set before setting (#1269) 2022-05-31 11:20:05 +08:00
Nitromelon
3388c72343
Install missing header file apply.h (#1267) 2022-05-29 18:57:18 +08:00
Nitromelon
8ab868ea22
Check mysql-optionsv support in cmake. (#1265) 2022-05-29 15:17:15 +08:00
Nitromelon
bd4f3814a6
Support controller registration in plugin. (#1259) 2022-05-26 22:30:34 +08:00
Nitromelon
1bc38c7e22
Remove redundant resource release. (#1261) 2022-05-26 12:09:48 +08:00
misirlou-tg
fffb8f7e7c
Fixing link error when linking with static c-ares (#1258) 2022-05-23 14:29:04 +08:00
Particle_G
41d9d7ec58
Add support for custom SQL query (#1241) 2022-05-21 15:23:34 +08:00
Nitromelon
3b11b80b10 Fix core dump causing by logging in destructor. (#1250)
Co-authored-by: Martin Chang <marty1885@users.noreply.github.com>
Co-authored-by: an-tao <antao2002@gmail.com>
2022-05-18 13:25:26 +08:00
An Tao
cd55a198d2
Return nullptr if a plugin is not loaded when gettting it (#1251) 2022-05-17 14:22:29 +08:00
Robert Huang
3b0fd3d676
Fix HttpFile unittest error on Windows (#1191) 2022-05-17 13:20:05 +08:00
JuergenGleiss
19d9ffcfc2
Bugfix/cookie same site test without any useful checks (#1247)
Co-authored-by: an-tao <antao2002@gmail.com>
2022-05-16 11:18:10 +08:00
An Tao
4f2cbd4135
Fix some configuration file issues (#1249) 2022-05-14 13:59:49 +08:00
JuergenGleiss
c5a1888da3
Feature/option same site for session cookie (#1221) 2022-05-08 13:47:18 +08:00
Greisberger Christophe
f017b09947
Added HttpResponse::newStreamResponse() (#1156) 2022-05-02 21:04:41 +08:00
Omar Mohamed Khallaf
e8b21502e2
Add username option to redis databases (#1223)
The Redis AUTH command was extended in Redis 6, so now it is possible to
use it in the two-arguments form:
AUTH <username> <password>
and omitting the <username> defaults to user 'default'.
2022-04-30 00:48:18 +08:00