Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-06-11 | build: introduce luci-base | Jo-Philipp Wich | |
Merges libs/core, libs/ipkg, libs/web, libs/sys, libs/sgi-cgi, libs/sgi-uhttpd, modules/admin-core, themes/base and protcols/core into modules/base and renames luci-lib-core to luci-base. | |||
2012-11-26 | remove .i18n annotations from controller files | Jo-Philipp Wich | |
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)"] | |||
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-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-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-09-22 | libs/web: cbi: provide a "last_child" property to allow for more layout ↵ | Jo-Philipp Wich | |
control in form rendering | |||
2011-01-29 | libs/web: improve cbi handling of Flag values, support usage of .default ↵ | Jo-Philipp Wich | |
attribute to signalize default-on checkboxes, this helps to deal with the reversed logic of various uci bools within OpenWrt configs | |||
2011-01-20 | libs/web: implement sortable rows for uci reordering | Jo-Philipp Wich | |
2010-12-05 | libs/web: handle empty tables in Map.set() | Jo-Philipp Wich | |
2010-12-03 | libs/web: fix dynamic list handling | Jo-Philipp Wich | |
2010-11-22 | libs/web: combine apply actions of all maps on a page, prevents concurrent XHR | Jo-Philipp Wich | |
2010-11-20 | libs/web: better server side handling of DynList values | Jo-Philipp Wich | |
2010-11-20 | libs/web: skip empty values in DynList widget | Jo-Philipp Wich | |
2010-11-16 | libs/web: add range(min,max) datatype validator | Jo-Philipp Wich | |
2010-10-30 | libs/web: implement forcewrite attribute for cbi options | Jo-Philipp Wich | |
2010-10-25 | libs/web: rework DynamicList widget | Jo-Philipp Wich | |
2010-10-14 | libs/web: cbi: add new on_before_save and on_after_save hook, implement ↵ | Jo-Philipp Wich | |
:reset_values() for options supporting :value() | |||
2010-10-14 | libs/web: fix various issues in cbi option error handling, call validator ↵ | Jo-Philipp Wich | |
for missing options to obtain error message | |||
2010-10-12 | libs/web: rework cbi field validation, let validators return custom error ↵ | Jo-Philipp Wich | |
messages, properly handle errors in multiple sections | |||
2010-10-12 | libs: merge libs/cbi into libs/web | Jo-Philipp Wich | |