Commit Graph

34 Commits

Author SHA1 Message Date
Matthias Schiffer
7e0075584d
Use a "pretty" hostname where possible
Fixes #414
2016-08-27 16:33:37 +02:00
Matthias Schiffer
819c7d59f1
gluon-config-mode-*, gluon-luci-*: add escaping for many user- or site-defined strings
Allows weird release numbers, models and site names, and prepares support
for pretty hostnames.
2016-08-27 15:18:13 +02:00
Jan-Tarek Butt
1c1f490527
Minify all Lua code 2016-07-10 20:14:25 +02:00
Sven Eckelmann
d30a6ff1db gluon-luci-admin: Fix uploaded image validation
The image validation currently fails on some devices (tested OpenMesh)
because it isn't done via sysupgrade. But the checks depend partially on
the integration in sysupgrade (e.g. via loops that can be stopped via
"break statements").

Instead of hacking its own version check, it is easier and better tested to
just use 'sysupgrade -T' like it is already done by LuCI.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-05-16 13:31:25 +02:00
Matthias Schiffer
145cb4ded2 gluon-luci-admin: ensure that the authorized_keys file always ends with a newline
Fixes #558
2016-02-05 18:31:25 +01:00
Matthias Schiffer
e878155601 gluon-luci-admin: fix setting the password
This was broken due to the switch to Chaos Calmer.
2015-07-12 16:31:00 +02:00
Matthias Schiffer
ab10be9f50 We're on Chaos Calmer now 2015-05-22 01:09:19 +02:00
Matthias Schiffer
e1f2ac11b6 gluon-luci-admin: i18n 2015-05-04 01:29:29 +02:00
Matthias Schiffer
7496b3d3c1 gluon-luci-admin: fix SSH keys being removed when a password is set 2014-10-03 00:47:48 +02:00
Nils Schneider
e2ff6a6ed3 gluon-luci-admin: restructure firmware upgrades 2014-08-28 16:36:04 +02:00
Nils Schneider
2f5705b5de config-mode, mesh-vpn: refactor key generation
Previously, the config-mode was responsible for generating the fastd
secret. This patch sets the default secret to "generate" causing a
secret to be generated on its first use (e.g. show_key or start).

This also changes the info page (in Expert Mode) to show "n/a" when the
public key is not yet available.
2014-07-27 16:22:40 +02:00
Matthias Schiffer
12144126fe gluon-luci-admin: add an info page 2014-07-20 08:12:48 +02:00
Matthias Schiffer
baebeee98f gluon-luci-admin: support disabling password login again 2014-07-14 22:09:43 +02:00
Matthias Schiffer
e5999b3f44 gluon-luci-admin: allow removing all SSH keys 2014-07-14 18:56:49 +02:00
Nils Schneider
7dd8d3ee1e gluon-luci-admin: fix wording 2014-07-08 21:52:11 +02:00
Matthias Schiffer
f93e9b818f Split gluon-setup-mode package out of gluon-config-mode
gluon-config-mode retains the luci frontend, all setup scripts and config is
moved to the new package.
2014-07-05 20:11:41 +02:00
Matthias Schiffer
10519660ea gluon-luci-admin: change text "Expertmode" to "Expert Mode" 2014-07-02 16:24:08 +02:00
Nils Schneider
0b3db87d6f gluon-luci-admin: expertmode texts translated 2014-02-19 03:24:48 +01:00
Nils Schneider
26305a7150 gluon-luci-admin: replace overview with ssh/pass
Various changes and moving stuff around.
2014-02-19 03:16:50 +01:00
Nils Schneider
072acf5ae3 gluon-luci-admin: remove unused function 2014-02-19 03:16:50 +01:00
Nils Schneider
9c2ba883c9 gluon-luci-admin: system.lua -> upgrade.lua 2014-02-19 03:16:50 +01:00
Nils Schneider
3712f8795c gluon-luci-admin: remove backup/restore 2014-02-18 23:13:42 +01:00
Nils Schneider
08bc198e36 gluon-luci-admin: fix firmware upgrade feature 2014-02-18 22:21:31 +01:00
Nils Schneider
123fef47f0 gluon-luci-admin: remove reboot feature
Configmode should be exited by using the wizard instead.
2014-02-18 19:17:47 +01:00
Nils Schneider
6e4596fe87 gluon-luci-admin: remove translation support
We'll have to revisit translations at a later point after configmode and
expertmode have matured. Texts in this package were pretty inconsistent
anyway so there is no point in keeping translations for random text
fragments.
2014-02-09 23:17:50 +01:00
Nils Schneider
c7efde1acf gluon-luci-admin: reboot.html, remove refresh
Don't refresh the reboot page after rebooting the node. It's not going
back to configmode anyway so it'll never reload without user
intervention.
2014-01-22 17:05:42 +01:00
Nils Schneider
8d62f92a4d gluon-luci-admin: replace overview text
This completely replaces the text on the overview page. Consider this a
placeholder until someone writes a better suited version :)
2014-01-22 17:05:42 +01:00
Nils Schneider
dd7934a39a gluon-luci-admin: remove redundant headings 2014-01-22 17:05:42 +01:00
Nils Schneider
78f5efa7ce gluon-luci-admin: no logout button in configmode
Hide the "logout" button when in configmode.
2014-01-22 17:05:42 +01:00
Nils Schneider
d85214d4c5 gluon-luci-admin: fix indentation
Replaces double-spaces with tabs to match surrounding code.
2014-01-22 17:05:42 +01:00
Nils Schneider
efc958fbf8 gluon-luci-admin: disable when not in configmode
For security reasons we'd like to disable all HTTP config interfaces
when the node is operating normally. This patch disables gluon-luci-admin
when configmode is not enabled.
2014-01-22 17:05:42 +01:00
Nils Schneider
0b57802354 configmode -> gluon-config-mode 2013-11-28 20:00:37 +01:00
Nils Schneider
c3fcb81a4b ssh keys 2013-11-28 20:00:37 +01:00
Nils Schneider
29b480522e basic admin mode 2013-11-28 20:00:37 +01:00