Commit Graph

147 Commits

Author SHA1 Message Date
Gulliver
985a01f587 commented out failing coverall task 2023-06-14 10:50:24 +02:00
Gulliver
b99b4c210c fix for compilation error on Windos/ VIsual Studio build 2023-06-14 09:01:53 +02:00
Kiner Shah
d3f08bc7d6 Added an example for uploading files
Relates to issue #591.
2023-06-07 15:57:33 +05:30
Laguna Du
1681ff2d2d Fix code formatting again. 2022-10-27 16:05:51 +08:00
Laguna Du
628361b6f7 Fix code formatting. 2022-10-27 15:55:36 +08:00
Laguna Du
befdcd34de fix post method. 2022-10-21 16:08:38 +08:00
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
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
6b6eb5eb0b Merge branch 'master' into sessions 2022-06-22 15:21:34 +03:00
Vladislav Oleshko
29c657df8f Add session id preset, remove boost filesystem, small fixes 2022-06-21 15:38:22 +03:00
Luca Schlecker
df92d6d639 replace boost::lexical_cast with an equivalent based on std::stringstream. 2022-06-18 17:21:37 +03:00
Luca Schlecker
f3d00bbecf replace boost::asio with standalone asio. 2022-06-18 17:21:37 +03:00
The-EDev
48093184cf fixed problem with examples not compiling 2022-06-10 11:52:16 +03:00
The-EDev
2788a910b9 removed python examples 2022-06-10 11:52:16 +03:00
Vladislav Oleshko
b939dd4f1d Small fixes 2022-05-28 17:59:33 +03:00
Vladislav Oleshko
afa553a1b4 Add session examples 2022-05-28 16:42:40 +03:00
Vladislav Oleshko
f46bdc1a24 First iteration of sessions 2022-05-28 16:42:25 +03:00
Farook Al-Sammarraie
a6bf90fa8b
Merge branch 'master' into blueprint-middleware 2022-05-23 09:43:17 +03:00
Farook Al-Sammarraie
e7007cfbce
Merge branch 'master' into blueprint-middleware 2022-05-18 13:30:13 +03:00
Farook Al-Sammarraie
9f99be55e1
Merge branch 'master' into ws_close 2022-05-14 18:56:39 +03:00
The-EDev
78c7186897 Allowed Crow class to be passed to Websocket connection object 2022-05-14 12:05:06 +03:00
Vladislav Oleshko
d259999e6d Add blueprint middleware example 2022-05-07 23:24:42 +03:00
Vladislav Oleshko
337aff4726 Add cookie_parser example 2022-05-07 12:09:22 +03:00
The-EDev
84289dbe71
fix typos 2022-04-27 05:58:53 +03: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
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
4f4e12c91a Add CROW_MIDDLEWARES macro 2022-02-08 20:11:02 +03:00
Vladislav Oleshko
f1dd5cc78a Add example_middleware to build 2022-02-08 19:37:24 +03:00
Vladislav Oleshko
69e9ad9c1e Run clang format 2022-02-01 23:21:07 +03:00
Vladislav Oleshko
e60714c0b2 Separate middleware for handlers 2022-02-01 22:49:41 +03:00
The-EDev
5c806252f0
formatted example.cpp 2021-12-14 06:55:59 +03:00
The-EDev
228e61d150
Added mustache lambda expansion 2021-12-10 05:17:25 +03:00
Luca Schlecker
7e4f1494d2 improved lambda bracing by inlining only empty lambdas.
Signed-off-by: Luca Schlecker <luca.schlecker@hotmail.com>
2021-11-27 19:22:35 +01: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
f8fabe32ae
fixed runtime error in basic_example 2021-11-22 17:47:02 +03:00
Luca Schlecker
e5c7daccce remove every occurance of #define CROW_MAIN.
Signed-off-by: Luca Schlecker <luca.schlecker@hotmail.com>
2021-11-21 17:25:16 +01:00
The-EDev
fd6de9bc05
Added functionality to close websocket connections before the app is
terminated.
This is incomplete and needs more work.
2021-11-06 06:06:18 +03:00
The-EDev
85e85c3e64
allow remote IP to be accessed from websocket object 2021-11-01 23:57:21 +03:00
The-EDev
616702d7e8 fixed issue where example_chat wouldn't be able to find example_chat.html due to copying error 2021-10-06 17:24:05 +03:00
Farook Al-Sammarraie
72e33c743e
Merge branch 'master' into revamped_setup 2021-10-02 17:29:07 +03:00
The-EDev
a031fb6c8e added status codes enum 2021-09-30 20:38:23 +03:00
The-EDev
736bc4f074 fixed a problem with compiling example_with_all and added CROW_AMALGAMATE to drone options 2021-09-28 22:03:56 +03:00
Luca Schlecker
f90f9b8e61 fix basic and blueprint example not building on some machines. 2021-09-01 09:29:12 +02:00
Luca Schlecker
28acb2c5a7 rework cmake configs.
See #160 for more info.
2021-09-01 09:29:02 +02:00
The-EDev
576690bf14 Made catchall work with 404 or 405 errors
snuck in a fix for release.py where version name wouldn't change
also snuck in slight improvement in finding blueprint (removed extra if statement)
2021-08-21 04:49:17 +03:00