Commit Graph

57 Commits

Author SHA1 Message Date
smos
cfbfd9412b The function split() is replaced by the function explode(). Starting with PHP 5.3 this is deprecated and with version 6 gone.
Replacing it surpresses all the warnings
2012-01-19 20:33:41 +01:00
Vinicius Coque
bef629ac81 Converting from scriptaculous to jQuery 2011-11-15 14:55:52 -02:00
Ermal
01c201e3d1 Do more strict checking if an ppp type interface is assigned before starting the mpd process behind it. Trigered-by: http://forum.pfsense.org/index.php/topic,34377.0.html 2011-03-15 12:17:12 +00:00
Pierre POMES
10e4d55e9d Fix HTML errors reported by Eclipse using PHP perspective 2011-01-09 13:29:11 -05:00
gnhb
0eaf705549 Attempt to make it more clear to users that "Dial on Demand" should not be enabled if the
link should be always up/on.
2011-01-03 20:30:38 +07:00
Scott Ullrich
225a2f0b46 Bring in XSS id fixes from m0n0wall 2010-11-12 11:03:51 -05:00
gnhb
298d49f6a5 Make the note more coherent. 2010-08-22 23:24:02 +07:00
gnhb
515c679931 Remove duplicate logic. 2010-08-22 22:49:27 +07:00
gnhb
03184eda18 Oops. Don't clobber the provider data if the user enters one.
And add data validation so user can't set Service name and NULL service
name at the same time.
2010-08-22 22:30:36 +07:00
gnhb
c66673968c Add a checkbox to explicitly configure a null Service name for PPPoE.
See: http://forum.pfsense.org/index.php/topic,27461.0.html
2010-08-22 22:15:36 +07:00
Ermal
d80a71d9f6 Actually make this not error out. 2010-08-20 18:13:24 +00:00
Chris Buechler
9e4f5592ca fix text 2010-08-14 15:38:27 -04:00
Chris Buechler
4f3147bcc1 fix text 2010-08-14 15:37:36 -04:00
Chris Buechler
9bca749480 fix text 2010-08-14 15:35:38 -04:00
Chris Buechler
7d04e4ac60 fix text 2010-08-13 13:06:24 -04:00
Chris Buechler
f1ca6b86de should be #777 not *777 2010-08-13 12:58:47 -04:00
gnhb
6a30f701e2 Expose MRRU settings in the GUI for PPPoE (MLPPP). 2010-08-13 21:32:06 +07:00
Vinicius Coque
82a1d978a9 Fix gettext on interfaces_ppps_edit.php 2010-08-12 10:30:28 -03:00
Erik Fonnesbeck
5833e71540 Add missing explode parameter. 2010-08-05 20:19:19 -06:00
Ermal
55d8298a52 Make sure this dir exists because the new function uses it. 2010-08-03 22:21:22 +00:00
Ermal
5cb5063c39 Use the new pfSense module call to find the usable ports from the ones created on /dev. 2010-08-03 22:11:31 +00:00
Carlos Eduardo Ramos
f5ccee7d89 Corrections gettext implementation on interfaces_ppps_edit.php 2010-07-21 14:52:55 -03:00
Carlos Eduardo Ramos
499c22cdcc Checked gettext() implementation on interfaces_ppps_edit.php 2010-07-14 13:48:28 -03:00
Vinicius Coque
aa1e510424 Fix gettext implementation on interfaces_ppps_edit.php 2010-07-10 13:36:14 -03:00
Rafael Lucas
2f5cfc8580 Implement gettext() calls on interfaces_ppps_edit.php 2010-07-02 17:33:32 -03:00
Renato Botelho
a5e9c28444 Revert "Implemment gettext() calls"
This reverts commit 7502ef0a69.
A lot of mistakes

Conflicts:

	usr/local/www/firewall_nat.php
