summaryrefslogtreecommitdiff
path: root/libs/core
Commit message (Collapse)AuthorAgeFilesLines
* build: introduce luci-baseJo-Philipp Wich2014-06-1115-4960/+0
| | | | | | Merges libs/core, libs/ipkg, libs/web, libs/sys, libs/sgi-cgi, libs/sgi-uhttpd, modules/admin-core, themes/base and protcols/core into modules/base and renames luci-lib-core to luci-base.
* libs/core: further network model compatibility fixesJo-Philipp Wich2013-12-031-6/+3
|
* libs/core: make luci.model.network compatible with new wireless netifd ↵Jo-Philipp Wich2013-12-031-17/+38
| | | | integration
* Add support for stateful DHCPv6Steven Barth2013-05-231-0/+3
|
* libs/core: do not consider alternative routing tables in luci.model.network ↵Jo-Philipp Wich2013-04-041-1/+1
| | | | for now
* libs/core: fallback to ipv6-prefix-assignment if ipv6-address is emptyJo-Philipp Wich2013-03-191-2/+8
|
* move dhcpv6 support into luci-proto-6x4, rename luci-proto-6x4 to ↵Jo-Philipp Wich2013-01-221-9/+0
| | | | luci-proto-ipv6
* New IPv6 integrationJo-Philipp Wich2013-01-221-0/+9
|
* libs/core: remove now obsolete uint() wrapper in network modelJo-Philipp Wich2013-01-131-11/+4
|
* libs/core: make luci.util.spairs(), kspairs() and vspairs() return the ↵Jo-Philipp Wich2012-12-251-4/+2
| | | | sequential index as 3rd variable
* don't use symlink to /lib/functions.shJo-Philipp Wich2012-12-201-1/+1
| | | | Signed-off-by: Luka Perkov <luka@openwrt.org>
* ccache not loading or storing cache filesJo-Philipp Wich2012-12-191-2/+2
| | | | | | | | | | | | | | | | | 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>
* libs/core: remove unused luci.util.escape(), map luci.util.striptags() to ↵Jo-Philipp Wich2012-11-261-13/+3
| | | | luci.template.parser.striptags()
* libs/core: use luci.template.parser.hash() instead of lmo.hash()Jo-Philipp Wich2012-11-251-2/+2
|
* libs/core: introduce get_status_by_address() in luci.model.networkJo-Philipp Wich2012-11-211-0/+26
|
* libs/core: explicitely load luci.i18n in network modelJo-Philipp Wich2012-09-151-17/+17
|
* libs/core: adapt luci.model.network for wifi-iface instances which are ↵Jo-Philipp Wich2012-09-151-12/+43
| | | | members of multiple networks
* libs/core: remove route enabled check in network model after netifd update ↵Jo-Philipp Wich2012-09-131-1/+1
| | | | in OpenWrt trunk
* libs/core: also add gre0 to default interface ignore patternJo-Philipp Wich2012-08-171-1/+1
|
* libs/core: only consider enabled routes when finding wan interfaceJo-Philipp Wich2012-06-291-1/+1
|
* libs/core: improve luci.util.imatch() to not create temporary strings when ↵Jo-Philipp Wich2012-06-261-8/+20
| | | | iterating non-string values
* libs/core: implement get_wandev(), get_wan6dev(), get_wannet() and ↵Jo-Philipp Wich2012-06-261-0/+38
| | | | get_wan6net() in luci.model.network
* libs/core: fix network is_empty() check for wifi-ifaces which are part of ↵Jo-Philipp Wich2012-06-261-3/+6
| | | | multiple networks
* libs/core: allow ifaces to be part of multiple networks in luci.model.networkJo-Philipp Wich2012-06-261-23/+31
|
* libs/core: fix various problems in the network modelJo-Philipp Wich2012-06-171-2/+4
|
* libs/core: fix ubus corner cases in network modelJo-Philipp Wich2012-05-311-36/+32
|
* libs/core: use ubus to fetch interface and device status information, depend ↵Jo-Philipp Wich2012-05-311-63/+79
| | | | on libubus-lua
* libs/core: remove various uses of global vars in luci.ipJo-Philipp Wich2012-01-011-1/+10
|
* libs/core: rework luci.model.uci.apply() to return the commandline as table, ↵Jo-Philipp Wich2011-12-201-4/+7
| | | | suitable for passing to nixio.exec()
* libs/core: fix undefined tostring() in network modelJo-Philipp Wich2011-12-051-2/+5
|
* libs/core: expose txpower offset values in network modelJo-Philipp Wich2011-12-051-1/+6
|
* libs/core: fix removal of wifi networks without interface attached (OpenWrt ↵Jo-Philipp Wich2011-11-121-2/+3
| | | | #10400)
* libs/core: fix status reporting of standalone wifi iface in network modelJo-Philipp Wich2011-10-281-2/+5
|
* move protocol support into a new protocols/ subdirJo-Philipp Wich2011-10-113-315/+0
|
* libs/core: more fixes for network modelJo-Philipp Wich2011-10-111-3/+3
|
* libs/core: mark relay protocol as floatingJo-Philipp Wich2011-10-101-1/+1
|
* libs/core: remove uneeded error importJo-Philipp Wich2011-10-091-1/+0
|
* libs/core: add more heuristics to infer device name from switch nameJo-Philipp Wich2011-10-091-3/+22
|
* libs/core: add luci.model.network.get_protocol(protoname[, networkname])Jo-Philipp Wich2011-10-091-0/+7
|
* libs/core: fix bug in contains_interface() implementation of PPPoE protocolJo-Philipp Wich2011-10-091-1/+1
|
* libs/core: rework class structure of network model, add per protocol ↵Jo-Philipp Wich2011-10-044-102/+198
| | | | is_installed() and opkg_package() utility functions to query availability
* libs/core: clean up network model, make it modular and move protocol ↵Jo-Philipp Wich2011-10-034-204/+494
| | | | deviations into submodules, fix recognition of pptp and properly implement relayd protocol awareness
* libs/core: more fixes in network modelJo-Philipp Wich2011-09-251-13/+13
|
* libs/core: non-bridge handling fix in network modelJo-Philipp Wich2011-09-241-18/+15
|
* libs/core: add "tunnel" interface type to network model, various optimizationsJo-Philipp Wich2011-09-241-14/+28
|
* libs/core: various interface handling fixes in network modelJo-Philipp Wich2011-09-221-29/+61
|
* libs/core: also enumerate not-yet-spawned vlan interfaces in network model, ↵Jo-Philipp Wich2011-09-141-1/+23
| | | | differentiate switch and vlan interfaces
* libs/core: fallback to trunk versionJo-Philipp Wich2011-08-131-1/+1
|
* libs/core: fix multiple errors in zone delete handling of firewall modelJo-Philipp Wich2011-07-111-3/+3
|
* libs/core: Allow the use of commands with arguments or of multiple commands ↵Manuel Munz2011-06-011-4/+9
| | | | for exec in /etc/config/ucitrack