Commit Graph

492 Commits

Author SHA1 Message Date
Renato Botelho
c4372d3c3b Restore id for cancel button to fix js error 2014-09-17 14:26:11 -03:00
Renato Botelho
62424bdbbb Remove almost all calls to history.back() and make Cancel button back to HTTP_REFERER, there are a couple of places I didn't touch on this commit because it requires more work 2014-09-12 16:37:08 -03:00
Renato Botelho
d9d1bd20c8 Implement a function to kill dhclient process, sometimes it takes a little time to die, so use a sleep(1) there 2014-09-09 17:52:34 -03:00
Renato Botelho
aeb44799f3 Fix #3790. Fix IPv6 Prefix ID check using interface user choose before save 2014-08-04 12:34:52 -03:00
Renato Botelho
f3d8851136 Fix #3575, do not allow user to set IPs for GRE interfaces on interface edit page. 2014-07-25 12:48:17 -03:00
Renato Botelho
6f3d20631d Replace Header() calls by lowercase 2014-06-13 08:59:57 -03:00
Colin Fleming
ce668fcd7d Tidy up "interfaces.php" XHTML
Tidy up Anchor tag and PHP GETTEXT
Swap double quote and semi-colon in ONLICK statement
2014-05-18 14:43:18 +01:00
ayvis
8cd558b61b xhtml Compliance
replaced <br>, <br/> and </br> with <br />
2014-03-14 21:24:03 +01:00
Renato Botelho
e41ec5848f Improve checks for params 'id', 'dup' and other similar ones to make sure they are numeric integer, also, pass them through htmlspecialchars() before print 2014-03-12 11:42:49 -03:00
N0YB
cfd3676d4a This one too. 2014-02-22 23:09:51 -08:00
N0YB
4a2c47fe63 Element id's are to be unique. 'provider' used is elsewhere. 2014-02-22 21:04:10 -08:00
N0YB
ca4467bc0e Better done globally here in the function. 2014-02-22 20:50:32 -08:00
N0YB
6e31ca39ab XHTML Compliance
Interfaces
2014-02-22 18:30:05 -08:00
Renato Botelho
96fc5388ac Merge pull request #945 from phildd/master
Enhance interface gateway data entry descriptions
2014-02-19 08:23:47 -03:00
Phillip Davis
e2a6a6fb2b Enhance interface gateway data entry descriptions 2014-02-19 02:41:49 -08:00
Ermal
89c7a9c870 Some tweaking to handle when switching off dhcpv6. 2014-02-17 10:22:05 +00:00
Renato Botelho
d31ca3363d Add escapeshellarg() calls on exec parameters. While I'm here, replace some exec() calls by php functions like symlink, copy, unlink, mkdir 2014-02-04 12:34:42 -02:00
Renato Botelho
d9797fd60a Revert "Fix #3350. Do not destroy an interface when it's being disabled"
Ermal reported issues when changes are made on VLAN parent interface
with this patch. He did other changes and interface_configure() will now
be able to re-create VLAN interface

This reverts commit 5bc623536d.
2014-01-21 10:36:57 -02:00
Ermal
f6d89471d3 Make sense of interface mtu handling code. No need to do unneeded operations. This fixes slow boot times and proper handling of mtu for vlans though some work or better model is needed for other interface types. Manual merge of 53555bf2f7 2013-12-27 20:49:29 +00:00
Renato Botelho
20dda76651 Prevent network or broadcast address to be set on interface (console, GUI and wizard). It should fix #3196 2013-12-04 18:21:18 -02:00
Renato Botelho
5bc623536d Fix #3350. Do not destroy an interface when it's being disabled 2013-12-03 12:37:17 -02:00
Renato Botelho
204bec2835 Revert "Define dynamic gateway for GRE interfaces and do not user to define IP address to the interface. Fixes #3280"
Another solution will be implemented

