Omar Mohamed Khallaf
bf4ff759ad
Fix typo in config ( #1593 )
...
change 'enabled_compresed_request' to 'enabled_compressed_request'
2023-05-08 23:37:52 +08:00
Charles
2caa8c4a34
Add webp and svg to the default file_types ( #1575 )
2023-04-27 15:19:33 +08:00
Justen Di Ruscio
5df4db96a5
Fix generation of JSON field validation for short type. ( #1549 )
2023-03-31 10:49:48 +08:00
Martin Chang
122a42cd4f
Adapt Drogon to take advitange of Trantor TLS refactor ( #1505 )
...
Co-authored-by: marty1885 <marty1885@gmail.com>
2023-03-30 23:14:53 +08:00
Tanglong3bf
e25a162887
Add synchronization interface to model's associated query ( #1531 )
2023-03-25 16:27:08 +08:00
An Tao
02742e4518
Fix a configuration error when building drogon_ctl ( #1544 )
2023-03-24 10:20:25 +08:00
An Tao
a039157587
Fix loading configuration on windows ( #1530 )
2023-03-12 18:47:21 +08:00
An Tao
394f9bd0d4
Add the stackLimit option for jsoncpp ( #1518 )
2023-03-01 10:49:25 +08:00
An Tao
313392a9b6
Add a configuration option to display local time in logs ( #1513 )
2023-02-19 23:04:25 +08:00
khalilluo
89588959b1
supports the mediumint column when generate the mysql model ( #1393 )
2022-09-28 19:32:02 +08:00
khalilluo
c913441bb4
fixed model template file Unreachable code ( #1384 )
2022-09-16 17:54:01 +08:00
Ken Matsui
5371b967f6
Use a raw string literal for the drogon banner ( #1332 )
2022-08-01 22:53:02 +08:00
Ken Matsui
cfe1681b0f
Omit redundant virtual specifiers ( #1325 )
2022-07-26 12:19:54 +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
LE GARREC Vincent
b8f44aec2e
Rename BUILD_TRANTOR_SHARED to BUILD_SHARED_LIBS ( #1299 )
2022-06-29 17:29:20 +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
misirlou-tg
fffb8f7e7c
Fixing link error when linking with static c-ares ( #1258 )
2022-05-23 14:29:04 +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
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
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
29732a94ef
Fix reserve bug ( #1144 )
2022-01-03 09:24:06 +08:00
NitroMelon
6a55a3aa64
Fix namespace in model template. ( #1107 )
2021-12-05 18:29:29 +08:00
Ichiro
faf3e0c17c
Add drogon::orm to models generation ( #1092 )
2021-11-26 11:29:47 +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
56cb305ae3
Support custom MIME types and extensions ( #1024 )
...
* Drogon now support custom extension and MIME types
* Added contentTypeString() to retrieve the string version of content type (in case the content type is not in the ContentType enum)
* setCustomContentTypeAndString() also accepts MIME as input (instead of the full content-type header string),
* Remove webContentTypeToString()
* Added app().registerCustomExtensionMime()
* Added support to load custom extension from JSON config
2021-09-24 22:51:09 +08:00
Martin Chang
133e6dc2ef
Update C++ version detection logic ( #993 )
...
* Maintain compatibility with cmake generated from older drogon_ctl
* Use user-defined C++ version when possible
* C++ version detection no-longer depends on std::filesystem availability
* Link against c++fs in DrogonConfig.cmake if on those versions of GCC
* Allow DrogonConfig to use user-defined C++ version
2021-08-24 16:34:07 +08:00
Martin Chang
7e4174d537
Escape connection string in drogon_ctl create model
( #967 )
2021-08-10 21:25:16 +08:00
An Tao
1c04b1a419
Fix some compatibility issues introduced by std::filesystem or boost::filesystem ( #947 )
2021-07-23 13:08:54 +08:00
Martin Chang
35c2d123c0
Load ParseAndAddDrogonTests in DrogonConfig ( #934 )
2021-07-17 22:16:03 +08:00
Greisberger Christophe
5c1c81e828
Feature/support windows unicode paths ( #928 )
2021-07-15 23:57:12 +08:00
Greisberger Christophe
d888816997
Added support for paths containing unicode characters on Windows ( #921 )
...
Co-authored-by: Christophe Greisberger <christophe@greisberger.fr>
Co-authored-by: an-tao <antao2002@gmail.com>
Co-authored-by: marty1885 <marty188586@gmail.com>
2021-07-12 22:38:02 +08:00
Martin Chang
3b600232be
error on failing to create view from CSP ( #924 )
2021-07-09 07:58:03 +08:00
Philip Kovacs
a70a2844b1
Fix compiler warnings ( #886 )
...
Co-authored-by: an-tao <antao2002@gmail.com>
Co-authored-by: Martin Chang <marty1885@users.noreply.github.com>
2021-06-09 19:14:15 +08:00
Tommy Chiang
e1cbd1b987
Add SSL_CONF_cmd support ( #871 )
2021-05-29 16:53:46 +08:00
陈晓林
e478b63dda
Add support 'select <db>' for redis ( #847 )
...
Co-authored-by: an-tao <antao2002@gmail.com>
2021-05-12 18:32:49 +08:00
An Tao
51814b76da
Add the setTimeout() method to the ReidsClient class ( #830 )
2021-04-30 08:00:11 +08:00
An Tao
685aaaa3da
Add the setTimeout() method to the DbClient class ( #823 )
2021-04-29 10:13:34 +08:00
0rangeFox
f670f71484
A few mini changes to Drogon CTL. ( #795 )
2021-04-11 11:51:48 +08:00
0rangeFox
c65051a8f1
Remove repeated class names on relationships from model generator. ( #792 )
2021-04-09 22:15:49 +08:00
An Tao
4b8d08f20f
Add CoroMapper to models friends ( #790 )
2021-04-09 16:54:40 +08:00
Bertrand Darbon
54727a5dbe
Add exports macro to allow Shared Library with hidden symbols by default (e.g. Windows) ( #745 )
...
Co-authored-by: an-tao <antao2002@gmail.com>
2021-04-09 10:17:28 +08:00
An Tao
d22ce4a848
Fix a bug when creating sqlite3 models ( #756 )
2021-03-18 01:17:37 +08:00
JuergenGleiss
79f480c17d
Bugfix/restful api dump invalid json ( #748 )
2021-03-14 17:20:15 +08:00
An Tao
6d9aa3b44c
Add redis support ( #719 )
2021-03-13 19:13:54 +08:00
JuergenGleiss
29a1659085
Feature/orm convert method ( #739 )
2021-03-12 10:41:20 +08:00
Bertrand Darbon
bcd8e27a36
feature(signal): Add option to disable signal handling ( #742 )
2021-03-11 22:03:02 +08:00