Commit Graph

31 Commits

Author SHA1 Message Date
Farook Al-Sammarraie
b64fc0e34c
typo fix
Co-authored-by: Luca Schlecker <luca.schlecker@hotmail.com>
2021-12-04 04:16:50 +03:00
The-EDev
b309bda160
Updated documentation:
added auth guide
updated macos setup
2021-12-03 06:38:14 +03:00
Luca Schlecker
dc317ced93 logger: don't append std::endl to the message.
ILogHandler instances should take care of that.

Signed-off-by: Luca Schlecker <luca.schlecker@hotmail.com>
2021-11-29 23:59:41 +01:00
The-EDev
d1b057d3b8
Added documentation for creating a custom logger 2021-11-27 17:37:30 +03:00
The-EDev
65f8eb9e44
added macro to enforce ws spec and added 16/64 bit payload length unit tests for ws 2021-11-22 17:39:48 +03:00
The-EDev
2665086a49
multiple docs changes:
Added meta tags for homepage
Added meta description generator
Removed usages of <h1> (mkdocs-material doesn't reconize more than 1)
added space after # (markdown proper syntax)
removed pip3 command from pull request CI
2021-11-06 11:54:29 +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
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
db18647cb3 Added updated setup instructions (kept old instructions as "legacy") 2021-09-30 01:43:50 +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
8617aaf6a9 Made several changes to docs
- Added landing page
- Changed theme completely
- Added donate button
- Added social media picture and description (OpenGraph)
- Added version tag to any feature introduced after v0.1
2021-08-13 03:49:34 +03:00
The-EDev
addcce9e93 small fixes, optimizations, and documentation 2021-07-30 13:09:01 +03:00
The-EDev
189e0709b1 explained CROW_JSON_NO_ERROR_CHECK 2021-06-28 13:01:12 +03:00
The-EDev
2dde0ac950 updated documentation to fix a few mistakes, clear up a few points, and added compression guide 2021-06-03 17:12:48 +03:00
The-EDev
f39b9ddce7 Quality of life improvements
Added pop() method to query_string, same as get(), but removes the item from the querystring
Added std::string() operator to json::rvalue (allows std::string(json["abc"]), which returns any value that isn't a container to string)
Added lo() method to json::rvalue, returns a vector of json::rvalue containing whatever a json object or list has (difference being a list has no keys)
Added keys() method to json::rvalue, returns a vector of std::string containing the keys of a json object
Made json::wvalue use either std::map or std::unordered_map instead of just std::unordered_map
Added copy constructor to json::wvalue
Added size() method to json::wvalue, returns 1 or the size of the json list.
Added constructor to create json::wvalue from std::vector
Added keys() method to query_string
Documented query_string and improved json doc
Made tests and examples for all the additions
2021-05-12 15:45:55 +03:00
Farook Al-Sammarraie
4aae614297
Merge branch 'master' into catch_all 2021-04-12 10:49:29 +03:00
The-EDev
f779a0f8a4 changed catchall to fit with the rest of crow
the macro is similar to CROW_ROUTE, added example to cmake, added unit test, and documentation
2021-04-12 08:25:09 +03:00
The-EDev
1eeda1a22b mentioned crow_main in docs and edited mime_types generating script to include it. 2021-04-04 07:47:14 +03:00
Farook Al-Sammarraie
1654acbfd0
Merge branch 'master' into HEAD_and_OPTIONS 2021-04-03 06:31:45 +03:00
The-EDev
223ab5eb9f added note regarding HEAD and OPTIONS methods in documentation 2021-04-03 06:06:09 +03:00
Tibo Vanheule
a32d803e10
small error in documentation
LogLevel needs to be capitalized, see 51a8a977d9/include/crow/logging.h (L14)
2021-04-01 02:22:38 +02:00
The-EDev
8523afa930 Update templating.md and mustache.h
Updated templating documentation to mention "working directory" rather than "executable directory".
Added Warning log when a template is not found.
2021-02-09 06:52:05 +03:00
The-EDev
cf217d3c1f Merge branch 'master' 2021-01-05 17:51:57 +03:00
The-EDev
7ee3439800 added documentation for testing, proxies, and systemd setup 2021-01-05 08:59:32 +03:00
The-EDev
9db47120e7 added documentation
also removed extra header meant for testing
2020-12-19 14:30:20 +03:00
ayaankhan98
0bca73dbf6 added missing <br> 2020-12-03 18:16:19 +05:30
ayaankhan98
6c9b7e18a4 fix: docs routes.md 2020-12-03 12:48:58 +05:30
The-EDev
ca642a87cd Updated all URLs for migration and to fix mkdocs 2020-11-30 23:05:55 +03:00
The-EDev
870fde9085 fixed typos and added missing parts 2020-11-28 22:48:09 +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