Commit Graph

1411 Commits

Author SHA1 Message Date
Joel Guittet
c14acad044 app: static can be an absolute path 2022-04-26 06:02:45 +03:00
Farook Al-Sammarraie
c953413f5b
Merge pull request #416 from kingster/secbug-cpp/comparison-with-wider-type
Fix for SecBug cpp/comparison-with-wider-type
2022-04-26 06:02:35 +03:00
Kinshuk Bairagi
de16aab1a9 Fix for cpp/comparison-with-wider-type 2022-04-26 05:30:31 +03:00
Farook Al-Sammarraie
70faf206d4
Merge pull request #399 from CrowCpp/gcc48
Allow compiling on GCC 4.8
2022-04-26 05:30:04 +03:00
Farook Al-Sammarraie
b6a04058a1
Merge branch 'master' into gcc48 2022-04-25 09:34:52 +03:00
Igor Mróz
3a9776b27e
Merge pull request #411 from danielskeenan/#410
Handle unknown static file extensions
2022-04-22 09:18:25 +02:00
Dan Keenan
869a0abb04 Fix header name. 2022-04-21 19:51:22 -04:00
Dan Keenan
885ac41d99 Formatting fixes. 2022-04-20 16:26:09 -04:00
Dan Keenan
89226687ea Avoid exception handling. 2022-04-20 16:18:50 -04:00
Dan Keenan
33df7fc35b Handle extensions without mime types assigned to them. 2022-04-16 17:35:44 -04:00
Dan Keenan
bdfd9cb6a9 Create failing test. 2022-04-16 17:31:12 -04:00
Farook Al-Sammarraie
60b1d82999
Merge branch 'master' into gcc48 2022-04-16 16:07:05 +03:00
The-EDev
0f3721f5eb
removed mentions of is_callable in middleware.h 2022-04-16 16:05:41 +03:00
The-EDev
9f7ed83c45
Removed is_callable in favor of CallHelper + formatting 2022-04-16 16:04:49 +03:00
Vladislav Oleshko
74d94888d1 Generic app constructor 2022-04-13 20:49:22 +03:00
Vladislav Oleshko
d86b2d36f1 Add test, small fixes 2022-04-13 12:16:06 +03:00
Vladislav Oleshko
b13c8c0db6 Update docs 2022-04-13 12:15:30 +03:00
Farook Al-Sammarraie
db53bd619b
Merge pull request #404 from dhchen/Log_string
Concatenate log into one string and sending to std::cerr instead of multiple << operator
2022-04-12 17:46:25 +03:00
Vladislav Oleshko
d9ba5787f1 Fix blueprint bug 2022-04-12 12:19:16 +03:00
Vladislav
cca8578556
Merge branch 'master' into blueprint-middleware 2022-04-12 10:52:45 +03:00
Dao-hui Chen
c2b8a60eb3 Concatenate log into one string and sending to std::cerr instead of multiple << operator 2022-04-12 09:18:38 +08:00
Vladislav Oleshko
eb2c0a58b2 Optimize dynamic call criteria, small fixes 2022-04-11 23:03:11 +03:00
Vladislav Oleshko
3b9e522523 Blueprint middleware prototype 2022-04-11 16:01:27 +03:00
The-EDev
facae48aa1
Allowed compiling on GCC 4.8 by using CallHelper instead of is_callable
Also fixed issue with ssl test string comparison (which caused random incorrect failures)
2022-04-11 06:24:43 +03:00
Farook Al-Sammarraie
03f2e266c1
Merge pull request #396 from CrowCpp/reference_middleware
Add `std::remove_reference` to CROW_MIDDLEWARES
2022-04-09 15:43:40 +03:00
Farook Al-Sammarraie
5fd5671ceb
Merge branch 'master' into reference_middleware 2022-04-09 04:58:28 +03:00
The-EDev
a69395cd71
Fixed site copyright style 2022-04-09 04:57:44 +03:00
The-EDev
6a5c18a54f
Fixed issue where Crow wouldn't compile when using CROW_MIDDLEWARES with a pass-by-reference app 2022-04-09 04:45:32 +03:00
Farook Al-Sammarraie
9659598764
Merge pull request #395 from dranikpg/cors-middleware-fix
Add inline decl to CORSRules helpers
2022-04-08 14:31:14 +03:00
Farook Al-Sammarraie
57bf896ffd
Merge branch 'master' into cors-middleware-fix 2022-04-08 14:30:26 +03:00
Farook Al-Sammarraie
c3ddc52cf7
Merge pull request #393 from CrowCpp/ssl-upgrade-header
Fixed issue where SSL websockets wouldn't run due to HTTP upgrade
2022-04-08 14:29:41 +03:00
Farook Al-Sammarraie
97f2f1aeda
Merge branch 'master' into ssl-upgrade-header 2022-04-08 14:28:57 +03:00
Farook Al-Sammarraie
4043595e44
Merge pull request #392 from CrowCpp/doc-crow-features
documented CROW_FEATURES
2022-04-08 14:27:10 +03:00
Vladislav Oleshko
bccc03c141 Add inline decl to CORSRules helpers 2022-04-08 14:00:17 +03:00
The-EDev
0a739b35c6
fixed issue where SSL websockets wouldn't run due to HTTP upgrade 2022-04-07 15:54:50 +03:00
The-EDev
ca78b98f55
documented CROW_FEATURES 2022-04-07 15:42:47 +03:00
Farook Al-Sammarraie
2b45f0236a
Merge pull request #384 from CrowCpp/crow-features
#380: Update CMake config.
2022-04-04 22:08:59 +03:00
Farook Al-Sammarraie
6ffaf23375
Merge branch 'master' into crow-features 2022-04-04 21:44:11 +03:00
Farook Al-Sammarraie
391bd2d997
Merge pull request #385 from hsiegmund/master
make multipart robust against ill-formed body, prevents SIGSEGV
2022-04-04 21:44:03 +03:00
Luca Schlecker
23f2cbb73c update CI scripts to align with the introuction of 'CROW_FEATURES'.
Signed-off-by: Luca Schlecker <luca.schlecker@hotmail.com>
2022-04-04 20:37:01 +02:00
Luca Schlecker
44f51f4750 Crow's current features (ssl and compression) can now be enabled through 'CROW_FEATURES' instead of their own CMake variables.
The default features are the ones Crow was installed with but can be overridden by setting 'CROW_FEATURES' before the 'find_package' call.

