mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-13 16:06:21 +00:00
5bb960756f
uploadController.js: * Fixed chunk uploads failing when "blockedExtensions" is missing from the config file. config.sample.js: * Renamed "blockedExtensions" to "extensionsFilter", and added a new option named "filterBlacklist". When "filterBlacklist" is set to 'true', all extensions in "extensionsFilter" array will be blacklisted, otherwise it will be a whitelist, so only files with those extensions that can be uploaded. * Renamed "uploads.chunkedUploads.maxSize" to "uploads.chunkedUploads.chunkSize". * Added "uploads.chunkedUploads.noJsMaxSize" which can be used to change the 'displayed' file size on the No-JS uploader page. * Some other phrases updates. _globals.njk: * Updated static files' version string since there is a small update to home.js. other files: * Regular code improvements/tweaks.
91 lines
2.1 KiB
Plaintext
91 lines
2.1 KiB
Plaintext
{% set name = "safe.fiery.me" %}
|
|
{% set root = "https://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" %}
|
|
|
|
{#
|
|
This will be appended to all CSS and JS files,
|
|
and should be changed on every updates to make sure clients load the very latest version of them.
|
|
#}
|
|
{% set v = "aSRDjST7cs" %}
|
|
|
|
{#
|
|
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.
|
|
#}
|
|
{% set home_icons = true %}
|
|
{% set home_links = [
|
|
{
|
|
attrs: {
|
|
title: 'Home',
|
|
href: 'https://fiery.me'
|
|
},
|
|
icon: 'icon-home icon-2x'
|
|
},
|
|
{
|
|
attrs: {
|
|
title: 'Blog',
|
|
href: 'https://blog.fiery.me'
|
|
},
|
|
icon: 'icon-archive icon-2x'
|
|
},
|
|
{
|
|
attrs: {
|
|
id: 'ShareX',
|
|
title: 'ShareX',
|
|
href: 'https://safe.fiery.me/safe.fiery.me.sxcu'
|
|
},
|
|
icon: 'icon-sharex icon-2x'
|
|
},
|
|
{
|
|
attrs: {
|
|
title: 'Chrome extension',
|
|
href: 'https://chrome.google.com/webstore/detail/loli-safe-uploader/enkkmplljfjppcdaancckgilmgoiofnj',
|
|
target: '_blank'
|
|
},
|
|
icon: 'icon-chrome icon-2x'
|
|
},
|
|
{
|
|
attrs: {
|
|
title: 'Firefox extension',
|
|
href: 'https://github.com/BobbyWibowo/loli-safe-extension/releases',
|
|
target: '_blank'
|
|
},
|
|
icon: 'icon-firefox icon-2x'
|
|
},
|
|
{
|
|
attrs: {
|
|
title: 'Bash uploader',
|
|
href: 'https://github.com/BobbyWibowo/uguush/tree/lolisafe-kde',
|
|
target: '_blank'
|
|
},
|
|
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'
|
|
},
|
|
icon: 'icon-github-circled icon-2x'
|
|
}
|
|
] %}
|