Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
chore(name): smoll change
Browse files Browse the repository at this point in the history
  • Loading branch information
tovade committed Jan 26, 2022
1 parent 1fe24f9 commit df2040d
Show file tree
Hide file tree
Showing 24 changed files with 36 additions and 35 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# FyreActyl
# Fyreactyl

This is a fork of dashactyl all credits go to them.
We highly discourage you to not ask support in votion development and instead ask in the [Fyre Developers Discord](https://discord.gg/mufvdGjKpP)

## What is FyreActyl?
## What is Fyreactyl?

FyreActyl is a fork of dashactyl with custom features.
Fyreactyl is a fork of dashactyl with custom features.

## Installation

FyreActyl doesn't require additional installation methods so you can just follow the [Dashactyl](https://docs.votion.dev/docs/Dashactyl/introduction/) installation method.
Fyreactyl doesn't require additional installation methods so you can just follow the [Dashactyl](https://docs.votion.dev/docs/Dashactyl/introduction/) installation method.

## License

FyreActyl uses apache 2.0 as a license, you can remove the credits if its a private project. If it isn't please keep the credits in the footer.
Fyreactyl uses apache 2.0 as a license, you can remove the credits if its a private project. If it isn't please keep the credits in the footer.

## Example's

Expand Down
15 changes: 7 additions & 8 deletions db.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async function createSettings(id) {
"INSERT INTO settings (id, name, smtp_server, smtp_port, smtp_user, smtp_pass) VALUES (?, ?, ?, ?, ?, ?)",
[
id,
"FyreActyl",
"Fyreactyl",
process.env.mail.server,
process.env.mail.port,
process.env.mail.user,
Expand Down Expand Up @@ -729,17 +729,16 @@ module.exports = {
});
}
},
async allAccounts () {
async allAccounts() {
return new Promise((resolve, reject) => {
pool.query('SELECT * FROM accounts', function (error, results, fields) {
if (error) return reject(error)
pool.query("SELECT * FROM accounts", function (error, results, fields) {
if (error) return reject(error);

resolve(results)
})
})
resolve(results);
});
});
},


async claimCoupon(code) {
const check_if_coupon_exists = await this.getCouponInfo(code);
if (check_if_coupon_exists) {
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/admin/actions/blacklist.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
overflow-x: hidden;
}
</style>
<title>Hope UI | <%= dbSettings.name %></title>
<title>Blacklist | <%= dbSettings.name %></title>

<!-- Favicon -->
<link rel="shortcut icon" href="../../assets/images/favicon.ico" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/admin/actions/coins.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
overflow-x: hidden;
}
</style>
<title>Hope UI | <%= dbSettings.name %></title>
<title>Coins | <%= dbSettings.name %></title>

<!-- Favicon -->
<link rel="shortcut icon" href="../../assets/images/favicon.ico" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/admin/actions/coupon.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
overflow-x: hidden;
}
</style>
<title>Hope UI | <%= dbSettings.name %></title>
<title>Coupons | <%= dbSettings.name %></title>

<!-- Favicon -->
<link rel="shortcut icon" href="../../assets/images/favicon.ico" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/admin/actions/package.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
overflow-x: hidden;
}
</style>
<title>Hope UI | <%= dbSettings.name %></title>
<title>Package management | <%= dbSettings.name %></title>

<!-- Favicon -->
<link rel="shortcut icon" href="../../assets/images/favicon.ico" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/admin/actions/resources.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
overflow-x: hidden;
}
</style>
<title>Hope UI | <%= dbSettings.name %></title>
<title>Resources | <%= dbSettings.name %></title>

<!-- Favicon -->
<link rel="shortcut icon" href="../../assets/images/favicon.ico" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/admin/main.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
overflow-x: hidden;
}
</style>
<title>Hope UI | <%= dbSettings.name%></title>
<title>Statistics | <%= dbSettings.name%></title>

