The-EDev
|
e5fe4e6e26
|
Used App reference to get websocket count and signals.
Also fixed issue where enabling SSL prevented compilation.
|
2022-05-15 01:15:39 +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 |
|
The-EDev
|
82e894dc88
|
formatting
|
2022-04-27 06:11:49 +03:00 |
|
The-EDev
|
84289dbe71
|
fix typos
|
2022-04-27 05:58:53 +03:00 |
|
The-EDev
|
372212a3af
|
Added method for assigning an SSL certificate chain file
|
2022-04-27 05:54:33 +03:00 |
|
Joel Guittet
|
c14acad044
|
app: static can be an absolute path
|
2022-04-26 06:02:45 +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 |
|
The-EDev
|
a3c1af4b29
|
updated documentation in mkdocs and doxygen
|
2022-03-24 01:55:46 +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 |
|
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 |
|
The-EDev
|
c0062bd2e7
|
added run_async method
also added unit tests for #358
|
2022-03-10 15:44:39 +03:00 |
|
Vladislav Oleshko
|
4f4e12c91a
|
Add CROW_MIDDLEWARES macro
|
2022-02-08 20:11:02 +03:00 |
|
Vladislav Oleshko
|
e60714c0b2
|
Separate middleware for handlers
|
2022-02-01 22:49:41 +03:00 |
|
The-EDev
|
7aee13eee9
|
Changed the way concurrency is used
(it actually reflects the thread count properly)
|
2021-12-23 05:39:39 +03:00 |
|
The-EDev
|
77758e6241
|
Have concurrency represent the actual number threads used
|
2021-12-20 11:04:55 +03:00 |
|
The-EDev
|
14acb50030
|
fixed server_ name
|
2021-12-08 19:57:10 +03:00 |
|
The-EDev
|
13768371a9
|
Fixed problems with signals
|
2021-12-08 05:21:03 +03:00 |
|
Farook Al-Sammarraie
|
63c8af74f7
|
Merge branch 'master' into gcc8-workaround
|
2021-12-04 14:34:58 +03:00 |
|
Florian Rupprecht
|
24d8a72a94
|
Update include/crow/app.h
Co-authored-by: Farook Al-Sammarraie <farook@the-e-dev.com>
|
2021-12-04 12:32:32 +01:00 |
|
The-EDev
|
94a2f942bc
|
changed comment style back to the original (doxygen did not work with the new style)
|
2021-12-03 06:39:23 +03:00 |
|
Farook Al-Sammarraie
|
9c55181657
|
Merge branch 'master' into gcc8-workaround
|
2021-11-29 13:42:22 +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 |
|
Florian Rupprecht
|
58e211355f
|
Constrain and warn GCC 8 bug
|
2021-11-25 15:14:45 +01:00 |
|
The-EDev
|
7f4b7c8ff9
|
created new rules, used bot to enforce rules in PRs
|
2021-11-25 14:45:38 +03:00 |
|
Florian Rupprecht
|
7a0576546c
|
GCC 8 workaround
|
2021-11-23 16:00:14 +01:00 |
|
Luca Schlecker
|
912bf47b6f
|
fix faulty https redirection.
Crow would redirect to https if ssl is enabled, even if no ssl is being actively used.
Signed-off-by: Luca Schlecker <luca.schlecker@hotmail.com>
|
2021-11-22 02:45:08 +01:00 |
|
Luca Schlecker
|
de92d28f29
|
replace dumb_timer_queue with new task_timer .
fixes #264, lays ground for #273 and #257.
Signed-off-by: Luca Schlecker <luca.schlecker@hotmail.com>
|
2021-11-19 18:55:10 +01:00 |
|
Florian Rupprecht
|
5bb7fac016
|
Get app port
|
2021-11-14 13:04:19 +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 |
|
Leon De Andrade
|
aa5211d76d
|
Use invoke_result for C++20
|
2021-10-31 19:19:44 +01:00 |
|
Farook
|
eefe8f62bf
|
made it so that workarounds would only run if the user is on an apple machine
|
2021-10-22 14:27:10 +03:00 |
|
Luca Schlecker
|
7f7eac95a6
|
Merge branch 'master' into fix_macos
|
2021-10-14 10:36:03 +02:00 |
|
The-EDev
|
20c7720f72
|
Made crow's streaming threshold changeable through app.stream_threshold (I also added a getter for it to avoid sending it to the server then the connection)
|
2021-10-12 15:35:08 +03:00 |
|
The-EDev
|
efd55597f0
|
changed json and app code (relating to blueprints and initializer list)
also snuck in some guide updates
|
2021-10-10 14:42:36 +03:00 |
|
Luca Schlecker
|
3c9e5d1e1d
|
enable compression after first use of 'use_compression'.
|
2021-08-31 18:14:05 +02:00 |
|
Luca Schlecker
|
21c872e771
|
Revert "defining CROW_ENABLE_SSL disables non SSL code"
This reverts commit 10f3238ffc .
|
2021-08-31 18:14:05 +02:00 |
|
The-EDev
|
10f3238ffc
|
defining CROW_ENABLE_SSL disables non SSL code
|
2021-08-21 05:19:51 +03:00 |
|
The-EDev
|
2def62bd4a
|
removed unnecessary code / added constexpr for max bp id
|
2021-08-03 12:46:41 +03:00 |
|
The-EDev
|
addcce9e93
|
small fixes, optimizations, and documentation
|
2021-07-30 13:09:01 +03:00 |
|
The-EDev
|
e713ad54cb
|
added unit test, moved macros to app.h, and fixed bug where "bp_prefix2" would be considered a child of "bp_prefix" even if it's not
|
2021-07-28 22:31:08 +03:00 |
|
The-EDev
|
06c4829ca7
|
implemented all blueprint features
|
2021-07-27 10:52:49 +03:00 |
|
The-EDev
|
27fe952a0c
|
Merge branch 'master'
|
2021-07-20 11:00:09 +03:00 |
|
The-EDev
|
ea597d804a
|
blueprint specific templates directory now supported
|
2021-07-07 15:51:04 +03:00 |
|
Farook Al-Sammarraie
|
da9f2e4531
|
Merge branch 'master' into release_script
|
2021-07-06 20:08:59 +03:00 |
|
The-EDev
|
85e4525d67
|
added custom static directory capability to blueprints (the endpoint remains "<prefix>/static/<filename>")
|
2021-07-06 01:53:32 +03:00 |
|
The-EDev
|
321f9c7fe6
|
Merge branch 'master'
|
2021-07-06 01:51:50 +03:00 |
|
The-EDev
|
165c72f56c
|
fixed issue where disabling crow static directory would also disable all other routes
|
2021-07-05 12:18:00 +03:00 |
|