project/luci.git
13 years agoSync nixio
Steven Barth [Fri, 13 Mar 2009 18:29:23 +0000 (18:29 +0000)]
Sync nixio

13 years agonixio: More sockopts
Steven Barth [Fri, 13 Mar 2009 12:10:33 +0000 (12:10 +0000)]
nixio: More sockopts

13 years agonixio: +socket options SO_DONTROUTE, SO_BINDTODEVICE
Steven Barth [Fri, 13 Mar 2009 11:53:12 +0000 (11:53 +0000)]
nixio: +socket options SO_DONTROUTE, SO_BINDTODEVICE

13 years agonixio: chdir()
Steven Barth [Thu, 12 Mar 2009 21:44:11 +0000 (21:44 +0000)]
nixio: chdir()

13 years agonixio: add setsid()
Steven Barth [Thu, 12 Mar 2009 21:31:57 +0000 (21:31 +0000)]
nixio: add setsid()

13 years agohttpclient: handle redirects more graceful
Steven Barth [Thu, 12 Mar 2009 20:14:55 +0000 (20:14 +0000)]
httpclient: handle redirects more graceful

13 years agoFreeBSD compatibility #3
Steven Barth [Thu, 12 Mar 2009 15:09:12 +0000 (15:09 +0000)]
FreeBSD compatibility #3

13 years agonixio: FreeBSD compatibility #2
Steven Barth [Thu, 12 Mar 2009 14:53:52 +0000 (14:53 +0000)]
nixio: FreeBSD compatibility #2

13 years agonixio: FreeBSD compatibility #1
Steven Barth [Thu, 12 Mar 2009 13:06:19 +0000 (13:06 +0000)]
nixio: FreeBSD compatibility #1

13 years agolibs/sys: update zoneinfo to version 2009b
Jo-Philipp Wich [Thu, 12 Mar 2009 07:47:11 +0000 (07:47 +0000)]
libs/sys: update zoneinfo to version 2009b

13 years agoapplications/luci-asterisk: begin reworking dialplan stuff to separate dialzones...
Jo-Philipp Wich [Wed, 11 Mar 2009 23:40:08 +0000 (23:40 +0000)]
applications/luci-asterisk: begin reworking dialplan stuff to separate dialzones from dialplans

13 years agoDrop XML i18n files
Steven Barth [Wed, 11 Mar 2009 15:21:59 +0000 (15:21 +0000)]
Drop XML i18n files

13 years agoBe nice()
Steven Barth [Tue, 10 Mar 2009 20:59:56 +0000 (20:59 +0000)]
Be nice()

13 years agonixio: Implement protable behaviour of signal(), export more error
Steven Barth [Mon, 9 Mar 2009 22:19:47 +0000 (22:19 +0000)]
nixio: Implement protable behaviour of signal(), export more error
constants

13 years agohttpclient: Added missing import
Steven Barth [Mon, 9 Mar 2009 20:06:36 +0000 (20:06 +0000)]
httpclient: Added missing import
nixio: waitpid() returns 0 with WNOHANG and no terminated childs

13 years agoAllow SimpleForm handler to set CBI status
Steven Barth [Mon, 9 Mar 2009 14:28:55 +0000 (14:28 +0000)]
Allow SimpleForm handler to set CBI status

13 years agoImproved httpclient
Steven Barth [Mon, 9 Mar 2009 14:02:34 +0000 (14:02 +0000)]
Improved httpclient

13 years agonixio: reenable splice() for linux
Steven Barth [Mon, 9 Mar 2009 13:17:44 +0000 (13:17 +0000)]
nixio: reenable splice() for linux

13 years agoCicrumvent possible segfaults in axTLS
Steven Barth [Mon, 9 Mar 2009 11:38:29 +0000 (11:38 +0000)]
Cicrumvent possible segfaults in axTLS
More compatibility

13 years agoMake nixio compile on OpenSolaris
Steven Barth [Mon, 9 Mar 2009 09:37:08 +0000 (09:37 +0000)]
Make nixio compile on OpenSolaris

13 years agoFixed last commit
Steven Barth [Sat, 7 Mar 2009 16:28:27 +0000 (16:28 +0000)]
Fixed last commit

13 years agoDon't compare cstate if there is none
Steven Barth [Sat, 7 Mar 2009 16:24:05 +0000 (16:24 +0000)]
Don't compare cstate if there is none

13 years agoFix debugging output
Steven Barth [Sat, 7 Mar 2009 13:21:27 +0000 (13:21 +0000)]
Fix debugging output

