Commit Graph

1881 Commits

Author SHA1 Message Date
timulations
7c96c7fbf5
Fix bug on Mac M1 with redis chat example code (#1566) 2023-04-17 23:08:17 +08:00
An Tao
65b1715539
Add the DROGON_EXPORT macro to the GlobalFilters plugin (#1565) 2023-04-16 13:42:46 +08:00
an-tao
4358b71f55 Add filters and plugins to the drogon.h header file 2023-04-16 12:15:27 +08:00
An Tao
c7912f246b
Add the GlobalFilters plugin (#1555) 2023-04-16 11:55:00 +08:00
An Tao
d133b21804
Modify the HttpMessageBody class (#1564) 2023-04-16 11:54:11 +08:00
An Tao
ad2798e4aa
Adapt to gcc13 (#1563) 2023-04-16 09:30:37 +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
292d677446 Update trantor 2023-04-03 09:33:33 +08:00
An Tao
0715a94a06
Add avatars of all contributors to the readme file (#1553) 2023-04-01 18:52:42 +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
An Tao
120aaf249d
Remove the deprecated Json::Reader (#1546) 2023-03-26 17:03:19 +08:00
Nitromelon
f0a011b14d
Use syncAdvices.empty() to check. (#1545) 2023-03-25 17:37:33 +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
Nitromelon
4f066258f2
Temporary fix dead HttpClient. (#1542) 2023-03-21 14:51:37 +08:00
An Tao
ceab5f3037
Bump version to 1.8.4 (#1539) 2023-03-20 23:31:07 +08:00
An Tao
21e207abe5
Add a cmake option to use yaml-cpp or not (#1538) 2023-03-20 19:02:13 +08:00
Martin Chang
c63b021e7d
Hold shared pointer from the very beginning (#1537) 2023-03-18 18:38:55 +08:00
Martin Chang
2af8e47278
Trigger error message in drogon test when faced with bad parameter (#1495) 2023-03-14 22:43:50 +08:00
Nitin Anand
00debb056b
Changes to free http client if no request is pending (#1529) 2023-03-14 22:41:52 +08:00
Hayden Zhou
af551bf2fb
fix missing symbol '@' (#1532) 2023-03-13 22:23:32 +08:00
Ostropik
b229f74743
Fix namespaces (#1528)
Co-authored-by: Ostropik <Dmytro.OSTROPITSKYI@ingenico.com>
2023-03-13 17:44:00 +08:00
An Tao
a039157587
Fix loading configuration on windows (#1530) 2023-03-12 18:47:21 +08:00
An Tao
97a5496fa4
Add queueInLoopCoro function (#1526) 2023-03-09 16:44:34 +08:00
Nitromelon
314bab0b4c
Add switchThreadCoro(). (#1501) 2023-03-09 12:13:51 +08:00
Martin Chang
ab5259b290
Add coroutine to wait until event loop ends (#1500) 2023-03-09 10:13:18 +08:00
Hayden Zhou
d4c0e063f1
Add support to yaml config file. (#1521)
Co-authored-by: an-tao <antao2002@gmail.com>
2023-03-09 00:17:11 +08:00
An Tao
57ec87d38d
Add an option in CMakeLists.txt to set how to use trantor (#1520) 2023-03-09 00:16:21 +08:00
An Tao
b739a7fab8
Update ConfigLoader.cc (#1524) 2023-03-07 17:01:23 +08:00
An Tao
394f9bd0d4
Add the stackLimit option for jsoncpp (#1518) 2023-03-01 10:49:25 +08:00
Nitromelon
bc028776f7
Refactor HttpServer codes. (#1508) 2023-02-28 10:19:26 +08:00
An Tao
d321bd4fc1
Fix a conan issue in github actions (#1517) 2023-02-27 14:30:38 +08:00
An Tao
313392a9b6
Add a configuration option to display local time in logs (#1513) 2023-02-19 23:04:25 +08:00
jinsongzhao
29955becc1
Fix multipart boundary with charset (#1511)
For example
Content-Type: multipart/form-data; boundary=TqmguJb_Fm_eFtAFCpWvmk5iPqrIEJJjvBFn; charset=ISO-8859-1
2023-02-18 19:35:58 +08:00
nitinanand-macrometa
54d96963f3
Use weakptr instead of shared_ptr (#1504)
Co-authored-by: Nitin Anand <gmail@an.andnit.in>
2023-02-12 21:47:20 +08:00
An Tao
ae9d5f20b3
Postgresql: don't handle events anymore after connection closing (#1499) 2023-02-04 20:06:15 +08:00
Martin Chang
7d87d7e0b2
Fix file r/w race condition in integration test (#1496) 2023-01-28 13:19:16 +08:00
Martin Chang
36d7435d1d
add coroutine parameter binding test and make tests not blocking (#1493) 2023-01-28 10:33:04 +08:00
Martin Chang
479346822f
reduce overhead of contructing string from request status (#1494) 2023-01-28 10:32:45 +08:00
An Tao
3adf168a87
Make the token bucket full when it is initialized (#1489) 2023-01-25 21:43:33 +08:00
An Tao
0b3147c157
Bump version to 1.8.3 (#1485) 2023-01-23 11:03:50 +08:00
Martin Chang
007a6ffbe3
partial fix for MSYS2 compat (#1468) 2023-01-18 16:01:56 +08:00
Nitromelon
554939d7ee
Fix error when PgListener task queue not empty (#1478)
* Fix error when task queue not empty.

* Update test, listen multiple channels.
2023-01-14 10:16:50 +08:00
Nitromelon
1618484d74
Support postgresql asynchronous notification (LISTEN/NOTIFY). (#1464) 2023-01-04 23:50:49 +08:00
Martin Chang
19f08786f0
mark awaiters as non copyable (#1457) 2022-12-18 15:12:32 +08:00
lldxflwb
80ea3c4f30
Fix a memory leak in the redis example (#1447) 2022-12-02 20:00:55 +08:00
interfector18
c5e596d942
Enable json entry as string (#1440) 2022-11-17 21:56:36 +08:00
Greisberger Christophe
28518b7bba
Fix HttpController regex path matching (#1439)
* Fixed wrong controller method called on regex paths

* Fixed test executables not linking on Windows

* Fixed compilation conversion warnings with explicit casts
2022-11-17 21:56:12 +08:00
Francesco Emanuele D'Agostino
1b11bfb668
add onSessionStart() and onSessionDestroy() events (#1412)
Co-authored-by: an-tao <antao2002@gmail.com>
2022-11-13 22:40:24 +08:00