Commit Graph

86 Commits

Author SHA1 Message Date
Farook Al-Sammarraie
3e6c097733
Merge branch 'master' into #421-Websockets-should-support-a-maximum-payload 2022-05-18 20:04:38 +03:00
The-EDev
564b070d5f Made test port static and replaced REQUIRE with CHECK and if
Using port 0 seems to cause the test to be blocked
Also added methods and status codes to Crow's documentation
2022-05-18 15:57:46 +03:00
konrad
7e4f57486c Add extra log when status code is not defined.
Just to document behaviour when returning status that is
not well-known.
2022-05-18 15:57:46 +03:00
The-EDev
0f6bfb04ee
added documentation and unit test 2022-05-16 19:15:34 +03:00
The-EDev
21cdd5cac2
improved "introduced in" statements 2022-05-13 00:49:52 +03:00
The-EDev
9a736fafd8
Added mike style versioning support (clear the gh-pages branch before merging this) 2022-05-12 12:42:28 +03:00
The-EDev
d9c783ebb9
Made dark-mode images brighter 2022-05-12 12:39:40 +03:00
The-EDev
4f162a66ef
Fixed centering issue with footer and assets directory issue (used relative paths instead of absolute paths) 2022-05-12 12:37:37 +03:00
The-EDev
ee9b5cb04d implemented dark mode, added search, and permalinks 2022-05-09 21:08:02 +03:00
Vladislav Oleshko
84effa5840 Update docs 2022-05-07 12:09:22 +03:00
Vladislav Oleshko
078227a40d Unify docs page for additional middleware 2022-05-07 12:09:22 +03:00
The-EDev
177845a1a9
fixed footer copyright font issue in pages other than home 2022-04-28 18:28:34 +03:00
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