Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-01-09 | Commit from LuCI Translation Portal by user jow.: 8 of 12 messages ↵ | Translation System | |
translated (1 fuzzy). | |||
2012-01-09 | Commit from LuCI Translation Portal by user jow.: 24 of 154 messages ↵ | Translation System | |
translated (0 fuzzy). | |||
2012-01-09 | Commit from LuCI Translation Portal by user jow.: 21 of 21 messages ↵ | Translation System | |
translated (0 fuzzy). | |||
2012-01-09 | Commit from LuCI Translation Portal by user jow.: 341 of 812 messages ↵ | Translation System | |
translated (0 fuzzy). | |||
2012-01-09 | Commit from LuCI Translation Portal by user jow.: 18 of 222 messages ↵ | Translation System | |
translated (0 fuzzy). | |||
2012-01-09 | Commit from LuCI Translation Portal by user jow.: 66 of 154 messages ↵ | Translation System | |
translated (0 fuzzy). | |||
2012-01-09 | Commit from LuCI Translation Portal by user jow.: 10 of 222 messages ↵ | Translation System | |
translated (0 fuzzy). | |||
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-07 | applications/luci-firewall: fix datatype validation for masq src/dest; allow ↵ | Jo-Philipp Wich | |
list of negated ucinames, hostnames, ip-ranges or -addresses | |||
2012-01-06 | modules/admin-full: set password of logged in user instead of ↵ | Jo-Philipp Wich | |
unconditionally using root, thanks Viktar Palstsiuk <viktar.palstsiuk@promwad.com> | |||
2012-01-06 | modules/admin-full: fix wireless interface removal if not network was ↵ | Jo-Philipp Wich | |
assigned to the iface, thanks Viktar Palstsiuk <viktar.palstsiuk@promwad.com> | |||
2012-01-06 | Commit from LuCI Translation Portal by user jow.: 74 of 154 messages ↵ | Translation System | |
translated (0 fuzzy). | |||
2012-01-06 | Commit from LuCI Translation Portal by user jow.: 6 of 812 messages ↵ | Translation System | |
translated (0 fuzzy). | |||
2012-01-05 | build: only consider directories containing a Makefile, fixes compilation ↵ | Jo-Philipp Wich | |
crashes if a file or empty directory exists in modules/, applications/ etc. | |||
2012-01-01 | Commit from LuCI Translation Portal by user jow.: 117 of 154 messages ↵ | Translation System | |
translated (0 fuzzy). | |||
2012-01-01 | Commit from LuCI Translation Portal by user jow.: 788 of 812 messages ↵ | Translation System | |
translated (0 fuzzy). | |||
2012-01-01 | modules/admin-full: make luci-bwc dlopen() libiwinfo.so instead of lua/iwinfo.so | Jo-Philipp Wich | |
2012-01-01 | libs/core: remove various uses of global vars in luci.ip | Jo-Philipp Wich | |
2012-01-01 | themes/openwrt: fix input placeholder color for firefox, add css for ↵ | Jo-Philipp Wich | |
internet explorer | |||
2012-01-01 | applications/luci-firewall: fix crash in rule formatting helper when a rule ↵ | Jo-Philipp Wich | |
with an /128 ipv6 prefix is encountered | |||
2012-01-01 | modules/admin-full: allow space separated lists of macs in static lease form ↵ | Jo-Philipp Wich | |
(#319) | |||
2011-12-26 | protocols/6x4: fix turning off 6ro4 advertising on all interfaces | Jo-Philipp Wich | |
2011-12-22 | Commit from LuCI Translation Portal by user jow.: 116 of 154 messages ↵ | Translation System | |
translated (0 fuzzy). | |||
2011-12-21 | modules/admin-full: fix crypto depends for ad-hoc and static wds modes (#271) | Jo-Philipp Wich | |
2011-12-20 | modules/admin-core: use luci.model.uci.apply() in service control to restart ↵ | Jo-Philipp Wich | |
dependencies of the current config as well | |||
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 | modules/admin-core: fix apply actions for configs with hyphens or underscore ↵ | Jo-Philipp Wich | |
in the name | |||
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 | modules/admin-full: reuse sysupgrade facilities to create backup archive | Jo-Philipp Wich | |
2011-12-20 | themes: add essential CSS class to other themes as well | Jo-Philipp Wich | |
2011-12-20 | applications/luci-firewall: fix wrong location of cbi templates | Jo-Philipp Wich | |
2011-12-20 | libs/web: prevent break between action buttons in tblsection template | Jo-Philipp Wich | |
2011-12-20 | po: resync firewall translation | Jo-Philipp Wich | |
2011-12-20 | applications/luci-firewall: use option "name" instead of deprecated "_name", ↵ | Jo-Philipp Wich | |
expose "extra" option, add enable/disable toggles for portforwards, snats and rules | |||
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-20 | po: update firewall translations | Jo-Philipp Wich | |
2011-12-20 | applications/luci-firewall: make rule descriptions fully translateable | Jo-Philipp Wich | |
2011-12-19 | Commit from LuCI Translation Portal by user jow.: 10 of 222 messages ↵ | Translation System | |
translated (0 fuzzy). | |||
2011-12-19 | themes/openwrt: add some new CSS classes used by firewall ui | Jo-Philipp Wich | |
2011-12-19 | po: resync firewall translation | Jo-Philipp Wich | |
2011-12-19 | applications/luci-firewall: complete rework firewall ui | Jo-Philipp Wich | |
- split zone setup, port forwards, traffic rules and firewall.user - add quickadd forms for various common rules like port forwards - add tool class for textual formatting and descriptions of rules - simplify controller, remove old mini admin remainders | |||
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 |