Commit Graph

1004 Commits

Author SHA1 Message Date
Farook Al-Sammarraie
cd26222ed7
Merge branch 'master' into moredocs 2020-11-28 17:37:25 +03:00
The-EDev
23648445f3 Changed documentation. a lot.
Added mkdocs documentation.
Altered doxygen generation (doxyfile and shell script) to work with mkdocs.
Removed the whole html folder thing for docs, now the files reside in the root gh-pages branch.
New readme.
2020-11-28 17:28:47 +03:00
Farook Al-Sammarraie
9e51a17579
Merge pull request #70 from mrozigor/json_return
allow returning all json data types, not just json objects
2020-11-26 13:54:03 +03:00
The-EDev
3d202d2919 allow returning all json data types, not just json objects 2020-11-26 04:08:24 +03:00
Farook Al-Sammarraie
dce8e63646
Merge pull request #65 from mrozigor/moredocs
documented as much as possible relating to the API reference
2020-11-20 15:34:21 +03:00
Farook Al-Sammarraie
896ec0621b
Merge branch 'master' into moredocs 2020-11-19 01:18:12 +03:00
The-EDev
2422f55855 documented as much as possible relating to the API reference 2020-11-19 01:13:57 +03:00
Farook Al-Sammarraie
48c12f52ac
Merge pull request #63 from supersaiyanmode/patch-1
Fix #include for example_with_all.
2020-11-18 20:23:16 +03:00
Farook Al-Sammarraie
d1aaff87ea
Merge branch 'master' into patch-1 2020-11-18 20:13:08 +03:00
Farook Al-Sammarraie
471af9ef8a
Merge pull request #64 from supersaiyanmode/patch-2
Rename CMake target: example -> basic_example.
2020-11-18 20:12:40 +03:00
Farook Al-Sammarraie
fe81b0d71d
Merge branch 'master' into patch-1 2020-11-18 20:04:12 +03:00
Srivatsan Iyer
267694dbbc Fix #include for example_with_all. Using relative directories like "../build/crow_all.h" might not work in all settings. 2020-11-18 22:15:38 +05:30
Srivatsan Iyer
f561852233 Rename CMake target: example -> basic_example. 2020-11-18 22:15:01 +05:30
Farook Al-Sammarraie
b140cdf58b
Merge pull request #61 from mrozigor/moredocs
Added reference docs
2020-11-14 12:44:58 +03:00
The-EDev
454810c165 Added reference docs for dumb_timer_queue, http_request, http_response, and socket_adaptors 2020-11-14 05:28:07 +03:00
Farook Al-Sammarraie
2fd0909a90
Merge pull request #55 from epajarre/static_file_win32
Activate static_file support on WIN32
2020-11-13 15:30:52 +03:00
Farook Al-Sammarraie
f9dec6997e
Merge branch 'master' into static_file_win32 2020-11-13 15:24:44 +03:00
Eero Pajarre
71bd6c8c2b removed another if not defined(_WIN32) 2020-11-13 07:42:02 +02:00
Farook Al-Sammarraie
2bdb35c9e5
Merge pull request #54 from epajarre/remove_uint
Replaced uint with unsigned
2020-11-13 03:13:10 +03:00
Farook Al-Sammarraie
07dc8c1a7a
Merge branch 'master' into remove_uint 2020-11-13 03:02:40 +03:00
Farook Al-Sammarraie
2425597a30
Merge pull request #58 from mrozigor/merge_all_win
made merge_all.py windows compatible
2020-11-12 22:39:02 +03:00
The-EDev
48bd974b44 made merge_all.py windows compatible 2020-11-12 21:54:49 +03:00
Eero Pajarre
16cae0af4a Activate static_file support on WIN32
static_file support seems to work, at least with
Microsoft Visual Studio 2017 and 2109 / C++17.
Without it the compilation fails, so activating it.
2020-11-12 15:38:37 +02:00
Eero Pajarre
5fe3a45793 Replaced uint with unsigned
uint is not a default type in C++.
Replaced it with unsigned, which should be large enough
2020-11-12 15:11:22 +02:00
Farook Al-Sammarraie
0054376057
Merge pull request #51 from mrozigor/middleware_reorganizing
separated middlewares from core code
2020-11-12 00:39:34 +03:00
The-EDev
0ff2ef3e15 added new middlewares folder to CMakeLists.txt 2020-11-12 00:33:37 +03:00
The-EDev
de1187bb4e added note regarding middlewares, and added () to make the -i and -e look more optional 2020-11-12 00:14:36 +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
Farook Al-Sammarraie
7c88cdbb60
Merge branch 'master' into middleware_reorganizing 2020-11-11 22:44:43 +03:00
Farook Al-Sammarraie
d00ec5e690
Merge pull request #50 from mrozigor/static_dir
Added default "static/<path>" route for any static files
2020-11-11 22:25:45 +03:00
The-EDev
5d23b2b9c7 fixed testing issue 2020-11-11 13:51:29 +03:00
The-EDev
6444748269 separated middlewares from core code
modified merge script to include middlewares, all are included by default
include excludes everything else (items separated by ',')
exclude only excludes selected items (items separated by ',')
2020-11-11 05:39:57 +03:00
The-EDev
24830648d2 added macros for static endpoint and directory
(also put some info in the example)
2020-11-10 23:56:27 +03:00
Farook Al-Sammarraie
50670c290b
Merge branch 'master' into static_dir 2020-11-10 12:34:04 +03:00
Farook Al-Sammarraie
515fa68f67
Merge pull request #44 from mrozigor/websocket
Websocket updates
2020-11-10 10:45:45 +03:00
The-EDev
c4d191a7b0 added static/ prefix to path 2020-11-10 03:54:30 +03:00
The-EDev
72aeabd5e4 added default "/static/<path>" route for any static files
can be disabled via CROW_DISABLE_STATIC_DIR def
2020-11-10 03:47:30 +03:00
The-EDev
5150fcdf05 bump version in doc 2020-11-09 19:14:50 +03:00
The-EDev
fab2640702 Ping and Pong messages shouldn't fail with messages larger than 127 bytes anymore
Has the added advantage of making the code look more consistent, while sacrificing some performance (very little though)
2020-11-09 17:36:03 +03:00
The-EDev
b54b5a4c6e obligatory simple messup fix
removed extra is_open method
2020-11-09 05:18:34 +03:00
The-EDev
ca46844782 Added check for SSL adaptor to fix potential crash when SSL websockets are used (ipkn#328) 2020-11-09 05:00:49 +03:00
The-EDev
76af416766 added websocket unit test 2020-11-09 04:47:41 +03:00
The-EDev
5c7ef21211 websocket improvements
replaced base10 bits to base8 in comments
added send_ping and send_pong to API (users can now send them)
reset header value before every read
2020-11-09 04:41:55 +03:00
The-EDev
8dc61959f2 added method to send ping message 2020-11-05 04:10:33 +03:00
The-EDev
463917a17f added option to have unmasked messages 2020-11-04 07:16:03 +03:00
The-EDev
cc715f4245 cleaned up app.h documentation 2020-11-04 06:21:52 +03:00
The-EDev
777dfa31af added documentation and illustration from RFC 6455 2020-11-04 06:20:09 +03:00
Farook Al-Sammarraie
696fbb1043
Merge pull request #38 from mrozigor/bump_0.2
bump server version to 0.2
2020-11-01 01:18:32 +03:00
The-EDev
4a42a6fbae bump server version to 0.2
also fixed a chmod issue in travis
2020-10-31 23:56:50 +03:00
Farook Al-Sammarraie
65f023d6c0
Merge pull request #37 from mrozigor/file-cleanup
File cleanup
2020-10-31 23:36:53 +03:00