hi troplo
This commit is contained in:
parent
5a2448b4ff
commit
351f3cd981
6 changed files with 45 additions and 450 deletions
|
@ -3,7 +3,7 @@ import VueI18n from 'vue-i18n'
|
||||||
|
|
||||||
Vue.use(VueI18n)
|
Vue.use(VueI18n)
|
||||||
|
|
||||||
function loadLocaleMessages () {
|
function loadLocaleMessages() {
|
||||||
const locales = require.context('./locales', true, /[A-Za-z0-9-_,\s]+\.json$/i)
|
const locales = require.context('./locales', true, /[A-Za-z0-9-_,\s]+\.json$/i)
|
||||||
const messages = {}
|
const messages = {}
|
||||||
locales.keys().forEach(key => {
|
locales.keys().forEach(key => {
|
||||||
|
|
|
@ -1,203 +0,0 @@
|
||||||
{
|
|
||||||
"404": {
|
|
||||||
"title": "systemctl start httpd??",
|
|
||||||
"text": "Error 521 Ray ID: 4f3226667865dc3b how to fix",
|
|
||||||
"quoteText": "There is currently 2900 WIND quotes available",
|
|
||||||
"windQuote": "without https works",
|
|
||||||
"home": "£1m"
|
|
||||||
},
|
|
||||||
"login": {
|
|
||||||
"title": "dont tell anyone the new domain",
|
|
||||||
"login": "im never firing you btw your my best friend xzd xd",
|
|
||||||
"loginPassword": "I mean cyrex would still have the £75 but I'll give user it back bit by bit",
|
|
||||||
"loginUsername": "u wanna help now?",
|
|
||||||
"doNotSaveAuth": "yo yo",
|
|
||||||
"register": "Don't have an account?"
|
|
||||||
},
|
|
||||||
"register": {
|
|
||||||
"title": "no I am not, I am wlnd, aka Alex",
|
|
||||||
"text": "i just need the phpmyadmin login details",
|
|
||||||
"username": "honestly go fuck yourself",
|
|
||||||
"email": "this is fucking dumb",
|
|
||||||
"password": "would mind doing me a favour",
|
|
||||||
"confirm": "dont tell anyone",
|
|
||||||
"login": "can i get my twitter handle back lol",
|
|
||||||
"agree": "Price has been reduced to £10 "
|
|
||||||
},
|
|
||||||
"teams": {
|
|
||||||
"createTeam": "Create Team",
|
|
||||||
"joinTeam": "Join Team",
|
|
||||||
"join": "Join",
|
|
||||||
"invite": "Invite",
|
|
||||||
"viewPermissions": "View role permissions",
|
|
||||||
"devBanner": "Teams are currently in development, expect missing features.",
|
|
||||||
"view": "View",
|
|
||||||
"viewTeam": "View Team",
|
|
||||||
"memberRoles": "Members and Roles",
|
|
||||||
"members": "Members",
|
|
||||||
"roles": "Roles",
|
|
||||||
"items": "Created Items",
|
|
||||||
"foundedAt": "Team was founded at",
|
|
||||||
"teamWall": "Team Wall",
|
|
||||||
"teamWallText": "'s Team Wall",
|
|
||||||
"verified": "Verified Team",
|
|
||||||
"admin": {
|
|
||||||
"text": "Team Administration",
|
|
||||||
"nav": {
|
|
||||||
"general": "General",
|
|
||||||
"roles": "Roles",
|
|
||||||
"members": "Members",
|
|
||||||
"privacy": "Privacy",
|
|
||||||
"invites": "Invites",
|
|
||||||
"forum": "Forum",
|
|
||||||
"verification": "Verification"
|
|
||||||
},
|
|
||||||
"general": {
|
|
||||||
"title": "General",
|
|
||||||
"name": "Name",
|
|
||||||
"description": "Description",
|
|
||||||
"saveTeam": "Save Team",
|
|
||||||
"modifyPicture": "Modify Team avatar"
|
|
||||||
},
|
|
||||||
"roles": {
|
|
||||||
"title": "Roles",
|
|
||||||
"addRole": "Add Role",
|
|
||||||
"saveOrder": "Save role order",
|
|
||||||
"modifying": "Modifying",
|
|
||||||
"name": "Chosen role name",
|
|
||||||
"permissions": "Permissions",
|
|
||||||
"creating": "Creating a role"
|
|
||||||
},
|
|
||||||
"members": {
|
|
||||||
"title": "Members",
|
|
||||||
"modifyRoles": "Modify user roles",
|
|
||||||
"removeAllRoles": "Remove all roles from user"
|
|
||||||
},
|
|
||||||
"privacy": {
|
|
||||||
"title": "Team Privacy",
|
|
||||||
"teamWall": "Opt out of team walls",
|
|
||||||
"disallowForum": "Disallow anyone from viewing/creating on your Team Forum"
|
|
||||||
},
|
|
||||||
"invites": {
|
|
||||||
"title": "Invites",
|
|
||||||
"code": "Code",
|
|
||||||
"uses": "Uses",
|
|
||||||
"maxUses": "Max Uses",
|
|
||||||
"createdBy": "Created by",
|
|
||||||
"date": "Date",
|
|
||||||
"delete": "Delete selected",
|
|
||||||
"generate": "Generate invite"
|
|
||||||
},
|
|
||||||
"invite": {
|
|
||||||
"title": "Invite people to",
|
|
||||||
"amountUses": "Amount of uses (0 is Unlimited)",
|
|
||||||
"role": "Please select a role for the user to be auto assigned (optional)",
|
|
||||||
"refresh": "Refresh",
|
|
||||||
"inviteURL": "Invite URL",
|
|
||||||
"domain": "https://kaverti.com/invite/"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"permissionTypes": {
|
|
||||||
"inviteUsers": "Invite users",
|
|
||||||
"administrator": "Administrator",
|
|
||||||
"modifyRoles": "Modify roles/permissions/users",
|
|
||||||
"modifyTeamSettings": "Modify team settings",
|
|
||||||
"teamForum": "Modify team forum configuration",
|
|
||||||
"forumModerator": "Forum moderation permissions",
|
|
||||||
"forumAdmin": "Forum administrator",
|
|
||||||
"submitMarketplace": "Submit Marketplace items",
|
|
||||||
"priorityValue": "Set priority value"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"navbar": {
|
|
||||||
"home": "ok £50 extra",
|
|
||||||
"forums": "can u fix that for £10 extra",
|
|
||||||
"marketplace": "£30 Its the last thing im asking for troplo.",
|
|
||||||
"downloads": "dont tell anyone who i am here",
|
|
||||||
"games": "have u seen bloxtopia's games",
|
|
||||||
"users": "as i was not payed yet",
|
|
||||||
"teams": "leave me alone",
|
|
||||||
"dev": {
|
|
||||||
"title": "i might come back to development",
|
|
||||||
"fakeUser": "user : root",
|
|
||||||
"debug": "fixed the hta"
|
|
||||||
},
|
|
||||||
"user": {
|
|
||||||
"title": "Unknown",
|
|
||||||
"profile": "My Profile",
|
|
||||||
"creations": "My Creations",
|
|
||||||
"downloads": "Downloads",
|
|
||||||
"avatar": "My Avatar",
|
|
||||||
"transactions": "Transactions",
|
|
||||||
"settings": "Settings",
|
|
||||||
"logout": "Logout"
|
|
||||||
},
|
|
||||||
"more": {
|
|
||||||
"title": "a",
|
|
||||||
"twitter": "Twitter",
|
|
||||||
"discord": "Discord",
|
|
||||||
"roadmap": "Roadmap",
|
|
||||||
"documentation": "API Docs",
|
|
||||||
"stats": "Kaverti Stats"
|
|
||||||
},
|
|
||||||
"register": "u got the .net?",
|
|
||||||
"login": "/phpmyadmin"
|
|
||||||
},
|
|
||||||
"debug": {
|
|
||||||
"title": "Debug mode enabled",
|
|
||||||
"authUser": "Authenticated user",
|
|
||||||
"state": "State dump",
|
|
||||||
"userState": "User state dump",
|
|
||||||
"token": "Auth token in state",
|
|
||||||
"disable": "Disable debug options",
|
|
||||||
"auth": "Test authentication"
|
|
||||||
},
|
|
||||||
"errors": {
|
|
||||||
"authFail": "i control the files",
|
|
||||||
"devBuild": "ok so i put this and it instantly redirects to unbale",
|
|
||||||
"disableDebug": "Debug mode disabled, you will no longer have access to development features until you refresh.",
|
|
||||||
"authSuccess": "Request successful, your token is valid, and the Kaverti server instance is running correctly."
|
|
||||||
},
|
|
||||||
"user": {
|
|
||||||
"title": "Loading",
|
|
||||||
"about": "About",
|
|
||||||
"more": "More of",
|
|
||||||
"posts": "Posts",
|
|
||||||
"threads": "Threads",
|
|
||||||
"inventory": "Inventory",
|
|
||||||
"awards": "Awards",
|
|
||||||
"items": "Items",
|
|
||||||
"wall": "User Wall",
|
|
||||||
"description": "Description",
|
|
||||||
"created": "Registered at"
|
|
||||||
},
|
|
||||||
"stats": {
|
|
||||||
"title": "Stats",
|
|
||||||
"users": "Registered users",
|
|
||||||
"purchased": "Purchased items",
|
|
||||||
"items": "Uploaded items",
|
|
||||||
"posts": "Forum posts",
|
|
||||||
"threads": "Threads",
|
|
||||||
"teams": "Teams"
|
|
||||||
},
|
|
||||||
"settings": {
|
|
||||||
"title": "User Settings",
|
|
||||||
"general": {
|
|
||||||
"title": "General"
|
|
||||||
},
|
|
||||||
"security": {
|
|
||||||
"title": "Security"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"languages": {
|
|
||||||
"title": "(Locale Select) can you put out an announcement on the kaverti server",
|
|
||||||
"en": "(English) ill pay extra with the tet domain if u do £50 infact £100",
|
|
||||||
"wind": "(Windspeak) are you having a bubble",
|
|
||||||
"debug": "(Debug) hello mr trooooplooo"
|
|
||||||
},
|
|
||||||
"currency": "fuck you",
|
|
||||||
"close": "I've just told the full truth to logan",
|
|
||||||
"tos": "get the fuck over it, it was never a scam",
|
|
||||||
"gotIt": "that is wind for you",
|
|
||||||
"errorModalTitle": "{INSERT PHP ERROR} We'll you are getting paid alot"
|
|
||||||
}
|
|
|
@ -13,7 +13,7 @@ import enUS from "@kangc/v-md-editor/lib/lang/en-US";
|
||||||
import createHljsTheme from "@kangc/v-md-editor/lib/theme/hljs";
|
import createHljsTheme from "@kangc/v-md-editor/lib/theme/hljs";
|
||||||
import json from "highlight.js/lib/languages/json";
|
import json from "highlight.js/lib/languages/json";
|
||||||
const hljsTheme = createHljsTheme();
|
const hljsTheme = createHljsTheme();
|
||||||
import io from "socket.io-client"
|
import io from "socket.io-client";
|
||||||
import VueSocketIO from "vue-socket.io";
|
import VueSocketIO from "vue-socket.io";
|
||||||
import NProgress from "vue-nprogress";
|
import NProgress from "vue-nprogress";
|
||||||
|
|
||||||
|
|
|
@ -15,12 +15,9 @@
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
data() {
|
name: "404"
|
||||||
return {
|
|
||||||
quote: null,
|
|
||||||
}
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
|
@ -1,166 +1,33 @@
|
||||||
<template>
|
<template>
|
||||||
<main class="section">
|
<div id="forum-thread">
|
||||||
<b-modal v-model="postModal">
|
|
||||||
<div class="editor">
|
|
||||||
<editor-menu-bar :editor="editor" v-slot="{ commands, isActive }">
|
|
||||||
<div class="menubar">
|
|
||||||
|
|
||||||
<button
|
|
||||||
class="menubar__button"
|
|
||||||
:class="{ 'is-active': isActive.bold() }"
|
|
||||||
@click="commands.bold"
|
|
||||||
>
|
|
||||||
<icon name="bold" />
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button
|
|
||||||
class="menubar__button"
|
|
||||||
:class="{ 'is-active': isActive.italic() }"
|
|
||||||
@click="commands.italic"
|
|
||||||
>
|
|
||||||
<icon name="italic" />
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button
|
|
||||||
class="menubar__button"
|
|
||||||
:class="{ 'is-active': isActive.strike() }"
|
|
||||||
@click="commands.strike"
|
|
||||||
>
|
|
||||||
<icon name="strike" />
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button
|
|
||||||
class="menubar__button"
|
|
||||||
:class="{ 'is-active': isActive.underline() }"
|
|
||||||
@click="commands.underline"
|
|
||||||
>
|
|
||||||
<icon name="underline" />
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button
|
|
||||||
class="menubar__button"
|
|
||||||
:class="{ 'is-active': isActive.code() }"
|
|
||||||
@click="commands.code"
|
|
||||||
>
|
|
||||||
<icon name="code" />
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button
|
|
||||||
class="menubar__button"
|
|
||||||
:class="{ 'is-active': isActive.paragraph() }"
|
|
||||||
@click="commands.paragraph"
|
|
||||||
>
|
|
||||||
<icon name="paragraph" />
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button
|
|
||||||
class="menubar__button"
|
|
||||||
:class="{ 'is-active': isActive.heading({ level: 1 }) }"
|
|
||||||
@click="commands.heading({ level: 1 })"
|
|
||||||
>
|
|
||||||
H1
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button
|
|
||||||
class="menubar__button"
|
|
||||||
:class="{ 'is-active': isActive.heading({ level: 2 }) }"
|
|
||||||
@click="commands.heading({ level: 2 })"
|
|
||||||
>
|
|
||||||
H2
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button
|
|
||||||
class="menubar__button"
|
|
||||||
:class="{ 'is-active': isActive.heading({ level: 3 }) }"
|
|
||||||
@click="commands.heading({ level: 3 })"
|
|
||||||
>
|
|
||||||
H3
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button
|
|
||||||
class="menubar__button"
|
|
||||||
:class="{ 'is-active': isActive.bullet_list() }"
|
|
||||||
@click="commands.bullet_list"
|
|
||||||
>
|
|
||||||
<icon name="ul" />
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button
|
|
||||||
class="menubar__button"
|
|
||||||
:class="{ 'is-active': isActive.ordered_list() }"
|
|
||||||
@click="commands.ordered_list"
|
|
||||||
>
|
|
||||||
<icon name="ol" />
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button
|
|
||||||
class="menubar__button"
|
|
||||||
:class="{ 'is-active': isActive.blockquote() }"
|
|
||||||
@click="commands.blockquote"
|
|
||||||
>
|
|
||||||
<icon name="quote" />
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button
|
|
||||||
class="menubar__button"
|
|
||||||
:class="{ 'is-active': isActive.code_block() }"
|
|
||||||
@click="commands.code_block"
|
|
||||||
>
|
|
||||||
<icon name="code" />
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button
|
|
||||||
class="menubar__button"
|
|
||||||
@click="commands.horizontal_rule"
|
|
||||||
>
|
|
||||||
<icon name="hr" />
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button
|
|
||||||
class="menubar__button"
|
|
||||||
@click="commands.undo"
|
|
||||||
>
|
|
||||||
<icon name="undo" />
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button
|
|
||||||
class="menubar__button"
|
|
||||||
@click="commands.redo"
|
|
||||||
>
|
|
||||||
<icon name="redo" />
|
|
||||||
</button>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</editor-menu-bar>
|
<!-- <main class="section">-->
|
||||||
|
<!-- <h1 class="title">{{thread.name}} <b-tag v-if="thread.locked">Locked</b-tag><b-button @click="replyToThread()"><i class="fas fa-reply-all"></i></b-button></h1>-->
|
||||||
<editor-content class="editor__content" :editor="editor" />
|
<!-- <div class="">-->
|
||||||
</div>
|
<!-- <div class="column" v-for='(post) in thread.Posts' :key='"threadPost-" + post.id'>-->
|
||||||
</b-modal>
|
<!-- <article class="media box">-->
|
||||||
<h1 class="title">{{thread.name}} <b-tag v-if="thread.locked">Locked</b-tag><b-button @click="replyToThread()"><i class="fas fa-reply-all"></i></b-button></h1>
|
<!-- <figure class="media-left">-->
|
||||||
<div class="">
|
<!-- <p class="image is-64x64">-->
|
||||||
<div class="column" v-for='(post) in thread.Posts' :key='"threadPost-" + post.id'>
|
<!-- <img :src="'https://cdn.kaverti.com/user/avatars/headshot/' + post.User.picture + '.png'">-->
|
||||||
<article class="media box">
|
<!-- </p>-->
|
||||||
<figure class="media-left">
|
<!-- </figure>-->
|
||||||
<p class="image is-64x64">
|
<!-- <div class="media-content">-->
|
||||||
<img :src="'https://cdn.kaverti.com/user/avatars/headshot/' + post.User.picture + '.png'">
|
<!-- <div class="content">-->
|
||||||
</p>
|
<!-- <p>-->
|
||||||
</figure>
|
<!-- <strong>{{post.User.username}}</strong> <small>{{ post.createdAt | formatDate }}</small>-->
|
||||||
<div class="media-content">
|
<!-- <br>-->
|
||||||
<div class="content">
|
<!-- <p>-->
|
||||||
<p>
|
<!-- <div v-html="post.content"></div>-->
|
||||||
<strong>{{post.User.username}}</strong> <small>{{ post.createdAt | formatDate }}</small>
|
<!-- </div>-->
|
||||||
<br>
|
<!-- </div>-->
|
||||||
<p>
|
<!-- <div class="media-right">-->
|
||||||
<div v-html="post.content"></div>
|
<!-- <b-button @click="replyToPost(post)"><i class="fas fa-reply"></i></b-button>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
<!-- </article>-->
|
||||||
<div class="media-right">
|
<!-- </div>-->
|
||||||
<b-button @click="replyToPost(post)"><i class="fas fa-reply"></i></b-button>
|
<!-- </div>-->
|
||||||
</div>
|
<!-- </main>-->
|
||||||
</article>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</main>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -229,7 +96,7 @@ export default {
|
||||||
|
|
||||||
},
|
},
|
||||||
replyToPost(post) {
|
replyToPost(post) {
|
||||||
post
|
this.postModal = true;
|
||||||
},
|
},
|
||||||
getThread(initial) {
|
getThread(initial) {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
|
|
|
@ -1,66 +0,0 @@
|
||||||
const Dotenv = require('dotenv-webpack');
|
|
||||||
var WebpackAutoInject = require('webpack-auto-inject-version');
|
|
||||||
const fs = require("fs");
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
devServer: {
|
|
||||||
proxy: 'http://localhost:23981',
|
|
||||||
//disableHostCheck: true, // dev.kaverti.flowinity
|
|
||||||
//host: 'dev.kaverti.flowinity',
|
|
||||||
/*
|
|
||||||
https: {
|
|
||||||
cert: fs.readFileSync('C:/ssl/troplo/certificate.crt'),
|
|
||||||
key: fs.readFileSync('C:/ssl/troplo/private.key'),
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
},
|
|
||||||
|
|
||||||
publicPath: '/',
|
|
||||||
productionSourceMap: false,
|
|
||||||
|
|
||||||
configureWebpack: {
|
|
||||||
plugins: [
|
|
||||||
new Dotenv(),
|
|
||||||
new WebpackAutoInject({
|
|
||||||
// specify the name of the tag in the outputed files eg
|
|
||||||
// bundle.js: [SHORT] Version: 0.13.36 ...
|
|
||||||
SHORT: 'Kaverti AIV',
|
|
||||||
SILENT: false,
|
|
||||||
PACKAGE_JSON_PATH: './package.json',
|
|
||||||
PACKAGE_JSON_INDENT: 4,
|
|
||||||
components: {
|
|
||||||
AutoIncreaseVersion: true,
|
|
||||||
InjectAsComment: true,
|
|
||||||
InjectByTag: true
|
|
||||||
},
|
|
||||||
componentsOptions: {
|
|
||||||
AutoIncreaseVersion: {
|
|
||||||
runInWatchMode: true // it will increase version with every single build!
|
|
||||||
},
|
|
||||||
InjectAsComment: {
|
|
||||||
tag: 'Kaverti Version: {version}, Build Date: {date}',
|
|
||||||
dateFormat: 'dd/mm/yyyy; hh:MM:ss TT', // change timezone: `UTC:h:MM:ss` or `GMT:h:MM:ss`
|
|
||||||
multiLineCommentType: false, // use `/** */` instead of `//` as comment block
|
|
||||||
},
|
|
||||||
InjectByTag: {
|
|
||||||
fileRegex: /\.+/,
|
|
||||||
AIVTagRegexp: /(\[AIV])(([a-zA-Z{} ,:;!()_@\-"'\\\/])+)(\[\/AIV])/g,
|
|
||||||
dateFormat: 'dd/mm/yyyy; hh:MM:ss TT'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
LOGS_TEXT: {
|
|
||||||
AIS_START: 'Kaverti AIV started'
|
|
||||||
}
|
|
||||||
})
|
|
||||||
]
|
|
||||||
},
|
|
||||||
|
|
||||||
pluginOptions: {
|
|
||||||
i18n: {
|
|
||||||
locale: 'en',
|
|
||||||
fallbackLocale: 'debug',
|
|
||||||
localeDir: 'locales',
|
|
||||||
enableInSFC: false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue