feat: switched over to using markdown
All checks were successful
Build / build (push) Successful in 1m2s
Build / deploy (push) Successful in 13s

This commit is contained in:
silver 2024-08-12 19:22:22 +01:00
parent 98dc954587
commit d294ae428b
28 changed files with 1934 additions and 598 deletions

23
.md.toml Normal file
View file

@ -0,0 +1,23 @@
html_void = ["area", "base", "br", "col", "command", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]
dont_copy_paths = [
# "./src/templates"
]
src = "./src"
dest = "./build"
[template]
enable = true
order = [
{ type = "Powerpoint", path = "./src/templates/powerpoint.html" },
{ type = "Adjacent" },
{ type = "AdjacentFolder" },
{ type = "RootFolder", path = "./src/templates/folder.html" },
# path to the templates' folder,
{ type = "Root", path = "./src/templates" },
{ type = "General", path = "./src/templates/general.html" },
{ type = "Default" },
]
[indexing]
roots = ["wiki"]
render_drafts = false

View file

@ -7,11 +7,11 @@
"utils": "utils"
},
"locked": {
"lastModified": 1723391194,
"narHash": "sha256-04UThV4LZNRHg/+GbEl7M2ginWbm8FrQ5jBVmYcroNg=",
"lastModified": 1723427350,
"narHash": "sha256-iSwiK87kEBOIN2Sh7WnbYMCLaLXmrgLrhrz8sSwIoMg=",
"owner": "silver_rust",
"repo": "bfom",
"rev": "fffd69b6433a2d2fd359b92e3816ae9938b3e99c",
"rev": "3b7547144dced3a42a65d589158fca5b89938fcc",
"type": "gitlab"
},
"original": {

View file

@ -14,14 +14,18 @@
defaultPackage = pkgs.stdenv.mkDerivation {
name = "skynet-website-renew";
src = self;
installPhase = "mkdir -p $out; cp -R src/* $out";
buildPhase = "${bfom.defaultPackage."${system}"}/bin/cargo-bfom";
installPhase = "mkdir -p $out; cp -R build/* $out";
};
devShells.x86_64-linux.default = pkgs.mkShell {
devShells."${system}".default = pkgs.mkShell {
name = "Skynet Wiki env";
nativeBuildInputs = [
bfom.defaultPackage.x86_64-linux
bfom.defaultPackage."${system}"
];
buildInputs = [
bfom.defaultPackage."${system}"
];
};
}
);

View file

@ -1,34 +0,0 @@
<!DOCTYPE html>
<html lang="en-ie">
<head>
<meta charset="UTF-8"/>
<title>Skynet Wiki</title>
<link href="./images/favicon/favicon-16x16.png" rel="icon" type="image/png"/>
<link href="./main.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="wrapper">
<header class="page-header">
<img alt="Sharky, our mascot" height="81.56" src="./images/sharky.svg" width="145"/>
<h1>Skynet Wiki</h1>
</header>
<main class="page-body">
<h2>Useful wiki pages</h2>
<p>
Below you will find several useful pages related to Compsoc and Skynet accounts.
</p>
<ul>
<li><a href="./renew" target="_blank">Alumni Renewal</a></li>
<li><a href="./migration" target="_blank">UL Wolves account migration</a></li>
<li><a href="./recovery" target="_blank">Skynet account recovery</a></li>
</ul>
</main>
<footer class="page-footer">
UL Computer Society 2020-<span id="year">2023</span>
<script>
document.getElementById('year').textContent = new Date().getFullYear().toString()
</script>
</footer>
</div>
</body>
</html>

View file

@ -1,99 +0,0 @@
html {
background: #008B8B url(./images/backgroundsharkycoin.png);
-webkit-font-smoothing: antialiased;
}
body {
text-align: left;
background: #008B8B;
box-shadow: 0 0 2px rgba(0, 0, 0, 0.06);
color: #F0FFFF;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 1.5;
margin: 0 auto;
max-width: 800px;
padding: 2em 2em 1em;
}
h1, h2 {
color: #F0FFFF;
font-weight: 600;
line-height: 1.3;
}
.p1 {
color: #FFFF00
}
/* Title bar */
header {
display: inline-flex;
align-items: center;
justify-content: center;
height: auto;
}
header img {
float: left;
}
.boxes {
display: -moz-flex;
background-color: #008B8B;
margin-left: 20%;
margin-right: 20%;
margin-bottom: 3%;
}
#table {
display: inline;
}
/*
Sticky Footer
https://developer.mozilla.org/en-US/docs/Web/CSS/Layout_cookbook/Sticky_footers
*/
html, body {
box-sizing: border-box;
min-height: 100%;
}
.wrapper {
box-sizing: border-box;
min-height: 100%;
display: flex;
flex-direction: column;
}
.page-header, .page-footer {
flex-grow: 0;
flex-shrink: 0;
}
.page-body {
flex-grow: 1;
background-color: #008B8B;
}
/*
Spacing in lists
*/
li p {
margin: 0;
}
/*This page only*/
.p1 {
color: #FFFF00
}
img {
animation: colorize 2s cubic-bezier(0, 0, .78, .36) 1;
background: transparent;
display: block;
margin: 1.3em auto;
max-width: 95%;
}

