Skip to content

Commit

Permalink
Merge branch 'release-1.1.0'
Browse files Browse the repository at this point in the history
* release-1.1.0: (183 commits)
  Revert the changes for the konami code
  Update index.html
  Update page_style.css
  hostapd.conf: default client isolation paramter
  Update motd.txt version
  Droopy: Make chmod optional.
  First Checklist for PirateBox tests
  Fix merge leftover artifact
  Update nothing.html
  Create konami.js
  Update nothing.html
  Create nothing.html
  Update index.html
  Adjust url to daviddarts.com
  lighttpd configuration: add xhtml mime type
  lighttpd configuration: add xhtml mime type
  Update start/stop for miniirc in piratebox_alt
  Update start/stop of IRC in piratebox
  Feature: Firewall rules for non OpenWrt PirateBoxes
  Adding freshly implemented features
  ...
  • Loading branch information
MaStr committed Sep 20, 2016
2 parents 7da34b9 + 898d6cc commit b3b1030
Show file tree
Hide file tree
Showing 80 changed files with 3,476 additions and 532 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Expand Up @@ -3,6 +3,9 @@
piratebox/piratebox/version
piratebox/piratebox/www/chat_content.html
image_stuff/*
piratebox/piratebox/bin/miniircd.py
piratebox_ws_*
piratebox-ws_*
tmp/*
piratebox/piratebox/bin/miniircd.py
piratebox/piratebox/www/Shared
piratebox/piratebox/www/cgi-bin/data.pso
4 changes: 3 additions & 1 deletion AUTHORS
@@ -1,4 +1,4 @@
Based on idea of David Darts: http://wiki.daviddarts.com/PirateBox
Based on idea of David Darts: http://daviddarts.com

Script collection by:
Matthias Strubel http://piratebox.aod-rpg.de
Expand All @@ -22,6 +22,8 @@ Contributors for modifications:
# herr-gabriel
# Jess Stubenbord
# Mike Weaver
# bartschat - RTC RPi feature
# casdr
# ... and all others I might have forgotten.


Expand Down
33 changes: 31 additions & 2 deletions CHANGELOG
@@ -1,5 +1,32 @@
CHANGELOG

=== 1.1.0 ===
* [New] Enable / Disable file provisioning for custom lighttpd directory listing
* [New] ChatBox message is now in conf/chat_init.txt
* [New] Disable the Shoutbox to prevent writing into it
* [New] PHP configuration shipped, to enable easily for modifications
* [New] Mesh implementation, technical preview
* [New] JSON config file to direct client side applications, like "share apps"
* [New] Simply python IRC Server installed and prepareable for automatic start
* [New] Shoutbox-Time via Client-Date possible
* [New] Website is now available under /content and /opt/piratebox/share
* [New] [RPi] Service files for using a RTC at PiratBox
* [New] Redirect all DNS requests to local box via firewall (custom script)
* [New] Redirect all web request option via firewall (disabled) (custom script)
* [New] [OpenWrt] Redirect all DNS requests to local box via firewall
* [New] [OpenWrt] Redirect all web request option via firewall (disabled)
* [New] [OpenWrt] Enable all wifi devices with the PirateBox SSID
* [New] [OpenWrt] AP Client isolation activated per default
* [Changed] Send HTTP-Code 204 via PHP, much cleaner
* [Changed] Update jQuery to 2.2.3, removes IE <=8 support
* [Changed] Redirect happens now always to wished domain name
* [Changed] Droopy, make chmod operation optional (prevent errors on OpenWRT)
* [Fix] License Adjustments
* [Fix] Prevent JS Injection in Shoutbox
* [Fix] Shoutbox: Missing blank between author and content
* [Fix] Fix problem when running in small display mode at direcotry listing.
* [Fix] Add xhtml mime type in lighttpd configuration

=== 1.0.7 ===
* [New] Lock shoutbox when you send a message.
* [New] Display disk space usage on front page.
Expand Down Expand Up @@ -101,6 +128,8 @@ NOTE: This may only be a partial changelog, check github / your package manager
* [New] install method
* [New] install dependencies
* [Fixed] General cleaning
* [Removed] [Testing] Executable, we will stick to service based
* [Fixed] Overwritten saved timestamp with 1970 one
* [New] possibility in install_piratebox.sh to exchange the hostname easily
* [New] Moved DHCP leasefile into memory on OpenWRT system (/tmp is memory)
* [Fix] Timesave script does not contain parts for OpenWRT anymore
Expand All @@ -111,8 +140,8 @@ NOTE: This may only be a partial changelog, check github / your package manager
* [Fix] Enable unescaped blanks in Upload-Folder
* [Fix] iOS 7 captive Portal fix
* [New] Sample configuration for UPnP Server
* [New] Image file is ext4 and 50MB

=== v0.6G ===
* [Fix] Hide dot files in directory-listing which are usually hidden files
* [Fixed] Hide dot files in directory-listing which are usually hidden files
* [New] Image file is ext4 and 50MB
* [Fix] Fixed captive Portal detection for iOS7
84 changes: 84 additions & 0 deletions CHECKLIST.md
@@ -0,0 +1,84 @@
# Image Testing Checklist
If you are part of the testing team, this Checklist is for you.

## For RaspberryPi
Download the image, dump it to SD card, connect your PirateBox to the same network the computer you are testing from is connected to and then go through the checklist step by step to make sure everything is working as it should.
Before going through the checklist, make sure your USB WiFi is attached and is one of the supported types. Also make sure you have a *FAT32* formatted USB thumb drive attached to your RPi.

## For OpenWrt
Download the corresponding install_piratebox.zip and .bin file for your device. If you have already a PirateBox running, follow the upgrade instructions. If you install your Software on a fresh device, follow the installation howto
Make sure you PirateBox stopped flashing (indicating the installation is running). On PirateBox 1.1.0 the installation happens in multiple interations.


## Checklist
(Skip sections which are not valid for your architecture).

### Initial configuration setup
* [ ] PirateBox' WiFi is available
* [ ] Connection to PirateBox' WiFi could be established
* [ ] **RPi only** SSH connection to PirateBox with the username *alarm* and the password *alarm* could be established
* [ ] **RPi only** Message of the day containing information about *First Steps* is displayed correctly
* [ ] **RPi only** Change the password for the *alarm* user, log out and log back in
* [ ] **RPi only** Enable USB share
* [ ] Set some date and enable Fake-timeservice
* [ ] Enable Kareha Image and Discussion Board
* [ ] Enable UPnP media server (minidlna)
* [ ] It is possible to post to the chat
* [ ] It is possible to upload files
* [ ] It is possible to post to the board
* [ ] Reboot
* [ ] PirateBox' WiFi is available
* [ ] Connection to PirateBox' WiFi could be established
* [ ] Date matches the set date from the Fake-timeservice

### Functional tests
**UI in General**
* [ ] UI looks proper, no ugly overlapping
* [ ] UI is responsive on small browser size; is adjusts the look
* [ ] Every URL is working, on main screen
* [ ] Title URLs to mainscreen and Forum are working in Directory-Listing

**ImageBoard**
* [ ] It is possible to post new threads
* [ ] These threads can be answered on
* [ ] When I come back later to the imageboard and post a reply, the post order is correct.
* [ ] I can upload files (<5MB) to the posts as well

**Shoutbox**
* [ ] Different color work in Shoutbox , Username can be changed
* [ ] Posting URLs or other HTML like special characters do not break Shoutbox

**Upload**
* [ ] Upload of different filetypes works
* [ ] Multiple files can be uploaded
* [ ] The messages inside the upload box are in english or my language
* [ ] Special characters are correctly uploaded
* [ ] It is not possible to upload a file named index.html

**Directory Listing**
* [ ] Download of files is possible
* [ ] Directory listing reacts responsive on screen size changes
* [ ] Created folders are accessiable (UI is deployed after reboot)
* [ ] URLs to mainpage and forum in subfolder work
* [ ] Special character files uploaded via upload functionality work

**UPNP Server**
* [ ] Streaming of MP3 works via an UPNP client
* [ ] It is possible to stream videos via UPNP

**IRC Server**
* [ ] Is started after activation in piratebox.conf
* [ ] With an IRC client, the IRC server is usable
* [ ] New channels can be created

**Customization**
* [ ] Changes on the folder "content" on the USB Stick (**valid for OpenWrt** and RPI **with USB Storage mod**) are visible on the browser
* [ ] PHP was sucessfully enabled in lighttpd.conf and fastcgi processes are visible in "ps"
* [ ] My custom PHP script is working in /content folder
* [ ] Deleting the content folder creates a new folder after a reboot
* [ ] It is possible to change the visible hostname of piratebox using the install_piratebox.sh script

**Enhanced Network Configuration**
* [ ] Clients with static DNS Server entries work while being connected to PirateBox (PirateBox interferes here)
* [ ] One Client can not ping or connect to another Client (directly via wifi)
* [ ]

0 comments on commit b3b1030

Please sign in to comment.