Commit Graph

221 Commits

Author SHA1 Message Date
antao
b155aa1b1a Add a README file for examples 2019-07-10 17:57:47 +08:00
antao
bcac1d4899 Make the number of the connections of Fast DB Clients configurable 2019-07-08 18:21:18 +08:00
antao
65173e7e97 Update trantor 2019-06-27 15:37:41 +08:00
antao
c2eac3297c Fix a bug of the drogon_ctl command 2019-06-26 17:58:25 +08:00
antao
40c26f01e4 Modify the parameters of drogon_ctl command 2019-06-22 21:51:14 +08:00
antao
ad2a27e849 Add stress testing command to drogon_ctl 2019-06-14 09:04:59 +08:00
antao
e714ae875e Use a temporary file instead of memory to store a large Http body recieved by drogon 2019-06-06 14:59:49 +08:00
antao
cdcddc8ddb Modify containers of AOP 2019-06-05 09:28:39 +08:00
antao
3452a2fa1c Modify some code to get a good style 2019-05-23 18:57:45 +08:00
antao
11b6d20a69 clang-format 2019-05-18 20:39:57 +08:00
antao
e696553b3d Change the callback type in Filters and AOP Advices to the r-reference type 2019-05-09 13:57:33 +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
66c6441c96 Return index.html to the client requesting '/' 2019-05-07 23:19:26 +08:00
antao
a85c64ac69 Add two configuration options: the client_max_body_size and the client_max_websocket_message_size 2019-05-07 14:04:37 +08:00
antao
0a27394cca Change version to 0.9.33 2019-05-05 15:43:17 +08:00
antao
2efa183b93 Implement gzip_static 2019-05-03 14:44:20 +08:00
antao
e48692939c Modify some interfaces 2019-04-29 14:47:23 +08:00
antao
fa9376b89a Change escapes from '{{}}' to '[[]]' in views 2019-04-25 14:36:42 +08:00
antao
3a587ab90b Modify the pipeling test 2019-04-07 12:15:02 +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
92fa1f83e4 Update test.sh and config.example.json 2019-03-31 18:30:06 +08:00
antao
7ffd47101f Update test.sh for testing drogon_ctl 2019-03-31 00:27:12 +08:00
antao
aad06fdc3a Add support for plugins 2019-03-29 15:34:14 +08:00
antao
8ae07ce195 Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR in CMakeLists.txt files 2019-03-27 19:32:09 +08:00
antao
ff3d87da13 Modify config.example.json 2019-03-27 13:11:02 +08:00
antao
66456eae1a 1. Add the getCustomCOnfig() method.
2. Add some comments.
2019-03-25 17:44:22 +08:00
antao
894b634b22 Adjust the execution order inside the run() method
Modify the configuration of fast database clients
Modify the ConfigLoader class
2019-03-23 11:26:21 +08:00
antao
db72840fc2 Move utility functions to the utils namespace 2019-03-21 17:47:45 +08:00
antao
250781ac08 Add configuration options that limit the number of keep-alive requests 2019-03-12 18:22:13 +08:00
antao
d63423545b Modify the drogon_ctl command 2019-03-09 10:31:58 +08:00
antao
801cb8aa35 Modify some database classes 2019-03-07 11:56:20 +08:00
antao
b39dd52a87 Modify some comments 2019-03-06 15:57:05 +08:00
antao
e0147fac8b Add an interface to set the 'Server' header field 2019-03-02 09:27:45 +08:00
antao
7f21f45a1b Add the fast db client enablation option 2019-02-20 13:23:50 +08:00
antao
e7dbb3bbc5 Remove 'using namespace drogon' from public headers 2019-02-02 13:45:40 +08:00
antao
7041783579 Modify code style 2019-02-02 11:34:00 +08:00
antao
022132c33e Add json format response benchmark 2019-01-31 10:23:12 +08:00
antao
7c8432add0 Support http request in json format 2019-01-22 23:00:14 +08:00
an-tao
d5d90d2f6f Modify code style 2019-01-21 23:59:28 +08:00
an-tao
ef389b6ec9 Organize code style 2019-01-21 22:25:20 +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
926ac48b49 Modify drogon_ctl 2018-12-29 18:02:39 +08:00
antao
bc52c121d5 Add sqlite3 support to the configuration file 2018-12-29 17:17:50 +08:00
antao
3dc6e6c6c1 Modify eventloop in the Sqlite3Connection class 2018-12-29 16:56:50 +08:00
antao
787120dda4 Add support for sqlite3 models 2018-12-29 13:12:36 +08:00
antao
99a03159c5 Fix bugs of the Sqlite3ResultImpl class 2018-12-29 13:12:36 +08:00
antao
9ee1ee929c Update the drogon_ctl command to support sqlite3 2018-12-29 13:12:36 +08:00
antao
e69697466d Update the submodule trantor 2018-12-24 10:47:20 +08:00
antao
3d8d74b78c Modify config.csp of the drogon_ctl command 2018-12-24 09:44:29 +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
71faac9fb2 Modify the drogon_ctl 2018-12-07 19:08:17 +08:00
antao
032aa19a53 Modify file formats and comments 2018-12-07 15:50:18 +08:00
antao
87153fbf3e Update the drogon_ctl 2018-12-06 14:09:40 +08:00
an-tao
afe0eca5e8 Fix a compiler warning 2018-12-04 22:46:33 +08:00
antao
a72fc5e433 Update the configuration file 2018-12-04 17:11:39 +08:00
antao
78c6249bd7 Modify the drogon_ctl 2018-12-03 18:39:44 +08:00
antao
52546b7846 Modify the model generator for time-type columns 2018-12-03 10:13:31 +08:00
antao
458d14591b Modify some strings 2018-12-03 10:13:31 +08:00
antao
25548eaaa0 The mysql client works 2018-12-03 10:13:31 +08:00
antao
8ed5e19f46 Modify model creation 2018-12-03 10:13:31 +08:00
antao
cba0252bc1 Add FindMySQL.cmake to the project generated by drogon_ctl 2018-12-03 10:13:31 +08:00
antao
a0bdcdaae3 Fix a bug of the MysqlResultImpl 2018-12-03 10:13:31 +08:00
antao
21cb1b482a Start adding mysql(mariadb) support 2018-12-03 10:13:31 +08:00
antao
81540ca19b Add a database test 2018-11-27 17:37:41 +08:00
antao
cd1139cf83 Update save methods of uploaded files 2018-11-26 16:36:57 +08:00
antao
5028f0f38f Modify the creation of models 2018-11-23 23:46:58 +08:00
antao
afd1bf986a jsoncpp int64 2018-11-23 19:46:59 +08:00
antao
a2c349172a Modify the creation of models 2018-11-23 10:31:45 +08:00
an-tao
b9c172a4a3 Add the default ctor in model classes 2018-11-22 23:46:27 +08:00
antao
f829e10dfa Modify the signature of some functions 2018-11-20 14:54:51 +08:00
antao
fe16066a4b Add the toJson() method to the database model 2018-11-20 14:08:08 +08:00
antao
9ee0ef6cc8 Modify the creation of models 2018-11-20 10:54:46 +08:00
antao
ad37969535 1.Fix a memory bug;
2.Support for bytea type of postgreSQL;
2018-11-19 18:15:41 +08:00
antao
750d31f107 Support for trantor::Date type in database parameter binding 2018-11-17 11:40:17 +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
b61e94548e Update drogon_ctl 2018-11-15 09:17:08 +08:00
antao
d3931c73fd Add database client options to the configuration file 2018-11-12 13:39:22 +08:00
antao
4b8971b258 Fix some warnings 2018-11-11 18:51:39 +08:00
antao
ac795dd18f Merge commit 'c2d23ab' into orm_dev 2018-11-11 12:27:17 +08:00
antao
9d81f3217d Fix a bug 2018-11-11 12:16:26 +08:00
antao
c2d23abe9f Use shared_ptr to PgClientImpl 2018-11-11 12:02:48 +08:00
antao
fe877ef265 Merge branch 'master' into with_orm 2018-11-11 11:03:35 +08:00
antao
7d45746474 Update configuration file 2018-11-11 11:00:46 +08:00
antao
82c5cc1dcc Merge branch 'master' into with_orm 2018-11-11 00:58:08 +08:00
antao
a50aa07cc0 Update drogon_ctl 2018-11-11 00:56:57 +08:00
an-tao
6e5eef9aaf Fix some warnings 2018-11-09 15:55:20 +08:00
antao
de3c31f34b Support timestamp column type 2018-11-09 15:46:39 +08:00
antao
fdb69781f2 Add a comment to the model header file 2018-11-09 15:46:39 +08:00
antao
f9cc77daa0 Fix a bug of struct tm 2018-11-09 15:46:39 +08:00
antao
32a7c5aff6 Support composite primary key 2018-11-09 15:46:39 +08:00
antao
4e060b7726 Support date type in ORM 2018-11-09 15:46:39 +08:00
antao
0179816c19 Fix a bug for the system without database 2018-11-09 15:46:39 +08:00
an-tao
fc7ddd5b6c Fix some warnings in linux 2018-11-09 15:46:39 +08:00
antao
acaa604559 Fix some bugs in models 2018-11-09 15:46:39 +08:00
antao
6810dd261c Modify models template 2018-11-09 15:46:39 +08:00