Commit Graph

69 Commits

Author SHA1 Message Date
Leo-Andres Hofmann
64db1faf67 manualpages: Add path and file extension to the configuration
This allows to correctly assign an URL to a file without relying
on unique base names.
A custom read function is required because General::readhash()
doesn't allow paths as hash keys. Modifying the existing functions
could affect other CGIs and was therefore dismissed.

Fixes: #12806

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
2022-06-04 09:23:42 +00:00
Leo-Andres Hofmann
c13060fd4c menu: Fix warnings, clean code
This patch adds default values and removes a missing translation
to fix "uninitialized value" and "odd number of elements" warnings.

Removes function calls from functions.pl that have already been
handled by the header before it is loaded by eval().

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
2022-04-23 14:34:00 +00:00
Leo-Andres Hofmann
4c19f2158e header.pl: Add translation to DHCP leases table
Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-04-06 17:15:50 +00:00
Leo-Andres Hofmann
b0323d1946 webinterface: Add links to the configuration wiki
This patch adds a little "help" icon to the page header.
If a manual entry exists for a configuration page, the icon
appears and offers a quick way to access the wiki.
Wiki pages can be configured in the "manualpages" file.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Tested-by: Bernhard Bitsch <bbitsch@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2021-11-19 07:18:20 +01:00
Michael Tremer
2d56b4869a No longer disable proxy when GREEN isn't present
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-05 18:01:10 +00:00
Jonatan Schlag
8186b37230 Hardcode theme to ipfire
This disables the theme support and makes it impossible to use any other
themes than the ipfire default theme.

The only intention of this patch is to hardcode the theme to ipfire.
To change any cgi we have is an ugly way, but the only way to do this
fast. The colour handling needs certainly to be improved as well, but
this will and should be done in other patches.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-08 10:11:34 +00:00
Leo-Andres Hofmann
9db81dc9d4 header.pl: Hide PPPoE menu item if RED is in IP mode
Fixes: #11342

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-03-29 10:28:15 +00:00
Leo-Andres Hofmann
56d37c8dbf header.pl: Remove duplicate "IpInSubnet" function
This function is deprecated. The commonly used and maintained "IpInSubnet" function can be found in general-functions.pl.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-13 10:52:49 +00:00
Leo-Andres Hofmann
c27b8825be Improve DHCP dynamic leases list usability. Active and expired leases are now grouped and the list is divided by a horizontal line. Sorting and creating static leases remains unchanged.
Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-23 10:07:08 +00:00
Leo-Andres Hofmann
934a376918 Improve indentation and HTML output of PrintActualLeases & leasesort
Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-23 10:07:03 +00:00
Michael Tremer
46b0f9ab44 web: Hide certain menu items when running in cloud environments
This used to be only hidden on AWS.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-06-19 17:14:58 +00:00
Michael Tremer
4e58ab4bbf aws-functions.pl: Drop file and move functions to general-functions.pl
There is not enough stuff that it is justified to have an own file.

This patch therefore merges everything into general-functions.pl.

There are no functional changes.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-06-19 17:14:58 +00:00
Michael Tremer
080e79f149 Don't show proxy configuration pages when GREEN is not available
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-01 12:21:59 +01:00
Michael Tremer
dc845b6c81 AWS: Hide certain things on the web UI
Those are practically unusable on AWS.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-01 12:15:00 +01:00
Stefan Schantl
cc26ba71a1 header.pl: Increase maximum allowed size of hashes.
The "getcgihash" function only allowed hashes with a maximum size of 512kb, which
was to small for the new geoip-block.cgi. As a result of this some form data
were cut-off and couldn't be processed correctly.
2015-01-03 20:22:05 +01:00
Michael Tremer
b02ba841b3 webif: Find correct language file when locale is in format xx_XX.utf8 2014-08-30 21:10:32 +02:00
Arne Fitzenreiter
b21618696d webif: hide main-menu if gpl was not accepted. 2014-07-16 17:26:14 +02:00
Arne Fitzenreiter
d4af74b78a modem-status: add more ttyUSB and ttyACM ports. 2014-06-06 10:45:59 +02:00
Michael Tremer
c5e3d520e9 Add modem status page.
On this page, much useful information is displayed about
the hardware and the status of an LTE/3G or other kinds
of modems that respond to AT commands.
2014-04-16 16:05:12 +02:00
Michael Tremer
ad9799d20c header.pl: Remove "Connection: close".
Don't require us to re-establish a new connection every time
we send a request.
2014-01-19 14:27:09 +01:00
Alexander Marx
52ca3c8093 fifteen-theme: made tables in dhcp-server themeable 2014-01-07 10:22:22 +01:00
Michael Tremer
935f311ed9 Add an alternative default theme with rounded corners. 2014-01-05 21:07:41 +01:00
Michael Tremer
802d795488 header.pl: Include required perl module. 2014-01-05 19:06:08 +01:00
Michael Tremer
e2eb09157e Remove /var/ipfire/firebuild.
This file provides lots of bogous information and information
about the build system that is not of much interest.
2013-09-30 21:00:15 +02:00
Michael Tremer
2ac39db92e Merge remote-tracking branch 'amarx/firewall' into fifteen 2013-08-28 11:33:20 +02:00
Michael Tremer
8b33e596c4 header.pl: Create new escape function that uses HTML::Entities.
This partly replaces cleanhtml(), which is kept for
backwards-compatibility and for a special case.
2013-08-20 11:05:28 +02:00
Alexander Marx
a615cab30e Forward Firewall: reordered Firewall Menu and changed header.pl to reflect the new menuposition for Blue Access 2013-08-09 14:09:17 +02:00
Michael Tremer
61027579bb Implement wireless client on RED.
http://wishlist.ipfire.org/wish/wireless-client-on-red