13 years agoAllow combination of SimpleForms as Forms into pages with Maps
Steven Barth [Sat, 7 Mar 2009 11:30:41 +0000 (11:30 +0000)]
Allow combination of SimpleForms as Forms into pages with Maps
Allow subsequent changes of Table data

13 years agoFixed last commit
Steven Barth [Fri, 6 Mar 2009 17:20:42 +0000 (17:20 +0000)]
Fixed last commit

13 years agoFixed last commit
Steven Barth [Fri, 6 Mar 2009 17:20:38 +0000 (17:20 +0000)]
Fixed last commit

13 years agobla
Steven Barth [Fri, 6 Mar 2009 17:18:45 +0000 (17:18 +0000)]
bla

13 years agohttpclient: Improved callback support
Steven Barth [Fri, 6 Mar 2009 17:17:44 +0000 (17:17 +0000)]
httpclient: Improved callback support

13 years agonixio util:
Steven Barth [Fri, 6 Mar 2009 16:34:26 +0000 (16:34 +0000)]
nixio util:
Don't shutdown TLS connection on close()
This could lead to problems when calling close on a forked socket
sink() also shutdown connection if close is requested and possible

13 years agocontrib/package: mark luaxyssl as broken until it's ported to polarssl, libxyssl...
Jo-Philipp Wich [Fri, 6 Mar 2009 13:52:42 +0000 (13:52 +0000)]
contrib/package: mark luaxyssl as broken until it's ported to polarssl, libxyssl was removed upstream

13 years agohttpclient: callback can abort download
Steven Barth [Thu, 5 Mar 2009 23:52:54 +0000 (23:52 +0000)]
httpclient: callback can abort download

13 years agonixio: Export more constants, introduce {g,s}et{g,u}id, getpid, getppid
Steven Barth [Thu, 5 Mar 2009 19:20:40 +0000 (19:20 +0000)]
nixio: Export more constants, introduce {g,s}et{g,u}id, getpid, getppid

13 years agocontrib/package: fix typo in luci makefile
Jo-Philipp Wich [Thu, 5 Mar 2009 17:05:44 +0000 (17:05 +0000)]
contrib/package: fix typo in luci makefile

13 years agocontrib/package: use "Revision:" field from svn when generating version
Jo-Philipp Wich [Thu, 5 Mar 2009 02:18:06 +0000 (02:18 +0000)]
contrib/package: use "Revision:" field from svn when generating version

13 years agomodules/admin-core: define size constraints for psk in wireless schema
Jo-Philipp Wich [Wed, 4 Mar 2009 22:45:02 +0000 (22:45 +0000)]
modules/admin-core: define size constraints for psk in wireless schema

13 years agomodules/admin-{mini,full}: implement wpa-wpa2 mixed mode
Jo-Philipp Wich [Wed, 4 Mar 2009 22:43:45 +0000 (22:43 +0000)]
modules/admin-{mini,full}: implement wpa-wpa2 mixed mode
modules/admin-core: extend uci schema to cover mixed mode and mesh mode (802.11s)

13 years agonixio: Fix generation of private key for axtls
Steven Barth [Wed, 4 Mar 2009 18:30:56 +0000 (18:30 +0000)]
nixio: Fix generation of private key for axtls

13 years agoStill not working...
Steven Barth [Wed, 4 Mar 2009 17:53:25 +0000 (17:53 +0000)]
Still not working...

13 years agoFix nixio postinst
Steven Barth [Wed, 4 Mar 2009 17:41:55 +0000 (17:41 +0000)]
Fix nixio postinst

13 years agonixio: Autogenerate private key on installation if we have axtls
Steven Barth [Wed, 4 Mar 2009 17:17:30 +0000 (17:17 +0000)]
nixio: Autogenerate private key on installation if we have axtls
support, make the TLS provider configurable in the build menu

13 years agoSet /etc/private.rsa as default key for axTLS contexts
Steven Barth [Wed, 4 Mar 2009 13:09:32 +0000 (13:09 +0000)]
Set /etc/private.rsa as default key for axTLS contexts
More openssl - axTLS fixes

13 years agonixio:
Steven Barth [Tue, 3 Mar 2009 22:44:26 +0000 (22:44 +0000)]
nixio:
Use POSIX file functions
introduce dup()
introduce fork() wait() kill()
more signal interrupt wrappers
more POSIX / UNIX standard compliance

13 years agoFix header generator
Steven Barth [Mon, 2 Mar 2009 20:18:29 +0000 (20:18 +0000)]
Fix header generator

