Bertrand Darbon
1dfaaac5d0
Add Arch Dockerfile ( #749 )
2021-03-13 12:27:07 +08:00
JuergenGleiss
29a1659085
Feature/orm convert method ( #739 )
2021-03-12 10:41:20 +08:00
Roque
ed5ceb019d
Fix compilation errors for TimeFilter example ( #743 )
2021-03-12 08:11:29 +08:00
Bertrand Darbon
bcd8e27a36
feature(signal): Add option to disable signal handling ( #742 )
2021-03-11 22:03:02 +08:00
双草酸酯
1901801d59
Fix compile warnings in SQL client ( #741 )
2021-03-11 18:43:56 +08:00
Roque
71269e0179
Fixes on some name words typos ( #738 )
...
Co-authored-by: roque <roque@roque.pl>
2021-03-10 09:03:59 +08:00
an-tao
5dc02c3476
Bump version to 1.4.1
2021-03-07 20:42:32 +08:00
an-tao
e28b9aa59c
Fix the same bug in the DbClientLockFree class
2021-03-07 20:40:35 +08:00
An Tao
b30c92a9a2
Fix a bug of DbClientImpl class ( #735 )
2021-03-07 01:28:49 +08:00
an-tao
cd389aec13
Bump version to 1.4.0
2021-03-05 23:06:16 +08:00
Martin Chang
98da3490e7
return awaiter from coroutine instead of resumable ( #733 )
2021-03-05 22:21:02 +08:00
Martin Chang
8bd1f5684e
Fix drogon::Task<> not destructing internal object ( #729 )
2021-03-01 13:36:03 +08:00
JuergenGleiss
af2bd6ba69
HttpRequest: add feature to avoid url encoding of path ( #730 )
2021-02-28 23:42:15 +08:00
An Tao
ef51951785
Make projects created by dg_ctl support coroutines ( #727 )
2021-02-27 17:39:13 +08:00
an-tao
0995749dec
Update trantor
2021-02-23 14:03:10 +08:00
Martin Chang
cde19a1f57
Valivate certificate in HttpClient ( #726 )
...
Co-authored-by: an-tao <antao2002@gmail.com>
2021-02-22 11:45:33 +08:00
An Tao
0f5721119c
Support SNI in the HttpClient class ( #724 )
2021-02-21 16:05:58 +08:00
An Tao
ffda84627b
Modify Mapper and CoroMapper templates ( #722 )
2021-02-20 10:00:28 +08:00
an-tao
fd720d55d9
Modify FindMySQL.cmake
2021-02-17 10:02:52 +08:00
Martin Chang
4210dbce07
Revert OS X CI fix ( #721 )
2021-02-17 09:58:33 +08:00
An Tao
eb2d24197a
Fix the error when SSL handshake fails ( #717 )
2021-02-15 09:15:26 +08:00
interfector18
12cfdd5916
Lowercase all http headers, add webp and avif types ( #718 )
2021-02-15 09:14:54 +08:00
An Tao
3b8b63d17d
Add drogon::orm::CoroMapper<T> template ( #712 )
...
Co-authored-by: marty1885 <marty188586@gmail.com>
2021-02-13 18:22:17 +08:00
An Tao
cfb71cc619
Add transactions test of coroutines ( #711 )
2021-02-10 23:24:15 +08:00
mbehboodian
33044c823f
Fix typo in README.md ( #708 )
2021-02-07 17:08:41 +08:00
Martin Chang
0b5920a1f3
Fix stack use after scope error in client_example ( #707 )
2021-02-07 10:35:21 +08:00
interfector18
6542236b20
Add default value interface to sqlbinder for mysql and postgresql ( #704 )
2021-02-07 10:34:49 +08:00
An Tao
4c577e6fa9
Fix compilation errors on vs2019 ( #706 )
...
Fix compilation errors on VS2019 when coroutines are enabled
2021-02-06 19:53:30 +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
7ce5768372
Return 404 or 405 responses correctly ( #705 )
2021-02-06 15:16:44 +08:00
An Tao
5426100bde
Fix a error in the HttpClient class when a response has no content-length header ( #698 )
2021-02-03 14:54:45 +08:00
Martin Chang
a060351f7a
Fix CI fail on OS X ( #699 )
2021-02-03 13:10:08 +08:00
双草酸酯
2919fdb7d4
Handle cross compiling properly (Fix for #654 ) ( #694 )
2021-01-24 22:44:20 +08:00
Martin Chang
0168cd0574
Bump version in CMakeLists.txt to 1.3.0 ( #692 )
2021-01-17 12:03:27 +08:00
an-tao
1bbc457f0d
Bump version to 1.3.0
2021-01-16 22:13:26 +08:00
丁盟
64e916ccb3
Fix an error with missing composite key to sqlite3 ORM generator ( #673 )
2021-01-05 22:14:31 +08:00
An Tao
f26450f04b
Fix an error in sqlite3 ORM generator ( #669 )
2020-12-30 20:11:24 +08:00
An Tao
66fbb33956
Add format check to actions ( #668 )
2020-12-26 14:39:38 +08:00
Jiannan Liu
4b5885e3c0
Serve wasm files with the correct MIME type ( #667 )
2020-12-26 12:21:43 +08:00
An Tao
ec59dbbc3d
Add option for setting float precision in Json string ( #666 )
2020-12-24 20:00:29 +08:00
An Tao
1cb8b17709
Fix some bugs when creating models via drogon_ctl ( #660 )
2020-12-18 09:41:58 +08:00
zorosz
61bb2cf130
Based on https://github.com/an-tao/drogon/issues/627#issuecomment-727768460 ( #659 )
...
Co-authored-by: oroszz <oroszz>
2020-12-18 09:41:04 +08:00
Joakim L. Gilje
f9d714ab74
sqlite3: Insert into stmtsMap_ as string_view ( #657 )
2020-12-14 08:50:58 +08:00
An Tao
ce704aff5b
Update trantor ( #656 )
...
* Update trantor
* Make some minor modifications.
2020-12-14 08:49:33 +08:00
ivanka2012
d2f291689d
Fix cmake drogonctl crosscompile ( #654 )
2020-12-13 22:12:01 +08:00
An Tao
566297d4df
Create cmake.yml ( #653 )
2020-12-13 18:12:30 +08:00
An Tao
28f6338271
Remove the use of std::filesystem to adapt to old compilers ( #652 )
2020-12-12 20:37:44 +08:00
ivanka2012
64fe47acd8
Fix brotli link order ( #651 )
2020-12-12 19:39:26 +08:00
an-tao
35b4a86e06
Bump version to 1.2.0
2020-12-12 16:33:13 +08:00
ivanka2012
292894c426
Fix MinGW ORM building by enabling htonll and ntohll ( #650 )
2020-12-11 16:13:00 +08:00