summaryrefslogtreecommitdiffhomepage
path: root/libs/web
AgeCommit message (Collapse)Author
2011-09-01libs/web: fix some missing escapes in iface and netlist widgetsJo-Philipp Wich
2011-08-12libs/web: add _() function to dispatcher, used for marking translatable menu ↵Jo-Philipp Wich
entries
2011-08-12libs/web: eliminate another uneeded require in dispatcherJo-Philipp Wich
2011-08-12libs/web: optimize access to translate() api by directly reusing the ↵Jo-Philipp Wich
luci.i18n instance loaded in dispatcher - this saves one extra function call, one extra require and one extra table lookup for _each_ translation string
2011-08-12[PATCH] Allow smarter node creation based on visibility during createtreeJo-Philipp Wich
As I've brought up on the mailing list thread "High latency caused by full tree creation", there is a large amount of delay per LuCI request which is spent building the node tree in createtree(). Most nodes created aren't needed for the view presented to the user and only serve to consume memory and CPU time during a page load. My idea is to provide an easy mechanism for index()ers to determine which needs to be created and what isn't. Due to the constraints of the standard LuCI web interface, this optimization needs to establish a few rules: * The page requested must have its node created * All parents of the page being requested must be created, so the children inherit the track * All the top-level nodes "Status", "System", "Services", "Network" (and others added by extensions) must be created in order to have their top-level tabs in the UI * All peers of second-level nodes need to be created as well for the same reason, to display their links on the subindexes To make this easy to implement in each controller, the attached patch adds an "inreq" field to each created node to indicate if it lies on the request path. To satisfy the "top level node" requirement, we always add the top level node, then check its inreq property if the top-level node is not "in request", then the controller can exit index() early.
2011-08-12[PATCH] Wasted memory use storing path copies in node treeJo-Philipp Wich
When creating the node tree, every node stores a copy of its full path table. e.g. for node("admin.network.wireless"), node.path = { "admin", "network", "wireless" } This value is not used anywhere, and likely may be from before the addition of the treecache lookup table? In any instance, I've searched high and low and see nothing ever referencing any node's path via the path member. It eats a good chunk of memory though and as such I believe it should be removed. I've tested every page in the admin-full module after removing it and all seem to function properly.
2011-07-21libs/web: more verbose faultsJo-Philipp Wich
2011-07-20libs/web: make dispatcher faults more verboseJo-Philipp Wich
2011-07-18libs/web: fix index cache rebuild triggering (#275)Jo-Philipp Wich
2011-06-17libs/web: add new datatypes min(...), max(...) and neg_network_ip4addrJo-Philipp Wich
2011-05-04libs/web: remove license comments from cbi templates, saves around 50% of ↵Jo-Philipp Wich
their size
2011-05-03libs/web: fix another invalid entityJo-Philipp Wich
2011-05-03trunk: s/ / /gJo-Philipp Wich
2011-04-13luci-firewall: Add support for negations for ip addresses/nets (#218)Manuel Munz
2011-03-17libs/web: fix "port" datatype to allow port 0Jo-Philipp Wich
2011-03-13libs/web: explicitely cast input value of %m pattern to float in order to ↵Jo-Philipp Wich
avoid throwing an exception in toFixed() with very low values
2011-03-13libs/web: add %m pattern to String.format()Jo-Philipp Wich
2011-03-05libs/web: repair and modernize FileBrowser widget, patches by Kevin Locke ↵Jo-Philipp Wich
<klocke@digitalenginesoftware.com> (#207)
2011-02-12web: Relax hostname validation for lengthManuel Munz
2011-02-12web: Improve hostname validationManuel Munz
2011-01-29libs/web: improve cbi handling of Flag values, support usage of .default ↵Jo-Philipp Wich
attribute to signalize default-on checkboxes, this helps to deal with the reversed logic of various uci bools within OpenWrt configs
2011-01-26libs/web: remove a stray non breaking space in DummyValue templateJo-Philipp Wich
2011-01-23libs/web: readd add/remove icons to dynamic list widgetsJo-Philipp Wich
2011-01-20libs/web: fix row sorting in IEJo-Philipp Wich
2011-01-20libs/web: fix row ordering for named sectionsJo-Philipp Wich
2011-01-20libs/web: add missing cells to tblsection templateJo-Philipp Wich
2011-01-20libs/web: implement sortable rows for uci reorderingJo-Philipp Wich
2011-01-19libs/web: add up & down arrow iconsJo-Philipp Wich
2011-01-14libs/web: fix an untranslated stringJo-Philipp Wich
2011-01-14libs/web: some fixes for network_ifacelist widgetJo-Philipp Wich
2011-01-13libs/web: properly handle .default property for ListValue fields with ↵Jo-Philipp Wich
integer keys
2011-01-13libs/web: introduce width property for fields in tblsectionsJo-Philipp Wich
2010-12-16libs/web: fix error in wep key validationJo-Philipp Wich
2010-12-12libs/web: change "module" variable to "modname" in dispatcher.lua, solves ↵Jo-Philipp Wich
apidoc artefacts
2010-12-05libs/web: add field validation for add section name inputsJo-Philipp Wich
2010-12-05libs/web: handle empty tables in Map.set()Jo-Philipp Wich
2010-12-05libs/web: add float and ufloat datatypes for field validationJo-Philipp Wich
2010-12-03libs/web: fix dynamic list handlingJo-Philipp Wich
2010-12-01libs/web: remove debug code from cbi.jsJo-Philipp Wich
2010-12-01libs/web: add %t format to String.format(), fix float formattingJo-Philipp Wich
2010-11-28libs/web: fix filtering of overlong utf8 sequencesJo-Philipp Wich
2010-11-27libs/web: render aggregated messagesJo-Philipp Wich
2010-11-27libs/web: add the ability for maps to push error messages to the global page ↵Jo-Philipp Wich
header
2010-11-23libs/web: fix IPv6 live validationJo-Philipp Wich
2010-11-22libs/web: combine apply actions of all maps on a page, prevents concurrent XHRJo-Philipp Wich
2010-11-21libs/web: implement "unspecified" option for netlist widgetJo-Philipp Wich
2010-11-21libs/web: add network_netinfo widgetJo-Philipp Wich
2010-11-21libs/web: add "back to overview" button to page actions if .redirect is set ↵Jo-Philipp Wich
on the corresponding map
2010-11-21libs/web: expose cbi map redirect property to page templatesJo-Philipp Wich
2010-11-20libs/web: better server side handling of DynList valuesJo-Philipp Wich