Commit Graph

847 Commits

Author SHA1 Message Date
The-EDev
3b34877e50 Updated .drone.yml to use modified cpp-coveralls (NOT TESTED, Drone needs to be run to make sure everything works) 2021-09-29 05:23:20 +03:00
The-EDev
736bc4f074 fixed a problem with compiling example_with_all and added CROW_AMALGAMATE to drone options 2021-09-28 22:03:56 +03:00
Farook Al-Sammarraie
53d746ee7e
Merge pull request #130 from CrowCpp/ssl_test
added ssl testing
2021-09-28 21:55:50 +03:00
The-EDev
3b61ce9447 updated ssl test to only be added to CMake if CROW_ENABLE_SSL is on 2021-09-28 00:54:27 +03:00
The-EDev
ac36da8e97 Updated ssl_test CMake config to match revamped_setup 2021-09-28 00:50:26 +03:00
The-EDev
b3638a3b83 Merge remote-tracking branch 'refs/remotes/origin/revamped_setup'
Conflicts:
	.drone.yml
2021-09-27 19:04:01 +03:00
The-EDev
5ceb5f5cba Compile tests in debug mode (no optimization)
This helps make coverage more consistent, and should make any future problems easier to find
2021-09-27 14:56:17 +03:00
The-EDev
f5c392a973 made SSL test work 2021-09-27 01:09:45 +03:00
The-EDev
98705cfcd3 corrected package script for PKGBUILD 2021-09-22 06:38:06 +03:00
The-EDev
105b90c00a removed temporary lines from PKGBUILD 2021-09-22 06:36:08 +03:00
The-EDev
ab27164e61 Updated release script such that all you need to do is run the script and make a couple of commits to have a full release. 2021-09-22 06:34:12 +03:00
Farook Al-Sammarraie
3972cd315c
Merge pull request #218 from luca-schlecker/main
Friendlier FetchContent and add_subdirectory support.
2021-09-12 00:23:56 +03:00
Luca Schlecker
042fa06445 set the default value for building the examples, building the tests and installing Crow based on Crow being the top-level project. 2021-09-09 17:39:18 +02:00
Farook Al-Sammarraie
300e5bf254
Merge pull request #209 from luca-schlecker/main
rework cmake configs
2021-09-04 16:25:38 +03:00
Luca Schlecker
4c5b8d31cf inform about not executed tests if ssl or compression aren't enabled. 2021-09-01 09:29:12 +02:00
Luca Schlecker
989ae6a6cd disable compression test if configured without enabling compression support. 2021-09-01 09:29:12 +02:00
Luca Schlecker
fda2cddc70 add find_package support. 2021-09-01 09:29:12 +02:00
Luca Schlecker
f90f9b8e61 fix basic and blueprint example not building on some machines. 2021-09-01 09:29:12 +02:00
Luca Schlecker
28acb2c5a7 rework cmake configs.
See #160 for more info.
2021-09-01 09:29:02 +02:00
Luca Schlecker
3c9e5d1e1d enable compression after first use of 'use_compression'. 2021-08-31 18:14:05 +02:00
Luca Schlecker
21c872e771 Revert "defining CROW_ENABLE_SSL disables non SSL code"
This reverts commit 10f3238ffc.
2021-08-31 18:14:05 +02:00
Farook Al-Sammarraie
deff8222a4
Merge pull request #213 from hg333/custom-type-support
tests/unittest.cpp : added unit tests
2021-08-31 03:07:36 +03:00
hg333
ff07c2b867 removed get_header 2021-08-30 15:43:33 +05:30
hg333
249114ab29 added tests for Content-Type 2021-08-30 15:31:50 +05:30
hg333
f07e37c775 added unit tests 2021-08-30 12:17:08 +05:30
Farook Al-Sammarraie
0a526f9d23
Merge pull request #212 from hg333/custom-type-support
http_response.h : added custom type support
2021-08-29 14:40:49 +03:00
hg333
9546058604 added another constructor with status-code 2021-08-29 16:36:13 +05:30
hg333
b0e84a8c80 added custom type support 2021-08-29 12:19:18 +05:30
Farook Al-Sammarraie
7ce243370d
Merge pull request #208 from luca-schlecker/blueprint-fix-windows
fix routing on windows.
2021-08-25 14:46:45 +03:00
Farook Al-Sammarraie
a8b8a21d66
Merge branch 'master' into blueprint-fix-windows 2021-08-24 18:10:12 +03:00
Luca Schlecker
823e891572 fix routing on windows. 2021-08-24 17:06:21 +02:00
Farook Al-Sammarraie
cf864709c0
Merge pull request #207 from luca-schlecker/fix-vcpkg-manifest
fix vcpkg manifest
2021-08-24 12:59:56 +03:00
Luca Schlecker
d9062fbb1a fix vcpkg manifest.
'master' is not a valid version -> use version-string instead
2021-08-23 23:18:24 +02:00
The-EDev
43dbad29ac Made landing page mobile-friendly 2021-08-23 21:05:41 +03:00
Farook Al-Sammarraie
c5b54bf859
Merge pull request #205 from CrowCpp/catchall_codes
Send codes to catchall
2021-08-22 13:01:55 +03:00
Farook Al-Sammarraie
ddca7b5924
Merge branch 'master' into catchall_codes 2021-08-21 14:41:14 +03:00
Farook Al-Sammarraie
7d0e44181d
Merge pull request #206 from CrowCpp/ssl_no_deadcode
Disable non SSL code on SSL macro
2021-08-21 14:36:32 +03:00
The-EDev
db08b5a11d further simplified BP search code & made error_message const 2021-08-21 14:35:59 +03:00
The-EDev
10f3238ffc defining CROW_ENABLE_SSL disables non SSL code 2021-08-21 05:19:51 +03:00
The-EDev
576690bf14 Made catchall work with 404 or 405 errors
snuck in a fix for release.py where version name wouldn't change
also snuck in slight improvement in finding blueprint (removed extra if statement)
2021-08-21 04:49:17 +03:00
Farook Al-Sammarraie
a3ef00ff5b
Merge pull request #203 from CrowCpp/json_additions
Several JSON addition
2021-08-20 22:48:19 +03:00
The-EDev
f5338260bb several changes:
added json list in a similar fashion to json object
renamed object_type to object
updated readme, index.html, and json.md to include objects and lists
updated examples to be slightly cleaner and include lists
replaced instances of json object (std::map and such) with the short version (object)
accurate floating point number dumping (`6.0` instead of `6`) while taking 1/30th of the time (29 microseconds saved)
added json list testing
snuck in utf-8 middleware warning fix
snuck in twitter card style for crowcpp.org site (makes social media cards look way better with a large image)
2021-08-20 03:57:21 +03:00
Farook Al-Sammarraie
84878ae4b1
Merge branch 'master' into ssl_test 2021-08-18 13:13:29 +03:00
Farook Al-Sammarraie
526fd75c15
Merge pull request #190 from lcsdavid/feature-#189
feature-#189
2021-08-16 19:01:31 +03:00
Lucas David
49b020b9aa
Merge branch 'master' into feature-#189 2021-08-16 14:51:14 +02:00
Lucas David
80e4d3f88f - Removed duplicated in example. 2021-08-16 14:22:23 +02:00
Farook Al-Sammarraie
1dffa1c594
Merge pull request #202 from CrowCpp/utf-8_middleware
automatic UTF-8 support
2021-08-15 21:31:36 +03:00
The-EDev
17819e6571 Added middleware to automatically use utf-8 if no content-type is in the response 2021-08-15 15:28:26 +03:00
Farook Al-Sammarraie
719ecfa2e2
Merge pull request #201 from CrowCpp/docs_upgrade
replaced outline with border because chrome doesn't round outline
2021-08-15 03:05:55 +03:00
Farook Al-Sammarraie
63e311e29b
Merge branch 'master' into docs_upgrade 2021-08-15 03:05:48 +03:00