diff --git a/contributing/pr_checklist.html b/contributing/pr_checklist.html index e349f59..3f94b1e 100644 --- a/contributing/pr_checklist.html +++ b/contributing/pr_checklist.html @@ -178,6 +178,12 @@

Code-wise

Buffers should be zeroed out after usage if they contain any sensitive data.

Logs should not contain sensitive data, and should only present detailed data and error information (such as stack traces) if configured so.

+

Parsec should follow the Rust Style +Guide and Rust official +lints, both of which are enforced by the +tools mentioned in the How to test +Parsec section, on +static checks.

New functionality is properly tested.

Threat model

The threat diff --git a/contributing/release_process.html b/contributing/release_process.html index a97b837..382804b 100644 --- a/contributing/release_process.html +++ b/contributing/release_process.html @@ -278,13 +278,16 @@

Testi the creation of a new GitHub issue and will be flagged to the community for assessment as to whether it is a blocking issue for the release.

Release Expectations

-

Formal release expectations are still to be determined but all releases should follow the Parsec -Release Checklist -and enure that the new release works on a fixed set of platforms. Parsec is a public open source -project and it can be used in a variety of contexts. It is the responsibility of the system -integrator or Parsec adopter to ensure its suitability for use in any product or other context. Any -questions around specific expectations and requirements can be raised with the Parsec maintainers -through the available community channels.

+

All releases should follow the Parsec Release +Checklist and +ensure that the new release works on a fixed set of platforms. By complying with the Release +Checklist, the release should not contain any known security vulnerabilities, there should be no +added regression on the release tests and the quality requirements (coding style, best practices, +etc.) of the project should be met. Parsec is a public open source project and it can be used in a +variety of contexts. It is the responsibility of the system integrator or Parsec adopter to ensure +its suitability for use in any product or other context. Any questions around specific expectations +and requirements can be raised with the Parsec maintainers through the available community +channels.

Feature Branches

For complex features whose development is likely to go beyond the code freeze date for the next scheduled release, the use of feature branches may be appropriate, and this can be agreed between diff --git a/css/general.css b/css/general.css index 344b53e..a6db680 100644 --- a/css/general.css +++ b/css/general.css @@ -5,6 +5,7 @@ :root { /* Browser default font-size is 16px, this way 1 rem = 10px */ font-size: 62.5%; + color-scheme: var(--color-scheme); } html { diff --git a/css/print.css b/css/print.css index 5e690f7..27d05e9 100644 --- a/css/print.css +++ b/css/print.css @@ -22,14 +22,6 @@ overflow-y: initial; } -code { - background-color: #666666; - border-radius: 5px; - - /* Force background to be printed in Chrome */ - -webkit-print-color-adjust: exact; -} - pre > .buttons { z-index: 2; } diff --git a/css/variables.css b/css/variables.css index 21bf8e5..59fcda8 100644 --- a/css/variables.css +++ b/css/variables.css @@ -50,6 +50,8 @@ --searchresults-border-color: #888; --searchresults-li-bg: #252932; --search-mark-bg: #e3b171; + + --color-scheme: dark; } .coal { @@ -90,6 +92,8 @@ --searchresults-border-color: #98a3ad; --searchresults-li-bg: #2b2b2f; --search-mark-bg: #355c7d; + + --color-scheme: dark; } .light { @@ -130,6 +134,8 @@ --searchresults-border-color: #888; --searchresults-li-bg: #e4f2fe; --search-mark-bg: #a2cff5; + + --color-scheme: light; } .navy { @@ -170,6 +176,8 @@ --searchresults-border-color: #5c5c68; --searchresults-li-bg: #242430; --search-mark-bg: #a2cff5; + + --color-scheme: dark; } .rust { @@ -210,6 +218,8 @@ --searchresults-border-color: #888; --searchresults-li-bg: #dec2a2; --search-mark-bg: #e69f67; + + --color-scheme: light; } @media (prefers-color-scheme: dark) { diff --git a/parsec_service/tests/index.html b/parsec_service/tests/index.html index 9d8c825..d99fcf5 100644 --- a/parsec_service/tests/index.html +++ b/parsec_service/tests/index.html @@ -179,10 +179,10 @@

How to

The stress test simply constructs and sends random requests as fast as possible using a multithreaded client. Valid requests are sent intermittently so as to check that the service is still up and working correctly.

-

The ci.sh script executes all tests and is used on the CI. -rustfmt and -clippy are needed for code formatting and static -checks.

+

The ci.sh script executes all tests and is used on the CI.

+

Parsec's code style is enforced by rustfmt and +clippy, which are needed for code formatting and +static lint checks respectively. A documentation style is also enforced by cargo test --doc.

You can see a (partial) code coverage figure here