mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-13 16:06:21 +00:00
9e9b0d4439
Updated some dev dependencies. --- Gulp will now build CSS/JS files during development into dist-dev directory, to prevent IDE's Git from unnecessarily building diff's. Added dist-dev to ignore files. --- The entire config fille will now be passed to Nunjuck templates for ease of access of config values. Root domain for use in Nunjuck templates will now be parsed from config. Better page titles. Updated help message for "Uploads history order" option in homepage's config tab. Added "Load images for preview" option to homepage's config tab. Setting this to false will now prevent image uploads from loading themselves for previews. Uploads' original names in homepage's uploads history are now selectable. Min/max length for user/pass are now enforced in auth's front-end. Improved performance of album public pages. Their generated HTML pages will now be cached into memory. Unfortunately, No-JS version of their pages will be cached separately, so each album may take up to double the memory space. File names in thumbnails no longer have their full URLs as tooltips. I saw no point in that behavior. Added video icons. Homepage's uploads history will now display video icons for videos. "View thumbnail" button in Dashboard is now renamed to "Show preview". Their icons will also be changed depending on their file types. Added max length for albums' title & description. These will be enforced both in front-end and back-end. Existing albums that have surpassed the limits will not be enforced. A few other small improvements.
111 lines
2.8 KiB
Plaintext
111 lines
2.8 KiB
Plaintext
{% set name = "safe.fiery.me" %}
|
|
{% set motto = "A small safe worth protecting." %}
|
|
{% set description = "A pomf-like file uploading service that doesn't suck." %}
|
|
{% set keywords = "upload,lolisafe,file,images,hosting,bobby,fiery" %}
|
|
|
|
{% set home_subtitle = "A <strong>modern</strong> self-hosted file upload service" %}
|
|
|
|
{% set google_site_verification = null %}
|
|
|
|
{#
|
|
This will be appended to the URLs of static files (CSS, JS, images, etc),
|
|
and should be changed on every updates to make sure clients load the very latest version of them.
|
|
v1: CSS and JS files (lolisafe).
|
|
v2: Images and config files (manifest.json, browserconfig.xml, etc).
|
|
v3: CSS and JS files (libs such as bulma, lazyload, etc).
|
|
v4: Renders in /public/render/* directories (to be used by render.js).
|
|
#}
|
|
{% set v1 = "iDzQ0dov5j" %}
|
|
{% set v2 = "hiboQUzAzp" %}
|
|
{% set v3 = "iDzQ0dov5j" %}
|
|
{% set v4 = "S3TAWpPeFS" %}
|
|
|
|
{#
|
|
These will be the links in the homepage and the No-JS uploader.
|
|
You may remove icons by changing "home_icons" to false.
|
|
It will then automatically use "attrs.title" as the display text.
|
|
Note: No-JS uploader page will have icons disabled by default (it will also not load fontello.css).
|
|
#}
|
|
{% set home_icons = true %}
|
|
{% set home_links = [
|
|
{
|
|
attrs: {
|
|
title: 'Home',
|
|
href: 'https://fiery.me'
|
|
},
|
|
icon: 'icon-home icon-2x'
|
|
},
|
|
{
|
|
attrs: {
|
|
title: 'Blog (Gatsby)',
|
|
href: 'https://blog.fiery.me'
|
|
},
|
|
icon: 'icon-gatsby icon-2x'
|
|
},
|
|
{
|
|
attrs: {
|
|
title: 'Paste (PrivateBin)',
|
|
href: 'https://paste.fiery.me'
|
|
},
|
|
icon: 'icon-privatebin icon-2x'
|
|
},
|
|
{
|
|
attrs: {
|
|
id: 'ShareX',
|
|
title: 'ShareX user profile',
|
|
href: 'https://safe.fiery.me/safe.fiery.me.sxcu?v=' + v2
|
|
},
|
|
icon: 'icon-sharex icon-2x'
|
|
},
|
|
{
|
|
attrs: {
|
|
title: 'Firefox extension',
|
|
href: 'https://addons.mozilla.org/en-US/firefox/addon/lolisafe/',
|
|
target: '_blank',
|
|
rel: 'noopener'
|
|
},
|
|
icon: 'icon-firefox icon-2x'
|
|
},
|
|
{
|
|
attrs: {
|
|
title: 'Chrome extension',
|
|
href: 'https://chrome.google.com/webstore/detail/loli-safe-uploader/enkkmplljfjppcdaancckgilmgoiofnj',
|
|
target: '_blank',
|
|
rel: 'noopener'
|
|
},
|
|
icon: 'icon-chrome icon-2x'
|
|
},
|
|
{
|
|
attrs: {
|
|
title: 'Bash uploader',
|
|
href: 'https://github.com/BobbyWibowo/uguush/tree/fiery-kde',
|
|
target: '_blank',
|
|
rel: 'noopener'
|
|
},
|
|
icon: 'icon-terminal icon-2x'
|
|
},
|
|
{
|
|
attrs: {
|
|
title: 'FAQ',
|
|
href: 'faq'
|
|
},
|
|
icon: 'icon-help-circled icon-2x'
|
|
},
|
|
{
|
|
attrs: {
|
|
title: 'Dashboard',
|
|
href: 'auth'
|
|
},
|
|
icon: 'icon-gauge icon-2x'
|
|
},
|
|
{
|
|
attrs: {
|
|
title: 'View on GitHub',
|
|
href: 'https://github.com/BobbyWibowo/lolisafe',
|
|
target: '_blank',
|
|
rel: 'noopener'
|
|
},
|
|
icon: 'icon-github-circled icon-2x'
|
|
}
|
|
] %}
|