Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | luci2: initialize package pointers to NULLHEADmaster | Rafał Miłecki | 2019-07-16 | 1 | -2/+2 |
| | | | | | | | uci_load() does not guarantee setting passed pointer to NULL on error. It could result in using uninitialized pointed & crash. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> | ||||
* | luci2: add missing depends to OpenWrt Makefile | Jo-Philipp Wich | 2015-02-14 | 1 | -1/+1 |
| | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2: add 'eap_support' ubus method | Jo-Philipp Wich | 2015-02-14 | 1 | -1/+14 |
| | | | | | | | This method is used to query whether hostapd and wpa_supplicent support 802.1x authnetication. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2: add CSS for grid views + mobile improvements | Jo-Philipp Wich | 2015-02-13 | 1 | -2/+120 |
| | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2: convert status overview to grid and hlist widgets | Jo-Philipp Wich | 2015-02-13 | 1 | -95/+104 |
| | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2: convert route config to GridSection | Jo-Philipp Wich | 2015-02-13 | 1 | -7/+12 |
| | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2.wireless: support condensed output in formatEncryption() | Jo-Philipp Wich | 2015-02-13 | 1 | -3/+9 |
| | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2.wireless: fix WDS interface status in getWirelessStatus() | Jo-Philipp Wich | 2015-02-13 | 1 | -1/+13 |
| | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2.wireless: add getPhyName() rpc call | Jo-Philipp Wich | 2015-02-13 | 2 | -1/+9 |
| | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2.cbi: add GridSection | Jo-Philipp Wich | 2015-02-13 | 1 | -0/+129 |
| | | | | | | | | | The GridSection widget is equivalent to the TableSection one but using the bootstrap column layout for rendering. The table-like view also degrades to a list-style view on tiny viewports, making it useful to present tabular configuration (e.g. routes) to mobile clients. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2.ui: add grid and hlist widgets | Jo-Philipp Wich | 2015-02-13 | 1 | -0/+235 |
| | | | | | | | | | | luci2.ui.grid is a table-like structure composed of bootstrap columns suitable for mobile viewports. luci2.ui.hlist is a pipe separated value list which only allows wrapping outside of the value pairs. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2.ui: add icon() helper function | Jo-Philipp Wich | 2015-02-13 | 1 | -0/+20 |
| | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2.ui: hide mobile dropdown menu when changing views | Jo-Philipp Wich | 2015-02-13 | 1 | -0/+1 |
| | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2.uci: don't allow set() with empty string values | Jo-Philipp Wich | 2015-02-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2: don't mark rpc_plugin symbols constant | Jo-Philipp Wich | 2015-01-25 | 2 | -2/+2 |
| | | | | | | | | The rpcd daemon modifies the list_head member of the rpc_plugin struct, therfore we cannot mark it const, otherwise we're hitting an access violation if rpcd is built with relro support. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2: refresh views after modular rework | Jo-Philipp Wich | 2015-01-07 | 4 | -13/+13 |
| | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2.ui: properly hide alert message in initial state | Jo-Philipp Wich | 2015-01-07 | 1 | -2/+2 |
| | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2: fix protocol modules after modular rework | Jo-Philipp Wich | 2015-01-07 | 8 | -19/+20 |
| | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2: split into submodules | Jo-Philipp Wich | 2015-01-05 | 11 | -7028/+7067 |
| | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2: implement Class.require() and Class.instantiate() | Jo-Philipp Wich | 2015-01-05 | 1 | -0/+49 |
| | | | | | | The two functions allow dynamic loading of additional components. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2: polyfill window.location.origin | Jo-Philipp Wich | 2015-01-05 | 1 | -0/+7 |
| | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | io: fix invalid memory access in upload mode | Jo-Philipp Wich | 2014-12-19 | 1 | -1/+1 |
| | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2: early wireless configuration | Rafał Miłecki | 2014-07-06 | 3 | -0/+96 |
| | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> | ||||
* | io: fix printf() without constant format | Jo-Philipp Wich | 2014-07-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2: UCIContext: add: respect "name" if passed | Rafał Miłecki | 2014-06-30 | 1 | -1/+1 |
| | | | | | | | This allows creating UCI entries with a desired name, e.g. config interface 'guestlan' Signed-off-by: Rafał Miłecki <zajec5@gmail.com> | ||||
* | luci2: fix undefined ifname exception when processing wireless status with ↵ | Jo-Philipp Wich | 2014-06-13 | 1 | -1/+1 |
| | | | | | | disabled vifs Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2: nested section support and initial code refactoring | Jo-Philipp Wich | 2014-05-30 | 6 | -705/+766 |
| | | | | | | | Implement support for nested CBI sections and change the internal function naming in luci2.js for better clarity. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | ||||
* | luci2-p910nd: LuCI2 module for p910nd maganement | Rafał Miłecki | 2014-04-27 | 5 | -0/+124 |
| | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> | ||||
* | luci2: whitespace fix | Jo-Philipp Wich | 2014-04-13 | 1 | -1/+0 |
| | |||||
* | luci2: make sort / remove column in L.cbi.TableSection as narrow as possible | Jo-Philipp Wich | 2014-04-13 | 1 | -0/+1 |
| | |||||
* | support custom event handlers for L.cbi.DeviceList widget | Jo-Philipp Wich | 2014-04-13 | 1 | -2/+2 |
| | |||||
* | luci2: support placeholder attribute for L.cbi.DummyValue widgets | Jo-Philipp Wich | 2014-04-13 | 1 | -1/+1 |
| | |||||
* | luci2: support custom section ordering in L.cbi.TypedSection and ↵ | Jo-Philipp Wich | 2014-04-13 | 1 | -0/+7 |
| | | | | L.cbi.TableSection | ||||
* | luci2: support object comparisations in L.cbi.AbstractValue.changed() | Jo-Philipp Wich | 2014-04-13 | 1 | -1/+13 |
| | |||||
* | luci2: rework datatype validators to use new global parseIPv4(), parseIPv6() ↵ | Jo-Philipp Wich | 2014-04-13 | 1 | -56/+58 |
| | | | | and isNetmask() helpers | ||||
* | luci2: add L.NetworkModel.Interface.renderBadge() and use it in ↵ | Jo-Philipp Wich | 2014-04-13 | 1 | -17/+27 |
| | | | | L.cbi.NetworkList widget | ||||
* | luci2: add get_first(), set_first() and unset_first() helper to L.UCIContext | Jo-Philipp Wich | 2014-04-13 | 1 | -0/+29 |
| | |||||
* | luci2: add L.toColor(), L.parseIPv4(), L.parseIPv6() and L.isNetmask() helper | Jo-Philipp Wich | 2014-04-13 | 1 | -0/+146 |
| | |||||
* | luci2: revert uci changes when closing cbi.Model dialog | Jo-Philipp Wich | 2014-04-13 | 1 | -2/+9 |
| | |||||
* | luci2: fix save functionality on Map() objects after 1df7615 | Jo-Philipp Wich | 2014-04-13 | 1 | -1/+3 |
| | |||||
* | luci2: always load 'none' protocol explicitely since it serves as fallback ↵ | Jo-Philipp Wich | 2014-04-13 | 1 | -1/+3 |
| | | | | for unknown protos | ||||
* | luci2: generalize LuCI2.cbi event handling, rework handling of created ↵ | Jo-Philipp Wich | 2014-02-06 | 1 | -59/+205 |
| | | | | sections in LuCI2.UCIContext | ||||
* | luci2: add menu constraints | Jo-Philipp Wich | 2014-02-02 | 2 | -0/+4 |
| | |||||
* | rpcd: support "files" attribute in menu json files to make menu entries ↵ | Jo-Philipp Wich | 2014-02-02 | 1 | -3/+30 |
| | | | | depend on the existance of a specific file | ||||
* | luci2: add network protocol support extensions | Jo-Philipp Wich | 2014-02-01 | 8 | -0/+471 |
| | |||||
* | luci2: rename internal '_luci2' instance reference to 'L' in order to align ↵ | Jo-Philipp Wich | 2014-02-01 | 1 | -415/+415 |
| | | | | the code style with views | ||||
* | luci2: move most RPC proxy function declarations into the views using them ↵ | Jo-Philipp Wich | 2014-02-01 | 18 | -1619/+1725 |
| | | | | to reduce the size of the core luci2.js library | ||||
* | luci2: Initial network interface configuration view | Jo-Philipp Wich | 2014-02-01 | 4 | -3/+404 |
| | |||||
* | luci2: update CSS | Jo-Philipp Wich | 2014-02-01 | 1 | -44/+94 |
| | |||||
* | luci2: Hide empty tabs when rendering cbi maps | Jo-Philipp Wich | 2014-02-01 | 1 | -0/+3 |
| |