Skip to content

Commit

Permalink
2.18.0.2 Release (#198)
Browse files Browse the repository at this point in the history
* Astro v4.5.9}

* Update codinghome.astro

* Update codinghome.astro

* npm fund & move BxPP files to avoid warnings

* Update index.astro

* Update inferno.astro

* Update codinghome.astro

* Update codinghome.astro

* Add files via upload

* Add files via upload

* Update index.astro

* Add files via upload

* Add files via upload

* Astro v4.5.10

* Remove beta references + Update changelog

* ID change on carousel

* Update README.md

* btn-lg

* Reopen Beta Builds

* 2.18.1!!!!!!!!!!!!!!!!!!!!!!!!!!!!

* Update archive.astro

* FIX

* Update README.md

* Update README.md

* Update archive.astro

* Update version.js

* Update codinghome.astro

* Update codinghome.astro

* Update ehs.astro

* Update noodle.astro

* Update script.astro

* Update ehs.astro

* Update noodle.astro

* Update script.astro

* fix

* Update codinghome.astro

* Update codinghome.astro

* Update terms.astro

* Update discord.astro

* Update terms.astro

* Update index.astro

* Update index.astro

* Update index.astro

* Update index.astro

* Update index.astro

* Update index.astro

* Update discord.astro

* Update terms.astro

* Update paidterms.astro

* Update privacy.astro

* Update titleiiandvii.astro

* Update licenses.astro

* Create bootstrap.css

* Update Navbar.astro

* Update 404.astro

* Update Hero.astro

* Update 404.astro

* hero fix

* hero patch 2

* Astro v4.5.12

* Update mdickie.astro

* Update index.astro

* Add files via upload

* Add files via upload

* Add files via upload

* Update index.astro

* Update index.astro

* Update discord.astro

* Update discord.astro

* Update paidterms.astro

* Update paidterms.astro

* Update privacy.astro

* Update titleiiandvii.astro

* Update privacy.astro

* Update discord.astro

* Update privacy.astro

* Update terms.astro

* Update paidterms.astro

* Update discord.astro

* Update terms.astro

* Update paidterms.astro

* Astro v4.5.14

* Add files via upload

* Add files via upload

* Update index.astro

* Update Navbar.astro

* Update Navbar.astro

* Update Navbar.astro

* Update index.astro

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update index.astro

* npm housekeeping

* CodingHome Resource Update 4.4.24

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update index.astro

* Update index.astro

* Update index.astro

* Update web.astro

* Astro v4.5.16

* Add files via upload

* Update index.astro

* Update index.astro

* Security Policy Draft

* Update SECURITY.md

* Security Policy Draft 2

* Security Policy Draft 2.1

* Update SECURITY.md

* Update Hero.astro

* Update 404.astro

* Update bootstrap.css

* Astro v5.6.0

* Patch Python File

* Update codinghome.astro

* Update codinghome.astro

* Update purecookie.js

* Update purecookie.js

* Update purecookie.js

* Update purecookie.js

* Update purecookie.js

* Update index.astro

* Accordion Propose

* whoops

* Remove other section

* Fix headers

* Astro v4.6.2

* Update licenses.astro

* Astro v4.6.2

* Update Navbar.astro

* Update archive.astro

* Update archive.astro

* Update archive.astro

* Update codinghome.astro

* Update codinghome.astro

* Update bootstrap.css

* Update bootstrap.css

* Update index.astro

* Update README.md

* Update version.js

* Update archive.astro

* EHS Link Fix

* Update codinghome.astro

* Update codinghome.astro

* Update codinghome.astro

* Update codinghome.astro

* Update codinghome.astro

* Update codinghome.astro

* Update netlify.toml

* Update netlify.toml

* Update netlify.toml

* Updated IDA link

* Update codinghome.astro

* Update codinghome.astro

* Astro v4.7.1

* Add files via upload

* Add files via upload

* Update README.md

* Add files via upload

* Update README.md

* Update README.md

* Update README.md

* Add files via upload

* Add files via upload

* Update index.astro

* Add files via upload

* Fixed things.

* Update SECURITY.md

