Jo-Philipp Wich
686de0fbec
move dhcpv6 support into luci-proto-6x4, rename luci-proto-6x4 to luci-proto-ipv6
2013-01-22 10:44:28 +00:00
Jo-Philipp Wich
a4f3f52d1c
New IPv6 integration
2013-01-22 10:44:16 +00:00
Jo-Philipp Wich
4fec63df9e
libs/core: remove now obsolete uint() wrapper in network model
2013-01-13 21:03:28 +00:00
Jo-Philipp Wich
33fba71fc9
libs/core: make luci.util.spairs(), kspairs() and vspairs() return the sequential index as 3rd variable
2012-12-25 02:28:20 +00:00
Jo-Philipp Wich
8cfa5cc7c5
don't use symlink to /lib/functions.sh
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
2012-12-20 15:01:04 +00:00
Jo-Philipp Wich
d4987d7863
ccache not loading or storing cache files
...
I've noticed that there is nothing in my /tmp/luci-modulecache
directory. Digging into it it looks like because both the expected uid
and mode of the files doesn't match, so for security reasons they're
long being loaded or saved by ccache.lua (from the luci-lib-core
package). I'm not sure how far back this has been broken but I it
appears to have been quite some time, possibly years?
I've included a patch which updates the checks to use the right newer
function name / structure name. It decreases page load times by about
10-15% on my bcm2708 (raspberrypi). I can create a ticket if you'd
prefer. The patch is against the luci-0.11 branch but should apply to
trunk as well.
Signed-off-by: Bryan Mayland <bmayland@leoninedev.com>
2012-12-19 00:35:30 +00:00
Jo-Philipp Wich
ce8a22d1b4
libs/core: remove unused luci.util.escape(), map luci.util.striptags() to luci.template.parser.striptags()
2012-11-26 14:26:46 +00:00
Jo-Philipp Wich
bb276a7c7b
libs/core: use luci.template.parser.hash() instead of lmo.hash()
2012-11-25 19:18:10 +00:00
Jo-Philipp Wich
06c8c28bab
libs/core: introduce get_status_by_address() in luci.model.network
2012-11-21 20:13:53 +00:00
Jo-Philipp Wich
8772db1675
libs/core: explicitely load luci.i18n in network model
2012-09-15 14:02:27 +00:00
Jo-Philipp Wich
647a0d33c3
libs/core: adapt luci.model.network for wifi-iface instances which are members of multiple networks
2012-09-15 13:10:27 +00:00
Jo-Philipp Wich
5164d55091
libs/core: remove route enabled check in network model after netifd update in OpenWrt trunk
2012-09-13 08:50:59 +00:00
Jo-Philipp Wich
044b011051
libs/core: also add gre0 to default interface ignore pattern
2012-08-17 11:39:04 +00:00
Jo-Philipp Wich
c098c59fd1
libs/core: only consider enabled routes when finding wan interface
2012-06-29 11:59:38 +00:00
Jo-Philipp Wich
9fab594101
libs/core: improve luci.util.imatch() to not create temporary strings when iterating non-string values
2012-06-26 22:58:24 +00:00
Jo-Philipp Wich
0f3175ad42
libs/core: implement get_wandev(), get_wan6dev(), get_wannet() and get_wan6net() in luci.model.network
2012-06-26 22:19:27 +00:00
Jo-Philipp Wich
61883f2c3f
libs/core: fix network is_empty() check for wifi-ifaces which are part of multiple networks
2012-06-26 21:49:24 +00:00
Jo-Philipp Wich
699391a559
libs/core: allow ifaces to be part of multiple networks in luci.model.network
2012-06-26 21:49:07 +00:00
Jo-Philipp Wich
5bcf9d07fd
libs/core: fix various problems in the network model
2012-06-17 11:18:58 +00:00
Jo-Philipp Wich
22ce33a5a6
libs/core: fix ubus corner cases in network model
2012-05-31 17:24:13 +00:00
Jo-Philipp Wich
eb7a72f251
libs/core: use ubus to fetch interface and device status information, depend on libubus-lua
2012-05-31 10:05:31 +00:00
Jo-Philipp Wich
481cd6feb7
libs/core: remove various uses of global vars in luci.ip
2012-01-01 15:51:37 +00:00
Jo-Philipp Wich
574eff4e8e
libs/core: rework luci.model.uci.apply() to return the commandline as table, suitable for passing to nixio.exec()
2011-12-20 19:02:14 +00:00
Jo-Philipp Wich
df3ee4c199
libs/core: fix undefined tostring() in network model
2011-12-05 19:36:50 +00:00
Jo-Philipp Wich
fd130ead81
libs/core: expose txpower offset values in network model
2011-12-05 18:34:22 +00:00
Jo-Philipp Wich
cfe48c17d3
libs/core: fix removal of wifi networks without interface attached (OpenWrt #10400 )
2011-11-12 11:27:10 +00:00
Jo-Philipp Wich
84cbbf3968
libs/core: fix status reporting of standalone wifi iface in network model
2011-10-28 22:36:15 +00:00
Jo-Philipp Wich
1ffe61277e
move protocol support into a new protocols/ subdir
2011-10-11 02:07:15 +00:00
Jo-Philipp Wich
2c316a6aab
libs/core: more fixes for network model
2011-10-11 01:14:11 +00:00
Jo-Philipp Wich
be9f5d6872
libs/core: mark relay protocol as floating
2011-10-10 18:50:42 +00:00
Jo-Philipp Wich
96846f1518
libs/core: remove uneeded error import
2011-10-09 22:04:00 +00:00
Jo-Philipp Wich
c7a95b6683
libs/core: add more heuristics to infer device name from switch name
2011-10-09 22:02:46 +00:00
Jo-Philipp Wich
ce024e350a
libs/core: add luci.model.network.get_protocol(protoname[, networkname])
2011-10-09 21:16:59 +00:00
Jo-Philipp Wich
be71f1c93a
libs/core: fix bug in contains_interface() implementation of PPPoE protocol
2011-10-09 19:25:43 +00:00
Jo-Philipp Wich
1771b0c551
libs/core: rework class structure of network model, add per protocol is_installed() and opkg_package() utility functions to query availability
2011-10-04 13:32:18 +00:00
Jo-Philipp Wich
35137845dd
libs/core: clean up network model, make it modular and move protocol deviations into submodules, fix recognition of pptp and properly implement relayd protocol awareness
2011-10-03 13:57:11 +00:00
Jo-Philipp Wich
a6dcb3f6a3
libs/core: more fixes in network model
2011-09-25 11:58:24 +00:00
Jo-Philipp Wich
47f011b947
libs/core: non-bridge handling fix in network model
2011-09-24 03:31:00 +00:00
Jo-Philipp Wich
9b18001b9f
libs/core: add "tunnel" interface type to network model, various optimizations
2011-09-24 00:57:59 +00:00
Jo-Philipp Wich
e2a1ffb59d
libs/core: various interface handling fixes in network model
2011-09-22 01:39:35 +00:00
Jo-Philipp Wich
0285631f5b
libs/core: also enumerate not-yet-spawned vlan interfaces in network model, differentiate switch and vlan interfaces
2011-09-14 09:36:55 +00:00
Jo-Philipp Wich
5bc4c852da
libs/core: fallback to trunk version
2011-08-13 09:52:50 +00:00
Jo-Philipp Wich
1a221ddfb9
libs/core: fix multiple errors in zone delete handling of firewall model
2011-07-11 12:14:55 +00:00
Manuel Munz
1d70d03c08
libs/core: Allow the use of commands with arguments or of multiple commands for exec in /etc/config/ucitrack
2011-06-01 11:56:38 +00:00
Jo-Philipp Wich
8e5590037d
libs/core: add luci.model.network.wifinet.id()
2011-03-13 17:22:52 +00:00
Jo-Philipp Wich
986d8b00a2
libs/core: add txpower() and country() to luci.model.network.wifinet
2011-03-13 17:09:26 +00:00
Jo-Philipp Wich
3b4450a58b
libs/core: allow resolving of virtual interfaces via get_interface(), should fix wan status display with 6to4, 6in4 tunnels or pppoe connections
2011-03-11 23:11:34 +00:00
Jo-Philipp Wich
efcc1bfbf1
libs/core: make general network model aware of the relay pseudo bridge protocol
2011-02-26 01:34:58 +00:00
Jo-Philipp Wich
74c6fb4cd7
libs/core: mark radvd as affected by network restarts
2011-02-20 18:35:28 +00:00
Jo-Philipp Wich
72fac8f90f
libs/core: ensure that luci.model.network.network._ip() always returns a table if a list was requested
2011-02-20 14:42:35 +00:00