Commit Graph

1863 Commits

Author SHA1 Message Date
Nitromelon ad2b7e13e1
Fix typo in yaml config. (#2069) 2024-06-15 10:27:51 +08:00
An Tao b04dfd7f96
Fix some compilation warnings (#2066) 2024-06-13 17:11:03 +08:00
Muhammad de5a4a5f57
Allow `MultiPartParser` to parse PATCH requests (#2062) 2024-06-09 18:46:57 +03:00
An Tao 8bdb9b2fa6
Bump version to 1.9.5 (#2057) 2024-06-08 20:31:23 +08:00
fantasy-peak 0a889e921d
Add registerMiddleware (#2052) 2024-06-04 17:05:52 +08:00
TYUTthelastone 9a96a20c6e
Add regex support for websocket controller (#1779) 2024-06-04 11:27:00 +08:00
Nitromelon f37a1d036f
Fix pg client name; Add testcase. (#2043) 2024-05-29 00:23:43 +08:00
Nitromelon c4c95918bf
Fix wrong parameter order. (#2040) 2024-05-27 19:10:05 +08:00
Martin Chang 6726df139d
fix codespell error (#2038) 2024-05-26 14:08:18 +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
Nitromelon 306df8a8fb
Install gcc in ci. (#2028) 2024-05-22 14:48:12 +08:00
Nitromelon 82c46f13f8
Fix CI on windows (#2025) 2024-05-10 14:11:28 +08:00
an-tao 5f75222243 Add the conan badge to readme files 2024-05-10 10:59:32 +08:00
Nitromelon 5b7cefd32c Support per-method middlewares. (#2015) 2024-05-10 10:59:32 +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
antao b5cd748a12 Bump version to 1.9.4 2024-05-04 22:42:15 +08:00
Nitromelon 439ddd8dbe
Bypass clang thread_local error. (#2016) 2024-04-29 11:32:30 +08:00
Alexey Gerasimchuck e79d5170b4
Implemented database reconnection loop (#2003) 2024-04-24 10:09:05 +08:00
Muhammad 519398c159
Avoid string copy and lowercasing on every request (#2008) 2024-04-22 17:52:36 +08:00
lirunjie 96919df488
Fix typo in HttpAppFrameworkImpl.cc (#1992) 2024-04-09 10:15:47 +08:00
Martin Chang 294035beb9
update trantor (#1988) 2024-04-04 18:24:18 +08:00
Muhammad 46ac53adb3
Add JSON send overloads for WebSocket connections (#1970) 2024-04-02 15:41:47 +08:00
An Tao 9f2872639a
Remove the request shared_ptr from the multipart parser (#1984) 2024-03-27 16:02:37 +08:00
I-LOVE-C2H5OH 4cbac301fb
add client cert support for websocket (#1967) 2024-03-04 16:50:33 +08:00
itrofimow 88d06684f2
Minor enhancement: move some smart pointers around instead of copying them (#1954) 2024-02-15 14:52:10 +08:00
an-tao da7f065a6f Bump version to 1.9.3 2024-02-09 16:06:33 +08:00
Greisberger Christophe aa04d33e02
Enhancement: extend drogon::ContentType for file handling (#1921) 2024-02-09 15:30:50 +08:00
Muhammad 1a9ad1a2c9
Use `std::string_view` for WebSockets (#1949) 2024-02-08 13:44:08 +08:00
Ken Matsui 22f4b4fad6
Simplify traits in utils (#1952) 2024-02-08 00:25:31 +08:00
An Tao 99d97df25f
Alias the safe hashmap template (#1947) 2024-02-04 23:13:01 +08:00
Muhammad 6aed658fab
Change `drogon::MultiPartParser`'s parameters data type from `std::map` to `std::unordered_map` (#1946) 2024-02-04 21:32:12 +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 0d178877f0
Enable build/header_guard for cpplint (#1936) 2024-01-31 19:05:20 +08:00
Ken Matsui 5f273d8744
Enable build/include_order for cpplint (#1938) 2024-01-31 14:00:56 +08:00
Ken Matsui 3c8c273582
Enable build/explicit_make_pair for cpplint (#1935) 2024-01-31 11:21:39 +08:00
Ken Matsui c2b8e7c624
Enable readability/inheritance for cpplint (#1934) 2024-01-31 11:21:18 +08:00
Ken Matsui 56a53165b6
Add newline at EOF (#1932) 2024-01-31 10:43:30 +08:00
Ken Matsui 674137e89d
Use clang-format-17 (#1931) 2024-01-30 09:57:58 +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
Ken Matsui 359b63fa77
Introduce cpplint (#1929) 2024-01-30 00:47:28 +08:00
Greisberger Christophe baea2dce47
Added getParameter() and getOptionalParameter() (#1923) 2024-01-27 13:37:58 +08:00
Greisberger Christophe cca1c8f262
Fix drogon::util::fromString() (#1925) 2024-01-26 08:27:14 +08:00
Nitromelon aeed963915
Fix a wrong place of return. (#1922) 2024-01-25 19:13:28 +08:00
Hazimi Md Nazri e640cc092d
Add support for gentoo linux, dev-db/mariadb contains mysql (#1914) 2024-01-19 22:11:53 +08:00
an-tao 93c568bb95 Bump version to 1.9.2 2024-01-18 21:46:10 +08:00
MWX af29e25b03
Fix name issue when cross-compiling (#1906) 2024-01-18 13:38:27 +08:00
An Tao d745cfe765
Move the RealIpResolver plugin to the PreRouting join point (#1904) 2024-01-16 11:18:13 +08:00
tripleslash 6b36b3a4f9
Support asynchronous sending of chunked responses (trantors new API) (#1886)
Co-authored-by: fantasy-peak <1356346239@qq.com>
Co-authored-by: Michael Bleis <michael.bleis@aracom.de>
2024-01-15 23:26:27 +08:00