* Making alerts dismissible for longer periods of time. (#200)

* Update index.astro

* Update Scripts.astro

* Create alert.js

* Update alert.js

* Update Head.astro

* Update alert.js

* Update alert.js

* Update alert.js

* Update alert.js

* Update index.astro

* Add files via upload

* Add files via upload

* Update index.astro

* Update index.astro

* Add files via upload

* Add files via upload

* Fix attempt 1

* fix

* fix

* Update alert.js

* Update cctv.astro

* Update cctv.astro

* Update cctv.astro

* Update alert.js

* Update bootstrap.css

* Update bootstrap.css

* Update changelog

* Add files via upload

* Add files via upload

* Update alert.js

* Update alert.js

* Update alert.js

* Update alert.js

* Update alert.js

* JQuery attempt

* Update alert.js

* Add files via upload

* Add files via upload

* Add files via upload

* Update index.astro

* Update alert.js

* Update alert.js

* JQuery conver

* Update alert.js

* Update alert.js

* Update alert.js

* Update alert.js

* Update index.astro

* Add files via upload

* Add files via upload

* Add files via upload

* Astro v4.8.2

* Update codinghome.astro

* Update codinghome.astro

* Update index.astro

* Add files via upload

* Add files via upload

* Update codinghome.astro

* Update codinghome.astro

* Update codinghome.astro

* Astro v4.8.3

* Resources up-to-date.

* Astro v4.8.4

* Add files via upload

* Add files via upload

* Update index.astro

* Update SECURITY.md
  • Loading branch information
Alex-Toucan authored May 16, 2024
1 parent a7597ae commit ddb0362
Show file tree
Hide file tree
Showing 38 changed files with 1,139 additions and 898 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<div align="center">
<h1>AT Products LLC</h1>
<a href="https://atproducts.xyz"><img src="/public/media/images/ATProductsLLC.png" alt="AT Products LLC" width="75%"></a>
<br><br>
<p>
<img src="https://img.shields.io/badge/made%20with-love-E760A4.svg" alt="Made with love">
<a href="https://opensource.org/licenses/MIT" target="_blank"><img src="https://img.shields.io/badge/license-MIT-green.svg" alt="License"></a>
Expand Down Expand Up @@ -31,4 +32,4 @@ AT Products LLC, otherwise known as AT Products, is an informative technology co
The "AT" in AT Products does stand for Alex Toucan.
<hr>
<h6>atproducts.xyz is under a MIT license. <a href="https://atproducts.xyz/licenses#ours">View more information</a>.
<h6>Last Recorded Version: 2.18.0.1</h6>
<h6>Last Recorded Version: 2.18.0.2</h6>
14 changes: 13 additions & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Security Policy
##### Last Updated: April 10th, 2024.
##### Into Effect: May 15th, 2024.
##### Version: v2
<hr>

## Where We Look for Vulnerabilities
We look for and fix vulnerabilities as soon as possible with internal website code, external (outside domain) files, and files distributed by our products and communities.

## Reporting a Vulnerability
**DO NOT** report security vulnerabilities as an issue, pull request (PR), or discussion here on GitHub and the other external sites of Discord (applies to communities) and other online forums. Vulnerabilities should not be publicly known. Please report all vulnerabilities at [email protected] for private reporting.

## Fixing Vulnerabilities
Our team attempts to fix these security vulnerabilities as soon as possible. All vulnerability patches trump scheduled release dates and should be released as soon as the patch is ready. These patches should only include vulnerability patches with no other content alongside them. This policy will be even more important as the upcoming updates may feature account-based components, making our security more prioritized.

Please report all vulnerabilities to [email protected] immediately once found. Failure to do so may result in a unsafe environment at atproducts.xyz, looking for bugs (especially vulnerabilities) is our number one thing we worry about.
## Embargo Policy / Team Disclosure
From the <a href="#reporting-a-vulnerability">Reporting a Vulnerability</a> section, **all members in the team behind security patches and ones who are aware of such security vulnerabilities shall not disclose the security vulnerabilities until the agreed-upon public disclosure date/time is satisfied by all higher-ups/team members**. Repeated offenses may lead to termination of the contributor team and your volunteerment/employment AT Products LLC.
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@astrojs/react": "^3.3.4",
"astro": "^4.8.3",
"astro": "^4.8.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
Expand Down
44 changes: 23 additions & 21 deletions public/media/files/stress.py
Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
import sys
import platform
import subprocess

if sys.platform() != "linux":
print("[-] You need a linux system")
print("Windows is coming soon")
exit()
else:
continue

if sys.platform != "linux":
print("[-] You need a Linux system")
print("Windows is coming soon")
exit()

site = input("Enter the site you want to test: ")
if not site.startswith("http"):
print("[-] Site has to start with 'http://' or 'https://'")
exit()
else:
continue
try:
out = subprocess.check_output(["ab"], ["-n"], ["1000"], ["-c"], ["10"], ["-k"], ["-H"], ['"Accept-Encoding: gzip, deflate"'], [site])
except:
print(f"You have to install httpd-tools: 'sudo apt-geg install httpd-tools'")
print("[-] Site has to start with 'http://' or 'https://'")
exit()

try:
splitted1 = out.split("Requests per second: ")
out = subprocess.check_output(["ab", "-n", "1000", "-c", "10", "-k", "-H", "Accept-Encoding: gzip, deflate", site])
except FileNotFoundError:
print("You have to install httpd-tools: 'sudo apt-get install apache2-utils'")
exit()
except Exception as e:
print(f"[-] Unknown error: {e}")
exit()
splitted2 = splitted1.split(" [#/sec]")
print(f"The site can handle: {splitted1} users per second.")
print(f"[-] Unknown error: {e}")
exit()

try:
splitted1 = out.split(b"Requests per second: ")[1]
except IndexError:
print("[-] Couldn't find 'Requests per second:' in the output")
exit()

splitted2 = splitted1.split(b" [#/sec]")[0]
print(f"The site can handle: {splitted2.decode('utf-8')} users per second.")
Binary file added public/media/images/ATProductsLLC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/images/alford.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/media/images/deltasoft.webp
Binary file not shown.
Binary file modified public/media/images/longblack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/media/images/longwhite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/pdf/2.18.0.2 Patch Notes.pdf
Binary file not shown.
Binary file added public/media/pdf/Reese.pdf
Binary file not shown.
Binary file added public/media/slideshow/21802-1-050624.webp
Binary file not shown.
Binary file added public/media/slideshow/21802-1-051524.webp
Binary file not shown.
Binary file added public/media/slideshow/21802-2-050624.webp
Binary file not shown.
Binary file added public/media/slideshow/21802-2-051524.webp
Binary file not shown.
Binary file added public/media/slideshow/21802-3-050624.webp
Binary file not shown.
Binary file added public/media/slideshow/21802-3-051524.webp
Binary file not shown.
Binary file modified public/media/slideshow/BETATESTING.webp
Binary file not shown.
48 changes: 48 additions & 0 deletions public/static/alert.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
// --- Config --- //
var pureAlertType = "alert-dark"; // Color
var pureAlertTitle = "NEW BETA TESTING SITE:"; // Title
var pureAlertIcon = 'bi-plus-lg'; // Icon
var pureAlertDesc = "We have updated the Department of Beta Testing site to be more modernized with Bootstrap 5 and Astro!"; // Description
var pureAlertLink = 'https://beta-testing.atproducts.xyz'; // Link
var pureAlertLinkDesc = 'View now'; // Link text
var pureAlertButton = "Understood"; // Button text
// --- --- //

function setAlertCookie(name, value, days) {
var expires = "";
if (days) {
var date = new Date();
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
expires = "; expires=" + date.toUTCString();
}
document.cookie = name + "=" + (value || "") + expires + "; path=/";
}

function getAlertCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for (var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') c = c.substring(1, c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
}
return null;
}

