Skip to content

Commit

Permalink
v1.1.8 Patches Release
Browse files Browse the repository at this point in the history
🔧v1.1.8 Release
  • Loading branch information
Axton authored Jun 22, 2022
2 parents ba42022 + baf0f5e commit 661e9ea
Show file tree
Hide file tree
Showing 17 changed files with 5,825 additions and 10,085 deletions.
17 changes: 17 additions & 0 deletions .codacy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
engines:
rubocop:
exclude_paths:
- config/engines.yml
duplication:
exclude_paths:
- config/engines.yml
metric:
exclude_paths:
- config/engines.yml
languages:
css:
extensions:
- '.scss'
exclude_paths:
- "Public/assets/css/**"
2 changes: 1 addition & 1 deletion .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Deny from all
</FilesMatch>

# Deny access to .htaccess
<Files .htaccess>
<Files .htaccess, .config, .version, .security-scan>
Order allow,deny
Deny from all
</Files>
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "BRANCH": "main", "VERSION":"1.1.7" }
{ "BRANCH": "main", "VERSION":"1.1.8" }
111 changes: 10 additions & 101 deletions Public/Error/403.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,116 +8,25 @@
<meta name="description" content="<?= translate("An extremely simple, one-time view encryption message system. Send anybody passwords, or secret messages on a one-time view basis.") ?>">
<title>QuickBlaze</title>

<!-- Custom styles -->
<!-- Site CSS -->
<link href="<?= getInstallationPath() ?>/Public/assets/css/error.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v6.0.0-beta1/css/all.css">
</head>

<style>
@import url("https://fonts.googleapis.com/css?family=Lato");

* {
position: relative;
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Lato", sans-serif;
}

