summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-travelmate/luasrc
AgeCommit message (Collapse)Author
2018-10-21luci-app-travelmate: fix wireless scanDirk Brenken
* fix possible crash during wireless scan when no valid WPA label was found Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-10-05luci-app-travelmate: sync with update 1.2.4Dirk Brenken
* with the config option 'trm_radio' you can now restrict travelmate to a single radio (e.g. 'radio1') or change the overall scanning order (e.g. 'radio1 radio2 radio0') * LuCI: show QR codes now inline on the overview page (collapsed by default) Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-31luci-app-travelmate: "final" fixesDirk Brenken
during intense testing with different browsers (Chrome/Firefox/partly IE in a VM) I found & fixed some more minor things: * re-add accidently removed "apply_on_parse" attribute in overview cbi * fixed a corner case where the "Restart" button not works correctly * Removed leftovers from last commit Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-29luci-app-travelmate: remove needless backup fileDirk Brenken
* remove needless development file from last commit Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-28luci-app-travelmate: sync with travelmate 1.2.1Dirk Brenken
* Runtime Information, Logview and Station Overview are now dynamically updated via XHR poll * New runtime information for "Faulty Stations" (Travelmate backend will no longer rename faulty uplinks) * Add a new "Restart" button to reset "Faulty Stations" information and trigger a Travelmate restart * In Stations overview the currently used uplink is emphasized in blue, faulty uplinks in red * Numerous cleanups (e.g. space=>tab indentation) and other small fixes Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-09treewide: always include cbi.jsJo-Philipp Wich
Include cbi.js in the main header template like it is done for xhr.js and remove the page specific includes. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23luci-app-travelmate: consolidate markupJo-Philipp Wich
Rework the various application view templates to properly render with the latest responsive design changes. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-28treewide: convert HTML tables to divJo-Philipp Wich
Mostly convert HTML tables to div based markup to allow for easier styling in the future. Also change JS accessor code accordingly. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-23luci-app-travelmate: fix url ampersand encodingDirk Brenken
* fix ampersand encoding in wireless stations overview Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-11luci-app-travelmate: fix Interface WizardDirk Brenken
* make sure to update the nw & fw entries only once Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-09luci-app-travelmate: support new workflow & re-ordering fixDirk Brenken
* Remove SimpleForm stuff from Interface Wizard * adapt Travelmate to support new cbi apply workflow * fix station re-odering * tested successfully with old & new workflow Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-04-06luci-app-travelmate: bring back cbi element to wifi_add.luaDirk Brenken
* b00b676 fixed the cbi initialization for SimpleForm, therefore bring back "Ignore BSSID" flag with dependent input field Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-04-05luci-app-travelmate: bugfixesDirk Brenken
* use the form() action to invoke the SimpleForm models * fix 'wifi_add' input form Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-04-04luci-app-travelmate: sync with travelmate 1.2.0Dirk Brenken
* remove needless 'automatic' and 'trigger' options plus small fixes Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-28luci-app-travelmate: made "ignore bssid" flag conditionalDirk Brenken
* made the "ignore bssid" flag conditional to ease connection to hidden networks: * default for hidden networks "disabled" * default for all others "enabled" Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-17luci-app-travelmate: final frontend changes for 18.xDirk Brenken
* made qrencode support optional (remove hardcoded dependency) * add a conditional QR Code button on overview page, remove separate "QR Codes" tab * move trigger timeout setting to extra section Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-15luci-app-travelmate: fix function callsDirk Brenken
* fix function calls that have an implicit extra parameter self, pre-requisite for PR #1681 Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-08luci-app-travelmate: remove qrencode short optionsDirk Brenken
* forthcoming qrencode version will remove the short option "-I" for inline, to get prepared switch to normal qrencode command line parameters. Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-04luci-app-travelmate: fixes for new QR code templateDirk Brenken
* remove unofficial 'WPA2' enc. token for better compatibility with certain QR code reader, still 'WPA', 'WEP' and 'nopass' are supported * add WEP key slot support (not really needed, but it's still supported by LuCI wireless) * correct escape single quotes and other special chars in SSID & passwords * code cleanup Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-02luci-app-travelmate: sync with release 1.1.3Dirk Brenken
* show WiFi QR codes from all configured Access Points Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-02-27luci-app-travelmate: sync with release 1.1.2Dirk Brenken
* refine timings & valid input ranges Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-02-20Merge pull request #1633 from dibdot/travelmatedibdot
luci-app-travelmate: sync with release 1.1.0
2018-02-19luci-app-travelmate: sync with release 1.1.0Dirk Brenken
* add an option for the captive portal detection * support the new signal quality treshold (default 30) * small fixes Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-01-29luci-app-travelmate fixedVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-10luci-app-travelmate: sync with travelmate 1.0.2Dirk Brenken
* refine status view * add two missing eap auth variants * small visual fixes Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-01-03luci-app-travelmate: sync with 1.0.1Dirk Brenken
* LuCI: BSSID will be ignored by default in 'wireless add' dialog * LuCI: Textarea 'autoscroll down' in logfile view * LuCI: refine logfile search term Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-12-15luci-app-travelmate: sync with travelmate 1.0.0Dirk Brenken
* Various cleanups & small enhancements Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-12-13luci-app-travelmate: enhance wireless security connection settingsDirk Brenken
* fix wpa enterprise options * add various wpa / wep options Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-12-09luci-app-travelmate: sync with travelmate 0.9.6Dirk Brenken
* Turris omnia compability fixes * OpenWrt theme fixes Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-12-06luci-app-travelmate: sync with travelmate 0.9.5Dirk Brenken
* add support for hidden uplinks * add support for wpa enterprise uplinks * various small fixes Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-11-19luci-app-travelmate: Chaos Calmer bugfixesDirk Brenken
* fixes for Chaos Calmer compatibility Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-08-21luci-app-travelmate: sync with 0.9.3Dirk Brenken
* supports a Connection Limit of '0', to disable this feature (unlimited retries) Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-08-12luci-app-travelmate: sync with 0.9.2Dirk Brenken
* frontend: add/modify input datatypes in 'extra' section * frontend: add support to edit/change wpa enterprise key phrases * frontend: various small fixes Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-08-05luci-app-travelmate: bugfixDirk Brenken
* fix bug in interface wizard during initial setup * cosmetics Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-08-03luci-app-travelmate: small bugfixes & optimizationsDirk Brenken
* various small bugfixes and optimizations Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-07-31luci-app-travelmate: rework wireless station re-orderingDirk Brenken
* rework wireless station re-ordering code, now complete uci index based, therefore no longer tied to a definite order of wifi-iface sections Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-07-31luci-app-travelmate: bugfixesDirk Brenken
* fix interface default value on overview page * fix re-ordering of wireless stations * added translation fix by INAGAKI Hiroshi <musashino.open@gmail.com> Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-07-29luci-app-travelmate: enhancements & fixesDirk Brenken
* Further optimized Station Overview & Scan page, especially for mobile devices * add a "Rescan" button in manual mode on overview page * XHTML fixes Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-07-25luci-app-travelmate: enhancements & fixesDirk Brenken
* add re-ordering buttons in Station Overview * fix possible nil error during wifi scan Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-07-24luci-app-travelmate: small bugfixesDirk Brenken
* speed up wireless scan * emphasize active uplink in Station Overview * mark hidden SSIDs Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-07-20luci-app-travelmate: sync with travelmate 0.9.0Dirk Brenken
* add a wireless station manager to edit and delete existing interfaces or scan for new uplinks Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-05-10luci-app-travelmate: sync with travelmate 0.7.3Dirk Brenken
* Automatically refresh the overview page after button onclick event, e.g. 'Save & Apply' Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-05-07luci-app-travelmate: sync with travelmate 0.7.2Dirk Brenken
* simplify uplink interface setup (just one Click! ;-), now part of the overview tab (removed separate setup page!) * cosmetics Signed-off-by: Dirk Brenken <dev@brenken.org> Conflict resolved by Hannu Nyman
2017-04-22luci-app-travelmate: Fix detection issues of i18n toolsINAGAKI Hiroshi
Fixed detection issues of i18n tools for translation target. 'translate()' -> 'translatef()' And fixed the format within that function. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-04-21travelmate: major frontend updateDirk Brenken
* all options are full configurable via frontend * show current runtime information * show current travelmate logfile information * automatic wwan network interface setup (advanced section) * direct access to all relevant configuration files (advanced section) Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-01-12luci-app-travelmate: update gui elementsDirk Brenken
* update gui elements to reflect changes in travelmate 0.3.x Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-10-30luci-app-travelmate: user interface for Travelmate packageHannu Nyman
Create user interface for Travelmate, a new package that helps in creating travel router functionality. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>