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