Commit Graph

37 Commits

Author SHA1 Message Date
Ken Matsui
474db0dd9a
Remove the virtual specifier from functions marked with override (#1320) 2022-07-26 00:33:18 +08:00
Ichiro
09a351d032
Format code controller autogen (#1138) 2022-02-19 09:37:11 +08:00
WojciechMigda
c9076220ac Fix size_t underflow (#272)
This fixes abnormal behaviour when controller without namespace
is being created
2019-10-06 09:43:08 +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
40087fba9c Remove config.h
Modify the CMakeLists.txt

Remove the USE_ORM macro

Update trantor

Remove some std::dynamic_pointer_cast calls
2019-07-29 14:53:41 +08:00
antao
11b6d20a69 clang-format 2019-05-18 20:39:57 +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
b96eb04859 Add WebSocket client support 2019-04-07 00:46:22 +08:00
antao
62fad73bc9 Enhance HttpClient to support pipelining 2019-04-05 01:50:29 +08:00
antao
d63423545b Modify the drogon_ctl command 2019-03-09 10:31:58 +08:00
antao
b39dd52a87 Modify some comments 2019-03-06 15:57:05 +08:00
antao
a9e9ced331 Use references instead of values in range-based for loop 2019-01-21 17:39:31 +08:00
antao
01de7f4f1e Remove expired filter classes 2019-01-16 10:03:11 +08:00
antao
e69697466d Update the submodule trantor 2018-12-24 10:47:20 +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
fd58a419a9 Rename HttpApiController to HttpController 2018-11-15 14:31:10 +08:00
antao
fcb2ab7880 HttpMethod 2018-10-20 13:45:17 +08:00
antao
c9b3dcd9c2 Format all files 2018-10-14 15:56:54 +08:00
antao
2cff4a3457 Update METHOD_ADD macro 2018-08-30 10:18:04 +08:00
antao
8788d0359d Add filters chain before websocket controller 2018-08-27 16:07:36 +08:00
antao
68d05dae47 Modify callback function signature 2018-08-26 16:25:35 +08:00
antao
1faa4937a3 Fix some bugs 2018-08-23 18:05:17 +08:00
antao
0e95e10c2b Websocket frame parsing 2018-08-22 18:20:54 +08:00
antao
c0acf347a3 Modify drogon_ctl 2018-08-22 15:08:48 +08:00
antao
aa8170ff18 Modify drogon_ctl 2018-08-22 14:27:45 +08:00
antao
99ba19ebca change doFilter interface 2018-08-02 15:38:06 +08:00
root
82855fc86e fix precompiled bugs 2018-06-23 11:22:20 +00:00
an-tao
132e887337 fix a spelling error 2018-06-07 16:38:45 +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
6004b633af change http callback interface 2018-06-05 09:38:03 +08:00
an-tao
2875656d82 fix iterator bug 2018-05-31 18:56:07 +08:00
an-tao
de6e93da66 modify the file annotations 2018-05-31 17:00:31 +08:00
an-tao
ffd652c4e0 fix indentation bug 2018-05-29 13:57:10 +08:00
an-tao
526485a139 drogon_ctl: add create controller command 2018-05-29 13:49:26 +08:00