summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-openvpn
AgeCommit message (Collapse)Author
2018-11-27luci-app-openvpn: predefining the dropdown for the cipher optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-27luci-app-openvpn: add missing ncp_disable optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-27luci-app-openvpn: add missing allow_recursive_routing optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-26luci-app-openvpn: "final" changesetDirk Brenken
* add 'auth-user-pass' edit section in file mode (see screenshot) * add port & protocol detection in file mode (see screenshot) * don't mix file & normal edit modes any longer * add CC compatibility fix (for turris devices) * fix/refine JS instance name filter * remove needless CSS rules * unlink ovpn/auth files on section removal * commit changes instantly (Add/Upload/Delete) Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-22luci-app-openvpn: do not show all boolean option by defaultFlorian Eckert
If a new instance is edit then all boolean option are shown on the LuCI. This is confusing. To fix this hide all boolean ellements on the config page which are not enabled by default. They must be add first. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-22luci-app-openvpn: On apply/save redirect to OpenVPN overview pageFlorian Eckert
This change will redirect on apply/save to the OpenVPN overview page. This is the default behaviour on LuCI. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-22luci-app-openvpn: sync code style with openvpn-advancedFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-22luci-app-openvpn: fix whitespaces in openvpn-basicFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
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-11-07i18n: sync translations, add location annotatationsHannu Nyman
Thanks to a recent commit, the translation files will now have info about locations where the string is used. That can help is deciding the correct translation, as all contexts are more easily found. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-04i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-10-23luci-app-openvpn: file name fixDirk Brenken
* fix shellquote oversight of the last commit 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-20i18n: update pt-br translationLuiz Angelo Daros de Luca
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2018-09-19i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
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-08-11luci-app: update Chinese translationyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-05-25Merge pull request #1481 from TDT-AG/luci-app-openvpn-fixesJo-Philipp Wich
luci-app-openvpn: several fixes
2018-05-07luci-app-openvpn: add license tagFlorian Eckert
Add missing license tag. File headers of the application indicate so Signed-off-by: Florian Eckert <fe@dev.tdt.de> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
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>
2018-02-07i18n-ru: fixed russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-29i18n-ru: fixed and updated russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2017-11-11luci-app-openvpn: update Italian translationartioni81
Signed-off-by: Artion Karreci <artionkarreci@gmail.com>
2017-11-10Update openvpn.poartioni81
2017-10-29i18n: Update Chinese translationyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2017-10-17i18n: synchronize and fix translation filesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-10[luci-app-openvpn] Added support for tls-crypt option.Vladimir Ulrich
Closes #1340 Signed-off-by: Vladimir Ulrich <admin@evl.su>
2017-09-02luci-app-openvpn: Updated Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-05-04luci-app-openvpn: fix proto param selection in basicFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-04-25[luci-app-openvpn] Fixed ivalid checks for parameters in VPN tab.Vladimir Ulrich
closes #887 Signed-off-by: Vladimir Ulrich <admin@evl.su>
2017-04-18luci-app: Improve zh-CN translationsliushuyu
2017-04-12luci-app-openvpn: Fix default value for remote_random flagMartin Schiller
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2017-03-14luci-app-openvpn: fix prettify refactoringFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-03-09luci-app-openvpn: prettify openvpn-advanced parameter setFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-02-22i18n: complete pt-br translationLuiz Angelo Daros de Luca
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
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-12-20i18n: sync translationsHannu Nyman
Sync translations. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-12-17Merge pull request #437 from fkooman/issue-436Jo-Philipp Wich
introduce tls_version_min and tls_version_max, add key_direction and …
2015-12-06i18n: sync translationsHannu Nyman
Sync translations. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-12-03Merge pull request #559 from Arnie97/add-openvpn-protoJo-Philipp Wich
luci-app-openvpn: Add udp6 and tcp6 to proto
2015-12-03luci-app-openvpn: Add udp6 and tcp6 to protoArnie97
Signed-off-by: Yifeng Zhang <arnie97@gmail.com>
2015-11-30luci-app-openvpn: add route_nopull (#560)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-07Globally replace luci.dispatcher.build_url(...) with url(...) invocationsJo-Philipp Wich
Also concat multiple string arguments into one while we're at it. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>