An Tao
ee77800821
Implement br_static ( #359 )
2020-02-23 17:39:03 +08:00
An Tao
71b60823da
Modify dynamic view loading algorithm ( #339 )
2020-02-16 17:19:16 +08:00
An Tao
dd5e8f8159
Support 'password' keyword in configuration files ( #343 )
...
* Support 'password' keyword in configuration files
* Update travis-ci
2020-02-04 10:58:10 +08:00
An Tao
58702dc41e
Port drogon to Windows ( #335 )
...
Co-authored-by: mcirsta <mforce2@gmail.com>
2020-01-25 11:58:20 +08:00
antao
fb2343ac74
Add location configuration for static resources ( #331 )
2020-01-12 11:05:38 +08:00
An Tao
5c1c73d9b6
Add the SecureSSLRedirector plugin ( #306 )
2019-11-30 08:35:40 +08:00
An Tao
40ffb2d2af
Modify some code styles ( #298 )
2019-11-21 11:27:47 +08:00
An Tao
dbf20200fc
Add the headers configuration option for static files ( #290 )
2019-10-31 15:47:12 +08:00
An Tao
876e21f492
Implement relationships in ORM ( #288 )
2019-10-26 23:44:31 +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
An Tao
456d003482
Add prefixes to column name variables in model classes ( #242 )
2019-09-13 08:28:58 +08:00
An Tao
1e83a5cc4e
Fix a bug of creating models for mysql ( #237 )
2019-09-10 15:58:42 +08:00
An Tao
aaaba8aa97
Fix a bug of models ( #239 )
2019-09-10 15:14:57 +08:00
An Tao
6ef7cffabb
Add the schema option for creating models (pg database only) ( #238 )
2019-09-10 13:46:10 +08:00
An Tao
aa26e9a903
Modify the CMakeLists to modern cmake style ( #229 )
2019-08-31 08:27:57 +08:00
An Tao
4e274b1a2e
Modify the orm command of drogon_ctl ( #224 )
2019-08-24 18:43:05 +08:00
An Tao
b5a142a10e
Fix bugs in default return values of functions ( #220 )
2019-08-22 22:23:50 +08:00
An Tao
f940b6f2cd
Modify some stuff ( #216 )
2019-08-17 20:05:32 +08:00
An Tao
a6e2d4f007
Modify the drogon_ctl ( #213 )
2019-08-16 13:11:21 +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
ba7d788184
Add options for 'Server' header and 'Date' header ( #202 )
2019-07-31 19:44:32 +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
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
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
3452a2fa1c
Modify some code to get a good style
2019-05-23 18:57:45 +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
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
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
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
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