Commit graph

480 commits

Author SHA1 Message Date
Matthias Strubel 9128647a4a RPi MOTD adjustments 2016-10-03 08:53:28 +02:00
Matthias Strubel 7cc238178e Fix fr locale 2016-09-27 23:20:24 +02:00
Matthias Strubel cde91a86be IRC Server: Fixing startup and quoting some vars
If the python IRC server is running as a daemon, it is needed,
that the setuid command is used.
2016-09-27 21:49:02 +02:00
Matthias Strubel 6b99000a2b init scripts: More verbose "copy" message 2016-09-26 20:07:32 +02:00
Matthias Strubel 1e3ac99110 Remove unsupported exchange_www.sh completely 2016-09-26 20:04:56 +02:00
Matthias Strubel f0098a9aae UI: Fix translation; LibraryBox -> PirateBox 2016-09-26 10:27:13 +02:00
Matthias Strubel d6dc8c49fe Revert the changes for the konami code 2016-09-20 18:53:49 +02:00
TheExpertNoob 80b3e291d6 Update index.html
Made some changes to remove unwanted scrollbars on the page logo and the iframe.
2016-06-29 10:58:39 -05:00
TheExpertNoob 16eff99183 Update page_style.css
Made some changes so that there were no scrollbars appearing in IE10
2016-06-29 10:56:45 -05:00
TheExpertNoob f241773b00 Merge pull request #1 from TheExpertNoob/release-1.1.0
Release 1.1.0
2016-06-28 11:46:18 -05:00
Matthias Strubel 6fb6de55b7 hostapd.conf: default client isolation paramter
Fixes  #157
2016-06-27 21:45:07 +02:00
TheExpertNoob 7d2f09116c Update motd.txt version
Updated version from 1.0.7 to 1.1.0
2016-06-15 12:38:02 -05:00
Matthias Strubel 7950472e0e Droopy: Make chmod optional.
Droopy always does the chmod operation, if the option is set.
On partitions with FAT it is not possible to execute this operation.
Droopy may ran into issue in that situation.

With that fix, the option won't be set on droopy start to prevent
any chmod operation on FAT partitions.

Fixes #154
2016-06-14 20:09:28 +02:00
TheExpertNoob 1705dd1c88 Update nothing.html 2016-06-02 11:36:41 -05:00
TheExpertNoob c09e32b761 Create konami.js 2016-06-02 11:34:02 -05:00
TheExpertNoob 001062c9a9 Update nothing.html 2016-06-02 11:33:17 -05:00
TheExpertNoob 2313a74aa0 Create nothing.html 2016-06-02 11:32:12 -05:00
TheExpertNoob dedc21e72d Update index.html 2016-06-02 11:31:25 -05:00
Matthias Strubel 056970b456 Adjust url to daviddarts.com 2016-05-29 10:09:56 +02:00
Matthias Strubel eae10d2247 lighttpd configuration: add xhtml mime type 2016-05-20 20:29:27 +02:00
Matthias Strubel 0dd645b68e Merge pull request #152 from TheExpertNoob/patch-5
Update start/stop for miniirc in piratebox_alt
2016-05-16 21:31:24 +02:00
Matthias Strubel ba16fb0772 Merge pull request #151 from TheExpertNoob/patch-4
Update start/stop of IRC in piratebox
2016-05-16 21:31:13 +02:00
Matthias Strubel 0554e1914f Merge branch 'hotfix-1.0.8' into development 2016-05-16 21:26:31 +02:00
TheExpertNoob e74b2ade98 Update start/stop for miniirc in piratebox_alt 2016-05-16 07:31:42 -05:00
TheExpertNoob b9dfccd364 Update start/stop of IRC in piratebox 2016-05-16 07:29:32 -05:00
Matthias Strubel f0c4b4ab38 Feature: Firewall rules for non OpenWrt PirateBoxes
- Per default we now collect all DNS requests even not the
    one which addresses us directly (like 8.8.8.8 )
  - Disables is an all Port 80 catch

Fixes: #137
2016-05-12 19:45:14 +02:00
Matthias Strubel c3d68ab8d7 Limit PHP only to /content
#130
2016-05-12 18:15:11 +02:00
Matthias Strubel 3ec6750049 Shoutbox: Add a space between name and text 2016-05-12 18:11:32 +02:00
Matthias Strubel 70163b9176 Fixing missing path 2016-05-12 18:10:51 +02:00
Matthias Strubel 09d04d8ff7 Better handling of content folder and more dependeing changes
-->  Design-Stuff to USB Stick #107
2016-05-10 20:09:49 +02:00
Matthias Strubel 107b3cdf65 First implementation for separate content folder, for easier customization
-->  Design-Stuff to USB Stick #107
2016-05-10 19:59:15 +02:00
Matthias Strubel 6a59bdc2ea Follow Up commit to 6c2c691b40 2016-04-26 21:29:56 +02:00
Matthias Strubel 5cc3d685aa lighttpd upload: align Upload sizes
With the introduction of PHP and as a preparation for the
multipart uploader, we moved the tmp space of lighttpd
to the ramdisk on the tiny routers.
We now need to adjust the upload size in kareha to that limit.

