Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-07-24 | libs/web: support creating networks in checkbox network widget (#457) | Jo-Philipp Wich | |
2012-07-18 | libs/sys: workaround broken entries in /proc/net/ipv6_route, observed on ↵ | Jo-Philipp Wich | |
brcm-2.4 | |||
2012-06-29 | libs/core: only consider enabled routes when finding wan interface | Jo-Philipp Wich | |
2012-06-27 | libs/sys: fix login with empty password after previous commit | Jo-Philipp Wich | |
2012-06-27 | libs/sys: fix luci.sys.checkpasswd() semantics | Jo-Philipp Wich | |
2012-06-26 | libs/core: improve luci.util.imatch() to not create temporary strings when ↵ | Jo-Philipp Wich | |
iterating non-string values | |||
2012-06-26 | libs/core: implement get_wandev(), get_wan6dev(), get_wannet() and ↵ | Jo-Philipp Wich | |
get_wan6net() in luci.model.network | |||
2012-06-26 | libs/core: fix network is_empty() check for wifi-ifaces which are part of ↵ | Jo-Philipp Wich | |
multiple networks | |||
2012-06-26 | libs/web: extend network_ifacelist widget to display all networks an iface ↵ | Jo-Philipp Wich | |
is member of | |||
2012-06-26 | libs/core: allow ifaces to be part of multiple networks in luci.model.network | Jo-Philipp Wich | |
2012-06-25 | libs/web: implement minlength(), maxlength() and rangelength() datatypes | Jo-Philipp Wich | |
2012-06-17 | libs/core: fix various problems in the network model | Jo-Philipp Wich | |
2012-05-31 | libs/core: fix ubus corner cases in network model | Jo-Philipp Wich | |
2012-05-31 | libs/core: use ubus to fetch interface and device status information, depend ↵ | Jo-Philipp Wich | |
on libubus-lua | |||
2012-05-06 | move luci specific index.html from package 'sgi-cgi' to 'admin-core' | Jo-Philipp Wich | |
Contributed by T-Labs, Deutsche Telekom Innovation Laboratories Signed-off-by: Mirko Vogt <mirko.vogt@external.telekom.de> | |||
2012-05-06 | libs/sys: fix luci.sys.init.index() (#399) | Jo-Philipp Wich | |
2012-04-16 | Fix JSON NaN | Jo-Philipp Wich | |
Hi, The attached patch fixes the JSON generation when dealing with NaN (not a number), this makes the JSON parsing in the web browser succeed (before it would get a "nan" which is not a valid JS value) Chris | |||
2012-04-15 | libs/web: fix html output for complex datatypes containing apostrophes | Jo-Philipp Wich | |
2012-04-15 | libs/sys: introduce luci.sys.init.start() and luci.sys.init.stop(), also ↵ | Jo-Philipp Wich | |
execute all init action with an empty environment | |||
2012-04-13 | libs/datatypes: Fix typo | Manuel Munz | |
2012-03-13 | libs/nixio: reorder linker commandline args to fix build on Ubuntu 11.x | Jo-Philipp Wich | |
2012-03-13 | libs/nixio: disable TLS implementation by default, fixes host builds on ↵ | Jo-Philipp Wich | |
Ubuntu 11.x | |||
2012-03-04 | libs/web: fix wrong default focus in dynlist widgets (#388) | Jo-Philipp Wich | |
2012-02-15 | libs/web: fix delete action in tblsections, fix extedit buttons | Jo-Philipp Wich | |
2012-02-15 | libs/web: remove inline styles from firewall_zoneforwards and ↵ | Jo-Philipp Wich | |
firewall_zonelist widgets | |||
2012-02-15 | libs/web: remove inline styles from network_netinfo widget | Jo-Philipp Wich | |
2012-02-15 | libs/web: remove inline styles for interface badges | Jo-Philipp Wich | |
2012-02-15 | libs/web: remove more inline styles from tblsection template, fixes action ↵ | Jo-Philipp Wich | |
buttons in bootstrap theme | |||
2012-02-15 | libs/web: use new button classes for tblsection template | Jo-Philipp Wich | |
2012-02-15 | libs/web: fix firewall_zoneforwards template for bootstrap theme | Jo-Philipp Wich | |
2012-02-14 | libs/web: implement new phone digit datatype, useful for VoIP related config ↵ | Jo-Philipp Wich | |
screens | |||
2012-02-14 | libs/web: use CSS class for sort buttons, drop inline style | Jo-Philipp Wich | |
2012-02-14 | libs/web: fix invalid html after r8224 - the whitespace trimming removed the ↵ | Jo-Philipp Wich | |
space between the attributes | |||
2012-02-13 | libs/web: fix line wrapping error | Patrick Grimm | |
2012-02-12 | libs/web: replace <a href> by <input type=button> for better css style in tables | Patrick Grimm | |
2012-01-09 | [PATCH] Explicit Cache-Control for lucid.http static content | Jo-Philipp Wich | |
The Chrome web browser revalidates every resource if no explicit Cache-Control or Expires HTTP/1.1 header is sent. This makes the page loads appear to take a long time on pages with a few external resources, adding 300-500ms per item. This includes the XHR json responses that set page images, like wireless signal indicators and the like-- the images are revalidated on every XHR response. As an example, the Network -> Interfaces page generates 16 requests to the lucid http server: Main HTML cascade.css xhr.js tabbg.png cbi.js loading.gif ethernet_disabled.png reload.png reset.gif edit.gif remove.gif add.gif bridge.png vlan.png wifi.png iface_status Of those, 14 should be pulled from cache but they are all valdiated. The lucid server returns the correct 304 (Not Modified) responses but it delays the apparent page load time because of the backlog it creates at the http server. I would suggest setting explicit cache control on all files returned by the lucid http directory dispatcher. The "Expires" header is reportedly more widely supported, however this relies on the clock on the OpenWrt? system being accurate, which may not be the case. The "Cache-Control: max-age=" allows the server to set a timeout in seconds. I've included a patch that sets revalidate interval to 1 year, which is the value recommended by google. Reference: http://code.google.com/speed/page-speed/docs/caching.html Note this could create an issue if there are luci application which are generating files which change that are being served by the lucid http DirectoryPublisher?. I'm not sure if there is anyone doing that. If needed, this can probably be created as an option to the DirectoryPublisher? config stanza for each vhost. Finally, this only affects the Google Chrome browser, as both IE9 and Firefox seem to have their own revalidation interval in the absence of explicit cache control which may be based on the last modified time of the resource. Even in Chrome, this change doesn't take effect until the item is re-served with a 200 HTTP response so Chrome's cache should be cleared after this patch is applied. The patch can be extended to include cache control on 304 responses, but I'd not worry about cluttering the code with it because the problem will solve itself once chrome redownloads the resource. | |||
2012-01-08 | libs/web: remove debugging code | Jo-Philipp Wich | |
2012-01-08 | libs/web: allow zero-length string literals when parsing datatypes | Jo-Philipp Wich | |
2012-01-08 | libs/web: introduce recursive expression support for datatypes, introduce ↵ | Jo-Philipp Wich | |
"or" and "and" datatypes The commit adds a recursive parser for datatype expressions which allows nesting of validators, this allows for complex expressions like "list(or(range(0,65535),'infinite'))" to allow a list of values which are either integers between 0 and 65535 or the literal string "inifinite". That change also deprecates combined datatypes like "ipaddr" ["or(ip4addr,ip6addr)"] or "host" ["or(hostname,ip4addr,ip6addr)"] | |||
2012-01-07 | libs/web: remove neg_ipaddr, neg_ip4addr and neg_network_ip4addr datatypes, ↵ | Jo-Philipp Wich | |
can be represented with neg(type) | |||
2012-01-01 | libs/core: remove various uses of global vars in luci.ip | Jo-Philipp Wich | |
2011-12-20 | libs/core: rework luci.model.uci.apply() to return the commandline as table, ↵ | Jo-Philipp Wich | |
suitable for passing to nixio.exec() | |||
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 |