Commit Graph

44 Commits

Author SHA1 Message Date
Nikolay Mitev 17c80508c0 Drop cpp14 build (#1740)
* Drop C++14 Support

* Update README.md

* Remove drogon::optional in favor of std::optional

* Remove drogon::filesystem in favor of std::filesystem

* Remove boost::string_view and pre-c++17 hacks

* Remove boost::any

* Remove the string_view.h and the any.h

* Remove boost lib

* Update .clang-format and ci

Co-authored-by: Omar Mohamed <omar@omar-laptop.lan>
Co-authored-by: Ken Matsui <26405363+ken-matsui@users.noreply.github.com>
Co-authored-by: An Tao <antao2002@gmail.com>
Co-authored-by: albaropereyra22 <141711575+albaropereyra22@users.noreply.github.com>
Co-authored-by: Yoshihiro Hokazono <47231909+hokacci@users.noreply.github.com>
Co-authored-by: Omar Mohamed Khallaf <51155980+omarmohamedkh@users.noreply.github.com>
2023-08-23 11:49:55 +08:00
LE GARREC Vincent 8c4896dfec
Fix tolower with cfi sanitizer (#1209) (#1210)
and update trantor with same patch.
2022-04-22 11:08:40 +08:00
Martin Chang 29f2d431ab
Prevent drogon_ctl create_view appending empty new lines to resulting view in c++ section (#1073) 2021-11-06 11:15:46 +08:00
Martin Chang 3b600232be
error on failing to create view from CSP (#924) 2021-07-09 07:58:03 +08:00
Philip Kovacs a70a2844b1
Fix compiler warnings (#886)
Co-authored-by: an-tao <antao2002@gmail.com>
Co-authored-by: Martin Chang <marty1885@users.noreply.github.com>
2021-06-09 19:14:15 +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 c264c91f38
Support namespaces when creating view source files (#606) 2020-10-09 21:41:27 +08:00
An Tao 56b5d03fed
Remove the restriction on the location of layout tags in views (#484) 2020-06-18 21:44:54 +08:00
Rafał Bugajewski 398b028046
Pass Data From View to Its Layout Container (#429) 2020-05-09 14:13:20 +08:00
antao 8ecfe9ef84 Fix a bug in drogon_ctl 2020-05-07 18:57:03 +08:00
An Tao dd8fbe04cd
Addressed an issue when loading layout views dynamically (#378) 2020-03-12 10:26:07 +08:00
An Tao 71b60823da
Modify dynamic view loading algorithm (#339) 2020-02-16 17:19:16 +08:00
An Tao ce675c1b87
Fix a bug in views generation (#341) 2020-02-03 08:39:48 +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 40ffb2d2af
Modify some code styles (#298) 2019-11-21 11:27:47 +08:00
An Tao eb894396c7
Use find('x') instead of find(x) in a string search (#230) 2019-09-01 12:06:19 +08:00
An Tao bf9313a164
Modify the 'create view' command of drogon_ctl (#208) 2019-08-07 12:55:14 +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 65173e7e97 Update trantor 2019-06-27 15:37:41 +08:00
antao 11b6d20a69 clang-format 2019-05-18 20:39:57 +08:00
antao fa9376b89a Change escapes from '{{}}' to '[[]]' in views 2019-04-25 14:36:42 +08:00
antao a9e9ced331 Use references instead of values in range-based for loop 2019-01-21 17:39:31 +08:00
antao 71faac9fb2 Modify the drogon_ctl 2018-12-07 19:08:17 +08:00
antao 032aa19a53 Modify file formats and comments 2018-12-07 15:50:18 +08:00
antao 13d13ed240 Organize the format of files 2018-11-16 13:26:14 +08:00
antao 2fc9ecdc7c Update drogon_ctl 2018-10-31 17:33:15 +08:00
antao af53337a6a Add configuration options to the configuration file for simple controller mapping 2018-10-21 14:52:41 +08:00
antao c86ec77d26 Add support for view nesting 2018-10-17 13:48:28 +08:00
antao 4f8dbfa5d9 Add DrTemplate class implementing a simple but powerful template language for C++ 2018-10-17 10:50:51 +08:00
an-tao a50ba92ee0
Merge pull request #4 from an-tao/remove_boost_any
Use std::experimental::any to instead of boost::any in early version gcc
2018-10-16 13:01:57 +08:00
antao 23b8d7447a Remove boost::any 2018-10-16 10:59:32 +08:00
an-tao e3ee8873c5 Modify drogon_ctl 2018-10-15 22:46:53 +08:00
antao c9b3dcd9c2 Format all files 2018-10-14 15:56:54 +08:00
antao 0c6f39c34d Modify create view command of drogon_ctl 2018-10-05 19:17:12 +08:00
antao 2c1fd4cee0 Modify drogon_ctl 2018-09-10 18:06:00 +08:00
antao 1cf7ef84b2 Update drogon_ctl 2018-09-07 19:03:31 +08:00
antao 6fbfe28506 Update status code 2018-09-06 19:06:25 +08:00
an-tao cc35b08580 support dynamic libs compiling and loading 2018-06-14 18:51:26 +08:00
an-tao 0a80323f84 fix some bugs 2018-06-01 14:07:34 +08:00
an-tao de6e93da66 modify the file annotations 2018-05-31 17:00:31 +08:00
an-tao 1aaa65fff7 replace bare pointers with shared_ptr in HttpReponse static methods;fix a delete bug 2018-05-30 21:23:46 +08:00
an-tao 7b7a426f85 modify the output format of drogon_ctl 2018-05-30 18:22:46 +08:00
an-tao 466a761805 fix include header bugs 2018-05-29 21:24:04 +08:00
an-tao 30ab716c6b add HttpView to support html backend rendering 2018-05-29 17:21:37 +08:00