summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2011-08-12applications, modules: remove i18n handling from controller modules as it ↵Jo-Philipp Wich
moved to the themes now
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-12themes: filter menu entry title through translate()Jo-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-08-07Commit from LuCI Translation Portal by user soma.: 2 of 4 messages ↵Translation System
translated (0 fuzzy).
2011-08-07Commit from LuCI Translation Portal by user soma.: 9 of 222 messages ↵Translation System
translated (8 fuzzy).
2011-08-07Commit from LuCI Translation Portal by user soma.: 760 of 760 messages ↵Translation System
translated (0 fuzzy).
2011-08-05modules/freifunk: Add profile for carbodebit (fr)Manuel Munz
2011-08-05contrib/meshwizard: fix for last commitManuel Munz
2011-08-05contrib/meshwizard: Add option in community profiles to set the same bssid ↵Manuel Munz
for every channel with bssidscheme 'all'
2011-07-31modules/admin-full: fix "undefined" netmask display on main status pageJo-Philipp Wich
2011-07-30applications/luci-firewall: fix turning off nat reflectionJo-Philipp Wich
2011-07-30applications/luci-diag-devinfo: add index() stubs to controller files (#281)Jo-Philipp Wich
2011-07-22libiwinfo: fix segfaults in nl80211 hwmodelist and freqlist operations if ↵Jo-Philipp Wich
called on a not existing phy
2011-07-22libs/lucid: perform full gc cycle prior to forking, massively improves ↵Jo-Philipp Wich
memory consumption
2011-07-22modules/admin-full: properly set device option for newly created vlan sectionsJo-Philipp Wich
2011-07-21applications/luci-wol: cope with host entries that have multiple MACs assignedJo-Philipp Wich
2011-07-21Commit from LuCI Translation Portal by user jow.: 16 of 16 messages ↵Translation System
translated (0 fuzzy).
2011-07-21libs/web: more verbose faultsJo-Philipp Wich
2011-07-20libs/web: make dispatcher faults more verboseJo-Philipp Wich
2011-07-20Commit from LuCI Translation Portal by user jow.: 9 of 11 messages ↵Translation System
translated (1 fuzzy).
2011-07-20Commit from LuCI Translation Portal by user jow.: 7 of 16 messages ↵Translation System
translated (0 fuzzy).
2011-07-20Commit from LuCI Translation Portal by user jow.: 23 of 42 messages ↵Translation System
translated (0 fuzzy).
2011-07-20Commit from LuCI Translation Portal by user jow.: 20 of 69 messages ↵Translation System
translated (0 fuzzy).
2011-07-20Commit from LuCI Translation Portal by user jow.: 15 of 139 messages ↵Translation System
translated (0 fuzzy).
2011-07-20Commit from LuCI Translation Portal by user jow.: 15 of 20 messages ↵Translation System
translated (0 fuzzy).
2011-07-20Commit from LuCI Translation Portal by user jow.: 19 of 108 messages ↵Translation System
translated (0 fuzzy).
2011-07-20Commit from LuCI Translation Portal by user jow.: 15 of 23 messages ↵Translation System
translated (0 fuzzy).
2011-07-20Commit from LuCI Translation Portal by user jow.: 12 of 54 messages ↵Translation System
translated (0 fuzzy).
2011-07-20Commit from LuCI Translation Portal by user jow.: 47 of 156 messages ↵Translation System
translated (0 fuzzy).
2011-07-20Commit from LuCI Translation Portal by user jow.: 4 of 27 messages ↵Translation System
translated (0 fuzzy).
2011-07-20Commit from LuCI Translation Portal by user jow.: 8 of 24 messages ↵Translation System
translated (0 fuzzy).
2011-07-20Commit from LuCI Translation Portal by user jow.: 36 of 47 messages ↵Translation System
translated (0 fuzzy).
2011-07-20Commit from LuCI Translation Portal by user jow.: 34 of 42 messages ↵Translation System
translated (0 fuzzy).
2011-07-20Commit from LuCI Translation Portal by user jow.: 48 of 171 messages ↵Translation System
translated (0 fuzzy).
2011-07-20Commit from LuCI Translation Portal by user jow.: 14 of 222 messages ↵Translation System
translated (0 fuzzy).
2011-07-18Commit from LuCI Translation Portal by user jow.: 718 of 760 messages ↵Translation System
translated (0 fuzzy).
2011-07-18Commit from LuCI Translation Portal by user jow.: 10 of 760 messages ↵Translation System
translated (0 fuzzy).
2011-07-18Commit from LuCI Translation Portal by user jow.: 57 of 223 messages ↵Translation System
translated (2 fuzzy).
2011-07-18Commit from LuCI Translation Portal by user jow.: 54 of 69 messages ↵Translation System
translated (1 fuzzy).
2011-07-18Commit from LuCI Translation Portal by user jow.: 185 of 190 messages ↵Translation System
translated (5 fuzzy).
2011-07-18Commit from LuCI Translation Portal by user jow.: 77 of 77 messages ↵Translation System
translated (0 fuzzy).