13 years agoSet method to POST if we have postdata and no other method is set
Steven Barth [Mon, 2 Mar 2009 19:45:07 +0000 (19:45 +0000)]
Set method to POST if we have postdata and no other method is set

13 years agohttpclient: default content-type for post data is
Steven Barth [Mon, 2 Mar 2009 19:41:32 +0000 (19:41 +0000)]
httpclient: default content-type for post data is
"application/x-www-form-urlencoded"

13 years agoMore splicing stuff
Steven Barth [Sat, 28 Feb 2009 21:21:52 +0000 (21:21 +0000)]
More splicing stuff

13 years agoAdd Makefile definitions for http-client
Steven Barth [Fri, 27 Feb 2009 14:58:56 +0000 (14:58 +0000)]
Add Makefile definitions for http-client

13 years agonixio: Fixes, use POSIX calls for file i/o
Steven Barth [Fri, 27 Feb 2009 14:51:37 +0000 (14:51 +0000)]
nixio: Fixes, use POSIX calls for file i/o
httpclient: resume support, splice() support, cookie support

13 years agoIntroduce luci.dispatcher.get(...) which works like node(...) but does
Steven Barth [Thu, 26 Feb 2009 17:08:41 +0000 (17:08 +0000)]
Introduce luci.dispatcher.get(...) which works like node(...) but does
not disable the autocreated flag and does not overwrite the target
controller so that call()-targets won't loose their binding to their
controller

13 years agoEnable stack tracebacks for 500 errors
Steven Barth [Thu, 26 Feb 2009 16:45:01 +0000 (16:45 +0000)]
Enable stack tracebacks for 500 errors

13 years agoAdd GUI for 802.11s
Steven Barth [Thu, 26 Feb 2009 15:50:41 +0000 (15:50 +0000)]
Add GUI for 802.11s

13 years agonixio: Finetuning of TLS-support
Steven Barth [Tue, 24 Feb 2009 17:54:48 +0000 (17:54 +0000)]
nixio: Finetuning of TLS-support
httpclient: HTTPS support
axTLS: enable diagnostic mode

13 years agoapplications/luci-asterisk:
Jo-Philipp Wich [Tue, 24 Feb 2009 01:09:51 +0000 (01:09 +0000)]
applications/luci-asterisk:
- initial dialplan management
- disabled uci scheme
- improved context handling in sip and trunk settings

13 years agoFix option dependencies, this was lost in some IE fixing stuff
Steven Barth [Mon, 23 Feb 2009 22:53:42 +0000 (22:53 +0000)]
Fix option dependencies, this was lost in some IE fixing stuff

13 years agonixio:
Steven Barth [Mon, 23 Feb 2009 17:21:14 +0000 (17:21 +0000)]
nixio:
Reogranize TLS headers
Fix TLS receive buffer workaround for axTLS
Add support for flock()

13 years agoMore compat fixes
Steven Barth [Sun, 22 Feb 2009 23:45:49 +0000 (23:45 +0000)]
More compat fixes

13 years agoRemove some crap
Steven Barth [Sun, 22 Feb 2009 23:37:35 +0000 (23:37 +0000)]
Remove some crap
Add compatiblity for older uclibc versions

13 years agoAdd axTLS sourcecode
Steven Barth [Sun, 22 Feb 2009 23:19:25 +0000 (23:19 +0000)]
Add axTLS sourcecode

13 years agoNIXIO: TLS-Support, bugfixes
Steven Barth [Sun, 22 Feb 2009 22:49:23 +0000 (22:49 +0000)]
NIXIO: TLS-Support, bugfixes

13 years agoSync with OpenWrt
Steven Barth [Sat, 21 Feb 2009 18:30:48 +0000 (18:30 +0000)]
Sync with OpenWrt

