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
Armstrong
1414704b44
add per request attribute store ( #259 )
2019-09-28 21:48:06 +08:00
An Tao
eed9c06250
Fix some compilation warnings ( #257 )
2019-09-27 16:05:38 +08:00
Daniel Mensinger
795079531a
cmake: use export namespace for Drogon::Drogon ( #255 )
...
* cmake: use ${PROJECT_NAME} instead of drogon everywere
* cmake: use export namespace instead of dummy library
2019-09-26 19:33:58 +08:00
An Tao
9855fc9b4f
Fix bugs in HTTP view examples ( #246 )
2019-09-16 10:10:23 +08:00
An Tao
5d3fda57a0
Remove ClassTraits.h ( #235 )
2019-09-07 21:00:51 +08:00
antao
a8afbc8cee
Update drogon version to v1.0.0-beta7
2019-08-31 18:39:46 +08:00
An Tao
aa26e9a903
Modify the CMakeLists to modern cmake style ( #229 )
2019-08-31 08:27:57 +08:00
An Tao
ba49a0e0e6
Update README ( #225 )
...
* Update README
* Update CMakeLists.txt
2019-08-24 22:44:37 +08:00
An Tao
dcab7d54b1
Fix a bug when there's '+' in the building path ( #221 )
2019-08-23 16:59:55 +08:00
An Tao
da285cd4d2
Reduce dependencies between declarations ( #212 )
2019-08-15 20:59:16 +08:00
antao
16afa82688
Modify CMakeLists.txt
2019-08-10 16:08:18 +08:00
an-tao
f1409a2c2d
Bump drogon version to v1.0.0-beta6
2019-08-08 22:18:17 +08:00
An Tao
c705990fe5
Add the DrogonConfig.cmake ( #207 )
...
Add DrogonConfig.cmake so that users can use drogon with the `find_package(Drogon)` command.
2019-08-08 15:17:09 +08:00
An Tao
d97cfa8609
Optimize the batch mode of libpq. ( #205 )
2019-08-02 14:30:37 +08:00
An Tao
e566d9c451
Support PostgreSQL batch mode ( #203 )
2019-08-01 13:01:54 +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
moneroexamples
2d1c754c72
Ability to disable ORM, CTL and EXAMPLES
2019-05-28 15:26:43 +08:00
antao
dc14eeda4e
Enable users to specify a preferred installation location via the CMAKE_INSTALL_PREFIX variable
2019-05-02 23:15:22 +08:00
antao
0e14406b31
Modify shared library loading
2019-04-26 13:43:59 +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
f1a14e4441
Modify the method of setting the CMAKE_MODULE_PATH
2019-03-27 13:14:30 +08:00
antao
6ebae287a3
Make the 'any' works correctly with either C++17 or C++14
2019-01-30 09:37:30 +08:00
antao
9ee1ee929c
Update the drogon_ctl command to support sqlite3
2018-12-29 13:12:36 +08:00
antao
6db8df6bc0
Sqlite3 works, needs more testing
2018-12-29 13:12:36 +08:00
antao
161a964238
Start adding sqlite3 support
2018-12-29 13:12:36 +08:00
antao
78c6249bd7
Modify the drogon_ctl
2018-12-03 18:39:44 +08:00
an-tao
ffbdac36c9
Modify cmake files for the mariadb database on linux
2018-12-03 17:03:45 +08:00
antao
efbf5b4ad5
Add the MysqlConnection class
2018-12-03 10:13:31 +08:00
antao
21cb1b482a
Start adding mysql(mariadb) support
2018-12-03 10:13:31 +08:00
antao
20f97a78a2
Modify tests path
2018-11-27 18:29:23 +08:00
antao
81540ca19b
Add a database test
2018-11-27 17:37:41 +08:00
antao
143b62b36b
Fix some bugs in 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
2dcb924c81
Start Adding orm
2018-11-09 15:46:38 +08:00
antao
af53337a6a
Add configuration options to the configuration file for simple controller mapping
2018-10-21 14:52:41 +08:00
antao
1d4c4ef897
Update CMakeLists.txt
2018-10-19 18:14:49 +08:00
antao
5da68027e8
Update CMakeLists.txt
2018-10-19 17:24:12 +08:00
antao
23b8d7447a
Remove boost::any
2018-10-16 10:59:32 +08:00
an-tao
30ab9e09b1
Handle the details of the OpenSSL library
2018-10-14 19:57:17 +08:00
antao
0a3d27a5b0
Optimize response caching
2018-10-13 21:49:37 +08:00
antao
b7738f91e7
Modify CMakeLists.txt
2018-10-07 23:01:43 +08:00
antao
0382d2ac83
Update CMakeLists.txt
2018-10-02 21:21:22 +08:00
antao
868ac73345
Update CMakeLists.txt
2018-09-16 15:31:25 +08:00
an-tao
649f6f3925
1.Use OpenSSL as an optional lib;2.Add SHA1 test
2018-09-15 22:04:52 +08:00
antao
aaea4fb5ca
Update CMakeLists.txt
2018-09-14 23:54:06 +08:00
antao
4897c29a67
Update trantor
2018-09-14 18:33:37 +08:00
antao
1d11c0cab4
Update CMakeLists.txt
2018-09-12 10:17:16 +08:00
an-tao
e28716c343
Change cmake version request
2018-09-09 22:11:41 +08:00
antao
2eae1110ef
The minimum version required of GCC is 4.9.0
2018-09-09 21:48:11 +08:00
antao
5ba328f40a
Fix including error
2018-09-09 21:38:37 +08:00
antao
5ba3e83728
Default release version
2018-09-08 21:10:53 +08:00
antao
e6d4e975dc
Add release option in CMakeLists.txt
2018-09-03 14:42:44 +08:00
antao
790867d1e3
Add gzip compressing
2018-09-03 10:56:11 +08:00
antao
4a26730c2e
Format CMakeLists.txt
2018-08-27 18:36:58 +08:00
antao
17e15d282b
Add WebSocketConnection class
2018-08-21 18:20:06 +08:00
antao
46a0dcb6ab
Add websocket support,not complete yet
2018-08-21 16:02:43 +08:00
antao
d66314c4bf
Open some utility methods to the public
2018-08-09 16:43:45 +08:00
antao
b13b234fac
modify installing
2018-08-08 16:26:26 +08:00
antao
daa7d241b1
update trantor
2018-07-17 17:22:20 +08:00
antao
8fae7a9749
Adapt to MacOS system
2018-07-16 18:58:22 +08:00
an-tao
8142fc6bf7
update CMakeLists.txt
2018-06-28 23:12:44 +08:00
an-tao
1cfe874904
modify the version requirements of libjsoncpp
2018-06-26 21:18:32 +08:00
an-tao
3391584d9f
modify CMakeLists.txt
2018-06-26 14:52:41 +08:00
root
80542e42c2
Modifiy CMakeLists.txt
2018-06-23 14:47:00 +00: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
fd4f43816a
modify CMakeLists.txt
2018-06-15 09:44:40 +08:00
an-tao
0ac3f59276
modify CMakeLists.txt
2018-06-15 00:07:43 +08:00
an-tao
95b83206fb
Write the compilation configuration to config.h
2018-06-14 14:25:57 +08:00
an-tao
6c7512bdf4
file uploading
2018-06-11 15:45:28 +08:00
an-tao
5cc1ab00e5
fix find libjsoncpp bug in CMakeLists.txt
2018-06-03 21:29:45 +08:00
an-tao
3578674fa5
add version
2018-05-28 14:34:47 +08:00
an-tao
8ee6d68526
start to add HttpSimpleController
2018-05-11 09:25:17 +08:00
an-tao
13218ccee7
add session cache in HttpAppFramework
2018-05-09 18:11:56 +08:00
an-tao
dacc5c555e
add Session class;use pimpl in HttpAppFramework class
2018-05-09 16:14:21 +08:00
an-tao
f42da49a80
add CacheMap test
2018-05-04 09:51:12 +08:00
an-tao
87592fe7da
add CacheMap class,need testing
2018-05-03 18:28:37 +08:00
an-tao
3746b57bee
modify CMakeLists.txt
2018-05-03 14:17:04 +08:00
an-tao
2e80c2b132
adjust file location
2018-05-02 18:28:33 +08:00
an-tao
ecfea6f713
add HttpAppFramework class,not complete
2018-05-02 17:45:10 +08:00
an-tao
3641a3edef
add HttpServer class
2018-04-28 14:37:32 +08:00
an-tao
81ef7d0392
init project
2018-04-27 14:38:27 +08:00
an-tao
e3f56d75aa
add trantor lib
2018-04-27 11:00:24 +08:00