Commit Graph

605 Commits

Author SHA1 Message Date
Michele Adduci
eb8ad4b685 Added new cmake modules 2021-01-08 16:15:45 +01:00
Michele Adduci
6d4c7d8a9b New CMake refactoring 2021-01-08 16:13:39 +01:00
Michele Adduci
e3cc251202 Improving CMakeLists.txt
- Added options BUILD_EXAMPLES and BUILD_TESTING to switch examples on/off during compilationusing standard CMake variable to set the C++ Standard, independently from the compiler
- Using OpenSSL only if BUILD_EXAMPLES are activated, since it's required by Boost ASIO only at runtime as dynamic library
2021-01-06 08:10:59 +01:00
Farook Al-Sammarraie
45c41b6de6
Merge pull request #87 from CrowCpp/redirection
Redirect to Route if no `http` is in the Location parameter
2021-01-05 15:09:16 +03:00
Farook Al-Sammarraie
05f5263d86
Merge branch 'master' into redirection 2021-01-05 15:09:01 +03:00
Farook Al-Sammarraie
251dafa82c
Merge pull request #95 from CrowCpp/docs_server_setup
added documentation for testing, proxies, and systemd setup
2021-01-05 13:23:52 +03:00
The-EDev
7ee3439800 added documentation for testing, proxies, and systemd setup 2021-01-05 08:59:32 +03:00
The-EDev
24fc57d453 location != "" -> !location.empty() 2021-01-03 17:56:19 +03:00
The-EDev
97dea47eb0 Changed the behaviour of redirect function to redirect to a route if no http:// is available
Also added `redirect_perm`, `moved`, and `moved_perm` functions with their status codes.
And corrected the description of the `raw_url` member.
2020-12-26 19:54:41 +03:00
Farook Al-Sammarraie
28ef0a939b
Merge pull request #85 from NRizzoInc/fix/signal-handling
[fix] Make signal handler optional
2020-12-20 08:23:08 +03:00
Nick Rizzo
3945251869 [fix] Make signal handler optional 2020-12-19 14:05:27 -05:00
Farook Al-Sammarraie
0f5f9793bd
Merge pull request #80 from ayaankhan98/install-rules
cmake install rules
2020-12-06 16:42:18 +03:00
ayaankhan98
91ec742a8e fix: c -> C 2020-12-06 18:55:59 +05:30
ayaankhan98
5a2af02e75 fix: docs 2020-12-06 18:54:39 +05:30
ayaankhan98
383860a22e fix: docs 2020-12-06 18:33:19 +05:30
ayaankhan98
552db5bfa5 added docs 2020-12-06 15:32:56 +05:30
ayaankhan98
4d7283bc2b cmake install rules 2020-12-05 12:51:00 +05:30
The-EDev
9b2745db3a Update README.md 2020-12-03 18:23:01 +03:00
Farook Al-Sammarraie
c81a2d84e4
Merge pull request #76 from ayaankhan98/master
recieve response without request being another argument in handler
2020-12-03 15:53:11 +03:00
ayaankhan98
0bca73dbf6 added missing <br> 2020-12-03 18:16:19 +05:30
ayaankhan98
c4bbbc1c72 Merge branch 'master' of https://github.com/ayaankhan98/crow 2020-12-03 12:49:09 +05:30
ayaankhan98
6c9b7e18a4 fix: docs routes.md 2020-12-03 12:48:58 +05:30
Ayaan Khan
716aa046fc
Merge branch 'master' into master 2020-12-03 12:46:57 +05:30
ayaankhan98
87e29c2aba fix: std::string && req parameter 2020-12-03 12:46:38 +05:30
ayaankhan98
8371bdb09f fix: std::string && req parameter 2020-12-03 12:43:50 +05:30
Farook Al-Sammarraie
0e7cee6ef1
Merge pull request #79 from makaveli/39-settable-server-name
Settable server name feature
2020-12-03 04:27:18 +03:00
Makaveli
9bc030478f Settable server name feature 2020-12-02 20:15:05 -05:00
ayaankhan98
ec29121c22 fix clang build 2020-12-02 22:59:45 +05:30
ayaankhan98
fcce57d232 revert: new handler_ changes 2020-12-02 16:37:43 +05:30
ayaankhan98
770359e79f fix: ambigous call and example 2020-12-02 15:36:29 +05:30
ayaankhan98
737a3384ae removed extra changes 2020-12-01 14:39:11 +05:30
ayaankhan98
6f31e597a0 Merge branch 'master' of https://github.com/ayaankhan98/crow 2020-12-01 12:36:09 +05:30
ayaankhan98
acab73ef68 removed extra req arg 2020-12-01 12:35:46 +05:30
Ayaan Khan
6c7bef1eda
Merge branch 'master' into master 2020-12-01 12:03:02 +05:30
ayaankhan98
a7c74c6327 recieve response without request being another argument in handle 2020-12-01 11:50:46 +05:30
The-EDev
db1e149cf4 Merge branch 'moredocs' 2020-12-01 02:32:09 +03:00
The-EDev
f3ae185108 used different way of excluding cname 2020-12-01 02:30:50 +03:00
Farook Al-Sammarraie
1b5b072493
Merge pull request #75 from CrowCpp/moredocs
fixed link to coveralls
2020-12-01 02:05:09 +03:00
Farook Al-Sammarraie
69a6f0ce11
Merge branch 'master' into moredocs 2020-12-01 02:05:00 +03:00
The-EDev
dea751ccde fixed link to coveralls 2020-12-01 02:03:49 +03:00
Farook Al-Sammarraie
d5048d62a5
Merge pull request #74 from CrowCpp/moredocs
added exception to CNAME file
2020-12-01 00:35:19 +03:00
Farook Al-Sammarraie
1a450e1b71
Merge branch 'master' into moredocs 2020-12-01 00:35:08 +03:00
The-EDev
fab0989493 added exception to CNAME file 2020-12-01 00:33:11 +03:00
Farook Al-Sammarraie
7d9e64a278
Merge pull request #73 from CrowCpp/moredocs
Updated all URLs for migration and to fix mkdocs
2020-12-01 00:07:43 +03:00
Farook Al-Sammarraie
b5fd5531c6
Merge branch 'master' into moredocs 2020-11-30 23:07:22 +03:00
The-EDev
ca642a87cd Updated all URLs for migration and to fix mkdocs 2020-11-30 23:05:55 +03:00
Farook Al-Sammarraie
0e9e3585c9
Merge pull request #72 from mrozigor/moredocs
patch for mkdocs, worked on my repo, not sure if it'll work here
2020-11-30 11:29:06 +03:00
The-EDev
9b3acc57e3 patch for mkdocs, worked on my repo, not sure if it'll work here 2020-11-30 01:33:06 +03:00
Farook Al-Sammarraie
6894b3bbcc
Merge pull request #71 from mrozigor/moredocs
Changed documentation. a lot.
2020-11-29 11:01:10 +03:00
The-EDev
21743fe070 addid missing libcrypto link for ssl compilation 2020-11-29 05:22:35 +03:00