Signed-off-by: Luca Schlecker <luca.schlecker@hotmail.com>
2022-04-04 20:36:57 +02:00
Farook Al-Sammarraie
912330322b
Merge branch 'master' into master 2022-04-04 21:19:18 +03:00
Farook Al-Sammarraie
71c01a9bbf
Merge pull request #383 from beached/patch-1
Split up operator""_method
2022-04-04 20:37:14 +03:00
Darrell Wright
dcbb8a15fd
Update common.h
Fixed extra {
2022-04-04 13:04:26 -04:00
Harald Siegmund
d6d5e45399 make multipart robust against ill-formed body, prevents SIGSEGV 2022-04-04 17:55:19 +02:00
Harald Siegmund
7c285db88c make multipart robust against ill-formed body, prevents SIGSEGV 2022-04-04 17:27:53 +02:00
Darrell Wright
338b59f329
Split up operator""_method
When wrapping calls to crow from other code bases, I have had to call `operator""_method` explicitly.  Breaking it into two methods, `method_from_string` and `operator""_method` allows one to compose this code elsewhere.
2022-04-03 13:32:45 -04:00
Farook Al-Sammarraie
1002ded116
Merge pull request #378 from bryceschober/patch-1
Fix indentation & numbering in middleware
2022-04-01 04:04:39 +03:00
Bryce Schober
04405210c1
Fix indentation & numbering in middleware 2022-03-30 13:04:25 -07:00
Farook Al-Sammarraie
1e73642535
Merge pull request #377 from CrowCpp/hotfix_compiler
Fixed problem where GCC < 6 wouldn't compile Crow
2022-03-30 17:34:38 +03:00