Commit Graph

18 Commits

Author SHA1 Message Date
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
Ken Matsui
cfe1681b0f
Omit redundant virtual specifiers (#1325) 2022-07-26 12:19:54 +08:00
An Tao
70eda27427
Add the ability to create restful API controllers (#244)
* Add the ability to create restful API controllers

* Update the model.json template file

* Modify the 'create controller' command of the drogon_ctl

* access column values by column array indexes instead of column names when constructing an instance of a model class

* Fix a bug of mysql database

* Add some static SQL into models

* Add validations to models

* Add setToNull method to models

* Support 'where in' substatement

* Delay rendering from json to the response body. This allows users to modify the json object before sending a response.

* Add synchronous method to the HttpClient class
2019-09-30 21:34:30 +08:00
antao
11b6d20a69 clang-format 2019-05-18 20:39:57 +08:00
antao
2f7fe56814 Modify the drogon_ctl 2018-12-15 21:21:39 +08:00
antao
032aa19a53 Modify file formats and comments 2018-12-07 15:50:18 +08:00
antao
13d13ed240 Organize the format of files 2018-11-16 13:26:14 +08:00
antao
7611573153 Merge branch 'master' into with_orm 2018-11-15 15:04:42 +08:00
antao
fd58a419a9 Rename HttpApiController to HttpController 2018-11-15 14:31:10 +08:00
antao
cae30230c3 Add the create DAO method to drogon_ctl, not completed 2018-11-09 15:46:38 +08:00
antao
c9b3dcd9c2 Format all files 2018-10-14 15:56:54 +08:00
antao
aa8170ff18 Modify drogon_ctl 2018-08-22 14:27:45 +08:00
an-tao
beb7ae2b5d modify drogon_ctl help command 2018-06-07 18:16:30 +08:00
an-tao
006cfdd898 command for creating api controller;todo:fix regex match bug 2018-06-06 21:40:48 +08:00
an-tao
3f69aafec8 create api controller command,not complete yet 2018-06-06 18:29:05 +08:00
an-tao
de6e93da66 modify the file annotations 2018-05-31 17:00:31 +08:00
an-tao
30ab716c6b add HttpView to support html backend rendering 2018-05-29 17:21:37 +08:00
an-tao
526485a139 drogon_ctl: add create controller command 2018-05-29 13:49:26 +08:00