Commit graph

232 commits

Author SHA1 Message Date
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
Jo-Philipp Wich
094e2c8c81 libs/core: use is6linklocal() 2011-02-12 19:10:17 +00:00
Jo-Philipp Wich
4eb853d2d2 libs/core: whitespace fix in previous commit 2011-02-12 19:00:54 +00:00
Jo-Philipp Wich
e351f43f0c libs/core: add is4linklocal(), is4rfc1918() and is6linklocal() to luci.ip 2011-02-12 18:59:33 +00:00
Jo-Philipp Wich
ce68705702 libs/core: add new convenience functions to luci.model.network 2011-02-11 04:50:56 +00:00
Jo-Philipp Wich
b818354c94 libs/core: fix lookups bridge interface -> network in luci.model.network 2011-02-06 04:12:41 +00:00
Jo-Philipp Wich
510a023d77 libs/core: reuse existing, empty networks in add_network() 2011-01-20 23:24:02 +00:00
Jo-Philipp Wich
8ee6d915ee libs/core: fix some issues in network model 2010-12-24 21:39:44 +00:00
Jo-Philipp Wich
0f9f2a42a4 libs/core: bring get_first() boolean casting in line with get_bool() 2010-12-24 21:39:26 +00:00
Manuel Munz
99881d9cb6 libs/core: Create get_first() in uci model 2010-12-12 15:01:39 +00:00
Jo-Philipp Wich
5dd3b57bbb libs/core: always use internal network ids for admin links to wifi networks (#172) 2010-12-05 03:57:29 +00:00
Jo-Philipp Wich
ea294f0b64 libs/core: ignore sit0 in network model 2010-12-05 03:21:52 +00:00
Jo-Philipp Wich
9d83aafb78 libs/core: fix nil access, implement luci.model.network.network.uptime() 2010-12-01 21:15:59 +00:00
Jo-Philipp Wich
b304373297 libs/core: network model fixes 2010-11-15 22:03:45 +00:00
Jo-Philipp Wich
3ac93d53ea libs/core: make network model 6to4 aware 2010-11-15 12:30:26 +00:00
Jo-Philipp Wich
5a03beffcb libs/core: switch to C pcdata() implementation, its up to 7 times faster while also ensuring safe UTF-8 2010-11-13 12:16:51 +00:00
Jo-Philipp Wich
472ffe69a9 libs/core: restore original implementation of copcall() and coxpcall(), solves issues with RPC UCI endpoint 2010-11-09 19:43:13 +00:00
Jo-Philipp Wich
b93adb7603 libs/core: restart miniupnpd when firewall is reloaded 2010-11-08 09:45:13 +00:00
Jo-Philipp Wich
75ccb1c5a8 libs/core: some firewall model enhancements 2010-11-01 19:39:02 +00:00
Jo-Philipp Wich
aab6378bc3 libs/core: several fixes for firewall model 2010-11-01 01:51:26 +00:00