Commit Graph

826 Commits

Author SHA1 Message Date
The-EDev
a031fb6c8e added status codes enum 2021-09-30 20:38:23 +03:00
Farook Al-Sammarraie
c38e114c79
Merge pull request #227 from Zhavok92/master
missing http status codes added
2021-09-30 16:03:09 +03:00
Zhavok
1081d25a0f some status codes removed 2021-09-30 11:46:00 +02:00
Zhavok
db6ab441b4 missing http status codes added 2021-09-29 19:30:59 +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
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
The-EDev
b21f3600c0 replaced outline with border because chrome doesn't round outline 2021-08-15 03:04:05 +03:00
Farook Al-Sammarraie
f22f59e93b
Merge branch 'master' into feature-#189 2021-08-14 23:28:23 +03:00
Farook Al-Sammarraie
17b8766ea2
Merge pull request #197 from CrowCpp/docs_upgrade
Made several changes to docs
2021-08-14 23:21:56 +03:00
Farook Al-Sammarraie
acf200f348
Merge branch 'master' into docs_upgrade 2021-08-14 23:21:32 +03:00
Igor Mróz
a4e38ab059
Merge pull request #198 from CrowCpp/drone_coveralls
Fix coveralls branch
2021-08-14 22:17:41 +02:00
Farook Al-Sammarraie
fe52a2b117
Merge branch 'master' into feature-#189 2021-08-14 17:19:42 +03:00
Farook Al-Sammarraie
2c952c8182
Merge branch 'master' into docs_upgrade 2021-08-14 17:19:09 +03:00
Farook Al-Sammarraie
174381588f
Merge branch 'master' into drone_coveralls 2021-08-14 17:19:03 +03:00
Farook Al-Sammarraie
4157f41575
Merge pull request #200 from himanshu007-creator/patch-1
Update http_request.h
2021-08-14 16:57:07 +03:00
himanshu007-creator
6ebea5ca77 remoteIpAddress 2021-08-14 18:58:23 +05:30
Himanshu
0f2b231448
Update http_request.h
CamelCase changed to snake_case
2021-08-14 18:01:19 +05:30
The-EDev
239e21e3c6 fixed header icon white background 2021-08-14 01:54:10 +03:00
The-EDev
6812d8073a this would theoratically fix the bug in #184, but I'm not 100% sure it will.. 2021-08-13 20:17:48 +03:00
The-EDev
c69342ed69 added missing changes to README and mkdocs.yml 2021-08-13 04:00:28 +03:00
The-EDev
8617aaf6a9 Made several changes to docs
- Added landing page
- Changed theme completely
- Added donate button
- Added social media picture and description (OpenGraph)
- Added version tag to any feature introduced after v0.1
2021-08-13 03:49:34 +03:00
Lucas David
6ae3025bd6 - Removed useless comments. 2021-08-12 09:31:27 +02:00
Lucas David
1e52b0182d ~ Corrected code as mentionned in review comments. 2021-08-11 22:25:58 +02:00
Lucas David
8f10f92627
Merge branch 'master' into feature-#189 2021-08-11 21:57:54 +02:00