Merge branch 'main' into dev

dev
gravel 2 years ago
commit 931c0ee012
Signed by: gravel
GPG Key ID: C0538F3C906B308F

@ -10,13 +10,13 @@ list:
grep "^[^[:space:]]*:" Makefile --before-context=1 --group-separator=""
## Using make dependencies is duplicating behaviour but reads better.
# /bin/php php/update-listing.php
# /bin/php php/update-all.php
# Refresh listing and generate HTML.
sco: fetch html
# Refresh listing, generate HTML and update listing provider.
all:
/bin/php php/update-listing.php $(FLAGS)
/bin/php php/update-all.php $(FLAGS)
# Fetch room listing.
fetch:

@ -8,3 +8,7 @@
expires 60m;
# add_header Cache-Control "max-age=3600";
}
location ~* ^/(about|privacy|donate|instructions)\.html$ {
rewrite (.*)\.html$ $1 permanent;
}

@ -5,4 +5,4 @@ Description=Scrape every known source for Session Communities and put the data t
[Service]
WorkingDirectory=/home/session/sessioncommunities.online
User=session
ExecStart=/usr/bin/php php/update-listing.php
ExecStart=/usr/bin/php php/update-all.php

@ -12,7 +12,7 @@
<p>
This domain isn't meant to be accessed via a browser,
but to provide lists of Communities to <a href="https://getsession.org/" target="_blank">Session Messenger</a>,
and looks something <a href="./listings" target="_blank">like this</a> or <a href="./listing/oxen" target="_blank">this</a>.
and looks something <a href="/listings" target="_blank">like this</a> or <a href="/listing/oxen" target="_blank">this</a>.
</p>
<p>
If that doesn't faze you, click these links to read more about what this service does:

@ -512,7 +512,7 @@ footer nav:first-of-type {
.footer__nav-target {
display: inline-block;
padding: .75em .25em;
padding: .75em .5em;
margin-inline: .1em;
margin-block: .1em;
min-width: 3em;

@ -8,13 +8,13 @@
</p>
<nav id="about-us">
<a
href="./about"
href="/about"
class="footer__nav-target"
target="_blank"
title="About sessioncommunities.online"
>About</a
><a
href="./privacy"
href="/privacy"
class="footer__nav-target"
target="_blank"
title="Read sessioncommunities.online's Privacy Policy."
@ -38,7 +38,7 @@
title="Visit the index page of our Session Listing Provider API."
>API</a
><a
href="./donate"
href="/donate"
class="footer__nav-target"
target="_blank"
title="Support sessioncommunities.online"
@ -50,7 +50,7 @@
title="Read our recommendations for Open Group operators"
>Host a Community?</a
><a
href="./about#contact-us"
href="/about#contact-us"
class="footer__nav-target"
target="_blank"
title="Information on how to contact the maintainer(s) of sessioncommunities.online"

@ -10,5 +10,5 @@
?>form-action 'none'; base-uri 'self'; <?php
?>"
>
<link rel="apple-touch-icon" href="./apple-touch-icon.png">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<meta name="robots" content="index, follow">

@ -19,7 +19,7 @@
<meta property="og:url" content="<?=$SITE_CANONICAL_URL?>/about">
</head>
<body>
<h1 id="self-updating-list-of-session-communities"><a href="./" title="Visit sessioncommunities.online">Session Community List</a> — About</h1>
<h1 id="self-updating-list-of-session-communities"><a href="/" title="Visit sessioncommunities.online">Session Community List</a> — About</h1>
<h2 id="what-is-session-">What is Session?</h2>
<p><a href="https://getsession.org/">Session</a> is a private messaging app that protects your meta-data,
encrypts your communications, and makes sure your messaging activities

@ -35,10 +35,10 @@
<?php include "+components/page-head.php" ?>
<link rel="canonical" href="<?=$SITE_CANONICAL_URL?>/">
<link rel="stylesheet" href="./index.css">
<script type="module" src="./main.js"></script>
<link rel="modulepreload" href="js/util.js">
<link rel="help" href="./instructions">
<link rel="stylesheet" href="/index.css">
<script type="module" src="/main.js"></script>
<link rel="modulepreload" href="/js/util.js">
<link rel="help" href="/instructions">
<title>Session Communities — sessioncommunities.online</title>
<meta name="description" content="Public Session Group list updated daily! <?php
?>Click here to join your favorite Community in Session Messenger. <?php
@ -134,14 +134,14 @@
<a href="https://getsession.org/" rel="follow external">Session</a>
is a private messaging app that protects your meta-data,
encrypts your communications, and makes sure your messaging activities
leave no digital trail behind. <a href="./about">Read more.</a>
leave no digital trail behind. <a href="/about">Read more.</a>
</p>
<input type="checkbox" id="carousel-1b" name="carousel-1" class="carousel-trigger"/>
<h2 class="carousel-label footer__h2"><label for="carousel-1b">What are Session Communities?</label></h2>
<p class="carousel-target">
Session Communities are public chatrooms accessible from within Session Messenger.
This web project crawls known sources of Session Communities, and
displays information about them as a static HTML page. <a href="./about">Read more.</a>
displays information about them as a static HTML page. <a href="/about">Read more.</a>
</p>
<p id="disclaimer">
Session Communities shown on this list are fetched automatically from

@ -101,7 +101,7 @@
<h2>Cookies</h2>
<p>We don't use 'em. <a href="./donate" style="text-decoration: inherit; color: inherit;">🍪</a></p>
<p>We don't use 'em. <a href="/donate" style="text-decoration: inherit; color: inherit;">🍪</a></p>
<h2>So, you scrolled all the way down here.</h2>

Loading…
Cancel
Save