function eraseAlertCookie(name) {
document.cookie = name + '=; Max-Age=-99999999;';
}

/* Comment this section if there is no alert loaded */
$(document).ready(function () {
if (window.location.pathname.indexOf("/cctv") === -1 && !getAlertCookie('pureAlertDismiss')) {
var header = $('header');
var alertContainer = $('<div class="alert-container"></div>');
alertContainer.html('<div class="alert ' + pureAlertType + ' alert-dismissible fade show mb-0 d-flex gap-2" role="alert"> <i class="bi ' + pureAlertIcon + ' h-100"></i><div><strong>' + pureAlertTitle + '</strong> ' + pureAlertDesc + ' <a class="icon-link icon-link-hover" href="' + pureAlertLink + '">' + pureAlertLinkDesc + '<i class="bi bi-arrow-right h-100"></i></a></div><button onclick="pureAlertDismiss();" type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button> </div>');
header.after(alertContainer);
}
});

function pureAlertDismiss() {
setAlertCookie('pureAlertDismiss', '1', 7);
}
32 changes: 22 additions & 10 deletions public/static/bootstrap.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 14 additions & 36 deletions public/static/purecookie.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,41 +6,19 @@ var purecookieLink = '<a href="/privacy#cookies" target="_blank" rel="noopener n
var purecookieButton = "Understood"; // Button text
// --- --- //


function pureFadeIn(elem, display){
var el = document.getElementById(elem);
el.style.opacity = 0;
el.style.display = display || "block";

(function fade() {
var val = parseFloat(el.style.opacity);
if (!((val += .02) > 1)) {
el.style.opacity = val;
requestAnimationFrame(fade);
}
})();
};
$("#" + elem).css({opacity: 0, display: display || "block"}).animate({opacity: 1}, 500);
}

function pureFadeOut(elem){
var el = document.getElementById(elem);
el.style.opacity = 1;

(function fade() {
if ((el.style.opacity -= .02) < 0) {
el.style.display = "none";
} else {
requestAnimationFrame(fade);
}
setTimeout(() => {
var theelement = document.querySelector('#cookieConsentContainer');
if (theelement) {
theelement.remove();
};
}, 1350);
})();
};
$("#" + elem).animate({opacity: 0}, 500, function(){
$(this).css("display", "none").delay(1350).queue(function(){
$(this).remove().dequeue();
});
});
}

