Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-10-21 | libs/web: fix package name in error suggestion | Jo-Philipp Wich | |
2011-08-12 | libs/web: add _() function to dispatcher, used for marking translatable menu ↵ | Jo-Philipp Wich | |
entries | |||
2011-08-12 | libs/web: eliminate another uneeded require in dispatcher | Jo-Philipp Wich | |
2011-08-12 | libs/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 createtree | Jo-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 tree | Jo-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-21 | libs/web: more verbose faults | Jo-Philipp Wich | |
2011-07-20 | libs/web: make dispatcher faults more verbose | Jo-Philipp Wich | |
2011-07-18 | libs/web: fix index cache rebuild triggering (#275) | Jo-Philipp Wich | |
2010-12-12 | libs/web: change "module" variable to "modname" in dispatcher.lua, solves ↵ | Jo-Philipp Wich | |
apidoc artefacts | |||
2010-11-27 | libs/web: add the ability for maps to push error messages to the global page ↵ | Jo-Philipp Wich | |
header | |||
2010-11-22 | libs/web: combine apply actions of all maps on a page, prevents concurrent XHR | Jo-Philipp Wich | |
2010-11-21 | libs/web: expose cbi map redirect property to page templates | Jo-Philipp Wich | |
2010-11-13 | libs/web: allow percent sign in urls | Jo-Philipp Wich | |
2010-11-13 | libs/web: stricter validation in build_url(), prevents some XSS | Jo-Philipp Wich | |
2010-10-15 | libs/web: add export() to template namespace, allows templates to export ↵ | Jo-Philipp Wich | |
symbols to the calling view namespace, this is useful for includes defining shared procedures or variables | |||
2010-04-16 | libs/web: don't fail if no langauge is set in luci config | Jo-Philipp Wich | |
2009-11-29 | NIU: | Steven Barth | |
Add WDS bridge client mode Extending / repeating WDS network in AP wizard Better 802.11s support | |||
2009-11-14 | Publish nixio.fs in index-scope | Steven Barth | |
2009-11-10 | NIU: More pages | Steven Barth | |
2009-11-01 | all: remove references to old i18n files | Jo-Philipp Wich | |
2009-10-31 | libs/web: prepare template parser, dispatcher and i18n class for upcoming po ↵ | Jo-Philipp Wich | |
format change | |||
2009-09-11 | Fix requestpath, export authuser | Steven Barth | |
2009-08-07 | libs/web: restore protected call to Template(), was accidentally removed in ↵ | Jo-Philipp Wich | |
r4889 | |||
2009-07-25 | Reintroduce prefisx support - was gone somewhere | Steven Barth | |
2009-07-25 | Allow Basic-Auth pass-through | Steven Barth | |
2009-07-24 | Revert external tree usage | Steven Barth | |
2009-07-23 | libs/web: disable memory debuggin in trunk as well | Jo-Philipp Wich | |
2009-07-23 | libs/web: dispatcher.lua: add support for external tree building and indexing | Jo-Philipp Wich | |
2009-07-19 | convert luci.fs users to nixio.fs api | Jo-Philipp Wich | |
2009-07-10 | Session-IDs are lowercase now | Steven Barth | |
2009-06-21 | Drop support for luaposix and bitlib (obsoleted by nixio) | Steven Barth | |
Mark luci.fs as deprecated | |||
2009-06-20 | Merge fixes / improvements | Steven Barth | |
2009-04-08 | libs/web: fix file caches in dispatcher, broke when introducing lua-gz support | Jo-Philipp Wich | |
2009-04-04 | trunk: prepare LuCI to handle .lua.gz files | Jo-Philipp Wich | |
2009-04-03 | Backport Skip-Button support | Steven Barth | |
2009-03-27 | Introduce noheader and nofooter CBI-Dispatcher config | Steven Barth | |
2009-03-14 | libs/web: | Jo-Philipp Wich | |
- improve handling of low level runtime errors - wrap access to luci.main into assert() | |||
2009-03-07 | Fixed last commit | Steven Barth | |
2009-03-07 | Don't compare cstate if there is none | Steven Barth | |
2009-03-07 | Fix debugging output | Steven Barth | |
2009-02-26 | Introduce luci.dispatcher.get(...) which works like node(...) but does | Steven Barth | |
not disable the autocreated flag and does not overwrite the target controller so that call()-targets won't loose their binding to their controller | |||
2009-02-26 | Enable stack tracebacks for 500 errors | Steven Barth | |
2009-02-09 | libs/web: don't send Status: 500 in error500() if header is already sent | Jo-Philipp Wich | |
modules/admin-core: include template header only once | |||
2009-01-30 | Fix autodetection for extended language identifiers | Steven Barth | |
2009-01-20 | urldecode path_info before using it | Steven Barth | |
2009-01-14 | Automatic language detection | Steven Barth | |
2009-01-04 | Add extended dispatching targets, optimize dispatching behaviour | Steven Barth | |
2008-12-17 | Fixed REQUEST_URI | Steven Barth | |
2008-12-15 | Refined urltokens and XSRF protection | Steven Barth | |