Commit graph

979 commits

Author SHA1 Message Date
Steven Barth
223963e419 Optimise luci.sys 2009-07-10 13:33:48 +00:00
Jo-Philipp Wich
6ea0b5eb45 libs/core: make memory tracer work with c and r events, avoid string allocations for debug output 2009-07-10 13:15:43 +00:00
Steven Barth
7372c00dda Fix LuCId behaviour if thread-limit is reached 2009-07-10 13:04:07 +00:00
Jo-Philipp Wich
6bfe0624b6 libs/sys: improve efficiency of sys.net.defaultroute(), can save hundreds of KB memory usage 2009-07-09 15:53:08 +00:00
Jo-Philipp Wich
36542cbe1d libs/web: use lmo in luci.i18n 2009-07-09 15:05:29 +00:00
Jo-Philipp Wich
d9d3c71435 libs: introduce lmo - Lua Machine Objects, an implementation of binary hash tables 2009-07-09 15:04:27 +00:00
Jo-Philipp Wich
238404ee83 libs/lucid: only execute handlers if daemon is below the thread limit, this allows to hold connections without having to fork immediately 2009-07-06 22:26:46 +00:00
Jo-Philipp Wich
644bc4ac3a libs/lucid: lower thread limit to 10 due to oom issues on different devices 2009-07-06 21:38:51 +00:00
Jo-Philipp Wich
58a5b15c0b libs/nixio: add sysupgrade hook to include /etc/nixio/ (generated certs) into saved file list 2009-06-30 18:05:07 +00:00
Steven Barth
30b216f774 Drop support for luaposix and bitlib (obsoleted by nixio)
Mark luci.fs as deprecated
2009-06-21 13:42:26 +00:00
Steven Barth
a2c71bf739 nixio: Resolve namespace clashes 2009-06-21 13:41:18 +00:00
Steven Barth
a90206c089 Drop webuci (obsolete) 2009-06-20 07:24:09 +00:00
Steven Barth
341f757255 Merge fixes / improvements 2009-06-20 07:14:36 +00:00
Jo-Philipp Wich
65cde286cc drop obsoleted lucittpd packages 2009-06-16 19:30:22 +00:00
Jo-Philipp Wich
8c359115f9 libs/lucid-http: use SERVER_ADDR as fallback 2009-06-16 14:41:43 +00:00
Steven Barth
b3a7ff9f8f Catchall workaround for strange sockaddresses by Jow 2009-06-16 14:27:43 +00:00
Jo-Philipp Wich
988eeb8ff1 libs/nixio: wrap $(CC) in quotes, command could break if ccache is used (CC:=ccache mips-openwrt-linux-uclibc-gcc) 2009-06-15 20:07:59 +00:00
Steven Barth
8546622f65 Redefine splice() flags for crappy uclibc versions 2009-06-15 19:11:38 +00:00
Steven Barth
bdf0a4b520 GSoC: Add RPC client 2009-06-14 09:02:40 +00:00
Steven Barth
c47be2e727 GSoC: Documentation #2 2009-06-14 08:51:43 +00:00
Steven Barth
f9263e00c1 GSoC: Documentation #1 2009-06-13 18:16:34 +00:00
Steven Barth
120a7f558e GSoC: Add LuCId RPC-Slave 2009-06-13 08:56:43 +00:00
Steven Barth
a75d304028 Revert "libs/lucid-http: copyz() causes a Kernel oops on brcm-2.4, revert to copy() for now (#70)"
Fixed in nixio
2009-06-10 23:29:10 +00:00
Steven Barth
690927bf6b Some sendfile() under Linux 2.4 is broken 2009-06-10 23:28:16 +00:00
Jo-Philipp Wich
0649e94571 libs/lucid-http: copyz() causes a Kernel oops on brcm-2.4, revert to copy() for now (#70) 2009-06-10 22:43:11 +00:00
Jo-Philipp Wich
8c7ad9624c Revert r4822, problem is caused by sth. else 2009-06-10 18:24:18 +00:00
Jo-Philipp Wich
408cb93712 libs/lucid: Kamikaze 8.09.1/brcm-2.4 still has the uclibc deamon() bug, work around by not deamonizing lucid 2009-06-10 17:48:41 +00:00
Jo-Philipp Wich
b733587e18 libs/px5g: fix "x509write.c:717: warning: 'ret' might be used uninitialized in this function" 2009-06-10 17:35:23 +00:00
Jo-Philipp Wich
a0eb16cc03 libs/px5g: remove -fvisibility=hidden from PX5G_LIB_CFLAGS, OpenWrt cross compiler don't knows it and it seems to be C++ specific 2009-06-10 17:26:47 +00:00
Jo-Philipp Wich
e35dccbc75 libs/luanet: fix error in base64 decoder, patch from fonosfera 2009-06-08 20:20:12 +00:00
Steven Barth
f242ed5aba HTTPd: No keep-alive after POST request, because we do not check state
of incoming data
2009-06-07 13:51:18 +00:00
Jo-Philipp Wich
8adf9fbd4d libs/sys: don't convert searched target to uppercase in IptParser, breaks searches for targets referencing custom chains 2009-06-07 13:18:53 +00:00
Jo-Philipp Wich
99c213eff8 libs/sys: properly parse iptables rules with not target set 2009-06-07 12:48:28 +00:00
Steven Barth
f4c6554f4c Revert "adjust axtls level"
This reverts commit b123c99304822a1f1502d00df4915e2707940df3.
2009-06-07 12:38:37 +00:00
Steven Barth
eb5a7b36ab adjust axtls level 2009-06-07 12:24:30 +00:00
Steven Barth
b97eae4b69 better warnings 2009-06-07 12:09:14 +00:00
Steven Barth
dc850f5f96 Enable key generation 2009-06-07 11:38:34 +00:00
Steven Barth
82729b60f5 PX5G: no autogeneration 2009-06-07 11:38:30 +00:00
Steven Barth
a261caf40b LuCId: PX5G integration 2009-06-07 11:38:23 +00:00
Steven Barth
c766f9750f LuCId: DER certificate / key support 2009-06-07 11:38:20 +00:00
Steven Barth
0ebce1d608 nixio: Add support for DER certificates, PX5G fix Certmaster 2009-06-07 10:15:12 +00:00
Steven Barth
4934c97978 GCC: serious business, srsly 2009-06-06 20:50:43 +00:00
Steven Barth
0bf57f6245 Add PX5G Keymaster 2009-06-06 20:34:47 +00:00
Steven Barth
4d4f8f4d79 nixio: Fix axTLS configuration, prepare px5g integration 2009-06-06 20:34:33 +00:00
Steven Barth
0d20041419 nixio: Add support for DER keyfiles 2009-06-06 13:03:31 +00:00
Steven Barth
c07ab17d59 nixio: Use correct datatypes for base64 encode 2009-06-06 10:09:52 +00:00
Steven Barth
8a3f3e860a Fix query string detection 2009-06-01 18:30:41 +00:00
Jo-Philipp Wich
217af86e35 lucid: fix separation of query string and url in server handler 2009-06-01 18:10:37 +00:00
Steven Barth
d294f13444 sync lucid 2009-05-28 13:50:05 +00:00
Steven Barth
20d2e99010 nixio: Rework TLS support, added support for CyaSSL 2009-05-28 13:50:00 +00:00
Steven Barth
f4ccae2f4d Disable checkkey for now: Something is wrong with dropbearkey 2009-05-28 08:48:14 +00:00
Steven Barth
658b3db2da Würg around some nasty axTLS keying bugs 2009-05-28 07:21:22 +00:00
Jo-Philipp Wich
2bd86ec208 libs/web: if current language is a regional dialect, fall back to generic language, then english (e.g. pt_BR -> pt -> en) 2009-05-28 00:24:04 +00:00
Steven Barth
ec396f3907 Revert "axtls: change cipher profile" 2009-05-27 20:16:43 +00:00
Steven Barth
1301d50f62 axtls: change cipher spec again 2009-05-27 20:13:26 +00:00
Steven Barth
2edb0fd9a8 axtls: change cipher profile 2009-05-27 20:08:41 +00:00
Steven Barth
494fbd16b0 Disable old SSL handshake 2009-05-27 19:13:19 +00:00
Steven Barth
af3748a9e5 disable keep-alive for now 2009-05-27 19:13:10 +00:00
Steven Barth
693366bdd8 http/1.1 detection 2009-05-27 19:12:58 +00:00
Steven Barth
fa25902656 HTTP-Timeout to 5 seconds 2009-05-27 18:26:07 +00:00
Steven Barth
e00ca14463 Fix webroot 2009-05-27 18:21:29 +00:00
Steven Barth
06a3956a2f LuCId fixes 2009-05-27 13:20:35 +00:00
Steven Barth
9cd14dbc50 lucid init 2009-05-26 17:44:38 +00:00
Steven Barth
73eae62580 Fix redirector 2009-05-26 17:44:27 +00:00
Steven Barth
f7deae100d LuCId 2009-05-26 17:44:02 +00:00
Steven Barth
d2ce28a71e Fix non-HEAD HTTP-Responses 2009-05-25 10:31:16 +00:00
Steven Barth
4209a47b6e Extend CBI Delegators, fix some CBI issue 2009-05-25 10:31:12 +00:00
Steven Barth
ee690abb0f CBI Delegators (Wizards)
Example CBI-Map:

d = Delegator()
d.allow_back = true	-- Back-button
d:add("step1", load("mywizard/form1")) -- model/cbi/mywizard/form1
d:add("step2", load("mywizard/form2"))

return d
2009-05-24 17:17:53 +00:00
Steven Barth
8c4f847ea5 GSoC Commit #1: LuCId + HTTP-Server 2009-05-23 17:21:36 +00:00
Jo-Philipp Wich
7590cd25f4 - Add support for hostap driver
- Retrieve channels from all available wireless interfaces
 - Add channel "auto" to channel list

Thanks Vasilis Tsiligiannis
2009-05-21 21:33:24 +00:00
Jo-Philipp Wich
ce6aec0a91 i18n: remove obsolete lua i18n files 2009-05-19 02:35:25 +00:00
Jo-Philipp Wich
7bf803250b build: integrate po files in the build system 2009-05-19 02:18:28 +00:00
Jo-Philipp Wich
62fade5709 libs/core: make sure that bitlib is loaded, fixes some sdk problems 2009-05-17 01:56:15 +00:00
Jo-Philipp Wich
f2e4a6665b libs/sys: fix checking for empty table 2009-05-13 18:50:12 +00:00
Jo-Philipp Wich
4856c1ea23 libs/sys: fix typo in last commit 2009-05-13 18:45:13 +00:00
Jo-Philipp Wich
98996e380a libs/sys: implement luci.sys.wifi.channels()
modules/admin-full: only display available channels
2009-05-13 18:42:53 +00:00
Jo-Philipp Wich
64600a27ee libs/luanet: add wifi channel enumeration 2009-05-09 17:55:24 +00:00
Steven Barth
67fbe1b33c Remove Luasocket - obsoleted by nixio
Remove old luasocket based LuCI Httpd - obsoleted by lucittpd
Remove lpeg - not in use
Rewrite luci-splashd using nixio
2009-05-01 11:28:34 +00:00
Steven Barth
cd4fa227cc httpclient: Send the correct Host-Header if we are following a redirect 2009-04-30 12:58:04 +00:00
Steven Barth
d81b3548a9 nixio:
Added binding for getifaddrs(): List network interfaces, their flags,
addresses and statistics
Cleanups
2009-04-26 19:10:36 +00:00
Steven Barth
a2b916ab73 Merge nixio 0.2 2009-04-21 16:26:45 +00:00
Jo-Philipp Wich
383cac453b libs/cbi: workaround git deficiencies 2009-04-16 10:36:29 +00:00
Jo-Philipp Wich
38a52d9a29 libs/sys: sync zoneinfo to tzdata 2009d 2009-04-10 19:32:00 +00:00
Steven Barth
0acedfff3e Fix some fallout 2009-04-09 13:59:50 +00:00
Jo-Philipp Wich
859a3fee88 libs/web: fix file caches in dispatcher, broke when introducing lua-gz support 2009-04-08 00:08:38 +00:00
Jo-Philipp Wich
9835296ba2 trunk: prepare LuCI to handle .lua.gz files 2009-04-04 22:54:16 +00:00
Steven Barth
f3deef9ec5 Backport Skip-Button support 2009-04-03 18:08:25 +00:00
Steven Barth
0ef46dc967 Import luanet library
Relicensed with author's permission
Thanks John
2009-03-30 11:27:43 +00:00
Jo-Philipp Wich
0c7effc0c0 libs/cbi: properly handle uvl errors without childs 2009-03-29 22:13:26 +00:00
Steven Barth
8fdb12c4d1 Introduce noheader and nofooter CBI-Dispatcher config 2009-03-27 00:10:17 +00:00
Steven Barth
8368432a63 Fix last commit 2009-03-26 12:39:43 +00:00
Steven Barth
b9fbed39ca Correctly set status FORM_PROCEED instead of FORM_CHANGED if user
creates / deletes a field or section
2009-03-26 12:37:26 +00:00
Steven Barth
5de4878257 nixio: solaris does not recognize LOG_PERROR 2009-03-16 13:40:22 +00:00
Steven Barth
13767f5d1a Fix a possible stack corruption 2009-03-16 13:34:46 +00:00
Steven Barth
e5a34b512c Added missing file 2009-03-16 13:29:06 +00:00
Steven Barth
452442d1d0 nixio: added syslog support 2009-03-16 13:28:47 +00:00
Jo-Philipp Wich
fc62fe46d0 libs/web:
- improve handling of low level runtime errors
	- wrap access to luci.main into assert()
2009-03-14 01:16:03 +00:00
Steven Barth
ee4852a5ad Sync nixio 2009-03-13 18:29:23 +00:00
Steven Barth
edda19be9a nixio: More sockopts 2009-03-13 12:10:33 +00:00
Steven Barth
5fa29b1c5a nixio: +socket options SO_DONTROUTE, SO_BINDTODEVICE 2009-03-13 11:53:12 +00:00