Commit graph

699 commits

Author SHA1 Message Date
Matthias Strubel
59ab973d02 Also remove grey background color of droopy, which looks bad on some devices 2015-10-01 18:04:49 +02:00
Matthias Strubel
c484fa10f8 Raizing version for release preparing 2015-10-01 17:49:30 +02:00
Matthias Strubel
bdffc644b3 Adding droopy fix to changelog 2015-10-01 17:49:03 +02:00
Matthias Strubel
8957bc67b7 Fix orientation / linebreaks of the upload box
Fixes #126
2015-10-01 17:46:52 +02:00
Matthias Strubel
5062898e34 Update missing info to CHANGELOG 2015-10-01 17:21:30 +02:00
Matthias Strubel
17c8af22b8 Display available disk space on front page
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 #124
Closed #53

Merge branch 'miketweaver-disk_space' into feature-release-1.1.0
2015-10-01 17:13:12 +02:00
Matthias Strubel
aba673ef8a Lock Shoutbox after sending a message
Closed #125
Closed #67

Merge branch 'miketweaver-javascript-feature' into feature-release-1.1.0
2015-10-01 17:11:03 +02:00
Matthias Strubel
ff53b0d5e2 Place the minidlna database to a different location.
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
2015-10-01 17:07:25 +02:00
Matthias Strubel
61cf364ac1 Fix orientation / linebreaks of the upload box
Fixes #126
2015-10-01 16:50:06 +02:00
Mike Weaver
239cfaf11e add button ajax change. 2015-09-17 17:29:25 -06:00
Mike Weaver
4f6eb00c27 fix javascript bug 2015-09-17 17:28:06 -06:00
Mike Weaver
084f6cfeec add tooltip 2015-09-17 17:14:31 -06:00
Mike Weaver
394fc229e2 try-catch for file deletion bug. 2015-09-17 13:45:41 -06:00
Mike Weaver
85ac67a41e normalize formatting 2015-09-16 22:51:56 -06:00
Mike Weaver
3270fbfbd7 fix "initial creation" bug. 2015-09-16 22:49:22 -06:00
Mike Weaver
047e230c8b add to authors file 2015-09-16 22:18:16 -06:00
Mike Weaver
ca6a559421 change meta-tag 2015-09-16 22:17:14 -06:00
Mike Weaver
70afabdb45 add last modified check 2015-09-16 22:16:45 -06:00
Mike Weaver
887490455a update index button with id 2015-09-15 17:54:19 -06:00
Mike Weaver
1532ef84bd update script to "sending" 2015-09-15 17:53:43 -06:00
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
6679b04cdb Merge branch 'hotfix-1.0.5' into development
[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 .
2015-09-13 11:34:15 +02: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
4ba0671cd3 Merge branch 'hotfix-1.0.4' into development
Implementing the changes from hotfix to development branch.

Resolved  Conflicts:
	CHANGELOG
	piratebox/piratebox/bin/board-autoconf.sh
	piratebox/piratebox/bin/droopy (now 1.0.4 version)
	piratebox/piratebox/bin/shoutbox_stuff.sh
	piratebox/piratebox/init.d/piratebox
	piratebox/piratebox/init.d/piratebox_alt
	piratebox/piratebox/www/generate_204  (stays PHP)
	piratebox/piratebox/www/index.html
2015-08-18 20:10:15 +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