Jirafeau App¶
About¶
Jirafeau is a "one-click-filesharing": Select your file, upload, share a link. That's it.
- Questions? Ask in the Cloudron Forum - Jirafeau
- Jirafeau Website
- Jirafeau issue tracker
Change admin password¶
-
Choose a new password
-
Create a sha256 hash of the new password. To do this, use the web terminal (or any terminal) and do:
- Then, use the File Manager to edit
custom.phpand set the sha256 hash of your new password generated in step 2 above.
Disable admin interface
To disable the admin interface, leave the password blank. Like $cfg['admin_password'] = ''.
Customization¶
The app allows for a multitude of customization by overwriting config values in /app/data/custom.php using the File Manager.
All options can be seen here.
For example settings the page title can be done by adding the following:
Restricting Uploads¶
By default, anyone can upload to the instance. You can add customizations in /app/data/custom.php to protect
your instance.
To protect uploads with a password:
Alternately, uploads can be restricted by IP address(es):
If you set a password, you can set a list of IPs that can upload without password:
Restrict file availabilities¶
If you wish to restrict how long files are available you need to add the following configuration in /app/data/custom.php.
For this example, we only want to allow week as possible selection.
$cfg['availabilities'] = array(
'minute' => false,
'hour' => false,
'day' => false,
'week' => true,
'fortnight' => false,
'month' => false,
'quarter' => false,
'year' => false,
'none' => false
);
Themes¶
To change the theme, edit /app/data/custom.php. List of theme names is available here.
If you want to make a custom theme, then use the Web Terminal to first copy over
from an existing theme (themes are located under /app/code/media.original):
Edit the new theme mydarkhorse to your content. Then, change /app/data/custom.php:
Custom ToS¶
A custom ToS can be placed in /app/data/tos.local.txt using the File Manager.
If you like, you can start with a copy of /app/code/lib/tos.original.txt and edit as needed.