<!-- Favicon -->
<link rel="shortcut icon" href="../assets/images/favicon.ico" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/admin/settings.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
overflow-x: hidden;
}
</style>
<title>Hope UI | <%= dbSettings.name%>></title>
<title>Settings | <%= dbSettings.name%>></title>

<!-- Favicon -->
<link rel="shortcut icon" href="../assets/images/favicon.ico" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/dashboard/dashboard.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
overflow-x: hidden;
}
</style>
<title>Hope UI | <%= dbSettings.name %></title>
<title>Dashboard | <%= dbSettings.name %></title>

<!-- Favicon -->
<link rel="shortcut icon" href="../assets/images/favicon.ico" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/dashboard/store.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Hope UI | <%= dbSettings.name %></title>
<title>Store | <%= dbSettings.name %></title>
<style>
body {
overflow-x: hidden;
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/earn/afk.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Hope UI | <%= dbSettings.name %></title>
<title>Afk | <%= dbSettings.name %></title>
<style>
body {
overflow-x: hidden;
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/earn/redeem.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Hope UI | <%= dbSettings.name %></title>
<title>Redeem code | <%= dbSettings.name %></title>

<!-- Favicon -->
<link rel="shortcut icon" href="../assets/images/favicon.ico" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/errors/404.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>Hope UI | <%= dbSettings.name %></title>
<title>404 | <%= dbSettings.name %></title>

<!-- Favicon -->
<link rel="shortcut icon" href="../../assets/images/favicon.ico" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/errors/nopermission.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>Hope UI | <%= dbSettings.name %></title>
<title>403 | <%= dbSettings.name %></title>

<!-- Favicon -->
<link rel="shortcut icon" href="../../assets/images/favicon.ico" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/errors/rendererror.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>Hope UI | <%= dbSettings.name %></title>
<title>404 | <%= dbSettings.name %></title>

<!-- Favicon -->
<link rel="shortcut icon" href="../../assets/images/favicon.ico" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/extra/privacy-policy.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
overflow-x: hidden;
}
</style>
<title>FireActyl | <%= dbSettings.name %></title>
<title>Privacy Policy | <%= dbSettings.name %></title>

<!-- Favicon -->
<link rel="shortcut icon" href="../../assets/images/favicon.ico" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/extra/tos.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>FireActyl | <%= dbSettings.name %></title>
<title>Terms Of Service | <%= dbSettings.name %></title>

<style>
body {
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/login.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>Hope UI | <%= dbSettings.name %></title>
<title>Log in | <%= dbSettings.name %></title>

<!-- Favicon -->
<link rel="shortcut icon" href="../../assets/images/favicon.ico" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/reset/password.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>Hope UI | <%= dbSettings.name %></title>
<title>Reset password | <%= dbSettings.name %></title>

<!-- Favicon -->
<link rel="shortcut icon" href="../../assets/images/favicon.ico" />
Expand Down
4 changes: 3 additions & 1 deletion frontend/pages/reset/request.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>Hope UI | Responsive Bootstrap 5 Admin Dashboard Template</title>
<title>
Reset password | Responsive Bootstrap 5 Admin Dashboard Template
</title>

<!-- Favicon -->
<link rel="shortcut icon" href="../../assets/images/favicon.ico" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/server/create.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Hope UI | <%= dbSettings.name %></title>
<title>Create server | <%= dbSettings.name %></title>

<!-- Favicon -->
<link rel="shortcut icon" href="../assets/images/favicon.ico" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/server/modify.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Hope UI | <%= dbSettings.name %></title>
<title>Edit server | <%= dbSettings.name %></title>

<!-- Favicon -->
<link rel="shortcut icon" href="../assets/images/favicon.ico" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/singup.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>Hope UI | <%= dbSettings.name %></title>
<title>Sign up | <%= dbSettings.name %></title>

<!-- Favicon -->
<link rel="shortcut icon" href="../../assets/images/favicon.ico" />
Expand Down

0 comments on commit df2040d

Please sign in to comment.