website fixes before migration

This commit is contained in:
2025-12-12 14:33:52 -08:00
parent f8d5d4a69b
commit a5c3db32d3
6 changed files with 27 additions and 25 deletions

View File

@@ -1,6 +1,6 @@
import { app } from "../index.js" import { app } from "../index.js"
app.get("/api/ip", (rreq,rres) => { app.get("/ip", (rreq,rres) => {
let jsonResponse = { let jsonResponse = {
"IP": rreq.get("cf-connecting-ip") || rreq.ip, "IP": rreq.get("cf-connecting-ip") || rreq.ip,
"Country": rreq.get("cf-ipcountry") || "not_cloudflare", "Country": rreq.get("cf-ipcountry") || "not_cloudflare",

View File

@@ -23,7 +23,8 @@
<div class="cardrow"> <div class="cardrow">
<div> <div>
<h1>How can I help you?</h1> <h1>How can I help you?</h1>
<div class="linkColumn"> <p>If you are needing assistance, please reach out via a previously established<br>contact method or send an email to helpdesk (at) enstrayed (dot) com.</p>
<!-- <div class="linkColumn">
<div> <div>
<span>I'm filing a legal request, such as a DMCA takedown or other legal matter</span><br> <span>I'm filing a legal request, such as a DMCA takedown or other legal matter</span><br>
<a href=""><img src="/dynamic/icon/arrow-right/366FFF" alt="">Click here to start a Legal Request</a> <a href=""><img src="/dynamic/icon/arrow-right/366FFF" alt="">Click here to start a Legal Request</a>
@@ -41,11 +42,11 @@
<span>I have another question or need to get in contact</span><br> <span>I have another question or need to get in contact</span><br>
<a href=""><img src="/dynamic/icon/arrow-right/366FFF" alt="">Click here to start a General Inquiry</a> <a href=""><img src="/dynamic/icon/arrow-right/366FFF" alt="">Click here to start a General Inquiry</a>
</div> </div>
</div> </div> -->
</div> </div>
<div> <div>
<h1>Popular Articles</h1> <h1>Popular Articles</h1>
<div class="linkColumn"> <!-- <div class="linkColumn">
<div> <div>
<span>How do I use Security Keys in ECLS?</span><br> <span>How do I use Security Keys in ECLS?</span><br>
<a href=""><img src="/dynamic/icon/post/366FFF" alt="">Important ECLS FIDO2/Webauthn/Passkey Information</a> <a href=""><img src="/dynamic/icon/post/366FFF" alt="">Important ECLS FIDO2/Webauthn/Passkey Information</a>
@@ -62,7 +63,7 @@
<span>How do I use federation features in Enstrayed Cloud?</span><br> <span>How do I use federation features in Enstrayed Cloud?</span><br>
<a href=""><img src="/dynamic/icon/post/366FFF" alt="">Enstrayed Cloud Federation Features</a> <a href=""><img src="/dynamic/icon/post/366FFF" alt="">Enstrayed Cloud Federation Features</a>
</div> </div>
</div> </div> -->
</div> </div>
</div> </div>
</div> </div>

View File

@@ -65,6 +65,7 @@
<div class="maincontent"> <div class="maincontent">
<div class="newticketmaincontent"> <div class="newticketmaincontent">
<h1>This page is still a WORK IN PROGRESS and does not function.</h1>
<h2>New Request</h2> <h2>New Request</h2>
<div> <div>
<label for="formSelection">Please select a form: </label> <label for="formSelection">Please select a form: </label>

View File

@@ -16,11 +16,12 @@
<body> <body>
<a href="/">Return to enstrayed.com</a> <a href="/">Return to enstrayed.com</a>
<h1>API Documentation</h1> <h1>API Documentation</h1>
<p>This page was last updated 2025-07-08.</p> <p>This page was last updated 2025-12-12.</p>
<p>Source Code & Issue Tracker: <a href="https://github.com/enstrayed/enstrayedapi">github.com/enstrayed/enstrayedapi</a></p> <!-- <p>Source Code & Issue Tracker: <a href="https://github.com/enstrayed/enstrayedapi">github.com/enstrayed/enstrayedapi</a></p> -->
<hr> <hr>
<h2>Attention: This page is overdue for a rewrite and the information currently presented may not be accurate.</h2>
<div class="inlineheader"> <div class="inlineheader">
<h2>/api/nowplaying</h2> <h2>/api/nowplaying</h2>
@@ -85,7 +86,7 @@
}</code></pre> }</code></pre>
<div class="inlineheader"> <div class="inlineheader">
<h2>/api/ip</h2> <h2>/ip</h2>
<a href="https://github.com/Enstrayed/enstrayedapi/blob/main/routes/ip.js">ip.js</a> <a href="https://github.com/Enstrayed/enstrayedapi/blob/main/routes/ip.js">ip.js</a>
<div><span>GET</span></div> <div><span>GET</span></div>
</div> </div>
@@ -126,7 +127,7 @@
</div> </div>
<p>Invalidates the token used to access the endpoint.</p> <p>Invalidates the token used to access the endpoint.</p>
<div class="inlineheader"> <!-- <div class="inlineheader">
<h2>/api/auth/callback</h2> <h2>/api/auth/callback</h2>
<a href="https://github.com/Enstrayed/enstrayedapi/blob/new-db/routes/auth.js">auth.js:57</a> <a href="https://github.com/Enstrayed/enstrayedapi/blob/new-db/routes/auth.js">auth.js:57</a>
<div><span>GET</span></div> <div><span>GET</span></div>
@@ -139,7 +140,7 @@
<div><span>GET</span></div> <div><span>GET</span></div>
</div> </div>
<p><b>Internal Use Only. </b>Serves all files in the <code>website/helpdesk/forms</code> directory for use in the Helpdesk frontend.</p> <p><b>Internal Use Only. </b>Serves all files in the <code>website/helpdesk/forms</code> directory for use in the Helpdesk frontend.</p> -->
<!-- <div class="inlineheader"> <!-- <div class="inlineheader">
<h2>/dynamic/icon/*</h2> <h2>/dynamic/icon/*</h2>

View File

@@ -36,7 +36,7 @@
<h1>Under Construction</h1> <h1>Under Construction</h1>
<p> <p>
This page is undergoing a revamp and will be available again soon.<br> This page is undergoing a revamp and will be available again soon.<br>
All API endpoints are still available. Documentation is available <a href="/posts/20240409-API-Documentation.html">here</a>. All API endpoints are still available. Documentation is available <a href="/posts/99999999-API-Documentation.html">here</a>.
</p> </p>
</div> </div>
</body> </body>

View File

@@ -29,40 +29,39 @@
<div class="linkColumn"> <div class="linkColumn">
<div> <div>
<span>I received an Email from @enstrayed.com</span><br> <span>I received an Email from @enstrayed.com</span><br>
<a href="/helpdesk/articles/EOES-What-is-EOES.md"><img src="/dynamic/icon/external/7CB342" alt="">Click here for information about EOES</a> <a href="/helpdesk/articles/EOES-What_is_EOES.md"><img src="/dynamic/icon/external/7CB342" alt="">Click here for information about EOES</a>
</div> </div>
<div> <div>
<span>I need help with an Enstrayed.com web service</span><br> <span>I need help with an Enstrayed.com web service</span><br>
<a href="/helpdesk"><img src="/dynamic/icon/external/7CB342" alt="">Click here to visit the Helpdesk</a> <a href="/helpdesk"><img src="/dynamic/icon/external/7CB342" alt="">Click here to visit the Helpdesk</a>
</div> </div>
<div>
<span>I'd like to get in contact</span><br>
<a href="https://twitter.com/enstrayed"><img src="/dynamic/icon/twitter/7CB342" alt="">@Enstrayed on Twitter</a>
</div>
<!-- <div> <!-- <div>
<a href="/urltoolbox"><img src="/dynamic/icon/link/7CB342" alt="">URL Toolbox</a> <a href="/urltoolbox"><img src="/dynamic/icon/link/7CB342" alt="">URL Toolbox</a>
</div> --> </div> -->
<div>
<a href="/posts/20240409-API-Documentation.html"><img src="/dynamic/icon/link/7CB342" alt="">API Documentation</a>
</div>
<div> <div>
<a href="https://files.enstrayed.com/public/"><img src="/dynamic/icon/link/7CB342" alt="">Downloads</a> <a href="https://files.enstrayed.com/public/"><img src="/dynamic/icon/link/7CB342" alt="">Downloads</a>
</div> </div>
<div class="apiVersion">
<!--SSR_APIVERSION-->
</div>
</div> </div>
</div> </div>
<div> <div>
<!-- <img src="/static/snow-leopard.svg" alt="Snow Leopard Icon" width="64"> --> <!-- <img src="/static/snow-leopard.svg" alt="Snow Leopard Icon" width="64"> -->
<h1>@Enstrayed</h1> <h1 id="blogPostsHeader">/posts/</h1>
<div class="linkColumn marginBottom1em">
<a href="https://twitter.com/enstrayed"><img src="/dynamic/icon/twitter/7CB342" alt="">Twitter</a>
<a href="https://github.com/enstrayed"><img src="/dynamic/icon/github/7CB342" alt="">GitHub</a>
</div>
<div class="blogPostsList"> <div class="blogPostsList">
<h2 id="blogPostsHeader">Blog-ish Posts</h2>
<ul> <ul>
<!--SSR_BLOGPOSTS--> <!--SSR_BLOGPOSTS-->
</ul> </ul>
</div> </div>
<div class="apiVersion">
<!--SSR_APIVERSION-->
</div>
</div> </div>
</div> </div>