about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorgbmor <ahriman@falte.red>2020-05-14 22:18:09 -0400
committergbmor <ahriman@falte.red>2020-05-14 22:18:09 -0400
commit3b71a872fa7d1e41315994d11e09561b0eec0df2 (patch)
tree1feebae7970d37d9bc0cf184283e03684ddd20e4
parent1b2036544740dac04656cc2c89793e71f791443a (diff)
downloadsite-3b71a872fa7d1e41315994d11e09561b0eec0df2.tar.gz
added faq page
-rwxr-xr-xfaq.php59
-rw-r--r--header.html3
-rwxr-xr-xindex.php8
-rw-r--r--tilde.css21
4 files changed, 84 insertions, 7 deletions
diff --git a/faq.php b/faq.php
new file mode 100755
index 0000000..3e0f044
--- /dev/null
+++ b/faq.php
@@ -0,0 +1,59 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1" />
+    <title>tilde.institute :: Sign Up</title>
+    <link rel="stylesheet" href="tilde.css" type="text/css" />
+    <link rel="icon" type="image/png" href="icon.png" />
+</head>
+
+<body>
+    <div id="container">
+        <?php include("header.html"); ?>
+	<div id="content" class="faq">
+		<h1>FAQ</h1>
+
+		<p class="q">How do I change my interactive shell?</p>
+		<p>Once you've logged in, check the path for your desired shell with</p>
+		<div class="code">$ which fish</div>
+		<p>Replacing <code>fish</code> with the the shell you want. In this case, the path will be <code>/usr/local/bin/fish</code>
+			Now, run:</p>
+		<div class="code">$ EDITOR=nano chsh</div>
+		<p>Change the <code>Shell</code> line to read:</p>
+		<div class="code">Shell: /usr/local/bin/fish</div>
+		<p>Save and exit. You'll need to log out then back in.</p>
+
+		<p class="q">How do I change the index page of my site?</p>
+		<p>Because of the way <code>httpd(8)</code> is set up, you'll need to ask in <code>#institute</code> or send an email to <code>admins@tilde.institute</code></p>
+
+		<p class="q">Can you install this package for me?</p>
+		<p>As long as it's in the OpenBSD ports tree, and doesn't facilitate any potentially malicious behavior (like <code>nmap</code>),
+			then it's probably not a big deal. Either hop on IRC and ask in <code>#institute</code> or send an email to <code>admins@tilde.institute</code></p>
+
+		<p class="q">How do I authenticate with SMTP remotely?</p>
+		<p>Only local access to SMTP is allowed. However, you can use an SSH tunnel on your machine to send mail.</p>
+		<div class="code">ssh -nNTL 25:localhost:25 tilde.institute</div>
+		<p>You won't need to supply a username or password when sending mail via <code>localhost:25</code> this way, since you're already authenticated via SSH.</p>
+
+		<p class="q">Can you whitelist a port for me in the firewall?</p>
+		<p>Sorry, but this presents too much of a security risk on a public-access system. If you'd like, feel free to run something locally. If you want to
+			use it remotely, an ssh tunnel will work.</p>
+
+		<p class="q">Are user services allowed?</p>
+		<p>Generally, yes. If you're running something that's using a ton of resources or in some way affecting other users or the general use of the system,
+			then we'll kill it. Just be aware of what you're running and how it may affect the system and other users.</p>
+
+		<p class="q">Are IRC bots allowed?</p>
+		<p>To a degree. There are restrictions on their use on the <code>tilde.chat</code> IRC network. They should not reside in <code>#meta</code>, instead keep
+			them in a private channel or in <code>#bots</code>. Bots must also conform to the <a href="https://tildegit.org/tildeverse/rfcs/src/branch/master/rfcs/rfc2.md">bot guidelines listed here</a>.</p>
+		<p>Don't run <code>eggdrop</code> from tilde.institute. There are legitimate uses for <code>eggdrop</code>, but separating the people with some kind
+			of legitimate use from malicious users is tiring. So, no <code>eggdrop</code>.</p>
+		<br />
+		<br />
+        </div>
+    </div>
+</body>
+
+</html>
diff --git a/header.html b/header.html
index 18214aa..3b4b93d 100644
--- a/header.html
+++ b/header.html
@@ -14,6 +14,9 @@
             <td>
                 <a href="http://tilde.institute">News</a>
             </td>
+	    <td>
+		<a href="/faq">FAQ</a>
+	    </td>
             <td>
                 <a href="/signup">Sign Up</a>
             </td>
diff --git a/index.php b/index.php
index dbe10d9..deb1fd9 100755
--- a/index.php
+++ b/index.php
@@ -101,7 +101,7 @@
 		<li><code>tinyscheme 1.41</code></li>
                 <li><code>yasm 1.3.0</code></li>
             </ul>
-            <p>Your interactive shell can be changed with the <code>chsh</code> command. Available are:</p>
+            <p>The interactive shells available are:</p>
             <ul>
                 <li><code>/bin/ksh (default)</code></li>
                 <li><code>/bin/sh</code></li>
@@ -113,10 +113,8 @@
                 <li><code>/usr/local/bin/tcsh</code></li>
                 <li><code>/usr/local/bin/elvish</code></li>
             </ul>
-            <p>Feel free to contact the admins via <a href="mailto:admins@tilde.institute">admins@tilde.institute</a> or
-                on IRC in <code>#institute</code> if you need another package installed, or if you would like your
-                homepage's index changed from <code>index.html</code> to something else (<code>index.cgi</code>,
-                <code>index.php</code>, etc).</p>
+		<br />
+		<br />
         </div>
         <div id="news">
             <?php include("newsdata.html"); ?>
diff --git a/tilde.css b/tilde.css
index 1c1ccc5..74dca59 100644
--- a/tilde.css
+++ b/tilde.css
@@ -65,6 +65,25 @@ body {
     max-width: 500px;
     margin: 0 auto;
 }
+.faq {
+    width: 75%;
+}
+.faq .q {
+    margin-top: 3rem;
+    font-weight: bold;
+    text-decoration: italic;
+    text-indent: 0rem;
+    font-size: 1.2em;
+}
+.faq p {
+    text-indent: 2rem;
+}
+.faq h1 {
+    font-size: 1.75em;
+    text-align: center;
+    margin-top: 3rem;
+    margin-bottom: -1.5rem;
+}
 a:link {
     text-decoration: underline;
     color:#ffffff;
@@ -96,8 +115,6 @@ em {
 h1 {
     font-size: 1.75em;
     text-align: center;
-    margin-left: auto;
-    margin-right: auto;
 }
 h2 {
     font-size: 1.4em;