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
An Tao
a4ba8aff95
Reset timer afters relauching in Linux ( #1232 )
2022-04-30 00:45:19 +08:00
Omar Mohamed Khallaf
5892fa2f9f
fix bug when resolving redis server hostname ( #1229 )
...
Calling `drogon::app().createRedisClient` from the resolver callback
function results in a failure because of `assert(!running_);` in
`HttpAppFrameworkImpl::createRedisClient`.
This fix uses a promise whose value is set in the callback and the
client creation is done outside the callback.
2022-04-27 16:46:27 +08:00
Omar Mohamed Khallaf
c9c2675ba9
Resolve redis server hostname from config file ( #1228 )
2022-04-27 13:39:10 +08:00
Nitromelon
bccf509ca0
A workaround for redis sync exec ( #1216 )
2022-04-25 19:42:25 +08:00
DualWu
86dbf9875b
add typename for clang-14 ( #1226 )
...
Co-authored-by: dualwu <dualwu@zelostech.com>
2022-04-25 19:28:06 +08:00
Nitromelon
e53c81b229
Fix HttpClient dns cache. ( #1211 )
2022-04-22 13:42:39 +08:00
Omar Mohamed Khallaf
d51bae1016
Enable automatic reconnect in mysql ( #1217 )
...
Setting MYSQL_OPT_RECONNECT option to true will allow the connection to
be restablished once before giving up and returning an error.
This is useful in cases where the database is behind a loadbalancer
(e.g. ipvs) and the tcp connection is terminated after some period of
time.
2022-04-22 11:12:49 +08:00
DualWu
567e7c07ad
Add move constructor to fix clang-14 compile error ( #1222 )
...
https://github.com/drogonframework/drogon/issues/1206
2022-04-22 11:10:50 +08:00
LE GARREC Vincent
8c4896dfec
Fix tolower with cfi sanitizer ( #1209 ) ( #1210 )
...
and update trantor with same patch.
2022-04-22 11:08:40 +08:00
Nitromelon
6971f84dae
Fix mutex lock missing. ( #1214 )
2022-04-14 16:52:04 +08:00
An Tao
3d3daef3c5
Fix a bug when stopping redis service ( #1205 )
2022-03-28 11:23:33 +08:00
faker
740c34fce3
To avoid accessing a null point, make sure result == OK before accessing the response ptr. ( #1195 )
2022-03-26 17:02:58 +08:00
An Tao
dd63a72dab
Update issue templates
2022-03-01 13:58:37 +08:00
Martin Chang
b9bbe45642
Fix XXXControllers created on MSVC even if specsfied not to do so ( #1183 )
...
Co-authored-by: marty1885 <marty1885@gmail.com>
2022-02-26 00:19:48 +08:00
davidschedler
b8a6188ad5
Add ‘not like‘ criteria ( #1182 )
2022-02-23 09:34:51 +08:00
an-tao
fc68b8c92c
Bump version to 1.7.5
2022-02-19 18:42:49 +08:00
Ichiro
09a351d032
Format code controller autogen ( #1138 )
2022-02-19 09:37:11 +08:00
davidschedler
0e3ee5fad0
Fix missing "using namespace drogon::orm;" at autogenerated restful controller ( #1178 )
2022-02-16 11:10:13 +08:00
Ichiro
4b31f93767
Add Not In for ORM Criteria ( #1176 )
2022-02-12 21:59:49 +08:00
Kirill
3c785326c6
Prevent malformed upload path causing arbitrary write ( #1174 )
2022-02-11 23:54:42 +08:00
Robert Huang
8ed0434ad8
Remove unused variable and fix compile error ( #1171 )
2022-02-03 22:33:50 +08:00
An Tao
26c8c0b527
Update trantor ( #1166 )
2022-01-28 17:25:34 +08:00
X-rays5
92d39fb174
Fix sqlite3 and mariadb when using vcpkg ( #1165 )
2022-01-25 21:00:56 +08:00
juanetch
bbc31612fc
add max-age, samesite options to Cookie ( #1159 )
...
Co-authored-by: an-tao <antao2002@gmail.com>
2022-01-16 11:40:17 +08:00
autoantwort
bfb25a3765
Accept system lib for uuid on macOS ( #1152 )
2022-01-09 12:04:38 +08:00
timomrs
88f4f090a8
Allow using json_cpp in other sublibraries ( #1145 )
...
If another sublibrary also imports jsoncpp, `FindJsonCpp.cmake` fails with error message `add_library cannot create imported target Jsoncpp_lib because another target with the same name already exists.`. Adding the `if (NOT TARGET Jsoncpp_lib)`-guard fixes this.
It might be useful to check if there's a similar problem with other sublibraries included by Drogon.
2022-01-08 12:33:35 +08:00
Nitromelon
68b2a46a29
Start listening after beginning advices ( #1147 )
2022-01-07 21:45:09 +08:00
MWX
e81662f29b
Update HttpRequestImpl.cc ( #1148 )
2022-01-06 00:33:29 +08:00
Ichiro
29732a94ef
Fix reserve bug ( #1144 )
2022-01-03 09:24:06 +08:00
Martin Chang
e2842c9de5
Check HTTP client is not sending requests in sync mode on the same event loop in debug mode ( #1143 )
2022-01-02 20:14:27 +08:00
pao-lu
720ce4e9ed
Destroy fastdb client on quit ( #1142 )
2021-12-31 12:31:32 +08:00
Vladimir
9db332af65
Enable setup output of logs to files at any time. ( #1140 )
...
Co-authored-by: Volodymyr Romanishyn <volodymyr.romanishyn@ingenico.com>
2021-12-29 13:20:39 +08:00
Ichiro
6c8f8bac1f
Add toString for drogon::ReqResult
( #1133 )
...
* Add to_string and to_string_view for drogon::ReqResult
2021-12-24 20:45:36 +08:00
Ichiro
bc4e8faec2
Fix lint ( #1134 )
2021-12-22 16:26:52 +08:00
Martin Chang
52800006a0
Avoid attempt linking to std::fs when target does not exist ( #1131 )
2021-12-21 22:22:57 +08:00
timomrs
03f34cb40b
Remove sudo from dependencies in Dockerfile ( #1128 )
...
After Pull request #1127 , sudo is no longer needed in the Docker image
2021-12-17 18:33:29 +08:00