function setCookie(name,value,days) {
function setCookie(name, value, days) {
var expires = "";
if (days) {
var date = new Date();
Expand All @@ -63,11 +41,11 @@ function eraseCookie(name) {
document.cookie = name+'=; Max-Age=-99999999;';
}

document.addEventListener('DOMContentLoaded', () => {
if (!getCookie('purecookieDismiss')) {
document.querySelector('div#page').innerHTML += '<div class="cookieConsentContainer" id="cookieConsentContainer"><div class="cookieTitle"><span>' + purecookieIcon + '' + purecookieTitle + '</span></div><div class="cookieDesc"><p>' + purecookieDesc + ' ' + purecookieLink + '</p></div><div class="cookieButton"><button onClick="purecookieDismiss();">' + purecookieButton + '</button></div></div>';
pureFadeIn("cookieConsentContainer");
}
$(document).ready(function() {
if (!getCookie('purecookieDismiss')) {
$('div#page').append('<div class="cookieConsentContainer" id="cookieConsentContainer"><div class="cookieTitle"><span>' + purecookieIcon + '' + purecookieTitle + '</span></div><div class="cookieDesc"><p>' + purecookieDesc + ' ' + purecookieLink + '</p></div><div class="cookieButton"><button onClick="purecookieDismiss();">' + purecookieButton + '</button></div></div>');
pureFadeIn("cookieConsentContainer");
}
});

function purecookieDismiss() {
Expand Down
2 changes: 1 addition & 1 deletion public/static/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
document.write("2.18.0.1");
document.write("2.18.0.2");
6 changes: 3 additions & 3 deletions src/components/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ const {
<Fragment set:html={errorButton} />
)}
{primaryHref && primaryText && (
<a href={primaryHref} class="btn btn-primary btn-lg col-md">{primaryText}</a>
<a href={primaryHref} class="btn btn-primary col-md">{primaryText}</a>
)}
{secondaryHref && secondaryText && (
<a href={secondaryHref} class="btn btn-secondary btn-lg col-md">{secondaryText}</a>
<a href={secondaryHref} class="btn btn-secondary col-md">{secondaryText}</a>
)}
{dropdownItems && (
<div class="dropdown col-md">
<button aria-expanded="false" data-bs-toggle="dropdown" type="button" class="btn btn-secondary btn-lg dropdown-toggle w-100">
<button aria-expanded="false" data-bs-toggle="dropdown" type="button" class="btn btn-secondary dropdown-toggle w-100">
Navigation
</button>
<ul class="dropdown-menu w-100 white-space-normal">
Expand Down
1 change: 1 addition & 0 deletions src/layouts/Head.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const { title, heroid, icon, bulletin, description, keywords, author, additional
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.min.css">
<link rel="preload" as="style" href="/static/bootstrap.css">
<link rel="preload" as="script" href="/static/darkmode.js">
<link rel="preload" as="script" href="/static/alert.js">
{heroid ?
<>
<link rel="preload" as="image" href={`/media/images/hero-${heroid}.webp`}>
Expand Down
1 change: 1 addition & 0 deletions src/layouts/Scripts.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const { fourofour, index, modal, accordion, scrollspy } = Astro.props;
<script is:inline src="https://cdn.jsdelivr.net/npm/jquery-ui/dist/jquery-ui.min.js"></script>
<script is:inline src="/static/scroll.js"></script>
<script is:inline src="/static/purecookie.js"></script>
<script is:inline src="/static/alert.js"></script>
<script is:inline src="/static/enabler.js"></script>
{fourofour && (
<script is:inline src="/static/404.js"></script>
Expand Down
2 changes: 0 additions & 2 deletions src/layouts/stories/Scrollspy.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,5 @@ const { id, title, scrollcontent } = Astro.props;
))}
</div>
</div>
<div class="col-md-10 p-1 pt-mmd-2 px-mmd-2 story-top-scroll story-top-body story-scroll" tabindex="0" data-bs-smooth-scroll="true" data-bs-target={`#${id}-list`} data-bs-spy="scroll">
<slot name="scrollspy-content" />
</div>
</main>
2 changes: 1 addition & 1 deletion src/pages/404.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import BackToTop from '../components/BackToTop.astro';
title="404"
titleClasses="lh-1 fs-16"
description="Oops, it seems like you hit the wrong page, as the HTML error 404 means that the file you attempted to reach was not found/invalid. Either, check the URL bar to see if there's a spelling mistake or redirect to the previous page."
errorButton="<input class='btn btn-lg btn-primary w-100 col-md' type='button' value='Return' id='404btn' aria-label='Return'>"
errorButton="<input class='btn btn-primary w-100 col-md' type='button' value='Return' id='404btn' aria-label='Return'>"
secondaryHref="/"
secondaryText="Index Page"
container="true"
Expand Down
Loading

0 comments on commit ddb0362

Please sign in to comment.