Commit Graph

322 Commits

Author SHA1 Message Date
fantasy-peak ca2210331d
Add sending customized http requests to drogon_ctl (#2186) 2024-10-17 10:47:04 +08:00
Christopher T c9f5754423
Add support for escaped identifiers in Postgresql (#2167) 2024-09-23 16:00:50 +08:00
Bohdan Tsehelnyk f743cfd4d1
add quotes (#2116) 2024-08-06 17:15:01 +08:00
Nitromelon 5d4523a3a6
Support request stream (#2055) 2024-07-03 11:31:39 +08:00
Nitromelon ad2b7e13e1
Fix typo in yaml config. (#2069) 2024-06-15 10:27:51 +08:00
Jonathan S. Fonseca 150735848d
Intention to present an alternative to improve the aforementioned method (#2034) 2024-05-25 21:30:01 +08:00
Nitromelon 155ae9ad65
Support postgresql connection options (#1972) 2024-05-23 14:03:28 +08:00
Tanglong3bf abbcf6023d
Fix an error in the yaml format config file (#2020)
There is an error in the `app.log.use_spdlog` item in the default
config file in the yaml format.
While fixing this error, other minor problems in the config files were
fixed.
For example, some spelling errors and missing items in yaml format.
At the same time, different config files are modified to store the same
content.
2024-05-07 14:00:15 +08:00
Ken Matsui 3d469112ca
Enable readability/multiline_string for cpplint (#1940) 2024-01-31 20:17:59 +08:00
Ken Matsui f63480674f
Enable build/storage_class for cpplint (#1937) 2024-01-31 19:21:46 +08:00
Ken Matsui 56a53165b6
Add newline at EOF (#1932) 2024-01-31 10:43:30 +08:00
Ken Matsui ffc6e74f27
Enable readability/alt_tokens for cpplint (#1930)
* Enable readability/alt_tokens for cpplint

* Format drogon_ctl/create_model.cc
2024-01-30 09:55:47 +08:00
MWX af29e25b03
Fix name issue when cross-compiling (#1906) 2024-01-18 13:38:27 +08:00
An Tao 021c89ec78
Add -k option to the drogon_ctl when running the press command (#1887)
* Add -k option to the drogon_ctl when running the press command

* Fix some warnings

* Fix a bug of bytes statistics in HttpClient
2023-12-25 09:39:16 +08:00
Tanglong3bf ba9e9731d2
Fix ORM: The original way did not handle exceptions correctly. (#1872) 2023-12-16 14:07:27 +08:00
antao 358de6e66f Modify the configuration file templates in drogon_ctl 2023-12-05 22:05:19 +08:00
George Constantinides 01385f4f33
Update test_cmake.csp (#1856)
_test not needed for submodule target_link_libraries since it was added in project
2023-11-18 16:13:30 +08:00
Muhammad 56f0102cfe
Custom sessions (#1841) 2023-11-09 21:38:41 +08:00
Viktor Mukha 4323e7b6ef
FIX int mapping to int64_t instead of uint64_t (#1825)
Negative numbers were not passing json validation
2023-10-28 22:13:57 +08:00
Ken Matsui 366311c196
Avoid using well-known ports for demoMain (#1761) 2023-08-28 19:31:17 +08:00
frank10gm 816684e15d
Replace sprintf with snprintf (#1758)
Co-authored-by: francesco.laplaca <francesco.laplaca@enhancers.it>
Co-authored-by: Ken Matsui <26405363+ken-matsui@users.noreply.github.com>
2023-08-28 17:18:12 +08:00
Nikolay Mitev 17c80508c0 Drop cpp14 build (#1740)
* Drop C++14 Support

* Update README.md

* Remove drogon::optional in favor of std::optional

* Remove drogon::filesystem in favor of std::filesystem

* Remove boost::string_view and pre-c++17 hacks

* Remove boost::any

* Remove the string_view.h and the any.h

* Remove boost lib

* Update .clang-format and ci

Co-authored-by: Omar Mohamed <omar@omar-laptop.lan>
Co-authored-by: Ken Matsui <26405363+ken-matsui@users.noreply.github.com>
Co-authored-by: An Tao <antao2002@gmail.com>
Co-authored-by: albaropereyra22 <141711575+albaropereyra22@users.noreply.github.com>
Co-authored-by: Yoshihiro Hokazono <47231909+hokacci@users.noreply.github.com>
Co-authored-by: Omar Mohamed Khallaf <51155980+omarmohamedkh@users.noreply.github.com>
2023-08-23 11:49:55 +08:00
Tanglong3bf ca92e32d55
Add an example of yaml config file. (#1690) 2023-07-22 22:04:28 +08:00
Nitromelon 44b6916d7e
Support setting max_files in loggers. (#1628) 2023-06-09 13:14:03 +08:00
Ken Matsui 75b106599d
Implement QueryBuilder (#1331) 2023-05-22 09:52:19 +08:00
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