project/luci.git
15 years agoBe nice()
Steven Barth [Tue, 10 Mar 2009 20:59:56 +0000 (20:59 +0000)]
Be nice()

15 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

15 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

15 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

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

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

15 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

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

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

15 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

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

15 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

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

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

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

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

15 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

15 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

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

15 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

15 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

15 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

15 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

15 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)

15 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

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

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

15 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

15 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

15 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

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

15 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

15 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"

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

15 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

15 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

15 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

15 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

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

15 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

15 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

15 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

15 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()

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

15 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

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

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

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

15 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)

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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

15 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

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

15 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

15 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

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

15 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

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

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

15 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

15 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()

15 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

15 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

15 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)

15 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()

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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

15 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

15 years agocontrib/package: remove IpcConnect section from olsrd default config
Jo-Philipp Wich [Sat, 31 Jan 2009 03:01:40 +0000 (03:01 +0000)]
contrib/package: remove IpcConnect section from olsrd default config
applications/luci-olsr: disable IpcConnection configuration

15 years agocontrib/package: switch olsrd-luci to 0.5.6-r3 release + patches for freifunk firmware
Jo-Philipp Wich [Sat, 31 Jan 2009 02:20:43 +0000 (02:20 +0000)]
contrib/package: switch olsrd-luci to 0.5.6-r3 release + patches for freifunk firmware

15 years agoLost without translation...
Steven Barth [Fri, 30 Jan 2009 18:57:02 +0000 (18:57 +0000)]
Lost without translation...

15 years agoLost in translation...
Steven Barth [Fri, 30 Jan 2009 18:48:46 +0000 (18:48 +0000)]
Lost in translation...

15 years agoCleanup Freifunk defaults
Steven Barth [Fri, 30 Jan 2009 17:55:21 +0000 (17:55 +0000)]
Cleanup Freifunk defaults
Remove RTS, fallback to default
Disable Fledermaus theme
Disable forced German language, fallback to autodetect

15 years agomodules/freifunk:
Jo-Philipp Wich [Fri, 30 Jan 2009 16:05:14 +0000 (16:05 +0000)]
modules/freifunk:
- install cronjob for gateway check
- provide /etc/rc.local.d/ as suggested by ufo

15 years agoAdd OLSR dyn_gw_plain gateway test
Steven Barth [Fri, 30 Jan 2009 16:00:09 +0000 (16:00 +0000)]
Add OLSR dyn_gw_plain gateway test

15 years agoFix autodetection for extended language identifiers
Steven Barth [Fri, 30 Jan 2009 15:29:14 +0000 (15:29 +0000)]
Fix autodetection for extended language identifiers

15 years agoapplications/luci-ffwizard-leipzig: also unload dyn_gw_plain if share internet is...
Jo-Philipp Wich [Fri, 30 Jan 2009 15:07:06 +0000 (15:07 +0000)]
applications/luci-ffwizard-leipzig: also unload dyn_gw_plain if share internet is not checked

15 years agothemes: fix version string in footer
Jo-Philipp Wich [Fri, 30 Jan 2009 13:59:37 +0000 (13:59 +0000)]
themes: fix version string in footer

15 years agocontrib/package: switch to olsrd dyn_gw_plain plugin and enable it by default
Jo-Philipp Wich [Fri, 30 Jan 2009 13:48:32 +0000 (13:48 +0000)]
contrib/package: switch to olsrd dyn_gw_plain plugin and enable it by default

15 years agoSet default target to ACCEPT
Steven Barth [Thu, 29 Jan 2009 15:03:34 +0000 (15:03 +0000)]
Set default target to ACCEPT