Commit Graph

36 Commits

Author SHA1 Message Date
Arne Fitzenreiter
5653e55107 perl-scripts: suppress smartmatch experimental warning
smartmatch was introduced with perl 5.10 and was marked
as experimental in 5.14

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2019-08-16 12:21:26 +02:00
Bernhard Bitsch
e4f9ea3c16 dhcp.cgi: Save fixed leases immediately after addition of a new lease
This changes the behaviour of the script to immediately save the added
lease to file but still remain in edit mode to make changes.

If the user does not make any changes, the lease is immediately saved
and there is no second click required to write it to file.

This a more natural flow that is expected by almost all users of this
feature.

Fixes: #12050
Signed-off-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-06-05 00:30:19 +01:00
Michael Tremer
31672dc8bd DHCP: Fix error when editing a newly added fixed lease
They key was remembered but then the array was sorted which resulted
the key showing a wrong line.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-02-26 16:33:46 +00:00
Michael Tremer
4eb23a9198 DHCP: Restart server in background
This allows for the CGI to return quicker.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-02-26 10:18:33 +00:00
Michael Tremer
820ab96c69 DHCP: Escape slashes in filename
Fixes: #12006
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-02-26 10:16:21 +00:00
Michael Tremer
a057a97655 dhcp rfc2136: dhcpd does not seem to support SHA-1
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-10-21 17:34:41 +01:00
Michael Tremer
364452506f Merge remote-tracking branch 'ms/dhcp-rfc2136-broken-down' into next 2015-10-21 13:50:31 +01:00
Lars Schuhmacher
e3edceeb7a Mark required input fields with a star
Mark required input fields with a star as nowadays this is
the de-facto default. Before, it was the other way around and
optional fields were marked.

Signed-off-by: Lars Schumacher <larsen007@web.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-09-21 16:40:41 +01:00
Michael Tremer
e353470a8c dhcp.cgi: Count up key when skippingh search entries
This caused a bug that when the user wanted to edit one
of the static leases and clicked on the edit icon that
an other entry opened up for editing.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-06-17 14:02:05 +02:00
Michael Tremer
a1468f66f0 dhcp.cgi: Never save the search query
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-06-17 14:01:40 +02:00
Michael Tremer
91fc30309f dhcp: Enter edit mode after adding a static lease from list
After a lease has been added from the list of leases it is often
desirable to edit it right away. It appeared that the system
was in edit mode after the lease has been added because the form
had the values of the recently added lease, but hitting the
"Add" button cause an error message that stated that this is
a duplicate entry.

This patch will switch to edit more where the user can change
the values and hit "Update". If he or she chooses to ignore
that the entry is still saved.
2015-06-01 15:56:46 +02:00
Michael Tremer
1554e8a3d3 DHCP: Add search box for static leases 2015-05-28 14:49:41 +02:00
Michael Tremer
5fd7e84c49 dhcp-ddns: Set TTL to 1 minute 2015-03-31 01:23:35 +02:00
Michael Tremer
28fee67640 dnsmasq: Disable parsing leases when DNS Update is enabled 2015-03-16 01:11:29 +01:00
Stefan Schantl
b510e12ac1 DHCP: Allow DNS Update configuration in the web user interface 2015-03-16 00:54:20 +01:00
Michael Tremer
f5fb9a0466 DHCP: Allow using external name servers for leases
These changes allow a user to use RFC2136 in order to
update their (public) DNS zone with the dynamic or
static leases.

