Commit Graph

1248 Commits

Author SHA1 Message Date
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
The-EDev
5f18548369
Fixed problem where GCC < 6 wouldn't compile Crow 2022-03-30 15:50:11 +03:00
The-EDev
f52ba6120e
updated documentation version and license year 2022-03-30 15:41:38 +03:00
The-EDev
acf4db8d52
fixed issue in GH sponsors URL 2022-03-24 13:34:53 +03:00
Farook Al-Sammarraie
41d0b581c3
Merge pull request #373 from CrowCpp/ghs-site
Added gh-sponsors to site
2022-03-24 13:07:31 +03:00
Farook Al-Sammarraie
e298c88d79
Merge branch 'master' into ghs-site 2022-03-24 13:07:07 +03:00
Farook Al-Sammarraie
90bd4b9494
Merge pull request #372 from CrowCpp/doc_updates
Updated documentation in mkdocs and doxygen
2022-03-24 13:06:47 +03:00
The-EDev
fde307dd91
added gh-sponsors to site 2022-03-24 03:53:47 +03:00
The-EDev
a3c1af4b29
updated documentation in mkdocs and doxygen 2022-03-24 01:55:46 +03:00
Farook Al-Sammarraie
588020ee1c
Merge pull request #371 from CrowCpp/lowercase_methods
Fixed issue where parser methods were in all caps
2022-03-21 14:22:07 +03:00
Farook Al-Sammarraie
c199fa08dc
removed test changes 2022-03-21 13:57:13 +03:00
Farook Al-Sammarraie
8185e0d0cc
Merge branch 'master' into lowercase_methods 2022-03-21 13:49:23 +03:00
The-EDev
be45925731
fixed issue where parser methods were in all caps 2022-03-21 13:47:46 +03:00
Farook Al-Sammarraie
7f2da9b1c7
Merge pull request #368 from kingster/feature-localtime
Support for `CROW_USE_LOCALTIMEZONE` for using localtime in logs
2022-03-20 22:11:47 +03:00