summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua
AgeCommit message (Collapse)Author
2018-11-21luci-app-openvpn: more changes & fixesDirk Brenken
* fix possible exception in template based ovpn creation * remove needless shellquote function in controller, the filename will be checked on client side with JS * enhance FileUpload behaviour in basic/advanced mode: - change "auth_user_pass" to FileUpload - cfg entries (even with default values) will be shown - existing entries are now removable (incl. file unlink), simply clear the appropriate textbox * change "key_direction" option to boolean ListValue * add "config" option to basic/advanced edit, to make it possible to change the upload path in LuCI Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-10-23luci-app-openvpn: add ovpn upload support & moreDirk Brenken
* add the ability to upload ovpn files directly, incl. appropriate uci entry in openvpn config * add the ability to edit ovpn files directly ('file' mode), beside the 'basic' and 'advanced' modes for normal setups * client side checks to validate instance name & template selection, incl. online error reporting * automatically remove non-ascii characters & windows line endings from transfered ovpn file * change from after_commit to after_apply hook * remove misleading default values for Port & Protocol in Overview Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-09-17luci-app-openvpn: remove obsolete config optionsDirk Brenken
* remove obsolete config options according to openwrt/openwrt@89b8ba9, fix for #2135 * whitespace/intendation fixes * replace fieldset leftover with div * fix finally recipe options transfer to regular config with "Add" Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-09-14luci-app-openvpn: fix template based config creationDirk Brenken
* minimal fix to bring back openvpn config creation based on openvpn_recipes template, fix for #2146 Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-25Merge pull request #1481 from TDT-AG/luci-app-openvpn-fixesJo-Philipp Wich
luci-app-openvpn: several fixes
2018-04-13luci-app-openvpn: properly parse low PIDsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-06luci-app-openvpn: quote grep expression in getPID()Jo-Philipp Wich
Fixes c0d9c4f3c ("treewide: filter shell arguments through shellquote() where applicable") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-05treewide: filter shell arguments through shellquote() where applicableJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-02-15luci-app-openvpn: run '/etc/init.d/openvpn reload' after commitMartin Schiller
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2018-02-15luci-app-openvpn: fix validity check for new instance input fieldMartin Schiller
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2018-02-15luci-app-openvpn: use initscript to stop instancesMartin Schiller
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2016-06-28luci-app-openvpn: various fixes and optimizationsVladimir Ulrich
Closes #628 as suggestion was implemented and tested. Added PID handling function (Fixes https://dev.openwrt.org/ticket/21506). Signed-off-by: Vladimir Ulrich <admin@evl.su>
2016-03-25[luci-app-openvpn] Optimized code and added suggested fix from #650Vladimir Ulrich
Signed-off-by: Vladimir Ulrich <admin@evl.su>
2015-01-16Globally reduce copyright headersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08Rework LuCI build systemJo-Philipp Wich
* Rename subdirectories to their repective OpenWrt package names * Make each LuCI module its own standalone package * Deploy a shared luci.mk which is used by each module Makefile Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>