Commit graph

2 commits

Author SHA1 Message Date
Matthias Strubel 4be12aa378 PHP Upload feature - series of bugfixes
- Fixed a bunch of config file generation bugs
 - Increased static file upload in lighttpd to 3GB (for now static)
 - Set the new stream setting for upload
 - Clean up the tmp file on "share" as well
 - Ingore Warning if chmod feat. disabled (on FAT32 USB Stick relevant)
2018-03-05 20:32:01 +01:00
Matthias Strubel 239b449770 First series of rework patches for PHP based upload
We want to get away from droopy and python2. Droopy does not
support IPv6, which we want to support for upload as well.

This series implements the following:

 - Generation of piratebox_config.php with the config settings of
   piratebox.conf
 - Customization of php.ini during start of piratebox
   This is needed to save the receiving file already on the USB stick.
   We need to do this to save costy IO, the later move into the
   upload folder is only a filesystem rename and no physically move
   anymore.
 - We add options to allow overwriting of uploaded files.
 - First raw set of default template engine, which will be enhanced
   with later features (directory listing).
 - Adjusted OpenWrt reconfiguration (CHMOD setting).
2018-03-05 19:34:57 +01:00