Jo-Philipp Wich
33c8b37310
libs/cbi: i18n for zone picker
2009-10-08 00:27:39 +00:00
Jo-Philipp Wich
f4ce127051
libs/cbi: add a firewall zone picker widget
2009-10-08 00:17:40 +00:00
Jo-Philipp Wich
470184bd57
libs/core: add luci.model.firewall, oop abstraction for uci firewall
2009-10-08 00:14:07 +00:00
Jo-Philipp Wich
6ef4b7f7e8
libs/uci: add luci.model.uci.bind class for easier oop-uci integration
2009-10-08 00:11:16 +00:00
Jo-Philipp Wich
da2b40c9e3
libs/cbi: fix wrong value handling in FileUpload widgets ( #85 )
2009-10-07 19:50:20 +00:00
Jo-Philipp Wich
93215e86d8
libs/iwinfo: fix dummy scanresults
2009-09-26 13:58:36 +00:00
Steven Barth
7bd891326d
Fix Save & Apply for lists
2009-09-24 16:40:32 +00:00
Jo-Philipp Wich
48465cebab
libs/iwinfo: find/autocreate madwifi vap if scan on wifi0 is requested
2009-09-23 18:04:29 +00:00
Jo-Philipp Wich
79022dcc63
libs/iwinfo: add some required includes
2009-09-23 18:03:36 +00:00
Jo-Philipp Wich
9fde34000d
libs/iwinfo: probe madwifi first, poking wifi0 with wl ioctls results in bus error
2009-09-23 18:03:09 +00:00
Steven Barth
9b50dd9cba
Fix requestpath, export authuser
2009-09-11 10:46:06 +00:00
Jo-Philipp Wich
0fbcef99a3
libs/http: map *.xsl files to application/xml
2009-09-11 01:55:10 +00:00
Jo-Philipp Wich
c152de01eb
libs/iwinfo: add channels to the dummy scan results
2009-09-10 09:19:18 +00:00
Jo-Philipp Wich
a90e6dc95f
libs/iwinfo: add fake scan results to the dummy module
2009-09-10 09:08:38 +00:00
Jo-Philipp Wich
d6caf509ad
libs/web: drop unneeded requires in template class
2009-09-10 08:15:49 +00:00
Jo-Philipp Wich
cf1e1534bc
libs/web: add missing local variable declaration
2009-09-10 08:11:25 +00:00
Jo-Philipp Wich
aa93e16092
libs/web: drop the Lua template parser, the C implementation is faster in almost every case, even without caching
2009-09-10 08:05:56 +00:00
Jo-Philipp Wich
30f881974c
libs/nixio: protect splice calls with ifdef SPLICE_F_MOVE, fixes compile error with openwrt trunk x86/glibc
2009-08-27 01:23:08 +00:00
Jo-Philipp Wich
e66ab6bd2c
libs/iwinfo: return bitrate in kilobits to properly handle .5 rates
2009-08-26 01:35:42 +00:00
Jo-Philipp Wich
3b42dc1688
libs/iwinfo: fixes for brcm-2.4
2009-08-24 16:11:15 +00:00
Jo-Philipp Wich
0f242f2f50
libs/iwinfo: add signal and quality values to scan results
2009-08-24 14:23:49 +00:00
Jo-Philipp Wich
0e88acfd4e
libs/iwinfo: ignore proprietary ciphers or auth suites - we can't handle them anyway
2009-08-24 13:51:49 +00:00
Jo-Philipp Wich
335e519dd6
libs/iwinfo: fixes for wpa/wep detection in wifi scan
2009-08-24 13:31:20 +00:00
Jo-Philipp Wich
12f582bcc7
libs/iwinfo: implement wifi scans
2009-08-24 05:54:38 +00:00
Jo-Philipp Wich
2903acf1f2
libs/cbi: preserve tab state across page reloads
2009-08-20 01:53:24 +00:00
Jo-Philipp Wich
bda237d0fd
libs/cbi: remove redundant line break in listvalue template
2009-08-19 23:17:55 +00:00
Jo-Philipp Wich
9e04d7e6d1
libs/lmo: fix typo in previous commit
2009-08-19 22:23:16 +00:00
Jo-Philipp Wich
83e4af43aa
libs/lmo: fix off-by-one in bounds check, null-terminate dest buffer in lmo_lookup()
2009-08-19 22:10:24 +00:00
Jo-Philipp Wich
68f335b8d6
libs/lmo: fix possible null pointer dereference in lmo_lookup() - thanks blogic
2009-08-19 21:36:10 +00:00
Jo-Philipp Wich
47dc4ded76
libs/iwinfo: unify LUA_WRAP_ASSOCLIST and LUA_WRAP_TXPWRLIST macros
2009-08-19 20:52:46 +00:00
Jo-Philipp Wich
7f65380043
libs/iwinfo: add dummy.txpwrlist()
2009-08-19 15:40:58 +00:00
Jo-Philipp Wich
91ceab5b19
libs/iwinfo: implement *_get_txpwrlist() to obtain valid tx power levels
2009-08-19 04:03:00 +00:00
Jo-Philipp Wich
8e31e6bed2
libs/iwinfo: add dummy.mbsssid_support() stub
2009-08-19 01:55:15 +00:00
Jo-Philipp Wich
2cabcb4be0
libs/iwinfo: use dummy if $(SDK) is set
2009-08-19 01:23:12 +00:00
Jo-Philipp Wich
7c0ea17623
libs/cbi: implement tabbing to split large sections and group options in tabs
2009-08-16 03:29:46 +00:00
Jo-Philipp Wich
892ed55ba0
libs/cbi: attach pcdata() to template scope and use it
2009-08-13 17:14:25 +00:00
Jo-Philipp Wich
6b1be858be
libs/cbi: properly escape values in dynlist widget ( #79 )
2009-08-13 14:36:18 +00:00
Malte S. Stretz
8f580be880
libs/lucid: revert main state on startup to prevent accumulation.
...
A proper SIGTERM handling needs support in nixio first.
2009-08-13 13:43:20 +00:00
Malte S. Stretz
bd1c23f10f
libs/uci: more detailed api docs
2009-08-13 11:46:03 +00:00
Jo-Philipp Wich
20cadd41ca
libs/iwinfo: make lua wrapper functions static
2009-08-11 14:20:57 +00:00
Jo-Philipp Wich
444e39b093
libs/iwinfo: implement *_get_mbssid_support() check
2009-08-11 13:56:16 +00:00
Jo-Philipp Wich
9d1cfdd359
libs/iwinfo: add dummy module for the sdk, use dummy on Darwin
2009-08-10 13:33:00 +00:00
Steven Barth
fdef7c57b1
luanet doesn't compile on Darwin
2009-08-10 09:16:32 +00:00
Jo-Philipp Wich
a85dd8ee6e
libs/iwinfo: forgot to clear string buffer in wrapper function
2009-08-10 00:38:02 +00:00
Jo-Philipp Wich
2a9a87e891
libs/iwinfo: implement *_get_frequency() - operating freq in mhz
2009-08-09 14:24:43 +00:00
Jo-Philipp Wich
398c125336
libs/sys: implement luci.sys.wifi.getiwinfo() oop interface
2009-08-09 02:50:20 +00:00
Jo-Philipp Wich
d2c7747851
libs/iwinfo: fix broadcom signal calculation in master mode
2009-08-09 02:45:05 +00:00
Jo-Philipp Wich
87460e8a05
libs: introduce iwinfo - wireless information abstraction for proprietary broadcom, madwifi and mac80211 drivers.
2009-08-09 02:02:46 +00:00
Jo-Philipp Wich
5676686863
libs/web: restore protected call to Template(), was accidentally removed in r4889
2009-08-07 15:16:14 +00:00
Jo-Philipp Wich
6ff82a0142
libs/sgi-cgi: fix udata vs. string in cgi backend
2009-08-07 12:24:30 +00:00
Jo-Philipp Wich
67150c34a1
libs/web: template: fix spurious nil or false values that broke various templates
2009-08-05 00:52:51 +00:00
Jo-Philipp Wich
01c4048021
libs/core: fix loading of nixio.bit in luci.ip
2009-08-04 10:38:52 +00:00
Jo-Philipp Wich
86cd67ebc3
[PATCH] make luci.ip.IPvX a bit more forgiving
...
Signed-Off-By: Malte S. Stretz <mss at apache.org>
2009-08-01 20:40:55 +00:00
Jo-Philipp Wich
68af07222c
libs/cbi: fix default property of ListValue fields
2009-07-31 23:22:10 +00:00
Steven Barth
9827e91105
Performance improvements, where did that get lost?
2009-07-31 19:57:07 +00:00
Steven Barth
8b65a44fe8
Typo
2009-07-31 17:08:59 +00:00
Steven Barth
f648ab3445
Fix cookie logout
2009-07-31 17:08:18 +00:00
Jo-Philipp Wich
f311d13ca1
libs/cbi: fix error reporting in map loading
2009-07-31 00:13:24 +00:00
Steven Barth
2561ed9b7a
Fix errorhandling in Delegators
2009-07-30 16:58:37 +00:00
Steven Barth
d7a90e994a
Fix delegators
2009-07-30 16:05:12 +00:00
Jo-Philipp Wich
12400496cc
libs/lmo: remove cast in first lseek(), not needed since it's a constant expression
2009-07-30 12:11:08 +00:00
Steven Barth
1172027f5a
Disable Basic-Auth in SDK
2009-07-30 11:26:27 +00:00
Jo-Philipp Wich
8c8ecd1fa9
libs/lmo: fix lmo_read32() (dereferencing type-punned pointer will break strict-aliasing rules)
2009-07-30 11:06:12 +00:00
Jo-Philipp Wich
a9ae676c61
libs/lmo: explicitly cast values to off_t for lseek()
2009-07-30 03:30:24 +00:00
Steven Barth
50cf0212ab
Kill abandoned files
2009-07-29 07:48:11 +00:00
Jo-Philipp Wich
26d792d914
libs/core: properly handle udata values in overloaded string format operator
2009-07-29 04:29:22 +00:00
Jo-Philipp Wich
ae4694243d
libs/lmo: jffs2 does not support mmap() with MAP_SHARED, use MAP_PRIVATE instead ( #76 )
2009-07-29 03:28:14 +00:00
Steven Barth
9016ae7ad9
Increase timeout for HTTP, fixing some browser problems
2009-07-28 11:59:13 +00:00
Steven Barth
45cf10a665
Add luci.lucid.running()
2009-07-27 12:28:34 +00:00
Steven Barth
17e7f67a7c
Add native support for homepages
2009-07-27 12:09:46 +00:00
Steven Barth
ce98fdd80f
Optimize util.threadlocal, Add luci.store as global threadlocal store
2009-07-27 10:27:39 +00:00
Steven Barth
7b5cdb36b5
Code style
2009-07-27 10:27:35 +00:00
Jo-Philipp Wich
8acc6307bf
libs/web: fix template parsing of default texts in i18n expressions
2009-07-26 23:23:32 +00:00
Jo-Philipp Wich
047d4e45f6
libs/web: fix file handle leak in template parser
2009-07-26 23:11:36 +00:00
Jo-Philipp Wich
1b557b0b7b
libs/web: implement i18n.string() and i18n.stringf() to obtain genuine Lua strings instead of udata objects
2009-07-26 22:48:09 +00:00
Jo-Philipp Wich
96bc583cfc
libs/web: convert given argument to string in i18n.translatef()
2009-07-26 22:34:54 +00:00
Jo-Philipp Wich
2f7fb7e05c
libs/nixio: d'oh ... import tostring() as well
2009-07-26 22:34:06 +00:00
Jo-Philipp Wich
136b7253b1
libs/nixio: convert data to string in writeall(), this is required for numeric and udata arguments
2009-07-26 22:32:13 +00:00
Jo-Philipp Wich
3efff022f2
libs/uvl: fix some memory wasting
2009-07-26 21:24:48 +00:00
Steven Barth
0371fc26d8
Reintroduce prefisx support - was gone somewhere
2009-07-25 12:45:38 +00:00
Steven Barth
a77f1b91ae
Allow Basic-Auth pass-through
2009-07-25 10:47:26 +00:00
Steven Barth
b8ab3b9dac
Add: luci.http.splice to allow direct copying of data from a file
...
descriptor
2009-07-25 07:27:05 +00:00
Jo-Philipp Wich
3194662054
libs/lmo: return entries as udata and only create strings on demand
2009-07-25 03:37:03 +00:00
Jo-Philipp Wich
639f965c4f
libs/web: use C templates by default
2009-07-25 02:58:04 +00:00
Jo-Philipp Wich
4ef3ac9694
libs/core: support udata util.striptags(), optimizie copcall implementation
2009-07-25 02:57:13 +00:00
Jo-Philipp Wich
ed4b7a5fbb
libs/lucid-http: make chunksinks cope with string-like udata
2009-07-25 00:55:24 +00:00
Steven Barth
43aca0def5
Merge from fonosfera
2009-07-24 18:23:59 +00:00
Steven Barth
4d75b51157
FIx lsat commit
2009-07-24 17:34:40 +00:00
Steven Barth
2164bdf651
luci.fs compat
2009-07-24 17:33:32 +00:00
Steven Barth
2655871d39
Revert external tree usage
2009-07-24 15:45:29 +00:00
Steven Barth
6d8143f573
Typo
2009-07-24 15:33:10 +00:00
Steven Barth
f1e1f7a451
Revert "libs/lucid-http: prepare external indexing and tree building in luci handler"
...
This reverts commit e70104be85933a0d6cef5b8639f3a042e6d76896.
2009-07-24 15:33:06 +00:00
Jo-Philipp Wich
97743c1387
libs/web: disable memory debuggin in trunk as well
2009-07-23 11:32:22 +00:00
Jo-Philipp Wich
8b001ee843
libs/web: dispatcher.lua: add support for external tree building and indexing
2009-07-23 03:25:27 +00:00
Jo-Philipp Wich
281c92b1d6
libs/uvl: convert uvlc to nixio.fs api, fix error condition when no schema is found
2009-07-23 03:23:48 +00:00
Jo-Philipp Wich
60aaab2ede
libs/lucid-http: prepare external indexing and tree building in luci handler
2009-07-23 03:22:45 +00:00
Jo-Philipp Wich
a4f6748205
libs/core: util.lua optimize get() and set() accessors of threadlocals
2009-07-23 03:21:18 +00:00
Jo-Philipp Wich
3f1393006e
libs/core: debug.lua use integers for memory size and peak value
2009-07-23 03:19:46 +00:00
Jo-Philipp Wich
3e0b6b681c
libs/web: use new parser in non-caching mode
2009-07-23 01:41:06 +00:00
Jo-Philipp Wich
80a2dd2cc2
libs/web: add template parser reimplemented in C
2009-07-23 00:41:44 +00:00
Jo-Philipp Wich
4dd0a793b6
libs/lmo: check for integer, not number in lmo.archive.get()
2009-07-19 16:12:26 +00:00
Jo-Philipp Wich
1738eddc7d
libs/lmo: ensure integer return value in lmo.hash(), fix module open function
2009-07-19 16:10:10 +00:00
Jo-Philipp Wich
306b2d865a
libs/nixio: don't close stdin, stdout or stderr during garbage collection
2009-07-19 02:39:10 +00:00
Jo-Philipp Wich
074b5dfc4a
fix fallout from nixio.fs transition
2009-07-19 00:38:52 +00:00
Jo-Philipp Wich
8fcd841aa9
convert luci.fs users to nixio.fs api
2009-07-19 00:24:58 +00:00
Jo-Philipp Wich
6abba61632
libs/nixio: allow calls to nixio.util.consume() with no iterator given
2009-07-18 21:58:41 +00:00
Jo-Philipp Wich
4bc6b85bb7
libs/nixio: add destination table argument to nixio.util.consume()
2009-07-18 21:55:14 +00:00
Jo-Philipp Wich
5f000ef19e
libs/core: record peak values in luci.debug
2009-07-18 18:26:44 +00:00
Jo-Philipp Wich
768bf67b86
libs/web: optimize code generation in luci.template
2009-07-17 18:33:01 +00:00
Steven Barth
dae7f3f4d5
nixio:
...
Add Rockspec
Add bswap to nixio.bit
Fix nixio.bit documentation
2009-07-14 15:21:00 +00:00
Jo-Philipp Wich
7ac3bac569
libs/lmo: fix possible resource leak if lua runs out of memory but file is already opened
2009-07-11 23:07:41 +00:00
Jo-Philipp Wich
a531bb7bea
libs/lmo: implement lmo.archive.get() and lmo.archive.foreach()
2009-07-11 17:30:43 +00:00
Steven Barth
8162842107
Fix getifaddrs() for BSD
2009-07-11 10:21:27 +00:00
Steven Barth
0864f5f88b
nixio: Mark axTLS as discouraged, fix changelog
2009-07-11 08:06:47 +00:00
Steven Barth
72a0ee36b6
nixio: Update documentation to prepare 0.3 release
2009-07-11 07:54:57 +00:00
Steven Barth
21be73a478
nixio: Fix accidental closing of file descriptors after dup with two
...
parameters resulting in strange behaviour when spawning processes
2009-07-11 07:01:32 +00:00
Jo-Philipp Wich
07c0f405f3
libs/sys: implement callbacks in luci.sys.net.arptable() and luci.sys.net.conntrack()
2009-07-10 22:01:35 +00:00
Jo-Philipp Wich
60613ef05c
libs/core: trigger garbage collection in coxpcall() if 80% of the allocated memory pool are filled
2009-07-10 17:38:01 +00:00
Steven Barth
7dcb05fd1c
Session-IDs are lowercase now
2009-07-10 17:06:19 +00:00
Steven Barth
7ba12e9c5e
Move memory limit to lucid, reincrease thread limit
2009-07-10 16:39:30 +00:00
Jo-Philipp Wich
128437f671
libs/core: optimize strip_bytecode() memory usage by avoiding string concatenation
2009-07-10 16:30:43 +00:00
Jo-Philipp Wich
3fac200364
libs/lucid: lower threadlimit to 2
2009-07-10 16:05:10 +00:00
Jo-Philipp Wich
263d7228fc
libs/sys: split zoneinfo in tzdata and tzoffset and autoload on demand, saves yet another ~60KB
2009-07-10 16:04:07 +00:00
Jo-Philipp Wich
deb9868dbd
libs/core: make use of global memory limits if supported
2009-07-10 16:01:53 +00:00
Jo-Philipp Wich
98a6885834
libs/sys: optimize luci.sys.net.defaultroute6()
2009-07-10 13:49:24 +00:00
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
Steven Barth
9bf88087f4
nixio: chdir()
2009-03-12 21:44:11 +00:00
Steven Barth
82858a8e8f
nixio: add setsid()
2009-03-12 21:31:57 +00:00
Steven Barth
2c7a30708d
httpclient: handle redirects more graceful
2009-03-12 20:14:55 +00:00
Steven Barth
6aa6fb88ab
FreeBSD compatibility #3
2009-03-12 15:09:12 +00:00
Steven Barth
04eb9de74e
nixio: FreeBSD compatibility #2
2009-03-12 14:53:52 +00:00
Steven Barth
35f40376c3
nixio: FreeBSD compatibility #1
2009-03-12 13:06:19 +00:00
Jo-Philipp Wich
e401b4a620
libs/sys: update zoneinfo to version 2009b
2009-03-12 07:47:11 +00:00
Steven Barth
8eadc262d0
Drop XML i18n files
2009-03-11 15:21:59 +00:00
Steven Barth
a125a64a15
Be nice()
2009-03-10 20:59:56 +00:00
Steven Barth
68a95e6806
nixio: Implement protable behaviour of signal(), export more error
...
constants
2009-03-09 22:19:47 +00:00
Steven Barth
2e79c969c0
httpclient: Added missing import
...
nixio: waitpid() returns 0 with WNOHANG and no terminated childs
2009-03-09 20:06:36 +00:00
Steven Barth
7b5d67305e
Allow SimpleForm handler to set CBI status
2009-03-09 14:28:55 +00:00
Steven Barth
73607dbd7d
Improved httpclient
2009-03-09 14:02:34 +00:00
Steven Barth
6129d031b0
nixio: reenable splice() for linux
2009-03-09 13:17:44 +00:00
Steven Barth
4aa848533e
Cicrumvent possible segfaults in axTLS
...
More compatibility
2009-03-09 11:38:29 +00:00
Steven Barth
589e680970
Make nixio compile on OpenSolaris
2009-03-09 09:37:08 +00:00
Steven Barth
30b7bc7c62
Fixed last commit
2009-03-07 16:28:27 +00:00
Steven Barth
25da62f8ff
Don't compare cstate if there is none
2009-03-07 16:24:05 +00:00
Steven Barth
1ed9be270b
Fix debugging output
2009-03-07 13:21:27 +00:00
Steven Barth
ad57125f41
Allow combination of SimpleForms as Forms into pages with Maps
...
Allow subsequent changes of Table data
2009-03-07 11:30:41 +00:00
Steven Barth
eb6f9c6192
Fixed last commit
2009-03-06 17:20:42 +00:00
Steven Barth
22a9815e3e
Fixed last commit
2009-03-06 17:20:38 +00:00
Steven Barth
ec29107ede
bla
2009-03-06 17:18:45 +00:00
Steven Barth
96d988abb0
httpclient: Improved callback support
2009-03-06 17:17:44 +00:00
Steven Barth
09a18c2c31
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
2009-03-06 16:34:26 +00:00
Steven Barth
0b8a61a536
httpclient: callback can abort download
2009-03-05 23:52:54 +00:00
Steven Barth
f151bb804f
nixio: Export more constants, introduce {g,s}et{g,u}id, getpid, getppid
2009-03-05 19:20:40 +00:00
Steven Barth
f1b667fc6f
nixio: Fix generation of private key for axtls
2009-03-04 18:30:56 +00:00
Steven Barth
fc45514531
Still not working...
2009-03-04 17:53:25 +00:00
Steven Barth
f94538dda3
Fix nixio postinst
2009-03-04 17:41:55 +00:00
Steven Barth
b92e6532a0
nixio: Autogenerate private key on installation if we have axtls
...
support, make the TLS provider configurable in the build menu
2009-03-04 17:17:30 +00:00
Steven Barth
a5ae3959b5
Set /etc/private.rsa as default key for axTLS contexts
...
More openssl - axTLS fixes
2009-03-04 13:09:32 +00:00
Steven Barth
e38c438771
nixio:
...
Use POSIX file functions
introduce dup()
introduce fork() wait() kill()
more signal interrupt wrappers
more POSIX / UNIX standard compliance
2009-03-03 22:44:26 +00:00
Steven Barth
a3079828b4
Fix header generator
2009-03-02 20:18:29 +00:00
Steven Barth
eb64affa39
Set method to POST if we have postdata and no other method is set
2009-03-02 19:45:07 +00:00
Steven Barth
62a914555e
httpclient: default content-type for post data is
...
"application/x-www-form-urlencoded"
2009-03-02 19:41:32 +00:00
Steven Barth
33fe5b57d7
More splicing stuff
2009-02-28 21:21:52 +00:00
Steven Barth
7196b2cd84
nixio: Fixes, use POSIX calls for file i/o
...
httpclient: resume support, splice() support, cookie support
2009-02-27 14:51:37 +00:00
Steven Barth
30421d38dd
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
2009-02-26 17:08:41 +00:00
Steven Barth
3b7bb9c82f
Enable stack tracebacks for 500 errors
2009-02-26 16:45:01 +00:00
Steven Barth
ff2bc9081b
nixio: Finetuning of TLS-support
...
httpclient: HTTPS support
axTLS: enable diagnostic mode
2009-02-24 17:54:48 +00:00
Steven Barth
1eec55dd47
Fix option dependencies, this was lost in some IE fixing stuff
2009-02-23 22:53:42 +00:00
Steven Barth
6b104b9a45
nixio:
...
Reogranize TLS headers
Fix TLS receive buffer workaround for axTLS
Add support for flock()
2009-02-23 17:21:14 +00:00
Steven Barth
65b50a8f8a
More compat fixes
2009-02-22 23:45:49 +00:00
Steven Barth
06450d3fe3
Remove some crap
...
Add compatiblity for older uclibc versions
2009-02-22 23:37:35 +00:00
Steven Barth
d730c12633
Add axTLS sourcecode
2009-02-22 23:19:25 +00:00
Steven Barth
d2b11117f2
NIXIO: TLS-Support, bugfixes
2009-02-22 22:49:23 +00:00
Steven Barth
360479b5a5
Fixes UVLdoc generation, thanks ffrrrr ( closes #49 )
2009-02-20 11:47:03 +00:00
Steven Barth
cbc49a3b53
More nixio fixes, initial httpclient
2009-02-18 21:46:55 +00:00
Jo-Philipp Wich
e062ec6981
libs/ipkg: use -force-defaults to ensure non-interactive execution
2009-02-17 01:37:18 +00:00
Steven Barth
695361877c
More nixio fixes
2009-02-15 13:59:30 +00:00
Steven Barth
157cc2b896
nixio: +performance
2009-02-14 14:39:12 +00:00
Steven Barth
aa0cee169f
nixio: added sendfile(), return false instead of nil for EWOULDBLOCK
2009-02-14 10:42:48 +00:00
Steven Barth
5ff898e624
nixio next
...
splice() still does not work correctly
2009-02-12 19:48:06 +00:00
Steven Barth
4327f9250e
nixio + io = nix2io
2009-02-10 17:35:07 +00:00
Jo-Philipp Wich
b5026e65c0
libs/web: don't send Status: 500 in error500() if header is already sent
...
modules/admin-core: include template header only once
2009-02-09 13:17:26 +00:00
Steven Barth
8dbb8a0ad3
Use poll() instead of select()
...
Reintroduce nanosleep()
2009-02-08 20:57:36 +00:00
Steven Barth
56d142a1a1
nixio linux IO/socket api (incomplete / WIP)
2009-02-08 14:01:48 +00:00
Jo-Philipp Wich
f52ec22717
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()
2009-02-08 03:56:50 +00:00
Jo-Philipp Wich
e3c8b9a10b
libs/sys/iptparser: remove typo, bump copyright year
2009-02-08 00:50:25 +00:00
Jo-Philipp Wich
474a617268
libs/sys/iptparser: import required functions
2009-02-08 00:48:21 +00:00
Jo-Philipp Wich
a9f58b0c52
libs/sys/iptparser:
...
- rewrite inline documentation to luadoc
- utilize luci.ip for source and destination comparisations
2009-02-08 00:45:13 +00:00
Jo-Philipp Wich
43844ccc0d
libs/sys: import missing symbol
2009-02-02 17:35:51 +00:00
Jo-Philipp Wich
4b9f7db1ce
libs/sys: extend luci.sys.hostname() to allow setting a new name
...
modules/admin-{full,mini}: update the hostname at runtime
2009-02-01 17:08:40 +00:00
Steven Barth
ab18c3ba10
Fix autodetection for extended language identifiers
2009-01-30 15:29:14 +00:00
Jo-Philipp Wich
b0abe4aa08
libs/core: further fixes for luci.util.pcdata(), fix wrong character range and drop invalid control chars entirely
2009-01-25 13:03:17 +00:00
Jo-Philipp Wich
e226a77b24
libs/core: rework luci.util.pcdata() to also escape ascii control chars
2009-01-25 12:29:37 +00:00
Jo-Philipp Wich
fc1e5cbe4d
libs/lucittpd: fix format strings in luaplugin.c and log.c
2009-01-21 13:50:24 +00:00
Steven Barth
05da6913dd
urldecode path_info before using it
2009-01-20 19:40:14 +00:00
Steven Barth
514a9bfec7
Add utime to luci.fs
2009-01-20 10:18:45 +00:00
Jo-Philipp Wich
eedf535996
libs/cbi: remove workaround for libuci
2009-01-20 00:51:01 +00:00
Jo-Philipp Wich
10ab31ef5f
libs/cbi:
...
- add workaround for libuci-lua bug when writing list values
- compare values against keyllist not vallist when validating StaticList
-> fixes StaticList and DynamicList widgets
2009-01-20 00:05:18 +00:00
Jo-Philipp Wich
b204c9ec8d
libs/uci: implement get_bool() to retrive uci variables as boolean value
2009-01-19 13:39:54 +00:00
Jo-Philipp Wich
14c485e117
libs/uvl: update inline documentation
2009-01-18 00:02:13 +00:00
Jo-Philipp Wich
9ee2ef5623
libs/uvl:
...
- allow overriding the config directory in luci.uvl
- support --configdir for uvl verify too
2009-01-17 23:50:32 +00:00
Steven Barth
a6159010a8
Purge abandonend brands
2009-01-17 17:56:43 +00:00
Jo-Philipp Wich
89c8f98b12
build: add mkversion.sh helper script
...
contrib: (re-)generate version.lua at build time
libs/core: use version.lua
themes: adept header to version.lua, fix css for openwrt.org
2009-01-17 16:35:02 +00:00
Steven Barth
4957144262
Autoapplying on creation / deletion of sections is annoying, disable it.
2009-01-17 13:06:18 +00:00
Steven Barth
d0d1fe0a28
Automatic language detection
2009-01-14 23:47:56 +00:00
Jo-Philipp Wich
c730262d14
libs/cbi: implement .sectionhead and .sectiondesc properties to allow labelling the id column in table layouts
2009-01-12 17:31:19 +00:00
Jo-Philipp Wich
dfbd41b2dc
libs/cbi: also set id attribute for hidden fields
2009-01-11 15:45:34 +00:00
Jo-Philipp Wich
fb7aea55e8
libs/cbi: add support for hidden form fields in sections
2009-01-11 03:44:04 +00:00
Steven Barth
85f780f576
Resolve dependencies when a combobox is updated.
2009-01-09 10:57:28 +00:00
Steven Barth
cc4e2d4943
Introduce active (pulling) JSON-Decoder
2009-01-04 20:08:45 +00:00
Steven Barth
f911758bc2
Add extended dispatching targets, optimize dispatching behaviour
2009-01-04 15:45:57 +00:00
Jo-Philipp Wich
870397a3cd
libs/ip: return a copy of given tables in __mask16() to avoid destroying them later
2008-12-27 01:42:34 +00:00
Steven Barth
014d971eab
Fix urltoken passing on several pages
2008-12-22 21:54:20 +00:00
Jo-Philipp Wich
0c3f77a397
libs/core: implement fs.isdirectory()
2008-12-19 12:08:51 +00:00
Steven Barth
57cfc2ee26
Fixed REQUEST_URI
2008-12-17 19:52:50 +00:00
Steven Barth
1ee5ba632a
Refined urltokens and XSRF protection
2008-12-15 10:40:45 +00:00
Steven Barth
271c53a4af
Implement URL tokens
...
Add basic XSRF protection
2008-12-14 21:43:10 +00:00
Steven Barth
8b978f79fc
Added luci.sauth.kill, sanitize luci.sauth even more
2008-12-14 21:42:59 +00:00
Jo-Philipp Wich
f7a3e34955
prevent package upgrade failures caused by sloppy postinstalls
2008-12-09 00:03:08 +00:00
Steven Barth
77ac7cfcad
Start LuCIttpd in background
2008-12-07 20:09:46 +00:00
Steven Barth
dd74b986a0
Make luci.sys.wifi.getiwconfig more compatible
2008-12-07 19:38:22 +00:00
Steven Barth
506822ee70
Make LuCIttpd work OOTB
2008-12-07 11:47:59 +00:00
Jo-Philipp Wich
cbdc5af52e
build: generate timezone offsets too in zoneinfo2lua.pl
...
libs/http: drop zoneinfo information in luci.http.protocol.data, use luci.sys.zoneinfo instead
libs/sys: refresh zoneinfo information
2008-12-06 03:18:14 +00:00
Steven Barth
7540f86d40
Reload luci.config for each thread
2008-12-05 15:36:44 +00:00
Jo-Philipp Wich
46bb17c2d2
modules/admin-full: whitesapce cleanup in routes.lua
...
libs/sys: code changes in routes6() and defaultroute6()
2008-11-30 19:12:58 +00:00
Steven Barth
cd8e12d72a
Don't fail if we do not have v6 support
2008-11-30 18:43:10 +00:00
Steven Barth
5734545388
Optimized conntrack (thanks to Joe Burpee)
2008-11-30 17:22:48 +00:00
Steven Barth
b33943a6e8
Merge LuCIttpd
2008-11-30 13:19:45 +00:00
Steven Barth
0b34ab07d4
Scope compatibility fixes
2008-11-29 21:58:39 +00:00
Jo-Philipp Wich
a4fcc13388
libs/web: reformat code in dispatcher.lua that confuses luadoc
2008-11-29 21:21:43 +00:00
Jo-Philipp Wich
dda65d2b94
libs/core/ip: optmizations
...
libs/sys: implement defaultroute6(), change return values of routes() and routes6()
modules/admin-full: adept route config page to new api
modules/freifunk: adept overview page to new routes api
2008-11-29 20:46:26 +00:00
Steven Barth
6b6359a7ef
Enable rmempty by default
2008-11-27 22:03:50 +00:00
Jo-Philipp Wich
5b48beff18
libs/sys: whitespace fix
2008-11-27 00:17:36 +00:00
Jo-Philipp Wich
ddccf47328
libs/sys: fix regexp pattern in routes6()
2008-11-27 00:07:17 +00:00
Jo-Philipp Wich
3793244fcb
libs/sys: whitespaces fixes
2008-11-26 22:59:11 +00:00
Jo-Philipp Wich
950825d323
libs/sys: implement luci.sys.net.routes6()
2008-11-26 22:57:57 +00:00
Jo-Philipp Wich
18b4c1f6b6
libs/core/ip: fix host() method
2008-11-26 22:57:26 +00:00
Jo-Philipp Wich
fda52c6fec
libs/core/ip: fix prefix length handling in Hex() constructor
2008-11-26 22:29:14 +00:00
Steven Barth
408e9d289d
Fixed last commit
2008-11-20 21:16:02 +00:00
Steven Barth
8d2c8c131d
Remove luci.cutil: does not affect performance
2008-11-20 21:14:58 +00:00
Steven Barth
a3cf596d37
More luci.cutil
2008-11-20 19:39:40 +00:00
Steven Barth
9c260769a5
More C-Functions (luci.cutil.instanceof, luci.cutil.pcdata)
2008-11-20 19:22:05 +00:00
Steven Barth
9a203c52dd
Integrate core C implementation
2008-11-20 15:15:50 +00:00
Steven Barth
40639695cb
LuCI Core C-Rewrite: First steps
2008-11-19 23:02:36 +00:00
Jo-Philipp Wich
cbed72fb47
* luci/themes: fix log pages
...
* luci/modules/admin-full: add dmesg page
* luci/i18n: add "dmesg" translations
* luci/libs/util: add cmatch(), register string functions in string class
* luci/libs/sys: add dmesg()
2008-11-16 22:45:10 +00:00
Steven Barth
d0939b4e33
Assign correct path attribute to nodes
2008-11-16 13:52:50 +00:00
Steven Barth
34283b2733
IPKG würgaround
2008-11-12 19:05:03 +00:00
Steven Barth
20fc751eca
Detect IXP4xx processors correctly
2008-11-12 18:05:43 +00:00
Steven Barth
97130b6486
Make luci.fs.rename work across fielsystems
2008-11-12 12:52:57 +00:00
Steven Barth
f96de2586a
Implemented dispatching tree modifiers
2008-11-11 18:55:07 +00:00
Jo-Philipp Wich
6114c47269
* luci/i18n/french: refresh and fix french translation, thanks! ( fixes #4 )
2008-11-09 22:42:36 +00:00
Steven Barth
ce4c71cda0
Increase compatibility of SGI-CGI with CGI1.1 standard
2008-11-08 20:23:55 +00:00
Steven Barth
f64847e2dd
Fix a nasty Internet Suxplorer bug which prevented XHR forms from being correctly submitted.
2008-11-08 15:27:31 +00:00
Steven Barth
a5cb3b04cb
Skip validation of options on second parse cycle
2008-11-06 21:00:16 +00:00
Steven Barth
caf05a86f3
Workaround some Heisenbug
2008-11-06 18:32:07 +00:00
Jo-Philipp Wich
42e79af68b
* luci/libs/sys: add zoneinfo module
2008-11-06 17:49:22 +00:00
Steven Barth
0969279c41
Interet Suxplorer sends invalid HTTP-headers, ignore them
2008-11-06 17:34:46 +00:00
Steven Barth
9f28871ffc
Fix error handling for SimpleForms
2008-11-05 21:12:26 +00:00
Steven Barth
ba689499bb
Merge on_***_to handlers
2008-11-05 21:12:19 +00:00
Steven Barth
5c36f21751
Handle empty fields correctly
2008-11-05 14:53:37 +00:00
Steven Barth
eb7c1f337d
Ensure hotdeploying
2008-11-05 14:10:02 +00:00
Jo-Philipp Wich
e933d1a678
* luci/libs/uvl: remove max_nil option for now
2008-11-04 23:55:49 +00:00
Jo-Philipp Wich
03b4acea13
* luci/libs/uvl:
...
- recursively check error-tree of option-level dependencies
- mask all non-critical errors when walking error tree
2008-11-04 23:49:20 +00:00
Jo-Philipp Wich
d1796b2991
* luci/libs/uvl: fix option dependency error handling in case of different non-critical reasons
2008-11-04 16:11:25 +00:00
Jo-Philipp Wich
7aee80de5c
* luci/libs/uvl: revert accidentally committed changes in dependency handler
2008-11-04 16:02:47 +00:00
Jo-Philipp Wich
8d75d524f9
* luci/libs/uvl: more sensitive checking of error reasons in evaluation of option dependencies
2008-11-04 16:00:58 +00:00
Jo-Philipp Wich
4219ec1754
* luci/libs/lua: process option dependencies first, allows mixing of required flags with dependencies
2008-11-04 15:38:44 +00:00
Steven Barth
e0e58e842d
Overall CBI improvements
2008-11-03 19:20:21 +00:00
Steven Barth
14a2e32142
Merge CBI change-detection
2008-11-03 10:05:48 +00:00
Steven Barth
4a15c6ffba
Always close POST-connections (circumvents some strange browser behaviour in Firefox / Opera)
2008-11-03 09:44:38 +00:00
Steven Barth
9d67f6db01
Fixed new UVL options
2008-11-02 22:22:50 +00:00
Steven Barth
8767a20e40
Apply host-UVL
2008-11-02 22:05:57 +00:00
Steven Barth
de80e2a708
Added UVL values minlength, maxlength, minimum, maximum
2008-11-02 21:42:16 +00:00
Steven Barth
9e4c03a9c3
Bump UCI version
2008-11-02 13:43:17 +00:00
Steven Barth
9d85bd73e5
Rewrote state based redirection
2008-11-02 13:26:41 +00:00
Steven Barth
d600a2f209
Publish request args
2008-11-01 18:49:41 +00:00
Steven Barth
c7a06b61c7
Extend CBI state handling
2008-11-01 18:32:02 +00:00
Steven Barth
ae6fd93b8c
Add XHR CBI helper
2008-11-01 17:11:11 +00:00
Steven Barth
ea9b377ec5
Merge pageactions
2008-11-01 17:11:02 +00:00
Steven Barth
e29810c534
* set .pageaction = false transparently in cbi SimpleForm constructor
2008-11-01 17:10:50 +00:00
Steven Barth
f3ca7840d6
Remove overload protection from SDK httpd
2008-11-01 10:53:29 +00:00
Steven Barth
be090ec9a7
Throw error messages on stderr
2008-10-31 20:57:07 +00:00
Steven Barth
8c4492db5f
Removed UCI Save/Apply cache from Essentials
...
Made CBI controllers configurable
2008-10-31 09:35:11 +00:00
Steven Barth
676966f78b
Add luci.util.append
2008-10-30 19:10:39 +00:00
Steven Barth
8d9a130b70
luci.util.combine now also accepts single objects
2008-10-30 19:10:22 +00:00
Steven Barth
b202a403ff
Publish status data
...
Conflicts:
libs/web/luasrc/dispatcher.lua
2008-10-30 19:10:08 +00:00
Steven Barth
2d4f21e955
Fix rewrite and alias functions
2008-10-30 19:09:52 +00:00
Steven Barth
3f66d4e5fc
Replace some makes-you-want-to-slash-your-wrists-Code with something less harmful
2008-10-30 13:09:40 +00:00
Steven Barth
062eea6b4b
Fixed a typo in luci.sys.httpget
2008-10-30 13:09:35 +00:00
Steven Barth
fefe7c0f5d
Use uname instead of /proc for reading the system hostname
2008-10-30 12:18:52 +00:00
Jo-Philipp Wich
50442d7438
* luci/libs/cbi: fix possible "Error in template cbi/full_valuefooter: ?:0: attempt to get length of field 'description' (a nil value)"
2008-10-30 02:39:54 +00:00
Jo-Philipp Wich
d05d5db855
* luci/sgi/webuci: remove now empty 130-inet6_fix.patch
2008-10-28 18:42:05 +00:00
Jo-Philipp Wich
8b55782ed8
* luci/sgi/webuci: fix boa IPv4 support, thanks Alina!
2008-10-28 18:36:27 +00:00
Jo-Philipp Wich
dc00b42e6d
* luci: replace all "OpenWRT" occurences with "OpenWrt"
2008-10-27 15:19:58 +00:00
Steven Barth
511b573c95
Add posibility to pass args to called-functions in dispatcher
2008-10-26 18:55:54 +00:00
Jo-Philipp Wich
9451a49408
* luci/libs/core: use numeric entities in pcdata()
2008-10-24 19:15:09 +00:00
Jo-Philipp Wich
bf21777126
* luci/libs/web: change OpenWRT to OpenWrt in distro title
2008-10-24 12:30:00 +00:00
Steven Barth
0ba0030745
Some browsers send crippled content-type headers when it comes to XHR, catch them as well
2008-10-21 20:25:29 +00:00
Steven Barth
ac3489049f
Added missing submitstate-function to tables pseudo map
2008-10-21 20:22:42 +00:00
Steven Barth
f35cea8c53
Content Type for www-urlencoded should match additions like "; charset=utf8" as well
2008-10-20 22:35:22 +00:00
Steven Barth
de4b0abeb9
Propagate CBI status via HTTP-Header
2008-10-20 22:35:11 +00:00