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
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
Farook Al-Sammarraie
6661e02158
Merge pull request #196 from lcsdavid/fix-#195
...
fix issue #195
2021-08-11 17:03:15 +03:00
Lucas David
df41cbec49
~ Replaced foreach character type unsigned char
by auto
to resolve issue #195 .
2021-08-11 15:43:40 +02:00
Lucas David
235f2b9ef4
+ Added (implicit) constructors for json "supported" types.
...
+ added corresponding tests.
+ Added json-map examples.
2021-08-09 14:32:51 +02:00
Lucas David
762af68306
+ Added object constructor and assignment for json::wvalue and unit tests.
...
+ json::wvalue::wvalue(std::initializer_list<std::pair<std::string const, json::wvalue>>
+ json::wvalue::wvalue(std::[unordered_]map<std::string, json::wvalue> const&)
+ json::wvalue::wvalue(std::[unordered_]map<std::string, json::wvalue>&&)
+ json::wvalue::operator=(std::initializer_list<std::pair<std::string const, json::wvalue>>)
+ json::wvalue::operator=(std::[unordered_]map<std::string, json::wvalue> const&)
+ json::wvalue::operator=(std::[unordered_]map<std::string, json::wvalue>&&)
2021-08-09 14:32:51 +02:00
Farook Al-Sammarraie
a24f15a1b3
Merge pull request #191 from d35ha/patch-1
...
Replace `HTTPMethod::GET` with `HTTPMethod::Get`
2021-08-07 03:24:48 +03:00
Farook Al-Sammarraie
62af482f7b
Merge branch 'master' into patch-1
2021-08-07 03:24:26 +03:00
Farook Al-Sammarraie
077bf0f5b3
Merge pull request #192 from danielytics/master
...
Eliminate extern-initializer warning
2021-08-07 03:24:07 +03:00
Dan Kersten
e6b36c3c03
Eliminate extern-initializer warning
2021-08-06 22:28:13 +01:00
Mustafa Mahmoud
d5c1b54918
Replace HTTPMethod::GET
with HTTPMethod::Get
2021-08-06 19:01:13 +02:00
Farook Al-Sammarraie
dd7cc7f0d2
Merge pull request #181 from CrowCpp/blueprints
...
Flask style Blueprint support
2021-08-05 20:11:15 +03:00
Farook Al-Sammarraie
8039b2eab9
Merge branch 'master' into blueprints
2021-08-05 19:54:02 +03:00
The-EDev
0588471d6d
fixed extern constexpr problem
2021-08-05 19:53:52 +03:00
Farook Al-Sammarraie
2b1a071e49
Merge pull request #186 from CrowCpp/version_fix
...
Fixed multiple files issue
2021-08-05 19:48:18 +03:00
The-EDev
9418c39a92
fixed problem where using multiple files caused an error because you can't have extern constexpr
2021-08-05 17:01:03 +03:00
The-EDev
1474fbec33
used constant 0xffff in more places, used .empty(), and split the if statement into a method.
2021-08-04 23:58:38 +03:00
The-EDev
2def62bd4a
removed unnecessary code / added constexpr for max bp id
2021-08-03 12:46:41 +03:00
Farook Al-Sammarraie
2d65f71de8
Merge branch 'master' into blueprints
2021-07-30 13:15:44 +03:00
The-EDev
addcce9e93
small fixes, optimizations, and documentation
2021-07-30 13:09:01 +03:00