A TSIG key may optionally be used to authenticate
the updates.
2015-03-15 13:34:02 +01:00
Alexander Marx
e084eea001 LAyout changes dhcp.cgi 2014-01-09 14:51:19 +01:00
Alexander Marx
52ca3c8093 fifteen-theme: made tables in dhcp-server themeable 2014-01-07 10:22:22 +01:00
Michael Tremer
55b2f2eb09 dhcp: Oops, this version of dhcpd is very strict. 2010-07-21 19:01:44 +02:00
Michael Tremer
3bd3aa727f dhcp: Create local configuration file. 2010-07-21 17:50:04 +02:00
Arne Fitzenreiter
95a392d5f5 Removed dhcp iprange blop (this field can be empty) 2008-09-21 00:29:05 +02:00
ms
70df830214 Ein Paar Dateien fuer die GPLv3 angepasst.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@853 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-29 13:25:32 +00:00
maniacikarus
70db86838b ARP Tabelle aus der DHCP CGI entfernt
Pakfire CGI nochmal korrigiert
SSH Zugriff mit Timer gebaut


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@780 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-18 19:10:10 +00:00
maniacikarus
cb5e9c6c64 Debuginformationen aus den CGIs entfernt
Hoffentlich die letzten Config Types bereinigt
Samba und SSHd init Skripte angepasst
Pakfire CGI optisch angepasst


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@779 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-17 16:00:01 +00:00
maniacikarus
32ab16debd DHCP Webseite angepasst damit beim speichern auch die rc links gesetzt werden
MPFire um Quick Playlist Funktionen erweitert


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@656 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-07-01 11:50:48 +00:00
maniacikarus
fe6cda9204 Einige CGI Fixes
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@643 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-06-21 18:14:48 +00:00
maniacikarus
541d93f0ec CGI fuer DHCP gefixt und if Skripte zurueckgesetzt
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@622 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-06-10 12:17:52 +00:00
ms
26f58f3d03 Wieso sind denn Amavisd-new und Spamassassin in der ISO gelandet?
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@542 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-05-07 19:51:13 +00:00
ms
6bdd769d60 Clamav-Update
Hardwareinformationen fuer Kudzu hinzugefuegt.
dhcpctrl-Datei erstellt.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@540 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-05-07 17:20:46 +00:00
maniacikarus
9c1009572a kleine fixes in den firewalllogs
neues feature in der dhcp.cgi


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@469 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-03-28 17:33:12 +00:00
ms
9833e7d8fb Touch is an nem anderen Ort...
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@406 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-02-04 21:18:14 +00:00
ms
d1883e28de Bash bearbeitet, da der Bootpromt nicht richtig arbeitete.
Kleiner Fix damit man ohne prefetching bauen kann.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@400 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-01-27 11:39:29 +00:00
ms
986e08d996 Hinzugefügt:
* Morningreconnect Script
Geändert:
  * Neue Spamassassin Version. 3.1.3
  * Interface umfangreich bearbeitet in Layout und angezeigten Texten.
  * DHCP-Leases-Error gefixt
  * lq-Graph pingt nun nach www.heise.de
  * IP-Anzeige für PPPoE/DSL gefixt.
  * Connectionstate vom IPCop übernommen.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@164 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-06-06 19:12:22 +00:00
ms
39a7cc119a Hinzugefügt:
* Kleiner Tux im Webinterface für den eXciter und den Benne :)
Geändert:
  * time.cgi überarbeitet und Funktion verbessert.
  * index.cgi - noch ein Paar Fehler behoben oder was hinzugefügt.
  * FLASH-Eintrag aus der crontab gelöscht.
  * Online-Hilfe-Rettungsringe (die hässlichen) aus den CGIs entfernt.
  * Logger von ipcop nach ipfire umgestellt.
Gelöscht:
  * Nicht benötigte Reste vom IPCop entfernt.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@160 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-06-05 11:30:07 +00:00
ms
ac1cfefab2 SMP-Config angepasst.. CGIs usw. wurden im Windoof-Format gespeichert... muss noch alles korrigiert werden...
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@67 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-02-21 20:38:06 +00:00
ipfire
cd1a292722 git-svn-id: http://svn.ipfire.org/svn/ipfire/IPFire/source@16 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 2006-02-15 21:15:54 +00:00