aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPitu <[email protected]>2020-12-25 20:45:22 +0900
committerPitu <[email protected]>2020-12-25 20:45:22 +0900
commitec2f9e0d989792c1760b48e063467cf6e59c580a (patch)
tree6f447aeebe9af7be57ba15e23851a4611568ec3e /src
parentchore: style changes (diff)
downloadhost.fuwn.me-ec2f9e0d989792c1760b48e063467cf6e59c580a.tar.xz
host.fuwn.me-ec2f9e0d989792c1760b48e063467cf6e59c580a.zip
Rebrand
Diffstat (limited to 'src')
-rw-r--r--src/api/routes/albums/albumZipGET.js4
-rw-r--r--src/api/routes/albums/albumsGET.js2
-rw-r--r--src/api/routes/auth/loginPOST.js2
-rw-r--r--src/api/structures/Server.js2
-rw-r--r--src/setup.js8
-rw-r--r--src/site/assets/images/logo.pngbin45536 -> 11306 bytes
-rw-r--r--src/site/assets/styles/_bulma_colors_extender.scss10
-rw-r--r--src/site/assets/styles/style.scss16
-rw-r--r--src/site/components/footer/Footer.vue6
-rw-r--r--src/site/components/home/links/Links.vue6
-rw-r--r--src/site/components/image-modal/ImageInfo.vue42
-rw-r--r--src/site/components/image-modal/TagInfo.vue2
-rw-r--r--src/site/components/search/Search.vue4
-rw-r--r--src/site/components/uploader/Uploader.vue4
-rw-r--r--src/site/pages/a/_identifier.vue4
-rw-r--r--src/site/pages/dashboard/account.vue16
-rw-r--r--src/site/pages/dashboard/admin/settings.vue12
-rw-r--r--src/site/pages/dashboard/albums/index.vue2
-rw-r--r--src/site/pages/dashboard/tags/index.vue4
-rw-r--r--src/site/pages/faq.vue12
-rw-r--r--src/site/pages/login.vue6
-rw-r--r--src/site/pages/register.vue8
-rw-r--r--src/site/plugins/axios.js2
-rw-r--r--src/site/static/oembed.json6
24 files changed, 90 insertions, 90 deletions
diff --git a/src/api/routes/albums/albumZipGET.js b/src/api/routes/albums/albumZipGET.js
index 26da2ba..0722f80 100644
--- a/src/api/routes/albums/albumZipGET.js
+++ b/src/api/routes/albums/albumZipGET.js
@@ -44,7 +44,7 @@ class albumGET extends Route {
Make sure the file exists just in case, and if not, continue to it's generation.
*/
if (exists) {
- const fileName = `lolisafe-${identifier}.zip`;
+ const fileName = `chibisafe-${identifier}.zip`;
return res.download(filePath, fileName);
}
}
@@ -77,7 +77,7 @@ class albumGET extends Route {
.update('zippedAt', db.fn.now());
const filePath = path.join(__dirname, '../../../../', process.env.UPLOAD_FOLDER, 'zips', `${album.userId}-${album.id}.zip`);
- const fileName = `lolisafe-${identifier}.zip`;
+ const fileName = `chibisafe-${identifier}.zip`;
return res.download(filePath, fileName);
} catch (error) {
log.error(error);
diff --git a/src/api/routes/albums/albumsGET.js b/src/api/routes/albums/albumsGET.js
index 93a23e3..8d238a9 100644
--- a/src/api/routes/albums/albumsGET.js
+++ b/src/api/routes/albums/albumsGET.js
@@ -11,7 +11,7 @@ class albumsGET extends Route {
/*
Let's fetch the albums. This route will only return a small portion
of the album files for displaying on the dashboard. It's probably useless
- for anyone consuming the API outside of the lolisafe frontend.
+ for anyone consuming the API outside of the chibisafe frontend.
*/
const albums = await db
.table('albums')
diff --git a/src/api/routes/auth/loginPOST.js b/src/api/routes/auth/loginPOST.js
index 71867f0..373252b 100644
--- a/src/api/routes/auth/loginPOST.js
+++ b/src/api/routes/auth/loginPOST.js
@@ -34,7 +34,7 @@ class loginPOST extends Route {
Create the jwt with some data
*/
const jwt = JWT.sign({
- iss: 'lolisafe',
+ iss: 'chibisafe',
sub: user.id,
iat: moment.utc().valueOf()
}, process.env.SECRET, { expiresIn: '30d' });
diff --git a/src/api/structures/Server.js b/src/api/structures/Server.js
index cc1064f..b8952a9 100644
--- a/src/api/structures/Server.js
+++ b/src/api/structures/Server.js
@@ -35,7 +35,7 @@ class Server {
if ((req.url.includes('/api/album/') || req.url.includes('/zip')) && req.method === 'GET') return next();
// This bypasses the headers.accept if we are accessing the frontend
if (!req.url.includes('/api/') && req.method === 'GET') return next();
- if (req.headers.accept && req.headers.accept.includes('application/vnd.lolisafe.json')) return next();
+ if (req.headers.accept && req.headers.accept.includes('application/vnd.chibisafe.json')) return next();
return res.status(405).json({ message: 'Incorrect `Accept` header provided' });
});
this.server.use(bodyParser.urlencoded({ extended: true }));
diff --git a/src/setup.js b/src/setup.js
index def57f6..4a9be7f 100644
--- a/src/setup.js
+++ b/src/setup.js
@@ -16,17 +16,17 @@ async function start() {
const wizard = [
{
type: 'input',
- query: 'Port to run lolisafe in:',
+ query: 'Port to run chibisafe in:',
handle: 'SERVER_PORT'
},
{
type: 'input',
- query: 'Full domain this instance is gonna be running on (Ex: https://lolisafe.moe):',
+ query: 'Full domain this instance is gonna be running on (Ex: https://chibisafe.moe):',
handle: 'DOMAIN'
},
{
type: 'input',
- query: 'Name of the service? (Ex: lolisafe):',
+ query: 'Name of the service? (Ex: chibisafe):',
handle: 'SERVICE_NAME'
},
{
@@ -117,7 +117,7 @@ async function start() {
MAX_LINKS_PER_ALBUM: 5,
META_THEME_COLOR: '#20222b',
META_DESCRIPTION: 'Blazing fast file uploader and bunker written in node! 🚀',
- META_KEYWORDS: 'lolisafe,upload,uploader,file,vue,images,ssr,file uploader,free',
+ META_KEYWORDS: 'chibisafe,lolisafe,upload,uploader,file,vue,images,ssr,file uploader,free',
META_TWITTER_HANDLE: '@its_pitu'
};
diff --git a/src/site/assets/images/logo.png b/src/site/assets/images/logo.png
index eedc960..f72de04 100644
--- a/src/site/assets/images/logo.png
+++ b/src/site/assets/images/logo.png
Binary files differ
diff --git a/src/site/assets/styles/_bulma_colors_extender.scss b/src/site/assets/styles/_bulma_colors_extender.scss
index 69dbd1e..815e063 100644
--- a/src/site/assets/styles/_bulma_colors_extender.scss
+++ b/src/site/assets/styles/_bulma_colors_extender.scss
@@ -3,14 +3,14 @@
@import "../../../node_modules/bulma/sass/utilities/functions";
// Setup our custom colors
-$lolisafe: #323846;
-$lolisafe-invert: findColorInvert($lolisafe);
+$chibisafe: #323846;
+$chibisafe-invert: findColorInvert($chibisafe);
// XXX: EXPERIMENTAL, CHECK IF WE NEED ORIGINAL PRIMARY ANYWHERE
-// $primary: $lolisafe;
-// $primary-invert: $lolisafe-invert;
+// $primary: $chibisafe;
+// $primary-invert: $chibisafe-invert;
// declare custom colors
$custom-colors: (
- "lolisafe":($lolisafe, $lolisafe-invert)
+ "chibisafe":($chibisafe, $chibisafe-invert)
);
diff --git a/src/site/assets/styles/style.scss b/src/site/assets/styles/style.scss
index 6056379..79d0c8d 100644
--- a/src/site/assets/styles/style.scss
+++ b/src/site/assets/styles/style.scss
@@ -269,9 +269,9 @@ table.table {
}
}
-.lolisafe-input input,
-.lolisafe-select select,
-.lolisafe-textarea textarea {
+.chibisafe-input input,
+.chibisafe-select select,
+.chibisafe-textarea textarea {
border: 2px solid #21252d;
border-radius: 0.3em !important;
background: rgba(0, 0, 0, 0.15);
@@ -287,7 +287,7 @@ table.table {
}
}
-.lolisafe-input .icon {
+.chibisafe-input .icon {
color: #323846 !important;
}
@@ -368,15 +368,15 @@ table.table {
align-items: center;
}
-.lolisafe-on-border.field.is-floating-label .label:before {
- background-color: $lolisafe;
+.chibisafe-on-border.field.is-floating-label .label:before {
+ background-color: $chibisafe;
}
-.is-lolisafe.divider::after, .is-lolisafe.divider::before {
+.is-chibisafe.divider::after, .is-chibisafe.divider::before {
background-color: #21252d;
}
-.lolisafe.taginput {
+.chibisafe.taginput {
.taginput-container {
background-color: #21252d;
border: 2px solid #21252d;
diff --git a/src/site/components/footer/Footer.vue b/src/site/components/footer/Footer.vue
index 3e7fda3..7d65505 100644
--- a/src/site/components/footer/Footer.vue
+++ b/src/site/components/footer/Footer.vue
@@ -3,7 +3,7 @@
<div class="container">
<div class="columns">
<div class="column is-narrow">
- <h4>lolisafe</h4>
+ <h4>chibisafe</h4>
<span>© 2017-{{ getYear }}
<a
href="https://github.com/pitu"
@@ -12,7 +12,7 @@
<span>v{{ version }}</span>
</div>
<div class="column is-narrow bottom-up">
- <a href="https://github.com/weebdev/lolisafe">GitHub</a>
+ <a href="https://github.com/weebdev/chibisafe">GitHub</a>
<a href="https://patreon.com/pitu">Patreon</a>
<a href="https://discord.gg/5g6vgwn">Discord</a>
</div>
@@ -55,7 +55,7 @@ export default {
"FileFormName": "files[]",
"Headers": {
"authorization": "Bearer ${this.token}",
- "accept": "application/vnd.lolisafe.json"
+ "accept": "application/vnd.chibisafe.json"
},
"ResponseType": "Text",
"URL": "$json:url$",
diff --git a/src/site/components/home/links/Links.vue b/src/site/components/home/links/Links.vue
index 7be76f2..05915b9 100644
--- a/src/site/components/home/links/Links.vue
+++ b/src/site/components/home/links/Links.vue
@@ -1,12 +1,12 @@
<template>
<div class="links">
<a
- href="https://github.com/WeebDev/lolisafe"
+ href="https://github.com/WeebDev/chibisafe"
target="_blank"
class="link">
<header class="bd-footer-star-header">
<h4 class="bd-footer-title">GitHub</h4>
- <p class="bd-footer-subtitle">Deploy your own lolisafe</p>
+ <p class="bd-footer-subtitle">Deploy your own chibisafe</p>
</header>
</a>
<div
@@ -64,7 +64,7 @@ export default {
"FileFormName": "files[]",
"Headers": {
"authorization": "Bearer ${this.$store.state.token}",
- "accept": "application/vnd.lolisafe.json"
+ "accept": "application/vnd.chibisafe.json"
},
"ResponseType": "Text",
"URL": "$json:url$",
diff --git a/src/site/components/image-modal/ImageInfo.vue b/src/site/components/image-modal/ImageInfo.vue
index 9c7d73b..fdea285 100644
--- a/src/site/components/image-modal/ImageInfo.vue
+++ b/src/site/components/image-modal/ImageInfo.vue
@@ -1,5 +1,5 @@
<template>
- <div class="container has-background-lolisafe">
+ <div class="container has-background-chibisafe">
<div class="columns is-marginless">
<div class="column image-col has-centered-items">
<img v-if="!isVideo(file.type)" class="col-img" :src="file.url">
@@ -9,14 +9,14 @@
</div>
<div class="column data-col is-one-third">
<div class="sticky">
- <div class="divider is-lolisafe has-text-light">
+ <div class="divider is-chibisafe has-text-light">
File information
</div>
<b-field
label="ID"
label-position="on-border"
- type="is-lolisafe"
- class="lolisafe-on-border">
+ type="is-chibisafe"
+ class="chibisafe-on-border">
<div class="control">
<span class="fake-input">{{ file.id }}</span>
</div>
@@ -24,8 +24,8 @@
<b-field
label="Name"
label-position="on-border"
- type="is-lolisafe"
- class="lolisafe-on-border">
+ type="is-chibisafe"
+ class="chibisafe-on-border">
<div class="control">
<span class="fake-input">{{ file.name }}</span>
</div>
@@ -34,8 +34,8 @@
<b-field
label="Original Name"
label-position="on-border"
- type="is-lolisafe"
- class="lolisafe-on-border">
+ type="is-chibisafe"
+ class="chibisafe-on-border">
<div class="control">
<span class="fake-input">{{ file.original }}</span>
</div>
@@ -44,8 +44,8 @@
<b-field
label="IP"
label-position="on-border"
- type="is-lolisafe"
- class="lolisafe-on-border">
+ type="is-chibisafe"
+ class="chibisafe-on-border">
<div class="control">
<span class="fake-input">{{ file.ip }}</span>
</div>
@@ -54,8 +54,8 @@
<b-field
label="Link"
label-position="on-border"
- type="is-lolisafe"
- class="lolisafe-on-border">
+ type="is-chibisafe"
+ class="chibisafe-on-border">
<div class="control">
<a
class="fake-input"
@@ -67,8 +67,8 @@
<b-field
label="Size"
label-position="on-border"
- type="is-lolisafe"
- class="lolisafe-on-border">
+ type="is-chibisafe"
+ class="chibisafe-on-border">
<div class="control">
<span class="fake-input">{{ formatBytes(file.size) }}</span>
</div>
@@ -77,8 +77,8 @@
<b-field
label="Hash"
label-position="on-border"
- type="is-lolisafe"
- class="lolisafe-on-border">
+ type="is-chibisafe"
+ class="chibisafe-on-border">
<div class="control">
<span class="fake-input">{{ file.hash }}</span>
</div>
@@ -87,19 +87,19 @@
<b-field
label="Uploaded"
label-position="on-border"
- type="is-lolisafe"
- class="lolisafe-on-border">
+ type="is-chibisafe"
+ class="chibisafe-on-border">
<div class="control">
<span class="fake-input"><timeago :since="file.createdAt" /></span>
</div>
</b-field>
- <div class="divider is-lolisafe has-text-light">
+ <div class="divider is-chibisafe has-text-light">
Tags
</div>
<Taginfo :image-id="file.id" :image-tags="tags" />
- <div class="divider is-lolisafe has-text-light">
+ <div class="divider is-chibisafe has-text-light">
Albums
</div>
<Albuminfo :image-id="file.id" :image-albums="albums" :albums="tinyDetails" />
@@ -167,7 +167,7 @@ export default {
.fake-input {
font-size: 1rem !important;
height: 2.5rem;
- border-color: #323846; /* $lolisafe */
+ border-color: #323846; /* $chibisafe */
max-width: 100%;
width: 100%;
border-radius: 4px;
diff --git a/src/site/components/image-modal/TagInfo.vue b/src/site/components/image-modal/TagInfo.vue
index 756a32d..fb65343 100644
--- a/src/site/components/image-modal/TagInfo.vue
+++ b/src/site/components/image-modal/TagInfo.vue
@@ -3,7 +3,7 @@
<b-taginput
:value="selectedTags"
:data="filteredTags"
- class="lolisafe taginp"
+ class="chibisafe taginp"
ellipsis
icon="label"
placeholder="Add a tag"
diff --git a/src/site/components/search/Search.vue b/src/site/components/search/Search.vue
index 2c4e3bc..1f55691 100644
--- a/src/site/components/search/Search.vue
+++ b/src/site/components/search/Search.vue
@@ -8,7 +8,7 @@
:data="filteredHints"
:custom-selector="handleSelect"
field="name"
- class="lolisafe-input search"
+ class="chibisafe-input search"
placeholder="Search"
type="search"
open-on-focus
@@ -22,7 +22,7 @@
</template>
</SearchInput>
<p class="control">
- <b-button type="is-lolisafe" @click="onSubmit">
+ <b-button type="is-chibisafe" @click="onSubmit">
Search
</b-button>
</p>
diff --git a/src/site/components/uploader/Uploader.vue b/src/site/components/uploader/Uploader.vue
index 6d17e4a..70acf91 100644
--- a/src/site/components/uploader/Uploader.vue
+++ b/src/site/components/uploader/Uploader.vue
@@ -127,7 +127,7 @@ export default {
maxFilesize: this.config.maxFileSize,
previewTemplate: this.$refs.template.innerHTML,
dictDefaultMessage: 'Drag & Drop your files or click to browse',
- headers: { Accept: 'application/vnd.lolisafe.json' }
+ headers: { Accept: 'application/vnd.chibisafe.json' }
};
this.showDropzone = true;
if (this.loggedIn) this.getAlbums();
@@ -152,7 +152,7 @@ export default {
*/
updateDropzoneConfig() {
this.$refs.el.setOption('headers', {
- Accept: 'application/vnd.lolisafe.json',
+ Accept: 'application/vnd.chibisafe.json',
Authorization: this.token ? `Bearer ${this.token}` : '',
albumId: this.selectedAlbum ? this.selectedAlbum : null
});
diff --git a/src/site/pages/a/_identifier.vue b/src/site/pages/a/_identifier.vue
index c1e6179..11e557b 100644
--- a/src/site/pages/a/_identifier.vue
+++ b/src/site/pages/a/_identifier.vue
@@ -109,10 +109,10 @@ export default {
meta: [
{ vmid: 'theme-color', name: 'theme-color', content: '#30a9ed' },
{ vmid: 'twitter:card', name: 'twitter:card', content: 'summary' },
- { vmid: 'twitter:title', name: 'twitter:title', content: 'lolisafe' },
+ { vmid: 'twitter:title', name: 'twitter:title', content: 'chibisafe' },
{ vmid: 'twitter:description', name: 'twitter:description', content: 'A modern and self-hosted file upload service that can handle anything you throw at it. Fast uploads, file manager and sharing capabilities all crafted with a beautiful user experience in mind.' },
{ vmid: 'og:url', property: 'og:url', content: `${this.config.URL}/a/${this.$route.params.identifier}` },
- { vmid: 'og:title', property: 'og:title', content: 'lolisafe' },
+ { vmid: 'og:title', property: 'og:title', content: 'chibisafe' },
{ vmid: 'og:description', property: 'og:description', content: 'A modern and self-hosted file upload service that can handle anything you throw at it. Fast uploads, file manager and sharing capabilities all crafted with a beautiful user experience in mind.' }
]
};
diff --git a/src/site/pages/dashboard/account.vue b/src/site/pages/dashboard/account.vue
index 8a8249d..3a9d37c 100644
--- a/src/site/pages/dashboard/account.vue
+++ b/src/site/pages/dashboard/account.vue
@@ -16,7 +16,7 @@
message="Nothing to do here"
horizontal>
<b-input
- class="lolisafe-input"
+ class="chibisafe-input"
:value="user.username"
expanded
disabled />
@@ -28,7 +28,7 @@
horizontal>
<b-input
v-model="password"
- class="lolisafe-input"
+ class="chibisafe-input"
type="password"
expanded />
</b-field>
@@ -39,7 +39,7 @@
horizontal>
<b-input
v-model="newPassword"
- class="lolisafe-input"
+ class="chibisafe-input"
type="password"
expanded />
</b-field>
@@ -50,14 +50,14 @@
horizontal>
<b-input
v-model="reNewPassword"
- class="lolisafe-input"
+ class="chibisafe-input"
type="password"
expanded />
</b-field>
<div class="mb2 mt2 text-center">
<b-button
- type="is-lolisafe"
+ type="is-chibisafe"
@click="changePassword">
Change password
</b-button>
@@ -69,13 +69,13 @@
horizontal>
<b-field expanded>
<b-input
- class="lolisafe-input"
+ class="chibisafe-input"
:value="apiKey"
expanded
disabled />
<p class="control">
<b-button
- type="is-lolisafe"
+ type="is-chibisafe"
@click="copyKey">
Copy
</b-button>
@@ -85,7 +85,7 @@
<div class="mb2 mt2 text-center">
<b-button
- type="is-lolisafe"
+ type="is-chibisafe"
@click="promptNewAPIKey">
Request new API key
</b-button>
diff --git a/src/site/pages/dashboard/admin/settings.vue b/src/site/pages/dashboard/admin/settings.vue
index 0ec235c..71df2a6 100644
--- a/src/site/pages/dashboard/admin/settings.vue
+++ b/src/site/pages/dashboard/admin/settings.vue
@@ -17,7 +17,7 @@
horizontal>
<b-input
v-model="settings.serviceName"
- class="lolisafe-input"
+ class="chibisafe-input"
expanded />
</b-field>
@@ -27,7 +27,7 @@
horizontal>
<b-input
v-model="settings.uploadFolder"
- class="lolisafe-input"
+ class="chibisafe-input"
expanded />
</b-field>
@@ -37,7 +37,7 @@
horizontal>
<b-input
v-model="settings.linksPerAlbum"
- class="lolisafe-input"
+ class="chibisafe-input"
type="number"
expanded />
</b-field>
@@ -48,7 +48,7 @@
horizontal>
<b-input
v-model="settings.maxUploadSize"
- class="lolisafe-input"
+ class="chibisafe-input"
expanded />
</b-field>
@@ -58,7 +58,7 @@
horizontal>
<b-input
v-model="settings.filenameLength"
- class="lolisafe-input"
+ class="chibisafe-input"
expanded />
</b-field>
@@ -68,7 +68,7 @@
horizontal>
<b-input
v-model="settings.albumLinkLength"
- class="lolisafe-input"
+ class="chibisafe-input"
expanded />
</b-field>
diff --git a/src/site/pages/dashboard/albums/index.vue b/src/site/pages/dashboard/albums/index.vue
index 4f2f3e1..d2b424b 100644
--- a/src/site/pages/dashboard/albums/index.vue
+++ b/src/site/pages/dashboard/albums/index.vue
@@ -16,7 +16,7 @@
<b-field>
<b-input
v-model="newAlbumName"
- class="lolisafe-input"
+ class="chibisafe-input"
placeholder="Album name..."
type="text"
@keyup.enter.native="createAlbum" />
diff --git a/src/site/pages/dashboard/tags/index.vue b/src/site/pages/dashboard/tags/index.vue
index 5835b77..8790f47 100644
--- a/src/site/pages/dashboard/tags/index.vue
+++ b/src/site/pages/dashboard/tags/index.vue
@@ -132,13 +132,13 @@
<b-field>
<b-input
v-model="newTagName"
- class="lolisafe-input"
+ class="chibisafe-input"
placeholder="Tag name..."
type="text"
@keyup.enter.native="createTag" />
<p class="control">
<b-button
- type="is-lolisafe"
+ type="is-chibisafe"
@click="createTag">
Create tags
</b-button>
diff --git a/src/site/pages/faq.vue b/src/site/pages/faq.vue
index 9053072..049cad7 100644
--- a/src/site/pages/faq.vue
+++ b/src/site/pages/faq.vue
@@ -2,20 +2,20 @@
<!-- eslint-disable max-len -->
<div class="container has-text-left">
<h2 class="subtitle">
- What is lolisafe?
+ What is chibisafe?
</h2>
<article class="message">
<div class="message-body">
- lolisafe is an easy to use, open source and completely free file upload service. We accept your files, photos, documents, anything, and give you back a shareable link for you to send to others.
+ chibisafe is an easy to use, open source and completely free file upload service. We accept your files, photos, documents, anything, and give you back a shareable link for you to send to others.
</div>
</article>
<h2 class="subtitle">
- Can I run my own lolisafe?
+ Can I run my own chibisafe?
</h2>
<article class="message">
<div class="message-body">
- Definitely. Head to <a target="_blank" href="https://github.com/WeebDev/lolisafe">our GitHub repo</a> and follow the instructions to clone, build and deploy it by yourself. It's super easy too!
+ Definitely. Head to <a target="_blank" href="https://github.com/WeebDev/chibisafe">our GitHub repo</a> and follow the instructions to clone, build and deploy it by yourself. It's super easy too!
</div>
</article>
@@ -33,7 +33,7 @@
</h2>
<article class="message">
<div class="message-body">
- Albums are a simple way of sorting uploads together. Right now you can create albums through the dashboard and use them only with <a target="_blank" href="https://chrome.google.com/webstore/detail/loli-safe-uploader/enkkmplljfjppcdaancckgilmgoiofnj">our chrome extension</a> which will enable you to <strong>right click -&gt; send to lolisafe</strong> or to a desired album if you have any.
+ Albums are a simple way of sorting uploads together. Right now you can create albums through the dashboard and use them only with <a target="_blank" href="https://chrome.google.com/webstore/detail/lolisafe-uploader/enkkmplljfjppcdaancckgilmgoiofnj">our chrome extension</a> which will enable you to <strong>right click -&gt; send to chibisafe</strong> or to a desired album if you have any.
</div>
</article>
@@ -42,7 +42,7 @@
</h2>
<article class="message">
<div class="message-body">
- There are too many file upload services out there, and a lot of them rely on the foundations of pomf which is ancient. In a desperate and unsuccessful attempt of finding a good file uploader that's easily extendable, lolisafe was born. We give you control over your files, we give you a way to sort your uploads into albums for ease of access and we give you an api to use with ShareX or any other thing that let's you make POST requests.
+ There are too many file upload services out there, and a lot of them rely on the foundations of pomf which is ancient. In a desperate and unsuccessful attempt of finding a good file uploader that's easily extendable, chibisafe was born. We give you control over your files, we give you a way to sort your uploads into albums for ease of access and we give you an api to use with ShareX or any other thing that let's you make POST requests.
</div>
</article>
</div>
diff --git a/src/site/pages/login.vue b/src/site/pages/login.vue
index 6403aa9..1974263 100644
--- a/src/site/pages/login.vue
+++ b/src/site/pages/login.vue
@@ -12,7 +12,7 @@
<b-field>
<b-input
v-model="username"
- class="lolisafe-input"
+ class="chibisafe-input"
type="text"
placeholder="Username"
@keyup.enter.native="login" />
@@ -20,7 +20,7 @@
<b-field>
<b-input
v-model="password"
- class="lolisafe-input"
+ class="chibisafe-input"
type="password"
placeholder="Password"
password-reveal
@@ -46,7 +46,7 @@
<p class="level-item">
<b-button
size="is-medium"
- type="is-lolisafe"
+ type="is-chibisafe"
@click="login">
Login
</b-button>
diff --git a/src/site/pages/register.vue b/src/site/pages/register.vue
index 64376db..5cffc54 100644
--- a/src/site/pages/register.vue
+++ b/src/site/pages/register.vue
@@ -12,14 +12,14 @@
<b-field>
<b-input
v-model="username"
- class="lolisafe-input"
+ class="chibisafe-input"
type="text"
placeholder="Username" />
</b-field>
<b-field>
<b-input
v-model="password"
- class="lolisafe-input"
+ class="chibisafe-input"
type="password"
placeholder="Password"
password-reveal />
@@ -27,7 +27,7 @@
<b-field>
<b-input
v-model="rePassword"
- class="lolisafe-input"
+ class="chibisafe-input"
type="password"
placeholder="Re-type Password"
password-reveal
@@ -50,7 +50,7 @@
<p class="level-item">
<b-button
size="is-medium"
- type="is-lolisafe"
+ type="is-chibisafe"
:disabled="isLoading"
@click="register">
Register
diff --git a/src/site/plugins/axios.js b/src/site/plugins/axios.js
index e252425..1c54488 100644
--- a/src/site/plugins/axios.js
+++ b/src/site/plugins/axios.js
@@ -1,5 +1,5 @@
export default function({ $axios, store }) {
- $axios.setHeader('accept', 'application/vnd.lolisafe.json');
+ $axios.setHeader('accept', 'application/vnd.chibisafe.json');
$axios.onRequest(config => {
if (store.state.auth.token) {
diff --git a/src/site/static/oembed.json b/src/site/static/oembed.json
index 55dc845..fed6ff9 100644
--- a/src/site/static/oembed.json
+++ b/src/site/static/oembed.json
@@ -1,6 +1,6 @@
{
- "title": "lolisafe",
+ "title": "chibisafe",
"author_name": "Blazing fast file uploader and bunker written in node! 🚀",
- "provider_name": "lolisafe",
- "provider_url": "https://lolisafe.moe"
+ "provider_name": "chibisafe",
+ "provider_url": "https://chibisafe.moe"
}