Commit Graph

1782 Commits

Author SHA1 Message Date
An Tao
e5daba6bf5
Fix a bug of the GlobalFilters plugin (#1842) 2023-11-09 12:47:02 +08:00
Vincent Le Quang
8586874c87
Fix build due to trantor commit out of date and address warnings. (#1839) 2023-11-08 15:10:50 +08:00
antao
f215cb15a0 Bump version to 1.9.0 2023-10-29 11:44:42 +08:00
An Tao
7599ae98a0
Change logs in the AccessLogger plugin to TRACE level (#1829) 2023-10-29 11:30:44 +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
An Tao
9ffe1b267b
Fix an error in the secureRandomString function (#1816) 2023-10-19 19:38:17 +08:00
Muhammad
645c2d8aaf
Use wss://echo.websocket.events/.ws in WebSocket client example (#1809) 2023-10-12 11:27:49 +08:00
An Tao
ab76e80089
Make & and * directly adjacent to variable names (#1810) 2023-10-12 11:27:25 +08:00
TheEnigmist
d9afdf279a
Added isTopicEmpty function (#1808)
Co-authored-by: TheEnigmist <lthenigmistl@gmail.com>
2023-10-10 11:03:27 +08:00
dependabot[bot]
1efe89a719
Bump actions/checkout from 3 to 4 (#1801)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>
2023-10-01 20:37:09 +08:00
OrbitZore
fd7af8110f
Add optional Criteria && || operator support (#1797) 2023-09-26 13:58:02 +08:00
an-tao
63b7f5eb13 Update the ubuntu Dockerfile 2023-09-25 18:06:08 +08:00
An Tao
94ca651cbd
Bump version to 1.9.0-rc.1 (#1789) 2023-09-24 10:52:52 +08:00
Muhammad
6cb8ac6f52
SlashRemover optimization (#1781) 2023-09-19 22:28:06 +08:00
Muhammad
078f60ca03
Add override keyword to setSockOptCallback (#1785) 2023-09-19 09:23:33 +03:00
Muhammad
cfa0de4389
Optimize regex generator (#1782) 2023-09-18 09:50:28 +08:00
An Tao
112d19ff12
Optimize plugins with redirection functions (#1776)
Note: after this submission, users who use the SecureSSLRedirector plugin and the SlashRemover plugin should add the following line to the configuration file:
   {
      "name": "drogon::plugin::Redirector",
      "dependencies": [],
      "config": {
      }
   }
 and add the plugin name "drogon::plugin::Redirector" to the dependencies list of the SecureSSLRedirector plugin and the SlashRemover plugin.
2023-09-16 17:33:38 +08:00
An Tao
cedeeb59f4
Add a plugin for prometheus (#1632) 2023-09-04 10:16:44 +08:00
An Tao
4e5638fdcd
Add a method to HttpRequest to access the matched routing parameters (#1765) 2023-09-04 10:13:14 +08:00
Nitromelon
e2e5d6d57f
Allow omitting template paremeter in execCommandSync. (#1764) 2023-08-31 19:19:58 +08:00
Nitromelon
53c84305b2
Simplify coroutine implementation (#1762) 2023-08-31 10:08:44 +08:00
an-tao
85d7c068e4 Update trantor (fix botan) 2023-08-30 19:57:51 +08:00
Ken Matsui
5d0c70278e
Delete apply.h (#1763) 2023-08-29 13:55:04 +08:00
Ken Matsui
366311c196
Avoid using well-known ports for demoMain (#1761) 2023-08-28 19:31:17 +08:00
Ken Matsui
5df9b48998
main -> master in C++ CI 2023-08-28 02:59:39 -07:00
Ken Matsui
8d4c17702a
Use ninja to build faster (#1755) 2023-08-28 17:59:14 +08:00
dependabot[bot]
9337571e1a
Bump actions/checkout from 2 to 3 (#1760)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>
2023-08-28 02:58:11 -07: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
Ken Matsui
40aa034595
Add dependabot.yml for GH actions (#1756) 2023-08-28 17:17:08 +08:00
Ken Matsui
de4c811772
Set concurrency for CodeQL (#1759) 2023-08-28 02:12:34 -07:00
Ken Matsui
3ecb8b4917
Split macOS and Ubuntu CIs for readability (#1754) 2023-08-28 17:07:52 +08:00
Ken Matsui
f761c54aa8
Extract format action into distinct job (#1751) 2023-08-28 13:50:22 +08:00
Ken Matsui
58055ae39c
Validate clang-format version & Customize clang-format path (#1752) 2023-08-27 20:54:22 +08:00
Ken Matsui
bc4d740b0c
Set concurrency to prevent blocking CI queue (#1753) 2023-08-27 20:53:36 +08:00
Muhammad
f8f5283dff
Allow sync advice to be callable on websocket requests (#1733)
Co-authored-by: Nitromelon <hwc14@qq.com>
2023-08-24 15:09:31 +08:00
an-tao
54b137d64f Update readme files 2023-08-24 14:41:47 +08:00
Greisberger Christophe
40579ae308
Added isHead() method to HttpRequest, to preserve information about the original method for use in the controller (#1743) 2023-08-24 12:41:48 +08:00
an-tao
81bf767d89 Update trantor: fix tls reading 2023-08-24 10:42:37 +08:00
Martin Chang
f1426c6e9a
fix race condition when setting the secure flag during test (#1742) 2023-08-23 23:58:29 +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
an-tao
f361995035 Bump version to 1.8.6 2023-08-23 10:02:08 +08:00
Ken Matsui
3723ed5e0c
Show outputs of try_compile for UUID libs (#1738) 2023-08-22 21:24:42 +08:00
antao
83e08f4b27 Bump version to 1.8.5 2023-08-20 13:17:52 +08:00
An Tao
3aa93e62e7
Add getConnectionCount method (#1731) 2023-08-18 15:31:11 +08:00
antao
5c43b82dc2 Update trantor (fix tls) 2023-08-16 21:06:18 +08:00
antao
4c44322221 Update trantor 2023-08-15 22:52:12 +08:00
albaropereyra22
47e700c77f
Fixed broken link. (#1727) 2023-08-15 22:14:06 +08:00
albaropereyra22
a122725c3b
Update LICENSE (#1725)
Updated copyright year.
2023-08-15 09:58:18 +08:00
Omar Mohamed Khallaf
5509091ab8
Perform insensitive string compare of cookie SameSite attribute (#1706)
Co-authored-by: Omar Mohamed <omar@omar-laptop.lan>
2023-08-14 09:41:34 +08:00
an-tao
43b014cc24 Update trantor 2023-08-12 17:11:51 +08:00