body {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

h1 {
margin: 40px 0 20px;
}

.lock {
border-radius: 5px;
width: 55px;
height: 45px;
background-color: #333;
animation: dip 1s;
animation-delay: 1.5s;
}

.lock::before,
.lock::after {
content: "";
position: absolute;
border-left: 5px solid #333;
height: 20px;
width: 15px;
left: calc(50% - 12.5px);
}

.lock::before {
top: -30px;
border: 5px solid #333;
border-bottom-color: transparent;
border-radius: 15px 15px 0 0;
height: 30px;
animation: lock 2s, spin 2s;
}

.lock::after {
top: -10px;
border-right: 5px solid transparent;
animation: spin 2s;
}

@keyframes lock {
0% {
top: -45px;
}

65% {
top: -45px;
}

100% {
top: -30px;
}
}

@keyframes spin {
0% {
transform: scaleX(-1);
left: calc(50% - 30px);
}

65% {
transform: scaleX(1);
left: calc(50% - 12.5px);
}
}

@keyframes dip {
0% {
transform: translateY(0px);
}

50% {
transform: translateY(10px);
}

100% {
transform: translateY(0px);
}
}
</style>


<body>
<div class="lock"></div>
<div class="message">
<h1><?= translate("Access to this page is restricted") ?></h1>
<p style="text-align: center"><?= translate("Please check with the site admin if you believe this is a mistake.") ?></p>
</div>

<!-- Site Javascript -->
<script src="<?= getInstallationPath() ?>/Public/assets/js/globalFunctions.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/darkmode-js.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>

</body>

</html>
32 changes: 10 additions & 22 deletions Public/Error/404.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,45 +8,33 @@
<meta name="description" content="<?= translate("An extremely simple, one-time view encryption message system. Send anybody passwords, or secret messages on a one-time view basis.") ?>">
<title>QuickBlaze</title>

<!-- Bootstrap core CSS -->
<link href="<?= getInstallationPath() ?>/Public/assets/css/bootstrap.css" rel="stylesheet">

<!-- Custom styles -->
<!-- Site CSS -->
<link href="<?= getInstallationPath() ?>/Public/assets/css/style.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v6.0.0-beta1/css/all.css">
</head>

<body class="text-center">

<main class="form-submit">
<main class="main-form">
<h1>404</h1>
<h5 class="text-muted"><?= translate("This page does not exist. It was most likely removed!") ?></h5>

<br>
<a class="btn btn-primary submit-button darkmode-ignore" href="./"><?= translate("Return Home") ?></a>

<p class="mt-5 mb-3 text-muted">
<a href="https://github.com/axtonprice/quickblaze-encrypt" class="text-muted no-decoration">GitHub</a> •
<a href="https://discord.gg/dP3MuBATGc" class="text-muted no-decoration">Discord</a> •
<a href="https://github.com/axtonprice/quickblaze-encrypt/releases" class="text-muted no-decoration"><?= determineSystemVersion(); ?></a>
</p>
</main>

<!-- Dark Mode Widget -->
<!-- Site Javascript -->
<script src="<?= getInstallationPath() ?>/Public/assets/js/globalFunctions.js"></script>
<script src="<?= getInstallationPath() ?>/Public/assets/js/buttonCopyURL.js"></script>
<script src="<?= getInstallationPath() ?>/Public/assets/js/formContentUpdate.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/darkmode-js.min.js"></script>
<script>
function addDarkmodeWidget() {
const options = {
time: '0.0s', // default: '0.3s'
saveInCookies: true, // default: true,
label: '🌓', // default: ''
}

const darkmode = new Darkmode(options);
darkmode.showWidget();
}
window.addEventListener('load', addDarkmodeWidget);
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>

</body>

</html>
32 changes: 9 additions & 23 deletions Public/Error/500.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,45 +8,31 @@
<meta name="description" content="<?= translate("An extremely simple, one-time view encryption message system. Send anybody passwords, or secret messages on a one-time view basis.") ?>">
<title>QuickBlaze</title>

<!-- Bootstrap core CSS -->
<link href="<?=getInstallationPath()?>/Public/assets/css/bootstrap.css" rel="stylesheet">

<!-- Custom styles -->
<link href="<?=getInstallationPath()?>/Public/assets/css/style.css" rel="stylesheet">
<!-- Site CSS -->
<link href="<?= getInstallationPath() ?>/Public/assets/css/style.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v6.0.0-beta1/css/all.css">
</head>

<body class="text-center">

<main class="form-submit">
<main class="main-form">
<h1>500</h1>
<h5 class="text-muted"><?= translate("An internal server error occurred. Please try again later!") ?></h5>

<br>
<a class="btn btn-primary submit-button darkmode-ignore" href="./"><?= translate("Return Home") ?></a>

<p class="mt-5 mb-3 text-muted">
<a href="https://github.com/axtonprice/quickblaze-encrypt" class="text-muted no-decoration">GitHub</a> •
<a href="https://discord.gg/dP3MuBATGc" class="text-muted no-decoration">Discord</a> •
<a href="https://github.com/axtonprice/quickblaze-encrypt/releases" class="text-muted no-decoration"><?= determineSystemVersion(); ?></a>
</p>
</main>

<!-- Dark Mode Widget -->
<!-- Site Javascript -->
<script src="<?= getInstallationPath() ?>/Public/assets/js/globalFunctions.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/darkmode-js.min.js"></script>
<script>
function addDarkmodeWidget() {
const options = {
time: '0.0s', // default: '0.3s'
saveInCookies: true, // default: true,
label: '🌓', // default: ''
}

const darkmode = new Darkmode(options);
darkmode.showWidget();
}
window.addEventListener('load', addDarkmodeWidget);
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>

</body>

</html>
32 changes: 10 additions & 22 deletions Public/Error/DatabaseConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,49 +4,37 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="<?=getInstallationPath()?>/Public/assets/img/favicon.png">
<link rel="icon" type="image/x-icon" href="<?= getInstallationPath() ?>/Public/assets/img/favicon.png">
<meta name="description" content="<?= translate("An extremely simple, one-time view encryption message system. Send anybody passwords, or secret messages on a one-time view basis.") ?>">
<title>QuickBlaze</title>

<!-- Bootstrap core CSS -->
<link href="<?=getInstallationPath()?>/Public/assets/css/bootstrap.css" rel="stylesheet">

<!-- Custom styles -->
<link href="<?=getInstallationPath()?>/Public/assets/css/style.css" rel="stylesheet">
<!-- Site CSS -->
<link href="<?= getInstallationPath() ?>/Public/assets/css/style.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v6.0.0-beta1/css/all.css">
</head>

<body class="text-center">

<main class="form-submit">
<main class="main-form">
<h1><?= translate("Database Error") ?></h1>
<br>
<h5 class="text-muted">
<?= translate("You have not configured the database correctly!") ?> <br><br>
<a style="text-decoration:none" href="https://github.com/axtonprice-dev/quickblaze-encrypt/#installation" target="_blank"><?= translate("Please refer to the GitHub repository.") ?></a>
</h5>

<p class="mt-5 mb-3 text-muted">
<a href="https://github.com/axtonprice/quickblaze-encrypt" class="text-muted no-decoration">GitHub</a> •
<a href="https://discord.gg/dP3MuBATGc" class="text-muted no-decoration">Discord</a> •
<a href="https://github.com/axtonprice/quickblaze-encrypt/releases" class="text-muted no-decoration"><?= determineSystemVersion(); ?></a>
</p>
</main>

<!-- Dark Mode Widget -->
<!-- Site Javascript -->
<script src="<?= getInstallationPath() ?>/Public/assets/js/globalFunctions.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/darkmode-js.min.js"></script>
<script>
function addDarkmodeWidget() {
const options = {
time: '0.0s', // default: '0.3s'
saveInCookies: true, // default: true,
label: '🌓', // default: ''
}

const darkmode = new Darkmode(options);
darkmode.showWidget();
}
window.addEventListener('load', addDarkmodeWidget);
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>

</body>

Expand Down
30 changes: 9 additions & 21 deletions Public/Error/DatabaseCredentials.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,15 @@
<meta name="description" content="<?= translate("An extremely simple, one-time view encryption message system. Send anybody passwords, or secret messages on a one-time view basis.") ?>">
<title>QuickBlaze</title>

<!-- Bootstrap core CSS -->
<link href="<?=getInstallationPath()?>/Public/assets/css/bootstrap.css" rel="stylesheet">

<!-- Custom styles -->
<link href="<?=getInstallationPath()?>/Public/assets/css/style.css" rel="stylesheet">
<!-- Site CSS -->
<link href="<?= getInstallationPath() ?>/Public/assets/css/style.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v6.0.0-beta1/css/all.css">
</head>

<body class="text-center">

<main class="form-submit">
<main class="main-form">
<h1><?= translate("Database Error") ?></h1>
<br>
<h5 class="text-muted">
Expand All @@ -32,22 +31,11 @@
</p>
</main>

<!-- Dark Mode Widget -->
<!-- Site Javascript -->
<script src="<?= getInstallationPath() ?>/Public/assets/js/globalFunctions.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/darkmode-js.min.js"></script>
<script>
function addDarkmodeWidget() {
const options = {
time: '0.0s', // default: '0.3s'
saveInCookies: true, // default: true,
label: '🌓', // default: ''
}

const darkmode = new Darkmode(options);
darkmode.showWidget();
}
window.addEventListener('load', addDarkmodeWidget);
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>

</body>

</html>
Loading

0 comments on commit 661e9ea

Please sign in to comment.