2010-06-30 09:19:48 -03:00
Jeann
7502ef0a69 Implemment gettext() calls 2010-06-29 16:13:50 -03:00
gnhb
ced4df7428 Take out all code that assumes to use DHCP for local ip if local ip is left blank.
Also, check for blank local IPs and error out if they occur.
2010-06-10 22:54:17 +07:00
Ermal
8d73e7a932 Allow assigned interfaces to be choosed as ppp members. This allows ppp over gre/gif etc.... 2010-06-10 13:27:11 +00:00
gnhb
4a1ee8ac31 Clean up pptp a bit and modify text description in interfaces_ppps_edit 2010-06-10 01:39:49 +07:00
gnhb
5c8e8a17e3 Make pppoe reset work again with new <if> naming scheme.
Previous commit also moved pppoe reset functions to interfaces.inc
so we don't have to duplicate in interfaces.php and interfaces_ppps_edit.php

Also, add code so that when ppp config section gets deleted, associated <cron>
item gets deleted for pppoe-reset cron items.
2010-06-09 21:40:12 +07:00
gnhb
e5d558bfac Change ptpid to use sequential number. This makes Ermal happy. :)
Also add <if> section to <ppps><ppp> which is ppp type + ptpid.`
2010-06-09 21:14:59 +07:00
gnhb
3a906378cb Initial support for DCHP+PPtP/L2tP. DHCP + PPPoE is supported too.
Must create an OPTx interface and set to DHCP for DHCP+PPPoE.
2010-06-07 22:42:31 +07:00
gnhb
cac14686eb Fix javascript error and apn id so not duplicate id in html. 2010-06-05 20:57:11 +07:00
gnhb
7db2ef5fd8 Simplify GUI even more, especially for PPP connections. 2010-06-04 07:20:41 +07:00
gnhb
8adc1e49ad Set default values to what we've had in the past.
`
2010-06-03 23:27:38 +07:00
gnhb
c5232cbbb9 Rework GUI to hide advanced options and display via button.
requested by Ermal.
2010-06-03 23:07:44 +07:00
Vinicius Coque
460b635f14 Listing service providers
- Added dropdown list to select provider
 - Added javascrit methods to handle Ajax requests
2010-06-02 10:22:35 -03:00
gnhb
0963707502 Simplify code that handles link specific data fields like local ip, gateway, and bandwidth. 2010-05-31 06:53:46 +07:00
gnhb
6c538d04e2 Clean up javascript even more, so unnecessary loops don't get executed. 2010-05-29 18:36:13 +07:00
gnhb
d6366dd7be Really fix javascript . . . 2010-05-28 22:46:59 +07:00
gnhb
041b35ccf3 Fix missing case statement for L2TP. 2010-05-28 22:23:12 +07:00
gnhb
114990f43a Fixed problems in javascript and added L2TP support to GUI. 2010-05-28 22:05:40 +07:00
gnhb
8d657558c2 Clean up code in interfaces_ppps_edit.php and in javascript. 2010-05-28 08:00:06 +07:00
gnhb
82effddb55 Remove all "defaultgw" settings from PPPs config page.
Just use existing defaultgw configuration settings from System:Gateways settings.
2010-05-26 21:17:52 +07:00
gnhb
0661b194d9 Fix many things related to PPP connections.
Fixed tab array numbering in interfaces_* files. Enabled multilink over PPtP connections.
Fixed handling of bandwidth, mtu, mru settings. Removed unnecessary curly brackets from
single line if conditionals, and more . . .
2010-05-26 21:07:00 +07:00
gnhb
e40e672419 Modify and fix code to set pppoe periodic reset. 2010-05-18 16:38:37 +07:00
gnhb
3f2ef8d739 Fixing bugs and ommissions. 2010-05-13 01:30:22 +07:00
gnhb
04d36b1f1f Small changes to fix up these pages a little bit. 2010-05-12 18:38:11 +07:00
gnhb
00b702ccd2 Bandwidth, MTU, MRU settings working. 2010-05-12 10:53:07 +07:00