1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-14 11:13:55 +02:00
Commit Graph

537 Commits

Author SHA1 Message Date
Nils Schneider
cf38219718 gluon-luci-admin: expertmode texts translated 2014-02-19 03:24:48 +01:00
Nils Schneider
49a6dc21dd gluon-luci-autoupdater: use expertmode template 2014-02-19 03:16:50 +01:00
Nils Schneider
b347dbf692 gluon-luci-admin: replace overview with ssh/pass
Various changes and moving stuff around.
2014-02-19 03:16:50 +01:00
Nils Schneider
d822af1518 gluon-luci-admin: remove unused function 2014-02-19 03:16:50 +01:00
Nils Schneider
becc9e0751 gluon-luci-admin: system.lua -> upgrade.lua 2014-02-19 03:16:50 +01:00
Nils Schneider
ad808db9ea gluon-autoupdater: drop caches before upgrade
This will free about 5 to 12 MB of RAM even on lightly used devices
yielding plenty of RAM for autoupdate to succeed.
2014-02-19 01:18:54 +01:00
Nils Schneider
6189d52fbb gluon-luci-admin: remove backup/restore 2014-02-18 23:13:42 +01:00
Nils Schneider
c033fe5ab2 gluon-luci-admin: fix firmware upgrade feature 2014-02-18 22:21:31 +01:00
Nils Schneider
2af3209616 gluon-luci-admin: remove reboot feature
Configmode should be exited by using the wizard instead.
2014-02-18 19:17:47 +01:00
Daniel Ehlers
1386bb41dd gluon-core: force kernel panic on out of memory
In combination with kernel.panic the node will reboot if out of memory.
2014-02-18 00:21:12 +01:00
Matthias Schiffer
e872a58e15 gluon-config-mode: don't let UCI_CONFIG_DIR leak to the telnet environment etc. 2014-02-13 19:40:36 +01:00
Matthias Schiffer
f9c243b559 gluon-config-mode: simplify dnsmasq command, remove sleep after network setup 2014-02-13 16:27:40 +01:00
Matthias Schiffer
a33d64af06 gluon-config-mode: remove bind mounts 2014-02-13 15:55:52 +01:00
Nils Schneider
4589fa6595 gluon-status-page: show model 2014-02-13 12:56:14 +01:00
Nils Schneider
c7bdc0ee6e Merge pull request #18 from sargon/master
gluon-luci-autoupdater: Fix typo
2014-02-13 00:24:34 +01:00
Daniel Ehlers
2edcec1803 gluon-luci-autoupdater: Fix typo 2014-02-13 00:21:40 +01:00
Matthias Schiffer
0e48961691 gluon-autoupdater: enable by default only if GLUON_BRANCH is set, set default branch accordingly 2014-02-11 17:10:11 +01:00
Nils Schneider
cb035e3b7a gluon-luci-core: replacing luci-mod-admin-core
This commit adds gluon-luci-core, a package both gluon-config-mode and
gluon-luci-admin will depend on. gluon-luci-core itself will depends on
gluon-luci-theme, gluon-core and most importantly luci-lib-web. It also
copies a few files from luci-mod-admin-core but leaves out everyting we
do not use.

At a later point I plan to move functionality from luci-lib-web into
this package, too. luci-lib-web contains most parts of luci including
hardcoded templates for CBI, which I intend to replace.
2014-02-09 23:20:38 +01:00
Nils Schneider
c96faee40e 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
6cee578c05 gluon-autoupdater: depend on sha512sum
This makes gluon-autoupdater depend on coreutils-sha512sum when it's not
included in busybox.
2014-02-09 23:16:34 +01:00
ruben
8a45b4edc5 gluon-config-mode: Corrected grammar 2014-02-07 13:11:55 +01:00
Nils Schneider
e067480118 gluon-config-mode: fix type (gluon-locaton -> gluon-location) 2014-02-06 20:23:17 +01:00
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