Commit graph

527 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
Matthias Strubel
6ebfb7faf3 Some cleanup 2018-02-28 12:55:36 +01:00
Matthias Strubel
553ade13fc Merge branch 'hotfix-1.1.4' into development
* hotfix-1.1.4:
  CHANGELOG: Update latest changes
  A bunch of fixes for timesave.         - Apply shellcheck issues         - Make timesave working properly on RPi images
  CHANGELOG: Add latest RPi fixes
  RPi: Fix r8188eu wifi detection problem
  Remove whitespace
  Changelog Add latest fixes
  Fix for radvd startup on OpenWrt
  IRC: cleaning up stop issues
  Adding latest RPi image generation changelog
2018-02-27 23:47:26 +01:00
Matthias Strubel
ebfb7fe1fe Merge branch 'hotfix-1.1.4' into development
* hotfix-1.1.4:
  Adjust version to 1.1.4
  CHANGELOG: add latest stuff
  Fixes IRC startup issues
  Rename to avoid confusion of git checkout development
  Add russian locale
  Run timesave systemd unit on shutdown
  Add note to change root password
  RPi: Move toward generated MotD
  Notice language files
2018-02-27 23:45:26 +01:00
Matthias Strubel
5f50503542 RPi usb_share.sh : Use piratebox.conf
Make use of PirateBox.conf and mount the vfat USB Stick with the
user & group of LIGHTTPD configuration. Avoid static configuration
of those uid & gid.

Closed #194
2018-02-27 22:32:16 +01:00
Matthias Strubel
2eeb221d10 Erase bad whitespace 2018-02-27 22:27:28 +01:00
Matthias Strubel
5be7bcc147 A bunch of fixes for timesave.
- Apply shellcheck issues
        - Make timesave working properly on RPi images
2018-02-27 21:38:43 +01:00
Matthias Strubel
db32852627 RPi: Fix r8188eu wifi detection problem 2018-02-24 16:46:14 +01:00
Matthias Strubel
0bf3e93321 Remove whitespace 2018-02-24 16:45:14 +01:00
Matthias Strubel
0cc292dddd Fix for radvd startup on OpenWrt
We are adding a ugly hack for OpenWrt based Piratebox. The clean
solution is to add another extendRoot package (extendRoot-radvd), but
after 1.1 the major OpenWrt release will change and this new package is
obsolete.
We only add this ugly hack, which will be removed on development tree
later again.
2018-02-23 11:46:23 +01:00
Matthias Strubel
bbc0b074a6 IRC: cleaning up stop issues
let miniircd write PID, because of persmission drop fork.
2018-02-23 11:41:38 +01:00
Matthias Strubel
b4e441e953 Fixes IRC startup issues
Error message:

iniircd.py: error: Running this service as root is not recommended. Use the --setuid option to switch to an unprivileged account after startup. If you really intend to run as root, use "--setuid root".
2018-02-20 11:14:11 +01:00
l-n-s
c8842fc82c Add russian locale 2018-02-11 08:03:22 +01:00
Jeremy O'Brien
ac61d0af39 Run timesave systemd unit on shutdown 2018-02-11 07:57:29 +01:00
Matthias Strubel
6d2d640f64 RPi: Move toward generated MotD
Fixes arch_rpi_image_prepare#14
2018-02-11 07:55:07 +01:00
Matthias Strubel
cdadfcc137 Translation to Spanish and Basque
Closed #192

Merge branch 'yosug-spanish-basque' into development
2018-02-08 05:38:50 +01:00
Matthias Strubel
a8a59dee09 Merge branch 'spanish-basque' of https://github.com/yosug/PirateBoxScripts_Webserver into yosug-spanish-basque 2018-02-08 05:37:36 +01:00
yosug
9f53b73b84
Add files via upload
Translation to Spanish and Basque
2018-02-02 23:47:28 +01:00
Matthias Strubel
a6fe6378b4 Disable default AP isolation 2018-01-20 09:06:15 +01:00
Matthias Strubel
c600f54690 RPi: Add stuff for on/off button
Need additional commit 58f98a0470ee7e7174dc99b9dd96897ac3435e7d@arch_rpi_image_prepare

