Skip to content

Commit

Permalink
0.5.0-alpha3
Browse files Browse the repository at this point in the history
  • Loading branch information
etherxr committed Jan 9, 2025
1 parent 0e6295b commit e7d82b7
Show file tree
Hide file tree
Showing 37 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ redisClient.on('connect', () => {
});

// Version information
const VERSION = "0.5.0-alpha2";
const VERSION = "0.5.0-alpha3";
const PLATFORM_CODENAME = "Adelante";
const PLATFORM_LEVEL = 'release 121';

Expand Down
4 changes: 2 additions & 2 deletions app/dist/assets/js/index-Cuah7aaC.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class ErrorBoundary extends React.Component {
</AccordionTrigger>
<AccordionContent>
<div className="space-y-2 text-sm text-muted-foreground">
<p>Version: Prism 0.5.0-alpha2</p>
<p>Version: Prism 0.5.0-alpha3</p>
<p>Codename: Adelante</p>
<p>Platform: 120</p>
<p>User Agent: {navigator.userAgent}</p>
Expand Down
2 changes: 1 addition & 1 deletion app/src/components/LoadingScreen.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function LoadingScreen() {
{/* Center Content */}
<div className="flex flex-col items-center gap-8">
<Loader2 className="h-10 w-10 text-white animate-spin" />
<div className="font-mono text-xs text-neutral-500">Prism 0.5.0-alpha2 (Adelante)</div>
<div className="font-mono text-xs text-neutral-500">Prism 0.5.0-alpha3 (Adelante)</div>
</div>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion example_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ auto_update = false # Automatically update Prism on boot
# ---------------------------------
platform_codename = "Adelante"
platform_level = 120 # channel: stable - 06-01-2025 (Adelante R)
version = "0.5.0-alpha2"
version = "0.5.0-alpha3"

# ---------------------------------
# Additional Settings
Expand Down
2 changes: 1 addition & 1 deletion modules/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async function checkAdminStatus(req, res, settings, db) {
let checkAdmin = checkAdminStatus;

/* Ensure platform release target is met */
const PrismModule = { "name": "Admin", "api_level": 3, "target_platform": "0.5.0-alpha2" };
const PrismModule = { "name": "Admin", "api_level": 3, "target_platform": "0.5.0-alpha3" };

if (PrismModule.target_platform !== settings.version) {
console.log('Module ' + PrismModule.name + ' does not support this platform release of Prism. The module was built for platform ' + PrismModule.target_platform + ' but is attempting to run on version ' + settings.version + '.')
Expand Down
2 changes: 1 addition & 1 deletion modules/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const settings = loadConfig("./config.toml");
const PrismModule = {
"name": "API v5",
"api_level": 3,
"target_platform": "0.5.0-alpha2"
"target_platform": "0.5.0-alpha3"
};

if (PrismModule.target_platform !== settings.version) {
Expand Down
2 changes: 1 addition & 1 deletion modules/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const { renderFile } = require("ejs");

const RESEND_API_KEY = settings.api.client.resend.api_key;

const PrismModule = { "name": "User/Password Auth with Email", "api_level": 3, "target_platform": "0.5.0-alpha2" };
const PrismModule = { "name": "User/Password Auth with Email", "api_level": 3, "target_platform": "0.5.0-alpha3" };

if (PrismModule.target_platform !== settings.version) {
console.log('Module ' + PrismModule.name + ' does not support this platform release of Prism. The module was built for platform ' + PrismModule.target_platform + ' but is attempting to run on version ' + settings.version + '.')
Expand Down
2 changes: 1 addition & 1 deletion modules/extras.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const fetch = require("node-fetch");
const Queue = require("../handlers/Queue.js");

/* Ensure platform release target is met */
const PrismModule = { "name": "Extra Features", "api_level": 3, "target_platform": "0.5.0-alpha2" };
const PrismModule = { "name": "Extra Features", "api_level": 3, "target_platform": "0.5.0-alpha3" };

if (PrismModule.target_platform !== settings.version) {
console.log('Module ' + PrismModule.name + ' does not support this platform release of Prism. The module was built for platform ' + PrismModule.target_platform + ' but is attempting to run on version ' + settings.version + '.')
Expand Down
2 changes: 1 addition & 1 deletion modules/referrals.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const ejs = require("ejs");
const fetch = require('node-fetch');

/* Ensure platform release target is met */
const PrismModule = { "name": "Referrals (legacy)", "api_level": 1, "target_platform": "0.5.0-alpha2" };
const PrismModule = { "name": "Referrals (legacy)", "api_level": 1, "target_platform": "0.5.0-alpha3" };

/* Module */
module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/routing.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const mime = require('mime-types');
const PrismModule = {
name: "React Panel",
api_level: 3,
target_platform: "0.5.0-alpha2"
target_platform: "0.5.0-alpha3"
};

const PROCESSABLE_EXTENSIONS = ['.html', '.js', '.css', '.json'];
Expand Down
2 changes: 1 addition & 1 deletion modules/server:allocations.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { isAuthenticated, ownsServer, PANEL_URL, API_KEY } = require("./server:co
const PrismModule = {
name: "server:allocations",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/server:backups.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { isAuthenticated, ownsServer, PANEL_URL, API_KEY } = require("./server:co
const PrismModule = {
name: "server:backups",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/server:core.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const workflowsFilePath = path.join(__dirname, "../storage/workflows.json");
const PrismModule = {
name: "server:core",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

const PANEL_URL = settings.pterodactyl.domain;
Expand Down
2 changes: 1 addition & 1 deletion modules/server:files_delete.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { isAuthenticated, ownsServer, logActivity, PANEL_URL, API_KEY } = require
const PrismModule = {
name: "server:files_delete",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/server:files_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { isAuthenticated, ownsServer, PANEL_URL, API_KEY } = require("./server:co
const PrismModule = {
name: "server:files_list",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/server:files_read.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { isAuthenticated, ownsServer, PANEL_URL, API_KEY } = require("./server:co
const PrismModule = {
name: "server:files_read",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/server:files_transfer.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { isAuthenticated, ownsServer, logActivity, PANEL_URL, API_KEY } = require
const PrismModule = {
name: "server:files_transfer",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/server:files_write.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { isAuthenticated, ownsServer, logActivity, PANEL_URL, API_KEY } = require
const PrismModule = {
name: "server:files_write",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/server:logs.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const { isAuthenticated, ownsServer } = require("./server:core.js");
const PrismModule = {
name: "server:logs",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/server:players.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const { isAuthenticated, ownsServer, sendCommandAndGetResponse } = require("./se
const PrismModule = {
name: "server:players",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/server:players_ban.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const { isAuthenticated, ownsServer, sendCommandAndGetResponse, logActivity } =
const PrismModule = {
name: "server:players_ban",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/server:plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const { isAuthenticated, ownsServer, PANEL_URL, API_KEY } = require("./server:co
const PrismModule = {
name: "server:plugins",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/server:power.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const { isAuthenticated, ownsServer, logActivity, PANEL_URL, API_KEY } = require
const PrismModule = {
name: "server:power",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/server:settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const axios = require('axios');
const PrismModule = {
"name": "Settings",
"api_level": 3,
"target_platform": "0.5.0-alpha2"
"target_platform": "0.5.0-alpha3"
};

if (PrismModule.target_platform !== settings.version) {
Expand Down
2 changes: 1 addition & 1 deletion modules/server:startup.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { isAuthenticated, ownsServer, PANEL_URL, API_KEY } = require("./server:co
const PrismModule = {
name: "server:startup",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/server:users.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { isAuthenticated, ownsServer, PANEL_URL, API_KEY } = require("./server:co
const PrismModule = {
name: "server:users",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/server:users_legacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const { isAuthenticated } = require("./server:core.js");
const PrismModule = {
name: "server:users_legacy",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/server:variables.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { isAuthenticated, ownsServer, PANEL_URL, API_KEY } = require("./server:co
const PrismModule = {
name: "server:variables",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/server:websocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { isAuthenticated, ownsServer, PANEL_URL, API_KEY } = require("./server:co
const PrismModule = {
name: "server:websocket",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/server:workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const fs = require("fs");
const PrismModule = {
name: "server:workflow",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/server:worlds.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { isAuthenticated, ownsServer, logActivity, PANEL_URL, API_KEY } = require
const PrismModule = {
name: "server:worlds",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/server:worlds_import.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { isAuthenticated, ownsServer, logActivity, PANEL_URL, API_KEY } = require
const PrismModule = {
name: "server:worlds_import",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/servers.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (settings.pterodactyl?.domain?.slice(-1) === '/') {
const PrismModule = {
name: "server:worlds",
api_level: 3,
target_platform: "0.5.0-alpha2",
target_platform: "0.5.0-alpha3",
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const settings = loadConfig("./config.toml");
const PrismModule = {
"name": "Staking",
"api_level": 2,
"target_platform": "0.5.0-alpha2"
"target_platform": "0.5.0-alpha3"
};

module.exports.PrismModule = PrismModule;
Expand Down
2 changes: 1 addition & 1 deletion modules/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { v4: uuidv4 } = require('uuid');
const PrismModule = {
"name": "Support Tickets",
"api_level": 3,
"target_platform": "0.5.0-alpha2"
"target_platform": "0.5.0-alpha3"
};

if (PrismModule.target_platform !== settings.version) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prism",
"version": "0.5.0-alpha2",
"version": "0.5.0-alpha3",
"description": "The official Heliactyl client area for the Pterodactyl Panel.",
"main": "app.js",
"author": "Matt James",
Expand Down

0 comments on commit e7d82b7

Please sign in to comment.