ihmc3jn09hk
98ab826cfc
Fix drogon_ctl runtime error when compiling drogon to shared library ( #397 )
...
Fix for #395
2020-03-21 08:40:25 +08:00
An Tao
06bf158676
Fix issues in the MysqlConnection class ( #394 )
2020-03-20 23:12:05 +08:00
antao
8551106d8f
Modify Dockerfile
2020-03-18 20:08:08 +08:00
An Tao
7af67dc4da
Make CMake install files relocatable ( #387 )
2020-03-18 19:54:48 +08:00
interfector18
4c8dbdbb85
Ninja ( #391 )
...
Use ninja to build if found on system (in /bin/ninja)
Make make simulate ninja's default parallelism
Should help with travis_ci as default build environments have 2 cores.
2020-03-17 00:54:30 +08:00
interfector18
d0dfa242b2
Add getHomePage to HttpAppFramework ( #390 )
...
Add getHomePage to HttpAppFramework to help with SPA in scenarios a controller must take a certain action on passed parameters but redirect to homepage
2020-03-17 00:53:31 +08:00
An Tao
6c850ea886
Modify the Attributes interface of the HttpRequest class ( #389 )
2020-03-15 16:11:40 +08:00
ihmc3jn09hk
2401c6a88a
Fix null jsonObject from newHttpJsonRequest ( #388 )
...
* Fix null jsonObject from newHttpJsonRequest
Refer to #372 for the response case as well
2020-03-15 00:11:46 +08:00
An Tao
9ee00da431
Fix crash with partial matched url ( #386 )
2020-03-14 11:36:21 +08:00
An Tao
2d87434bfb
Use a separate thread to load views dynamically ( #382 )
2020-03-12 14:35:46 +08:00
An Tao
dd8fbe04cd
Addressed an issue when loading layout views dynamically ( #378 )
2020-03-12 10:26:07 +08:00
Rafał Bugajewski
3c7ac585a6
Dynamic View Loading: Only Compile Modified “csp” Layouts ( #380 )
...
This change greatly reduces the time between multiple Drogon runs
while developing an application with the framework. Previously on a
relaunch the framework naively compiled all *.csp files if dynamic
view loading was turned on. Now there will be a check for modification
time and the compilation phase will only run if the
corresponding *.csp file is newer than the dynamic library.
Co-authored-by: Rafał Bugajewski <rb@cocobit.software>
2020-03-12 09:44:51 +08:00
An Tao
bb8b5ded79
Fix a fatal bug in the MysqlConnection class ( #379 )
2020-03-11 12:41:20 +08:00
An Tao
77063e28d0
Optimize the rendering of HTTP responses ( #371 )
2020-03-07 20:49:05 +08:00
An Tao
ebb8b7b70a
Add ENABLE_EXPORTS property in cmake configuration files ( #375 )
2020-03-05 22:03:41 +08:00
An Tao
56817978e6
Fix a bug on filters with WebSocketControllers ( #374 )
2020-03-03 15:58:26 +08:00
An Tao
49d1697bec
Fix a bug when creating json responses ( #373 )
2020-03-02 23:34:28 +08:00
ihmc3jn09hk
686e30b250
Fix bug for PR #369 ( #370 )
...
Missing ">" for model.csp template
2020-03-01 18:07:21 +08:00
An Tao
8d17cc567e
Fix the 'many to many' relationship ( #369 )
2020-03-01 16:48:18 +08:00
An Tao
810896c94c
Fix warnings on Windows ( #368 )
2020-03-01 11:50:47 +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
e171874524
Modify installation on Windows ( #366 )
2020-02-29 15:46:08 +08:00
Wang Gao
d5cd882248
Add support for MSVC 2015 ( #365 )
...
Co-authored-by: An Tao <antao2002@gmail.com>
2020-02-26 12:36:46 +08:00
bor8
53f61e9b66
Update HttpAppFrameworkImpl.cc ( #363 )
2020-02-24 10:05:13 +08:00
An Tao
2fb1e1ecb1
Minor modification ( #362 )
2020-02-23 23:27:40 +08:00
ihmc3jn09hk
eb316d8263
Update Content-Type support for PDF ( #361 )
2020-02-23 18:31:27 +08:00
An Tao
ee77800821
Implement br_static ( #359 )
2020-02-23 17:39:03 +08:00
An Tao
cc3149dc58
Modify CMakeLists.txt ( #358 )
2020-02-22 21:15:15 +08:00
An Tao
978bd7c32f
Fix error when finding the jsoncpp library ( #356 )
2020-02-22 11:34:05 +08:00
antao
c9dd14bde5
Update drogon version to v1.0.0-beta14
2020-02-17 21:12:59 +08:00
An Tao
71b60823da
Modify dynamic view loading algorithm ( #339 )
2020-02-16 17:19:16 +08:00
ihmc3jn09hk
3c15f65a7f
Add IOLoop access function. ( #353 )
...
Co-authored-by: An Tao <antao2002@gmail.com>
2020-02-16 16:48:35 +08:00
ihmc3jn09hk
b733eee7e4
A small fix. ( #345 )
...
* Fix missed "password" fix for MySQL.
* Update trantor
Co-authored-by: An Tao <antao2002@gmail.com>
2020-02-08 11:08:11 +08:00
An Tao
3d8c304a47
Remove get_version.sh ( #344 )
2020-02-06 22:13:50 +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
ce675c1b87
Fix a bug in views generation ( #341 )
2020-02-03 08:39:48 +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
An Tao
4f319dd9c9
Fix an issue of out-of-range ( #334 )
2020-01-21 00:49:53 +08:00
antao
191acd0bd3
Modify the StaticFileRouter
2020-01-12 11:39:53 +08:00
antao
fb2343ac74
Add location configuration for static resources ( #331 )
2020-01-12 11:05:38 +08:00
An Tao
62fc82cba1
Add support for regular expressions when routing ( #329 )
2020-01-09 17:03:30 +08:00
antao
668533fbbd
Update drogon version to v1.0.0-beta13
2020-01-04 09:37:10 +08:00
An Tao
f07d9e03e1
Use shorter stmt names in postgresql connections( #326 )
2020-01-04 09:36:14 +08:00
An Tao
cb95960e2d
Modify singleton logic of DrClassMap ( #325 )
2020-01-03 18:02:46 +08:00
antao
249a491d2f
Modify the text template
2020-01-03 12:47:08 +08:00
An Tao
bc7ec6975a
Modify the SqlBinder class ( #324 )
2020-01-03 10:29:06 +08:00
An Tao
53e9dcca08
Optimize database connections ( #323 )
2020-01-02 17:09:10 +08:00
An Tao
1c99a8a94e
Use drogon::OStringStream instead of std::stringstream in text template ( #322 )
2020-01-01 16:15:11 +08:00
An Tao
feb0b73e78
Modify the benchmark example ( #321 )
2019-12-23 14:08:56 +08:00
An Tao
27c687a0af
Support HTTP1.0 clients ( #320 )
2019-12-22 13:15:56 +08:00