Commit graph

406 commits

Author SHA1 Message Date
NightShade
58ba8966b4 fix perms 2015-09-14 23:54:41 -06:00
nightshade
368a9ba954 add permissions and lighttpd env 2015-09-14 18:53:35 -06:00
nightshade
578f15725e remove testing from scripts 2015-09-14 18:21:10 -06:00
nightshade
5af1387186 add licenses 2015-09-14 18:19:24 -06:00
nightshade
e8af24254b add ajax diskusage 2015-09-14 18:09:52 -06:00
nightshade
4ff01b4ef6 add diskgen env variable 2015-09-14 18:02:24 -06:00
nightshade
c5c5d1cafd add diskusage autogen
This adds the autogeneration of the diskusage.html file.
2015-09-14 17:57:45 -06:00
nightshade
8b104e4831 Add Generate HTML File 2015-09-14 17:46:32 -06:00
nightshade
bdbf25cffe move diskusage.py 2015-09-14 17:43:05 -06:00
nightshade
001a641309 Add Diskusage to Piratebox 2015-09-14 17:31:00 -06:00
Matthias Strubel
088c20263a Merge branch 'hotfix-1.0.5'
* [New] Improved styling for droopy iframe.
* [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 .
2015-09-13 10:31:12 +02:00
Matthias Strubel
4c6c297a1b Release preparation for 1.0.5 2015-09-12 16:07:42 +02:00
Matthias Strubel
66b840714e Improved handling of timesave script on normal Linux system.
* 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
2015-08-23 11:07:04 +02:00
Matthias Strubel
d266d746cb Better styling for droopy upload frame 2015-08-23 09:55:49 +02:00
Matthias Strubel
c28860d5f8 Removes an unwanted linebreak in the droopy startup 2015-08-22 23:05:30 +02:00
Matthias Strubel
20753b020b Merge branch 'master' of github.com:PirateBox-Dev/PirateBoxScripts_Webserver 2015-08-13 19:53:21 +02:00
Matthias Strubel
4c631d5168 Hotfix release 1.0.4
* [New] New feature: /opt/piratebox/bin/board-autoconf.sh for setting up the imageboard
	* [New] Droopy update: Multiple upload
	* [New] Droopy update: In general user/password setting (non configurable via
   		               PirateBox)
	* [New] imageboard: inital dummy page for a not installed board.
	* [New] Send HTTP-Code 204 for Android devices, avoids captive Portal and leaving devices.

	* [Fix] Some script cleanups
	* [Fix] Improved Cachehandling
	* [Fix] Modified index HTML structure for increased stylability
	* [Fix] Droopy update: Language encoding
	* [Fix] Droopy update: Uploaded filepermission can be configured.
                	       PirateBox default: 755
	* [Fix] Fix not refreshing shoutbox after bootup
	* [Fix] Show station count again, after it is enabled

	* [Removed] Droopy update: Include hostname to templates (not needed anymore)
	* [Removed] Droopy update: Field including iframe for shoutbox (not needed anymore)
	* [Removed] Droopy update: iOS fake answer code, which was included in lighttpd since
	                           Piratebox 0.5.x
	* [Removed] exchange_www.sh : This feature is not available anymore, because it breaks
        	                      more then it helps.
	* [Removed] Unnessecary AJAX calls & files from pre 1.0
2015-08-13 19:50:51 +02:00
Matthias Strubel
3bc6242aea Merge pull request #122 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2015-08-09 10:23:09 +02:00
The Gitter Badger
afdc1755f7 Added Gitter badge 2015-08-09 08:22:01 +00:00
Matthias Strubel
b5f794e877 Fixes not working Python Script for generating 204
Closes #115
2015-08-06 22:09:08 +02:00
Matthias Strubel
e5470ccd1f Cleanup unnessecary spacer files 2015-08-06 21:35:22 +02:00
Matthias Strubel
936f26cf17 Display Station count again.
Not the best solution, but worth for the hotfix.

Fixes #121
2015-08-06 21:31:02 +02:00
Matthias Strubel
7333b8a933 Set the Timestamp of the shoutbox generated file with a delay.
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
2015-08-06 21:30:18 +02:00
Matthias Strubel
4f26929bbb Remove spacer index.htm and generate first page
kareha.pl doesn't overwrite the file for itself :(

In addition, we use .htm over .html , that tricks kareha and lighttpd
in this problem.
2015-08-06 19:53:19 +02:00
Matthias Strubel
aff1bea5a2 Changelog entry for generate_204 patch 2015-08-04 20:37:57 +02:00
Matthias Strubel
c19b591c6a Generate the HTTP Resonse with python for 1.0.x PirateBox too
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
2015-08-04 20:34:53 +02:00
Matthias Strubel
8c099f2446 Generate default page for forum link
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
2015-08-04 20:06:11 +02:00
Matthias Strubel
3ab58c5657 Disabling exchange_www.sh - it helped nobody, only breakes stuff. 2015-08-03 20:48:50 +02:00
Matthias Strubel
05edc74203 Added CHANGELOG informations to commit 70823c1e4f 2015-07-30 22:09:48 +02:00
Matthias Strubel
70823c1e4f This commit aligns the Droopy code back to the latest versions.
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.
2015-07-30 21:54:43 +02:00
Matthias Strubel
b7a6b709d3 Merge pull request #119 from jessstubenbord/hotfix-1.0.4
Reformatted welcome card & about slightly
2015-07-29 06:38:02 +02:00
Jess Stubenbord
6f3ef8f7cd Edited Authors & Changelog files
Added myself and all of the wonderful things I changed
2015-07-28 23:44:11 +02:00
Jess Stubenbord
2d79bdf8c0 Reformatted about & gave body an id
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.
2015-07-28 15:00:16 +02:00
Jess Stubenbord
68023815b2 Reformatted welcome card
I wrapped the welcome message in another div so that this card matches
the others in hierarchy (for future styling purposes)
2015-07-28 02:45:54 +02:00
Matthias Strubel
2da5a68773 Improve cache handling of redirect.html and it schema file
Thanks to herr-gabriel

Closed #114
Closed #116
2015-07-27 19:42:42 +02:00
Matthias Strubel
c701d79b60 Merge branch 'patch-2' of https://github.com/herr-gabriel/PirateBoxScripts_Webserver into herr-gabriel-patch-1 2015-07-27 19:40:37 +02:00
Matthias Strubel
44c9071215 Fixes a typo , finalizes Backport #118 2015-07-27 19:26:36 +02:00
Matthias Strubel
804627901e Feature: board-autoconf.sh for OpenWrt available
Made the board un-useable, if it is not setup.

 Conflicts:
	CHANGELOG
2015-07-27 19:24:55 +02:00
Nicola Lamacchia
fdb686e9ea Add interactive imageboard system configuration 2015-07-27 19:06:26 +02:00
Gabriel Shahzad
67c1ad0d9a Added redirect fix 2015-07-26 12:38:07 +02:00
Gabriel Shahzad
d9fa73bbd5 Fixed accidental redirects
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.
2015-07-26 11:24:38 +02:00
Matthias Strubel
407f40f9e7 added forgotten Changelog entry 2015-01-29 15:22:25 +01:00
Matthias Strubel
6626cbc08b Merge branch 'hotfix-1.0.2' - Hotfix 1.0.2 release
* [Fix] Settings for correct permission of shoutbox files
 * [Fix] Broken probe function in some shells
 * [Fix] Issues with Python scripts on some plattforms
 * [Fix] Fixes in installation script
 * [Fix] Distribute files did not work with folder containing whitespaces
2014-12-26 09:14:05 +01:00
Matthias Strubel
a98d3d3234 Added new Fixes & authors to changelog
Updated version to 1.0.2
2014-12-26 09:12:51 +01:00
Matthias Strubel
a4103dee68 Merge pull request #93 from Sjd-Risca/hotfix-1.0.2
Bugfix: the scritp "distribute_file_into_directory.dh" is now working even when the path contain spaces.
2014-12-11 19:00:11 +01:00
risca
602ec2492e Bugfix: the scritp distribute_file_into_directory is now working even when the path contain white spaces. 2014-12-10 00:42:44 +01:00
Matthias Strubel
9e44802ba4 Merge pull request #92 from Sjd-Risca/installscript
Install script corrections
2014-12-08 22:23:55 +01:00
risca
46b6500ff6 typo in bash test 2014-12-08 02:38:34 +01:00
risca
a8dcaf7f6b typo in bash test 2014-12-08 02:36:24 +01:00
risca
00646cbf96 typo error: the comparison of string in bash require only on "=" 2014-12-08 02:19:53 +01:00