Commit Graph

1176 Commits

Author SHA1 Message Date
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
Kinshuk Bairagi
77e68e45b6
Support for CROW_USE_LOCALTIMEZONE
define CROW_USE_LOCALTIMEZONE macro for explict optin for localtimezone in logs
2022-03-20 23:52:35 +05:30
Farook Al-Sammarraie
b135ec6392
Merge pull request #367 from kingster/feature-additional-httpcodes
Add http 504 codes
2022-03-20 21:18:22 +03:00
Kinshuk Bairagi
ee4ccf755a
Add http 504 codes 2022-03-20 23:23:07 +05:30
Farook Al-Sammarraie
bdbed550bf
Merge pull request #362 from CrowCpp/global_template_base
added `set_global_base` method
2022-03-20 01:17:51 +03:00
The-EDev
a0e6e3756b
added set_global_base method to change the default mustache templates
directory
2022-03-18 13:55:27 +03:00
Farook Al-Sammarraie
a970167205
Merge pull request #359 from CrowCpp/run_async
added run_async method
2022-03-16 23:01:44 +03:00
The-EDev
69feb9c226
Formatting 2022-03-16 21:15:18 +03:00
The-EDev
c858078b4e
Fixed test porblem 2022-03-16 18:45:31 +03:00
Farook Al-Sammarraie
c4bcec1999
Merge branch 'master' into run_async 2022-03-11 10:59:12 +03:00
Farook Al-Sammarraie
293ed2c247
Merge pull request #358 from CrowCpp/multipart_improvements
Improved how multipart messages work
2022-03-11 10:58:56 +03:00
The-EDev
af81ca9034
removed redundant methods (i() and d()) 2022-03-11 10:30:59 +03:00
The-EDev
c0062bd2e7
added run_async method
also added unit tests for #358
2022-03-10 15:44:39 +03:00
Farook Al-Sammarraie
b02e1b1a73
Merge branch 'master' into multipart_improvements 2022-03-10 09:55:35 +03:00
The-EDev
8224854b1d
Improved how multipart messages work
part headers are now in a map rather than a vector
added `get_part_by_name()`
parts and headers can be cast to integer or double (returns the value)
added a boundary to the default content-type (gets set to the request's
boundary if constructed from a request)
2022-03-10 09:52:27 +03:00
Farook Al-Sammarraie
81a1b498b9
Merge pull request #348 from dranikpg/cors-middleware
CORS Middleware
2022-03-09 05:34:11 +03:00
Vladislav
870028ec99
Merge branch 'master' into cors-middleware 2022-03-08 16:53:12 +03:00
Vladislav Oleshko
1c4416ef8d Fixes. Complete builder pattern. Add testcase 2022-03-08 16:33:08 +03:00
Farook Al-Sammarraie
4041dbd0ef
Merge pull request #354 from CrowCpp/multi_file
fixed multiple definition problem
2022-02-23 13:35:44 +03:00
The-EDev
37940d2cc0
fixed multiple definition problem and added test to make sure it doesn't
happen again
2022-02-23 06:00:00 +03:00
Vladislav Oleshko
5f105aca37 Fix clang-format 2022-02-22 17:46:29 +03:00