David Bauer
64f4095c1c
gluon-status-page: add wireless client count ( #2085 )
...
This adds the wireless client count for 2.4GHz and 5 GHz radios to the
status page. Previously, only the total client count advertised by
the mesh protocol was visible.
2020-08-09 00:34:23 +02:00
lemoer
14481851f6
gluon-status-page: show primary_domain
2020-05-21 18:09:08 +02:00
lemoer
57516fe4e7
Add GLUON_MINIFY flag to allow skipping the minification process ( #1916 )
2020-05-13 00:45:06 +02:00
Jan Alexander
016b323a17
gluon-status-page: set fixed layout and responsive view for data tables
2020-04-07 22:34:23 +02:00
lemoer
82082d8c62
gluon-status-page: add gateway_nexthop to statistics
2019-12-05 17:00:59 +01:00
Martin Weinelt
580b7357d5
Revert gluon-status-page gateway_nexthop changes
...
This reverts commits
- caf2dd037b
.
- 07ebac6a49
- 55eff45f96
I accidentally pushed these commits as I had them lying around on a
dirty checkout I did testing on.
2019-12-01 16:22:34 +01:00
lemoer
55eff45f96
gluon-status-page: prettify nextnode when node is offline
2019-11-24 02:38:55 +01:00
lemoer
07ebac6a49
gluon-status-page: show gateway_nexthop and gateway in one table row
2019-11-24 02:12:47 +01:00
lemoer
caf2dd037b
gluon-status-page: add gateway_nexthop to status page statistics
2019-11-24 01:19:17 +01:00
bobcanthelpyou
4b962f24d1
treewide: update i18n files via i18n-scan.pl and msgmerge ( #1784 )
2019-11-09 01:25:33 +01:00
lemoer
21397ce678
gluon-status-page: add domain and site ( #1820 )
2019-09-30 02:00:17 +02:00
Martin Weinelt
86148bdfc3
gluon-status-page: rebuild status-page.js after 02dfc66
...
The original commit only applied its changes to the source file and did
not rebuild the minified file, therefore the change never went live.
2019-01-17 23:25:31 +01:00
Martin Weinelt
bcf4d076e1
gluon-status-page: display position and link it with geo uri scheme ( #1587 )
...
Fixes : #659
Signed-off-by: Martin Weinelt <martin@darmstadt.freifunk.net>
2018-11-27 23:16:32 +01:00
Andreas Ziegler
849f72b0a6
gluon-status-page: don't cache index meta redirect
2018-10-11 03:23:29 +02:00
David Bauer
02dfc66438
gluon-status-page: update memory usage estimation
...
Let gluon-respondd expose "MemAvailable" from /proc/meminfo to allow for
a more realistic memory-usage estimation.
Information on MemAvailable can be found here:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
commit/?id=34e431b0ae398fc54ea69ff85ec700722c9da773
2018-08-25 00:57:44 +02:00
Matthias Schiffer
90031ba97a
gluon-status-page: replace nixio with luaposix
2018-07-17 20:08:16 +02:00
Matthias Schiffer
da058c5ef9
gluon-status-page: move neighbours-batadv wrapper to batadv-specific package
2018-06-30 16:03:13 +02:00
Matthias Schiffer
f51eac7582
gluon-status-page: add contact information again
...
The field was accidentally removed during the status-page rewrite.
Fixes #1401
2018-05-22 22:48:27 +02:00
Christof Schulze
2465a103f6
gluon-status-page: when prettifying undefined numbers, show - instead of NaN
2018-04-16 10:23:15 +02:00
Christof Schulze
8959d8c3ea
gluon-status-page: make status page mesh protocol agnostic
...
batman-adv-specific parts are moved to a new package
gluon-status-page-mesh-batman-adv.
2018-04-15 12:46:01 +02:00
Christof Schulze
6dff120e3c
gluon-status-page: reduce usage of absolute paths in cgi-bin scripts neighbours-nodeinfo and stations
2018-04-15 12:39:36 +02:00
Matthias Schiffer
35ade80f1c
gluon-status-page: move mesh protocol specific definitions into a separate file
2018-04-15 11:36:37 +02:00
Matthias Schiffer
3282a63ea7
gluon-status-page: remove "lastseen" field from neighbours-batadv output
...
The field is unused.
2018-04-15 10:09:36 +02:00
Matthias Schiffer
433af56f99
gluon-status-page: fix code indentation
2018-04-15 10:01:25 +02:00
Matthias Schiffer
994c94918a
treewide: automatically set SECTION and CATEGORY for Gluon packages
2018-04-14 00:01:04 +02:00
Matthias Schiffer
6f0d9f1e2d
gluon-status-page: fix typo in comment
2018-04-13 22:50:37 +02:00
Matthias Schiffer
6dc9369715
gluon-status-page: suppress "broken pipe" syslog message
...
Some HTTP endpoints were writing annoying "broken pipe" messages to stderr.
2018-03-27 19:48:04 +02:00
Matthias Schiffer
68a706a948
gluon.mk: remove GLUON_PKG_MAKE option
2018-03-09 10:05:44 +01:00
Matthias Schiffer
60522ee253
treewide: move package Makefile boilerplate to gluon.mk
2018-03-08 19:49:41 +01:00
Matthias Schiffer
934221b86f
treewide: remove redundant definitions from package Makefiles
2018-03-07 21:23:41 +01:00
Matthias Schiffer
3e88331137
gluon-status-page: add dependency on libubus-lua
2018-02-26 18:55:51 +01:00
Matthias Schiffer
27f7ce444f
gluon-status-page: when visiting via a next-node address, redirect to a unique address
...
A downside of this behaviour is that the page does not work for IPv4-only
clients, as the redirect will always point at an IPv6 address.
Still, it seems like a good idea to enforce the redirect even from the IPv4
next-node address, as switching nodes while being connected to the status
page would lead to unexpected behaviour.
2018-02-26 03:25:01 +01:00
Matthias Schiffer
fdf823a3a2
gluon-status-page-api: merge back into gluon-status-page
...
All Access-Control-Allow-Origin are removed to improve users' privacy. As
the status page API is thus not useful without the status page anymore,
merge them back into a single package.
The status-page-api respondd provider is removed as well.
Fixes #1194
2018-02-26 02:20:38 +01:00
Matthias Schiffer
88906f238b
gluon-status-page: reimplement based on gluon-web
...
This new status page is significantly smaller than the old one. It always
loads its resources from the same host as the page itself, not requiring
cross-origin requests anymore.
It also uses the common i18n infrastructure of gluon-web.
Fixes #914
2018-02-26 02:20:38 +01:00
Christof Schulze
94e7827ac8
gluon-status-page: improve localization ( #1241 )
2017-10-31 19:25:27 +01:00
Matthias Schiffer
8245e77218
gluon-status-page: fix browser compatiblity of language selection
2017-02-26 20:55:31 +01:00
Matthias Schiffer
959c8ae7f8
gluon-status-page: use unique filenames for dependencies, switch to SHA256 checksums
2017-02-26 19:46:33 +01:00
Andrey Perliev
26a0cbd1cc
gluon-status-page: JS translations ( #1044 )
...
Add translation support to gluon-status-page, including English, German and Russian translations.
2017-02-21 09:40:09 +01:00
Brother-Lal
740c60c7e4
gluon-status-page: add hint to enable JavaScript if it is disabled ( #913 )
2016-10-24 14:43:12 +02:00
Brother-Lal
e80f751a85
fix error in statuspage if cookies are disabled ( #912 )
...
If cookies are disabled, the Statuspage only displays an empty ("Not connected")
This checks if the localStorage API is available and working and only uses it in this case
Also allows better backwards compatibility.
2016-10-24 14:18:01 +02:00
J0WI
d2fb547a3f
gluon-status-page: removed obsolete css prefixes ( #877 )
...
None of them are used by modern browsers anymore, so it's safe to remove them.
2016-09-07 06:03:57 +02:00
Jan-Tarek Butt
1c1f490527
Minify all Lua code
2016-07-10 20:14:25 +02:00
corvusmo
82b5b5a8d2
gluon-status-page: refactor creation of table rows and cells ( #738 )
2016-04-27 08:40:13 +02:00
Matthias Schiffer
7f2b93e7f0
gluon-status-page: remove old status page
...
We have Git for history, there's no reason to keep old files that aren't
used anymore.
2016-04-26 21:29:48 +02:00
corvusmo
80515c087d
gluon-status-page: sort gateways alphabetically
...
Fixes #698
2016-04-08 21:23:56 +02:00
Matthias Schiffer
289b599233
gluon-status-page: unify prefix list of prettyBytes and prettyBits
2016-03-01 00:06:20 +01:00
Matthias Schiffer
6e452f207a
gluon-status-page: don't use internationalization API
...
It is not supported by all browsers yet.
Also change load display always to display 2 decimal digits (as it is read
from the kernel with 2 decimal digits).
Fixes #606
2016-03-01 00:06:20 +01:00
Matthias Schiffer
79bc3a8d4b
gluon-status-page: fix neighbour purging
...
notUpdated is a Set, to a for-in loop doesn't work.
Fixes #657
2016-02-29 01:12:20 +01:00
Matthias Schiffer
88bdc98108
gluon-status-page: don't reset signal graphs on resize events if width hasn't changed
...
Mobile browsers will often show or hide the address bar while scrolling.
This causes resize events which would often reset the signal graphs.
Fixes #662
2016-02-26 05:35:47 +01:00
Matthias Schiffer
0880159eb5
gluon-status-page: fix handling of interface names containing dots
2016-01-08 14:54:30 +01:00