Commit Graph

77 Commits

Author SHA1 Message Date
antao db72840fc2 Move utility functions to the utils namespace 2019-03-21 17:47:45 +08:00
antao fecec81975 1.Remove an unnecessary null pointer check
2.Fix a compilation error for older g++
    3.Update README.md
2019-03-20 11:46:27 +08:00
antao 7ae533671c Add matchedPathPattern() interface in the HttpRequest class
Change version to 0.9.31
2019-03-18 10:44:38 +08:00
antao 053c760d27 Rename the InnerIpFilter class 2019-03-14 11:25:12 +08:00
an-tao 0e447a1f9e Adapt ipv6 2019-03-13 23:44:53 +08:00
antao 250781ac08 Add configuration options that limit the number of keep-alive requests 2019-03-12 18:22:13 +08:00
antao b39dd52a87 Modify some comments 2019-03-06 15:57:05 +08:00
antao 49c03ee707 Add htmlTranslate() method 2019-02-27 10:36:03 +08:00
antao 82100926e5 Change version to 0.9.24 2019-02-01 18:59:13 +08:00
antao 55ba4c5196 Support file upload requests 2019-01-29 17:38:55 +08:00
antao 075e3cc6b3 Modify the newFileResponse method 2019-01-29 10:49:37 +08:00
antao cdd8ba380e 1. Modify the HttpClientImpl class to fix some bugs;
2. Support attachment download;
2019-01-28 18:25:04 +08:00
antao cef7dc177e Optimize file upload 2019-01-27 15:59:56 +08:00
antao 3f4baf15f1 Optimize filters and controllers 2019-01-25 16:46:20 +08:00
antao 615924c889 Debug form post request 2019-01-23 11:32:55 +08:00
antao 7c8432add0 Support http request in json format 2019-01-22 23:00:14 +08:00
antao a9e9ced331 Use references instead of values in range-based for loop 2019-01-21 17:39:31 +08:00
antao ec7e8a1040 Forbid to download files from the parent folder 2019-01-19 22:57:07 +08:00
antao 5fd8571292 Change the listening port 2019-01-19 13:44:24 +08:00
antao c4987f690b Optimize routing algorithm 2019-01-18 17:42:46 +08:00
antao ab6faf3376 Add some comments 2019-01-18 10:30:39 +08:00
antao 38966e09d4 Split the HttpAppFrameworkImpl class 2019-01-17 13:51:25 +08:00
an-tao 5c96c4e6a2 Modifying the routing algorithm of HTTP controllers 2019-01-17 00:12:58 +08:00
antao 01de7f4f1e Remove expired filter classes 2019-01-16 10:03:11 +08:00
antao f35ff6347a Format some files 2019-01-02 18:49:37 +08:00
antao 3d24285339 Modify the ListParaView.csp 2018-12-07 19:40:47 +08:00
antao ba8138ba60 Modify the HttpFile class 2018-11-30 17:34:02 +08:00
antao cd1139cf83 Update save methods of uploaded files 2018-11-26 16:36:57 +08:00
antao 13d13ed240 Organize the format of files 2018-11-16 13:26:14 +08:00
an-tao e14bc9b41f Split HttpContext class 2018-11-15 22:00:23 +08:00
antao fd58a419a9 Rename HttpApiController to HttpController 2018-11-15 14:31:10 +08:00
antao 882a8f8090 Change the registerHttpApiMethod method to a non-static method 2018-11-09 15:21:53 +08:00
antao 1433fc0509 Fix a trivial problem 2018-10-20 16:39:38 +08:00
antao fcb2ab7880 HttpMethod 2018-10-20 13:45:17 +08:00
antao eef0ee8729 Use 'any' to support two types of constraints 2018-10-20 12:40:30 +08:00
antao acc26c0776 Add Http method constraints 2018-10-20 11:20:06 +08:00
antao 2008b1fce6 Add drogon.h for drogon users 2018-10-18 15:54:57 +08:00
antao 40a116193c Modify path matching 2018-10-17 15:06:24 +08:00
antao c86ec77d26 Add support for view nesting 2018-10-17 13:48:28 +08:00
antao c9b3dcd9c2 Format all files 2018-10-14 15:56:54 +08:00
antao cd6fab7a39 Modify examples 2018-10-14 11:56:18 +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 0a3d27a5b0 Optimize response caching 2018-10-13 21:49:37 +08:00
antao d5202f11fa Add test method in simple_example 2018-10-11 17:57:24 +08:00
antao 16f7af90d3 Add response cache 2018-10-11 11:20:40 +08:00
antao 900cc62306 Add 'log_level' config option 2018-10-06 10:15:46 +08:00
antao 0c6f39c34d Modify create view command of drogon_ctl 2018-10-05 19:17:12 +08:00
antao 3a26cb0f1b Update get_version.sh 2018-10-02 20:02:43 +08:00
antao d04efa98b2 1.Simplify the FunctionTraits;
2.Fix simple_example's bugs
2018-09-29 17:33:19 +08:00
antao 5238da4df7 Use sendfile() system-call 2018-09-25 18:07:29 +08:00