This reverts commit 6721d6d044.
2013-10-29 07:35:41 -02:00
Renato Botelho
6721d6d044 Define dynamic gateway for GRE interfaces and do not user to define IP address to the interface. Fixes #3280 2013-10-29 07:06:05 -02:00
Renato Botelho
93ee603200 Respect default gateway option when adding a gateway from interfaces page. It fixes #3230 2013-09-24 21:28:23 -03:00
Renato Botelho
c13a7052e1 Merge pull request #795 from razzfazz/ia-pd-hint
add option to send prefix hint for requesting desired prefix length for delegation (for master branch)
2013-09-18 03:14:04 -07:00
Renato Botelho
1e9b461124 Remove call-time pass by reference for do_input_validation, helps ticket #2565 2013-09-12 11:28:14 -03:00
Daniel Becker
18f3c2fd09 add option to send prefix hint for requesting desired prefix length for delegation
This change adds an option on the interfaces page for sending a prefix hint for the selected delegation size. If enabled, a "prefix" field requesting :: with the appropriate prefix length (64 - dhcp6-ia-pd-len) is added to the "id-assoc pd" entry in the dhcp6c config file. This hint is required for requesting prefixes shorter than /64 from Comcast.
2013-09-03 02:05:52 -07:00
N0YB
61ca05e230 Update interfaces.php
fix text - Capitalize sentence. s/this/This
2013-08-05 11:07:16 +02:00
Ermal
dbb4e08918 Implement an option to allow using the IPv4 connectivity interface for sending the dhcpv6 information. Usually useful for ppp[oe] type links and some ISP 2013-07-23 09:49:24 +00:00
Phil Davis
3b648a09f8 Fix editing saving dhcp6prefixonly state
Reported in redmine #3097 and forum http://forum.pfsense.org/index.php/topic,64483.msg350255.html#msg350255
2013-07-21 02:29:27 -07:00
Renato Botelho
7bc1b96813 Remove remaining hardcoded theme names 2013-07-17 12:29:06 -03:00
N0YB
e00fafb304 Remove errant double quote. 2013-07-03 17:46:59 -07:00
smos
a13acc0e04 Add a checkbox that can be used to request only a IPv6 prefix without a IPv6 address. Some ISPs DHCP6 servers will fail the request if both are requested and only a Prefix is allowed.
Conflicts:

	usr/local/www/interfaces.php
2013-07-02 11:27:06 +02:00
Jim P
0bd85300e6 Merge pull request #684 from N0YB/Advanced_DHCP_Client_Options
Add show/hide to the new "Reject Leases From" row
2013-07-01 05:24:42 -07:00
Renato Botelho
c54b45860d fix typos 2013-07-01 07:16:11 -03:00
N0YB
63c704c314 Add show/hide to the new "Reject Leases From" row
Show for Basic and Advanced.  Hide for Config File Override.
2013-07-01 00:46:01 -07:00
Renato Botelho
61ef14bb46 Merge branch 'Advanced_DHCP_Client_Options' of https://github.com/N0YB/pfsense into N0YB-Advanced_DHCP_Client_Options
Conflicts:
	usr/local/www/interfaces.php
2013-06-30 10:50:55 -03:00
jim-p
57c83fd606 Add a field to allow rejecting DHCP leases from a specific upstream DHCP server. 2013-06-18 13:00:26 -04:00
Renato Botelho
df78d8cc18 Fix max length for wpa passphrase, it fixes #3034 2013-06-14 16:33:58 -03:00
Renato Botelho
02203e6d4a Fix IPv6 Prefix ID default value
. Always initialize it to 0 when it's undefined
. Remove unecessary initializations and checks
. Bump config version to 9.5
. Write an upgrade config function to initialize old configs properly
2013-05-06 13:01:18 -03:00
Colin Fleming
168549b9c3 Tidy up "interfaces.php" XHTML
Add summary to TABLE tags
Add missing opening and closing cell tags in TR tag
Tidy up closing FONT tag
Remove duplicate closing TD tag and duplicate closing TR tag
Add missing opening TR tag
Remove duplicate width statement
Add missing closing DIV tag
Remove tags within comment block
2013-04-17 15:45:55 +01:00
Colin Fleming
339d2743ba Tidy up "interfaces.php" XHTML
Update HTML Boolean operators
Close a couple of missed INPUT tags
2013-04-16 14:35:19 +01:00
Colin Fleming
2cbe4b47fb Tidy up "interfaces.php" XHTML
Close INPUT tags
Add closing FONT tag
2013-04-15 14:16:38 +01:00
Colin Fleming
32b91bcfbd Tidy up "interfaces.php" XHTML
Close BR and IMG tags and add ALT statement to IMG tags
Change ONCLICK and ONCHANGE to lower case.
Add CDATA section to SCRIPT tags
2013-04-14 13:27:14 +01:00
Renato Botelho
7a47e29930 Avoid send user to top of the page when you open add new gateway box 2013-03-28 09:00:44 -03:00
Renato Botelho
4ad1e4ea74 Add a new class called addgatewaybox to make it easier to respect custom themes. Fixes #2900 2013-03-26 09:43:38 -03:00
Ermal
a9518178f9 Remove functions that are not used now with once mode of rtsold 2013-03-19 20:19:03 +00:00
Ermal
6d0473b4af Bring down even rtsold process 2013-03-19 16:28:36 +00:00
Renato Botelho
6d529efd81 Fix indent and whitespaces 2013-03-16 10:32:20 -03:00
Ermal
a58a9ece9c Be consistent on the check 2013-03-08 13:30:55 +00:00