Tibo Vanheule
a32d803e10
small error in documentation
...
LogLevel needs to be capitalized, see 51a8a977d9/include/crow/logging.h (L14)
2021-04-01 02:22:38 +02:00
Farook Al-Sammarraie
51a8a977d9
Merge pull request #109 from rittelle/fix-104
...
Properly clear responses
2021-02-15 15:24:42 +03:00
rittelle
3b151d569d
Properly clear responses
...
Closes #104 .
2021-02-12 13:21:59 +01:00
Farook Al-Sammarraie
1c505df69f
Merge pull request #101 from sfinktah/sfinktah-msvc17-compat-1
...
fixes for **some** msvc compatibility issues
2021-02-12 01:54:51 +03:00
Farook Al-Sammarraie
e15b50ed29
Merge branch 'master' into sfinktah-msvc17-compat-1
2021-02-12 01:43:56 +03:00
Farook Al-Sammarraie
21fb01ee36
Merge pull request #102 from CrowCpp/template_fixes
...
Template documentation fix + log when template is not found
2021-02-11 02:47:29 +03:00
Farook Al-Sammarraie
8289f21b66
Merge branch 'master' into template_fixes
2021-02-11 02:18:29 +03:00
Farook Al-Sammarraie
6cb131c948
Merge pull request #103 from rittelle/fix-cmakelists
...
Fix CMakeLists.txt for the use as a subdirectory in another project
2021-02-10 19:01:49 +03:00
sfinktah
1918d2e58c
Removed unnecessary line.
...
Does anybody know whether the big red "Delete File" option when reviewing commit deletes the entire file from the repo or just from the commits (or the PR)?
2021-02-10 19:55:51 +11:00
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