Matthias Schiffer
560ec71d95
Don't use site config in compile step
2014-02-06 19:57:39 +01:00
Nils Schneider
4ee00587ec
gluon-status-page: escape HTML special characters
2014-02-06 15:35:21 +01:00
Matthias Schiffer
bf44d5523c
gluon-autoupdater: add SHA512 support
2014-02-06 00:17:33 +01:00
Matthias Schiffer
261355e1da
gluon-config-mode: don't include sysconfig before the start function is called
...
Otherwise the enable during image create will throw a few error messages
2014-02-06 00:05:10 +01:00
Nils Schneider
694c22ace7
gluon-status-page: simple status page
...
This adds a simple status page, which is just a shell script outputting HTML.
On this page the following information is available:
* hostname
* uptime
* loadavg
* network addresses of br-client
* memory usage (RAM + ROM)
* wlan IBSS neighbours (+ links to status pages constructed from MAC)
2014-02-04 13:15:53 +01:00
Nils Schneider
4bdad7c291
statusscript
2014-02-04 13:15:18 +01:00
Nils Schneider
8aafc108a5
gluon-status-page: make index.html redirect to cgi
2014-02-03 23:59:22 +01:00
Matthias Schiffer
4da5b5ce37
gluon-core: ensure the release file is always up-to-date
2014-01-31 15:25:49 +01:00
Nils Schneider
19403474eb
gluon-luci-theme: input fields on error readable
...
Do not use 'red' as text color on input fields with errors as the
backgronud color is already red, rendering the value unreadable.
2014-01-29 23:37:31 +01:00
Matthias Schiffer
15363f249b
Merge branch 'config-mode-hostname' of https://github.com/freifunk-gluon/packages
2014-01-29 19:37:16 +01:00
Matthias Schiffer
355afe9da5
Add stub gluon-status-page package
2014-01-29 17:17:49 +01:00
Nils Schneider
a0f55b6c3c
gluon-config-mode: correct hostname on reboot.html
...
Display the correct hostname on the final page of configmode.
Previously, this page used to simply call luci.sys.hostname() which
would return the current hostname. However, when the configmode changes
the hostname luci.sys.hostname() will not reflect this. This patch
fetches the hostname directly from the UCI system config.
This adds a variable called 'hostname' which may be used in site.conf at
config_mode.msg_reboot and .msg_pubkey.
2014-01-28 03:16:56 +01:00
Matthias Schiffer
dfadf272b4
gluon-mesh-vpn-fastd: always use wan DNS servers to resolve the peers
2014-01-25 03:20:03 +01:00
Matthias Schiffer
eaad418d91
Enable DNS servers from mesh, disable on wan
2014-01-25 02:09:35 +01:00
Matthias Schiffer
a6b19b5c67
Remove odhcp6c.user hack
2014-01-25 01:54:19 +01:00
Matthias Schiffer
0b17a37918
gluon-mesh-batman-adv: use kmod-batman-adv-legacy package
2014-01-24 05:19:00 +01:00
Matthias Schiffer
69d81b6aea
Add batman-adv-legacy package
2014-01-24 05:18:53 +01:00
Matthias Schiffer
4853670a40
Revert "gluon-radvd: run on br-client"
...
This reverts commit f5c532a3a9
.
2014-01-23 18:41:41 +01:00
Matthias Schiffer
f85415ebb0
gluon-next-node: don't wait for br-client to get an address
2014-01-23 18:40:59 +01:00
Nils Schneider
2324e68364
gluon-config-mode: new helptexts
2014-01-23 02:24:02 +01:00
Nils Schneider
6463064867
gluon-config-mode: label submit button "Fertig"
2014-01-23 01:34:25 +01:00
Nils Schneider
980ddb39cc
gluon-config-mode: use welcome text from site.conf
2014-01-23 01:21:43 +01:00
Nils Schneider
f56d6a5d17
Merge pull request #12 from freifunk-gluon/configmode-reboot
...
gluon-config-mode: delay reboot a little
2014-01-22 15:16:43 -08:00
Nils Schneider
56b1bf77da
gluon-config-mode: delay reboot a little
...
The reboot page should be delayed a little to give the browser time for
fetching assets (like the stylesheet). This adds a two second delay.
Unfortunately, I couldn't think of a sane way to do this within a luci
controller.
This patch forks the process. The parent will continue rendering the
page for the browser while the child will sleep and then reboot the
device. For this to work reliable the child needs to close stdout before
sleeping so the webserver closes the connection to the browser. This,
again, required a hack as lua does not allow closing std filehandles,
when prevented using luci.reboot() which was calling os.execute() and
that function will not work with stdout closed.
2014-01-23 00:04:14 +01:00
Nils Schneider
466defe3f2
gluon-config-mode: fix indentation
2014-01-22 23:18:46 +01:00
Matthias Schiffer
a70ab9f3b8
More fixes for strange network interface configurations
2014-01-22 22:04:08 +01:00
Matthias Schiffer
f5c532a3a9
gluon-radvd: run on br-client
2014-01-22 21:32:02 +01:00
Nils Schneider
b892e1f07e
Merge pull request #11 from freifunk-gluon/expertmode
...
gluon-luci-admin: various changes
2014-01-22 12:03:00 -08:00
Nils Schneider
3fcdce78f3
Merge pull request #10 from freifunk-gluon/luci-theme
...
add new luci-theme
2014-01-22 12:02:48 -08:00
Matthias Schiffer
e6592f835d
Properly support devices with only one ethernet interface
2014-01-22 20:44:34 +01:00
Matthias Schiffer
b25519bc02
Fix race condition in dnsmasq config dir handling
2014-01-22 19:52:17 +01:00
Matthias Schiffer
8681dde4e2
gluon-config-mode: respect switch configuration
2014-01-22 19:45:07 +01:00
Matthias Schiffer
9d4fb5c6d5
gluon-core: sysconfig: don't print error message for unset config
2014-01-22 19:45:07 +01:00
Nils Schneider
9a7a874810
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
434430bbaf
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
75b8141fd1
gluon-luci-admin: remove redundant headings
2014-01-22 17:05:42 +01:00
Nils Schneider
bc119007e9
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
c71e3737a6
gluon-luci-admin: fix indentation
...
Replaces double-spaces with tabs to match surrounding code.
2014-01-22 17:05:42 +01:00
Nils Schneider
37fc87539c
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
d2b45fa35a
gluon-config-mode: remove subsection headings
...
Those headings do not convey much information make the wizard less
compact. The help texts will be rewritten to guide the user instead.
2014-01-22 17:01:27 +01:00
Nils Schneider
9f70cd70ef
gluon-config-mode: replace inline style with class
...
Replace the inline stylesheet for the public key box on the reboot page
with a CSS class so it can be styled using the theme.
2014-01-22 17:00:58 +01:00
Nils Schneider
b8abbf4b42
gluon-config-mode,luci-admin: use gluon-luci-theme
...
This makes gluon-config-mode and gluon-luci-admin depend on
gluon-luci-theme instead of luci-theme-openwrt.
2014-01-22 16:56:54 +01:00
Nils Schneider
dab7106cb9
gluon-luci-theme: new theme, still magenta/yellow
...
This is the initial version of our new configmode theme. It's far from
finished but at least configmode looks good. There are lots of
declarations copied from OpenWRT's default theme so most other luci
modules would be somewhat usable when shown using this theme.
2014-01-22 16:56:32 +01:00
Nils Schneider
54fec96e7b
gluon-config-mode: remove 'reset' button
...
The reset button resets the form. I don't think this is needed in a
wizard that simple and might confuse users so I removed it.
2014-01-21 23:42:03 +01:00
Nils Schneider
3d2511d488
gluon-config-mode: fix wizard
...
Due to my previous two commits configmode was broken when either meshvpn
or bandwidth limit was disabled. This fixes it but there may be a
cleaner solution provided by luci.
2014-01-21 22:19:25 +01:00
Nils Schneider
52764cc925
gluon-config-mode: bwlimit hidden when not meshvpn
...
Hide the bandwidth limit checkbox when meshvpn is disabled.
2014-01-21 20:02:17 +01:00
Nils Schneider
9141633bf9
gluon-config-mode: more compact tc form
...
Hide the downstream/upstream input fields when bandwitdh limiting is
disabled.
2014-01-21 19:50:07 +01:00
Nils Schneider
269cf45d67
Merge pull request #9 from sargon/master
...
gluon-autoupdater: Randomize mirror order
2014-01-21 04:22:11 -08:00
Nils Schneider
8c0188a4f6
gluon-autoupdater: Randomize mirror order
...
This way we have a kind of load balancing among the mirrors.
2014-01-21 13:20:50 +01:00
Daniel Ehlers
5060dd95eb
gluon-luci-autoupdater: Catch up mirror support in gluon-autoupdater
2014-01-21 05:46:10 +01:00