diff options
Diffstat (limited to 'src')
35 files changed, 103 insertions, 106 deletions
diff --git a/src/api/routes/auth/loginPOST.js b/src/api/routes/auth/loginPOST.js index cc72145..665d0a3 100644 --- a/src/api/routes/auth/loginPOST.js +++ b/src/api/routes/auth/loginPOST.js @@ -35,7 +35,7 @@ class loginPOST extends Route { Create the jwt with some data */ const jwt = JWT.sign({ - iss: 'chibisafe', + iss: 'hostess', sub: user.id, iat: moment.utc().valueOf() }, Util.config.secret, { expiresIn: '30d' }); diff --git a/src/api/scripts/overwriteConfig.js b/src/api/scripts/overwriteConfig.js index 0355ea6..05a1b73 100644 --- a/src/api/scripts/overwriteConfig.js +++ b/src/api/scripts/overwriteConfig.js @@ -5,7 +5,7 @@ const Util = require('../utils/Util'); const start = async () => { try { await Util.writeConfigToDb(Util.getEnvironmentDefaults()); - console.log('Configuration overwriten, you can now start chibisafe'); + console.log('Configuration overwriten, you can now start Hostess'); process.exit(0); } catch (error) { console.error(error); diff --git a/src/api/structures/Server.js b/src/api/structures/Server.js index b63d06d..859a97f 100644 --- a/src/api/structures/Server.js +++ b/src/api/structures/Server.js @@ -43,7 +43,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.chibisafe.json')) return next(); + if (req.headers.accept && req.headers.accept.includes('application/vnd.hostess.json')) return next(); return res.status(405).json({ message: 'Incorrect `Accept` header provided' }); }); this.server.use(bodyParser.urlencoded({ extended: true })); diff --git a/src/api/structures/Setting.js b/src/api/structures/Setting.js index bb37834..a622e04 100644 --- a/src/api/structures/Setting.js +++ b/src/api/structures/Setting.js @@ -118,7 +118,7 @@ const schema = Joi.object({ .label('Meta description') .description('Short and accurate summary of the content of the page'), - metaKeywords: Joi.string().default('chibisafe,lolisafe,upload,uploader,file,vue,images,ssr,file uploader,free') + metaKeywords: Joi.string().default('hostess,strelizia,fuwn,upload,uploader,file,vue,images,ssr,file uploader,free') .meta({ section: Sections.SOCIAL_AND_SHARING }) diff --git a/src/api/utils/Util.js b/src/api/utils/Util.js index b243b2b..81b8a2d 100644 --- a/src/api/utils/Util.js +++ b/src/api/utils/Util.js @@ -57,8 +57,8 @@ class Util { // eslint-disable-next-line eqeqeq userAccounts: process.env.USER_ACCOUNTS == undefined ? true : false, metaThemeColor: process.env.META_THEME_COLOR || '#20222b', - metaDescription: process.env.META_DESCRIPTION || 'Blazing fast file uploader and bunker written in node! 🚀', - metaKeywords: process.env.META_KEYWORDS || 'chibisafe,lolisafe,upload,uploader,file,vue,images,ssr,file uploader,free', + metaDescription: process.env.META_DESCRIPTION || 'Hostess - Objectively the best, fastest, and most secure file host there is.', + metaKeywords: process.env.META_KEYWORDS || 'hostess,strelizia,fuwn,upload,uploader,file,vue,images,ssr,file uploader,free', metaTwitterHandle: process.env.META_TWITTER_HANDLE || '@your-handle', backgroundImageURL: process.env.BACKGROUND_IMAGE_URL || '', logoURL: process.env.LOGO_URL || '', diff --git a/src/setup.js b/src/setup.js index 997a251..a38bf52 100644 --- a/src/setup.js +++ b/src/setup.js @@ -15,12 +15,12 @@ async function start() { const wizard = [ { type: 'input', - query: 'Full domain this instance is gonna be running on (Ex: https://my-super-chibisafe.xyz):', + query: 'Full domain this instance is gonna be running on (Ex: https://hostess.fuwn.me):', handle: 'DOMAIN' }, { type: 'input', - query: 'Port to run chibisafe in? (default: 5000)', + query: 'Port to run Hostess in? (default: 5000)', handle: 'SERVER_PORT' }, { diff --git a/src/site/assets/images/background.jpg b/src/site/assets/images/background.jpg Binary files differindex d3e1862..a206c50 100644 --- a/src/site/assets/images/background.jpg +++ b/src/site/assets/images/background.jpg diff --git a/src/site/assets/images/background.jpg.bak b/src/site/assets/images/background.jpg.bak Binary files differnew file mode 100644 index 0000000..d3e1862 --- /dev/null +++ b/src/site/assets/images/background.jpg.bak diff --git a/src/site/assets/images/logo.png b/src/site/assets/images/logo.png Binary files differindex f72de04..430b689 100644 --- a/src/site/assets/images/logo.png +++ b/src/site/assets/images/logo.png diff --git a/src/site/assets/images/logo.png.bak b/src/site/assets/images/logo.png.bak Binary files differnew file mode 100644 index 0000000..f72de04 --- /dev/null +++ b/src/site/assets/images/logo.png.bak diff --git a/src/site/assets/styles/_bulma_colors_extender.scss b/src/site/assets/styles/_bulma_colors_extender.scss index ce406c4..acf9166 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 -$chibisafe: #323846; -$chibisafe-invert: findColorInvert($chibisafe); +$hostess: #323846; +$hostess-invert: findColorInvert($hostess); // XXX: EXPERIMENTAL, CHECK IF WE NEED ORIGINAL PRIMARY ANYWHERE -// $primary: $chibisafe; -// $primary-invert: $chibisafe-invert; +// $primary: $hostess; +// $primary-invert: $hostess-invert; // declare custom colors $custom-colors: ( - "chibisafe":($chibisafe, $chibisafe-invert) + "hostess":($hostess, $hostess-invert) ); diff --git a/src/site/assets/styles/style.scss b/src/site/assets/styles/style.scss index 1152f43..a1a0e0f 100644 --- a/src/site/assets/styles/style.scss +++ b/src/site/assets/styles/style.scss @@ -269,9 +269,9 @@ table.table { } } -.chibisafe-input input, -.chibisafe-select select, -.chibisafe-textarea textarea { +.hostess-input input, +.hostess-select select, +.hostess-textarea textarea { border: 2px solid #21252d; border-radius: 0.3em !important; background: rgba(0, 0, 0, 0.15); @@ -287,7 +287,7 @@ table.table { } } -.chibisafe-input .icon { +.hostess-input .icon { color: #323846 !important; } @@ -368,15 +368,15 @@ table.table { align-items: center; } -.chibisafe-on-border.field.is-floating-label .label:before { - background-color: $chibisafe; +.hostess-on-border.field.is-floating-label .label:before { + background-color: $hostess; } -.is-chibisafe.divider::after, .is-chibisafe.divider::before { +.is-hostess.divider::after, .is-hostess.divider::before { background-color: #21252d; } -.chibisafe.taginput { +.hostess.taginput { .taginput-container { background-color: #21252d; border: 2px solid #21252d; diff --git a/src/site/components/footer/Footer.test.js b/src/site/components/footer/Footer.test.js index 379f939..4f89b26 100644 --- a/src/site/components/footer/Footer.test.js +++ b/src/site/components/footer/Footer.test.js @@ -16,10 +16,10 @@ describe('Footer.vue', () => { } }); - it('Should render chibisafe as the instance title', () => { + it('Should render Hostess as the instance title', () => { const wrapper = shallowMount(Component, { store, localVue }); const title = wrapper.find('h4'); - expect(title.text()).toBe('chibisafe'); + expect(title.text()).toBe('Hostess'); }); }); diff --git a/src/site/components/footer/Footer.vue b/src/site/components/footer/Footer.vue index 0e3cceb..c0df64c 100644 --- a/src/site/components/footer/Footer.vue +++ b/src/site/components/footer/Footer.vue @@ -3,24 +3,23 @@ <div class="container"> <div class="columns"> <div class="column is-narrow"> - <h4>chibisafe</h4> - <span>© 2017-{{ getYear }} + <h4>Hostess</h4> + <span>© 2022-{{ getYear }} <a - href="https://github.com/pitu" - class="no-block">Pitu</a> + href="https://fuwn.me" + class="no-block">Fuwn</a> </span><br> <span>{{ version }}</span> </div> <div class="column is-narrow bottom-up"> - <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> + <a href="https://github.com/Fuwn">GitHub</a> + <a href="mailto: [email protected]">Contact</a> </div> <div class="column is-narrow bottom-up"> <a v-if="loggedIn" @click="createShareXThing">ShareX Config</a> - <a href="https://chrome.google.com/webstore/detail/lolisafe-uploader/enkkmplljfjppcdaancckgilmgoiofnj">Chrome Extension</a> + <!-- <a href="https://chrome.google.com/webstore/detail/lolisafe-uploader/enkkmplljfjppcdaancckgilmgoiofnj">Chrome Extension</a> --> </div> </div> </div> @@ -56,7 +55,7 @@ export default { "FileFormName": "files[]", "Headers": { "token": "${this.apiKey}", - "accept": "application/vnd.chibisafe.json" + "accept": "application/vnd.hostess.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 6777f44..a8ade00 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/chibisafe" + href="https://github.com/Fuwn/Hostess" 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 chibisafe</p> + <p class="bd-footer-subtitle">Deploy your own Hostess</p> </header> </a> <div @@ -66,7 +66,7 @@ export default { "FileFormName": "files[]", "Headers": { "token": "${this.apiKey}", - "accept": "application/vnd.chibisafe.json" + "accept": "application/vnd.hostess.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 fdea285..cc02c34 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-chibisafe"> + <div class="container has-background-hostess"> <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-chibisafe has-text-light"> + <div class="divider is-hostess has-text-light"> File information </div> <b-field label="ID" label-position="on-border" - type="is-chibisafe" - class="chibisafe-on-border"> + type="is-hostess" + class="hostess-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-chibisafe" - class="chibisafe-on-border"> + type="is-hostess" + class="hostess-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-chibisafe" - class="chibisafe-on-border"> + type="is-hostess" + class="hostess-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-chibisafe" - class="chibisafe-on-border"> + type="is-hostess" + class="hostess-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-chibisafe" - class="chibisafe-on-border"> + type="is-hostess" + class="hostess-on-border"> <div class="control"> <a class="fake-input" @@ -67,8 +67,8 @@ <b-field label="Size" label-position="on-border" - type="is-chibisafe" - class="chibisafe-on-border"> + type="is-hostess" + class="hostess-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-chibisafe" - class="chibisafe-on-border"> + type="is-hostess" + class="hostess-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-chibisafe" - class="chibisafe-on-border"> + type="is-hostess" + class="hostess-on-border"> <div class="control"> <span class="fake-input"><timeago :since="file.createdAt" /></span> </div> </b-field> - <div class="divider is-chibisafe has-text-light"> + <div class="divider is-hostess has-text-light"> Tags </div> <Taginfo :image-id="file.id" :image-tags="tags" /> - <div class="divider is-chibisafe has-text-light"> + <div class="divider is-hostess 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; /* $chibisafe */ + border-color: #323846; /* $hostess */ 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 fb65343..a34a800 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="chibisafe taginp" + class="hostess 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 1f55691..ec7aa32 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="chibisafe-input search" + class="hostess-input search" placeholder="Search" type="search" open-on-focus @@ -22,7 +22,7 @@ </template> </SearchInput> <p class="control"> - <b-button type="is-chibisafe" @click="onSubmit"> + <b-button type="is-hostess" @click="onSubmit"> Search </b-button> </p> diff --git a/src/site/components/settings/JoiObject.vue b/src/site/components/settings/JoiObject.vue index f369ebb..313d38f 100644 --- a/src/site/components/settings/JoiObject.vue +++ b/src/site/components/settings/JoiObject.vue @@ -10,13 +10,13 @@ <b-input v-if="getDisplayType(field) === 'string'" v-model="values[key]" - class="chibisafe-input" + class="hostess-input" expanded /> <b-input v-else-if="getDisplayType(field) === 'number'" v-model="values[key]" type="number" - class="chibisafe-input" + class="hostess-input" :min="getMin(field)" :max="getMax(field)" expanded /> diff --git a/src/site/components/uploader/Uploader.vue b/src/site/components/uploader/Uploader.vue index e645149..95cab9d 100644 --- a/src/site/components/uploader/Uploader.vue +++ b/src/site/components/uploader/Uploader.vue @@ -127,7 +127,7 @@ export default { maxFilesize: this.config.maxUploadSize, previewTemplate: this.$refs.template.innerHTML, dictDefaultMessage: 'Drag & Drop your files or click to browse', - headers: { Accept: 'application/vnd.chibisafe.json' } + headers: { Accept: 'application/vnd.hostess.json' } }; this.showDropzone = true; if (this.loggedIn) this.getAlbums(); @@ -152,7 +152,7 @@ export default { */ updateDropzoneConfig() { this.$refs.el.setOption('headers', { - Accept: 'application/vnd.chibisafe.json', + Accept: 'application/vnd.hostess.json', Authorization: this.token ? `Bearer ${this.token}` : '', albumId: this.selectedAlbum ? this.selectedAlbum : null }); diff --git a/src/site/layouts/default.vue b/src/site/layouts/default.vue index 1a53292..ee246e7 100644 --- a/src/site/layouts/default.vue +++ b/src/site/layouts/default.vue @@ -51,7 +51,7 @@ export default { mounted() { // eslint-disable-next-line no-console console.log( - `%c chibisafe %c v${this.config.version} %c`, + `%c hostess %c ${this.config.version} %c`, 'background:#35495e; padding: 1px; border-radius: 3px 0 0 3px; color: #fff', 'background:#ff015b; padding: 1px; border-radius: 0 3px 3px 0; color: #fff', 'background:transparent' @@ -89,6 +89,7 @@ html { height: 100vh; width: 100%; pointer-events: none; + filter: blur(5px); background-image: url('~assets/images/background.jpg'); // Uncomment the following to test different backgrounds /* diff --git a/src/site/pages/dashboard/account.vue b/src/site/pages/dashboard/account.vue index 5d5d775..037a323 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="chibisafe-input" + class="hostess-input" :value="user.username" expanded disabled /> @@ -28,7 +28,7 @@ horizontal> <b-input v-model="password" - class="chibisafe-input" + class="hostess-input" type="password" expanded /> </b-field> @@ -39,7 +39,7 @@ horizontal> <b-input v-model="newPassword" - class="chibisafe-input" + class="hostess-input" type="password" expanded /> </b-field> @@ -50,14 +50,14 @@ horizontal> <b-input v-model="reNewPassword" - class="chibisafe-input" + class="hostess-input" type="password" expanded /> </b-field> <div class="mb2 mt2 text-center"> <b-button - type="is-chibisafe" + type="is-hostess" @click="changePassword"> Change password </b-button> @@ -69,13 +69,13 @@ horizontal> <b-field expanded> <b-input - class="chibisafe-input" + class="hostess-input" :value="apiKey" expanded disabled /> <p class="control"> <b-button - type="is-chibisafe" + type="is-hostess" @click="copyKey"> Copy </b-button> @@ -85,7 +85,7 @@ <div class="mb2 mt2 text-center"> <b-button - type="is-chibisafe" + type="is-hostess" @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 09bf895..89dcb37 100644 --- a/src/site/pages/dashboard/admin/settings.vue +++ b/src/site/pages/dashboard/admin/settings.vue @@ -75,7 +75,7 @@ export default { methods: { promptRestartService() { this.$buefy.dialog.confirm({ - message: 'Certain changes need for you to manually restart your chibisafe instance, please do so from the terminal. Continue?', + message: 'Certain changes need for you to manually restart your Hostess instance, please do so from the terminal. Continue?', onConfirm: () => this.saveSettings() }); }, diff --git a/src/site/pages/dashboard/admin/users.vue b/src/site/pages/dashboard/admin/users.vue index 556049d..b0adf5b 100644 --- a/src/site/pages/dashboard/admin/users.vue +++ b/src/site/pages/dashboard/admin/users.vue @@ -13,7 +13,7 @@ <div class="view-container"> <button v-if="!isCreateUserOpen" - class="button is-chibisafe" + class="button is-hostess" @click="isCreateUserOpen = true"> New user </button> @@ -24,14 +24,14 @@ <b-field> <b-input v-model="username" - class="chibisafe-input" + class="hostess-input" type="text" placeholder="Username" /> </b-field> <b-field> <b-input v-model="password" - class="chibisafe-input" + class="hostess-input" type="password" placeholder="Password" password-reveal @@ -41,7 +41,7 @@ <!-- Left side --> <div class="level-left"> <div class="level-item"> - <button class="button is-chibisafe" + <button class="button is-hostess" @click="cleanUpRegister"> Cancel </button> @@ -51,7 +51,7 @@ <div class="level-right"> <p class="level-item"> <b-button - type="is-chibisafe" + type="is-hostess" :disabled="isLoading" @click="register"> Register diff --git a/src/site/pages/dashboard/albums/index.vue b/src/site/pages/dashboard/albums/index.vue index 686edc3..1a63d1a 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="chibisafe-input" + class="hostess-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 0a24b81..c87a6f2 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="chibisafe-input" + class="hostess-input" placeholder="Tag name..." type="text" @keyup.enter.native="createTag" /> <p class="control"> <b-button - type="is-chibisafe" + type="is-hostess" @click="createTag"> Create tags </b-button> diff --git a/src/site/pages/faq.vue b/src/site/pages/faq.vue index b6acc95..2b286e5 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 chibisafe? + What is Hostess? </h2> <article class="message"> <div class="message-body"> - 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. + Hostess 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 chibisafe? + Can I run my own Hostess? </h2> <article class="message"> <div class="message-body"> - 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! + Definitely. Head to <a target="_blank" href="https://github.com/Fuwn/hostess">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/lolisafe-uploader/enkkmplljfjppcdaancckgilmgoiofnj">our chrome extension</a> which will enable you to <strong>right click -> send to chibisafe</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 -> send to Hostess</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, 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. + 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, Hostess 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/index.vue b/src/site/pages/index.vue index a9e02a1..65c82f2 100644 --- a/src/site/pages/index.vue +++ b/src/site/pages/index.vue @@ -6,12 +6,9 @@ <div class="leftSpacer"> <div class="mainBlock"> <div> - <h4>Blazing fast file uploader. For real.</h4> + <h4>Hostess</h4> <p> - A <strong>modern</strong> and self-hosted file upload service that can handle anything you throw at it. - </p> - <p> - With a fast API, chunked file uploads out of the box, beautiful masonry-style file manager and both individual and album sharing capabilities, this little tool was crafted with the best user experience in mind.<br> + Objectively the best, fastest, and most secure file host there is. </p> <div class="mt4" /> <Uploader v-if="config.publicMode || (!config.publicMode && loggedIn)" /> @@ -21,7 +18,7 @@ This site has disabled public uploads. You need an account. </div> - <Links /> + <!-- <Links /> --> </div> </div> </div> diff --git a/src/site/pages/login.vue b/src/site/pages/login.vue index 03ad445..ddc3671 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="chibisafe-input" + class="hostess-input" type="text" placeholder="Username" @keyup.enter.native="login" /> @@ -20,7 +20,7 @@ <b-field> <b-input v-model="password" - class="chibisafe-input" + class="hostess-input" type="password" placeholder="Password" password-reveal @@ -46,7 +46,7 @@ <p class="level-item"> <b-button size="is-medium" - type="is-chibisafe" + type="is-hostess" @click="login"> Login </b-button> diff --git a/src/site/pages/register.vue b/src/site/pages/register.vue index 90ffb4b..20a22b6 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="chibisafe-input" + class="hostess-input" type="text" placeholder="Username" /> </b-field> <b-field> <b-input v-model="password" - class="chibisafe-input" + class="hostess-input" type="password" placeholder="Password" password-reveal /> @@ -27,7 +27,7 @@ <b-field> <b-input v-model="rePassword" - class="chibisafe-input" + class="hostess-input" type="password" placeholder="Re-type Password" password-reveal @@ -50,7 +50,7 @@ <p class="level-item"> <b-button size="is-medium" - type="is-chibisafe" + type="is-hostess" :disabled="isLoading" @click="register"> Register diff --git a/src/site/plugins/axios.js b/src/site/plugins/axios.js index 1c54488..cdcfc01 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.chibisafe.json'); + $axios.setHeader('accept', 'application/vnd.hostess.json'); $axios.onRequest(config => { if (store.state.auth.token) { diff --git a/src/site/static/logo.png b/src/site/static/logo.png Binary files differindex 500445b..430b689 100644 --- a/src/site/static/logo.png +++ b/src/site/static/logo.png diff --git a/src/site/static/logo.png.bak b/src/site/static/logo.png.bak Binary files differnew file mode 100644 index 0000000..500445b --- /dev/null +++ b/src/site/static/logo.png.bak diff --git a/src/site/static/oembed.json b/src/site/static/oembed.json index fed6ff9..92b46aa 100644 --- a/src/site/static/oembed.json +++ b/src/site/static/oembed.json @@ -1,6 +1,6 @@ { - "title": "chibisafe", - "author_name": "Blazing fast file uploader and bunker written in node! 🚀", - "provider_name": "chibisafe", - "provider_url": "https://chibisafe.moe" + "title": "Hostess", + "author_name": "Hostess - Objectively the best, fastest, most secure file host there is.", + "provider_name": "hostess", + "provider_url": "https://host.fuwn.me" } diff --git a/src/tests/utils.js b/src/tests/utils.js index 3634ed9..5bec660 100644 --- a/src/tests/utils.js +++ b/src/tests/utils.js @@ -3,7 +3,7 @@ const instance = axios.create({ baseURL: 'http://localhost:5000', headers: { common: { - accept: 'application/vnd.chibisafe.json' + accept: 'application/vnd.hostess.json' } } }); |