rittelle
71576b7578
Fixed CMakeLists.txt
...
Replaced `${CMAKE_SOURCE_DIR}` with `${CMAKE_CURRENT_SOURCE_DIR}`.
2021-02-09 13:19:06 +01:00
The-EDev
8523afa930
Update templating.md and mustache.h
...
Updated templating documentation to mention "working directory" rather than "executable directory".
Added Warning log when a template is not found.
2021-02-09 06:52:05 +03:00
sfinktah
02f664c340
Update common.h
...
oops, had to remove #undef DELETE -- used to enable refactoring without MS DELETE macro getting in the way.
2021-02-09 03:29:07 +11:00
sfinktah
0bf0c43f39
Update example_with_all.cpp
...
oops, had to reverse a change i made to get it to compile as-is.
2021-02-09 03:27:50 +11:00
Sfinktah Bungholio
740bd266e7
fixes for **some** msvc compatibility issues
2021-02-09 03:25:02 +11:00
Farook Al-Sammarraie
4e801d085a
Merge pull request #93 from CrowCpp/zlib
...
Added HTTP compression using gzip or deflate
2021-01-23 00:39:19 +03:00
The-EDev
73240f1626
updated documentation to include zlib linking
2021-01-22 06:48:18 +03:00
The-EDev
94ec5c9c4d
removed zlib notice since it's not part of the source code
2021-01-22 06:09:05 +03:00
The-EDev
747ad6db72
Merge branch 'master'
2021-01-21 21:37:55 +03:00
The-EDev
3aaef5e0fd
fixed merge errors
2021-01-21 21:36:41 +03:00
The-EDev
78ee97124b
Merge branch 'master'
...
Conflicts:
CMakeLists.txt
examples/CMakeLists.txt
include/crow/http_connection.h
tests/CMakeLists.txt
2021-01-21 06:56:02 +03:00
The-EDev
3234c924cf
disable compression on static files
2021-01-21 06:46:54 +03:00
Farook Al-Sammarraie
5449e75d0f
Merge pull request #84 from CrowCpp/returnables
...
Allow handlers to return more than just strings or JSON
2021-01-15 10:42:04 +03:00
The-EDev
75feb183b1
Merge branch 'master'
...
Conflicts:
CMakeLists.txt
2021-01-15 03:47:40 +03:00
The-EDev
b72ee2a4e8
Added virtual destructor to fix clang compilation
2021-01-15 03:45:57 +03:00
Igor Mróz
d347c09b5a
Merge pull request #96 from madduci/master
...
Improving CMakeLists.txt
2021-01-14 09:04:46 +01:00
Michele Adduci
ccb7dca9d6
Added explicit message when OpenSSL is not found
...
example_ssl won't be built if OpenSSL is not found: a status message will be shown instead
2021-01-14 06:19:15 +01:00
Michele Adduci
bc250a3f66
Cleaned up indentation, added comments, bumped Boost minimum version to 1.64
2021-01-12 13:31:33 +01:00
Michele Adduci
761ddce949
Reenabling tests and examples by default
2021-01-11 07:04:46 +01:00
Michele Adduci
96e1b2c157
Fixed issue with compiler options
2021-01-11 06:59:32 +01:00
Michele Adduci
3cb9222054
Updated cmake
2021-01-08 16:23:15 +01:00
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
The-EDev
cf217d3c1f
Merge branch 'master'
2021-01-05 17:51:57 +03:00
The-EDev
33f1206571
made json a returnable type and removed json specific code
2021-01-05 17:49:10 +03: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
187649dc4c
added zlib copyright notice to readme
2021-01-02 22:21:08 +03:00
The-EDev
09d0f4ccdd
Added HTTP compression using gzip or deflate (disabled by default, requires calling method)
2021-01-02 22:12:04 +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
The-EDev
9db47120e7
added documentation
...
also removed extra header meant for testing
2020-12-19 14:30:20 +03:00
The-EDev
ed2a7ae0e0
Added returnables class and applied to multipart
...
did not apply to JSON because it caused a linker error
also changed the version of boost required in CMAKE
2020-12-18 12:28:37 +03: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