Commit graph

45 commits

Author SHA1 Message Date
Dirk Brenken
af25cf4879 luci-app-travelmate: "final" fixes
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-31 09:36:27 +02:00
Dirk Brenken
16d58c2503 luci-app-travelmate: remove needless backup file
* remove needless development file from last commit

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-29 21:50:28 +02:00
Dirk Brenken
11cd64e08e luci-app-travelmate: sync with travelmate 1.2.1
* 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-28 19:02:35 +02:00
Jo-Philipp Wich
c0de036b31 treewide: always include cbi.js
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-07-09 11:51:43 +02:00
Jo-Philipp Wich
db4139b149 luci-app-travelmate: consolidate markup
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-06-23 18:01:43 +02:00
Jo-Philipp Wich
067d7dc9f7 treewide: convert HTML tables to div
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-28 15:18:45 +02:00
Dirk Brenken
85342e2c03
luci-app-travelmate: fix url ampersand encoding
* fix ampersand encoding in wireless stations overview

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-23 23:48:47 +02:00
Dirk Brenken
6e4d992710 luci-app-travelmate: fix Interface Wizard
* make sure to update the nw & fw entries only once

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-11 11:00:16 +02:00
Dirk Brenken
e7edcb4057 luci-app-travelmate: support new workflow & re-ordering fix
* 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-05-09 13:13:33 +02:00
Dirk Brenken
7c7b6f4ba9 luci-app-travelmate: bring back cbi element to wifi_add.lua
* 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-06 18:34:41 +02:00
Dirk Brenken
421dd407f0 luci-app-travelmate: bugfixes
* use the form() action to invoke the SimpleForm models
* fix 'wifi_add' input form

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-04-05 22:39:46 +02:00
Dirk Brenken
ee46a6c712 luci-app-travelmate: sync with travelmate 1.2.0
* remove needless 'automatic' and 'trigger' options plus small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-04-04 14:19:23 +02:00
Dirk Brenken
189fe1e389 luci-app-travelmate: made "ignore bssid" flag conditional
* 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-28 09:22:19 +02:00
Dirk Brenken
ca6f0a6c89 luci-app-travelmate: final frontend changes for 18.x
* 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-17 19:04:51 +01:00
Dirk Brenken
06ba63ad59 luci-app-travelmate: fix function calls
* 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-15 15:38:17 +01:00
Dirk Brenken
ff7bdab68a luci-app-travelmate: remove qrencode short options
* 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-08 10:13:15 +01:00
Dirk Brenken
898b8a9904 luci-app-travelmate: fixes for new QR code template
* 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-04 19:59:53 +01:00
Dirk Brenken
8a199c3e1e luci-app-travelmate: sync with release 1.1.3
* show WiFi QR codes from all configured Access Points

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-02 18:06:38 +01:00
Dirk Brenken
391a7bfc01 luci-app-travelmate: sync with release 1.1.2
* refine timings & valid input ranges

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-02-27 14:04:58 +01:00
dibdot
09ea6dbd33
Merge pull request #1633 from dibdot/travelmate
luci-app-travelmate: sync with release 1.1.0
2018-02-20 08:55:24 +01:00
Dirk Brenken
6ffb7056fe luci-app-travelmate: sync with release 1.1.0
* 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-02-19 21:52:21 +01:00
Vladimir
f11b0c0000 luci-app-travelmate fixed
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-29 20:39:29 +03:00
Dirk Brenken
2b200cfa79 luci-app-travelmate: sync with travelmate 1.0.2
* refine status view
* add two missing eap auth variants
* small visual fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-01-10 19:48:01 +01:00
Dirk Brenken
a4e05483b1 luci-app-travelmate: sync with 1.0.1
* 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>
2018-01-03 09:19:46 +01:00
Dirk Brenken
8f5604ee9e luci-app-travelmate: sync with travelmate 1.0.0
* Various cleanups & small enhancements

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-12-15 19:17:07 +01:00
Dirk Brenken
c67066ebbf luci-app-travelmate: enhance wireless security connection settings
* fix wpa enterprise options
* add various wpa / wep options

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-12-13 20:26:02 +01:00
Dirk Brenken
c7b39ae08f luci-app-travelmate: sync with travelmate 0.9.6
* Turris omnia compability fixes
* OpenWrt theme fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-12-09 08:23:31 +01:00
Dirk Brenken
2474cdd049 luci-app-travelmate: sync with travelmate 0.9.5
* add support for hidden uplinks
* add support for wpa enterprise uplinks
* various small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-12-06 17:05:40 +01:00
Dirk Brenken
49cfa04e6c luci-app-travelmate: Chaos Calmer bugfixes
* fixes for Chaos Calmer compatibility

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-11-19 20:04:46 +01:00
Dirk Brenken
0d5ad76239 luci-app-travelmate: sync with 0.9.3
* supports a Connection Limit of '0',
to disable this feature (unlimited retries)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-08-21 15:51:26 +02:00
Dirk Brenken
3317104647 luci-app-travelmate: sync with 0.9.2
* 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-12 08:03:48 +02:00
Dirk Brenken
4e80499a02 luci-app-travelmate: bugfix
* fix bug in interface wizard during initial setup
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-08-05 21:49:28 +02:00
Dirk Brenken
b110746b98 luci-app-travelmate: small bugfixes & optimizations
* various small bugfixes and optimizations

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-08-03 17:04:58 +02:00
Dirk Brenken
3909cf79dc luci-app-travelmate: rework wireless station re-ordering
* 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-31 23:07:11 +02:00
Dirk Brenken
4142839e0d luci-app-travelmate: bugfixes
* 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-31 10:26:09 +02:00
Dirk Brenken
81f52d4290 luci-app-travelmate: enhancements & fixes
* 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-29 17:36:48 +02:00
Dirk Brenken
5dd6be4513 luci-app-travelmate: enhancements & fixes
* add re-ordering buttons in Station Overview
* fix possible nil error during wifi scan

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-07-25 07:24:59 +02:00
Dirk Brenken
31f77a3cfe luci-app-travelmate: small bugfixes
* speed up wireless scan
* emphasize active uplink in Station Overview
* mark hidden SSIDs

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-07-24 16:02:21 +02:00
Dirk Brenken
e900b892e8 luci-app-travelmate: sync with travelmate 0.9.0
* 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-07-20 07:44:15 +02:00
Dirk Brenken
76b3af64c0 luci-app-travelmate: sync with travelmate 0.7.3
* Automatically refresh the overview page after button onclick event,
e.g. 'Save & Apply'

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-05-10 16:56:58 +02:00
Dirk Brenken
d0938f33e0 luci-app-travelmate: sync with travelmate 0.7.2
* 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-05-07 19:57:08 +03:00
INAGAKI Hiroshi
44c41e57d0 luci-app-travelmate: Fix detection issues of i18n tools
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-22 16:25:37 +09:00
Dirk Brenken
bbd2c52a16 travelmate: major frontend update
* 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-04-21 21:09:14 +02:00
Dirk Brenken
34810889a6 luci-app-travelmate: update gui elements
* update gui elements to reflect changes in travelmate 0.3.x

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-01-12 15:55:55 +01:00
Hannu Nyman
3c23cc6470 luci-app-travelmate: user interface for Travelmate package
Create user interface for Travelmate, a new package that
helps in creating travel router functionality.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-10-30 10:10:46 +02:00