Conflicts:
	doc/language_issues.de
	doc/language_issues.en
	doc/language_issues.es
	doc/language_issues.fr
	doc/language_issues.pl
	doc/language_issues.ru
	src/misc-progs/Makefile
2013-05-29 18:32:51 +02:00
Michael Tremer
c1b2758242 Merge remote-tracking branch 'jiweigert/XHTML_1.0' into core68 2013-03-08 16:47:43 +01:00
Joern-Ingo Weigert
c43ae64f99 Enable private caching 2013-03-08 16:40:55 +01:00
Joern-Ingo Weigert
1d795ec5a9 Define Charset=UTF-8 in Pragma instead inside HTML 2013-03-04 21:34:42 +01:00
Christian Schmidt
1ddefbbdc8 Rewritten the iptables cgi, fixes bug #578 2010-03-11 20:46:37 +01:00
Michael Tremer
cab84d3ab8 Corrected dhcp.cgi sorting issue
Fixed T-Online not responding to ping requests
2008-07-25 21:00:51 +00:00
Arne Fitzenreiter
96a44fe5cb Removed mod_perl 2008-06-21 06:18:30 +02:00
Michael Tremer
810a7ea2f2 Imported mod_perl by xpapa. 2008-05-22 12:09:57 +02:00
maniacikarus
7f9f851640 Verbindungsanzeige korrigiert
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@958 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-08 19:11:07 +00:00
ms
2fc53b15b4 Connectionstatus-Funktion ueberarbeitet.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@804 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-22 18:35:37 +00:00
maniacikarus
6be4dd2404 Config types auf ist Zustand gebogen ... hoffentlich ...
header.pl von doppelten funktionen befreit die schon in der genereal stehen


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@562 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-05-18 16:48:08 +00:00
ms
0d909a4a5e Paketmanagement umgeschrieben, GPG-Signatur jetzt moeglich.
Noch im Teststadium - Clamav ist das Testpaket.
Fixes in den neuen Statusseiten und Proxysteuerung.
Mkflash-Scripte entfernt. (Frag mich wozu die da ueberhaupt waren...)


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@511 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-05-01 20:23:13 +00:00
ms
24249567ce Credits ueberarbeitet.
Menue Rewrite
Connectioncheck gefixt --> DSL/PPPoE works!


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@418 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-02-14 19:30:59 +00:00
ms
6fb8ec0876 Bash promt im Fedora Core Style gemacht
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@416 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-02-13 19:31:38 +00:00
ms
97de2cae62 UPNP.CGI hinzugefuegt
SAMBA.CGI von Maniakikarus hinzugefuegt
Bootskripte bearbeitet
IPFIRE-DEVEL erstellt.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@410 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-02-12 18:04:28 +00:00
ms
32fdd7d9be Von nun an kann man statische Zuordnungen mit einem Klick aus einer dynamischen Zuordnung generieren.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@382 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-01-07 00:25:35 +00:00
ms
f8e080ef11 Themeable Webinterface mit neuem Style.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@364 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-12-16 16:07:45 +00:00
ms
0937506a8f Update:
* Pakfire!
Fixes:
  * ConnScheduler


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@257 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-08-26 08:42:48 +00:00
ms
a7fb5630d1 Update:
* QoS ist funktionsfig (hoffentlich).
  * "Aktualisieren" aus Log entfernt.
  * In der header.pl aufgeraeumt.

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@255 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-08-23 19:19:22 +00:00
ms
02dc0a76c8 Hinzugefügt:
* Mldonkey 2.7.7
  * Ocaml - letzte Version.
  * Net-Config ins Webinterface.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@226 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-07-24 15:49:37 +00:00
delaco
72586b9fe6 Geaendert:
* Grauer Hintergrund der Hardware-Graphen geaendert.
  * Hardwaregraphen im geaendert.
  * Grub-Conf erweitert fuer Delaco.
  * Viele Sachen gefixt...
  

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@215 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-07-20 16:31:37 +00:00
delaco
1fde937c88 Hinzugefuegt:
* Promise-Sata-300 und SataII-150-Kernel-Modul hinzugefuegt fuer SMP und einen Prozessor.
  * Morningreconnect in den ConnScheduler gelegt.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@212 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-07-18 18:10:21 +00:00
ms
4e5653511d Hinzugefügt:
* Wake-On-Lan
  * Connection-Scheduler


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@211 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-07-17 18:18:39 +00:00