-- One upload → One download link & one delete link
-- Send any large files (thanks to the HTML5 file API → PHP post_max_size limit not relevant)
-- Shows progression: speed, percentage and remaining upload time
+- One upload → one download link and one delete link
+- Send any large files (thanks to the HTML5 file API → PHP `post_max_size` limit not relevant)
+- Shows upload progress: speed, percentage and remaining upload time
- Preview content in browser (if possible)
- Optional password protection (for uploading or downloading)
- Option to require, check or generate file download passwords
- Set expiration time for downloads
- Option to self-destruct after first download
- Preview content in browser (if possible)
- Optional password protection (for uploading or downloading)
- Option to require, check or generate file download passwords
- Set expiration time for downloads
- Option to self-destruct after first download
- Maximal upload size configurable
- No database, only use basic PHP
- Maximal upload size configurable
- No database, only use basic PHP
-- Simple language support with a lot of langages (help us on [weblate](https://hosted.weblate.org/engage/jirafeau/)!)
-- File level [Deduplication](http://en.wikipedia.org/wiki/Data_deduplication) for storage optimization (does store duplicate files only once, but generate multiple links)
+- Simple language support with a lot of languages
+- File level [deduplication](http://en.wikipedia.org/wiki/Data_deduplication) for storage optimization (does store duplicate files only once, but generate multiple links)
- Optional data encryption
- Small administration interface
- CLI script to remove expired files automatically with a cronjob
- Optional data encryption
- Small administration interface
- CLI script to remove expired files automatically with a cronjob
As it's original project, Jirafeau is made in the [KISS](http://en.wikipedia.org/wiki/KISS_principle) way (Keep It Simple, Stupid).
As it's original project, Jirafeau is made in the [KISS](http://en.wikipedia.org/wiki/KISS_principle) way (Keep It Simple, Stupid).
- Optional, but recommended: Git >= 2.7
- No database required, no mail required
Installation steps:
- Optional, but recommended: Git >= 2.7
- No database required, no mail required
Installation steps:
- Set owner & group according to your webserver
- A) Setup with the installation wizard (web):
- Open your browser and go to your installed location, eg. `https://example.com/jirafeau/`
- Set owner & group according to your webserver
- A) Setup with the installation wizard (web):
- Open your browser and go to your installed location, eg. `https://example.com/jirafeau/`
### Troubleshooting
If you have some troubles, consider the following cases
- Check your `/lib/config.local.php` file and compare it with `/lib/config.original.php`, the configuration syntax or a parameter may have changed
### Troubleshooting
If you have some troubles, consider the following cases
- Check your `/lib/config.local.php` file and compare it with `/lib/config.original.php`, the configuration syntax or a parameter may have changed
The decrypt key is not stored on the server so if you lose the download URL, you won't be able to retrieve file content.
Encryption is configured to use [XChaCha20-Poly1305](https://en.wikipedia.org/wiki/ChaCha20-Poly1305).
In case of security troubles on the server, attacker won't be able to access files.
By activating this feature, you have to be aware of few things:
The decrypt key is not stored on the server so if you lose the download URL, you won't be able to retrieve file content.
Encryption is configured to use [XChaCha20-Poly1305](https://en.wikipedia.org/wiki/ChaCha20-Poly1305).
In case of security troubles on the server, attacker won't be able to access files.
By activating this feature, you have to be aware of few things:
- During the download, the server will decrypt on the fly (and use resource).
- This feature needs to have the Sodium php module.
- File de-duplication will stop to work (as we can't compare two encrypted files).
- During the download, the server will decrypt on the fly (and use resource).
- This feature needs to have the Sodium php module.
- File de-duplication will stop to work (as we can't compare two encrypted files).
-Of course ! Translations are easy to make and no technical knowledge is required.
-
-Simply go to [Jirafeau's Weblate](https://hosted.weblate.org/engage/jirafeau/).
-
-If you want to add a new language in the list, feel free to contact us or leave a comment in ticket #9.
+Of course! The best way is to create a new JSON file under `lib/locales` and open a merge request.
- you can set one or more passwords in order to access the upload interface, or/and
- you can configure a list of authorized IP ([CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation)) which are allowed to access to the upload page
- you can set one or more passwords in order to access the upload interface, or/and
- you can configure a list of authorized IP ([CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation)) which are allowed to access to the upload page
If you can, please copy-paste informations related to bug opening provided in admin interface.
Admin interface can be reached by accessing `/admin.php`.
### How to set maximum file size?
If you can, please copy-paste informations related to bug opening provided in admin interface.
Admin interface can be reached by accessing `/admin.php`.
### How to set maximum file size?
-For browsers who does not support HTML5 file API, the limitation come from PHP configuration.
-You have to set [post_max_size](https://php.net/manual/en/ini.core.php#ini.post-max-size) and [upload_max_filesize](https://php.net/manual/en/ini.core.php#ini.upload-max-filesize) in your php configuration. Note that Nginx setups may requiere to configure `client_max_body_size`.
+For browsers not supporting the HTML5 file API, the limitation comes from PHP configuration.
+You have to set [post_max_size](https://php.net/manual/en/ini.core.php#ini.post-max-size) and [upload_max_filesize](https://php.net/manual/en/ini.core.php#ini.upload-max-filesize) in your php configuration. Note that nginx setups may requiere to configure `client_max_body_size`.
If you don't want to allow unlimited upload size, you can still setup a maximal file size in Jirafeau's setting (see `maximal_upload_size` in your configuration)
### How can I edit an option?
If you don't want to allow unlimited upload size, you can still setup a maximal file size in Jirafeau's setting (see `maximal_upload_size` in your configuration)
### How can I edit an option?
If you want to change an option, just edit your `lib/config.local.php`.
### How can I change the Terms of Service?
If you want to change an option, just edit your `lib/config.local.php`.
### How can I change the Terms of Service?
-The license text on the "Terms of Service" page, which is shipped with the default installation, is based on the »[Open Source Initiative Terms of Service](https://opensource.org/ToS)«.
+The license text on the "Terms of Service" page, which is shipped with the default installation, is based on the "[Open Source Initiative Terms of Service](https://opensource.org/ToS)".
-To change this text simply copy the file [/lib/tos.original.txt](https://gitlab.com/mojo42/Jirafeau/blob/master/lib/tos.original.txt), rename it to `/lib/tos.local.txt` and adapt it to your own needs.
+To change this text simply copy the file [/lib/tos.original.txt](https://gitlab.com/jirafeau/Jirafeau/blob/master/lib/tos.original.txt), rename it to `/lib/tos.local.txt` and adapt it to your own needs.
If you update the installation, then only the `tos.original.txt` file may change eventually, not your `tos.local.txt` file.
If you update the installation, then only the `tos.original.txt` file may change eventually, not your `tos.local.txt` file.
### What about this file deduplication thing?
Jirafeau can use a very simple file level deduplication for storage optimization.
### What about this file deduplication thing?
Jirafeau can use a very simple file level deduplication for storage optimization.
If someone use his/her delete link or an admin cleans expired links, this will decrement the counter corresponding to the file.
When the counter falls to zero, the file is destroyed.
If someone use his/her delete link or an admin cleans expired links, this will decrement the counter corresponding to the file.
When the counter falls to zero, the file is destroyed.
-In order to know if a newly uploaded file already exist, Jirafeau will hash the file using md5 by default but other methods are available (see `file_hash` documentation in `lib/config.original.php`).
+In order to know if a newly uploaded file already exist, Jirafeau will hash the file using MD5 by default but other methods are available (see `file_hash` documentation in `lib/config.original.php`).