View file

@ -1,60 +0,0 @@
<!DOCTYPE html>
<html lang="en-ie">
<head>
<meta charset="UTF-8"/>
<title>Wolves Account Migration</title>
<link href="../images/favicon/favicon-16x16.png" rel="icon" type="image/png"/>
<link href="../main.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="wrapper">
<header class="page-header">
<img alt="Sharky, our mascot" height="81.56" src="../images/sharky.svg" width="145"/>
<h1>Wolves Account Migration</h1>
</header>
<main class="page-body">
<p>
In order to keep the same Wolves account a few simple steps must be followed to migrate it away from your studentmail.
<br />
This is especially important if you have a Skynet account linked with your wolves account.
</p>
<h2 class="p1">Important: this must be completed while you still have access to your studentmail.</h2>
<ol>
<li>
Go to the Wolves account page: <a href="https://ulwolves.ie/memberships/profile" target="_blank" rel="noopener">https://ulwolves.ie/memberships/profile</a>
</li>
<li>
<p>
Change your <code>Preferred Contact Email</code> to your personal address.
<br />
<img src="./img.png" alt="Set Preferred Contact Email">
</p>
</li>
<li>
<p>
In the <code>Login Email</code> section (pictured) click on the Red Incorrect button and change to your personal address.
<br />
<img src="./img_1.png" alt="Change Login Email">
</p>
</li>
<li>
<p>
In the popup enter in your personal address and set the reason to be something like <code>Alumni</code>
<br />
<img src="./img_2.png" alt="Change Login Email and Reason">
</p>
</li>
<li>
You are done, the office will update the details shortly.
</li>
</ol>
</main>
<footer class="page-footer">
UL Computer Society 2020-<span id="year">2024</span>
<script>
document.getElementById('year').textContent = new Date().getFullYear().toString()
</script>
</footer>
</div>
</body>
</html>

View file

@ -1,277 +0,0 @@
<!DOCTYPE html>
<html lang="en-ie">
<head>
<meta charset="UTF-8"/>
<title>Skynet Alumni Renewal</title>
<link href="../images/favicon/favicon-16x16.png" rel="icon" type="image/png"/>
<link href="../main.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="wrapper">
<header class="page-header">
<img alt="Sharky, our mascot" height="81.56" src="../images/sharky.svg" width="145"/>
<h1>Skynet Account Recovery</h1>
</header>
<main class="page-body">
<h1>Jan 2023 Downtime & Account Recovery</h1>
<p>
In Jan 2023 we had extended downtime, for more information checkout <a href="https://public.skynet.ie/postmortem/2023-01-12_Loss-of-network-access.html" target="_blank" rel="noopener">this link.</a>
<br/>
The next section will outline the changes that have been made in the last year while the subsequent one will deal with Account Recovery.
</p>
<h2>Service Changes</h2>
<p>
As a result of the upgrade/migration/downtime there have been several changes to services.
<br/>
Some of these are due to security requirements, others are due to some old software being difficult to source, some are because we have worked with UL Wolves to create a new API to automate many processes.
</p>
<h4>Additions:</h4>
<ul>
<li>
<p>
Account self management page: <a href="https://account.skynet.ie" target="_blank" rel="noopener">https://account.skynet.ie</a>
<br/>
This allows new members to sign up, existing members to change account details (password, contact email, ssh keys), and for password resets.
</p>
</li>
<li>
<p>
<a href="https://gitlab.skynet.ie" target="_blank" rel="noopener">https://gitlab.skynet.ie</a>
<br/>
Our own Gitlab instance with runners, the cluster config and pipelines are <a href="https://gitlab.skynet.ie/compsoc1/skynet/nixos" target="_blank" rel="noopener">here</a>.
<br/>
User: <code>$username</code>
<br/>
Pass: <code>$password</code>
</p>
</li>
<li>
<p>
<a href="https://nextcloud.skynet.ie/" target="_blank" rel="noopener">https://nextcloud.skynet.ie/</a>
<br/>
A replacement for Google Drive, has Open Office, maps and a good email suite.
<br/>
User: <code>$username</code> or <code>$username@skynet.ie</code>
<br/>
Pass: <code>$password</code>
</p>
</li>
<li>
<p>
A <a href="https://gitlab.skynet.ie/compsoc1/skynet/discord-bot" target="_blank" rel="noopener">Discord Bot</a> to manage the roles of members in our <a href="https://discord.skynet.ie" target="_blank" rel="noopener">Discord</a>
</p>
</li>
</ul>
<h4>Changes:</h4>
<ul>
<li>
<p>
Usernames have been converted to comply with modern linux standards.
<br />
Usernames with uppercase have been converted to lowercase.
<br />
Usernames starting with a number have been prefixed by a <code>_</code>
</p>
<ul>
<li>
<code>UserName</code> is now <code>username</code>.
</li>
<li>
<code>0username</code> is now <code>_0username</code>.
</li>
</ul>
</li>
<li>
<p>
Webmail is now available at <a href="https://mail.skynet.ie" target="_blank" rel="noopener">https://mail.skynet.ie</a>
<br/>
Still roundcube which should be familiar.
<br/>
User: <code>$username@skynet.ie</code>
<br/>
Pass: <code>$password</code>
</p>
</li>
<li>
<p>
For Thunderbird use these:
<br/>
User: <code>$username@skynet.ie</code>
<br/>
Pass: <code>$password</code>
</p>
</li>
<li>
SSH now requires an ssh key (can be set in the account page above)
</li>
<li>
SSH access is now on <code>skynet.skynet.ie</code>
</li>
<li>
<p>
Personal sites are now accessible as <code>$username.users.skynet.ie</code> (new format) as opposed to <code>skynet.ie/~$username</code> (old format)
<br/>
Any old format links will redirect to the new format for compatability.
<br/>
This gives us separation from the core Skynet site.
</p>
</li>
<li>
Old home data can be found in <code>/skynet_old/home/$username</code>
</li>
<li>
Old emails (prior to 2023-01-12) can be found in the <code>skynet_old</code> folder in your mail account.
</li>
</ul>
<h4>Email Aliases:</h4>
<ul>
<li>
We are currently working on associating aliases with the Skynet account they are for.
</li>
<li>
This creates a separate mail account that shares the same password as the base Skynet account.
</li>
<li>
If you believe an alias is missing please get in contact with us (Details are below)
</li>
<li>
Currently, no new aliases are planned, but this may change in the future.
</li>
</ul>
<h4>Removals:</h4>
<ul>
<li>
Lifetime and 10 year memberships ceased to exist in 2019.
</li>
<li>
Email terminal clients are no longer available.
</li>
</ul>
<h2>Account Recovery</h2>
<p class="p1">
Reminder:
<br />
To hold a Skynet account you must be a current member of the UL Computer society.
<br/>
This is done through UL Wolves (<a href="https://ulwolves.ie" target="_blank" rel="noopener">https://ulwolves.ie</a>).
<br/>
There are no exceptions to this.
</p>
<p>
There are 5 possible workflows for getting back up and running again:
</p>
<ol>
<li>
You know your Skynet <code>user/pass</code> and your UL Wolves <code>user/pass</code>.
</li>
<li>
You know your Skynet <code>user/pass</code> but not your UL Wolves <code>user/pass</code>.
</li>
<li>
You know your Skynet <code>user/pass</code> but do not have a UL Wolves account.
</li>
<li>
You know your UL Wolves <code>user/pass</code> but not your Skynet <code>user/pass</code>.
</li>
<li>
You do not know your Skynet <code>user/pass</code> and your UL Wolves <code>user/pass</code>.
</li>
</ol>
<h4>You do not know your UL Wolves <code>user/pass</code></h4>
<ul>
<li>
If you signed up with a non UL/Skynet account there is a password reset process: <a href="https://ulwolves.ie/login/help" target="_blank" rel="noopener">https://ulwolves.ie/login/help</a>
</li>
<li>
If you forgot your UL Wolves username Contact Us (see below) and we may be able to inform you what username(s) you had used.
</li>
<li>
If you forgot your UL Wolves password and your UL Wolves username was a <code>@skynet.ie</code> email then follow steps below to create a new account.
</li>
</ul>
<h4>You do not have a UL Wolves account.</h4>
<ol>
<li>
Follow steps 1-6 on <a href="https://renew.skynet.ie" target="_blank" rel="noopener">https://renew.skynet.ie</a>
</li>
</ol>
<h4>You know your UL Wolves <code>user/pass</code></h4>
<ol>
<li>
<p>
On our Society page (<a href="https://ulwolves.ie/society/computer" target="_blank" rel="noopener">https://ulwolves.ie/society/computer</a>) Request Membership
<br/>
(steps 7-8 on <a href="https://renew.skynet.ie" target="_blank" rel="noopener">https://renew.skynet.ie</a>)
</p>
</li>
<li>
<p>
Either pay €10 for 1 year online (we can approve instantly once we see the request).
<br/>
Or pay €40 for 5 years following steps 9-11 on <a href="https://renew.skynet.ie" target="_blank" rel="noopener">https://renew.skynet.ie</a>.
<br/>
(May take a little while to verify with the bank account.)
</p>
</li>
<li>
Go to the account page: <a href="https://ulwolves.ie/memberships/profile" target="_blank" rel="noopener">https://ulwolves.ie/memberships/profile</a>
</li>
<li>
For the <code>Preferred Contact Email</code> set a <b>NON-Skynet</b> Email
</li>
</ol>
<h4>You know your Skynet <code>user/pass</code></h4>
<ol>
<li>
Go to <a href="https://account.skynet.ie/modify" target="_blank" rel="noopener">https://account.skynet.ie/modify</a>
</li>
<li>
Set the <code>Email</code> to be the <code>Preferred Contact Email</code> from wolves
</li>
<li>
If you want to ssh in also set an ssh key.
</li>
</ol>
<h4>You do not know your Skynet <code>user/pass</code></h4>
<ul>
<li>
Get in contact with us and we will see what we can do.
<br/>
We have a few methods that may be able to link your Skynet account with an address you currently possess.
</li>
</ul>
<h4>Contact us</h4>
<ul>
<li>
Email: compsoc@skynet.ie
</li>
<li>
Discord: ping @committee on <a href="https://discord.skynet.ie">our discord</a> (there is a <code>#help-and-support</code> channel).
</li>
</ul>
</main>
<footer class="page-footer">
UL Computer Society 2020-<span id="year">2023</span>
<script>
document.getElementById('year').textContent = new Date().getFullYear().toString()
</script>
</footer>
</div>
</body>
</html>

View file

@ -1,122 +0,0 @@
<!DOCTYPE html>
<html lang="en-ie">
<head>
<meta charset="UTF-8"/>
<title>Skynet Alumni Renewal</title>
<link href="../images/favicon/favicon-16x16.png" rel="icon" type="image/png"/>
<link href="../main.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="wrapper">
<header class="page-header">
<img alt="Sharky, our mascot" height="81.56" src="../images/sharky.svg" width="145"/>
<h1>Skynet Alumni Renewal</h1>
</header>
<main class="page-body">
<h1>How to renew your Skynet membership!</h1>
<h2>Dear Alumnus; welcome,</h2>
<p>
Thank you for all your continued support throughout the years.
Your contribution and the contribution of many others have made it possible for us to buy more
servers which we use to give you the best service we can.
With our new servers, we hope to improve the quality for our users and have less downtime.
<p>
You can now purchase a 5-year subscription for €40.
This subscription is for a multi-year limited alumni membership of the Computer Society (This type
of membership does not entitle you to society subsidies or places on trips).
You must hold a Computer Society membership in order to hold a Skynet account.
</p>
<p>
If there has been no payment made passed the point of expiration on your membership,
your Skynet account will freeze.
You must pay for membership to unfreeze your account.
</p>
<p>
Below are instructions on how to renew your subscription.
Until you make both an account and pay membership, you will not have renewed your subscription.
Once you have completed the steps below, you will have renewed your subscription and will be issued
a receipt.
</p>
<p>
When requesting membership, you have the option to pay online or pay cash.
If you are paying online you can only pay for one year's membership.
</p>
<h5 class="p1">IMPORTANT!!</h5>
<p class="p1">
If you are looking to avail of the 5-year membership it is important to note that you can no
longer pay for this on the Ul wolves site.
Please select the pay with cash option and transfer the multi-year fee to the bank account shown
below.
</p>
<p class="p1">
Also please note that you do not need a UL student E-mail address to sign up!
</p>
<h1>Steps</h1>
<ol>
<li>
Go to <a href="https://ulwolves.ie/">ULWolves.ie</a>
<img src="./images/renew1.jpg" alt="UL wolves site">
</li>
<li>
Enter your email address and click Log In/Register
</li>
<li>
Select the appropriate option (UL Alumni Member)
<img src="./images/renew2.png" alt="Account type Section">
</li>
<li>
Fill in your personal information on the next page.
</li>
<li>
Verify your email address
<img src="./images/renew3.png" alt="Verification Email">
</li>
<li>
Log back in
<img src="./images/renew4.png" alt="Sign in">
</li>
<li>
Scroll to find Computer under the Societies section
<img src="./images/renew5.jpg" alt="Societies section">
</li>
<li>
Click Request Membership
<img src="./images/renew6.jpg" alt="Request Membership">
</li>
<li>
Fill out details. When asked to pay online or pay in cash, </b>select pay online for 1 year membership.</b><br></br>
<b>Select PAY CASH/OTHER for 5 year membership. </b>Note it will say it will expire in one year but upon transfer of the money to our account it will be accepted as a 5 year membership.
<img src="./images/renew7.png" alt="PAY BY CASH">
</li>
<li>
Transfer €40 to our bank account:
<br/>
BIC: <b>BOFIIE2D</b>
<br/>
IBAN: <b>IBANIE31BOFI90595047627767</b>
<br/>
Please put your name in the reference.
<br/>
If you are having trouble with this or want to arrange another payment method, get in touch.
</li>
<li>
Email the accounts team (compsoc@skynet.ie) with:
<ul>
<li>The name on the UL Wolves account you created</li>
<li>Skynet username</li>
<li>The reference on the bank transfer.</li>
</ul>
You may want to ping @committee on <a href="https://discord.skynet.ie">our discord</a>.
</li>
</ol>
</main>
<footer class="page-footer">
UL Computer Society 2020-<span id="year">2023</span>
<script>
document.getElementById('year').textContent = new Date().getFullYear().toString()
</script>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="en-ie">
<head>
<title>{title}</title>
<link href="../images/favicon/favicon-16x16.png" rel="icon" type="image/png"/>
<link href="../../images/favicon/favicon-16x16.png" rel="icon" type="image/png"/>
<link href="../templates/index.css" rel="stylesheet" type="text/css"/>
<link href="../../templates/index.css" rel="stylesheet" type="text/css"/>
<!-- for code formatting -->
<link rel="stylesheet" href="../templates/hybrid.min.css">
<link rel="stylesheet" href="../../templates/hybrid.min.css">
<script src="../templates/highlight.min.js"></script>
<script src="../../templates/highlight.min.js"></script>
<script>hljs.highlightAll()</script>
</head>
<body>
<div class="wrapper">
<header class="page-header"></header>
<main class="page-body">
{body}
</main>
<footer class="page-footer">
UL Computer Society 2023-<span id="year">2023</span>
<script>
document.getElementById('year').textContent = new Date().getFullYear().toString()
</script>
</footer>
</div>
</body>
</html>

1366
src/templates/highlight.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
src/templates/hybrid.min.css vendored Normal file
View file

@ -0,0 +1 @@
pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#1d1f21;color:#c5c8c6}.hljs span::selection,.hljs::selection{background:#373b41}.hljs span::-moz-selection,.hljs::-moz-selection{background:#373b41}.hljs-name,.hljs-title{color:#f0c674}.hljs-comment,.hljs-meta,.hljs-meta .hljs-keyword{color:#707880}.hljs-deletion,.hljs-link,.hljs-literal,.hljs-number,.hljs-symbol{color:#c66}.hljs-addition,.hljs-doctag,.hljs-regexp,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-string{color:#b5bd68}.hljs-attribute,.hljs-code,.hljs-selector-id{color:#b294bb}.hljs-bullet,.hljs-keyword,.hljs-selector-tag,.hljs-tag{color:#81a2be}.hljs-subst,.hljs-template-tag,.hljs-template-variable,.hljs-variable{color:#8abeb7}.hljs-built_in,.hljs-quote,.hljs-section,.hljs-selector-class,.hljs-type{color:#de935f}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}

100
src/templates/index.css Normal file
View file

@ -0,0 +1,100 @@
html {
background: #008B8B url(../images/backgroundsharkycoin.png);
-webkit-font-smoothing: antialiased;
}
body {
text-align: left;
background: #008B8B;
box-shadow: 0 0 2px rgba(0, 0, 0, 0.06);
color: #F0FFFF;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 1.5;
margin: 0 auto;
max-width: 800px;
padding: 2em 2em 1em;
}
h1, h2 {
color: #F0FFFF;
font-weight: 600;
line-height: 1.3;
}
.p1 {
color: #FFFF00
}
/* Title bar */
header {
display: inline-flex;
align-items: center;
justify-content: center;
height: auto;
}
header img {
float: left;
}
.boxes {
display: -moz-flex;
background-color: #008B8B;
margin-left: 20%;
margin-right: 20%;
margin-bottom: 3%;
}
#table {
display: inline;
}
/*
Sticky Footer
https://developer.mozilla.org/en-US/docs/Web/CSS/Layout_cookbook/Sticky_footers
*/
html, body {
box-sizing: border-box;
min-height: 100%;
}
.wrapper {
box-sizing: border-box;
min-height: 100%;
display: flex;
flex-direction: column;
}
.page-header, .page-footer {
flex-grow: 0;
flex-shrink: 0;
}
.page-body {
flex-grow: 1;
background-color: #008B8B;
}
/*
Spacing in lists
*/
li p {
margin: 0;
}
/*This page only*/
.p1 {
color: #FFFF00
}
img {
animation: colorize 2s cubic-bezier(0, 0, .78, .36) 1;
background: transparent;
display: block;
margin: 1.3em auto;
max-width: 95%;
}

View file

@ -0,0 +1,86 @@
<!DOCTYPE html>
<html lang='en'>
<head>
<title>{title}</title>
<link href="../images/favicon/favicon-16x16.png" rel="icon" type="image/png"/>
<link href="../../images/favicon/favicon-16x16.png" rel="icon" type="image/png"/>
<!-- for code formatting -->
<link rel="stylesheet" href="../templates/hybrid.min.css">
<link rel="stylesheet" href="../../templates/hybrid.min.css">
<script src="../templates/highlight.min.js"></script>
<script src="../../templates/highlight.min.js"></script>
<script>hljs.highlightAll()</script>
</head>
<body>
{body}
</body>
<style>
section.slide {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(3);
}
ol, ul {
margin-top: 0;
margin-bottom: 0;
}
img{
display: block;
margin-left: auto;
margin-right: auto;
max-width: 40%;
max-height: 40%;
}
</style>
<script>
let slide_number = 0;
let slide_max = 0;
for (let section of document.querySelectorAll("section.slide")) {
let number = parseInt(section.id, 10);
if (number > slide_max) {
slide_max = number;
}
}
slide_next = (change) => {
// make old hidden
document.getElementById(`${slide_number}`).style.display = "none";
// make the change
let slide_number_new = slide_number + change;
if (slide_number_new >= 0 && slide_number_new <= slide_max) {
slide_number += change;
}
// make current visible
document.getElementById(`${slide_number}`).style.display = "block";
}
// add event listner
onkeydown = (event) => {
if (event.key === "ArrowRight" || event.key === "ArrowDown") {
slide_next(1);
}
if (event.key === "ArrowLeft" || event.key === "ArrowUp") {
slide_next(-1);
}
};
on_events = (clickTargetWidth, xCoordInClickTarget) => {
if (clickTargetWidth / 2 > xCoordInClickTarget) {
slide_next(-1);
} else {
slide_next(1);
}
}
ontouchstart = (event) => {
on_events(event.target.offsetWidth, event.touches[0].clientX - event.target.getBoundingClientRect().left);
};
// show the first slide
slide_next(0)
</script>
</html>

46
src/templates/wiki.html Normal file
View file

@ -0,0 +1,46 @@
<!DOCTYPE html>
<html lang="en-ie">
<head>
<title>{title}</title>
<link href="../images/favicon/favicon-16x16.png" rel="icon" type="image/png"/>
<link href="../../images/favicon/favicon-16x16.png" rel="icon" type="image/png"/>
<link href="../templates/index.css" rel="stylesheet" type="text/css"/>
<link href="../../templates/index.css" rel="stylesheet" type="text/css"/>
https://discord.skynet.ie
<!-- for code formatting -->
<link rel="stylesheet" href="../templates/hybrid.min.css">
<link rel="stylesheet" href="../../templates/hybrid.min.css">
<script src="../templates/highlight.min.js"></script>
<script src="../../templates/highlight.min.js"></script>
<script>hljs.highlightAll()</script>
</head>
<body>
<div class="wrapper">
<header class="page-header">
<a href="./" >
<img alt="Sharky, our mascot" height="81.56" src="../images/sharky.svg" width="145"/>
</a>
<h1>
<a href="./" >
<h1>Skynet Wiki</h1>
</a>
</h1>
</header>
<main class="page-body">
<h1>{title}</h1>
<h4>{date}</h4>
<!--indentation is managed by the converter-->
{body}
</main>
<footer class="page-footer">
UL Computer Society 2023-<span id="year">2023</span>
<script>
document.getElementById('year').textContent = new Date().getFullYear().toString()
</script>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,42 @@
<!DOCTYPE html>
<html lang="en-ie">
<head>
<title>{title}</title>
<link href="../images/favicon/favicon-16x16.png" rel="icon" type="image/png"/>
<link href="../../images/favicon/favicon-16x16.png" rel="icon" type="image/png"/>
<link href="../templates/index.css" rel="stylesheet" type="text/css"/>
<link href="../../templates/index.css" rel="stylesheet" type="text/css"/>
<!-- for code formatting -->
<link rel="stylesheet" href="../templates/hybrid.min.css">
<link rel="stylesheet" href="../../templates/hybrid.min.css">
<script src="../templates/highlight.min.js"></script>
<script src="../../templates/highlight.min.js"></script>
<script>hljs.highlightAll()</script>
</head>
<body>
<div class="wrapper">
<header class="page-header">
<a href="./" >
<img alt="Sharky, our mascot" height="81.56" src="../images/sharky.svg" width="145"/>
</a>
<h1>
<a href="./" >
<h1>Skynet Wiki</h1>
</a>
</h1>
</header>
<main class="page-body">
<!--indentation is managed by the converter-->
{body}
</main>
<footer class="page-footer">
UL Computer Society 2023-<span id="year">2023</span>
<script>
document.getElementById('year').textContent = new Date().getFullYear().toString()
</script>
</footer>
</div>
</body>
</html>

24
src/wiki/migration.md Normal file
View file

@ -0,0 +1,24 @@
+++
title = 'Wolves Account Migration'
date = 2024-06-17
slug = 'migration'
+++
In order to keep the same Wolves account a few simple steps must be followed to migrate it away from your studentmail.
This is especially important if you have a Skynet account linked with your wolves account.
<h2 class="p1">Important: this must be completed while you still have access to your studentmail.</h2>
* Go to the Wolves account page: [https://ulwolves.ie/memberships/profile][0]
* Change your ``Preferred Contact Email`` to your personal address.
!["Set Preferred Contact Email"][1]
* In the ``Login Email`` section (pictured) click on the Red Incorrect button and change to your personal address.
!["Change Login Email"][2]
* In the popup enter in your personal address and set the reason to be something like ``Alumni``
!["Change Login Email and Reason"][3]
* You are done, the office will update the details shortly.
[0]: https://ulwolves.ie/memberships/profile
[1]: ./migration/img.png
[2]: ./migration/img_1.png
[3]: ./migration/img_2.png

126
src/wiki/recovery.md Normal file
View file

@ -0,0 +1,126 @@
+++
title = 'Skynet Account Recovery'
date = 2024-12-27
slug = 'recovery'
+++
## Jan 2023 Downtime & Account Recovery
In Jan 2023 we had extended downtime, for more information checkout [this link][0].
The next section will outline the changes that have been made in the last year while the subsequent one will deal with Account Recovery.
[0]: https://public.skynet.ie/postmortem/2023-01-12_Loss-of-network-access.html
### Service Changes
As a result of the upgrade/migration/downtime there have been several changes to services.
Some of these are due to security requirements, others are due to some old software being difficult to source, some are because we have worked with UL Wolves to create a new API to automate many processes.
#### Additions
* Account self management page: [https://account.skynet.ie][account]
This allows new members to sign up, existing members to change account details (password, contact email, ssh keys), and for password resets.
* [https://gitlab.skynet.ie][2]
Our own Gitlab instance with runners, the cluster config and pipelines are [here][3].
User: ``$username``
Pass: ``$password``
* [https://nextcloud.skynet.ie/][4]
A replacement for Google Drive, has Open Office, maps and a good email suite.
User: ``$username`` or ``$username@skynet.ie``
Pass: ``$password``
* A [Discord Bot][5] to manage the roles of members in our [Discord][discord]
[account]: https://account.skynet.ie
[2]: https://gitlab.skynet.ie
[3]: https://gitlab.skynet.ie/compsoc1/skynet/nixos
[4]: https://nextcloud.skynet.ie
[5]: https://gitlab.skynet.ie/compsoc1/skynet/discord-bot
[discord]: https://discord.skynet.ie
#### Changes
* Usernames have been converted to comply with modern linux standards.
Usernames with uppercase have been converted to lowercase.
Usernames starting with a number have been prefixed by a ``_``
* ``UserName`` is now ``username``
* ``0username`` is now ``_0username``
* Webmail is now available at [https://mail.skynet.ie][7]
Still roundcube which should be familiar.
User: ``$username@skynet.ie``
Pass: ``$password``
* For Thunderbird use these:
User: ``$username@skynet.ie``
Pass: ``$password``
* SSH now requires an ssh key (can be set in the account page above)
* SSH access is now on ``skynet.skynet.ie``
* Personal sites are now accessible as ``$username.users.skynet.ie`` (new format) as opposed to ``skynet.ie/~$username`` (old format)
Any old format links will redirect to the new format for compatability.
This gives us separation from the core Skynet site.
* Old home data can be found in ``/skynet_old/home/$username``
* Old emails (prior to 2023-01-12) can be found in the ``skynet_old`` folder in your mail account.
[7]: https://mail.skynet.ie
#### Email Aliases
* We are currently working on associating aliases with the Skynet account they are for.
* This creates a separate mail account that shares the same password as the base Skynet account.
* If you believe an alias is missing please get in contact with us (Details are below)
* Currently, no new aliases are planned, but this may change in the future.
#### Removals
* Lifetime and 10 year memberships ceased to exist in 2019.
* Email terminal clients are no longer available.
### Account Recovery
<p class="p1">
<!-- this is in html in order to have the yellow colour highlighting-->
Reminder:
<br />
To hold a Skynet account you must be a current member of the UL Computer society.
<br/>
This is done through UL Wolves (<a href="https://ulwolves.ie" target="_blank" rel="noopener">https://ulwolves.ie</a>).
<br/>
There are no exceptions to this.
</p>
There are 5 possible workflows for getting back up and running again:
* You know your Skynet ``user/pass`` and your UL Wolves ``user/pass``.
* You know your Skynet ``user/pass`` but not your UL Wolves ``user/pass``.
* You know your Skynet ``user/pass`` but do not have a UL Wolves account.
* You know your UL Wolves ``user/pass`` but not your Skynet ``user/pass``.
* You do not know your Skynet ``user/pass`` and your UL Wolves ``user/pass``.
#### You do not know your UL Wolves ``user/pass``
* If you signed up with a non UL/Skynet account there is a password reset process: [https://ulwolves.ie/login/help][8]
* If you forgot your UL Wolves username Contact Us (see below) and we may be able to inform you what username(s) you had used.
* If you forgot your UL Wolves password and your UL Wolves username was a ``@skynet.ie`` email then follow steps below to create a new account.
[8]: https://ulwolves.ie/login/help
#### You do not have a UL Wolves account.
* Follow steps 1-6 on [https://renew.skynet.ie][renew]
[renew]: https://renew.skynet.ie
#### You know your UL Wolves ``user/pass``
* On our Society page ([https://ulwolves.ie/society/computer][wolves]) Request Membership
(steps 7-8 on [https://renew.skynet.ie][renew])
* Either pay €10 for 1 year online (we can approve instantly once we see the request).
Or pay €40 for 5 years following steps 9-11 on [https://renew.skynet.ie][renew].
(May take a little while to verify with the bank account.)
* Go to the account page: [https://ulwolves.ie/memberships/profile][wolves_profile]
* For the ``Preferred Contact Email`` set a <b>NON-Skynet</b> Email
[wolves]: https://ulwolves.ie/society/computer
[wolves_profile]: https://ulwolves.ie/memberships/profile
#### You know your Skynet ``user/pass``
* Go to [https://account.skynet.ie/modify][account_modify]
* Set the ``Email`` to be the ``Preferred Contact Email`` from wolves
* If you want to ssh in also set an ssh key.
[account_modify]: https://account.skynet.ie/modify
#### You do not know your Skynet ``user/pass``
* Get in contact with us and we will see what we can do.
We have a few methods that may be able to link your Skynet account with an address you currently possess.
#### Contact us
* Email: ``compsoc[at]skynet.ie``
* Discord: ping @committee on [our discord][discord] (there is a ``#help-and-support`` channel).

79
src/wiki/renew.md Normal file
View file

@ -0,0 +1,79 @@
+++
title = 'Skynet Alumni Renewal'
date = 2020-08-17
slug = 'renew'
+++
## How to renew your Skynet membership!
### Dear Alumnus; welcome,
Thank you for all your continued support throughout the years.
Your contribution and the contribution of many others have made it possible for us to buy more servers which we use to give you the best service we can.
With our new servers, we hope to improve the quality for our users and have less downtime.
You can now purchase a 5-year subscription for €40.
This subscription is for a multi-year limited alumni membership of the Computer Society (This type of membership does not entitle you to society subsidies or places on trips).
You must hold a Computer Society membership in order to hold a Skynet account.
If there has been no payment made passed the point of expiration on your membership, your Skynet account will freeze.
You must pay for membership to unfreeze your account.
Below are instructions on how to renew your subscription.
Until you make both an account and pay membership, you will not have renewed your subscription.
Once you have completed the steps below, you will have renewed your subscription and will be issued a receipt.
When requesting membership, you have the option to pay online or pay cash.
If you are paying online you can only pay for one year's membership.
<div class="p1">
<h5>IMPORTANT!!</h5>
<p>
If you are looking to avail of the 5-year membership it is important to note that you can no longer pay for this on the Ul wolves site.
<br />
Please select the pay with cash option and transfer the multi-year fee to the bank account shown below.
</p>
<p>
Also please note that you do not need a UL student E-mail address to sign up!
</p>
</div>
### Steps
1. Go to <a href="https://ulwolves.ie/">ULWolves.ie</a>
![UL wolves site][0]
2. Enter your email address and click Log In/Register
3. Select the appropriate option (UL Alumni Member)
![Account type Section][1]
4. Fill in your personal information on the next page.
5. Verify your email address
![Verification Email][2]
6. Log back in
![Sign in][3]
7. Scroll to find Computer under the Societies section
![Societies section][4]
8. Click Request Membership
![Request Membership][5]
9. Fill out details. When asked to pay online or pay in cash, **select pay online for 1 year membership.**
**Select PAY CASH/OTHER for 5 year membership.**
Note it will say it will expire in one year but upon transfer of the money to our account it will be accepted as a 5 year membership.
![PAY BY CASH][6]
10. Transfer &euro;40 to our bank account:
* BIC: ``BOFIIE2D``
* IBAN: ``IBANIE31BOFI90595047627767``
Please put your name in the reference.
If you are having trouble with this or want to arrange another payment method, get in touch.
11. Email the accounts team (``compsoc[at]skynet.ie``) with:
* The name on the UL Wolves account you created
* Skynet username
* The reference on the bank transfer.
You may want to ping @committee on [our discord][discord].
[0]: ./renew/renew1.jpg
[1]: ./renew/renew2.png
[2]: ./renew/renew3.png
[3]: ./renew/renew4.png
[4]: ./renew/renew5.jpg
[5]: ./renew/renew6.jpg
[6]: ./renew/renew7.png
[discord]: https://discord.skynet.ie