diff --git a/.github/xbackbone.png b/.github/xbackbone.png new file mode 100644 index 0000000..5f56b18 Binary files /dev/null and b/.github/xbackbone.png differ diff --git a/.github/xbackbone.svg b/.github/xbackbone.svg new file mode 100644 index 0000000..1387ef6 --- /dev/null +++ b/.github/xbackbone.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ef29e7..0d334ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ + Added ability to show a preview of PDF files. + Added remember me functionality. + Added delete button on the preview page if the user is logged in. ++ New project icon (by [@SerenaItalia](https://www.deviantart.com/serenaitalia)). + Raw URL now accept file extensions. + The linux script can be used on headless systems. + Improved installer. diff --git a/Gruntfile.js b/Gruntfile.js index a9ec167..7c1de23 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -101,6 +101,12 @@ module.exports = function (grunt) { src: ['dropzone.min.css', 'dropzone.min.js'], dest: 'static/dropzone' }, + { + expand: true, + cwd: 'src/images', + src: ['**/*'], + dest: 'static/images' + }, {expand: true, cwd: 'node_modules/jquery/dist', src: ['jquery.min.js'], dest: 'static/jquery'} ], }, diff --git a/README.md b/README.md index 7de83e7..df10e7d 100644 --- a/README.md +++ b/README.md @@ -1,28 +1,36 @@ -# XBackBone 📤 [![Weblate](https://hosted.weblate.org/widgets/xbackbone/-/xbackbone/svg-badge.svg)](https://hosted.weblate.org/engage/xbackbone/?utm_source=widget) [![Donations](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=6RXF8ZGCZBL68&item_name=Support+the+XBackBone+Development¤cy_code=EUR&source=url) +# [![Weblate](https://hosted.weblate.org/widgets/xbackbone/-/xbackbone/svg-badge.svg)](https://hosted.weblate.org/engage/xbackbone/?utm_source=widget) [![Donations](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=6RXF8ZGCZBL68&item_name=Support+the+XBackBone+Development¤cy_code=EUR&source=url) + +

+ +

XBackBone is a simple, self-hosted, lightweight PHP file manager that support the instant sharing tool ShareX and *NIX systems. It supports uploading and displaying images, GIF, video, code, formatted text, and file downloading and uploading. Also have a web UI with multi user management, past uploads history and search support. ## Features + Supports every upload type from ShareX. ++ Config generator for ShareX. + Low memory footprint. + Multiple backends support: Local storage, AWS S3, Google Cloud, Dropbox, FTP(s). ++ Web file upload. + Code uploads syntax highlighting. + Video and audio uploads webplayer. ++ PDF viewer. + Files preview page. + Bootswatch themes support. -+ Responsive theme. ++ Responsive theme for mobile use. + Multi language support. + User management, multi user features and roles. + Public and private uploads. + Web UI for each user. + Logging system. -+ Auto config generator for ShareX. + Share to Telegram. -+ Linux supported via a per-user custom generated script. ++ Linux supported via a per-user custom generated script (server and desktop). + Direct downloads using curl or wget commands. + Direct images links support on Discord, Telegram, Facebook, etc. ++ System updates without FTP or CLI. ++ Easy web installer. ## How to Install #### Prerequisites @@ -32,6 +40,7 @@ XBackBone require PHP >= `7.1`, with installed the required extensions: + `php-gd` image manipualtion library. + `php-json` json file support. + `php-intl` internationalization functions. ++ `php-fileinfo` file related functions. ### Web installation + **[release, stable]** Download latest release from GitHub: [Latest Release](https://github.com/SergiX44/XBackBone/releases/latest) @@ -73,7 +82,7 @@ php bin/migrate --install + Now just login with `admin/admin`, **be sure to change these credentials after your first login**. ## How to update -Self-update (since v2.5) **[BETA]**: +Self-update (since v2.5): + Navigate to the system page as admin. + Click the check for update button, and finally the upgrade button. + Wait until the browser redirect to the install page. @@ -132,7 +141,7 @@ Since ShareX does not support Linux, XBackBone can generate a script that allows Now, to upload a media, just use the right click on the file > "Open with ..." > search XBackBone Uploader (XXX) in the app list. You can use this feature in combination with tools like [Flameshot](https://github.com/lupoDharkael/flameshot), just use the "Open with ..." button once you have done the screenshot. -The script requires `xclip`, `curl`, and `notify-send`. +The script requires `xclip`, `curl`, and `notify-send` on a desktop distribution. *Note: XXX is the username of your XBackBone account.* @@ -159,11 +168,12 @@ This software is licensed under the - - + + + + + + + + + diff --git a/resources/templates/dashboard/system.twig b/resources/templates/dashboard/system.twig index 23c6bc1..d70acb7 100644 --- a/resources/templates/dashboard/system.twig +++ b/resources/templates/dashboard/system.twig @@ -166,6 +166,7 @@

{{ lang('donate_text') }}

+
diff --git a/src/images/android-chrome-192x192.png b/src/images/android-chrome-192x192.png new file mode 100644 index 0000000..ea3c265 Binary files /dev/null and b/src/images/android-chrome-192x192.png differ diff --git a/src/images/android-chrome-512x512.png b/src/images/android-chrome-512x512.png new file mode 100644 index 0000000..2f7da9a Binary files /dev/null and b/src/images/android-chrome-512x512.png differ diff --git a/src/images/apple-touch-icon.png b/src/images/apple-touch-icon.png new file mode 100644 index 0000000..89174f9 Binary files /dev/null and b/src/images/apple-touch-icon.png differ diff --git a/src/images/browserconfig.xml b/src/images/browserconfig.xml new file mode 100644 index 0000000..31b5050 --- /dev/null +++ b/src/images/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #603cba + + + diff --git a/src/images/favicon-16x16.png b/src/images/favicon-16x16.png new file mode 100644 index 0000000..16d9c4b Binary files /dev/null and b/src/images/favicon-16x16.png differ diff --git a/src/images/favicon-32x32.png b/src/images/favicon-32x32.png new file mode 100644 index 0000000..d433f71 Binary files /dev/null and b/src/images/favicon-32x32.png differ diff --git a/src/images/favicon.ico b/src/images/favicon.ico new file mode 100644 index 0000000..12da661 Binary files /dev/null and b/src/images/favicon.ico differ diff --git a/src/images/mstile-150x150.png b/src/images/mstile-150x150.png new file mode 100644 index 0000000..2e9f6d9 Binary files /dev/null and b/src/images/mstile-150x150.png differ diff --git a/src/images/safari-pinned-tab.svg b/src/images/safari-pinned-tab.svg new file mode 100644 index 0000000..e4ae4db --- /dev/null +++ b/src/images/safari-pinned-tab.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/images/site.webmanifest b/src/images/site.webmanifest new file mode 100644 index 0000000..e209d89 --- /dev/null +++ b/src/images/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "", + "short_name": "", + "icons": [ + { + "src": "/static/images/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/static/images/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +}