Lot of CSS fixes and added a CoC.

This commit is contained in:
Johannes Findeisen 2024-11-24 20:30:22 +01:00
commit 7e08f8b97b
11 changed files with 236 additions and 48 deletions

132
CODE_OF_CONDUCT.md Normal file
View file

@ -0,0 +1,132 @@
# Contributor Covenant Code of Conduct
## Our Pledge
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
## Our Standards
Examples of behavior that contributes to a positive environment for our
community include:
* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall
community
Examples of unacceptable behavior include:
* The use of sexualized language or imagery, and sexual attention or advances of
any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email address,
without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Enforcement Responsibilities
Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.
Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.
## Scope
This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
agafonkin@gmail.com or ivan@sanchezortega.es.
All complaints will be reviewed and investigated promptly and fairly.
All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
## Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series of
actions.
**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or permanent
ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within the
community.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
[https://www.contributor-covenant.org/translations][translations].
[homepage]: https://www.contributor-covenant.org
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations

View file

@ -17,7 +17,7 @@ tags:
- checkpassword
---
I created a small C program to authenticate against a [UNIX](https://en.wikipedia.org/wiki/Unix){:class="ext" target="_blank"}/[Pluggable authentication module (PAM)](https://en.wikipedia.org/wiki/Pluggable_authentication_module){:class="ext" target="_blank"} called [checkpw](https://git.xw3.org/xw3/checkpw){:target="_blank"}. This program is only for verifiying a user's password, that is registered in /etc/passwd using /etc/shadow, or whatever PAM is configured to use.
I created a small C program to authenticate against a [UNIX](https://en.wikipedia.org/wiki/Unix){:class="ext" target="_blank"}/[Pluggable authentication module (PAM)](https://en.wikipedia.org/wiki/Pluggable_authentication_module){:class="ext" target="_blank"} called [checkpw](https://git.xw3.org/xw3/checkpw){:class="git" target="_blank"}. This program is only for verifiying a user's password, that is registered in /etc/passwd using /etc/shadow, or whatever PAM is configured to use.
The program returns 0 on success, 1 otherwise.

View file

@ -1,16 +1,16 @@
@font-face {
font-family: 'CourierPrimeSans';
src: url('../fonts/Courier-Prime-Sans.ttf');
font-family: "CourierPrimeSans";
src: url("../fonts/Courier-Prime-Sans.ttf");
}
/*@font-face {
font-family: 'MDI';
src: url('../fonts/materialdesignicons-webfont.woff') format('woff');
font-family: "MDI";
src: url("../fonts/materialdesignicons-webfont.woff") format("woff");
}*/
@font-face {
font-family: 'MDI';
src: url('../fonts/materialdesignicons-webfont.woff2') format('woff2');
font-family: "MDI";
src: url("../fonts/materialdesignicons-webfont.woff2") format("woff2");
}
html {
@ -25,7 +25,9 @@ pre, hr, dl, dd, ol, ul, figure, span {
body {
background-color: $background-color;
//background-image: url("/images/camouflage.jpg");
background-size: cover;
//background-repeat: no-repeat;
//background-attachment: fixed;
//background-size: 100%;
color: $text-color;
font-family: $base-font-family;
font-size: $base-font-size;
@ -177,16 +179,16 @@ audio {
}
table {
border: 1px solid black;
border-collapse: collapse;
border: 0px solid black;
//border-collapse: collapse;
}
table > thead > tr {
}
table > thead > tr > th {
background: #293e58;
border: 1px solid black;
background: $tablehead-color;
border: 0px solid black;
color: white;
padding: 4px;
}
@ -200,6 +202,7 @@ table > tbody > tr:nth-child(odd) {
}
table > tbody > tr > td {
border: 0px solid black;
padding: 4px;
}

View file

@ -237,7 +237,7 @@ a.bug::after {
content: "\F0A30";
font-family: "MDI";
padding-left: 5px;
color: $brand-color-light;
color: $brand-color;
text-decoration: none;
}
@ -245,7 +245,7 @@ a.chat::after {
content: "\F0EDE";
font-family: "MDI";
padding-left: 5px;
color: $brand-color-light;
color: $brand-color;
text-decoration: none;
}
@ -253,7 +253,7 @@ a.code::after {
content: "\F102B";
font-family: "MDI";
padding-left: 5px;
color: $brand-color-light;
color: $brand-color;
text-decoration: none;
}
@ -261,7 +261,7 @@ a.cube::after {
content: "\F01A7";
font-family: "MDI";
padding-left: 5px;
color: $brand-color-light;
color: $brand-color;
text-decoration: none;
}
@ -269,7 +269,7 @@ a.document {
content: "\F09EE";
font-family: "MDI";
padding-left: 5px;
color: $brand-color-light;
color: $brand-color;
text-decoration: none;
}
@ -277,7 +277,7 @@ a.ext::after {
content: "\F03CC";
font-family: "MDI";
padding-left: 5px;
color: $brand-color-light;
color: $brand-color;
text-decoration: none;
}
@ -285,7 +285,7 @@ a.file::after {
content: "\F0224";
font-family: "MDI";
padding-left: 5px;
color: $brand-color-light;
color: $brand-color;
text-decoration: none;
}
@ -293,7 +293,7 @@ a.git::after {
content: "\F02A2";
font-family: "MDI";
padding-left: 5px;
color: $brand-color-light;
color: $brand-color;
text-decoration: none;
}
@ -301,7 +301,7 @@ a.home::after {
content: "\F06A1";
font-family: "MDI";
padding-left: 5px;
color: $brand-color-light;
color: $brand-color;
text-decoration: none;
}
@ -309,7 +309,7 @@ a.mail::after {
content: "\F01F0";
font-family: "MDI";
padding-left: 5px;
color: $brand-color-light;
color: $brand-color;
text-decoration: none;
}
@ -317,7 +317,7 @@ a.privacy::after {
content: "\F0CC8";
font-family: "MDI";
padding-left: 5px;
color: $brand-color-light;
color: $brand-color;
text-decoration: none;
}
@ -325,7 +325,7 @@ a.rss::after {
content: "\F046B";
font-family: "MDI";
padding-left: 5px;
color: $brand-color-light;
color: $brand-color;
text-decoration: none;
}
@ -333,7 +333,7 @@ a.search::after {
content: "\F0349";
font-family: "MDI";
padding-left: 5px;
color: $brand-color-light;
color: $brand-color;
text-decoration: none;
}
@ -341,7 +341,7 @@ a.user::after {
content: "\F0013";
font-family: "MDI";
padding-left: 5px;
color: $brand-color-light;
color: $brand-color;
text-decoration: none;
}
@ -349,7 +349,7 @@ a.wiki::after {
content: "\F1CCC";
font-family: "MDI";
padding-left: 5px;
color: $brand-color-light;
color: $brand-color;
text-decoration: none;
}

View file

@ -2,7 +2,7 @@
layout: page
published: true
noToc: false
noDate: true
noDate: false
title: /community/
subtitle: The place to contact the xw3 community.
permalink: /community/
@ -16,11 +16,28 @@ permalink: /community/
<p>Just click the channel name to open a web based client in your browser for instant chat.</p>
<ul>
<li><a href="https://web.libera.chat/?channel#xw3" target="_blank" class="chat">#xw3</a> - Offtopic discussion about everything.</li>
<li><a href="https://web.libera.chat/?channel#xw3-dev" target="_blank" class="chat">#xw3-dev</a> - Developer discussion about xw3.</li>
<li><a href="https://web.libera.chat/?channel#xw3-usr" target="_blank" class="chat">#xw3-usr</a> - User discussion about xw3.</li>
</ul>
<table width="100%" border="1" style="table-layout: fixed;">
<thead>
<tr>
<th style="text-align: left; width: 98px;">Channel</th>
<th style="text-align: left;">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://web.libera.chat/#xw3" target="_blank" class="chat">#xw3</a></td>
<td>Offtopic discussion about everything</td>
</tr>
<tr>
<td><a href="https://web.libera.chat/#xw3-dev" target="_blank" class="chat">#xw3-dev</a></td>
<td>Developer discussion about xw3</td>
</tr>
<tr>
<td><a href="https://web.libera.chat/#xw3-usr" target="_blank" class="chat">#xw3-usr</a></td>
<td>User discussion about xw3</td>
</tr>
</tbody>
</table>
<h2>Mailinglists</h2>
@ -30,15 +47,49 @@ permalink: /community/
<p>Simply click "Subscribe" to join a list by sending a blank email.</a>
<ul>
<li><a href="mailto:xw3@lists.xw3.org" class="mail">xw3@lists.xw3.org</a> - Offtopic discussion about everything. <a href="mailto:xw3-subscribe@lists.xw3.org" class="mail">[Subscribe]</a> <a href="mailto:xw3-unsubscribe@lists.xw3.org" class="mail">[Unsubscribe]</a></li>
<li><a href="mailto:xw3-developers@lists.xw3.org" class="mail">xw3-developers@lists.xw3.org</a> - Developer discussion about xw3. <a href="mailto:xw3-developers-subscribe@lists.xw3.org" class="mail">[Subscribe]</a> <a href="mailto:xw3-users-unsubscribe@lists.xw3.org" class="mail">[Unsubscribe]</a></li>
<li><a href="mailto:xw3-users@lists.xw3.org" class="mail">xw3-users@lists.xw3.org</a> - User discussion about xw3. <a href="mailto:xw3-users-subscribe@lists.xw3.org" class="mail">[Subscribe]</a> <a href="mailto:xw3-users-unsubscribe@lists.xw3.org" class="mail">[Unsubscribe]</a></li>
</ul>
<table width="100%" border="1">
<thead>
<tr>
<th style="text-align: left;">List</th>
<th style="text-align: left;">Description</th>
<th colspan="2">Action</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="mailto:xw3@lists.xw3.org" class="mail">xw3@lists.xw3.org</a></td>
<td>Offtopic discussion about everything</td>
<td><a href="mailto:xw3-subscribe@lists.xw3.org" class="mail">[Subscribe]</a></td>
<td><a href="mailto:xw3-unsubscribe@lists.xw3.org" class="mail">[Unsubscribe]</a></td>
</tr>
<tr>
<td><a href="mailto:xw3-announce@lists.xw3.org" class="mail">xw3-announce@lists.xw3.org</a></td>
<td>For xw3 announements</td>
<td><a href="mailto:xw3-announce-subscribe@lists.xw3.org" class="mail">[Subscribe]</a></td>
<td><a href="mailto:xw3-announce-unsubscribe@lists.xw3.org" class="mail">[Unsubscribe]</a></td>
</tr>
<tr>
<td><a href="mailto:xw3-developers@lists.xw3.org" class="mail">xw3-developers@lists.xw3.org</a></td>
<td>Developer discussion about xw3</td>
<td><a href="mailto:xw3-developers-subscribe@lists.xw3.org" class="mail">[Subscribe]</a></td>
<td><a href="mailto:xw3-developers-unsubscribe@lists.xw3.org" class="mail">[Unsubscribe]</a></td>
</tr>
<tr>
<td><a href="mailto:xw3-users@lists.xw3.org" class="mail">xw3-users@lists.xw3.org</a></td>
<td>User discussion about xw3</td>
<td><a href="mailto:xw3-users-subscribe@lists.xw3.org" class="mail">[Subscribe]</a></td>
<td><a href="mailto:xw3-users-unsubscribe@lists.xw3.org" class="mail">[Unsubscribe]</a></td>
</tr>
</tbody>
</table>
<br>
<p>You can also post to a list without a subscription, but your messages will be moderated and experience indefinite delays in delivery. And you won't receive replies if other users simply reply to the list without CCing you.</p>
<p>You can also post to a list without a subscription, but your messages will be moderated and experience indefinite delays in delivery, and you won't receive replies if other users simply reply to the list without CCing you.</p>
<h2>Mastodon</h2>
<p>We will use Mastodon for announcements in the future: <a href="https://chaos.social/@xw3" target="_blank" class="ext">https://chaos.social/@xw3</a>.</p>
<h2>Matrix</h2>

View file

@ -18,6 +18,7 @@ $grey-color: #828282;
$grey-color-light: #e8e8e8;
$grey-color-dark: #dbdbdb;
$green-color: #3ab215;
$tablehead-color: #bc6c21;
$content-width: 1024px;
$on-palm: 761px;
$on-laptop: 1024px;

View file

@ -2,6 +2,7 @@
layout: page
published: true
noToc: false
_noDate: true
title: /documentation/
subtitle: The xw3 documentation
permalink: /documentation/

BIN
images/camouflage.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 370 KiB

View file

@ -98,11 +98,11 @@ tags:
<p>We may update our Privacy Policy from time to time. Thus, we advise you to review this page periodically for any changes. We will notify you of any changes by posting the new Privacy Policy on this page. These changes are effective immediately, after they are posted on this page.</p>
<p>Our Privacy Policy was created with the help of the <a href="https://www.privacypolicygenerator.info" class="ext">Privacy Policy Generator</a>.</p>
<p>Our Privacy Policy was created with the help of the <a href="https://www.privacypolicygenerator.info" target="_blank" class="ext">Privacy Policy Generator</a>.</p>
<h2>Contact Us</h2>
<p>If you have any questions or suggestions about our Privacy Policy, do not hesitate to <a href="/contact/">contact</a> us.</p>
<p>Source: <a href="https://www.privacypolicygenerator.info/live.php?token=n1imsb71F6DxXYYzUzQ6Zmd5Wl7B4RFO" class="ext">www.privacypolicygenerator.info</a><p>
<!--<p>Source: <a href="https://www.privacypolicygenerator.info/live.php?token=n1imsb71F6DxXYYzUzQ6Zmd5Wl7B4RFO" target="_blank" class="ext">www.privacypolicygenerator.info</a><p>-->

View file

@ -2,10 +2,10 @@
layout: page
published: true
noToc: true
noDate: true
noDate: false
noComments: true
title: /projects/
_subtitle: Some projects by xw3.
subtitle: Some projects by xw3 members.
permalink: /projects/
tags:
- bin
@ -35,14 +35,14 @@ tags:
<h2>Direct subprojects</h2>
<ul>
<li><a href="https://git.xw3.org/xw3/cgi/" target="_blank">cgi</a> - The CGI from the xw3 project</li>
<li><a href="https://git.xw3.org/xw3/lib/" target="_blank">lib</a> - The libs from the xw3 project</li>
<li><a href="https://git.xw3.org/xw3/cgi/" target="_blank" class="git">cgi</a> - The CGI from the xw3 project</li>
<li><a href="https://git.xw3.org/xw3/lib/" target="_blank" class="git">lib</a> - The libs from the xw3 project</li>
</ul>
<h2>Other projects</h2>
<ul>
<li><a href="https://git.xw3.org/xw3/checkpw/" target="_blank">checkpw</a> - A program that checks the validity of a users password on a UNIX/PAM-based system</li>
<li><a href="https://git.xw3.org/xw3/checkpwrule/" target="_blank">checkpwrule</a> - A program that checks if an input string validates a password rule</li>
<li><a href="https://git.xw3.org/xw3/checkpw/" target="_blank" class="git">checkpw</a> - A program that checks the validity of a users password on a UNIX/PAM-based system</li>
<li><a href="https://git.xw3.org/xw3/checkpwrule/" target="_blank" class="git">checkpwrule</a> - A program that checks if an input string validates a password rule</li>
</ul>

View file

@ -2,7 +2,7 @@
layout: page
published: true
noToc: true
noDate: true
noDate: false
noComments: true
title: /tools/
subtitle: Some useful tools running as CGI/FastCGI