Commit Graph

80 Commits

Author SHA1 Message Date
an-tao 5f75222243 Add the conan badge to readme files 2024-05-10 10:59:32 +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 54b137d64f Update readme files 2023-08-24 14:41:47 +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
Bensuperpc f16017ee6e
Change options BUILD_CTL and BUILD_EXAMPLES and update readme with Building options (#1672)
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2023-07-31 23:16:15 +08:00
An Tao f14ba8de28
Update the README.md (#1567) 2023-04-18 17:17:56 +08:00
Martin Chang abee656699
remove docsforge from readme (#1560)
Co-authored-by: marty1885 <marty1885@gmail.com>
2023-04-08 16:39:48 +08:00
An Tao 0715a94a06
Add avatars of all contributors to the readme file (#1553) 2023-04-01 18:52:42 +08:00
Ken Matsui cfe1681b0f
Omit redundant virtual specifiers (#1325) 2022-07-26 12:19:54 +08:00
Martin Chang 6b0e38fc8f
Experimental HaikuOS Support (#1002) 2021-08-28 11:47:24 +08:00
Martin Chang c9035962fc
Remove AppVeyor badge (#933) 2021-07-16 09:15:15 +08:00
an-tao e5c9c3a947 Update README 2021-03-23 23:13:20 +08:00
mbehboodian 33044c823f
Fix typo in README.md (#708) 2021-02-07 17:08:41 +08:00
Martin Chang a2142dd93e
Coroutine support (#693)
* app().registerHttpHandler() accepts coroutine as handlers
* HttpController can use coroutine as handlers'
* Http request handlers with coroutine catches exception instead of crashing the entire app
* DbClient now has execSqlCoro that is awaitable
* DbClient now has newTransactionCoro that is awaitable
* HttpClient have awaitable sendRequestCoro
* WebSocketClient have awaitable connectToServerCoro
* WebSocketClient have setAsyncMessageHandler and setAsyncConnectionClosedHandler
* drogon::AsyncTask and drogon::Task<T> as our corutine types
* Related tests
* Misc

Future work
* Coroutine for WebSocket server
* Known issues

co_future() and sync_wait may crash. It looks like GCC bug but I'm not sure.
Workarround: Make an coroutine of AsyncTask. Then launch said coroutine.
Not sure why wrapping the exact same thing in function crashes things.

Co-authored-by: an-tao <antao2002@gmail.com>
2021-02-06 17:05:58 +08:00
An Tao 566297d4df
Create cmake.yml (#653) 2020-12-13 18:12:30 +08:00
Rafał Bugajewski 3c0103d324
Added OpenBSD as Supported Operating System 2020-11-15 15:57:59 +01:00
Haceau-Zoac 2ffd4738b2
Add zh-TW README.md (#593) 2020-10-03 23:34:29 +08:00
an-tao 5bca202c28 Update README 2020-09-20 22:14:37 +08:00
An Tao a32170b9a3
Modify the documentation of the method fileData() (#566) 2020-09-12 13:59:04 +08:00
An Tao 11cabfb546
Remove the useless method stat() from the PluginBase class (#563) 2020-09-10 08:45:23 +08:00
An Tao 34cefefce4
Modify parseContentType function (#518) 2020-07-25 10:01:06 +08:00
an-tao dd66ba5a73 Bump version to 1.0.0-beta19 2020-07-16 21:07:00 +08:00
Rafał Bugajewski 598d8c15b3
Added Initial Contribution Recommendations (#445)
Co-authored-by: antao <antao2002@gmail.com>
2020-05-25 21:05:05 +08:00
Erez Oxman d43c2976ff
Changed link in readme.md from doxiz to docsforge (#442) 2020-05-22 00:00:07 +08:00
An Tao c43ba9e514
Add support for brotli compression (#406) 2020-04-04 18:15:15 +08:00
An Tao e171874524
Modify installation on Windows (#366) 2020-02-29 15:46:08 +08:00
An Tao 58702dc41e
Port drogon to Windows (#335)
Co-authored-by: mcirsta <mforce2@gmail.com>
2020-01-25 11:58:20 +08:00
An Tao 4809cc9508
Modify the reverse proxy example (#319) 2019-12-16 00:34:40 +08:00
An Tao e7b6ba27bb
Make user can use a custom type parameter instead of the first parameter in handlers of HttpControllers (#284) 2019-10-19 14:27:34 +08:00
antao 5b40410466 Update drogon version to v1.0.0-beta8 2019-10-04 15:18:09 +08:00
An Tao ba49a0e0e6
Update README (#225)
* Update README

* Update CMakeLists.txt
2019-08-24 22:44:37 +08:00
antao f5c97d33cd Update README 2019-07-10 15:03:32 +08:00
antao 4db148a5af Update README 2019-06-26 16:49:29 +08:00
antao 3d3fd2531c Update trantor and README.md 2019-05-18 10:56:28 +08:00
antao 1b5abb0b03 Update README 2019-05-14 11:14:51 +08:00
An Tao 89f940602d
Update README.md 2019-05-09 11:50:55 +08:00
antao 00049c0d23 Change the type of the callback in HTTP request handlers to r-reference type 2019-05-09 11:25:25 +08:00
antao 1bc07c5197 Add support for AOP 2019-04-18 18:37:31 +08:00
antao b96eb04859 Add WebSocket client support 2019-04-07 00:46:22 +08:00
antao fd5c02c89f Update README.md and the submodule trantor 2019-03-28 09:52:35 +08:00
antao 66456eae1a 1. Add the getCustomCOnfig() method.
2. Add some comments.
2019-03-25 17:44:22 +08:00
antao 56eaca1998 Update README.md and the banner image 2019-03-24 23:17:12 +08:00
antao fecec81975 1.Remove an unnecessary null pointer check
2.Fix a compilation error for older g++
    3.Update README.md
2019-03-20 11:46:27 +08:00
An Tao 9eb7025d74
Update README.md 2019-03-19 23:21:14 +08:00
An Tao 34ebd7ef58
Update README.md 2019-03-19 23:01:19 +08:00
An Tao 06da245cd6
Update README.md 2019-03-19 20:47:18 +08:00
An Tao 3e4a650d9c
Update README.md 2019-03-19 18:50:58 +08:00
antao 1a5845d06c Update README 2019-03-19 18:26:09 +08:00
antao f8c5a73c6b Update the README 2019-03-19 18:22:15 +08:00