Commit Graph

63 Commits

Author SHA1 Message Date
Matthias Strubel c84a9be03b init: Fix startup of radvd, make it as an absolute path 2017-06-30 09:44:52 +02:00
Matthias Strubel 7a667bfe2f initd: minircd startup fix setuid
remove setuid option, because start-stop-daemon already does
2017-04-11 07:15:14 +02:00
Matthias Strubel 4a5f881814 initd: fix miniircd startup
miniircd can not handle quotations correctly
2017-04-11 06:33:04 +02:00
Matthias Strubel 6104d4731a Fix some shell incompatibilities 2016-10-05 20:53:53 +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 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 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 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 5f98a0dcf2 Fix message problems with droopy startup 2016-04-26 20:41:14 +02: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 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 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 e895986d91 Merge remote-tracking branch 'remotes/origin/irc_server' into development
Conflicts:
	Makefile
	piratebox/piratebox/init.d/piratebox
	piratebox/piratebox/init.d/piratebox_alt
2015-01-28 12:37:02 +01:00
Matthias Strubel d5f9ce8d60 Merge branch 'hotfix-1.0.2' into development
Conflicts:
	BuildScripts/RPi_motd.txt
	CHANGELOG
	Makefile
	README.md
	piratebox/piratebox/python_lib/broadcast.py
	piratebox/piratebox/python_lib/discover.py
	piratebox/piratebox/python_lib/messages.py
	piratebox/piratebox/python_lib/psogen.py
	piratebox/piratebox/www/cgi-bin/psowrte.py
2014-12-26 09:56:47 +01:00
risca 46b6500ff6 typo in bash test 2014-12-08 02:38:34 +01:00
Matthias Strubel b6dabf9643 Including JSON generation feature.
Merge branch 'json_generation' into development
2014-06-27 16:32:40 +02:00
Matthias Strubel 7d78cc718c Implementing mesh feature from LibraryBox to PirateBox
- still needs some tweaks mapping mDNS to S-DNS  (make unique name available via non avahi clients)
   - refreshing of dnsmasq cache

Merge branch 'mesh_enabling' into development

Conflicts:
	piratebox/piratebox/bin/generate_config_files.sh
	piratebox/piratebox/conf/piratebox.conf
2014-06-27 16:20:20 +02:00
Matthias Strubel f43c749a6a Cleanup old included shoutbox in droopy, exchanged it with an "include" option. 2014-04-07 10:04:36 +02:00
Matthias Strubel 41f9bb4ffd first version of json generation transfered from LibraryBox 2.0 2014-01-17 17:14:45 +01:00
Matthias Strubel 898e98e55f enable / disable file copy into share folder via config 2014-01-17 16:37:23 +01:00
Matthias Strubel 5300e5c42a Merge branch 'librarybox_dev' into mesh_enabling
Conflicts:
	CHANGELOG
	piratebox/piratebox/conf/piratebox.conf
2013-11-29 18:01:40 +01:00
Matthias Strubel abc97d1e44 Enable unescaped blanks in upload-folder variable
Conflicts:
	CHANGELOG
2013-11-29 17:45:52 +01:00
Matthias Strubel f18806e963 Fixes issue in package generation + initialition on Debian 2013-11-29 17:44:03 +01:00
Matthias Strubel 5e3896a4e1 Distribute Files which are responsible for the new design in directory listing 2013-11-29 17:43:43 +01:00
Matthias Strubel c1e5a9c351 Changes for enabling working IPv6 configuration and Mesh-Node configs 2013-10-09 12:18:19 +02:00
Matthias Strubel a59d56977d Enable unescaped blanks in upload-folder variable 2013-09-12 20:38:08 +02:00
Matthias Strubel e3152c3787 Fixes issue in package generation + initialition on Debian 2013-08-26 09:26:20 +02:00
Matthias Strubel 91c8864b40 Fixes issue in package generation + initialition on Debian 2013-08-26 08:20:55 +02:00
Matthias Strubel e1c6f00f31 Directory-Listing with PirateBox Design now
Merge branch 'responsive_design' into release-1.0

Conflicts:
	piratebox/piratebox/conf/lighttpd/lighttpd.conf (configuration)
2013-08-21 10:05:15 +02:00
Matthias Strubel aa36558a1c Distribute Files which are responsible for the new design in directory listing 2013-08-21 09:59:58 +02:00
Matthias Strubel 554cf55daa enhance path gracefully 2013-07-02 12:21:10 +02:00
Matthias Strubel 1aacd6fc2c first implementation of IRC Server miniircd 2013-04-09 08:02:05 +02:00
Cale Black aec8029741 Merge https://github.com/MaStr/PirateBoxScripts_Webserver into No_OpenWRT
Updated to latest before removing all openwrt
2013-04-08 13:11:50 -06:00
Matthias Strubel 6139e15276 more fixes for #38 2013-03-22 18:10:38 +01:00
Matthias Strubel 4820fca9fe should fix bootup issues with lost IP on wlan0 #38 2013-02-25 09:19:06 +01:00
Cale Black c3b2dc6e8f Clean out unnecessary OpenWRT things. 2013-02-18 14:25:59 -07:00
Matthias Strubel fdedbaa703 Start/stop global shoutbox service via init 2012-12-26 11:20:16 +01:00
Matthias Strubel 3b1e08a7f1 proper generation of environment vars
new  handling of broadcast destinations
workingsimple global chatbox ... init.d integration still missing
2012-12-26 09:51:59 +01:00
Matthias Strubel 6715254be1 fixed some shoutbox issues & tidied up a few things 2012-11-27 20:41:22 +01:00
Matthias Strubel 01e84ffaf5 removed some syntax errors occured on laptop 2012-11-26 07:57:17 +01:00
Matthias Strubel 80aaa3e1c5 severall script fixes. 2012-11-04 19:59:25 +01:00
Matthias Strubel 1c4e87b1f2 Lib folder
Environment stuff added
more config for global shoutbox
2012-11-01 22:47:36 +01:00
Matthias Strubel 0d3624326d cleanup
central python_lib folder
Add python_lib to python's libpath
2012-11-01 19:39:37 +01:00
Matthias Strubel 1f80638f3a set init_done in init-section not in openwrt_init ... 2012-09-28 12:01:12 +02:00
Matthias Strubel a05bf7759a integration new Module for #16 into scripts and startup 2012-09-15 15:22:49 +02:00
Matthias Strubel b66088eb5f generate configuration ony on startup #4 2012-06-15 18:59:31 +02:00
Matthias Strubel 506a957299 make upload optional #13 2012-06-15 18:09:03 +02:00