Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-04-04 | libs/web: do not cast to string when using network_netlist widget (#560) | Jo-Philipp Wich | |
2013-02-05 | libs/web: allow '!' and '.' symbols in phonedigit datatype | Jo-Philipp Wich | |
2013-01-22 | libs/web: support dependencies on mvalues | Jo-Philipp Wich | |
2012-12-25 | libs/web: fix missing escapes in network_ifacelist widget | Jo-Philipp Wich | |
2012-12-02 | libs/web: let luci.i18n.setlanguage() return the lang that was actually loaded | Jo-Philipp Wich | |
2012-11-26 | libs/web: Allow to disable buttons in cbi models from the controller | Manuel Munz | |
2012-11-26 | remove .i18n annotations from controller files | Jo-Philipp Wich | |
2012-11-26 | "Waiting for router..." is misleading on non-router devices. Use "Waiting ↵ | Daniel Golle | |
for changes to be applied..." instead. | |||
2012-11-25 | libs/web: rewrite template engine, merge lmo library | Jo-Philipp Wich | |
- template parser: merge lmo library - template parser: rewrite to operate on memory mapped files - template parser: implement proper line number reporting on syntax errors - template parser: process translate tags directly and bypass Lua - template lmo: introduce load_catalog(), change_catalog() and close_catalog() - template lmo: rewrite index processing to operate directly on the memory mapped file - template lmo: implement binary search keys, reducing the lookup complexity to O(log n) - po2lmo: write sorted indixes when generating *.lmo archives - i18n: use the template parser for translations - i18n: stub load(), loadc() and clear() - i18n: map setlanguage() to load_catalog() | |||
2012-11-21 | libs/web: fix luci.http.write_json() to properly encode control chars in strings | Jo-Philipp Wich | |
2012-10-06 | libs/web: relax validation for hostnames to allow names like ↵ | Jo-Philipp Wich | |
_kerberos._udp.EXAMPLE.COM | |||
2012-09-15 | libs/web: transparently handle userdata in write_json() | Jo-Philipp Wich | |
2012-08-29 | libs/web: merge luci.http.protocol fix from Fonosfera | Jo-Philipp Wich | |
See http://trac.fonosfera.org/fon-ng/changeset/2102/trunk/luci/libs/http . | |||
2012-08-14 | libs/web: export translatef() into templates | Jo-Philipp Wich | |
2012-08-09 | libs/web: rework unspecified/create logic for checkboxes in network_netlist ↵ | Jo-Philipp Wich | |
widget | |||
2012-08-09 | libs/web: support placeholder attribute for comboboxes, fix validation ↵ | Jo-Philipp Wich | |
quirks with input->select transition in comboboxes | |||
2012-08-08 | libs/web: add missing css class to cbi simpleform template | Jo-Philipp Wich | |
2012-08-08 | libs/web: adapt dispatcher to sauth api changes | Jo-Philipp Wich | |
2012-08-08 | libs/web: rework luci.sauth | Jo-Philipp Wich | |
- perform decoding/encoding transparently in read() and write() - remove decode() and encode() helpers - introduce reap() to kill expired sessions | |||
2012-08-07 | Rework authentication system | Jo-Philipp Wich | |
The validity of authentication tokens was determined by the mtime of respective authentication tokens on filesystem stored in $sessionpath. Talking about hardware without RTC or without a prior connection to a time server, date/time usually around 1970 - so is the mtime of the authentication token file in $sessionpath. When now configuring an internet connection via LuCI, the system might fetch the current date/time (e.g. via ntp) which invalidates the token, returns "403 Forbidden" and kicks the user out of the interface. This patch changes the authentication system to use time values based on the uptime of the machine - rather than values based upon gettimeofday() and {a|m}time values - and save them inside the token. That way can always determine the difference between login (last interaction respectively) and the current time, in- dependant of the system clock jumping backwards/forwards. Warning: This patch removes the clean() function and respective calls. This means, invalid tokens will NOT be determined and removed from filesystem automatically anymore. Before, every HTTP-call caused a scan for invalid tokens, which is quite expensive. Instead consider using a cron job deleting all stalled files periodically. Contributed by T-Labs, Deutsche Telekom Innovation Laboratories Signed-off-by: Mirko Vogt <mirko@openwrt.org> | |||
2012-07-24 | libs/web: support creating networks in checkbox network widget (#457) | Jo-Philipp Wich | |
2012-06-26 | libs/web: extend network_ifacelist widget to display all networks an iface ↵ | Jo-Philipp Wich | |
is member of | |||
2012-06-25 | libs/web: implement minlength(), maxlength() and rangelength() datatypes | 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-13 | libs/datatypes: Fix typo | Manuel Munz | |
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-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) | |||
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-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 | |