Commit Graph

74 Commits

Author SHA1 Message Date
The-EDev
a69395cd71
Fixed site copyright style 2022-04-09 04:57:44 +03:00
The-EDev
ca78b98f55
documented CROW_FEATURES 2022-04-07 15:42:47 +03:00
Bryce Schober
04405210c1
Fix indentation & numbering in middleware 2022-03-30 13:04:25 -07:00
The-EDev
f52ba6120e
updated documentation version and license year 2022-03-30 15:41:38 +03:00
The-EDev
acf4db8d52
fixed issue in GH sponsors URL 2022-03-24 13:34:53 +03:00
Farook Al-Sammarraie
e298c88d79
Merge branch 'master' into ghs-site 2022-03-24 13:07:07 +03:00
The-EDev
fde307dd91
added gh-sponsors to site 2022-03-24 03:53:47 +03:00
The-EDev
a3c1af4b29
updated documentation in mkdocs and doxygen 2022-03-24 01:55:46 +03:00
The-EDev
8cd9dae961
Edited documentation 2022-02-18 04:28:35 +03:00
Vladislav Oleshko
4f4e12c91a Add CROW_MIDDLEWARES macro 2022-02-08 20:11:02 +03:00
Vladislav Oleshko
39e5eb427d Update docs 2022-02-01 22:50:01 +03:00
Thomas Neumann
15085a9f95 avoid memory allocation in base64decode
Every single call to base64decode allocates a mapping table for all
base64 characters. This is quite wasteful, as the map is in fact static.
We could use a static variable here, but that would have unpleasant consequences
if we ever encounter input with non-valid base64 characters (which
implicitly modifies the map).

The number of character ranges for base64 is quite low (3, plus 4 exceptions),
thus we can simply check that explicitly in code instead of using a dynamic hash table.
2022-01-24 07:24:34 +01:00
The-EDev
b98ed1b875
Changed Contributors section to a new style that includes GitHub contributors 2021-12-31 03:52:29 +03:00
Farook Al-Sammarraie
790e34cea8
Merge branch 'master' into mustache_lambdas 2021-12-17 09:08:24 +03:00
The-EDev
228e61d150
Added mustache lambda expansion 2021-12-10 05:17:25 +03:00
Meet Gor
615cb8a5d7
changes after review 2021-12-08 13:01:08 +05:30
Mr-Destructive
943bc82819 Fixed typos in docs/guides 2021-12-08 10:39:55 +05:30
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
Luca Schlecker
18ba83ab93 add a disclaimer for users of v0.3 that #define CROW_MAIN is required.
Signed-off-by: Luca Schlecker <luca.schlecker@hotmail.com>
2021-11-21 21:39:17 +01: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
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
56b6449dca corrected AUR instructions 2021-09-30 13:27:44 +03:00
The-EDev
278540ec60 Updated site:
Added analytics via matomo (analytics hosted on my personal site), also added privacy policy page with link in footer
Updated code colors to match light theme
Added display for Crow's financial supporters on OpenCollective
Fixed Sidebar issue on narrow screens
Fixed Get crow Icons being misaligned
2021-09-30 01:49:08 +03:00
The-EDev
db18647cb3 Added updated setup instructions (kept old instructions as "legacy") 2021-09-30 01:43:50 +03:00
The-EDev
43dbad29ac Made landing page mobile-friendly 2021-08-23 21:05:41 +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
b21f3600c0 replaced outline with border because chrome doesn't round outline 2021-08-15 03:04:05 +03:00
The-EDev
239e21e3c6 fixed header icon white background 2021-08-14 01:54:10 +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
Farook Al-Sammarraie
2d65f71de8
Merge branch 'master' into blueprints 2021-07-30 13:15:44 +03:00
The-EDev
addcce9e93 small fixes, optimizations, and documentation 2021-07-30 13:09:01 +03:00
The-EDev
faebef73d2 also updated index.md and more links 2021-07-28 02:03:51 +03:00
The-EDev
6878897f0a Added logo that works in light and dark mode for github readme 2021-07-26 14:02:31 +03:00
The-EDev
5c637380a0 fixed typo in disclaimer 2021-07-23 12:00:43 +03:00
The-EDev
337f1a45f5 Updated Logo and made logo copyright clear 2021-07-23 01:17:36 +03:00
The-EDev
c5d00f784b Added disclaimer to clear any potential misconceptions between this project and the original 2021-07-22 01:10:57 +03:00
The-EDev
f95f11547e added CROW_MAIN definition to readme examples (also mkdocs index) 2021-06-28 18:56:27 +03:00
The-EDev
189e0709b1 explained CROW_JSON_NO_ERROR_CHECK 2021-06-28 13:01:12 +03:00
The-EDev
449ad7a82d added missing line to docs 2021-06-24 11:48:01 +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
Darius Tan
44abb2d327 Add vcpkg.json to download Boost, openssl and zlib. Edit docs/getting-started/setup.md to show a simple setup with example_with_all.cpp. 2021-05-23 20:58:23 +12:00
Michal Sojka
57175a5e57 Fix CROW_MAIN documentation 2021-05-18 18:29:52 +02: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