Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-12-20 | [PATCH] Naive fix for bug #208 | Jo-Philipp Wich | |
For SimpleSection, use the section name (always "1") instead of the section type in the CBI-like string used to identify the upload. This allows upload fields to be placed in SimpleSections. The fix changes a minimal number of lines, but does introduce some unnecessary confusion, it may or may not be better than a more thorough/invasive fix. Set the enctype for the form element in the simpleform view to be multipart/form-data because the default application/x-www-form-urlencoded does not support input files. Signed-off-by: Kevin Locke <kevin@kevinlocke.name> | |||
2011-12-20 | libs/web: show input/forward hints in zonelist widget only if bnoth allowany ↵ | Jo-Philipp Wich | |
and allowlocal are enabled | |||
2011-12-20 | libs/web: prevent break between action buttons in tblsection template | Jo-Philipp Wich | |
2011-12-20 | libs/web: fix placeholder attribute for DynList | Jo-Philipp Wich | |
2011-12-20 | libs/web: fix undesired autofocus of DynamicList widget | Jo-Philipp Wich | |
2011-12-20 | libs/web: improve ip6addr datype validation, accept both CIDR and IP/Mask ↵ | Jo-Philipp Wich | |
notation | |||
2011-12-19 | libs/web: add "any" option to firewall_zonelist widget | Jo-Philipp Wich | |
2011-12-19 | libs/web: rework DynamicList widget to support dynamic lists composed of ↵ | Jo-Philipp Wich | |
comboboxes | |||
2011-12-16 | libs/web: rework hostname match to not allow arbritary sequences of numbers ↵ | Jo-Philipp Wich | |
and dots | |||
2011-12-16 | libs/web: add list(...) datatype for space separated lists of arbritary ↵ | Jo-Philipp Wich | |
datatypes | |||
2011-12-16 | libs/web: add missing parts of previous commit | Jo-Philipp Wich | |
2011-12-16 | libs/web: implement "network" cbi datatype | Jo-Philipp Wich | |
2011-12-14 | libs/web: allow one-character hostnames | Jo-Philipp Wich | |
2011-11-30 | libs/web: add assert() statements for unresolvable function case | Jo-Philipp Wich | |
2011-10-30 | libs/web: dispatcher: fix access to template properties in attr() and ↵ | Jo-Philipp Wich | |
ifattr() helpers (#10317) | |||
2011-10-26 | libs/web: fix possible dispatcher crash | Jo-Philipp Wich | |
2011-10-26 | libs/web: move ifattr() and attr() helpers into dispatcher scope to make ↵ | Jo-Philipp Wich | |
them avilable to all templates, remove duplicate exports in cbi tempalte scope | |||
2011-10-26 | libs/web: dispatcher add node_childs() and node_visible() helper functions ↵ | Jo-Philipp Wich | |
for templates | |||
2011-10-25 | libs/web: dispatcher: implement a "firstchild()" target which simply ↵ | Jo-Philipp Wich | |
redirects to the first child of a node, useful for menus that are empty by default and may gain arbritary childs | |||
2011-10-23 | libs/web: cbi: support description attribute in nullsection instances | Jo-Philipp Wich | |
2011-10-21 | libs/web: fix package name in error suggestion | Jo-Philipp Wich | |
2011-10-11 | libs/web: handle .redirect property for SimpleForm widgets | Jo-Philipp Wich | |
2011-10-10 | libs/web: add network_netlist widget option to filter virtual networks | Jo-Philipp Wich | |
2011-10-09 | libs/web: sent origin section id encoded in cbi.cts. requests | Jo-Philipp Wich | |
2011-10-09 | libs/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-09 | libs/web: add error message printing to nullsection template, fixes server ↵ | Jo-Philipp Wich | |
side validation in SimpleForm instances | |||
2011-09-30 | libs/web: assign extra css class to typed or named sections with tabs | Jo-Philipp Wich | |
2011-09-25 | libs/web: network widget fixes | Jo-Philipp Wich | |
2011-09-24 | libs/web: align interface related widgets to changed network model api | Jo-Philipp Wich | |
2011-09-22 | libs/web: add missing class attributes | Jo-Philipp Wich | |
2011-09-22 | libs/web: cbi: dynamically update css class of last field after dependency ↵ | Jo-Philipp Wich | |
update | |||
2011-09-22 | libs/web: cbi: assign dedicated css class to last child | Jo-Philipp Wich | |
2011-09-22 | libs/web: cbi: provide a "last_child" property to allow for more layout ↵ | Jo-Philipp Wich | |
control in form rendering | |||
2011-09-22 | libs/web: add another missing class attribute | Jo-Philipp Wich | |
2011-09-22 | modules/admin-full, modules/freifunk, modules/niu, libs/web, ↵ | Jo-Philipp Wich | |
applications/luci-upnp: tune input class attributes | |||
2011-09-22 | modules/admin-full, libs/web: various interface handling fixes in network ↵ | Jo-Philipp Wich | |
settings | |||
2011-09-14 | libs/web: track submit state in network_ifacelist widget, fixes deselecting ↵ | Jo-Philipp Wich | |
all member ifaces in checkbox mode | |||
2011-09-04 | libs/web: add "neg()" cbi datatype to negate arbritary types, e.g. ↵ | Jo-Philipp Wich | |
"neg(hostname)" would allow "!example.com" | |||
2011-09-01 | libs/web: fix some missing escapes in iface and netlist widgets | 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 | |
2011-06-17 | libs/web: add new datatypes min(...), max(...) and neg_network_ip4addr | Jo-Philipp Wich | |
2011-05-04 | libs/web: remove license comments from cbi templates, saves around 50% of ↵ | Jo-Philipp Wich | |
their size | |||
2011-05-03 | libs/web: fix another invalid entity | Jo-Philipp Wich | |