As OpenWrt still needs a more verbose script then a simple find command,
we need to stick at this. The script now exits if the target directory does
not exist.
Also we try to reduce the amount of files checked in the while clause with
reducing the find output to regular files only.
Closed: #133
The minor 1.1.0 release is transfered into 1.0.7 release
because the changes are smaller then like adding PHP as
a feature.
As it hopefully does not break any compatibility, we are
integrating this as a small bugfix release.
Introduces a new python script, which displays the current usage
of the PirateBox.
The python script writes a static HTML file, which is read by
the browser in the same way like the shoutbox does. it is
rewritten on request & on PirateBox startup.
Closed#124Closed#53
Merge branch 'miketweaver-disk_space' into feature-release-1.1.0
The minidlna database is now stored on the USB stick that solves to
major issues:
- It speeds up PirateBox start because of lease scanning time
- During Problems of out-of-memory exceptions, on the next
startup the problematic file is simply skipped.
Closed#77
[New] Improved styling for droopy iframe. (not applied)
[New] Timesave script service file to run set the time during startup.
[Fix] Droopy call in init.d/piratebox failed to use the correct port.
[Fix] Timesave script behaviour fixed on full Linux systems. OpenWrt's date format is now customized during build & piratebox.conf .
* Delivered the systemd file for restoring the file during boot.
* Moved date format to piratebox.conf
* Customize the date format for OpenWrt during build of
piratebox_ws-img.tar.gz file, like other configuration files
The problem is, that the piratebox starts before resetting the
RTC to a saved timestamp. That means the shoubox-gen file
is from the year 1970. That breaks the refresh in the browser.
With the delay, we hopefully get a better timestamp and fix
that issue
Fixes#120
Will avoid Captive Portal message from Android.
Especially some devices tend to leave the PirateBox network,
because they don't receive a 204 from their specific URL.
Closes#115
This patch avoids a confusing directory listing. This commits copies
over a simple default index.html that provides links to the
kareha.pl and back to the main page.
Does not copy, if the board is already installed.
Closes #117
The PirateBox modifications can be found in:
https://github.com/PirateBox-Dev/Droopy
It contains the following features from the old PirateBox version
of Droopy:
- Secured Subdirectory (new directories will fail in styling)
- Make it possible to launch Droopy on boot time
- Prevent uploading index.ht* files
New features / bugfixes with the new Droopy version:
- Multiple upload
- Fixed language encoding
- In general user/password setting (non configurable via
PirateBox)
The following features were not ported to the new version:
- Include hostname to templates (not needed anymore)
- Field including iframe for shoutbox (not needed anymore)
- iOS fake answer code, which was included in lighttpd since
Piratebox 0.5.x
Known issues:
- New folders via protected subdirectory feature are not
created with HEADER.TXT and README.txt (styling will not work).
That issue is also on 1.0.0-1.0.3 versions
- HEADER.TXT and README.txt can be uploaded. It will not be
overwritten, but break styling if the files aren't available.
Shifted the about section in a div so that it is able to be styled as a
card if wanted. Gave the body an id so that individual pages can be
styled differently using a single stylesheet.
Sometimes a user would still be redirected to a cached piratebox.lan site after disconnecting from the piratebox wifi. This has something to do with how different browsers interact with the cache-control meta tag. Adding "pragma" and "expires" tags as well as additional "cache-control" contents fixes that.
This uses a rather ugly hack to enable serving an extension-less php
file, but I couldn't find a better way to do this in the absence of
mod_rewrite.
Tested manually that it works on two different android devices (5.1.1).
Closes#59