Closed  #179
2017-12-03 09:29:19 +01:00
Matthias Strubel
e4fc86ce73 init scripts: Avoid error messages during cleaning up tmp directory 2017-12-03 09:19:57 +01:00
Matthias Strubel
4e2ea2cc99 Make sure python2 is only executed.
Closed #186
2017-12-03 08:56:19 +01:00
Jeremy O'Brien
93dd4ae354 Run timesave systemd unit on shutdown 2017-11-30 15:43:22 -05:00
l-n-s
bcc60c2278 Add russian locale 2017-08-28 19:25:52 -04:00
Matthias Strubel
96f797e967 Merge branch 'hotfix-1.1.4' into development 2017-07-29 10:36:40 +02:00
Matthias Strubel
615af92fc0 RPi - USB Share - fix following up issue with diskusage generation 2017-07-29 10:36:07 +02:00
Matthias Strubel
9ba645fcd7 Removing greeting from index.html
Closes #75
2017-07-29 10:26:34 +02:00
Matthias Strubel
4208c949ee Captive Portal: Nicer welcome screen 2017-07-29 10:25:59 +02:00
Matthias Strubel
f801a2a06b Shoutbox: remove not needed style.css 2017-07-29 08:31:48 +02:00
Matthias Strubel
c5b557ef76 Timesave format is not needed anymore 2017-07-28 21:31:55 +02:00
Matthias Strubel
fa0f71c9c6 RPi: Move toward generated MotD
Fixes arch_rpi_image_prepare#14
2017-07-28 21:25:24 +02:00
Matthias Strubel
19e4c4e911 shoutbox_stuff.sh : Remove legacy piratebox.conf path and add quote vars 2017-07-13 19:33:11 +02:00
Matthias Strubel
10b92aae0a diskusage: Fixing missing </head> tag 2017-07-13 19:24:58 +02:00
Matthias Strubel
102238f8cc diskusage: Fixing missing </head> tag 2017-07-13 19:24:32 +02:00
Matthias Strubel
f0ab6f4dca Merge branch 'hotfix-1.1.4' into development 2017-07-04 11:29:47 +02:00
Matthias Strubel
1554fd4399 Merge branch 'ponsfrilus-patch-1' into hotfix-1.1.4 2017-07-04 11:26:20 +02:00
Nicolas Borboën
46301946d4 Real Kareha download URL
Avoid hitting the 302 redirection when downloading Kareha release
2017-07-03 21:55:18 +02:00
Matthias Strubel
594770c4c2 Create a very verbose obvious browse button.
Closes #61
2017-07-02 19:37:52 +02:00
Matthias Strubel
2f8770a10f Remove lease file on piratebox stop to align with captive db 2017-07-02 10:08:42 +02:00
Matthias Strubel
9d6f90297a Use webserver's php-fcgi, which is much faster on embedded devices then cli mode 2017-07-02 09:25:46 +02:00
Matthias Strubel
7086c581bf captive: switch over to new captive portal feature 2017-07-02 09:18:58 +02:00
Matthias Strubel
30cc175614 captive: fix wrong paths 2017-07-02 09:18:39 +02:00
Matthias Strubel
0506e87f5f captive: Fixing dublicate startup message 2017-07-01 19:35:00 +02:00
Matthias Strubel
2ab5bf2046 Revert "Lighttpd: Fix for stricter permissions for logfiles"
This reverts commit d36e1d1b2c.
2017-07-01 19:26:21 +02:00
Matthias Strubel
0426eded45 install_piratebox, fix consolidation bug 2017-07-01 19:25:33 +02:00
Matthias Strubel
a364b32c37 captive: more debuging 2017-07-01 19:11:28 +02:00
Matthias Strubel
31d3a3b4e4 captive_notify: Added refresh option
this is to centralize needed tasks to get the stuff up and running
2017-07-01 18:59:29 +02:00
Matthias Strubel
d36e1d1b2c Lighttpd: Fix for stricter permissions for logfiles 2017-07-01 18:44:45 +02:00
Matthias Strubel
424c721854 Fix in lighttpd generation 2017-07-01 18:37:40 +02:00