summaryrefslogtreecommitdiffhomepage
path: root/libs
AgeCommit message (Collapse)Author
2011-10-23libs/web: cbi: support description attribute in nullsection instancesJo-Philipp Wich
2011-10-21libs/web: fix package name in error suggestionJo-Philipp Wich
2011-10-15libs/ipkg: give caller more control over filter patternJo-Philipp Wich
2011-10-14libs/ipkg: don't --autoremove; its dangeros. Attempting to uninstall ↵Jo-Philipp Wich
kmod-ipt-nat with it will remove half of luci too, additionally opkg segfaults and corrupts the status database
2011-10-11move protocol support into a new protocols/ subdirJo-Philipp Wich
2011-10-11libs/web: handle .redirect property for SimpleForm widgetsJo-Philipp Wich
2011-10-11libs/core: more fixes for network modelJo-Philipp Wich
2011-10-10libs/core: mark relay protocol as floatingJo-Philipp Wich
2011-10-10libs/web: add network_netlist widget option to filter virtual networksJo-Philipp Wich
2011-10-09libs/core: remove uneeded error importJo-Philipp Wich
2011-10-09libs/core: add more heuristics to infer device name from switch nameJo-Philipp Wich
2011-10-09libs/core: add luci.model.network.get_protocol(protoname[, networkname])Jo-Philipp Wich
2011-10-09libs/web: sent origin section id encoded in cbi.cts. requestsJo-Philipp Wich
2011-10-09libs/web: pass origin section id to :create() callback, needed when ↵Jo-Philipp Wich
multiple, filtered TypedSection instances of the same type are used within a single Map
2011-10-09libs/core: fix bug in contains_interface() implementation of PPPoE protocolJo-Philipp Wich
2011-10-09libs/web: add error message printing to nullsection template, fixes server ↵Jo-Philipp Wich
side validation in SimpleForm instances
2011-10-04libs/core: rework class structure of network model, add per protocol ↵Jo-Philipp Wich
is_installed() and opkg_package() utility functions to query availability
2011-10-03libs/core: clean up network model, make it modular and move protocol ↵Jo-Philipp Wich
deviations into submodules, fix recognition of pptp and properly implement relayd protocol awareness
2011-09-30libs/web: assign extra css class to typed or named sections with tabsJo-Philipp Wich
2011-09-25libs/web: network widget fixesJo-Philipp Wich
2011-09-25libs/core: more fixes in network modelJo-Philipp Wich
2011-09-24libs/web: align interface related widgets to changed network model apiJo-Philipp Wich
2011-09-24libs/core: non-bridge handling fix in network modelJo-Philipp Wich
2011-09-24libs/core: add "tunnel" interface type to network model, various optimizationsJo-Philipp Wich
2011-09-22libs/web: add missing class attributesJo-Philipp Wich
2011-09-22libs/web: cbi: dynamically update css class of last field after dependency ↵Jo-Philipp Wich
update
2011-09-22libs/web: cbi: assign dedicated css class to last childJo-Philipp Wich
2011-09-22libs/web: cbi: provide a "last_child" property to allow for more layout ↵Jo-Philipp Wich
control in form rendering
2011-09-22libs/web: add another missing class attributeJo-Philipp Wich
2011-09-22modules/admin-full, modules/freifunk, modules/niu, libs/web, ↵Jo-Philipp Wich
applications/luci-upnp: tune input class attributes
2011-09-22modules/admin-full, libs/web: various interface handling fixes in network ↵Jo-Philipp Wich
settings
2011-09-22libs/core: various interface handling fixes in network modelJo-Philipp Wich
2011-09-14libs/core: also enumerate not-yet-spawned vlan interfaces in network model, ↵Jo-Philipp Wich
differentiate switch and vlan interfaces
2011-09-14libs/web: track submit state in network_ifacelist widget, fixes deselecting ↵Jo-Philipp Wich
all member ifaces in checkbox mode
2011-09-04libs/web: add "neg()" cbi datatype to negate arbritary types, e.g. ↵Jo-Philipp Wich
"neg(hostname)" would allow "!example.com"
2011-09-01libs/web: fix some missing escapes in iface and netlist widgetsJo-Philipp Wich
2011-08-13libs/core: fallback to trunk versionJo-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-08-12libs/nixio: add missing file in previous commit, revert unrelated changeJo-Philipp Wich
2011-08-12libs/nixio: implement getproto(), getprotobyname() and getprotobynumber()Jo-Philipp Wich
2011-08-11libs/lucid: fix process function leak (#285)Jo-Philipp Wich
2011-08-11libs/nixio: allow building without shadow password supportJo-Philipp Wich
2011-08-11libs/nixio: fix possible issue with nonblocking bind()Jo-Philipp Wich
2011-07-22libs/lucid: perform full gc cycle prior to forking, massively improves ↵Jo-Philipp Wich
memory consumption
2011-07-21libs/web: more verbose faultsJo-Philipp Wich
2011-07-20libs/web: make dispatcher faults more verboseJo-Philipp Wich