Commit Graph

1329 Commits

Author SHA1 Message Date
Vladislav Oleshko
81ae1c9de2 Replace optional with empty string 2022-05-07 12:09:22 +03:00
Vladislav Oleshko
078227a40d Unify docs page for additional middleware 2022-05-07 12:09:22 +03:00
Vladislav Oleshko
337aff4726 Add cookie_parser example 2022-05-07 12:09:22 +03:00
Vladislav Oleshko
51bb6062ef Rename format, refactor dump 2022-05-07 12:09:22 +03:00
Vladislav Oleshko
a01e39cf5d Use std::tm instead of boost 2022-05-07 12:09:22 +03:00
Vladislav Oleshko
988926660e Support zero max-age for instant expiration 2022-05-07 12:09:22 +03:00
Vladislav Oleshko
e15675f74e Add cookie formatting tests 2022-05-07 12:09:22 +03:00
Vladislav Oleshko
76d7ae3dac Add attribute support to cookie parser 2022-05-07 12:09:22 +03:00
The-EDev
177845a1a9
fixed footer copyright font issue in pages other than home 2022-04-28 18:28:34 +03:00
Farook Al-Sammarraie
08cc3d6d5c
Merge pull request #424 from CrowCpp/multiple_small_changes
Multiple small changes
2022-04-28 04:48:40 +03:00
oscar.chen
60bf49be02 fix clang format 2022-04-26 20:33:10 -07:00
The-EDev
82e894dc88
formatting 2022-04-27 06:11:49 +03:00
oscar.chen
1d758e939f #421 add rudimentary support for websocket max payload 2022-04-26 20:10:44 -07:00
The-EDev
84289dbe71
fix typos 2022-04-27 05:58:53 +03:00
The-EDev
eeb74b389a
Allow Doxygen to document functions that are only accessible via macro 2022-04-27 05:58:40 +03:00
The-EDev
2619f3a358
fixed issue where OPTIONS responses would report content-length 2022-04-27 05:55:31 +03:00
The-EDev
372212a3af
Added method for assigning an SSL certificate chain file 2022-04-27 05:54:33 +03:00
Farook Al-Sammarraie
4f533c4bab
Merge pull request #419 from joelguittet/feature/permit-crow-static-absolute-path
app: static can be an absolute path
2022-04-26 06:35:00 +03:00
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