The-EDev
85e4525d67
added custom static directory capability to blueprints (the endpoint remains "<prefix>/static/<filename>")
2021-07-06 01:53:32 +03:00
The-EDev
321f9c7fe6
Merge branch 'master'
2021-07-06 01:51:50 +03:00
The-EDev
408166a06f
removed extra semicolon (from @luxe)
2021-07-05 21:04:51 +03:00
Farook Al-Sammarraie
475e20b0e6
Merge pull request #163 from CrowCpp/patch_static_folder
...
Patch Static Folder
2021-07-05 12:51:22 +03:00
The-EDev
165c72f56c
fixed issue where disabling crow static directory would also disable all other routes
2021-07-05 12:18:00 +03:00
The-EDev
c46af69f41
Added basic blueprint support (registration and prefix)
2021-07-05 12:14:31 +03:00
Igor Mróz
fea3eb03d0
Turn off building examples and tests in release script.
2021-07-04 21:41:00 +02:00
Igor Mróz
1d270fae19
Add release script. Change server name to use release version to build name.
2021-07-03 22:02:32 +02:00
Farook Al-Sammarraie
a8e55b7a09
Merge pull request #161 from odeits/patch-1
...
Fix typo in example_with_all.cpp
2021-07-03 20:10:05 +03:00
odeits
ea07b8ac04
Fix typo in example_with_all.cpp
2021-07-03 17:08:12 +02:00
Farook Al-Sammarraie
3c6f2420db
Merge pull request #157 from luca-schlecker/main
...
http_response: fix move assign operator not moving file_info.
2021-06-28 19:38:11 +03:00
Luca Schlecker
0593f42522
http_response: fix move assign operator not moving file_info.
...
Signed-off-by: Luca Schlecker <luca.schlecker@hotmail.com>
2021-06-28 18:08:57 +02:00
The-EDev
f95f11547e
added CROW_MAIN definition to readme examples (also mkdocs index)
2021-06-28 18:56:27 +03:00
The-EDev
189e0709b1
explained CROW_JSON_NO_ERROR_CHECK
2021-06-28 13:01:12 +03:00
The-EDev
449ad7a82d
added missing line to docs
2021-06-24 11:48:01 +03:00
The-EDev
fc27f73f84
Bump server version to 0.3
2021-06-05 06:30:01 +03:00
Farook Al-Sammarraie
426926c43c
Merge pull request #142 from CrowCpp/optional_compression
...
Make Zlib dependency optional
2021-06-05 05:03:24 +03:00
The-EDev
2dde0ac950
updated documentation to fix a few mistakes, clear up a few points, and added compression guide
2021-06-03 17:12:48 +03:00
The-EDev
ca31b85156
added CROW_ENABLE_COMPRESSION macro to enable zlib compression
...
This makes zlib dependency (which is quite problematic) optional
2021-06-03 17:12:20 +03:00
Farook Al-Sammarraie
4579d7b63b
Merge pull request #139 from dspverden/master
...
IDE DEBUG symbol
2021-06-02 18:35:46 +03:00
dspverden
5aa45f1ebc
Changed to #ifndef in logging.h
2021-06-02 17:05:52 +02:00
dspverden
00ed2005bc
IDE DEBUG symbol
2021-06-02 16:11:36 +02:00
Farook Al-Sammarraie
44748e63ea
Merge pull request #137 from thinking-tower/feature/visual-studio-installation
...
Feature/visual studio installation
2021-05-24 20:04:56 +03:00
Darius Tan
d7f1985e4c
Edit example_vs.cpp to use CROW_ROUTE instead of app.route_dynamic.
...
VS2019 error:
'<function-style-cast>': cannot convert from 'void' to 'crow::response'
2021-05-23 20:59:21 +12:00
Darius Tan
44abb2d327
Add vcpkg.json to download Boost, openssl and zlib. Edit docs/getting-started/setup.md to show a simple setup with example_with_all.cpp.
2021-05-23 20:58:23 +12:00
Darius Tan
3bd1956e90
Change HTTPMethod::HEAD to HTTPMethod::Head, HTTPMethod::GET to
...
HTTPMethod::Get and HTTPMethod::OPTIONS to HTTPMethod::Options.
VS2019 error:
enum "crow::HTTPMethod" has no member "HEAD"
enum "crow::HTTPMethod" has no member "GET"
enum "crow::HTTPMethod" has no member "OPTIONS"
See https://github.com/ipkn/crow/pull/307 for a similar issue.
2021-05-23 19:58:01 +12:00
Farook Al-Sammarraie
d4b4c089bf
Merge pull request #135 from belugum/json_constness
...
Fix constness on json dump method #133
2021-05-18 21:04:07 +03:00
Maxime BELUGUET
7d6f82ce7e
Merge branch 'master' into json_constness
2021-05-18 18:59:13 +02:00
Farook Al-Sammarraie
7e72f2801a
Merge pull request #134 from wentasah/doc-fix
...
Fix CROW_MAIN documentation
2021-05-18 19:34:14 +03:00
Michal Sojka
57175a5e57
Fix CROW_MAIN documentation
2021-05-18 18:29:52 +02:00
Maxime BELUGUET
811ef62c6f
Fix constness on json dump method #133
2021-05-18 18:10:39 +02:00
Farook Al-Sammarraie
361023bf08
Merge pull request #132 from CrowCpp/quality_of_life
...
Quality of life improvements
2021-05-13 13:45:29 +03:00
The-EDev
0e9b615c2b
fixed typos
2021-05-13 13:30:48 +03:00
The-EDev
f39b9ddce7
Quality of life improvements
...
Added pop() method to query_string, same as get(), but removes the item from the querystring
Added std::string() operator to json::rvalue (allows std::string(json["abc"]), which returns any value that isn't a container to string)
Added lo() method to json::rvalue, returns a vector of json::rvalue containing whatever a json object or list has (difference being a list has no keys)
Added keys() method to json::rvalue, returns a vector of std::string containing the keys of a json object
Made json::wvalue use either std::map or std::unordered_map instead of just std::unordered_map
Added copy constructor to json::wvalue
Added size() method to json::wvalue, returns 1 or the size of the json list.
Added constructor to create json::wvalue from std::vector
Added keys() method to query_string
Documented query_string and improved json doc
Made tests and examples for all the additions
2021-05-12 15:45:55 +03:00
The-EDev
ef0ed8ce31
added development package for openssl
2021-04-17 12:28:43 +03:00
The-EDev
3aa13bcd64
fixed small issues
2021-04-17 12:21:55 +03:00
The-EDev
798f190fc8
added initial ssl testing
2021-04-17 02:33:35 +03:00
Farook Al-Sammarraie
301e535ca2
Merge pull request #129 from CrowCpp/mustache_coveralls
...
coverage fix for mustache + coveralls job id specification from drone
2021-04-14 19:10:41 +03:00
The-EDev
7df4b998b6
coverage fix for mustache + coveralls job id specification from drone
2021-04-14 14:03:27 +03:00
Farook Al-Sammarraie
027db780bd
Merge pull request #126 from CrowCpp/catch_all
...
Added Catchall route to Crow
2021-04-14 10:07:45 +03:00
The-EDev
5b7b066c68
fixed typo and incorrect type in assert error
2021-04-14 04:55:27 +03:00
Farook Al-Sammarraie
5f91587479
Merge branch 'master' into catch_all
2021-04-12 23:45:07 +03:00
Farook Al-Sammarraie
1087c2fb12
Merge pull request #128 from CrowCpp/double_logging
...
fixed issue where response is logged twice
2021-04-12 23:44:49 +03:00
The-EDev
738abdbd96
fixed issue where response is logged twice
2021-04-12 20:11:03 +03:00
Farook Al-Sammarraie
4aae614297
Merge branch 'master' into catch_all
2021-04-12 10:49:29 +03:00
The-EDev
16ae11a4e3
updated catchall to use references instead of pointers
2021-04-12 10:41:55 +03:00
The-EDev
f779a0f8a4
changed catchall to fit with the rest of crow
...
the macro is similar to CROW_ROUTE, added example to cmake, added unit test, and documentation
2021-04-12 08:25:09 +03:00
Farook Al-Sammarraie
4a663c97d9
Merge pull request #120 from CrowCpp/coveralls_fix
...
fix for coveralls not appearing in github status
2021-04-07 09:40:37 +03:00
Farook Al-Sammarraie
9213118fab
Merge branch 'master' into coveralls_fix
2021-04-07 03:36:31 +03:00
The-EDev
570ed2e04e
changed CI_BRANCH to TRAVIS_BRANCH
...
I do not know why this works, but it worked on my test repository
2021-04-07 03:36:11 +03:00