Commit Graph

751 Commits

Author SHA1 Message Date
The-EDev
827715a1a6 Replaced Travis with Drone for CI
travis config remains just in case
2021-04-01 08:50:10 +03:00
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
Maxim Kokryashkin
cdce8f443a macro rename 2021-03-31 20:30:32 +03:00
Maxim Kokryashkin
a4ec6d06ce delete tags 2021-03-13 15:06:35 +03:00
Maxim Kokryashkin
86977e4c73 rm test logs 2021-03-13 14:33:45 +03:00
Maxim Kokryashkin
8a8199b992 rm test logs 2021-03-13 14:33:09 +03:00
The-EDev
6f5514743a added automatic HEAD method handling 2021-03-13 13:51:27 +03:00
Sfinktah Bungholio
21f6f11484 Merge branch 'master' of https://github.com/CrowCpp/crow into sfinktah-64bit-compat-1 2021-02-21 11:14:52 +11:00
Sfinktah Bungholio
6597feb3a8 converted all (int) to static_cast 2021-02-21 11:14:30 +11:00
Maxim Kokryashkin
ce7d08eb0e fixed issues with static wariables 2021-02-21 00:28:32 +03: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 Bungholio
b2cf780485 recast 64-bit size_t to 32-bit int to remove warnings 2021-02-10 21:03:21 +11: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