Commit Graph

1339 Commits

Author SHA1 Message Date
Alf Høgemark
bde7a7d296 showrequestfromcountry.dat: Use language string, and fix links
Define language key for input field.
Fix links for older and newer links.
Indentation fixes.

The code is a copy from showrequestfromip.dat, ideally
we should have merged all three showrequestfrom*.dat files
into one file, but I do not do that now, because it would
really require a rewrite of most of the logic, and I understand
that one does not want to do such changes in 2.x.
2014-03-01 14:59:18 +01:00
Alf Høgemark
f424897557 firewalllogcountry.dat: Use language strings and add to menu
Add some language strings for the new firewalllogport.dat, and
include html fixes done in firewalllogip.dat, which this file
is based on.

Also try to add the menu item to the sub menu, but that is
currently not working.
2014-03-01 14:59:18 +01:00
Alf Høgemark
e4aac47370 logs.cgi: Add files for showing firewall blocks by country
Add similair functionality as firewalllogip.dat and
firewalllogport.dat, by listing the number of blocks
per country, and provide a details link to show only
the blocked ip addresses from the country.

This is a preliminary prototype.
2014-03-01 14:59:17 +01:00
Michael Tremer
5a7491ffd6 QoS: Actually accept subnets everywhere. 2014-02-27 19:39:18 +01:00
Alexander Marx
5eee5a607e QOS: IP-Addresses can now be simple IP-Address or IP-Address and subnet 2014-02-27 19:12:06 +01:00
Alf Høgemark
c101827318 firewalllogs*.dat: Reduce amount of code to set row bgcolor
Replace 10 if statements with duplicated code for print
and setting background color by using a variable and
one if statement.
2014-02-25 22:03:40 +01:00
Michael Tremer
25bd6edaaf Merge remote-tracking branch 'alfh/feature_html_validating' into next 2014-02-25 22:02:34 +01:00
Michael Tremer
f2b8668fc8 Merge remote-tracking branch 'alfh/feature_qos_description' into next 2014-02-25 22:01:34 +01:00
Michael Tremer
50294f93c2 Merge remote-tracking branch 'alfh/feature_htmlclean_removefont' into next 2014-02-25 22:01:14 +01:00
Erik Kapfer
4e7c3114ca index.cgi: Add /red/local-ipaddress query.
Fixes# 10480. Added if loop for local-ipaddress query.
2014-02-25 21:57:55 +01:00
Alexander Marx
46a6d6c7fc Firewall: fix error when editing a rule and changing remark with invalid chars the rule was destroyed 2014-02-24 19:39:26 +01:00
Alexander Marx
ec56a5393f Firewall: fixed padding-right of lastrule table in ruleoverview 2014-02-24 19:38:43 +01:00
Alf Høgemark
c010871ab1 index.cgi: Make html valid, and improve dialup and vpn display
Make the html validate. One part of the changes is to
move style from using deprecated attributes to using
style attribute on tag.
The other part is to make sure that tables, rows and cells
are properly closed and nested.

Use a table for showing output from the dialctrl script.
2014-02-22 17:36:45 +01:00
Alf Høgemark
429c1a3fc9 connections.cgi: Make the html pass html validation 2014-02-22 17:36:45 +01:00
Alf Høgemark
d7fe5d7970 aliases.cgi: Make the html pass html validation 2014-02-22 17:36:45 +01:00
Alf Høgemark
8b40eca59e cgi-bin: Remove font tags with no effect, and style tags
The font tag is deprecated, so clean up html by removing
font tags that have no effect.

For font tags that have an effect, move the styling to
the tag controlling the text output.

The aim is to get one step further towards validating html.
2014-02-22 12:13:02 +01:00
Alf Høgemark
be7534e3fa qos.cgi: Show class description in listing, and graph description
When listing the defined qos classes when qos.cgi is initially
displayed, include the description of the class.

Add upload heading for red graph and download graph for imq graph,
since it is not obvious what the graphs means.
2014-02-22 07:07:57 +01:00
Michael Tremer
317638e753 index.cgi: Change display of DNS servers.
Add missing colon and put them into one column in the
table.
2014-02-20 10:56:02 +01:00
Michael Tremer
5e1ee0e6e6 Merge remote-tracking branch 'alfh/bugfix_htmlclean' into next 2014-02-19 20:49:38 +01:00
Michael Tremer
bbb3a931fa Merge remote-tracking branch 'alfh/feature_updxlrator' into next 2014-02-19 20:46:21 +01:00
Alf Høgemark
f8aa06792f cgi-bin: Add title attribute to input type image where missing
Almost all of <input type="image"... has both an alt and a
title attribute, but some are missing title, and when the icon
is not very clear, it makes it harder to understand what the icon
does. By adding title, the browser displays text when mouse pointer
is over the icon.

Also add missing quotes for alt and title attributes where needed.
2014-02-19 18:31:02 +01:00
Alf Høgemark
153cf6406c cgi-bin: Use readonly="readonly" attribute on html input elements
The proper way to mark readonly is to use readonly="readonly", not
readonly="true", like it was done some places.
2014-02-18 18:48:57 +01:00
Michael Tremer
5ee7500e59 Merge remote-tracking branch 'alfh/feature_htmlcleanup' into next
Conflicts:
	html/cgi-bin/logs.cgi/firewalllogip.dat
	html/cgi-bin/logs.cgi/firewalllogport.dat
	html/cgi-bin/media.cgi
