Commit Graph

161 Commits

Author SHA1 Message Date
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
antao
16d6caedb0 Remove 'setter' methods of auto-increasing columns 2018-11-09 15:46:38 +08:00
antao
143b62b36b Fix some bugs in creating models 2018-11-09 15:46:38 +08:00
antao
d340e1cc10 Update model template files 2018-11-09 15:46:38 +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
882a8f8090 Change the registerHttpApiMethod method to a non-static method 2018-11-09 15:21:53 +08:00
antao
2fc9ecdc7c Update drogon_ctl 2018-10-31 17:33:15 +08:00
antao
af53337a6a Add configuration options to the configuration file for simple controller mapping 2018-10-21 14:52:41 +08:00
antao
2fcbc5600f Add 'create filter' sub-command in drogon_ctl 2018-10-20 17:36:14 +08:00
antao
183a31831f Add 'create filter' sub-command in drogon_ctl 2018-10-20 17:35:52 +08:00
antao
fcb2ab7880 HttpMethod 2018-10-20 13:45:17 +08:00
antao
2008b1fce6 Add drogon.h for drogon users 2018-10-18 15:54:57 +08:00
antao
8df7b9c69a Update CMakeLists.txt for using older basename command 2018-10-17 18:43:51 +08:00
antao
1b37db12e0 Update cmake template file in drogon_ctl 2018-10-17 14:00:23 +08:00
antao
c86ec77d26 Add support for view nesting 2018-10-17 13:48:28 +08:00
antao
4f8dbfa5d9 Add DrTemplate class implementing a simple but powerful template language for C++ 2018-10-17 10:50:51 +08:00
an-tao
a50ba92ee0
Merge pull request #4 from an-tao/remove_boost_any
Use std::experimental::any to instead of boost::any in early version gcc
2018-10-16 13:01:57 +08:00
antao
112a541044 Change version to 0.9.4 2018-10-16 11:18:29 +08:00
antao
23b8d7447a Remove boost::any 2018-10-16 10:59:32 +08:00
an-tao
e3ee8873c5 Modify drogon_ctl 2018-10-15 22:46:53 +08:00
antao
4ac5544a54 Optimize files caching 2018-10-15 15:58:11 +08:00
antao
b539b5231c Modify drogon_ctl 2018-10-15 13:34:38 +08:00
antao
c9b3dcd9c2 Format all files 2018-10-14 15:56:54 +08:00
antao
93a07ed17a 1.Add gzip option in config file;
2.rename config example file's name
2018-10-14 11:53:05 +08:00
antao
0c6f39c34d Modify create view command of drogon_ctl 2018-10-05 19:17:12 +08:00
an-tao
2d6dbc8893 Modify drogon_ctl 2018-09-25 22:45:47 +08:00
an-tao
0d3e9e6e74 Fix some compilation warnings 2018-09-25 21:46:26 +08:00
antao
868ac73345 Update CMakeLists.txt 2018-09-16 15:31:25 +08:00
an-tao
1fafb8289c Fix drogon_ctl bug 2018-09-15 22:58:48 +08:00
antao
fd78b4eb40 Modify drogon_ctl 2018-09-15 22:52:59 +08:00
antao
077f641d75 Modify drogon_ctl 2018-09-15 22:35:43 +08:00
antao
1db4e6bcd5 Modify drogon_ctl 2018-09-15 22:18:06 +08:00
antao
c62f681b2c Modify drogon_ctl 2018-09-15 11:10:29 +08:00
antao
aaea4fb5ca Update CMakeLists.txt 2018-09-14 23:54:06 +08:00
antao
a6c21037c5 Modify drogon_ctl 2018-09-12 17:09:08 +08:00
antao
841391870e Modify drogon_ctl 2018-09-12 10:31:30 +08:00
antao
2c1fd4cee0 Modify drogon_ctl 2018-09-10 18:06:00 +08:00
antao
1cf7ef84b2 Update drogon_ctl 2018-09-07 19:03:31 +08:00
antao
6fbfe28506 Update status code 2018-09-06 19:06:25 +08:00
antao
d40190f452 Add creating project function in drogon_ctl 2018-09-04 14:50:18 +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
an-tao
8142fc6bf7 update CMakeLists.txt 2018-06-28 23:12:44 +08:00
root
82855fc86e fix precompiled bugs 2018-06-23 11:22:20 +00:00
an-tao
e805faea8e use config.h to configure std::any or boost::any 2018-06-15 15:58:54 +08:00
an-tao
cc35b08580 support dynamic libs compiling and loading 2018-06-14 18:51:26 +08:00
an-tao
95b83206fb Write the compilation configuration to config.h 2018-06-14 14:25:57 +08:00
an-tao
beb7ae2b5d modify drogon_ctl help command 2018-06-07 18:16:30 +08: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
0a80323f84 fix some bugs 2018-06-01 14:07:34 +08:00
an-tao
2875656d82 fix iterator bug 2018-05-31 18:56:07 +08:00