Commit Graph

14 Commits

Author SHA1 Message Date
An Tao 5e35055379
Build release version in docker (#520) 2020-07-30 16:27:35 +08:00
Vedran Miletić 375498a5a6
Fixes for FreeBSD (#440)
* Use uuid(3) to generate UUIDs on FreeBSD

FreeBSD is now handled like Windows so additional UUID libraries are
not required.

* Modify build.sh script to work on FreeBSD

- /bin/bash -> /usr/bin/env bash
- nproc -> sysctl -n hw.ncpu
2020-05-20 22:29:37 +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
An Tao 6571e55631
Adding unit tests to Travis CI (#310) 2019-12-07 17:43:00 +08:00
An Tao 5bb54cd4cf
Fix a bug in compressing by zlib (#308) 2019-12-07 01:26:12 +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 10db494556
Add database tests in the travis CI (#214) 2019-08-16 23:41:03 +08:00
antao 1f8be1ce8c Add some Travis CI tests 2019-03-26 15:25:22 +08:00
antao b39dd52a87 Modify some comments 2019-03-06 15:57:05 +08:00
antao c23d7417a8 Modify some comments 2018-11-16 18:25:41 +08:00
Yun Liu c19c536f6c fixed some bugs 2018-11-16 17:26:35 +08:00
Yun Liu 2a81864b72 update script and add more comments 2018-11-16 15:31:08 +08:00
an-tao 6adc6ce9a6 add Cookie class 2018-06-19 16:55:25 +08:00
an-tao f6993cf12e build.sh 2018-05-11 17:51:01 +08:00