Commit Graph

99 Commits

Author SHA1 Message Date
Ermal
373a1e7b44 Ticket #493. Set a value for checkboxes since the parsers marks empty tags(<tag/>) as arrays. 2010-05-17 14:20:53 +00:00
Ermal
ba374e4b29 Ticket #493. Ticket #302. Actually correct code flow to be correct and consistent to what it should do. 2010-05-14 16:21:37 +00:00
jim-p
c062a71114 Fix wizard handling of password fields. Ticket #500. 2010-04-12 15:00:16 -04:00
Erik Fonnesbeck
3f394d09e3 Ticket #313. Use $myurl when calling fixup_string to get the URL for the image link. 2010-03-20 07:43:21 -06:00
Ermal
40050fabb4 Use alias style when creating aliases in wizards. 2010-03-19 17:35:59 +00:00
Ermal
1ae5532038 Add the counterpart of enablefields. 2010-03-18 17:04:01 +00:00
Ermal
a314bebc79 Actually get values from the CA based on what was choosen during wizard. 2010-03-18 15:56:44 +00:00
Ermal
47aa4fc48c Merge common name fields with descriptive name. Default to 3650 days of lifetime and 2048 bits key length. 2010-03-18 12:49:48 +00:00
Ermal
8984dc5e4f Ticket #414. Fix wizard framework to properly display this. Not sure how it actually worked before! 2010-03-15 19:54:38 +00:00
Ermal
a3db8d75dd Add my copyright. 2010-03-12 00:00:30 +00:00
Ermal
2465ff5b5d Add a function that allows to show/hide fields. Also correct the enable/disable function. 2010-03-11 23:41:38 +00:00
Ermal Luçi
2ca50c87df Improve wizard by adding more steps and cleaness. 2010-03-11 12:39:11 +00:00
Ermal Luçi
eb20f3c51e Improve the wizard. Make it produce a correct openvpn server config. 2010-03-11 01:36:29 +00:00
Ermal Luçi
72a5f4246c Mostly style fixes. 2010-03-10 22:57:45 +00:00
Ermal Luçi
b7bb171110 Make the wizard ressemble the style as on other pages. Use switch instead of if else to make code more readble. 2010-03-10 22:13:57 +00:00
Ermal Luçi
66f773b433 Improve a lot the wizard.php page to be more userfriendly and add control types for certificates. 2010-03-10 19:51:18 +00:00
Ermal Luçi
5a8a69b312 Only extract timezone info if we have a field type 'timezone_select' 2010-03-10 10:14:37 +00:00
Ermal Luçi
ba9e9bbfed Correctly set variable values during each iteration. Ticket #414. Spotted-by: irc(Efonne) 2010-03-10 10:00:44 +00:00
Ermal Luçi
d70a5ac6d7 Ticket #313. Search if the string to be replaced really exists instead of doing a blind replace. 2010-02-26 18:27:55 +00:00
jim-p
43d9a2d3eb Fix wizard webgui URL usage so it chooses https/http properly for refresh link and logo link 2009-12-24 20:28:56 -05:00
sullrich
b6693b01cc use _SERVER[\'HTTP_HOST\'] 2009-11-27 21:00:12 -05:00
sullrich
39d1c22d8b Use _SERVER['HTTP_HOST'] instead of lanip Resolves #157 2009-11-27 20:50:48 -05:00
sullrich
f9fc88cc88 Rework includes. Ticket #170 2009-11-26 12:33:38 -05:00
Ermal Luçi
34019d2872 Resolves #170. Yet again include fallout changes. 2009-11-26 13:55:22 +00:00
Ermal Luçi
c19900ef56 Resolves #170. This is really a fallout from include changes. Pointy-hat: sullrich@ 2009-11-25 16:36:57 +00:00
Ermal Luçi
203de6bf85 Remove support for all_interfaces from wizard.php it is not used anywhere. Convert the interfaces_selection to use the interface API. 2009-10-05 18:49:42 +00:00
Scott Ullrich
44c1029511 Add alias completion support to wizard. Resolves #25 2009-08-24 19:22:13 -04:00
Ermal Luçi
d6f5320405 Fix some typos in wizard.php code introduced by previous commit.
Add 'displayname' even to option fields of select.
Convert traffic_shaper_wizard to use display better names with the introduced 'displayname'
2009-07-07 15:16:40 +00:00
Ermal Luçi
7a29f78321 Add a 'displayname' field to make it easier to print better labels for inputs. 2009-07-07 12:50:34 +00:00
Ermal Luçi
a55e9c701c * Hide interfaces internals to other code and use the propper interfaces.
Basically use get_interface*() functions instead of accessing fields like 'ipaddr'/'descr' etc...
* Make get_interfaces_with_gateway less heavyweight by getting information from the configuration stored in config.xml
* Some other missed custom interface list building and substituing with propper get_configured_interface*()
NOTE: This should give indipendce on dynamic interfaces on some services that before could not be used on top of this type of interfaces.
2009-03-30 00:38:36 +00:00
Scott Ullrich
ba21539c62 Inculde wizard.css if it exists 2008-11-09 21:30:27 +00:00
Scott Ullrich
4e3391a346 Include wizard.css or all.css, wizard.css being the first 2008-11-09 21:20:03 +00:00
Scott Ullrich
8c01d3bbfe Include wizard.css if it exists after all.css
Requested-by: 	Holger
2008-11-09 21:13:26 +00:00
Scott Ullrich
e910b58d9b Set css 2008-11-06 06:27:50 +00:00
Ermal Luçi
85a5da131c * Rename get_current_wan_address to get_interface_ip
* Rename get_real_wan_interface to get_real_interface
* Simplify get_interface_ip by using find_interface_ip which should help in speed to since its using caching. Pointed by billm@
* Cleanup some code when passing or remove some unused one.
2008-10-23 21:51:53 +00:00
Matthew Grooms
6b07c15ad8 Rewrite the pfsense privilege system with the following goals in mind ...
1) Redefine page privileges to not use static urls
2) Accurate generation of privilege definitions from source
3) Merging the user and group privileges into a single set
4) Allow any privilege to be added to users or groups w/ inheritance
5) Cleaning up the related WebUI pages
2008-08-01 06:30:34 +00:00
Ermal Luçi
2576dace68 traffic shaping wizards are no longer special and they never should be! 2008-03-07 16:58:51 +00:00
Scott Ullrich
d8c1a6c53c Make scripts XSS input safe.
Pointed-out: by hoopercharles@gmail.com
2008-02-12 04:40:35 +00:00
Scott Ullrich
d88c6a9fdf Switch over to array style page titles. Obtained-from: m0n0wall 2007-11-16 00:48:53 +00:00
Scott Ullrich
55b8d602cd Correctly display POST messages 2007-02-06 19:33:01 +00:00
Scott Ullrich
e881d1f361 Fixup color code
Suggested-by: DSH
2007-01-18 21:29:59 +00:00
Scott Ullrich
c8000491f7 Move ending </body> and </html> down to end.
Noticed-by Daniel S
2006-05-31 22:59:15 +00:00
Scott Ullrich
98b5b72baf Kill carriage returns on timezone list 2006-04-23 18:28:54 +00:00
Scott Ullrich
b3f4e57c7e * Seperate out code from eval() blocks into a common include file
* Add support for common include file
2006-04-02 08:28:36 +00:00
Scott Ullrich
1c3d61fef6 During the traffic shaping wizard turn the logo into a "abort" button. Clicking this will whipe the previous steps configuration. 2006-04-02 02:15:10 +00:00
Scott Ullrich
aecffb0aa8 MFC 10652
Make wizard work on described OPT interfaces

MFC: For next snapshot
2006-03-17 17:26:53 +00:00
Scott Ullrich
62a48760b3 MFC 9611
Ticket #792  - fix 6 month old shaper bug that caused erratic speeds and latencies. With a 10Mbit queue and 4 iperf jobs running through it in default and otherL queues, I can get an icmp through in otherH with a mere 25ms additional latency on average.
2006-01-23 04:30:53 +00:00
Scott Ullrich
664c2cb5e0 During traffic shaper wizard rewire the logo to remove shaper rules to basically abort the incremental shaper process 2006-01-20 04:47:31 +00:00
Scott Ullrich
e54d4de6d5 Remove #!/usr/local/bin/php 2006-01-02 23:46:18 +00:00
Scott Ullrich
38e7d55618 MFC 7995
Add FieldValidate() JS function back - accidently removed in 1.28
2005-11-25 19:48:05 +00:00