Vladislav Oleshko
f505c152e1
Remove custom keys
2022-07-04 12:27:25 +03:00
Vladislav Oleshko
cbdb127b98
Small naming fixes
2022-07-04 10:50:14 +03:00
Vladislav Oleshko
2e0e5935ff
Add docs, fix comment
2022-06-23 13:19:47 +03:00
Vladislav Oleshko
a251928732
Add more comments to example, small fixes
2022-06-23 10:59:44 +03:00
Vladislav Oleshko
4c5807de81
Support char[]/char* for set/get, small fixes
2022-06-22 20:47:13 +03:00
Vladislav Oleshko
ea4c672a41
Emulate variant with json wvalue for C++11/14
2022-06-22 17:02:16 +03:00
Vladislav Oleshko
6b6eb5eb0b
Merge branch 'master' into sessions
2022-06-22 15:21:34 +03:00
Vladislav Oleshko
a9135bddd5
Move out from detail namespace, small changes
2022-06-22 15:18:32 +03:00
Vladislav Oleshko
4df3f2f171
Add expiration tracker
2022-06-21 23:52:21 +03:00
Vladislav Oleshko
9ed2e32905
Remove boost impl, unify integral types
2022-06-21 17:05:31 +03:00
Vladislav Oleshko
29c657df8f
Add session id preset, remove boost filesystem, small fixes
2022-06-21 15:38:22 +03:00
Luca Schlecker
02bbbde8b7
add comment to trim
function, use it correctly and remove redundant whitespace checks in CookieParser
.
2022-06-18 17:21:37 +03:00
Luca Schlecker
126d79dc38
cookie_parser & query_string: use std::unique_ptr instead of raw pointers.
2022-06-18 17:21:37 +03:00
Luca Schlecker
60ca594b91
cookie_parser: use utility::trim instead of boost::trim.
2022-06-18 17:21:37 +03:00
Luca Schlecker
8d0d4c80ee
Remove usage of boost::optional.
...
Move to pointers instead.
This implementation relies on the safe deletion of `nullptr`.
2022-06-18 17:21:37 +03:00
Vladislav Oleshko
b939dd4f1d
Small fixes
2022-05-28 17:59:33 +03:00
Vladislav Oleshko
f46bdc1a24
First iteration of sessions
2022-05-28 16:42:25 +03:00
Vladislav Oleshko
81ae1c9de2
Replace optional with empty string
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
76d7ae3dac
Add attribute support to cookie parser
2022-05-07 12:09:22 +03:00
Vladislav Oleshko
bccc03c141
Add inline decl to CORSRules helpers
2022-04-08 14:00:17 +03:00
The-EDev
a3c1af4b29
updated documentation in mkdocs and doxygen
2022-03-24 01:55:46 +03:00
Vladislav Oleshko
1c4416ef8d
Fixes. Complete builder pattern. Add testcase
2022-03-08 16:33:08 +03:00
Vladislav Oleshko
6432d4486d
Add example and test
2022-02-22 17:38:51 +03:00
Vladislav Oleshko
13d62841df
CORS Middleware
2022-02-20 22:43:24 +03:00
The-EDev
03e59aa446
improved bracing rules, commented out clang-format 14 rule
2021-11-27 15:28:50 +03:00
The-EDev
7f4b7c8ff9
created new rules, used bot to enforce rules in PRs
2021-11-25 14:45:38 +03:00
The-EDev
f5338260bb
several changes:
...
added json list in a similar fashion to json object
renamed object_type to object
updated readme, index.html, and json.md to include objects and lists
updated examples to be slightly cleaner and include lists
replaced instances of json object (std::map and such) with the short version (object)
accurate floating point number dumping (`6.0` instead of `6`) while taking 1/30th of the time (29 microseconds saved)
added json list testing
snuck in utf-8 middleware warning fix
snuck in twitter card style for crowcpp.org site (makes social media cards look way better with a large image)
2021-08-20 03:57:21 +03:00
The-EDev
17819e6571
Added middleware to automatically use utf-8 if no content-type is in the response
2021-08-15 15:28:26 +03:00
The-EDev
384baaade4
moved middlewares folder inside crow folder
...
also fixed an issue where by default nothing is included
2020-11-11 23:43:57 +03:00