13 years agoFixes UVLdoc generation, thanks ffrrrr (closes #49)
Steven Barth [Fri, 20 Feb 2009 11:47:03 +0000 (11:47 +0000)]
Fixes UVLdoc generation, thanks ffrrrr (closes #49)

13 years agoapplications/luci-splash: prevent duplicate firewall rules after boot
Jo-Philipp Wich [Fri, 20 Feb 2009 04:15:54 +0000 (04:15 +0000)]
applications/luci-splash: prevent duplicate firewall rules after boot

13 years agoapplications/luci-ffwizard-leipzig: fix dhcp splash network configuration
Jo-Philipp Wich [Fri, 20 Feb 2009 04:10:04 +0000 (04:10 +0000)]
applications/luci-ffwizard-leipzig: fix dhcp splash network configuration

13 years agoapplications/luci-ffwizard-leipzig: tune tcp defaults
Jo-Philipp Wich [Fri, 20 Feb 2009 01:54:06 +0000 (01:54 +0000)]
applications/luci-ffwizard-leipzig: tune tcp defaults

13 years agoapplications/luci_splash: fix restart of luci-splashd
Jo-Philipp Wich [Fri, 20 Feb 2009 01:43:47 +0000 (01:43 +0000)]
applications/luci_splash: fix restart of luci-splashd

13 years agoapplications/luci-splash: yet another bunch of firewall fixes, improved handling...
Jo-Philipp Wich [Fri, 20 Feb 2009 01:30:30 +0000 (01:30 +0000)]
applications/luci-splash: yet another bunch of firewall fixes, improved handling of luci_splash restarts

13 years agoapplications/luci-splash: firewall fixes
Jo-Philipp Wich [Fri, 20 Feb 2009 00:38:37 +0000 (00:38 +0000)]
applications/luci-splash: firewall fixes

13 years agoapplications/luci-splash: remove debugging code from splashd
Jo-Philipp Wich [Thu, 19 Feb 2009 23:12:34 +0000 (23:12 +0000)]
applications/luci-splash: remove debugging code from splashd

13 years agoapplications/luci-splash: implement alias interface support in luci-splashd
Jo-Philipp Wich [Thu, 19 Feb 2009 23:09:28 +0000 (23:09 +0000)]
applications/luci-splash: implement alias interface support in luci-splashd

13 years agoapplications/luci-splash: fix redirections and form targets
Jo-Philipp Wich [Thu, 19 Feb 2009 21:31:33 +0000 (21:31 +0000)]
applications/luci-splash: fix redirections and form targets

13 years agoapplications/luci-splash: fix crash in splashd
Jo-Philipp Wich [Thu, 19 Feb 2009 21:14:56 +0000 (21:14 +0000)]
applications/luci-splash: fix crash in splashd

13 years agoMore nixio fixes, initial httpclient
Steven Barth [Wed, 18 Feb 2009 21:46:55 +0000 (21:46 +0000)]
More nixio fixes, initial httpclient

13 years agolibs/ipkg: use -force-defaults to ensure non-interactive execution
Jo-Philipp Wich [Tue, 17 Feb 2009 01:37:18 +0000 (01:37 +0000)]
libs/ipkg: use -force-defaults to ensure non-interactive execution

13 years agocontrib/package: make luci-app-statistics depend on a few collectd plugins
Jo-Philipp Wich [Mon, 16 Feb 2009 17:43:43 +0000 (17:43 +0000)]
contrib/package: make luci-app-statistics depend on a few collectd plugins
applications/luci-statistics: implement a workaround for broken permissions on /tmp

13 years agoMore nixio fixes
Steven Barth [Sun, 15 Feb 2009 13:59:30 +0000 (13:59 +0000)]
More nixio fixes

13 years agoapplications/luci-ffwizard-leipzig: fix typo in firewall rules
Jo-Philipp Wich [Sun, 15 Feb 2009 00:23:42 +0000 (00:23 +0000)]
applications/luci-ffwizard-leipzig: fix typo in firewall rules

13 years agoapplications/luci-ffwizard-leipzig: also allow dns traffic
Jo-Philipp Wich [Sun, 15 Feb 2009 00:04:16 +0000 (00:04 +0000)]
applications/luci-ffwizard-leipzig: also allow dns traffic

13 years agonixio: +performance
Steven Barth [Sat, 14 Feb 2009 14:39:12 +0000 (14:39 +0000)]
nixio: +performance

13 years agonixio: added sendfile(), return false instead of nil for EWOULDBLOCK
Steven Barth [Sat, 14 Feb 2009 10:42:48 +0000 (10:42 +0000)]
nixio: added sendfile(), return false instead of nil for EWOULDBLOCK

13 years agonixio next
Steven Barth [Thu, 12 Feb 2009 19:48:06 +0000 (19:48 +0000)]
nixio next
splice() still does not work correctly

13 years agonixio + io = nix2io
Steven Barth [Tue, 10 Feb 2009 17:35:07 +0000 (17:35 +0000)]
nixio + io = nix2io

13 years agolibs/web: don't send Status: 500 in error500() if header is already sent
Jo-Philipp Wich [Mon, 9 Feb 2009 13:17:26 +0000 (13:17 +0000)]
libs/web: don't send Status: 500 in error500() if header is already sent
modules/admin-core: include template header only once

13 years agoUse poll() instead of select()
Steven Barth [Sun, 8 Feb 2009 20:57:36 +0000 (20:57 +0000)]
Use poll() instead of select()
Reintroduce nanosleep()

13 years agomodules/admin-full:
Jo-Philipp Wich [Sun, 8 Feb 2009 20:20:42 +0000 (20:20 +0000)]
modules/admin-full:
- translate i18n fallbacks to english in status controller
- bump copyright year in iptables and interfaces templates
- remove redundant fieldsets from iptables page and nuke a left-over code

13 years agomodules/admin-full: implement interface status page
Jo-Philipp Wich [Sun, 8 Feb 2009 20:11:09 +0000 (20:11 +0000)]
modules/admin-full: implement interface status page
i18n/english: add required strings for interface status

13 years agonixio linux IO/socket api (incomplete / WIP)
Steven Barth [Sun, 8 Feb 2009 14:01:48 +0000 (14:01 +0000)]
nixio linux IO/socket api (incomplete / WIP)

13 years agomodules/admin-full: implement iptables status page
Jo-Philipp Wich [Sun, 8 Feb 2009 03:56:50 +0000 (03:56 +0000)]
modules/admin-full: implement iptables status page
i18n/english: resync xml, add strings for iptables page
libs/sys/iptparser: implement chain() and is_custom_target()

13 years agolibs/sys/iptparser: remove typo, bump copyright year
Jo-Philipp Wich [Sun, 8 Feb 2009 00:50:25 +0000 (00:50 +0000)]
libs/sys/iptparser: remove typo, bump copyright year

13 years agolibs/sys/iptparser: import required functions
Jo-Philipp Wich [Sun, 8 Feb 2009 00:48:21 +0000 (00:48 +0000)]
libs/sys/iptparser: import required functions

13 years agolibs/sys/iptparser:
Jo-Philipp Wich [Sun, 8 Feb 2009 00:45:13 +0000 (00:45 +0000)]
libs/sys/iptparser:
- rewrite inline documentation to luadoc
- utilize luci.ip for source and destination comparisations

13 years agoFix Wifi-Client mode for devices without standard default network configuration
Steven Barth [Wed, 4 Feb 2009 19:10:06 +0000 (19:10 +0000)]
Fix Wifi-Client mode for devices without standard default network configuration

13 years agolibs/sys: import missing symbol
Jo-Philipp Wich [Mon, 2 Feb 2009 17:35:51 +0000 (17:35 +0000)]
libs/sys: import missing symbol

13 years agomodules/admin-full: also show bssid option in ad-hoc mode for broadcom cards
Jo-Philipp Wich [Mon, 2 Feb 2009 14:39:56 +0000 (14:39 +0000)]
modules/admin-full: also show bssid option in ad-hoc mode for broadcom cards

13 years agoapplications/luci-ffwizard-leipzig: use luci.sys.hostname() to update hostname
Jo-Philipp Wich [Sun, 1 Feb 2009 17:14:00 +0000 (17:14 +0000)]
applications/luci-ffwizard-leipzig: use luci.sys.hostname() to update hostname

13 years agolibs/sys: extend luci.sys.hostname() to allow setting a new name
Jo-Philipp Wich [Sun, 1 Feb 2009 17:08:40 +0000 (17:08 +0000)]
libs/sys: extend luci.sys.hostname() to allow setting a new name
modules/admin-{full,mini}: update the hostname at runtime

13 years agomodules/freifunk: start crond if required, send sighup after processing custom scripts
Jo-Philipp Wich [Sat, 31 Jan 2009 17:32:01 +0000 (17:32 +0000)]
modules/freifunk: start crond if required, send sighup after processing custom scripts

13 years agomodules/freifunk: move txpower default to wifi-device
Jo-Philipp Wich [Sat, 31 Jan 2009 16:31:33 +0000 (16:31 +0000)]
modules/freifunk: move txpower default to wifi-device

13 years agoFix ff_olsr_test_gw
Steven Barth [Sat, 31 Jan 2009 16:28:34 +0000 (16:28 +0000)]
Fix ff_olsr_test_gw

13 years agomodules/admin-full: move txpower control to wifi-device
Jo-Philipp Wich [Sat, 31 Jan 2009 16:27:24 +0000 (16:27 +0000)]
modules/admin-full: move txpower control to wifi-device
modules/admin-core: extend wireless schema to cover txpower changes

13 years agomodules/freifunk: disable gateway test for now due to uci problems
Jo-Philipp Wich [Sat, 31 Jan 2009 04:19:41 +0000 (04:19 +0000)]
modules/freifunk: disable gateway test for now due to uci problems