Commit graph

137 commits

Author SHA1 Message Date
Manuel Munz
e97596f42d applications/luci-splash: fix another crash in luci-splash when there were empty whitelist/blacklist sections 2013-11-11 20:12:40 +00:00
Manuel Munz
785211a974 applications/luci-splash: Fix another condidtion which led to a deadlock 2013-11-03 14:01:17 +00:00
Manuel Munz
6010725e02 applications/luci-splash: Only add leases to the stats section if they are still online (i.e. mac known in arp table). Thanks michiwend. 2013-10-27 09:59:19 +00:00
Manuel Munz
87b7651ef2 applications/luci-splash: remove unneeded tc exec 2013-10-20 11:59:53 +00:00
Manuel Munz
69792fa157 applications/luci-splash: improve traffic limiting per client for ipv6 2013-10-17 23:11:17 +00:00
Manuel Munz
5cfabc7eb2 applications/luci-splash: Make luci-splash more silent in normal mode in case of tc/iptables errors 2013-10-17 00:22:55 +00:00
Manuel Munz
0678fe5eeb applications/luci-splash: Do not allow to lease whitelisted clients 2013-10-17 00:01:06 +00:00
Manuel Munz
4ae0d30edd applications/luci-splash: Fix a crash when removing whitelisted clients which could caused deadlocks 2013-10-16 23:51:43 +00:00
Manuel Munz
e966cfea23 applications/luci-splash: Add a filter for arguments, only allow valid mac and ip addresses 2013-10-16 19:48:23 +00:00
Manuel Munz
0c1f8b8aa3 applications/luci-splash: Fix two problems with whitelisting clients 2013-10-13 22:40:09 +00:00
Manuel Munz
2595726dfb applications/luci-splash: Update stats when a lease is added or removed 2013-10-01 20:22:08 +00:00
Manuel Munz
5e8c7a439e applications/luci-splash: Write summary stats (counter of leased, white-/blacklisted) into the leases state file 2013-09-28 12:40:29 +00:00
Manuel Munz
cc2c364198 applications/luci-splash: Show black-/whitelisted clients in luci-splash list output again 2013-09-28 12:06:13 +00:00
Manuel Munz
a7c1b0e602 applications/luci-splash: Add known leases when restarting splash 2013-08-19 12:17:58 +00:00
Manuel Munz
bafe0c18b3 applications/luci-splash: Add another missing translation 2013-08-19 11:48:07 +00:00
Manuel Munz
9cf8a23f52 applications/luci-splash: Fix a translation problem with 2 strings 2013-08-19 11:33:14 +00:00
Manuel Munz
47612c60f3 applications/luci-splash: Per default redirect to the page the user requested after he accepted the splash. This can be overwritten with redirect_url in the general section in luci_splash config, #595 2013-08-18 20:41:30 +00:00
Manuel Munz
15088f5dd4 applications/luci-splash: Always allow clients to connect to the community homepage, make description of allowed hosts/subnets more clear, #595 2013-08-18 20:37:35 +00:00
Manuel Munz
bf86e86429 applications/luci-splash: Set http_keepalive to zero. This fixes a problem where the user was not properly redirected after accepting the splash in some cases and when an uhttpd was used that supports http keepalive 2013-08-17 20:12:19 +00:00
Manuel Munz
82ab31b510 applications/luci-splash: Fix clients upload and download limiting 2013-08-17 19:42:45 +00:00
Manuel Munz
3b0dee6e5c applications/luci-splash: do not delete the nodes luci_splash_mark_in rule when its ip is unknown while syncing, instead use iptables comments there and delete that rule when the lease has been removed. 2013-08-11 16:45:39 +00:00
Manuel Munz
bbc5b2ef69 applications/luci-splash: Use a seperate config file for leases, #590 2013-08-11 16:42:53 +00:00
Manuel Munz
37bf7b0217 applications/luci-splash: Add TOS, Fix Community Name, add possibility to just add some custom text to the splash page instead of replacing the whole page 2013-07-28 08:15:22 +00:00
Manuel Munz
2a366f4c55 applications/luci-splash: Always insert the mangling rules, not just when bandwidth limit is used. That makes it possible to have client bandwidth stats without using the bandwidth limit. Taken from https://github.com/freifunk/ff-control/blob/master/patches/luci-splash-mark.patch, thx Patrick 2013-06-04 19:24:30 +00:00
Manuel Munz
a1bd60ef6e applications/luci-splash: Only restart splash in hotplug for interfaces which are using splash 2013-06-02 23:48:30 +00:00
Manuel Munz
af72920b6e applications/luci-splash: Add hotplug script for splash 2013-06-02 16:41:03 +00:00
Manuel Munz
039cf65524 applications/luci-splash: Work with firewall3 2013-06-02 16:36:37 +00:00
Manuel Munz
f8bf25a7bf applications/luci-splash: Only add splash forwarding rule for ip6tables when the interface has an ipv6 address 2013-05-18 09:35:48 +00:00
Manuel Munz
7f3b0af6d9 applications/luci-splash: Add limited IPv6 Support 2013-03-25 16:31:34 +00:00
Manuel Munz
b754f09d56 applications/luci_splash: Do not try to get parent interfaces for bridges 2013-02-09 16:55:35 +00:00
Manuel Munz
e2b94c2fde applications/luci-splash: Get parent interface from ifname option. This is for the new syntax where interfaces are used for aliases. The alias notation (config alias in /etc/config/network) is no longer supported by luci-splash. 2013-01-30 10:13:43 +00:00
Jo-Philipp Wich
848e43a5b4 remove .i18n annotations from controller files 2012-11-26 12:53:43 +00:00
Manuel Munz
4f126632a5 applications/splash: Fix error when replacing markers, delete file which contains the custom text if it is empty, #477 2012-09-02 19:34:32 +00:00
Manuel Munz
78fd18c8e9 applications/luci-splash: when more than two clients where leased and another one got a lease luci-splash dropped the others, see #431. Thanks to andrenarchy for the patch 2012-06-18 11:12:38 +00:00
Patrick Grimm
74bf635d8c luci-splash: fix typo 2012-02-05 17:56:08 +00:00
Patrick Grimm
f492411143 luci-splash: create the tbody outside from tr loop 2012-02-03 23:52:55 +00:00
Patrick Grimm
65e081954a luci-splash: getElementById("splash_table") splash_table is the id from a tbody. dont add tbody close tag. 2012-02-02 21:55:37 +00:00
Patrick Grimm
1b7a550e01 luci-splash: Fix html typo 2012-02-01 18:55:11 +00:00
Patrick Grimm
7db300b5e6 Freifunk: Fix html typo 2012-01-10 17:37:49 +00:00
Manuel Munz
c5329d85d5 applications/splash: Fix blacklisting mechanism, expose status on public freifunk page, add json output and autoupdate. 2011-11-30 05:50:43 +00:00
Manuel Munz
3c3e3128bb applications/luci-splash: Make splashtext translateable, show down-/upload limits and link to contact page 2011-11-27 21:48:30 +00:00
Manuel Munz
004e89c776 applications/luci-splash: Fix double 'and' typo (325) 2011-10-18 17:42:26 +00:00
Manuel Munz
241c9bcbef applications/luci-splash: Finish translation work and move translation strings to own file 2011-10-18 09:23:27 +00:00
Jo-Philipp Wich
1d76d8a215 applications, modules: remove i18n handling from controller modules as it moved to the themes now 2011-08-12 13:16:27 +00:00
Jo-Philipp Wich
ca0de8445c applications/luci-splash: semd a WISPr response, allows iPhone to detect Captive Portal while normal browsers are redirected 2011-07-01 13:49:45 +00:00
Jo-Philipp Wich
eb8908bcea applications/luci-splash: fix two other redundant lock wait calls 2011-07-01 11:33:46 +00:00
Jo-Philipp Wich
a0001338e8 applications/luci-splash: fix possible race condition 2011-07-01 11:26:35 +00:00
Matthias Uferer
3c27fb3a17 2011-06-17 02:54:50 +00:00
Jo-Philipp Wich
be2ae705fa applications/luci-splash: use an HTML redirect on initial splash, fixes iPhone captive portal detection 2011-06-16 23:00:57 +00:00
Manuel Munz
01db32fdcf luci-splash: XHTML failed validation, fix it 2011-05-14 12:55:22 +00:00