2014-02-17 16:33:38 +01:00
Michael Tremer
6d3c8250fe Merge remote-tracking branch 'alfh/feature_langfixes' into next 2014-02-17 16:28:23 +01:00
Michael Tremer
bd4db47085 Merge remote-tracking branch 'alfh/feature_firewalllog_first_last' into next 2014-02-17 16:24:41 +01:00
Alf Høgemark
631b67b7cd cgi-bin: HTML cleanup, add quotes for attribute values 2014-02-15 16:54:38 +01:00
Arne Fitzenreiter
2a72785cf8 atm-status.cgi: display more values for solos-pci. 2014-02-15 16:41:40 +01:00
Alf Høgemark
2c01f467d9 cgi-bin and themes: Remove language attribute on script tag 2014-02-15 16:11:45 +01:00
Alf Høgemark
b740cdd7bf logs.cgi: htmlcleanup, change html tags from uppercase to lowercase 2014-02-15 16:08:49 +01:00
Alf Høgemark
6161430626 pppsetup.cgi: htmlcleanup, change html tags from uppercase to lowercase 2014-02-15 15:51:42 +01:00
Alf Høgemark
52ee27b200 iptables.cgi: htmlcleanup, change html tags from uppercase to lowercase 2014-02-15 15:51:41 +01:00
Alf Høgemark
d2d0d63139 gui.cgi: htmlcleanup, change html tags from uppercase to lowercase 2014-02-15 15:51:41 +01:00
Alf Høgemark
df26152135 services.cgi: htmlcleanup, change html tags from uppercase to lowercase 2014-02-15 15:51:27 +01:00
Alf Høgemark
c1a07263bd remote.cgi: htmlcleanup, change html tags from uppercase to lowercase 2014-02-15 15:48:47 +01:00
Alf Høgemark
71cc3202c0 pppsetup.cgi: htmlcleanup, change html tags from uppercase to lowercase 2014-02-15 15:48:46 +01:00
Alf Høgemark
973f711ad1 ovpnmain.cgi: htmlcleanup, change html tags from uppercase to lowercase 2014-02-15 15:46:27 +01:00
Alf Høgemark
56914f126f fireinfo.cgi: htmlcleanup, change html tags from uppercase to lowercase 2014-02-15 15:46:27 +01:00
Alf Høgemark
e6d8a42109 ids.cgi: htmlcleanup, change html tags from uppercase to lowercase 2014-02-15 15:46:27 +01:00
Alf Høgemark
a4455e73a6 media.cgi: htmlcleanup, change <B> tag to <b>, and fix attribute quotation 2014-02-15 15:45:24 +01:00
Alf Høgemark
57426d2d21 firewalllog.dat: Use language string keys already defined 2014-02-15 15:28:14 +01:00
Alf Høgemark
f702a98d69 firewalllogport.dat: Use language string keys already defined 2014-02-15 15:27:22 +01:00
Alf Høgemark
c42f809c90 firewalllogip.dat: Use language string keys already defined 2014-02-15 15:25:59 +01:00
Alf Høgemark
534943c675 country.cgi: Use language string keys already defined 2014-02-15 15:24:58 +01:00
Alf Høgemark
1560bc6e1f ovpnmain.cgi: Use language string keys already defined 2014-02-15 15:23:46 +01:00
Alf Høgemark
597005f5c6 qos.cgi: Use language string keys already defined 2014-02-15 15:23:46 +01:00
Alf Høgemark
1123116207 media.cgi: Use language string keys already defined 2014-02-15 15:23:46 +01:00
Alf Høgemark
2d26c5755f index.cgi: Use language string keys already defined 2014-02-15 15:23:46 +01:00
Alf Høgemark
44bd254c67 firewalllog.dat: Use language string for First and Last text 2014-02-15 15:16:06 +01:00
Alf Høgemark
10dfb491b1 Merge branch 'next' of https://github.com/ipfire/ipfire-2.x into feature_firewalllog_first_last 2014-02-15 15:13:16 +01:00
Alf Høgemark
5e4262245e updxlrator: Handle colon in filenames in updatexlrator.cgi
The updatexlrator.cgi is assuming that colon is not part of any
filenames downloaded by updxlrator. Fix this by fixing regular
expression used for listing pending download files, and by
fixing regular expression used to listing files in maintenance view.

The fix for listing in maintenance is not very nice, I just use
":separator:" as field separator instead of just ":", which was used
earlier. This should make it very unlikely to collide with a part of
the filename.

Also make the files in download be sorted using lower case, like it is
done for files in the vendor path.

The problem can be reproduced by downloading
http://mirror.us.leaseweb.net/archlinux/community/os/x86_64/
docker-1:0.7.6-1-x86_64.pkg.tar.xz, after pkg.tar.xz files support has
been added to updxlrator.
2014-02-15 15:03:45 +01:00