An Tao
f26450f04b
Fix an error in sqlite3 ORM generator ( #669 )
2020-12-30 20:11:24 +08:00
An Tao
ec59dbbc3d
Add option for setting float precision in Json string ( #666 )
2020-12-24 20:00:29 +08:00
An Tao
1cb8b17709
Fix some bugs when creating models via drogon_ctl ( #660 )
2020-12-18 09:41:58 +08:00
zorosz
61bb2cf130
Based on https://github.com/an-tao/drogon/issues/627#issuecomment-727768460 ( #659 )
...
Co-authored-by: oroszz <oroszz>
2020-12-18 09:41:04 +08:00
ivanka2012
1abd8b3506
Add implicit page resolving capability (a-directory -> a-directory/index.html) ( #647 )
...
Co-authored-by: an-tao <antao2002@gmail.com>
2020-12-11 14:02:47 +08:00
An Tao
7dd2d6123b
Add the reuse_port option ( #634 )
2020-11-25 19:47:36 +08:00
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
465d2ebfe8
Disable TLS1.0/1.1 on HTTPS by default ( #588 )
2020-10-01 23:40:46 +08:00
An Tao
d023743fa3
Fix a bug when creating models in some special cases ( #577 )
2020-09-17 20:48:16 +08:00
An Tao
80a8f62e30
Change the type of result from the mktime() function in model source code ( #524 )
2020-08-05 20:01:51 +08:00
An Tao
9c54fb8c69
Modify generation of models and the DbClient class ( #498 )
...
* Add setter method for automatical fields of models
* Put SQL queries into buffer before any connection being established
* Update trantor
2020-07-03 12:19:40 +08:00
An Tao
8f6269b208
Add a method to disable unicode escaping in json string ( #491 )
2020-06-24 08:11:32 +08:00
An Tao
3424d3f2c4
Add a way to set the character set when creating DbClient objects ( #486 )
2020-06-20 20:21:14 +08:00
An Tao
490def6742
Add filters on static file locations ( #422 )
2020-05-03 08:21:34 +08:00
interfector18
17b8c337f9
Standardize Row and Result api ( #409 )
...
* Standardize Row and Result api, throw specific exceptions
* Fix drogon_ctl for sqlite3 models
* Add mysql and sqlite3 tests, add exception throwing tests
* configure mysql in travis-ci
Co-authored-by: antao <antao2002@gmail.com>
2020-04-11 11:46:47 +08:00
An Tao
c43ba9e514
Add support for brotli compression ( #406 )
2020-04-04 18:15:15 +08:00
An Tao
ebb8b7b70a
Add ENABLE_EXPORTS property in cmake configuration files ( #375 )
2020-03-05 22:03:41 +08:00
ihmc3jn09hk
686e30b250
Fix bug for PR #369 ( #370 )
...
Missing ">" for model.csp template
2020-03-01 18:07:21 +08:00
ihmc3jn09hk
4bd19773b5
Update for ORM time mapper ( #367 )
...
The timelocal() function is equivalent to the POSIX standard function mktime(3). There is no reason to ever use it.
https://linux.die.net/man/3/timelocal
2020-03-01 02:33:01 +08:00
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