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
antores
8e4ffa71e2
Fix building with MSYS2 ( #1902 )
...
Co-authored-by: antores <antores@users.noreply.github.com>
2024-01-15 10:14:05 +08:00
an-tao
25f874a278
Update trantor
2024-01-12 13:56:14 +08:00
antores
5ecbd1f184
Fix htonll/ntohll redefinition ( #1899 )
...
Co-authored-by: antores <antores@users.noreply.github.com>
2024-01-09 09:47:07 +08:00
dependabot[bot]
34d32a1ef0
Bump github/codeql-action from 2 to 3 ( #1894 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-01 21:09:34 +08:00
Ken Matsui
1fd5c7ea5e
Remove macos-11 CI; not supported by Homebrew ( #1891 )
2023-12-28 22:29:45 +08:00
An Tao
2a0da80d5f
Avoid a race condition in database listener tests ( #1890 )
2023-12-28 19:23:42 +08:00
Ken Matsui
01ad18d2d5
Add CI tests with more compilers ( #1889 )
2023-12-28 15:59:29 +08:00
Nitromelon
f4443dce44
Refine request routing process ( #1871 )
...
Code structure changes:
* Combine HttpSimpleControllersRouter, HttpControllersRouter and WebsocketControllersRouter, saving a lot of repetitive codes.
* Extract ControllerBinder classes from three Router classes.
* Extract aop advices and logics into AopAdvice class. Flatten the callback hells of AOPs. Prevent aop vectors from being passed into every router.
* Extract request handling process out of Router class. Let router class do its own work (routing only). Put them in HttpServer class. Now all http process logic stays in HttpServer class, no need to jump around to follow the code flow.
* Adjust doFilters() and doAdviceChain(), save a few lambda construction.
Fixed logic bugs (behavior changing):
* Fix inconsistent session handling (callCallback() vs. callback directly)
* Fix inconsistent aop path between SimpleController and HttpController
* Remove router if simple controller class not found.
2023-12-28 11:53:10 +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
an-tao
125dd0e69e
Set the url of trantor to the official repository
2023-12-19 10:02:42 +08:00
an-tao
38bde80aaa
Update trantor
2023-12-18 18:25:36 +08:00
An Tao
4eec56c49f
Remove the default ctor of the Row class in ORM ( #1885 )
2023-12-17 08:28:35 +08:00
Tanglong3bf
ba9e9731d2
Fix ORM: The original way did not handle exceptions correctly. ( #1872 )
2023-12-16 14:07:27 +08:00
Martin Chang
41b740f649
add discord link to readme ( #1879 )
2023-12-11 14:10:33 +08:00
Christian Clauss
e76bf08eb2
GitHub Action to find typos in the codebase using codespell ( #1876 )
...
GitHub Action to find typos in the codebase using codespell
https://github.com/codespell-project/codespell
2023-12-09 13:48:24 +08:00
An Tao
c35e62ccd2
Use execute_process instead of exec_program in FindJsoncpp.cmake ( #1875 )
2023-12-08 17:33:06 +08:00
antao
358de6e66f
Modify the configuration file templates in drogon_ctl
2023-12-05 22:05:19 +08:00
Greisberger Christophe
8026790e1a
Feature: Integrate spdlog as logging backend ( #1771 )
2023-12-04 23:42:35 +08:00
An Tao
4e890f52d6
Fix a error of coroutines on Windows ( #1870 )
2023-12-04 15:13:09 +08:00
Minha, Jeong
27f1a3d812
Fix: typo on Mapper method ( #1867 )
2023-11-28 17:52:25 +08:00
an-tao
6370461896
Bump version to 1.9.1
2023-11-27 18:55:54 +08:00
Muhammad
6b20a9fa8d
Return `HttpAppFramework` by `setExceptionHandler` ( #1866 )
2023-11-27 17:43:56 +08:00
Muhammad
830ced8c5b
Remove unused and undefined overloads of `isBase64` ( #1865 )
2023-11-27 17:08:01 +08:00
Tanglong3bf
6f6a03b14b
Provide some functions for incrementing the value of given columns. ( #1831 )
2023-11-25 02:23:37 +08:00
Martin Chang
f21b899e63
Simplify drogon test with c++17 ( #1862 )
2023-11-24 18:17:30 +08:00
Vinicius
26840aa056
Fix: uuid formatting ( #1854 )
...
Co-authored-by: root <vinicts@protonmail.com>
Co-authored-by: an-tao <antao2002@gmail.com>
2023-11-18 16:23:13 +08:00