Commit Graph

22 Commits

Author SHA1 Message Date
An Tao 43e7b3fec0
Add --path-to-namespace option to drogon_ctl for creating views (#607) 2020-10-12 21:51:39 +08:00
An Tao c264c91f38
Support namespaces when creating view source files (#606) 2020-10-09 21:41:27 +08:00
An Tao 71b60823da
Modify dynamic view loading algorithm (#339) 2020-02-16 17:19:16 +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 aad06fdc3a Add support for plugins 2019-03-29 15:34:14 +08:00
antao d63423545b Modify the drogon_ctl command 2019-03-09 10:31:58 +08:00
antao c9f842fe93 Modify the help information of the drogon_ctl 2018-12-15 21:37:08 +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 0d77fa1490 Improve the function of creating models 2018-11-09 15:46:38 +08:00
antao cae30230c3 Add the create DAO method to drogon_ctl, not completed 2018-11-09 15:46:38 +08:00
antao 183a31831f Add 'create filter' sub-command in drogon_ctl 2018-10-20 17:35:52 +08:00
antao c9b3dcd9c2 Format all files 2018-10-14 15:56:54 +08:00
antao d40190f452 Add creating project function in drogon_ctl 2018-09-04 14:50:18 +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 de6e93da66 modify the file annotations 2018-05-31 17:00:31 +08:00
an-tao 526485a139 drogon_ctl: add create controller command 2018-05-29 13:49:26 +08:00