summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc
AgeCommit message (Collapse)Author
2012-07-24libs/web: support creating networks in checkbox network widget (#457)Jo-Philipp Wich
2012-06-26libs/web: extend network_ifacelist widget to display all networks an iface ↵Jo-Philipp Wich
is member of
2012-06-25libs/web: implement minlength(), maxlength() and rangelength() datatypesJo-Philipp Wich
2012-04-16Fix JSON NaNJo-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-15libs/web: fix html output for complex datatypes containing apostrophesJo-Philipp Wich
2012-04-13libs/datatypes: Fix typoManuel Munz
2012-02-15libs/web: fix delete action in tblsections, fix extedit buttonsJo-Philipp Wich
2012-02-15libs/web: remove inline styles from firewall_zoneforwards and ↵Jo-Philipp Wich
firewall_zonelist widgets
2012-02-15libs/web: remove inline styles from network_netinfo widgetJo-Philipp Wich
2012-02-15libs/web: remove inline styles for interface badgesJo-Philipp Wich
2012-02-15libs/web: remove more inline styles from tblsection template, fixes action ↵Jo-Philipp Wich
buttons in bootstrap theme
2012-02-15libs/web: use new button classes for tblsection templateJo-Philipp Wich
2012-02-15libs/web: fix firewall_zoneforwards template for bootstrap themeJo-Philipp Wich
2012-02-14libs/web: implement new phone digit datatype, useful for VoIP related config ↵Jo-Philipp Wich
screens
2012-02-14libs/web: use CSS class for sort buttons, drop inline styleJo-Philipp Wich
2012-02-14libs/web: fix invalid html after r8224 - the whitespace trimming removed the ↵Jo-Philipp Wich
space between the attributes
2012-02-13libs/web: fix line wrapping errorPatrick Grimm
2012-02-12libs/web: replace <a href> by <input type=button> for better css style in tablesPatrick Grimm
2012-01-08libs/web: remove debugging codeJo-Philipp Wich
2012-01-08libs/web: allow zero-length string literals when parsing datatypesJo-Philipp Wich
2012-01-08libs/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-07libs/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 #208Jo-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-20libs/web: show input/forward hints in zonelist widget only if bnoth allowany ↵Jo-Philipp Wich
and allowlocal are enabled
2011-12-20libs/web: prevent break between action buttons in tblsection templateJo-Philipp Wich
2011-12-19libs/web: add "any" option to firewall_zonelist widgetJo-Philipp Wich
2011-12-19libs/web: rework DynamicList widget to support dynamic lists composed of ↵Jo-Philipp Wich
comboboxes
2011-12-16libs/web: rework hostname match to not allow arbritary sequences of numbers ↵Jo-Philipp Wich
and dots
2011-12-16libs/web: add list(...) datatype for space separated lists of arbritary ↵Jo-Philipp Wich
datatypes
2011-12-16libs/web: add missing parts of previous commitJo-Philipp Wich
2011-12-14libs/web: allow one-character hostnamesJo-Philipp Wich
2011-11-30libs/web: add assert() statements for unresolvable function caseJo-Philipp Wich
2011-10-30libs/web: dispatcher: fix access to template properties in attr() and ↵Jo-Philipp Wich
ifattr() helpers (#10317)
2011-10-26libs/web: fix possible dispatcher crashJo-Philipp Wich
2011-10-26libs/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-26libs/web: dispatcher add node_childs() and node_visible() helper functions ↵Jo-Philipp Wich
for templates
2011-10-25libs/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-23libs/web: cbi: support description attribute in nullsection instancesJo-Philipp Wich
2011-10-21libs/web: fix package name in error suggestionJo-Philipp Wich
2011-10-11libs/web: handle .redirect property for SimpleForm widgetsJo-Philipp Wich
2011-10-10libs/web: add network_netlist widget option to filter virtual networksJo-Philipp Wich
2011-10-09libs/web: sent origin section id encoded in cbi.cts. requestsJo-Philipp Wich
2011-10-09libs/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-09libs/web: add error message printing to nullsection template, fixes server ↵Jo-Philipp Wich
side validation in SimpleForm instances
2011-09-30libs/web: assign extra css class to typed or named sections with tabsJo-Philipp Wich
2011-09-25libs/web: network widget fixesJo-Philipp Wich
2011-09-24libs/web: align interface related widgets to changed network model apiJo-Philipp Wich
2011-09-22libs/web: add missing class attributesJo-Philipp Wich
2011-09-22libs/web: cbi: assign dedicated css class to last childJo-Philipp Wich
2011-09-22libs/web: cbi: provide a "last_child" property to allow for more layout ↵Jo-Philipp Wich
control in form rendering