diff --git a/.prettierignore b/.prettierignore deleted file mode 100644 index 4480f2a6..00000000 --- a/.prettierignore +++ /dev/null @@ -1 +0,0 @@ -assets/js diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 00000000..4149c483 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,27 @@ +# Security Policy +If you find a security issue please let us know through the following public and/or private communication channels. Use the method you believe fits the vulnerability best. + +### Public +- Github issue/discussion +- Galaxypedia discord server + +### Private +- Github private vulnerability support +- Emailing ketchup@smallketchup.ca + +## What to supply us with +- A description of the vulnerability +- Estimated exposure + - Is it something that might concern a user every now and then? every visit? if they perform a certain action? + - How long you believe the vulnerability has existed in the codebase +- CVSS + - Much like the above, it helps us get a bearing on the scale of the vulnerability + - If the CVSS is high enough, we might be compelled to notify the userbase after fixing the vulnerability +- Reproduction steps + +We take security issues seriously regardless of CVSS or metrics, and try to give our full attention to every report. + +## Benefits +We're an open source project with donations being our primary source of funding. While we may not be able to support you financially, we believe in giving credit where credit is due. We'll make sure to give you full credit for identifying the vulnerability. We strive to show our appreciation in any way we can. + +Thanks for helping make the Galaxypedia more secure diff --git a/assets/js/snowstorm-min.js b/assets/js/snowstorm-min.js deleted file mode 100755 index 900bc8c2..00000000 --- a/assets/js/snowstorm-min.js +++ /dev/null @@ -1,29 +0,0 @@ -/** @license - - DHTML Snowstorm! JavaScript-based snow for web pages - Making it snow on the internets since 2003. You're welcome. - ----------------------------------------------------------- - Version 1.44.20131208 (Previous rev: 1.44.20131125) - Copyright (c) 2007, Scott Schiller. All rights reserved. - Code provided under the BSD License - http://schillmania.com/projects/snowstorm/license.txt -*/ -var snowStorm=function(g,f){function k(a,d){isNaN(d)&&(d=0);return Math.random()*a+d}function x(){g.setTimeout(function(){a.start(!0)},20);a.events.remove(m?f:g,"mousemove",x)}function y(){(!a.excludeMobile||!D)&&x();a.events.remove(g,"load",y)}this.excludeMobile=this.autoStart=!0;this.flakesMax=128;this.flakesMaxActive=64;this.animationInterval=33;this.useGPU=!0;this.className=null;this.excludeMobile=!0;this.flakeBottom=null;this.followMouse=!0;this.snowColor="#fff";this.snowCharacter="•";this.snowStick= -!0;this.targetElement=null;this.useMeltEffect=!0;this.usePixelPosition=this.usePositionFixed=this.useTwinkleEffect=!1;this.freezeOnBlur=!0;this.flakeRightOffset=this.flakeLeftOffset=0;this.flakeHeight=this.flakeWidth=8;this.vMaxX=5;this.vMaxY=4;this.zIndex=0;var a=this,q,m=navigator.userAgent.match(/msie/i),E=navigator.userAgent.match(/msie 6/i),D=navigator.userAgent.match(/mobile|opera m(ob|in)/i),r=m&&"BackCompat"===f.compatMode||E,h=null,n=null,l=null,p=null,s=null,z=null,A=null,v=1,t=!1,w=!1, -u;a:{try{f.createElement("div").style.opacity="0.5"}catch(F){u=!1;break a}u=!0}var B=!1,C=f.createDocumentFragment();q=function(){function c(b){g.setTimeout(b,1E3/(a.animationInterval||20))}function d(a){return void 0!==h.style[a]?a:null}var e,b=g.requestAnimationFrame||g.webkitRequestAnimationFrame||g.mozRequestAnimationFrame||g.oRequestAnimationFrame||g.msRequestAnimationFrame||c;e=b?function(){return b.apply(g,arguments)}:null;var h;h=f.createElement("div");e={transform:{ie:d("-ms-transform"), -moz:d("MozTransform"),opera:d("OTransform"),webkit:d("webkitTransform"),w3:d("transform"),prop:null},getAnimationFrame:e};e.transform.prop=e.transform.w3||e.transform.moz||e.transform.webkit||e.transform.ie||e.transform.opera;h=null;return e}();this.timer=null;this.flakes=[];this.active=this.disabled=!1;this.meltFrameCount=20;this.meltFrames=[];this.setXY=function(c,d,e){if(!c)return!1;a.usePixelPosition||w?(c.style.left=d-a.flakeWidth+"px",c.style.top=e-a.flakeHeight+"px"):r?(c.style.right=100-100* -(d/h)+"%",c.style.top=Math.min(e,s-a.flakeHeight)+"px"):a.flakeBottom?(c.style.right=100-100*(d/h)+"%",c.style.top=Math.min(e,s-a.flakeHeight)+"px"):(c.style.right=100-100*(d/h)+"%",c.style.bottom=100-100*(e/l)+"%")};this.events=function(){function a(c){c=b.call(c);var d=c.length;e?(c[1]="on"+c[1],3b.vX?b.vX=0.2:0>b.vX&&-0.2b.vY&&(b.vY=0.2)};this.move=function(){var c=b.vX*v;b.x+=c;b.y+=b.vY*b.vAmp;b.x>=h||h-b.xc&&b.x-a.flakeLeftOffset<-a.flakeWidth&&(b.x=h-a.flakeWidth-1);b.refresh();l+p-b.y+a.flakeHeight -b.type&&!b.melting&&0.998b.twinkleFrame?0.97a.flakesMaxActive)a.flakes[a.flakes.length-1].active=-1;a.targetElement.appendChild(C)};this.timerInit=function(){a.timer= -!0;a.snow()};this.init=function(){var c;for(c=0;c -# Merry Christmas from the Galaxypedia Team! - -This Christmas marks the 5th Christmas since the creation of the Galaxypedia, and we're happy to still be here celebrating it with you all! As we continue developing the next-generation Galaxypedia, we wish to continue celebrating Christmas with you all for many more years to come. We hope you have a great Christmas, a happy holidays, and a happy new year! - -_P.S. Here's a special christmas rem for you all, brought to you by sugon._ Christmas rem - ## Looking to join the Discord? [Galaxy](https://galaxy.casa/) has a number of Discord Servers you can join as well as a bot that shares information from Galaxypedia straight to Discord. diff --git a/content/christmas.png b/content/christmas.png deleted file mode 100644 index ebc98056..00000000 Binary files a/content/christmas.png and /dev/null differ diff --git a/layouts/partials/site/head.html b/layouts/partials/site/head.html index 5aa08f2c..9afe3152 100644 --- a/layouts/partials/site/head.html +++ b/layouts/partials/site/head.html @@ -48,11 +48,4 @@ new PagefindUI({ element: "#search" }); }); - {{ with resources.Get "js/snowstorm-min.js" }} - - - {{ end }}