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
timomrs
bba5253a0f
Remove sudo from build.sh ( #1127 )
...
Somewhat controversial, but in general scripts shouldn't have sudo embedded, if necessary the user should run the whole script under sudo. See for example discussions in:
https://askubuntu.com/questions/425754/how-do-i-run-a-sudo-command-inside-a-script
https://unix.stackexchange.com/questions/20284/should-i-be-using-sudo-in-scripts-that-i-write
with conflicting answers. However, removing the sudo from the script here would allow removing dependency on sudo from Dockerfile (I believe) since in Docker the install is done as root, while a user installing elsewhere is free to use sudo for the whole script.
2021-12-17 16:53:14 +08:00
Martin Chang
080123ff96
use operator<< to convert ReqResult to string ( #1126 )
2021-12-13 12:37:31 +08:00
Martin Chang
6b677a3ff6
Fix WS test potentially can get stuck ( #1124 )
2021-12-12 11:18:59 +08:00
an-tao
be3136ea26
Bump version to 1.7.4
2021-12-11 10:27:51 +08:00
Martin Chang
719d50c0a7
Remove setting c++17 in FindFilesystem ( #1102 )
2021-12-11 10:02:45 +08:00
An Tao
754fd2da29
Update trantor (fix sending partial files) ( #1123 )
2021-12-10 13:04:18 +08:00
An Tao
66e29dd9b2
Fix an error of std::bad_function_call ( #1115 )
2021-12-09 19:25:39 +08:00
Nitromelon
7455355419
Add more method for mapper ( #1112 )
2021-12-08 00:54:01 +08:00
NitroMelon
2a484536d1
Fix signal handle ( #1106 )
2021-12-05 18:43:49 +08:00
NitroMelon
6a55a3aa64
Fix namespace in model template. ( #1107 )
2021-12-05 18:29:29 +08:00
NitroMelon
e9fafc643d
Support CoroMapper method chaining ( #1103 )
2021-12-04 20:54:25 +08:00
SCOTT-HAMILTON
1c44cf7e4c
Handle SIGINT too ( #1094 )
...
Co-authored-by: an-tao <antao2002@gmail.com>
2021-12-02 10:42:21 +08:00
An Tao
3ad9326e2a
Fix a race condition when resetting ws ( #1101 )
2021-12-02 00:35:27 +08:00
Martin Chang
113d23494a
Fix CI to actually build in C++14 ( #1100 )
2021-12-01 21:55:38 +08:00
An Tao
7cf0a64ab6
Fix orm tests ( #1099 )
2021-12-01 11:18:35 +08:00
Martin Chang
8913abc400
Mark all awaiters as nodiscard ( #1098 )
2021-12-01 08:40:09 +08:00
An Tao
d6b09c9e1b
Fix an error when binding a function pointer to SqlBinder ( #1097 )
2021-12-01 08:39:42 +08:00
An Tao
f522d2d70e
Create path if it doesn't exist ( #1095 )
2021-11-29 18:15:18 +08:00
an-tao
bc18f56d57
Update trantor
2021-11-28 21:23:18 +08:00
An Tao
7d137362bd
Fix the error with multiple results when calling a procedure in mysql ( #1091 )
2021-11-28 16:26:23 +08:00
Martin Chang
6e6493299e
Support setting client certificate and SSL options on HTTP client ( #1090 )
2021-11-27 19:11:05 +08:00
Ichiro
faf3e0c17c
Add drogon::orm to models generation ( #1092 )
2021-11-26 11:29:47 +08:00
NitroMelon
ec8146774a
Add overloads for SqlBinder::operator<< with non-const ref parameter. ( #1089 )
2021-11-25 19:18:30 +08:00
An Tao
895552dcae
Export some symbols for Windows ( #1088 )
2021-11-24 23:59:00 +08:00
An Tao
df331c8a74
Add an example for using coroutines of redis clients ( #1080 )
2021-11-21 12:09:34 +08:00
L0ric0
953000e3fb
Fix compiler warnings ( #1081 )
...
* Fix narrowing conversion warning.
The `static_cast` does not change the behavior of the programm only explictly stating that the behavior is intended.
This change is needed as some compiler settings will treat this warning as an error.
* Do not redeclare `result` variable in insertFormattedString as it shadows variable in outer scope.
This fixes a compiler warning for shadowing variables declared in an outer scope. This change does not change the behaviour of the programm as the shadowd variable is not reused after the inner scope ends. Also the new version should represent the intention of the code better.
This change is needed as some compiler settings will treat this warning as an error.
2021-11-21 09:14:57 +08:00
Martin Chang
e4ec2c36c5
Fix build fail on CentOS8 ( #1078 )
2021-11-16 22:32:08 +08:00
Martin Chang
29f2d431ab
Prevent drogon_ctl create_view appending empty new lines to resulting view in c++ section ( #1073 )
2021-11-06 11:15:46 +08:00
Martin Chang
9e9bc7997e
use decay_t instead of remove_cvref_t ( #1072 )
2021-11-02 22:34:50 +08:00
Martin Chang
9448c19865
Fix coroutine objcet destructing before coroutine ends in async_run ( #1069 )
2021-11-02 13:56:18 +08:00
NitroMelon
0431f38a4e
Support range for static file ( #1060 )
2021-10-28 21:53:58 +08:00
Martin Chang
7066b09edb
fix deprcated warning when using openssl 3 ( #1064 )
2021-10-27 21:19:06 +08:00
Martin Chang
dff4b6c5d9
update trantor ( #1059 )
2021-10-26 10:07:53 +08:00
Martin Chang
e2eb674781
Fix Drogon not building caused by FindFilesystem ( #1056 )
...
* fix FindFilesystem not using the correct header for printf
* fix FS not found on Yocto
2021-10-21 19:43:53 +08:00
an-tao
5a03c9aa9f
Bump version to 1.7.3
2021-10-17 11:49:20 +08:00
Neil Cook
a7f05c4214
Add option to disable brotli if desired by the builder ( #1050 )
2021-10-08 08:42:34 +08:00