Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
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 | [PATCH] Abstract address UNIX sockets not binding properly (by ↵ | Jo-Philipp Wich | |
capnbry@gmail.com, #366) In #274, I stated abstract namespace and autobound abstract namespace datagram UNIX domain sockets work perfectly with nixio. However, I may have jumped the gun on that conclusion. Turns out they work perfectly for only one concurrent connection. The problem is that when binding to an abstract address socket, which begins with a NULL byte, nixio strncpy's the name into the sockaddr_un structure, which effectively copies nothing. It then binds to an address of 180 NULLs, which is completely legal, but obviously you run into problems when a second client tries to bind to the same address. The rules are as follows ( http://linux.die.net/man/7/unix) for the names: * If the name is blank, bind() should pass that the addrlen of sizeof(sa_family_t) and Linux will autobind a name that begins with null and is followed by 5 digits. * If the first character of the name is non-null, the name is a pathname and is null-terminated. addrlen should be sizeof(sockaddr_un), but the length can also be the pathname len + sizeof(sa_family_t) as the value will be null-terminated by the kernel unix socket driver * If the first character is null, the address is abstract and the value should not be null-terminated and addrlen is pathname + sizeof(sa_family_t) The attached patch fixes bind/connect/sendto by shortening the addrlen passed to be pathname len + sizeof(sa_family_t), which generates the correct socket names for all 3 cases above. It also fixes the address returned by recvfrom, which currently returns a blank string for any abstract address socket (as they begin with a null). | |||
2011-12-16 | libs/web: add missing parts of previous commit | Jo-Philipp Wich | |
2011-12-16 | libs/web: implement "network" cbi datatype | Jo-Philipp Wich | |
2011-12-14 | libs/web: allow one-character hostnames | Jo-Philipp Wich | |
2011-12-05 | libs/core: fix undefined tostring() in network model | Jo-Philipp Wich | |
2011-12-05 | libs/core: expose txpower offset values in network model | Jo-Philipp Wich | |
2011-12-05 | From c63e369d57cb6862a8890c7b2ee1b6b449b2c42d Mon Sep 17 00:00:00 2001 | Jo-Philipp Wich | |
From: Gabor Juhos <juhosg@openwrt.org> Date: Mon, 5 Dec 2011 14:36:34 +0100 Subject: [PATCH] libs/sys: read model name from /tmp/sysinfo/model if present Signed-off-by: Gabor Juhos <juhosg@openwrt.org> | |||
2011-11-30 | libs/web: add assert() statements for unresolvable function case | Jo-Philipp Wich | |
2011-11-20 | libs/nixio: link with libcrypto when using OpenSSL as digest backend | Jo-Philipp Wich | |
2011-11-12 | libs/core: fix removal of wifi networks without interface attached (OpenWrt ↵ | Jo-Philipp Wich | |
#10400) | |||
2011-11-10 | libs/sys: update zoneinfo data to version 2011n (#345) | Jo-Philipp Wich | |
2011-10-30 | libs/web: dispatcher: fix access to template properties in attr() and ↵ | Jo-Philipp Wich | |
ifattr() helpers (#10317) | |||
2011-10-28 | libs/core: fix status reporting of standalone wifi iface in network model | Jo-Philipp Wich | |
2011-10-26 | libs/sys: recent busybox versions changed top output from %MEM to %VSZ, fix ↵ | Jo-Philipp Wich | |
luci.sys.process.list() accordingly | |||
2011-10-26 | libs/web: fix possible dispatcher crash | Jo-Philipp Wich | |
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-26 | libs/web: dispatcher add node_childs() and node_visible() helper functions ↵ | Jo-Philipp Wich | |
for templates | |||
2011-10-25 | libs/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-24 | libs/nixio: remove forgotten stamp file | Jo-Philipp Wich | |
2011-10-23 | libs/web: cbi: support description attribute in nullsection instances | Jo-Philipp Wich | |
2011-10-21 | libs/web: fix package name in error suggestion | Jo-Philipp Wich | |
2011-10-15 | libs/ipkg: give caller more control over filter pattern | Jo-Philipp Wich | |
2011-10-14 | libs/ipkg: don't --autoremove; its dangeros. Attempting to uninstall ↵ | Jo-Philipp Wich | |
kmod-ipt-nat with it will remove half of luci too, additionally opkg segfaults and corrupts the status database | |||
2011-10-11 | move protocol support into a new protocols/ subdir | Jo-Philipp Wich | |
2011-10-11 | libs/web: handle .redirect property for SimpleForm widgets | Jo-Philipp Wich | |
2011-10-11 | libs/core: more fixes for network model | Jo-Philipp Wich | |
2011-10-10 | libs/core: mark relay protocol as floating | Jo-Philipp Wich | |
2011-10-10 | libs/web: add network_netlist widget option to filter virtual networks | Jo-Philipp Wich | |
2011-10-09 | libs/core: remove uneeded error import | Jo-Philipp Wich | |
2011-10-09 | libs/core: add more heuristics to infer device name from switch name | Jo-Philipp Wich | |
2011-10-09 | libs/core: add luci.model.network.get_protocol(protoname[, networkname]) | Jo-Philipp Wich | |
2011-10-09 | libs/web: sent origin section id encoded in cbi.cts. requests | Jo-Philipp Wich | |
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-10-09 | libs/core: fix bug in contains_interface() implementation of PPPoE protocol | Jo-Philipp Wich | |
2011-10-09 | libs/web: add error message printing to nullsection template, fixes server ↵ | Jo-Philipp Wich | |
side validation in SimpleForm instances | |||
2011-10-04 | libs/core: rework class structure of network model, add per protocol ↵ | Jo-Philipp Wich | |
is_installed() and opkg_package() utility functions to query availability | |||
2011-10-03 | libs/core: clean up network model, make it modular and move protocol ↵ | Jo-Philipp Wich | |
deviations into submodules, fix recognition of pptp and properly implement relayd protocol awareness | |||
2011-09-30 | libs/web: assign extra css class to typed or named sections with tabs | Jo-Philipp Wich | |