With the same commit, I raize the MB limit of lighttpd to 5MB,
which is a good compromise.
2016-04-26 21:17:14 +02:00
Matthias Strubel 0c357e1184 jQuery Update to 2.2.3
Closed: #129
2016-04-26 21:13:27 +02:00
Matthias Strubel 6c2c691b40 PHP feature: We ship it disabled per default.
- User needs to opt-in
 - Unrestricted, execution, currently

Fixed #130
2016-04-26 21:06:30 +02:00
Matthias Strubel 8fd815d1e5 Merge branch 'development' of github.com:PirateBox-Dev/PirateBoxScripts_Webserver into development 2016-04-26 20:42:46 +02:00
Matthias Strubel 25e699ed8f Merge branch 'feat-remove-uploader' into development
Closed #141

* feat-remove-uploader:
  Reverting php-jquery uploader
2016-04-26 20:41:56 +02:00
Matthias Strubel 5f98a0dcf2 Fix message problems with droopy startup 2016-04-26 20:41:14 +02:00
geekspourjesus cfae4ebfb6 Update data.fr.properties
fixed accentuation
2016-04-25 16:47:33 +02:00
Cas de Reuver 143e14d310 Droopy: block index.php uploads
Merge pull request #148 from casdr/hotfix-droopy-block-index-php
2016-04-18 06:50:58 +02:00
Matthias Strubel d47c7548a2 Reverting php-jquery uploader
Fixes #141
2016-04-14 07:43:59 +02:00
geekspourjesus d650dfb49a Update data.fr.properties
fixed typos
2016-04-05 18:34:31 +02:00
geekspourjesus 6e9e9c5db1 added some data-l10n-id to extend localisation
added some data-l10n-id to extend localisation
2016-04-05 18:26:37 +02:00
geekspourjesus 20374a8b24 Update data.de.properties
Added some new strings
2016-04-05 18:23:43 +02:00
geekspourjesus aed64dbba4 Update data.en.properties
Added some new strings
2016-04-05 18:22:50 +02:00
geekspourjesus 5a8f0bb03b Update data.fr.properties
Added some new strings
2016-04-05 18:19:50 +02:00
Lars Bartschat a5241badea Fix #! in rpi_hwclock script 2016-02-09 22:24:57 +01:00
Lars Bartschat 7a9bfe42ac Fix directory to rpi_hwclock.sh in rpi_hwclock.service file 2016-02-09 22:00:57 +01:00
Lars Bartschat 890ab6be93 Update motd.txt for rpi_hwclock 2016-02-09 20:04:21 +01:00
Lars Bartschat 36885722d3 Add rpi_hwclock shell script and service 2016-02-09 19:49:27 +01:00
Matthias Strubel 57d5d16622 Adjustments for directory assignments 2016-02-07 10:54:39 +01:00
Matthias Strubel 391c137709 Merge branch 'release-1.0.7' into merge-1.0.7 2016-02-07 10:52:13 +01:00
Matthias Strubel eb6c335940 Fix: Directory Listing menu is not working in responsive mode 2016-02-07 10:38:55 +01:00
Chris L 8c040826fe Updated version number. 2016-02-05 21:40:36 +01:00
Chris L 1920748106 Fixed shebang 2016-02-05 21:19:11 +01:00
Chris L 9ffe5f83b7 Added RPi related scripts, moved services and motd to their new home. 2016-02-05 20:47:41 +01:00
Matthias Strubel a1200673ee Add webm mime-type 2016-02-03 20:20:09 +01:00
Chris Landa 59010538fa Changed parameters of wget for starting the baord 2016-01-25 22:37:30 +01:00
Chris Landa a8fa25d9c3 Fixed some white spacing, added some comments 2016-01-24 17:57:05 +01:00
Chris Landa c58e96ba93 Chaned wording a bit. Log the interesting bits instead of echoing them only. 2016-01-24 17:48:37 +01:00
Chris Landa 7d094a4970 Date time may have spaces in it 2016-01-24 17:41:03 +01:00
Chris Landa 0692b46a45 Sanitize date time string before comparison 2016-01-24 16:07:50 +01:00
Chris Landa 670b1bd9aa Added function to sanitize datetime 2016-01-24 16:02:28 +01:00
Chris Landa 263efa2c44 Unified intendation 2016-01-24 15:58:23 +01:00
Chris Landa 0ec6e0890d timesave format may contain spaces, so we wrap it in quotes 2016-01-24 15:48:19 +01:00
Chris Landa 8a14e818d8 Fixed trailing spaces 2016-01-24 15:47:24 +01:00
Matthias Strubel 27b8474e52 delete_empty.sh: Don't clean out root filesystem if shared folder does not exist
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
2016-01-24 12:17:02 +01:00
Matthias Strubel ca7aa54b05 Merge branch 'feature-release-1.1.0' into release-1.0.7
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.
2016-01-11 20:48:05 +01:00
Matthias Strubel 9fb2a077f7 Send a proper HTTP Reason code back 2016-01-06 09:11:51 +01:00
Matthias Strubel 103d19a144 Insert mime-type for .svg 2015-12-13 13:26:41 +01:00
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 8957bc67b7 Fix orientation / linebreaks of the upload box
Fixes #126
2015-10-01 17:46:52 +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 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 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