summaryrefslogtreecommitdiffhomepage
path: root/libs
AgeCommit message (Collapse)Author
2015-01-08Rework LuCI build systemJo-Philipp Wich
* Rename subdirectories to their repective OpenWrt package names * Make each LuCI module its own standalone package * Deploy a shared luci.mk which is used by each module Makefile Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-16httpclient: fix logic error for redirectsManuel Munz
2014-06-11build: remove abandonned sgi librariesJo-Philipp Wich
2014-06-11build: introduce luci-baseJo-Philipp Wich
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.
2014-06-11Remove unmaintained components: lucid, fastindex, niuJo-Philipp Wich
2014-04-24libs/sys: make sure to always return a table from arptable() when no ↵Jo-Philipp Wich
callback is passed (#671)
2014-03-28libs/sgi-uhttpd: fix binding to properly work with current uhttpd2 ↵Jo-Philipp Wich
implementation Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-03-28libs/sgi-uhttpd: do not assume env.CONTENT_LENGTH to be a numberJo-Philipp Wich
env.CONTENT_LENGTH as passed by uhttpd might be a string, so explicitely convert it using tonumber(). Issue has been reported by Catalin Patulea <cat@vv.carleton.ca> Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-02-05httpclient: fix parsing of IPv6 URLs (#662)Jo-Philipp Wich
2014-02-05build: fix clean targets in Makefiles (#667)Jo-Philipp Wich
2013-12-03libs/core: further network model compatibility fixesJo-Philipp Wich
2013-12-03libs/core: make luci.model.network compatible with new wireless netifd ↵Jo-Philipp Wich
integration
2013-12-03libs/json: add proper support for decoding unicode escapesJo-Philipp Wich
2013-07-07add luaneightbl: this is an arp replacement for ipv6. neightbl.get(wlan0) ↵Patrick Grimm
return ip,mac table this can use in a for loop "for ip,mac in pairs(t) do" Thanx Cyrus
2013-05-23Add support for stateful DHCPv6Steven Barth
2013-04-04libs/web: do not cast to string when using network_netlist widget (#560)Jo-Philipp Wich
2013-04-04libs/core: do not consider alternative routing tables in luci.model.network ↵Jo-Philipp Wich
for now
2013-03-27libs/sys: fix incomplete options table when parsing iptables rulesJo-Philipp Wich
2013-03-19libs/core: fallback to ipv6-prefix-assignment if ipv6-address is emptyJo-Philipp Wich
2013-02-05libs/web: allow '!' and '.' symbols in phonedigit datatypeJo-Philipp Wich
2013-01-30modules/admin-full: Add swap info to admin_status page if swap is available, ↵Manuel Munz
#533
2013-01-27libs/web: further endian fixes in lmo processingJo-Philipp Wich
2013-01-26libs/web: add missing byteswap of index offset when parsing index offset of ↵Jo-Philipp Wich
lmo files
2013-01-26libs/web: fix endian issues in lmo conversion leading to a bad index orderJo-Philipp Wich
2013-01-22libs/web: support dependencies on mvaluesJo-Philipp Wich
2013-01-22move dhcpv6 support into luci-proto-6x4, rename luci-proto-6x4 to ↵Jo-Philipp Wich
luci-proto-ipv6
2013-01-22New IPv6 integrationJo-Philipp Wich
2013-01-13libs/core: remove now obsolete uint() wrapper in network modelJo-Philipp Wich
2013-01-13libs/web: include limits.h to fix compilation on OS X (#531)Jo-Philipp Wich
2013-01-11libs/sys: fix luci.sys.processes.list() for entries with spaces i nthe STAT ↵Jo-Philipp Wich
column (#528)
2012-12-25libs/web: fix missing escapes in network_ifacelist widgetJo-Philipp Wich
2012-12-25libs/core: make luci.util.spairs(), kspairs() and vspairs() return the ↵Jo-Philipp Wich
sequential index as 3rd variable
2012-12-20don't use symlink to /lib/functions.shJo-Philipp Wich
Signed-off-by: Luka Perkov <luka@openwrt.org>
2012-12-19ccache not loading or storing cache filesJo-Philipp Wich
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-02libs/web: make JS String.format() and String.serialize() available as ↵Jo-Philipp Wich
prototype options, introduce String.nobr()
2012-12-02libs/web: let luci.i18n.setlanguage() return the lang that was actually loadedJo-Philipp Wich
2012-11-26libs/core: remove unused luci.util.escape(), map luci.util.striptags() to ↵Jo-Philipp Wich
luci.template.parser.striptags()
2012-11-26libs/web: various changes in template libraryJo-Philipp Wich
- rename sanitize_pcdata() and sanitize_utf8() to pcdata() and utf8() - implement striptags()
2012-11-26libs/web: Allow to disable buttons in cbi models from the controllerManuel Munz
2012-11-26remove .i18n annotations from controller filesJo-Philipp Wich
2012-11-26"Waiting for router..." is misleading on non-router devices. Use "Waiting ↵Daniel Golle
for changes to be applied..." instead.
2012-11-25libs/web: remove unneeded includeJo-Philipp Wich
2012-11-25libs/web: remove leftover debugging code in template_parser.cJo-Philipp Wich
2012-11-25libs/core: use luci.template.parser.hash() instead of lmo.hash()Jo-Philipp Wich
2012-11-25libs/web: rewrite template engine, merge lmo libraryJo-Philipp Wich
- template parser: merge lmo library - template parser: rewrite to operate on memory mapped files - template parser: implement proper line number reporting on syntax errors - template parser: process translate tags directly and bypass Lua - template lmo: introduce load_catalog(), change_catalog() and close_catalog() - template lmo: rewrite index processing to operate directly on the memory mapped file - template lmo: implement binary search keys, reducing the lookup complexity to O(log n) - po2lmo: write sorted indixes when generating *.lmo archives - i18n: use the template parser for translations - i18n: stub load(), loadc() and clear() - i18n: map setlanguage() to load_catalog()
2012-11-23libs/lmo: fix whitespace handling in string hashing, optimize codeJo-Philipp Wich
2012-11-21libs/lmo: canonize key strings before hashing them, fixes missing ↵Jo-Philipp Wich
translations for original strings with line breaks or white spaces embedded
2012-11-21libs/core: introduce get_status_by_address() in luci.model.networkJo-Philipp Wich
2012-11-21libs/web: fix luci.http.write_json() to properly encode control chars in stringsJo-Philipp Wich
2012-11-15libs/ipkg: simplify parsing logic to take advantage of the opkg improvements ↵Jo-Philipp Wich
in trunk, introduce find() operation